:root {
  --bg: #F3F4F6;
  --surface: #FFFFFF;
  --surface-alt: #F9FAFB;
  --primary: #2C1E16;
  --primary-soft: rgba(44, 30, 22, 0.06);
  --accent: #B45309;
  --accent-hover: #92400E;
  --accent-soft: #FEF3C7;
  --accent-tint: #FFFBEB;
  --text: #1E293B;
  --muted: #475569;
  --border: #E5E7EB;
  --border-strong: #CBD5E1;
  --link: #B45309;
  --marker: #FDE68A;
  --shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  --radius: 12px;
  --font-sans: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 17px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
}

a:hover {
  color: var(--accent-hover);
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  background-color: rgba(44, 30, 22, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.14);
}

.site-header__bar {
  background-color: #1E140E;
  color: #E5E7EB;
  font-size: 0.75rem;
  padding: 4px 16px;
}

.site-header__bar-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.site-header__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #FFFFFF;
}

.site-brand:hover {
  color: #FDE68A;
}

.site-brand__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #F59E0B;
  background: #FFFFFF;
  flex-shrink: 0;
}

.site-brand__name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: #F3F4F6;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  background-color: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.site-nav a.is-active {
  background-color: var(--accent);
  color: #FFFFFF;
}

/* Layout Containers */
.page-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 22px 16px 56px;
}

.page-wrap--wide {
  max-width: 1040px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Article Card */
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px 36px;
  box-shadow: var(--shadow);
  min-width: 0;
  max-width: 100%;
}

.article-body {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.article-title {
  font-size: 1.5rem;
  line-height: 1.45;
  color: var(--primary);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.article-eyecatch {
  margin: 0 0 24px;
}

.article-eyecatch img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  display: block;
}

.article-body h2 {
  font-size: 1.24rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 36px 0 16px;
  padding: 11px 16px;
  border-left: 6px solid #D97706;
  background: linear-gradient(135deg, #2C1E16 0%, #3E2B20 100%);
  border-radius: 0 8px 8px 0;
  line-height: 1.45;
  box-shadow: 0 2px 6px rgba(44, 30, 22, 0.12);
}

.article-body h2 a {
  color: #FDE68A;
}

.article-body h3 {
  font-size: 1.08rem;
  color: var(--primary);
  margin: 26px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border);
}

.article-body h4 {
  font-size: 1rem;
  color: var(--primary);
  margin: 20px 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--accent);
}

.article-body p {
  margin: 0 0 16px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 6px;
}

/* Marker & Text Utilities */
.mark {
  background: linear-gradient(transparent 60%, var(--marker) 60%);
  font-weight: 700;
}

.text-danger {
  color: #DC2626;
  font-weight: 700;
}

.text-muted {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Collapsible Spec Accordion */
.spec-accordion {
  margin: 0 0 14px;
  background: var(--surface-alt);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
}

.spec-accordion summary {
  cursor: pointer;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.spec-accordion summary::-webkit-details-marker {
  display: none;
}

.spec-accordion summary::after {
  content: "＋";
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 700;
}

.spec-accordion[open] summary {
  border-bottom: 1px solid var(--border);
}

.spec-accordion[open] summary::after {
  content: "－";
}

.spec-accordion__body {
  padding: 14px 18px;
  font-size: 0.95rem;
}

.spec-accordion__body ul {
  margin: 0;
  padding-left: 20px;
}

.spec-accordion__body li {
  margin-bottom: 6px;
}

.spec-accordion__body li:last-child {
  margin-bottom: 0;
}

/* Dynamic Recommend Box */
.dynamic-recommend {
  margin: 18px 0 16px;
  padding: 18px 20px;
  background: var(--accent-tint);
  border: 1px solid #F59E0B;
  border-left: 5px solid var(--accent);
  border-radius: 10px;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.08);
  animation: recFadeIn 0.25s ease-out;
}

@keyframes recFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dynamic-recommend__title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
}

.dynamic-recommend__body {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
}

.dynamic-recommend__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
  background: var(--accent);
  padding: 9px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.dynamic-recommend__link:hover {
  background: var(--accent-hover);
  color: #FFFFFF;
}

/* Boxes */
.callout-box {
  background: var(--surface-alt);
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 18px 20px 14px;
  margin: 18px 0 22px;
}

.callout-box--warn {
  background: #FEF2F2;
  border-color: #DC2626;
}

.callout-box--good {
  background: #F0FDF4;
  border-color: #15803D;
}

.callout-box--caution {
  background: var(--accent-tint);
  border-color: var(--accent);
}

