:root {
  --deal-bg: #f6f7f8;
  --deal-surface: #ffffff;
  --deal-text: #111827;
  --deal-muted: #59636e;
  --deal-line: #d8dee6;
  --deal-line-soft: #edf0f3;
  --deal-yellow: #ffd814;
  --deal-yellow-dark: #f7ca00;
  --deal-orange: #ff9900;
  --deal-red: #b12704;
  --deal-blue: #007185;
  --deal-shadow: 0 10px 24px rgba(17, 24, 39, .08);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--deal-bg);
  color: var(--deal-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

img {
  height: auto;
  max-width: 100%;
}

a {
  color: var(--deal-blue);
}

a:hover {
  color: #c7511f;
}

#blog-title {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 64%, #fff5d6 100%);
  border-bottom: 1px solid var(--deal-line-soft);
}

#blog-title-content {
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
  padding: 34px 24px 38px;
}

#blog-title #title,
#blog-title #title a,
#blog-title a {
  color: var(--deal-text);
  letter-spacing: .02em;
  line-height: 1.15;
  text-decoration: none;
}

#blog-title #title {
  margin: 0;
}

#blog-title #title a {
  font-size: 34px;
  font-weight: 900;
}

#blog-title #title a::after {
  color: var(--deal-muted);
  content: "Amazon Deals Journal";
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.5;
  margin-top: 8px;
  text-transform: uppercase;
}

#header {
  background: #fff;
  border-bottom: 1px solid var(--deal-line-soft);
}

#header .header-content {
  align-items: center;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
}

#header .header-blog-icon {
  flex: 0 0 auto;
}

#header .header-blog-icon img {
  border-radius: 10px;
  display: block;
  height: 36px;
  width: 36px;
}

#header .header-title {
  flex: 1 1 auto;
  min-width: 0;
}

#header #title {
  margin: 0;
}

#header #title a {
  color: var(--deal-text);
  display: block;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#header #title a::after {
  content: none;
}

#header .header-action {
  flex: 0 0 auto;
}

#header .header-action .btn {
  background: #111827;
  border-radius: 999px;
  color: #fff !important;
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 9px 11px;
  text-decoration: none !important;
}

#blog-description {
  color: var(--deal-muted);
}

@media (min-width: 769px) {
  #container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1120px;
    padding: 30px 20px 54px;
    width: 100%;
  }

  #content,
  #content-inner,
  #wrapper,
  #main,
  #main-inner {
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 980px;
    width: 100% !important;
  }

  #box1,
  #box2 {
    float: none !important;
    margin: 34px auto 0 !important;
    max-width: 980px;
    width: 100% !important;
  }

  #box2-inner {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.entry {
  background: var(--deal-surface);
  border: 1px solid var(--deal-line);
  border-radius: 12px;
  box-shadow: var(--deal-shadow);
  margin-bottom: 32px;
  overflow: hidden;
}

.entry-header {
  border-bottom: 1px solid var(--deal-line-soft);
  padding: 24px 32px 18px;
}

.entry .entry-title,
.entry .entry-title a {
  color: var(--deal-text);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.38;
  text-decoration: none;
}

.entry .entry-content {
  color: var(--deal-text);
  font-size: 16px;
  line-height: 1.82;
  overflow-wrap: anywhere;
  padding: 30px 34px 36px;
  text-align: left;
}

.entry .entry-content h1,
.deal-article h1 {
  border-bottom: 3px solid var(--deal-orange);
  color: var(--deal-text);
  font-size: 24px;
  font-weight: 850;
  line-height: 1.38;
  margin: 0 0 22px;
  padding-bottom: 14px;
}

.deal-article .heading-anchor-link {
  display: none !important;
}

.deal-article {
  background: var(--deal-surface);
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

.deal-amazon-card {
  background: #fff;
  border: 1px solid var(--deal-line);
  border-radius: 12px;
  box-sizing: border-box;
  box-shadow: 0 8px 20px rgba(17, 24, 39, .09);
  color: var(--deal-text) !important;
  display: block;
  margin: 0 0 24px;
  overflow: hidden;
  text-decoration: none !important;
  width: 100%;
}

.deal-amazon-card * {
  box-sizing: border-box;
}

.deal-amazon-card:hover {
  border-color: #f2c200;
  color: var(--deal-text) !important;
}

.deal-amazon-card-image {
  background: #fafafa;
  border-bottom: 1px solid var(--deal-line);
  display: block;
  padding: 14px;
  text-align: center;
}

.deal-amazon-card-image img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-height: 190px;
  max-width: 220px;
  object-fit: contain;
  width: 100%;
}

