/* 六啊网 (www.6a.ink) - 2026 静奢时尚生活杂志风本地样式表 */
:root {
  --plum: #7c2d4f;
  --plum-dark: #5e1f3a;
  --rose: #c25970;
  --gold: #b08d57;
  --gold-soft: #faf3e6;
  --butter: #fdf6e3;
  --ivory: #faf8f5;
  --paper: #ffffff;
  --line: #eae4dc;
  --ink: #1e1b18;
  --ink-body: #433e39;
  --ink-muted: #7d756d;
  --warn: #b91c1c;
  --warn-bg: #fef2f2;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-soft: 0 2px 10px rgba(30, 27, 24, 0.04);
  --shadow-lift: 0 12px 30px rgba(30, 27, 24, 0.08);
  --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif CN", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-body);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: var(--plum);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

a:hover {
  color: var(--plum-dark);
}

h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0;
  line-height: 1.38;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Masthead Header */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 70px;
}

.brand-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.brand-logo img {
  height: 44px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: nowrap;
}

.nav-item {
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-body);
  white-space: nowrap;
}

.nav-item:hover,
.nav-item.is-active {
  color: var(--plum);
  background: #fdf2f5;
}

.nav-item-accent {
  background: var(--gold-soft);
  color: var(--plum);
  font-weight: 600;
}

.nav-item-accent:hover,
.nav-item-accent.is-active {
  background: var(--plum);
  color: #fff;
}

.mast-search {
  display: flex;
  align-items: center;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 4px 2px 13px;
  width: 210px;
  flex-shrink: 0;
}

.mast-search:focus-within {
  border-color: var(--plum);
  background: #fff;
}

.mast-search input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
  min-width: 0;
  font-size: 13px;
  color: var(--ink);
}

.mast-search button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  background: var(--plum);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.mast-search button:hover {
  background: var(--plum-dark);
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 7px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Announcement Ribbon */
.notice-ribbon {
  background: linear-gradient(90deg, #faf3e6 0%, #fdf2f5 55%, #faf3e6 100%);
  border-bottom: 1px solid var(--line);
}

.notice-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 9px;
  padding-bottom: 9px;
  min-height: 42px;
}

.notice-label {
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--plum);
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
}

.notice-copy {
  margin: 0;
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.notice-link {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--plum);
  white-space: nowrap;
}

/* Editorial Hero */
.editorial-hero {
  padding: 30px 0 38px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
}

.hero-magazine-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.cover-feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cover-feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.cover-feature-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.ed-cover {
  position: relative;
  padding: 18px 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 118px;
  overflow: hidden;
}

.ed-cover-lg {
  min-height: 182px;
  padding: 24px 26px;
}

.ed-cover-ring {
  position: absolute;
  right: -36px;
  bottom: -44px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.ed-cover-top,
.ed-cover-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ed-cover-en {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.88;
}

.ed-cover-cat {
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.22);
  padding: 3px 11px;
  border-radius: 999px;
}

.ed-cover-kicker {
  font-size: 12px;
  opacity: 0.92;
}

.cover-feature-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cover-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.pill-plum {
  background: #fdf2f5;
  color: var(--plum);
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
}

.cover-feature-body h1 {
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.38;
}

.cover-feature:hover h1 {
  color: var(--plum);
}

.cover-feature-body p {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--ink-body);
  flex: 1;
}

.read-cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--plum);
}

/* Right Hero Column */
.hero-right-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lab-spotlight {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-soft);
}

.spotlight-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 6px;
}

.lab-spotlight h2 {
  font-family: var(--font-serif);
  font-size: 19px;
  margin-bottom: 14px;
}