.callout-box__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--primary);
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.callout-box--warn .callout-box__label {
  background: #DC2626;
}

.callout-box--good .callout-box__label {
  background: #15803D;
}

.callout-box--caution .callout-box__label {
  background: var(--accent);
}

.callout-box ul,
.callout-box ol {
  margin: 0;
  padding-left: 20px;
}

.callout-box li:last-child,
.callout-box p:last-child {
  margin-bottom: 0;
}

/* Balloon (Master) */
.balloon {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 22px 0;
}

.balloon__avatar {
  flex-shrink: 0;
  text-align: center;
  width: 72px;
}

.balloon__avatar img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  display: block;
  margin: 0 auto;
}

.balloon__name {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 4px;
}

.balloon__bubble {
  background: var(--accent-tint);
  border: 1px solid #FDE68A;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.95rem;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.balloon__bubble p:last-child {
  margin-bottom: 0;
}

/* TOC */
.toc {
  margin: 22px 0 28px;
  padding: 18px 22px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 8px;
}

.toc__title {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.toc ul {
  margin: 0;
  padding-left: 20px;
  font-size: 0.92rem;
}

.toc li {
  margin: 5px 0;
}

.toc a {
  text-decoration: none;
  color: var(--text);
}

.toc a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Figures & Tables */
.article-body figure {
  margin: 18px 0 24px;
  text-align: center;
}

.article-body figure img {
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-body figcaption {
  margin-top: 6px;
  font-size: 0.83rem;
  color: var(--muted);
}

.table-scroll {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0 24px;
  border-radius: 6px;
}

.scroll-hint {
  display: none;
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table--wide {
  min-width: 480px;
}

.data-table th,
.data-table td {
  border: 1px solid var(--border-strong);
  padding: 9px 12px;
  text-align: center;
}

.data-table th {
  background: var(--surface-alt);
  color: var(--primary);
  font-weight: 700;
}

.data-table tr.is-highlight td {
  background: var(--accent-soft);
  font-weight: 700;
}

.data-table--wide th:first-child,
.data-table--wide td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--surface-alt);
  text-align: left;
  min-width: 112px;
  box-shadow: 2px 0 6px rgba(15, 23, 42, 0.08);
}

.data-table--wide tbody td:first-child {
  background: #FFFFFF;
}

.data-table--wide tbody tr.is-highlight td:first-child {
  background: var(--accent-soft);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  background-color: var(--accent);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn:hover {
  background-color: var(--accent-hover);
  color: #FFFFFF;
}

.btn--outline {
  background-color: #F1F5F9;
  color: #1E293B;
  border: 1px solid #CBD5E1;
  font-weight: 700;
}

.btn--outline:hover {
  background-color: #E2E8F0;
  border-color: #94A3B8;
  color: #0F172A;
}

.btn--prep {
  background-color: #64748B;
  color: #FFFFFF;
  cursor: default;
}

.btn--prep:hover {
  background-color: #64748B;
  color: #FFFFFF;
}

/* Link Cards */
.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px;
  margin: 18px 0 22px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.link-card__thumb {
  width: 220px;
  max-width: 100%;
  flex-shrink: 0;
}

.link-card__thumb img {
  aspect-ratio: 1200 / 630;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  display: block;
}

.link-card__body {
  flex: 1;
  min-width: 210px;
}

.link-card__caption {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.link-card__title {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 4px;
}

.link-card__title:hover {
  color: var(--accent);
  text-decoration: underline;
}

.link-card__desc {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
}

/* Common Bottom Induction Banner (CafeGuardian - Dark Brown Container) */
.article-body .cg-banner,
.cg-banner {
  margin-top: 36px;
  padding: 22px;
  background: linear-gradient(135deg, #2C1E16 0%, #3E2B20 100%);
  color: #F1F5F9;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cg-banner__thumb {
  width: 240px;
  max-width: 100%;
  flex-shrink: 0;
}

.cg-banner__thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #0F172A;
  display: block;
}

.cg-banner__content {
  flex: 1;
  min-width: 240px;
}

.cg-banner__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  background: #FEF3C7;
  color: #92400E;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.article-body .cg-banner h2,
.article-body .cg-banner h3,
.article-body .cg-banner h4,
.cg-banner .cg-banner__title {
  margin: 0 0 8px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 1.16rem;
  color: #FFFFFF;
  line-height: 1.4;
}

.article-body .cg-banner p,
.article-body .cg-banner li,
.cg-banner .cg-banner__text {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: #F1F5F9;
  line-height: 1.65;
}

.article-body .cg-banner a:not(.btn),
.cg-banner a:not(.btn) {
  color: #FDE68A;
}

.article-body .cg-banner a.btn,
.cg-banner a.btn {
  color: #FFFFFF;
}

/* Developer Trust Strip */
.trust-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}

.trust-strip__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.trust-strip__text {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

/* Home 3-Tier Layout */
.home-section {
  margin-bottom: 28px;
}

.home-section:last-child {
  margin-bottom: 0;
}

.home-section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07);
  display: grid;
  grid-template-columns: 46% 1fr;
  align-items: center;
}

.hero-card__media {
  padding: 18px 0 18px 18px;
  background: var(--surface);
}

.hero-card__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #FFFFFF;
}