.deal-amazon-card-body {
  display: block;
  min-width: 0;
  padding: 15px;
}

.deal-amazon-card-label {
  align-self: flex-start;
  background: #fff8e1;
  border: 1px solid #f4d06f;
  border-radius: 999px;
  color: #7a4b00;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
  padding: 5px 8px;
}

.deal-amazon-card-title {
  color: var(--deal-text);
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 8px;
}

.deal-amazon-card-price {
  color: var(--deal-red);
  display: block;
  font-size: 19px;
  font-weight: 900;
  margin: 8px 0 12px;
}

.deal-amazon-card-action {
  display: block;
  margin-top: 12px;
}

.deal-amazon-button {
  align-items: center;
  background: linear-gradient(var(--deal-yellow), var(--deal-yellow-dark));
  border: 1px solid #f2c200;
  border-radius: 999px;
  box-sizing: border-box;
  box-shadow: 0 2px 5px rgba(213, 217, 217, .5);
  color: #111 !important;
  display: flex;
  font-weight: 800;
  justify-content: center;
  line-height: 1.25;
  min-height: 48px;
  padding: 13px 18px;
  text-align: center;
  text-decoration: none !important;
  width: 100%;
}

.deal-lead {
  background: #f8fafc;
  border: 1px solid var(--deal-line-soft);
  border-left: 5px solid var(--deal-orange);
  border-radius: 12px;
  margin: 22px 0;
  padding: 16px 18px;
}

.deal-spec-list {
  border: 1px solid var(--deal-line);
  border-radius: 12px;
  list-style: none;
  margin: 22px 0;
  overflow: hidden;
  padding: 0;
}

.deal-spec-list li {
  background: #fff;
  border-bottom: 1px solid var(--deal-line-soft);
  font-weight: 800;
  margin: 0;
  padding: 14px 16px;
}

.deal-spec-list li:last-child {
  border-bottom: 0;
}

.deal-spec-list li:first-child {
  color: var(--deal-red);
  font-size: 18px;
}

.deal-notes {
  background: #fff8e6;
  border: 1px solid #f5d38b;
  border-radius: 12px;
  color: #4d3b13;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 24px;
  padding: 15px 16px;
}

.entry .entry-footer {
  background: #fff;
  padding: 0 32px 32px;
}

.entry .entry-footer-section {
  background: #f8fafc;
  border: 1px solid var(--deal-line-soft);
  border-radius: 12px;
  color: var(--deal-muted);
  line-height: 1.7;
  margin: 0;
  padding: 16px 18px;
}

.entry .entry-footer-subscribe a {
  background: #111827;
  border-radius: 999px;
  color: #fff !important;
  display: inline-block;
  font-weight: 800;
  margin-top: 8px;
  padding: 9px 14px;
  text-decoration: none !important;
}

.hatena-module {
  background: #fff;
  border: 1px solid var(--deal-line);
  border-radius: 12px;
  overflow: hidden;
}

.hatena-module-title {
  background: #1f2937;
  color: #fff;
  font-weight: 800;
  padding: 10px 12px;
}

.hatena-module-body {
  padding: 12px;
}