.lab-mini-grid {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.lab-mini-item {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
}

.lab-mini-item:hover {
  background: #fdf2f5;
  border-color: #e4b5c2;
  transform: translateX(3px);
}

.lab-mini-item strong {
  font-size: 14px;
  color: var(--plum);
}

.lab-mini-item span {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.quote-spotlight {
  background: linear-gradient(145deg, #2b2320 0%, #4b2535 100%);
  color: #f8f4ef;
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-spot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #e6cfa8;
  margin-bottom: 10px;
}

.quote-spot-head a {
  color: #f3e4cb;
  font-weight: 600;
}

.quote-spotlight blockquote {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.65;
  color: #ffffff;
}

.quote-spot-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.quote-spot-foot small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.mood-chip {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(230, 207, 168, 0.2);
  color: #f3dfb8;
}

.quote-card .mood-chip {
  background: var(--gold-soft);
  color: var(--plum);
}

/* Subcover Strip */
.subcover-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.subcover-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subcover-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.subcover-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.subcover-body {
  padding: 16px 18px 18px;
  flex: 1;
}

.subcover-body h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  margin-bottom: 8px;
}

.subcover-card:hover h3 {
  color: var(--plum);
}

.subcover-body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* Sections */
.mag-section {
  padding: 42px 0;
}

.mag-section-white {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.sec-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 4px;
}

.sec-header h2 {
  font-family: var(--font-serif);
  font-size: 24px;
}

.sec-sub {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
}

/* Channel Cards */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.channel-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.channel-card:hover {
  border-color: var(--rose);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.ch-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ch-card-text {
  flex: 1;
  min-width: 0;
}

.ch-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.ch-card-top h3 {
  font-size: 16px;
  font-weight: 700;
}

.ch-num {
  font-size: 12px;
  color: var(--ink-muted);
  background: var(--ivory);
  padding: 2px 8px;
  border-radius: 999px;
}

.ch-card-text p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* Two Column Editorial Layout */
.editorial-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 30px;
  align-items: start;
}

.story-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-item {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.mag-section:not(.mag-section-white) .story-item {
  background: var(--paper);
}

.story-item:hover {
  border-color: #d9a7b4;
  box-shadow: var(--shadow-soft);
}

.story-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ch-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
}

.kicker-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: #8a6429;
  background: var(--gold-soft);
  border: 1px solid #ecdab9;
  padding: 1px 9px;
  border-radius: 999px;
}

.date-txt {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.story-item h2,
.story-item h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  margin-bottom: 8px;
}

.story-item h2 a,
.story-item h3 a {
  color: var(--ink);
}

.story-item h2 a:hover,
.story-item h3 a:hover {
  color: var(--plum);
}

.story-item p {
  margin: 0 0 12px;
  font-size: 14px;
}

.story-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mini-tags a {
  font-size: 12px;
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  padding: 1px 8px;
  border-radius: 999px;
}

.mini-tags a:hover {
  color: var(--plum);
  border-color: var(--rose);
}

.story-more {
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* Aside */
.aside-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.aside-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.mag-section:not(.mag-section-white) .aside-card,
.story-shell .aside-card {
  background: var(--paper);
}

.aside-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.aside-head h3 {
  font-family: var(--font-serif);
  font-size: 16.5px;
}

.aside-head a {
  font-size: 12.5px;
  font-weight: 600;
}

.hot-rank {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hot-rank li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.rk {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-muted);
  min-width: 24px;
  margin-top: 1px;
}

.rk-top {
  color: var(--plum);
}

.hot-rank a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}

.hot-rank a:hover {
  color: var(--plum);
}

.hot-rank small {
  font-size: 12px;
  color: var(--ink-muted);
}

.aside-quote-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aside-quote-row {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.aside-quote-row p {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--ink);
  line-height: 1.55;
}

.aside-quote-row span {
  font-size: 11.5px;
  color: var(--plum);
  font-weight: 600;
}

.aside-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-links a {
  display: block;
  padding: 9px 12px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}

.aside-links a:hover {
  border-color: var(--rose);
  color: var(--plum);
  background: #fdf2f5;
}

/* Channel Hero & Crumbs */
.channel-hero {
  color: #fff;
  padding: 34px 0 38px;
}

.ch-hero-en {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0.85;
  margin-bottom: 6px;
}

.channel-hero h1 {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 30px;
  margin-bottom: 8px;
}

.channel-hero p {
  margin: 0;
  font-size: 15px;
  opacity: 0.92;
  max-width: 780px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.crumbs a {
  color: var(--ink-muted);
}

.crumbs a:hover {
  color: var(--plum);
}

.crumbs-light,
.crumbs-light a {
  color: rgba(255, 255, 255, 0.86);
}

.crumbs-light a:hover {
  color: #fff;
}

.crumb-now {
  color: var(--ink);
  font-weight: 500;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.fpill {
  padding: 6px 15px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-body);
  font-size: 13.5px;
  font-weight: 500;
}

.fpill:hover,
.fpill.is-active {
  background: var(--plum);
  border-color: var(--plum);
  color: #fff;
}

/* Story Detail Paper */
.story-shell {
  padding: 28px 0 56px;
}

.story-paper {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  box-shadow: var(--shadow-soft);
}

.story-head {
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.story-head-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.story-head h1 {
  font-family: var(--font-serif);
  font-size: 29px;
  margin-bottom: 12px;
}

.story-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-muted);
}

.editor-note-box,
.avoid-box,
.formula-box {
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 22px 0;
}

.editor-note-box {
  background: var(--butter);
  border: 1px solid #eee0bc;
  border-left: 4px solid var(--gold);
}

.avoid-box {
  background: var(--warn-bg);
  border: 1px solid #fecaca;
  border-left: 4px solid var(--warn);
}

.formula-box {
  background: #fdf6f8;
  border: 1px solid #ecd3dc;
}

.note-label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8a6429;
  margin-bottom: 6px;
}