.hero-card__body {
  padding: 26px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.hero-card__title {
  margin: 0 0 10px;
  font-size: 1.36rem;
  line-height: 1.38;
  color: var(--primary);
}

.hero-card__desc {
  margin: 0 0 14px;
  font-size: 0.94rem;
  color: var(--text);
}

.hero-card__features {
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.tool-card__thumb {
  padding: 16px 16px 0;
  background: var(--surface);
}

.tool-card__thumb img {
  aspect-ratio: 1200 / 630;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.tool-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tool-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.tool-card__title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--primary);
}

.tool-card__desc {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--muted);
  flex: 1;
}

.tool-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.knowledge-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 46% 1fr;
  align-items: center;
}

.knowledge-card__thumb {
  padding: 18px 0 18px 18px;
  background: var(--surface);
}

.knowledge-card__thumb img {
  aspect-ratio: 1200 / 630;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.knowledge-card__body {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.knowledge-card__title {
  margin: 0 0 8px;
  font-size: 1.18rem;
  color: var(--primary);
}

.knowledge-card__desc {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* FAQ */
.faq-list {
  margin: 18px 0 26px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--surface);
}

.faq-q {
  margin: 0;
  padding: 12px 16px;
  font-weight: 700;
  background: var(--surface-alt);
  color: var(--primary);
  border-bottom: 1px solid var(--border);
}

.faq-q::before {
  content: "Q. ";
  color: var(--accent);
}

.faq-a {
  margin: 0;
  padding: 12px 16px;
  font-size: 0.95rem;
}

.faq-a::before {
  content: "A. ";
  font-weight: 700;
  color: var(--primary);
}

/* GogoJungle Prep Card */
.sales-box {
  margin: 24px 0 28px;
  padding: 24px;
  background: var(--accent-tint);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  text-align: center;
}

.sales-box__badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #64748B;
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
}

.sales-box__title {
  margin: 0 0 8px;
  font-size: 1.18rem;
  color: var(--primary);
}

.sales-box__desc {
  margin: 0 0 16px;
  font-size: 0.94rem;
  color: var(--text);
}

.sales-box__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.sales-box__prep-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Benefit Comparison Grid (CafeGuardian) */
.benefit-section {
  margin: 22px 0 26px;
  padding: 20px;
  background: var(--surface-alt);
  border: 1px solid var(--border-strong);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
}

.benefit-section__title {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
}

.benefit-section__lead {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.benefit-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.benefit-card__num {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.benefit-card__title {
  margin: 0 0 6px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

.benefit-card__desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.65;
}

/* Operator Profile Card */
.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0 12px;
  box-shadow: var(--shadow);
}

.profile-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.profile-card__avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  flex-shrink: 0;
  background: #FFFFFF;
}

.profile-card__meta {
  flex: 1;
  min-width: 200px;
}

.profile-card__role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: 2px 9px;
  border-radius: 999px;
  margin-bottom: 5px;
}

.profile-card__name {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--primary);
}

.profile-card__body p {
  margin: 0 0 12px;
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.75;
}

.profile-card__media-box {
  margin: 14px 0;
  padding: 12px 14px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text);
}

.profile-card__media-title {
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.profile-card__media-box p {
  margin: 0;
  font-size: 0.86rem;
}

.profile-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* Inline Microcopy CTA Box (Articles) */
.inline-cta {
  margin: 20px 0 24px;
  padding: 16px 18px;
  background: var(--accent-tint);
  border: 1px solid #F59E0B;
  border-left: 5px solid var(--accent);
  border-radius: 10px;
}

.inline-cta__title {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
}

.inline-cta__text {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
}

.inline-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Footer */
.site-footer {
  background-color: var(--primary);
  color: #F1F5F9;
  padding: 28px 16px;
  border-top: 3px solid var(--accent);
  font-size: 0.85rem;
  text-align: center;
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
  color: #FFFFFF;
}

.site-footer__inner {
  max-width: 960px;
  margin: 0 auto;
}

.site-footer__disclaimer {
  margin: 0 0 14px;
  color: #E2E8F0;
  font-size: 0.82rem;
  line-height: 1.6;
}

.site-footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 12px;
}