@media (max-width: 768px) {
  body {
    background: #fff;
  }

  #container,
  #container-inner,
  #content,
  #content-inner,
  #wrapper,
  #main,
  #main-inner,
  #box1,
  #box2 {
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  #blog-title-content {
    padding: 26px 16px 28px;
  }

  #blog-title #title a {
    font-size: 28px;
  }

  #blog-title #title a::after {
    font-size: 11px;
    letter-spacing: .12em;
  }

  .entry {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    box-shadow: none;
    margin-bottom: 18px;
  }

  .entry-header {
    padding: 16px 16px 14px;
  }

  .entry .entry-title,
  .entry .entry-title a,
  .entry .entry-content h1,
  .deal-article h1 {
    font-size: 20px;
    line-height: 1.42;
  }

  .entry .entry-content {
    font-size: 16px;
    line-height: 1.78;
    padding: 18px 16px 26px;
  }

  .deal-article {
    max-width: none;
    width: 100%;
  }

  .deal-article > p {
    margin-bottom: 16px;
  }

  .deal-amazon-card {
    border-radius: 10px;
    display: block;
    margin: 0 0 20px;
  }

  .deal-amazon-card-image {
    border-bottom: 1px solid var(--deal-line);
    border-right: 0;
    min-height: 168px;
    padding: 14px;
  }

  .deal-amazon-card-image img {
    max-height: 178px;
    max-width: 220px;
  }

  .deal-amazon-card-label {
    margin-bottom: 8px;
  }

  .deal-amazon-card-title {
    font-size: 15px;
    line-height: 1.5;
  }

  .deal-amazon-card-body {
    display: block;
    padding: 15px;
  }

  .deal-amazon-card-price {
    font-size: 19px;
    margin: 8px 0 12px;
  }

  .deal-amazon-button {
    box-sizing: border-box;
    min-height: 50px;
    width: 100%;
  }

  .deal-lead,
  .deal-spec-list,
  .deal-notes {
    border-radius: 10px;
    margin: 18px 0;
  }

  .deal-lead {
    padding: 14px 15px;
  }

  .deal-spec-list li {
    padding: 13px 14px;
  }

  .entry .entry-footer {
    padding: 0 16px 24px;
  }

  .entry .entry-footer-section {
    border-radius: 10px;
    padding: 14px;
  }

  .entry .entry-footer-subscribe {
    display: block;
  }

  .entry .entry-footer-subscribe a {
    box-sizing: border-box;
    text-align: center;
    width: 100%;
  }

  .hatena-module {
    border-radius: 0;
    margin-bottom: 12px;
  }

  .entry-list {
    background: #f6f7f8;
    box-sizing: border-box;
    padding: 12px;
  }

  .entry-list-anchor-block {
    color: var(--deal-text) !important;
    display: block;
    margin: 0 0 12px;
    text-decoration: none !important;
  }

  .list-entry-article {
    background: #fff;
    border: 1px solid var(--deal-line-soft);
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(17, 24, 39, .06);
    overflow: hidden;
  }

  .list-entry-article .section {
    padding: 13px;
  }

  .list-entry-article .date {
    color: var(--deal-muted);
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
  }

  .list-entry-article .entry-title {
    color: var(--deal-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
    margin: 0 0 10px;
  }

  .list-entry-article .entry-body {
    align-items: flex-start;
    display: flex;
    gap: 11px;
  }

  .list-entry-article .thumb {
    flex: 0 0 84px;
  }

  .list-entry-article .thumb-image {
    background: #fff;
    border: 1px solid var(--deal-line-soft);
    border-radius: 10px;
    box-sizing: border-box;
    display: block;
    height: 84px;
    object-fit: contain;
    padding: 5px;
    width: 84px;
  }

  .list-entry-article .entry-content {
    color: var(--deal-muted);
    flex: 1 1 auto;
    font-size: 13px;
    line-height: 1.55;
    min-width: 0;
    padding: 0;
  }

  .list-entry-article .entry-content p {
    margin: 0 0 8px;
  }

  .list-entry-article .entry-footer {
    background: transparent;
    color: var(--deal-muted);
    font-size: 12px;
    margin: 0;
    padding: 0;
  }

  .entry .entry-content table[style*="d8e0ea"],
  .entry .entry-content table[style*="d8e0ea"] tbody,
  .entry .entry-content table[style*="d8e0ea"] tr,
  .entry .entry-content table[style*="d8e0ea"] td {
    display: block !important;
    width: 100% !important;
  }

  .entry .entry-content table[style*="d8e0ea"] td {
    box-sizing: border-box !important;
    padding: 14px !important;
    text-align: left !important;
  }

  .entry .entry-content table[style*="d8e0ea"] td:first-child {
    display: none !important;
  }

  .entry .entry-content table[style*="d8e0ea"] a[rel~="sponsored"] {
    box-sizing: border-box !important;
    min-height: 50px !important;
    padding: 14px 16px !important;
    text-align: center !important;
    width: 100% !important;
  }
}