.note-label-warn {
  color: var(--warn);
}

.note-label-gold {
  color: var(--plum);
  margin-right: 8px;
}

.editor-note-box p,
.avoid-box p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.formula-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.formula-pre {
  margin: 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}

.btn-copy {
  border: 1px solid var(--plum);
  background: #fff;
  color: var(--plum);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.btn-copy:hover {
  background: var(--plum);
  color: #fff;
}

.btn-copy-sm {
  padding: 3px 11px;
  font-size: 12px;
}

.story-prose {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-body);
}

.story-prose h2 {
  font-family: var(--font-serif);
  font-size: 21px;
  margin: 30px 0 12px;
  padding-left: 12px;
  border-left: 3.5px solid var(--plum);
  scroll-margin-top: 86px;
}

.story-prose h3 {
  font-size: 17px;
  margin: 20px 0 8px;
}

.story-prose p {
  margin: 0 0 15px;
}

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

.story-prose li {
  margin-bottom: 8px;
}

.story-prose strong {
  color: var(--ink);
}

.sticky-toc {
  position: sticky;
  top: 88px;
}

.toc-nav {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-nav a {
  font-size: 13.5px;
  color: var(--ink-body);
}

.toc-nav a:hover {
  color: var(--plum);
}

.story-tags-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-muted);
}

.story-tags-bar a {
  background: var(--ivory);
  color: var(--ink-body);
  padding: 3px 11px;
  border-radius: 999px;
}

.story-tags-bar a:hover {
  background: #fdf2f5;
  color: var(--plum);
}

.story-nav-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.snav-box {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.snav-right {
  text-align: right;
}

.snav-box small {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.snav-box a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.snav-box a:hover {
  color: var(--plum);
}

.related-block {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.related-block h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 14px;
}

.related-two-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.rel-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: inherit;
}

.rel-item:hover {
  background: var(--paper);
  border-color: var(--rose);
}

.rel-item h3 {
  font-family: var(--font-serif);
  font-size: 16px;
}

.rel-item p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

/* Lab Page */
.lab-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lab-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 88px;
}

.lab-card-head h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin: 8px 0 6px;
}

.lab-card-head p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--ink-muted);
}

.lab-controls-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 0.8fr;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
}

.fgroup label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.fgroup select,
.fgroup input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d6cec4;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  background: #fff;
  color: var(--ink);
}

.fgroup select:focus,
.fgroup input:focus {
  outline: none;
  border-color: var(--plum);
}

.btn-plum,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

.btn-plum {
  background: var(--plum);
  color: #fff;
}

.btn-plum:hover {
  background: var(--plum-dark);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--plum);
  color: var(--plum);
}

.fgroup-btn .btn-plum {
  width: 100%;
  border-radius: var(--radius-sm);
}

.lab-out-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.lab-out-box {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.lab-out-box span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.lab-out-box strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
}

.lab-out-box p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-body);
}

.tony-box {
  background: #fdf6f8;
  border: 1px solid #ecd3dc;
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.tony-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.lab-warn {
  margin: 0;
  padding: 12px 16px;
  background: var(--warn-bg);
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--warn);
}