.site-footer__links a {
  color: #FDE68A;
  text-decoration: none;
  font-weight: 500;
}

.site-footer__links a:hover {
  text-decoration: underline;
  color: #FFFFFF;
}

.site-footer__copy {
  margin: 0;
  color: #E2E8F0;
  font-size: 0.8rem;
}

/* 404 Page */
.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

/* PC Handoff Box (CafeGuardian Mobile Helper) */
.pc-handoff-box {
  margin: 18px 0 22px;
  padding: 16px 18px;
  background: var(--accent-tint);
  border: 1px solid #FDE68A;
  border-radius: 10px;
}

.pc-handoff-box__title {
  margin: 0 0 6px;
  font-size: 0.96rem;
  font-weight: 700;
  color: #92400E;
}

.pc-handoff-box__desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text);
}

.pc-handoff-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.btn.is-copied {
  background-color: #DCFCE7;
  border-color: #16A34A;
  color: #15803D;
}

.pc-handoff-box__status {
  margin: 10px 0 0;
  padding: 8px 12px;
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #15803D;
  line-height: 1.5;
}

/* Zoomable Image & Lightbox */
.zoomable-img {
  cursor: zoom-in;
  transition: opacity 0.15s ease;
}

.zoomable-img:hover {
  opacity: 0.94;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: 96vw;
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.lightbox__close {
  position: fixed;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.94);
  color: #0F172A;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.lightbox__caption {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  color: #F8FAFC;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  max-width: 90vw;
  text-align: center;
}

/* FedWatch Legend & Loading Shell */
.fed-legend-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 9px 12px;
  margin: 0 0 12px;
  background: #F8FAFC;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-size: 0.84rem;
}

.fed-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
}

.fed-badge--neutral {
  background: #E2E8F0;
  color: #1E293B;
}

.fed-badge--up {
  background: #FEE2E2;
  color: #B91C1C;
}

.fed-badge--down {
  background: #DCFCE7;
  color: #15803D;
}

.iframe-shell {
  position: relative;
}

.iframe-shell__status {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
  background: #F8FAFC;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  pointer-events: none;
  z-index: 1;
}

.iframe-shell iframe {
  position: relative;
  z-index: 2;
  background: transparent;
}

.iframe-shell.is-timeout .iframe-shell__status {
  z-index: 3;
  pointer-events: auto;
  background: rgba(248, 250, 252, 0.96);
}

.iframe-shell.is-loaded .iframe-shell__status {
  display: none;
}

.iframe-shell.is-loaded iframe {
  background: #FFFFFF;
}

.iframe-fallback__note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text);
}

.iframe-fallback__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.fed-fallback-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 10px 0 20px;
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.84rem;
  color: var(--muted);
}

.fed-fallback-bar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.fed-fallback-bar .btn {
  padding: 7px 12px;
  font-size: 0.8rem;
}

/* Quick Jump CTA */
.quick-jump {
  margin: 14px 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Lazy TradingView Chart Accordion */
.tv-chart-box {
  width: 100%;
  height: 400px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  overflow: hidden;
  background: #0F172A;
  margin-top: 8px;
}

.tv-chart-credit {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Back To Top Button */
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.15s ease, background-color 0.15s ease;
}

.back-to-top:hover {
  background: var(--accent);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.back-to-top.is-visible {
  opacity: 0.94;
  pointer-events: auto;
}

/* Mobile Fixed Bottom CTA Bar (Hidden on Desktop) */
.mobile-cta-bar {
  display: none;
}

.mobile-cta-toast {
  display: none;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 112px;
  }
  body {
    font-size: 15.5px;
    line-height: 1.75;
  }
  .site-header__bar {
    display: none;
  }
  .site-header__inner {
    padding: 7px 12px;
    gap: 6px;
    flex-direction: column;
    align-items: stretch;
  }
  .site-brand {
    gap: 8px;
  }
  .site-brand__icon {
    width: 30px;
    height: 30px;
  }
  .site-brand__name {
    font-size: 0.96rem;
  }
  .site-nav {
    flex-wrap: wrap;
    gap: 5px;
  }
  .site-nav a {
    font-size: 0.76rem;
    padding: 4px 9px;
    background-color: rgba(255, 255, 255, 0.1);
  }
  .site-nav a.is-active {
    background-color: var(--accent);
  }
  .page-wrap {
    padding: 14px 10px 40px;
  }
  .breadcrumb {
    font-size: 0.78rem;
    margin-bottom: 10px;
  }
  .trust-strip {
    padding: 10px 12px;
    gap: 10px;
    margin-bottom: 16px;
  }
  .trust-strip__text {
    font-size: 0.84rem;
  }
  .hero-card,
  .knowledge-card {
    grid-template-columns: 1fr;
  }
  .hero-card > *,
  .knowledge-card > *,
  .tools-grid > * {
    min-width: 0;
  }
  .hero-card__media,
  .knowledge-card__thumb,
  .tool-card__thumb {
    padding: 12px 12px 0;
  }
  .hero-card__body,
  .knowledge-card__body,
  .tool-card__body {
    padding: 14px 14px 18px;
  }
  .hero-card__title {
    font-size: 1.16rem;
  }
  .tool-card__title,
  .knowledge-card__title {
    font-size: 1.06rem;
  }
  .tools-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .benefit-section,
  .profile-card,
  .inline-cta {
    padding: 14px 12px;
  }
  .inline-cta__actions .btn,
  .profile-card__actions .btn,
  .sales-box__actions .btn {
    width: 100%;
    min-height: 44px;
  }
  .article-card {
    padding: 16px 12px 24px;
    border-radius: 10px;
  }
  .article-title {
    font-size: 1.2rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }
  .article-body h2 {
    font-size: 1.06rem;
    padding: 9px 12px;
    margin: 26px 0 12px;
  }
  .article-body h3 {
    font-size: 0.98rem;
    margin: 20px 0 8px;
  }
  .callout-box,
  .toc,
  .dynamic-recommend,
  .sales-box {
    padding: 14px 12px;
  }
  .link-card {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 10px;
  }
  .link-card__thumb {
    width: 100%;
    max-width: 100%;
  }
  .link-card__body {
    min-width: 0;
    width: 100%;
  }
  .article-body .cg-banner,
  .cg-banner {
    padding: 16px 12px;
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
    margin-top: 26px;
  }
  .cg-banner__thumb {
    width: 100%;
    max-width: 100%;
  }
  .cg-banner__content {
    min-width: 0;
    width: 100%;
  }
  .btn,
  .dynamic-recommend__link {
    max-width: 100%;
    text-align: center;
    line-height: 1.45;
  }
  .cg-banner .btn,
  .sales-box .btn,
  .tool-card__actions .btn,
  .dynamic-recommend__link {
    width: 100%;
  }
  .scroll-hint {
    display: block;
  }
  .data-table th,
  .data-table td {
    padding: 7px 6px;
    font-size: 0.82rem;
  }
  .balloon {
    gap: 10px;
  }
  .balloon__avatar {
    width: 52px;
  }
  .balloon__avatar img {
    width: 46px;
    height: 46px;
  }
  .balloon__bubble {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  .site-footer {
    padding: 22px 12px 24px;
  }
  body.has-mobile-cta .site-footer {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
  body.has-mobile-cta .back-to-top {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 890;
    background: rgba(44, 30, 22, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 2px solid var(--accent);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 14px rgba(15, 23, 42, 0.24);
    transform: translateY(115%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  .mobile-cta-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-cta-bar__text {
    font-size: 0.78rem;
    font-weight: 700;
    color: #FDE68A;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
  }
  .mobile-cta-bar__btn {
    min-height: 44px;
    padding: 8px 12px;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .mobile-cta-bar--split .mobile-cta-bar__btn {
    flex: 1 1 0;
    padding: 6px 8px;
    font-size: 0.76rem;
    white-space: normal;
  }
  .mobile-cta-bar__btn--sub {
    background-color: #FFFFFF;
    color: #1E293B;
    border: 1px solid #CBD5E1;
  }
  .mobile-cta-bar__btn--sub:hover {
    background-color: #F1F5F9;
    color: #0F172A;
  }
  .mobile-cta-bar__btn--sub.is-copied {
    background-color: #DCFCE7;
    border-color: #16A34A;
    color: #15803D;
  }
  .mobile-cta-toast {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    z-index: 950;
    background: #15803D;
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.28);
    text-align: center;
  }
  .mobile-cta-toast[hidden] {
    display: none;
  }
  .fed-fallback-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .fed-fallback-bar .btn {
    width: 100%;
    min-height: 44px;
  }
  .site-footer__links {
    gap: 8px 14px;
    font-size: 0.84rem;
  }
}