/* Color Swatch Board */
.swatch-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.swatch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.swatch-btn.is-active,
.swatch-btn:hover {
  border-color: var(--plum);
  background: #fdf2f5;
  color: var(--plum);
}

.sw-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.color-bars {
  display: flex;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 92px;
  margin-bottom: 16px;
}

.cbar {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cbar span {
  font-size: 12px;
  opacity: 0.85;
}

.cbar strong {
  font-size: 16px;
}

.cbar-60 { flex: 6; }
.cbar-30 { flex: 3; }
.cbar-10 { flex: 2; }

.color-advice {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.color-advice h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  margin-bottom: 6px;
}

.color-advice p {
  margin: 0;
  font-size: 14px;
}

/* Quotes Masonry */
.quotes-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
}

.qcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.quote-card blockquote {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  flex: 1;
}

.qcard-tip {
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--ink-muted);
}

/* Search & State Cards & Pagination */
.banner-search {
  display: flex;
  max-width: 560px;
  margin-top: 16px;
  background: #fff;
  padding: 5px;
  border-radius: 999px;
}

.banner-search input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 9px 16px;
  font-size: 14.5px;
  color: var(--ink);
  min-width: 0;
}

.banner-search button {
  border: 0;
  background: var(--plum);
  color: #fff;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.search-meta {
  margin: 0 0 16px;
  font-size: 14.5px;
}

.state-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 46px 24px;
  text-align: center;
}

.state-code {
  font-family: var(--font-serif);
  font-size: 58px;
  font-weight: 700;
  color: var(--rose);
  line-height: 1;
  margin-bottom: 10px;
}

.state-card p {
  max-width: 520px;
  margin: 10px auto 22px;
  color: var(--ink-muted);
}

.state-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pager {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.pg-link,
.pg-num {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}

.pg-num.is-active,
.pg-link:hover,
.pg-num:hover {
  background: var(--plum);
  border-color: var(--plum);
  color: #fff;
}

/* Footer */
.mag-footer {
  background: #231e1b;
  color: #d6cfc7;
  padding: 46px 0 28px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-box {
  display: inline-block;
  background: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.footer-about p {
  margin: 0;
  font-size: 13.5px;
  color: #a89f96;
  max-width: 400px;
}

.footer-links h3 {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 15.5px;
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #b8afa6;
  font-size: 13.5px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  font-size: 13px;
  color: #a89f96;
}

.footer-bar p {
  margin: 0;
}

.footer-icp a {
  color: #e6dfd8;
}

.footer-icp a:hover {
  color: #fff;
}

.dot {
  margin: 0 8px;
  opacity: 0.45;
}

/* To Top */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--plum);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 90;
}

.to-top.is-show {
  opacity: 1;
  pointer-events: auto;
}

.to-top:hover {
  background: var(--plum);
  color: #fff;
}

/* Responsive */
@media (max-width: 1080px) {
  .mast-search {
    width: 165px;
  }
  .hero-magazine-grid,
  .editorial-two-col {
    grid-template-columns: 1fr;
  }
  .sticky-toc {
    position: static;
  }
  .subcover-strip,
  .channel-grid,
  .quotes-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 840px) {
  .masthead-inner {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .menu-btn {
    display: flex;
  }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }
  .main-nav.is-open {
    display: flex;
  }
  .mast-search {
    display: none;
    width: 100%;
    order: 4;
  }
  .main-nav.is-open + .mast-search {
    display: flex;
  }
  .lab-controls-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 14px;
  }
  .brand-logo img {
    height: 36px;
  }
  .notice-inner {
    flex-wrap: wrap;
    gap: 6px 10px;
  }
  .subcover-strip,
  .channel-grid,
  .quotes-masonry,
  .lab-out-grid,
  .related-two-grid,
  .story-nav-bar {
    grid-template-columns: 1fr;
  }
  .color-bars {
    flex-direction: column;
  }
  .cover-feature-body,
  .story-paper,
  .lab-card {
    padding: 20px 16px;
  }
  .cover-feature-body h1,
  .story-head h1,
  .channel-hero h1 {
    font-size: 22px;
  }
  .snav-right {
    text-align: left;
  }
  .banner-search {
    border-radius: 12px;
    flex-direction: column;
    gap: 6px;
  }
  .banner-search button {
    border-radius: 8px;
    width: 100%;
  }
}
