:root {
  --ink: #2B2420;
  --muted: #7A7068;
  --green: #1A1A1A;
  --green-strong: #1A1A1A;
  --mint: rgba(255, 255, 255, .45);
  --blue: rgba(255, 255, 255, .45);
  --paper: rgba(255, 255, 255, .58);
  --line: rgba(255, 255, 255, .72);
  --shadow: 0 12px 36px rgba(0, 0, 0, .06);
  --radius: 28px;
  --beige: rgba(255, 248, 240, .55);
  --selected: rgba(253, 208, 219, .55);
  --chip: rgba(255, 255, 255, .4);
  --pink: #FDD0DB;
  --bg: #FDD0DB;
  --deep: #EC94C2;
  --stroke: 1px solid rgba(255, 255, 255, .7);
}

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('assets/fonts/material-symbols-outlined.woff2') format('woff2');
}
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  user-select: none;
  font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body {
  min-height: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 14% 16%, rgba(255, 255, 255, .72) 0 88px, transparent 168px),
    radial-gradient(circle at 84% 18%, rgba(236, 148, 194, .32) 0 78px, transparent 168px),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, .5) 0 110px, transparent 210px),
    radial-gradient(circle at 18% 84%, rgba(253, 168, 182, .34) 0 72px, transparent 156px);
  background-attachment: fixed;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
body::before {
  display: none;
}
.page-shell,
.admin-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}
.page-shell { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible {
  outline: 1px solid rgba(255, 255, 255, .7);
  outline-offset: 2px;
}
.noscript { padding: 14px; color: #7d3528; background: #f3e4dc; text-align: center; }

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  width: min(1220px, calc(100% - 40px));
  height: 72px;
  margin: 18px auto 0;
  padding: 0 14px 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 24px;
  background: rgba(255, 255, 255, .52);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.brand { width: max-content; padding: 0; display: flex; gap: 11px; align-items: center; border: 0; color: inherit; background: transparent; text-align: left; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .7); border-radius: 13px; color: #000; background: #EC94C2; font: 700 19px/1 Georgia, serif; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.nav-tabs { display: flex; gap: 4px; padding: 5px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 17px; background: var(--chip); }
.nav-tabs button { padding: 10px 21px; border: 0; border-radius: 999px; color: var(--ink); background: transparent; font-size: 12px; }
.nav-tabs button.active { color: #000; background: var(--pink); box-shadow: none; font-weight: 700; }

.primary-button, .secondary-button {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 720;
}
.primary-button { border: 0; color: #fff; background: #1A1A1A; box-shadow: none; }
.secondary-button { border: 1px solid rgba(255, 255, 255, .7); color: var(--ink); background: rgba(255, 255, 255, .45); box-shadow: none; }
.top-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.top-report { justify-self: end; }
.mine-entry.active { color: #000; background: var(--pink); font-weight: 700; }
.answer-lock { margin-top: 25px; padding: 22px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 19px; background: rgba(255, 255, 255, .55); }
.answer-lock h3 { margin: 8px 0 8px; font-size: 22px; letter-spacing: -.03em; }
.answer-lock p { margin: 0 0 16px; color: var(--muted); line-height: 1.7; }
.answer-lock-link {
  padding: 0;
  border: 0;
  color: #1a1a1a;
  background: transparent;
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

main { width: min(1180px, calc(100% - 40px)); margin: 34px auto 70px; }
.service-banner {
  min-height: 44px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
  font-size: 10px;
}
.service-banner.demo { color: #7A7A82; background: rgba(255, 255, 255, .55); }
.service-banner.error { color: #8c4b3f; background: #f3e4dc; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--deep); box-shadow: 0 0 0 3px rgba(255, 255, 255, .7); }
.service-banner.demo .status-dot { background: #c59b42; box-shadow: 0 0 0 4px rgba(197,155,66,.12); }
.service-banner.error .status-dot { background: #cf6a58; }
.service-banner strong { font-size: 10px; }
.service-banner span:last-child { color: inherit; opacity: .75; }

.view { margin-top: 28px; padding: 36px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 34px; background: rgba(255, 255, 255, .52); box-shadow: var(--shadow); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.view[hidden] { display: none; }
.view-heading, .heat-intro { display: flex; justify-content: space-between; align-items: flex-start; gap: 25px; }
.eyebrow { color: var(--muted); font-size: 9px; font-weight: 780; letter-spacing: .16em; }
h1 { margin: 10px 0 11px; font-size: clamp(34px, 4vw, 53px); line-height: 1.08; letter-spacing: -.04em; color: var(--ink); font-weight: 550; }
.view-heading p, .heat-intro p { max-width: 680px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.summary-pills { display: flex; gap: 8px; }
.summary-pills span { min-width: 92px; padding: 13px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; color: #000; background: var(--chip); font-size: 9px; text-align: center; }
.summary-pills b { display: block; margin-bottom: 3px; color: var(--ink); font-size: 19px; }

.control-deck {
  margin-top: 27px;
  padding: 9px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 165px auto;
  gap: 9px;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 20px;
  background: var(--chip);
}
.search-control { height: 46px; padding: 0 14px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; background: rgba(255, 255, 255, .55); box-shadow: none; }
.search-control > span { color: var(--muted); font-size: 21px; transform: rotate(-15deg); }
.search-control input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; }
.select-control > span, .heat-filters label > span, .dialog-card label > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 8px; font-weight: 720; }
.select-control > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.select-control select, .heat-filters select, .heat-filters input, .dialog-card select, .dialog-card input {
  width: 100%; height: 46px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; color: var(--ink); background: rgba(255, 255, 255, .55); outline: 0; font-size: 10px;
}
.dialog-card textarea { width: 100%; padding: 11px 12px; resize: vertical; border: 0; border-radius: 13px; color: var(--ink); background: var(--chip); outline: 0; font-size: 10px; line-height: 1.55; }
.segment-control { display: flex; gap: 3px; padding: 4px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 13px; background: rgba(255, 255, 255, .55); }
.segment-control button { min-width: 62px; height: 38px; padding: 0 10px; border: 0; border-radius: 10px; color: #000; background: transparent; font-size: 9px; font-weight: 680; }
.segment-control button.active { color: #000; background: var(--pink); box-shadow: none; }

.library-grid { margin-top: 18px; min-height: 680px; display: grid; grid-template-columns: minmax(300px,.78fr) minmax(0,1.55fr); gap: 17px; }
.question-index, .question-detail, .ranking-panel { border: 1px solid rgba(255, 255, 255, .7); border-radius: 23px; background: rgba(255, 255, 255, .5); overflow: hidden; box-shadow: 0 10px 28px rgba(0, 0, 0, .05); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.panel-head { min-height: 58px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 0; }
.panel-head strong { font-size: 11px; }
.panel-head > span { color: var(--muted); font-size: 8px; }
.question-list { height: 680px; padding: 8px; overflow: auto; }
.topic-card { width: 100%; min-height: 70px; padding: 10px 11px; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 10px; align-items: center; border: 1px solid transparent; border-radius: 14px; color: var(--ink); background: transparent; text-align: left; }
.topic-card:hover { background: var(--chip); }
.topic-card.active { border-color: rgba(255, 255, 255, .85); background: var(--selected); }
.topic-number { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .7); border-radius: 9px; color: #000; background: var(--chip); font-size: 9px; font-weight: 750; }
.topic-card.active .topic-number { color: #000; background: var(--pink); }
.topic-copy { min-width: 0; }
.topic-copy strong, .topic-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topic-copy strong { font-size: 11px; }
.topic-copy small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.topic-arrow { color: var(--muted); font-size: 14px; }
.question-detail { min-height: 680px; padding: 28px; }
.detail-top { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.detail-top h2 { margin: 7px 0 4px; font-size: 28px; letter-spacing: -.04em; }
.detail-source { max-width: 210px; padding: 7px 10px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; color: #000; background: var(--chip); font-size: 8px; text-align: right; }
.detail-meta { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.detail-meta span { padding: 6px 9px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; color: #000; background: var(--pink); font-size: 8px; font-weight: 700; }
.question-section { margin-top: 21px; }
.question-section h3 { margin: 0 0 10px; color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.question-section ol { margin: 0; padding: 0; list-style: none; counter-reset: question; }
.question-section li { position: relative; margin-top: 8px; padding: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .7); border-radius: 13px; color: #000; background: rgba(255, 255, 255, .55); font-family: Georgia, "Times New Roman", serif; font-size: 13px; line-height: 1.55; counter-increment: question; }
.question-section li:has(.answer-question.active),
.question-section li:has(.answer-question:hover) { background: var(--pink); }
.question-section li::before { content: counter(question); position: absolute; left: 13px; top: 12px; width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .7); border-radius: 7px; color: #000; background: rgba(255, 255, 255, .55); font: 700 8px/1 sans-serif; }
.answer-question { color: inherit; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.question-section li .answer-question { width: 100%; min-height: 48px; padding: 13px 14px 13px 42px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; align-items: center; border: 0; color: inherit; background: transparent; font: inherit; line-height: inherit; text-align: left; }
.question-section li .answer-question small { color: var(--muted); font: 700 8px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; white-space: nowrap; }
.question-section li .answer-question:hover, .question-section li .answer-question.active { background: transparent; }
.question-section li .answer-question.active small { color: var(--ink); }
.cue-card { width: 100%; padding: 17px; display: block; border: 1px solid rgba(255, 255, 255, .7); border-radius: 15px; color: inherit; background: rgba(255, 255, 255, .55); text-align: left; }
.cue-card:hover, .cue-card.active { background: var(--pink); transform: translateY(-1px); }
.cue-card strong { display: block; font: 600 14px/1.5 Georgia, serif; }
.cue-card p { margin: 8px 0 0; color: var(--muted); font-size: 9px; }
.cue-card > span { display: block; margin-top: 12px; color: var(--ink); font-size: 8px; font-weight: 760; }
.answer-panel { margin-top: 25px; padding: 21px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 19px; background: var(--chip); box-shadow: 0 8px 24px rgba(0, 0, 0, .05); }
.answer-panel-head { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; }
.answer-panel-head h3 { margin: 6px 0 0; font-size: 20px; letter-spacing: -.035em; }
.answer-origin { padding: 6px 8px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; color: #000; background: rgba(255, 255, 255, .55); font-size: 8px; font-weight: 730; white-space: nowrap; }
.answer-origin.revised { color: #000; background: var(--deep); }
.answer-question-prompt { margin-top: 15px; padding: 12px 14px; border-left: 1px solid rgba(255, 255, 255, .7); border-radius: 0 11px 11px 0; color: #000; background: rgba(255, 255, 255, .55); font: 600 13px/1.55 Georgia, "Times New Roman", serif; }
.answer-toolbar { margin-top: 13px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.answer-toolbar > strong { color: var(--ink); font-size: 9px; letter-spacing: .04em; }
.answer-toolbar > span { color: var(--muted); font-size: 8px; }
.answer-copy { margin-top: 16px; display: grid; gap: 14px; }
.answer-block { display: grid; gap: 7px; }
.answer-block > span { color: var(--muted); font-size: 8px; font-weight: 720; }
.answer-pill {
  min-height: 42px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 1.65;
}
.answer-pill.is-empty { min-height: 42px; }
.answer-pill.answer-body { font: 400 14px/1.85 Georgia, "Times New Roman", serif; }
.answer-pill.answer-body p { margin: 0; }
.answer-pill.answer-body p + p { margin-top: 12px; }
.answer-framework { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.answer-framework span { color: var(--muted); font-size: 8px; }
.answer-framework strong { color: var(--ink); font-size: 9px; }
.answer-framework strong.is-empty { min-width: 4.5em; min-height: 1em; }
.answer-logic { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--chip); }
.answer-logic span { color: var(--muted); font-size: 8px; font-weight: 720; }
.answer-logic p { margin: 6px 0 0; color: var(--ink); font-size: 12px; line-height: 1.7; }
.answer-logic.is-empty { padding: 8px 12px; }
.answer-copy > p { margin: 12px 0 0; color: var(--ink); font: 400 14px/1.85 Georgia, "Times New Roman", serif; }
.answer-copy > p + p { margin-top: 14px; }
.answer-insights { margin-top: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.answer-insights > div { min-width: 0; padding: 13px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 12px; background: rgba(255, 255, 255, .55); }
.answer-insights span { color: var(--muted); font-size: 8px; font-weight: 720; }
.answer-insights p { margin: 8px 0 0; color: var(--muted); font-size: 9px; line-height: 1.65; }
.answer-phrases { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.answer-phrases b { max-width: 100%; padding: 6px 8px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; color: #000; background: var(--pink); font-size: 8px; font-weight: 680; overflow-wrap: anywhere; }
.answer-actions { margin-top: 13px; display: flex; justify-content: flex-end; }
.answer-fav {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #1a1a1a;
  background: #FDD0DB;
  box-shadow: none;
  font-size: 11px;
  font-weight: 720;
}
.answer-fav.is-saved { background: #EC94C2; }
.detail-actions { margin-top: 23px; display: flex; justify-content: flex-end; }
.empty-state { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); text-align: center; }
.empty-state > span { margin-bottom: 8px; font-size: 27px; }
.empty-state strong { color: var(--ink); font-size: 12px; }
.empty-state p { margin: 7px 0 0; font-size: 9px; }

.heat-intro { min-height: 210px; padding: 30px; align-items: flex-end; border-radius: 25px; background: var(--chip); border: 1px solid rgba(255, 255, 255, .7); }
.heat-intro h1 { max-width: 720px; }
.featured-cities { margin-top: 17px; display: flex; flex-wrap: wrap; gap: 7px; }
.featured-cities button { padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; color: #000; background: rgba(255, 255, 255, .55); font-size: 9px; box-shadow: none; }
.featured-cities button.active { color: #000; background: var(--deep); }
.heat-filters { margin-top: 14px; padding: 12px; display: grid; grid-template-columns: 170px minmax(160px,1fr) 150px auto; gap: 10px; align-items: end; border: 1px solid rgba(255, 255, 255, .7); border-radius: 18px; background: var(--chip); }
.heat-filters select, .heat-filters input { height: 42px; }
.ranking-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.ranking-panel { margin-top: 16px; padding: 25px; }
.ranking-panel-p2 { background: rgba(255, 255, 255, .55); }
.panel-head.large { height: auto; padding: 0 0 17px; }
.panel-head h2 { margin: 6px 0 0; font-size: 25px; letter-spacing: -.04em; }
.ranking-list { border-top: 0; }
.ranking-row { width: 100%; min-height: 79px; padding: 11px 4px; display: grid; grid-template-columns: 36px minmax(190px,1fr) minmax(100px,.7fr) 80px 74px; gap: 12px; align-items: center; border: 0; border-bottom: 0; color: inherit; background: transparent; text-align: left; transition: background .18s ease, transform .18s ease; }
.ranking-row:hover { background: var(--chip); transform: translateX(2px); }
.ranking-row:focus-visible { position: relative; z-index: 1; }
.rank { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .7); border-radius: 9px; color: #000; background: var(--chip); font-size: 10px; font-weight: 780; }
.rank.first { color: #000; background: var(--deep); }
.rank.second { color: #000; background: var(--pink); }
.rank-topic strong, .rank-topic small { display: block; }
.rank-topic strong { font-size: 11px; }
.rank-topic small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.heat-meter { height: 6px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 99px; background: rgba(255, 255, 255, .55); overflow: hidden; }
.heat-meter i { display: block; height: 100%; border-radius: inherit; background: var(--deep); }
.rank-count { text-align: right; }
.rank-count strong, .rank-count small { display: block; }
.rank-count strong { font-size: 15px; }
.rank-count small { color: var(--muted); font-size: 7px; }
.heat-label { justify-self: end; padding: 6px 8px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; color: #000; background: var(--chip); font-size: 8px; font-weight: 700; }
.heat-label.hot { color: #000; background: var(--deep); }
.heat-label.warm { color: #000; background: var(--pink); }
.ranking-grid .ranking-row { grid-template-columns: 32px minmax(0,1fr) 62px; grid-template-rows: auto auto; gap: 8px 10px; }
.ranking-grid .ranking-row .rank { grid-row: 1 / span 2; }
.ranking-grid .ranking-row .heat-meter { grid-column: 2 / 4; }
.ranking-grid .ranking-row .rank-count { grid-column: 3; grid-row: 1; }
.ranking-grid .ranking-row .heat-label { display: none; }

footer { width: min(1180px, calc(100% - 40px)); min-height: 82px; margin: 0 auto 24px; padding: 18px 22px; display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; gap: 15px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 23px; background: rgba(255, 255, 255, .55); box-shadow: var(--shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
footer > div { display: flex; align-items: center; gap: 8px; font-size: 10px; }
.brand-mark.mini { width: 28px; height: 28px; border-radius: 9px; font-size: 13px; }
footer p { margin: 0; color: var(--muted); font-size: 8px; text-align: center; }
footer a { justify-self: end; color: var(--ink); font-size: 9px; text-decoration: none; font-weight: 700; }
.home-plans { justify-self: end; display: flex; gap: 8px; }
.home-plans button {
  min-width: 68px;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #3d2466;
  background: linear-gradient(120deg, #ffe8f3 0%, #f0c8ff 100%);
  font-size: 12px;
  font-weight: 750;
}
.home-plans button:last-child {
  color: #7a3f2a;
  background: linear-gradient(120deg, #ffe8d6 0%, #ffc8b4 100%);
}

.report-dialog { width: min(520px, calc(100% - 28px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 25px; background: transparent; overflow: visible; }
.report-dialog::backdrop { background: rgba(26, 26, 26, .36); backdrop-filter: blur(10px); }
.dialog-card { max-height: calc(100vh - 32px); padding: 29px; position: relative; overflow-y: auto; border: 1px solid rgba(255, 255, 255, .7); border-radius: 25px; background: rgba(255, 255, 255, .62); box-shadow: 0 18px 48px rgba(0, 0, 0, .08); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.dialog-card h2 { margin: 8px 0; font-size: 25px; letter-spacing: -.04em; }
.dialog-card > p { margin: 0 0 15px; color: var(--muted); font-size: 9px; line-height: 1.6; }
.dialog-card label { display: block; margin-top: 12px; }
.report-question-picker { margin-top: 12px; }
.report-question-picker > label { margin-top: 0; }
.report-question-searchbox { height: 48px; padding: 0 13px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; background: var(--chip); transition: .2s ease; }
.report-question-searchbox:focus-within { box-shadow: 0 8px 24px rgba(0, 0, 0, .05); }
.report-question-searchbox > span { color: var(--muted); font-size: 20px; transform: rotate(-15deg); }
.report-question-searchbox input { height: 100%; padding: 0; border: 0; border-radius: 0; outline: 0; box-shadow: none; }
.report-search-summary { min-height: 25px; padding: 7px 3px 3px; color: var(--muted); font-size: 8px; }
.report-question-results { max-height: 230px; padding: 6px; overflow-y: auto; border: 0; border-radius: 14px; background: var(--chip); box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.report-question-result { width: 100%; padding: 11px 12px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px 10px; border: 0; border-radius: 10px; color: var(--ink); background: transparent; text-align: left; }
.report-question-result:hover, .report-question-result:focus-visible { background: rgba(255, 255, 255, .55); }
.report-question-result strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.report-question-result > span { align-self: start; padding: 4px 6px; border-radius: 999px; color: var(--muted); background: rgba(255, 255, 255, .55); font-size: 7px; font-weight: 760; }
.report-question-result small { grid-column: 1 / -1; overflow: hidden; color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: 8px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.report-question-empty { padding: 24px 12px; color: var(--muted); font-size: 9px; line-height: 1.6; text-align: center; }
.report-question-selected { min-height: 54px; padding: 10px 11px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 10px; align-items: center; border: 0; border-radius: 13px; background: var(--selected); }
.report-question-selected strong, .report-question-selected small { display: block; }
.report-question-selected strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.report-question-selected small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.report-question-selected button { grid-column: 2; grid-row: 1 / span 2; padding: 7px 9px; border: 0; border-radius: 999px; color: var(--ink); background: rgba(255, 255, 255, .55); font-size: 8px; }
.report-new-question { width: 100%; margin-top: 9px; padding: 10px 12px; border: 0; border-radius: 11px; color: var(--ink); background: var(--chip); font-size: 9px; }
.report-new-question:hover { background: var(--selected); }
.submission-p23-fields { display: grid; gap: 4px; padding: 14px; margin-top: 12px; border: 0; border-radius: 15px; background: var(--chip); }
.dialog-close { position: absolute; top: 15px; right: 15px; width: 33px; height: 33px; border: 0; border-radius: 10px; color: var(--muted); background: var(--chip); font-size: 19px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.privacy-note { margin-top: 14px; padding: 12px; display: flex; gap: 9px; border-radius: 12px; color: var(--muted); background: var(--chip); }
.privacy-note p { margin: 0; font-size: 8px; line-height: 1.5; }
.form-error { margin-top: 12px; padding: 10px; border-radius: 10px; color: #91483b; background: #f3e4dc; font-size: 9px; }
.dialog-submit { width: 100%; margin-top: 16px; }
.dialog-submit:disabled { cursor: not-allowed; opacity: .5; }
.auth-dialog { width: min(400px, calc(100% - 28px)); }
.auth-card {
  padding: 36px 28px 28px;
  border: 0;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.auth-card h2 {
  margin: 0 40px 8px 0;
  font-size: 22px;
  letter-spacing: -.03em;
  line-height: 1.25;
}
.dialog-card.auth-card > #auth-lead {
  margin: 0 0 26px;
  color: #9a9a9a;
  font-size: 13px;
  line-height: 1.5;
}
.auth-card #auth-email,
.auth-card #auth-password,
.auth-card #auth-code {
  height: 50px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #2b2420;
  background: #f3f4f6;
  font-size: 15px;
}
.auth-card #auth-email { margin-bottom: 14px; }
.auth-card #auth-password { padding-right: 48px; }
.auth-card #auth-email::placeholder,
.auth-card #auth-password::placeholder,
.auth-card #auth-code::placeholder { color: #b0b4ba; }
.auth-password-wrap { position: relative; }
.auth-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 14px;
}
.auth-send-code {
  height: 50px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: var(--chip);
  font-size: 14px;
  white-space: nowrap;
}
.auth-send-code:disabled { cursor: not-allowed; opacity: .5; }
.auth-send-code.is-sending:disabled { opacity: 1; }
.auth-send-spinner {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 2px solid rgba(43, 36, 32, .18);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: auth-spin .7s linear infinite;
}
.auth-send-spinner[hidden] { display: none; }
@keyframes auth-spin {
  to { transform: rotate(360deg); }
}
.auth-switch {
  padding: 0;
  border: 0;
  color: var(--deep);
  background: transparent;
  font-size: inherit;
}
.auth-eye {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #9aa0a6;
  background: transparent;
  transform: translateY(-50%);
}
.auth-eye svg { width: 20px; height: 20px; }
.auth-eye.is-on { color: #5c646c; }
.auth-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.auth-card .auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #8b8f96;
  font-size: 13px;
}
.auth-card .auth-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--deep);
  border-radius: 4px;
  background: #fff;
}
.auth-forgot {
  padding: 0;
  border: 0;
  color: var(--deep);
  background: transparent;
  font-size: 13px;
}
.auth-card .form-error { margin-top: 14px; }
.auth-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 20px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: var(--pink);
  font-size: 16px;
  font-weight: 720;
}
.auth-submit:disabled { cursor: not-allowed; opacity: .5; }
.dialog-card.auth-card > .auth-note {
  margin: 14px 0 0;
  color: #b0b4ba;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.dialog-card.auth-card > .auth-note .auth-switch {
  margin-left: 4px;
  font-size: 12px;
}
.forgot-dialog { width: min(360px, calc(100% - 28px)); }
.forgot-card { padding: 28px 22px 24px; text-align: center; background: #fff; }
.forgot-card h2 { margin: 0 0 8px; font-size: 20px; }
.forgot-card > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.forgot-card img {
  width: min(260px, 100%);
  margin: 16px auto 10px;
  display: block;
  border-radius: 16px;
  background: #fff;
}
.forgot-card .forgot-scan { margin-top: 6px; color: #b0b4ba; font-size: 13px; }
.auth-skip {
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
}
.auth-skip:hover { color: var(--ink); }
.mine-user {
  margin-bottom: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
}
.mine-user strong { display: block; overflow-wrap: anywhere; font-size: 16px; }
.mine-user small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.logout-confirm-card { text-align: center; }
.logout-confirm-card h2 { margin-bottom: 8px; }
.logout-confirm-card > p { margin-bottom: 4px; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 50; max-width: calc(100% - 30px); padding: 11px 16px; transform: translate(-50%, 20px); border: 1px solid rgba(255, 255, 255, .7); border-radius: 12px; color: #000; background: var(--pink); box-shadow: 0 8px 24px rgba(0, 0, 0, .05); font-size: 10px; opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.show { transform: translate(-50%,0); opacity: 1; }
.notice {
  position: fixed;
  inset: 18px 18px auto auto;
  z-index: 80;
  width: max-content;
  max-width: min(360px, calc(100vw - 28px));
  margin: 0;
  padding: 13px 16px;
  border: 0;
  border-radius: 14px;
  color: #2b2420;
  background: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .14);
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: .2s ease;
}
.notice.show { opacity: 1; transform: translateY(0); }

.view.mine-view { padding: 22px 20px 28px; }
.mine-sheet { width: min(430px, 100%); margin: 0 auto; }
.mine-card {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(80, 50, 160, .08);
}
.mine-vip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 16px 20px;
  color: #3d2466;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, .88) 0 22px, transparent 64px),
    radial-gradient(circle at 72% 120%, rgba(212, 196, 255, .55) 0 46px, transparent 90px),
    linear-gradient(120deg, #ffe8f3 0%, #ffd2e8 28%, #f0c8ff 64%, #d4c4ff 100%);
}
.mine-vip.is-on {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, .8) 0 22px, transparent 64px),
    radial-gradient(circle at 72% 120%, rgba(196, 176, 255, .5) 0 46px, transparent 90px),
    linear-gradient(120deg, #ffd6ea 0%, #efc0ff 52%, #c8b4ff 100%);
}
.mine-vip-open {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}
.mine-vip-brand { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.mine-vip-brand span { font-size: 22px; font-weight: 750; letter-spacing: -.03em; }
.mine-vip-brand strong { font-size: 26px; font-style: italic; font-weight: 800; letter-spacing: -.04em; }
.mine-vip-lead { margin: 4px 0 0; color: #6e5488; font-size: 12px; }
.mine-vip-cta {
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #6b3d9a;
  background: #fff;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(120, 70, 180, .12);
}
.mine-vip.is-on .mine-vip-cta { color: #5a2f88; }
.mine-swipe-wrap {
  overflow: hidden;
  background: #fff;
}
.mine-swipe {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: auto auto;
  grid-auto-columns: calc((100% - 20px) / 3.28);
  gap: 18px 10px;
  padding: 18px 12px 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mine-swipe::-webkit-scrollbar { display: none; }
.mine-tile {
  scroll-snap-align: start;
  min-width: 0;
  min-height: 92px;
  padding: 4px 4px 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: center;
}
div.mine-tile { cursor: default; }
.mine-tile-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #6a6a74;
  background: #fff;
  box-shadow: 0 1px 0 rgba(80, 50, 160, .04);
}
.mine-tile-icon svg { width: 22px; height: 22px; }
.mine-tile-icon .material-symbols-outlined { font-size: 22px; }
.mine-tile strong { display: block; font-size: 13px; font-weight: 720; }
.mine-tile small { display: block; margin-top: 4px; color: #9a9aa3; font-size: 11px; line-height: 1.35; }
.mine-common { margin-top: 26px; padding: 0 2px; }
.mine-common h2 { margin: 0 0 14px; color: #111; font-size: 20px; font-weight: 750; }
.mine-common-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 8px;
}
.mine-common-item {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: center;
}
.mine-common-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  color: #333;
}
.mine-common-icon svg { width: 26px; height: 26px; }
.mine-common-item strong { display: block; font-size: 13px; font-weight: 650; }
.mine-sub {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  color: #1a1a1a;
  background: #fff;
}
.mine-sub.is-fav {
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 14% 16%, rgba(255, 255, 255, .72) 0 88px, transparent 168px),
    radial-gradient(circle at 84% 18%, rgba(236, 148, 194, .32) 0 78px, transparent 168px),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, .5) 0 110px, transparent 210px),
    radial-gradient(circle at 18% 84%, rgba(253, 168, 182, .34) 0 72px, transparent 156px);
}
.mine-sub-head {
  flex: 0 0 auto;
  min-height: 52px;
  padding: calc(8px + env(safe-area-inset-top)) 8px 8px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  background: #fff;
}
.mine-sub.is-fav .mine-sub-head {
  grid-template-columns: 44px 1fr auto;
  background: rgba(255, 255, 255, .52);
  border-bottom: 1px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.mine-sub-head h1 { margin: 0; font-size: 17px; font-weight: 750; text-align: center; }
.fav-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 44px;
  padding-right: 4px;
}
.fav-plus,
.fav-refresh {
  width: 36px;
  height: 36px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  color: #1a1a1a;
  background: rgba(255, 255, 255, .7);
}
.fav-plus {
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}
.fav-refresh {
  padding: 0;
}
.fav-refresh svg {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto;
}
.fav-refresh.is-busy svg {
  animation: fav-spin .7s linear infinite;
}
.fav-refresh:disabled { opacity: .72; }
@keyframes fav-spin {
  to { transform: rotate(360deg); }
}
.fav-plus-menu {
  position: absolute;
  top: calc(56px + env(safe-area-inset-top));
  right: 12px;
  z-index: 46;
  min-width: 168px;
  padding: 6px;
  display: grid;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}
.fav-plus-menu button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  color: #1a1a1a;
  background: transparent;
  text-align: left;
}
.fav-plus-menu button:hover { background: #FDD0DB; }
.fav-select-bar {
  flex: 0 0 auto;
  padding: 8px 12px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  background: rgba(255, 255, 255, .55);
  border-bottom: 1px solid rgba(255, 255, 255, .7);
}
.fav-select-delete {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #d35a7a;
}
.mine-sub-body {
  flex: 1;
  min-height: 0;
  padding: 8px 20px 28px;
  overflow-y: auto;
}
.mine-sub-body.is-fav-desk {
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(88px, 25%) minmax(0, 1fr);
}
.fav-side {
  min-width: 0;
  padding: 8px 6px 20px;
  overflow-y: auto;
  background: rgba(255, 255, 255, .4);
  border-right: 1px solid rgba(255, 255, 255, .7);
}
.fav-side-item {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  color: #222;
  background: transparent;
  text-align: left;
}
.fav-side-item .fav-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.fav-side-item small {
  flex: 0 0 auto;
  color: #9a9aa3;
  font-size: 12px;
}
.fav-side-item.is-on {
  color: #000;
  background: var(--pink);
}
.fav-side-item.is-on small { color: #000; }
.fav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.fav-dot.is-peach { background: #FFB07A; }
.fav-dot.is-lilac { background: #C4A6FF; }
.fav-dot.is-sky { background: #7EB6FF; }
.fav-dot.is-pink { background: #EC94C2; }
.fav-main {
  min-width: 0;
  padding: 16px 14px 28px;
  overflow-y: auto;
}
.fav-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 18px 10px;
}
.fav-tile-wrap { position: relative; }
.fav-tile {
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: center;
  -webkit-touch-callout: none;
  user-select: none;
}
.fav-tile-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border-radius: 18px;
}
.fav-tile-icon.is-peach { background: #FFF3E0; }
.fav-tile-icon.is-lilac { background: #E8F5E4; }
.fav-tile-icon.is-sky { background: #EDE9FF; }
.fav-tile-icon.is-pink { background: #FFE8F0; }
.fav-folder-svg { width: 58px; height: 46px; }
.fav-tile strong { display: block; font-size: 13px; font-weight: 650; }
.fav-tile small { display: block; margin-top: 3px; color: #9a9aa3; font-size: 11px; }
.fav-tile.is-picked .fav-tile-icon { box-shadow: 0 0 0 3px #EC94C2; }
.fav-check {
  position: absolute;
  top: 4px;
  right: 10px;
  width: 18px;
  height: 18px;
  display: none;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #EC94C2;
  font-size: 11px;
}
.fav-tile.is-picked .fav-check { display: grid; }
.folder-create-card { text-align: center; }
.folder-create-nav {
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  margin-bottom: 18px;
}
.folder-create-nav button {
  border: 0;
  background: transparent;
  color: #7A7068;
  font-size: 14px;
}
.folder-create-nav strong { font-size: 17px; }
.folder-create-ok {
  min-height: 32px;
  border-radius: 999px !important;
  color: #1a1a1a !important;
  background: #FDD0DB !important;
  font-weight: 700;
}
.folder-create-preview {
  width: 92px;
  height: 78px;
  margin: 8px auto 18px;
  display: grid;
  place-items: center;
}
.folder-create-preview .fav-folder-svg { width: 86px; height: 70px; }
#folder-create-card #folder-create-name {
  height: 46px;
  border-radius: 999px;
  text-align: center;
}
.folder-color-label {
  margin: 18px 0 10px;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
}
.fav-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.fav-swatch,
.fav-swatch-add {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: #ddd;
}
.fav-swatch.is-on { border-color: #1a1a1a; box-shadow: 0 0 0 2px #fff; }
.fav-swatch-add {
  color: #7A7068;
  background: rgba(255, 255, 255, .7);
  border: 1px dashed rgba(0, 0, 0, .18);
  font-size: 18px;
  line-height: 1;
}
.fav-swatch-add.is-on { border: 2px solid #1a1a1a; }
.fav-picker {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
  text-align: left;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
}
.fav-picker > strong { display: block; margin-bottom: 10px; font-size: 13px; }
.fav-picker-sv {
  position: relative;
  height: 120px;
  border-radius: 10px;
  cursor: crosshair;
  background:
    linear-gradient(180deg, transparent, #000),
    linear-gradient(90deg, #fff, var(--picker-hue, #4da3ff));
}
.fav-picker-knob {
  position: absolute;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .25);
  pointer-events: none;
}
.fav-picker-hue {
  position: relative;
  width: 100%;
  height: 16px;
  margin: 14px 0 12px;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(90deg, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
}
.fav-picker-hue-knob {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .22);
  pointer-events: none;
  background: #fff;
}
.fav-picker-row { display: flex; align-items: center; gap: 8px; }
.fav-picker-row input {
  flex: 1;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.fav-picker-chip {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #CAEBFF;
}
.fav-context-menu {
  position: fixed;
  z-index: 80;
  min-width: 148px;
  padding: 6px;
  display: grid;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
}
.fav-context-menu button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  color: #1a1a1a;
  background: transparent;
  text-align: left;
}
.fav-context-menu button:hover { background: #FDD0DB; }
.fav-context-menu [data-fav-act="delete"] { color: #d35a7a; }
.mine-rights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mine-right-card {
  min-height: 86px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 16px;
  background: #fff7ef;
  text-align: left;
}
.mine-right-card strong { font-size: 16px; }
.mine-right-card small { margin-top: 6px; color: #8a7a72; font-size: 13px; }
.mine-sub.is-invite {
  color: #2a2420;
  background:
    radial-gradient(ellipse 88% 48% at 50% 12%, rgba(255, 255, 255, .88) 0%, transparent 58%),
    radial-gradient(ellipse 90% 62% at 50% 36%, #ffe4d4 0%, transparent 62%),
    linear-gradient(180deg, #fff9f0 0%, #ffe8dc 28%, #ffd6c8 68%, #ffcfc4 100%);
}
.mine-sub.is-invite .mine-sub-head {
  background: rgba(255, 248, 238, .78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.mine-sub.is-invite .svip-back { color: #2a2420; }
.mine-invite {
  width: min(430px, 100%);
  margin: 0 auto;
  padding-bottom: 36px;
}
.mine-invite .svip-hero { padding-top: 12px; }
.mine-invite .svip-word {
  background: linear-gradient(135deg, #e8b090 0%, #f0c4a8 46%, #ffb8a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.mine-invite .svip-tagline,
.invite-contact h2 { color: #2a2420; }
.mine-invite .svip-tagline-sub,
.mine-invite .svip-muted { color: #8a7a72; }
.mine-invite .svip-accent {
  background: linear-gradient(90deg, #d4a078, #e89080);
  -webkit-background-clip: text;
  background-clip: text;
}
.invite-steps {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.mine-invite .svip-chip {
  min-height: 52px;
  padding: 14px 16px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(180, 110, 80, .08);
}
.invite-brief {
  margin-top: 22px;
  padding: 20px 16px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 10px 24px rgba(180, 110, 80, .08);
}
.invite-brief h2 {
  margin: 0;
  color: #2a2420;
  font-size: 18px;
  font-weight: 780;
}
.invite-brief > p {
  margin: 10px 0 0;
  color: #8a7a72;
  font-size: 13px;
  line-height: 1.65;
}
#invite-gen {
  width: 100%;
  height: 46px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #e8b090 0%, #ffb8a8 100%);
  font-size: 15px;
  font-weight: 750;
}
.invite-copy-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 12px;
}
#invite-copy-text {
  flex: 1;
  min-width: 0;
  min-height: 148px;
  padding: 12px 14px;
  border: 0;
  border-radius: 16px;
  resize: none;
  color: #2a2420;
  background: #fff8f3;
  font: inherit;
  font-size: 13px;
  line-height: 1.7;
}
#invite-copy {
  flex: 0 0 auto;
  align-self: flex-start;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #2a2420;
  background: #fff;
  font-size: 14px;
  font-weight: 750;
}
.invite-contact {
  margin-top: 28px;
  padding: 22px 16px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  text-align: center;
  box-shadow: 0 10px 24px rgba(180, 110, 80, .08);
}
.invite-contact h2 { margin: 0; font-size: 20px; font-weight: 780; }
.invite-contact .svip-accent { margin: 10px 0 0; font-size: 16px; }
.invite-contact img {
  width: min(280px, 100%);
  margin: 16px auto 0;
  display: block;
  border-radius: 16px;
  background: #fff;
}
.invite-contact .svip-muted { margin: 10px 0 0; }
.mine-folder-row > button:first-child {
  flex: 1;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}
.mine-sub .table-delete {
  border: 0;
  border-radius: 9px;
  padding: 7px 10px;
  color: #a74040;
  background: #fff0f0;
}
.mine-history-list { display: grid; gap: 8px; }
.mine-history-list .topic-card {
  min-height: 74px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .62);
  border-color: rgba(255, 255, 255, .85);
}
.mine-history-list .topic-number { width: 36px; height: 36px; font-size: 12px; }
.mine-history-list .topic-copy strong { font-size: 15px; }
.mine-history-list .topic-copy small { font-size: 12px; }
.mine-history-list .topic-card:hover,
.mine-history-list .topic-card:focus-visible { background: var(--pink); }
.mine-folder-row,
.mine-history-row {
  width: 100%;
  padding: 14px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .7);
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
  -webkit-touch-callout: none;
  user-select: none;
}
.mine-sub.is-fav .mine-history-row {
  margin-bottom: 8px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 13px;
  background: rgba(255, 255, 255, .55);
  box-shadow: none;
  transition: background .18s ease, border-color .18s ease;
}
.mine-sub.is-fav .mine-history-row:hover {
  background: rgba(253, 208, 219, .55);
}
.mine-sub.is-fav .mine-history-row.is-on {
  border-color: rgba(255, 255, 255, .85);
  background: var(--pink);
}
.mine-sub.is-fav .mine-history-row.is-on small {
  color: var(--ink);
}
.mine-folder-row strong,
.mine-history-row strong { display: block; font-size: 15px; }
.mine-folder-row small,
.mine-history-row small { display: block; margin-top: 4px; color: #9a9aa3; font-size: 12px; }
.mine-folder-tools { display: flex; gap: 8px; align-items: center; }
#favorite-card > p { color: #1a1a1a; font-size: 14px; line-height: 1.55; }
#favorite-create-button { margin-top: 8px; }
.favorite-folder-list { display: grid; gap: 8px; margin: 12px 0 16px; }
.favorite-folder-list button {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 12px;
  color: inherit;
  background: var(--chip);
  text-align: left;
}
.answer-copy,
.answer-copy * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.mine-more { margin-top: 26px; }
.mine-more h2 { margin: 0 0 4px; padding: 0 2px; color: #111; font-size: 20px; font-weight: 750; }
.mine-row {
  width: 100%;
  min-height: 52px;
  padding: 0 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  color: #222;
  background: transparent;
  font-size: 15px;
  text-align: left;
}
.mine-row span { color: #c3c3c8; font-size: 22px; font-weight: 300; line-height: 1; }
.mine-row:last-child { border-bottom: 0; }

.mine-solid-dialog { background: transparent; }
.mine-solid-dialog::backdrop { background: rgba(236, 148, 194, .28); backdrop-filter: none; }
.mine-solid-card {
  background: #fff;
  border: 1px solid #F7C4D0;
  box-shadow: 0 18px 48px rgba(236, 148, 194, .18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.mine-solid-card > p {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.75;
}
.mine-share-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.mine-share-row input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: #FDD0DB;
  font-size: 13px;
}
.mine-share-row .primary-button {
  flex: 0 0 auto;
  width: auto;
  min-width: 72px;
  height: 44px;
  margin-top: 0;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
}
.mine-about-card h2 { font-size: 22px; }
.mine-about-card > p { margin: 0 0 12px; font-size: 13px; }
.mine-about-card .dialog-submit { margin-top: 6px; }
.mine-contact-card { text-align: center; }
.mine-contact-card img {
  display: block;
  width: min(280px, 100%);
  margin: 8px auto 0;
  border-radius: 20px;
  background: #fff;
}
.mine-contact-card > p { margin-top: 12px; margin-bottom: 0; }

body.svip-open,
body.predict-open,
body.mine-sub-open { overflow: hidden; }
.predict-page .predict-head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
}
.predict-page .predict-head h1 {
  margin: 0;
  color: #3d2466;
  font-size: 17px;
  font-weight: 750;
  text-align: center;
}
.predict-body {
  flex: 1;
  min-height: 0;
  padding: 12px 16px 8px;
  overflow-y: auto;
}
.predict-hero {
  margin: 0;
  background: #fff;
  box-shadow: 0 10px 24px rgba(120, 70, 180, .06);
}
.predict-page .predict-hero img {
  height: auto;
  object-fit: contain;
  object-position: center;
}
.predict-foot {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding-inline: 16px;
}
.predict-page .predict-buy {
  width: 100%;
}
.predict-page .predict-note,
footer.predict-foot p {
  display: block;
  margin: 0 4px 2px;
  color: #9a7ab8;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.svip-page {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  color: #3d2466;
  background:
    radial-gradient(ellipse 88% 48% at 50% 12%, rgba(255, 255, 255, .92) 0%, transparent 58%),
    radial-gradient(ellipse 90% 62% at 50% 32%, #ffd4e8 0%, transparent 62%),
    linear-gradient(180deg, #fff7fb 0%, #ffe4f2 24%, #efd2ff 58%, #d8ccff 100%);
}
.svip-head {
  position: relative;
  flex: 0 0 auto;
  min-height: 52px;
  padding: calc(8px + env(safe-area-inset-top)) 8px 8px;
  display: flex;
  align-items: center;
  background: rgba(255, 247, 251, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.svip-tabs {
  position: absolute;
  left: 50%;
  top: calc(8px + env(safe-area-inset-top) + 18px);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  transform: translate(-50%, -50%);
}
.svip-tabs button {
  padding: 6px 2px 8px;
  position: relative;
  border: 0;
  color: #b4b4b8;
  background: transparent;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: .04em;
}
.svip-tabs button.is-on { color: #c084fc; }
.svip-tabs button.is-on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 22px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: #c084fc;
}
.svip-back {
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #3d2466;
  background: transparent;
}
.svip-back svg { width: 22px; height: 22px; }
.svip-viewport {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.svip-track {
  display: flex;
  width: 200%;
  height: 100%;
  transform: translateX(0);
  transition: transform .38s cubic-bezier(.22, .61, .36, 1);
}
.svip-page.is-vip .svip-track { transform: translateX(-50%); }
.svip-pane {
  width: 50%;
  height: 100%;
  padding: 8px 20px 28px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.svip-hero,
.svip-cover,
.svip-block,
.svip-gifts {
  width: min(430px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.svip-compare {
  width: min(520px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.svip-hero {
  padding: 28px 0 18px;
  text-align: center;
}
.svip-word {
  margin: 0;
  font-size: clamp(64px, 20vw, 92px);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .9;
  background: linear-gradient(135deg, #c084fc 0%, #f472b6 48%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.svip-tagline {
  margin: 18px 0 0;
  color: #4a2d73;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: .08em;
}
.svip-tagline-sub {
  margin: 8px 0 0;
  color: #7a6494;
  font-size: 15px;
}
.svip-map {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  align-items: center;
  gap: 8px;
}
.svip-col { display: grid; gap: 8px; }
.svip-chip {
  min-height: 44px;
  padding: 10px 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 8px 20px rgba(120, 70, 180, .08);
  color: #3d2466;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
}
.svip-chip small {
  display: block;
  margin-top: 2px;
  color: #c4a090;
  font-size: 11px;
  font-weight: 650;
}
.svip-arrow { display: grid; place-items: center; }
.svip-arrow svg { width: 36px; height: 132px; }
.svip-page.is-svip .svip-arrow svg { width: 32px; height: 210px; }
.svip-page.is-vip .svip-arrow svg { width: 32px; height: 176px; }
.svip-cover {
  padding: 36px 6px 18px;
  text-align: center;
}
.svip-cover h2,
.svip-block h2,
.svip-compare h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 780;
}
.svip-accent {
  margin: 14px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  background: linear-gradient(90deg, #c084fc, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.svip-muted {
  margin: 18px 0 0;
  color: #8a7a9a;
  font-size: 14px;
  line-height: 1.75;
}
.svip-triad {
  margin: 28px 0 0;
  display: flex;
  justify-content: space-around;
  color: #c084fc;
  font-size: 36px;
  font-weight: 800;
}
.svip-close {
  margin: 22px 0 0;
  color: #4a2d73;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.6;
}
.svip-block {
  margin-top: 16px;
  padding: 20px 16px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 24px rgba(120, 70, 180, .06);
}
.svip-block p,
.svip-camp-lead {
  margin: 8px 0 0;
  color: #6e5488;
  font-size: 14px;
  line-height: 1.65;
}
.svip-gifts {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.svip-gift {
  min-height: 108px;
  padding: 16px 8px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 24px rgba(120, 70, 180, .06);
  text-align: center;
}
.svip-gift strong { font-size: 13px; font-weight: 750; line-height: 1.4; }
.svip-photo {
  margin: 16px 0 0;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(248, 232, 255, .95), rgba(255, 232, 244, .95));
}
.svip-photo img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
}
.svip-photo-tall img { height: 220px; }
.svip-photo-course img { height: 210px; object-position: left 58%; }
.svip-photo-correct img { height: 220px; object-position: center 22%; }
.svip-photo-answers img { object-position: 30% 40%; }
.svip-photo-predict img { height: 188px; object-position: 16% 46%; }
.svip-photo-heat img { height: 220px; object-position: center 16%; }
.svip-block .svip-photo-note {
  margin: 10px 0 0;
  color: #8a7a9a;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.svip-camp-body {
  margin-top: 16px;
}
.svip-camp ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}
.svip-camp li {
  padding: 10px 12px 10px 36px;
  position: relative;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(80, 50, 160, .04);
  color: #3d2466;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}
.svip-camp li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #c4b0ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.4 2.4L12 5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.svip-camp-art {
  position: relative;
  min-height: 92px;
}
.svip-camp-art span {
  position: absolute;
  right: 8px;
  border-radius: 8px;
  background: #efe8ff;
}
.svip-camp-art span:first-child {
  top: 8px;
  width: 72px;
  height: 18px;
}
.svip-camp-art span:nth-child(2) {
  top: 34px;
  width: 56px;
  height: 14px;
  background: #f6f2ff;
}
.svip-camp-art svg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 96px;
  height: 74px;
}
.svip-camp-note {
  margin: 18px 0 4px;
  color: #b07adf;
  font-size: 13px;
  text-align: center;
}
.svip-compare { margin: 28px auto 8px; text-align: center; }
.svip-compare table {
  width: 100%;
  margin: 22px auto 0;
  table-layout: fixed;
  border-collapse: collapse;
  overflow: visible;
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
}
.svip-compare th,
.svip-compare td {
  padding: 13px 4px;
  border-bottom: 1px solid rgba(80, 50, 160, .06);
  text-align: center;
  vertical-align: middle;
  font-size: 12px;
  font-weight: 650;
}
.svip-compare th:first-child,
.svip-compare td:first-child {
  width: 32%;
  padding-inline: 6px;
  font-weight: 600;
}
.svip-compare th { color: #8a7a9a; font-weight: 700; }
.svip-compare .col-svip,
.svip-compare .col-vip { position: relative; z-index: 0; }
.svip-page.is-svip .col-svip {
  z-index: 1;
  background: rgba(212, 196, 255, .4);
  box-shadow: 0 10px 22px rgba(120, 70, 180, .1);
}
.svip-page.is-svip th.col-svip {
  padding-top: 18px;
  border-radius: 14px 14px 0 0;
  color: #6b3d9a;
  font-size: 15px;
}
.svip-page.is-svip tbody tr:last-child .col-svip { border-radius: 0 0 14px 14px; }
.svip-page.is-vip .col-vip {
  z-index: 1;
  background: rgba(255, 226, 200, .78);
  box-shadow: 0 10px 22px rgba(200, 130, 90, .12);
}
.svip-page.is-vip th.col-vip {
  padding-top: 18px;
  border-radius: 14px 14px 0 0;
  color: #3a2a20;
  font-size: 15px;
}
.svip-page.is-vip tbody tr:last-child .col-vip { border-radius: 0 0 14px 14px; }
.svip-compare tr:last-child td { border-bottom: 0; }
.svip-yes { color: #8b5cf6; font-size: 18px; font-weight: 800; }
.svip-no { color: #c4b8d0; font-size: 16px; }
.svip-compare small {
  display: block;
  margin-top: 2px;
  color: #b07adf;
  font-size: 11px;
  font-weight: 650;
}
.svip-compare .col-vip small { color: #d4a078; }
.svip-foot {
  flex: 0 0 auto;
  padding: 10px 20px calc(14px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  background: rgba(255, 247, 251, .78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.svip-buy {
  width: min(280px, 100%);
  height: 50px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #c084fc 0%, #e879c7 52%, #f9a8d4 100%);
  box-shadow: 0 8px 20px rgba(200, 120, 220, .28);
  font-size: 16px;
  font-weight: 750;
}
.svip-page.is-vip {
  color: #2a2420;
  background:
    radial-gradient(ellipse 88% 48% at 50% 12%, rgba(255, 255, 255, .88) 0%, transparent 58%),
    radial-gradient(ellipse 90% 62% at 50% 36%, #ffe4d4 0%, transparent 62%),
    linear-gradient(180deg, #fff9f0 0%, #ffe8dc 28%, #ffd6c8 68%, #ffcfc4 100%);
}
.svip-page.is-vip .svip-head,
.svip-page.is-vip .svip-foot { background: rgba(255, 248, 238, .78); }
.svip-page.is-vip .svip-back { color: #2a2420; }
.svip-page.is-vip .svip-tabs button.is-on { color: #2a2420; }
.svip-page.is-vip .svip-tabs button.is-on::after { background: #2a2420; }
.svip-page.is-vip .svip-word {
  background: linear-gradient(135deg, #e8b090 0%, #f0c4a8 46%, #ffb8a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.svip-page.is-vip .svip-tagline,
.svip-page.is-vip .svip-cover h2,
.svip-page.is-vip .svip-block h2,
.svip-page.is-vip .svip-compare h2,
.svip-page.is-vip .svip-close { color: #2a2420; }
.svip-page.is-vip .svip-tagline-sub,
.svip-page.is-vip .svip-muted,
.svip-page.is-vip .svip-block p { color: #8a7a72; }
.svip-page.is-vip .svip-accent {
  background: linear-gradient(90deg, #d4a078, #e89080);
  -webkit-background-clip: text;
  background-clip: text;
}
.svip-page.is-vip .svip-chip,
.svip-page.is-vip .svip-block,
.svip-page.is-vip .svip-gift {
  box-shadow: 0 10px 24px rgba(180, 110, 80, .08);
}
.svip-page.is-vip .svip-photo {
  background: linear-gradient(160deg, rgba(255, 240, 228, .95), rgba(255, 220, 208, .95));
  color: #c4a090;
}
.svip-page.is-vip .svip-camp-note { color: #d4a078; }
.svip-page.is-vip .svip-camp li {
  color: #2a2420;
  box-shadow: 0 1px 0 rgba(180, 110, 80, .06);
}
.svip-page.is-vip .svip-camp li::before {
  background: #f0c4a4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.4 2.4L12 5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.svip-page.is-vip .svip-buy {
  color: #3a2a20;
  background: linear-gradient(90deg, #ffe2c4 0%, #ffd0b0 50%, #ffc2b0 100%);
  box-shadow: 0 8px 20px rgba(220, 150, 120, .22);
}
.svip-page.is-pay .svip-foot { visibility: hidden; }
.pay-sheet {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.pay-sheet-mask {
  flex: 1 1 auto;
  min-height: 0;
  border: 0;
  background: rgba(40, 20, 55, .16);
}
.pay-card {
  position: relative;
  flex: 0 0 auto;
  padding: 4px 16px calc(14px + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
  background: #fff;
  box-shadow: 0 -12px 36px rgba(40, 20, 55, .1);
}
.pay-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -32px;
  height: 54px;
  border-radius: 22px 22px 0 0;
  background: #fff;
}
.pay-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
  margin: -18px 0 12px;
}
.pay-tabs button {
  min-width: 92px;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px 12px 0 0;
  color: #b4b4b8;
  background: transparent;
  font-size: 15px;
  font-weight: 750;
}
.pay-tabs button.is-on {
  color: #c084fc;
  background: #fff;
}
.svip-page.is-vip .pay-tabs button.is-on {
  color: #d4a078;
  background: #fff6e4;
}
.pay-lead {
  margin: 0 0 14px;
  text-align: center;
  color: #6b5a78;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}
.svip-page.is-vip .pay-lead { color: #6a5a50; }
.pay-plans {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
  margin-bottom: 16px;
}
.svip-page.is-vip .pay-plans { grid-template-columns: 1fr 1fr; }
.pay-sku {
  position: relative;
  min-height: 154px;
  padding: 26px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #f0e6ee;
  border-radius: 14px;
  color: inherit;
  background: #faf8fb;
  text-align: center;
}
.pay-sku.is-on {
  border-color: #c084fc;
  background: #fff;
  box-shadow: 0 0 0 1px #c084fc;
}
.svip-page.is-vip .pay-sku {
  background: #fffaf4;
  border-color: #f3e6d8;
}
.svip-page.is-vip .pay-sku.is-on {
  border-color: #f0c48a;
  box-shadow: 0 0 0 1px #f0c48a;
}
.pay-sku:has(.pay-sku-title) {
  display: grid;
  grid-template-rows: minmax(2.8em, auto) auto auto auto auto;
  justify-items: center;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}
.pay-sku:has(.pay-badges) { padding-top: 28px; }
.pay-badges {
  position: absolute;
  top: -9px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 4px;
  transform: translateX(-50%);
  z-index: 1;
}
.pay-badge {
  padding: 2px 7px;
  border-radius: 999px;
  color: #8a6a20;
  background: #ffe9a8;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}
.pay-sku-title {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  min-height: 0;
  color: #4a3a58;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  word-break: keep-all;
}
.pay-sku[data-pay-sku="svip-365"] .pay-sku-title {
  font-size: 11px;
}
.pay-days,
.pay-price,
.pay-old,
.pay-tag {
  width: 100%;
  text-align: center;
}
.svip-page.is-vip .pay-sku-title { color: #4a382c; }
.pay-days {
  color: #6a6a70;
  font-size: 13px;
  font-weight: 650;
}
.pay-sku:not(:has(.pay-sku-title)) .pay-days {
  margin-top: 8px;
  font-size: 14px;
}
.pay-price {
  margin-top: 2px;
  font-size: clamp(16px, 4.6vw, 22px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.15;
}
.pay-old {
  color: #c8c4c8;
  font-size: 12px;
  text-decoration: line-through;
}
.pay-tag {
  margin-top: 6px;
  color: #c084fc;
  font-size: 11px;
  font-weight: 650;
}
.svip-page.is-vip .pay-tag { color: #d4a078; }
@media (max-width: 680px) {
  .pay-sku:has(.pay-sku-title) {
    grid-template-rows: 4.2em auto auto auto auto;
  }
  .pay-sku[data-pay-sku="svip-365"] .pay-sku-title {
    min-height: 4.2em;
  }
}
@media (min-width: 681px) {
  .pay-plans {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }
  .pay-sku:has(.pay-sku-title) {
    grid-template-rows: 2.2em auto auto auto auto;
    min-height: 188px;
  }
  .pay-sku[data-pay-sku="svip-365"] .pay-sku-title {
    white-space: nowrap;
    font-size: 12px;
  }
}
.pay-buy {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #c084fc 0%, #e879c7 52%, #f9a8d4 100%);
  box-shadow: 0 8px 20px rgba(200, 120, 220, .28);
  font-size: 16px;
  font-weight: 750;
}
.svip-page.is-vip .pay-buy {
  color: #3a2a20;
  background: linear-gradient(90deg, #ffe2c4 0%, #ffd0b0 50%, #ffc2b0 100%);
  box-shadow: 0 8px 20px rgba(220, 150, 120, .22);
}
.pay-legal {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 0;
  color: #b0a8b4;
  background: transparent;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}
.pay-legal span { text-decoration: underline; text-underline-offset: 2px; }
.svip-page.is-vip .pay-legal { color: #c4b4a8; }
.pay-legal-dialog { width: min(560px, calc(100vw - 24px)); }
.pay-legal-card {
  padding: 28px 24px 24px;
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.pay-legal-card h2 {
  margin: 4px 36px 8px 0;
  font-size: 22px;
  line-height: 1.3;
}
.pay-legal-card .pay-legal-updated {
  margin: 0 0 14px;
  color: #9a9a9a;
  font-size: 12px;
}
.pay-legal-card h3 {
  margin: 20px 0 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
}
.pay-legal-card h4 {
  margin: 12px 0 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}
.dialog-card.pay-legal-card > p,
.pay-legal-card p {
  margin: 0 0 10px;
  color: #3a3438;
  font-size: 13px;
  line-height: 1.75;
}
.promo-dialog {
  width: min(520px, calc(100% - 24px));
  max-height: calc(100vh - 16px);
  padding: 0;
  background: transparent;
}
.promo-dialog::backdrop { background: rgba(26, 26, 26, .42); backdrop-filter: blur(10px); }
.promo-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(80, 40, 90, .16);
}
.promo-course-card {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 16px);
}
.promo-art,
.promo-art-wrap img {
  display: block;
  width: 100%;
  height: auto;
}
.promo-art-wrap {
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 0;
}
.promo-course-card .promo-art-wrap img {
  height: 100%;
  max-height: calc(100vh - 92px);
  object-fit: cover;
  object-position: center 20%;
}
.promo-questions-card .promo-art {
  max-height: calc(100vh - 24px);
  object-fit: contain;
}
.promo-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #2a2420;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .14);
  font-size: 22px;
  line-height: 1;
}
.promo-signup {
  display: block;
  flex: 0 0 auto;
  width: calc(100% - 32px);
  height: 48px;
  margin: 10px 16px 16px;
  border: 0;
  border-radius: 999px;
  color: #2a2420;
  background: #FDD0DB;
  font-size: 16px;
  font-weight: 750;
}
.promo-signup:hover { filter: brightness(.97); }
@media (max-width: 640px) {
  .promo-dialog { width: min(100% - 20px, 420px); }
}

.pay-contact-dialog { width: min(640px, calc(100% - 20px)); }
.pay-contact-card { padding: 24px 18px 20px; }
.pay-contact-card h2 { font-size: 22px; }
.pay-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}
.pay-contact-grid section {
  padding: 12px 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  text-align: center;
}
.pay-contact-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}
.pay-contact-grid img {
  width: 100%;
  max-width: 220px;
  margin: 10px auto 0;
  display: block;
  border-radius: 12px;
  background: #fff;
}
.pay-contact-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.wechat-guide {
  position: fixed;
  inset: 0;
  z-index: 200;
  padding: calc(12px + env(safe-area-inset-top)) 20px 28px;
  background: rgba(26, 20, 24, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
html.is-wechat,
html.is-wechat body { overflow: hidden; }
.wechat-guide-arrow {
  position: absolute;
  top: calc(6px + env(safe-area-inset-top));
  right: 10px;
  width: 56px;
  height: 80px;
}
.wechat-guide-arrow svg { width: 100%; height: 100%; }
.wechat-guide-card {
  width: min(360px, 100%);
  margin: 110px auto 0;
  padding: 28px 22px 24px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .12);
  text-align: center;
}
.wechat-guide-card h2 {
  margin: 0 0 10px;
  color: #2b2420;
  font-size: 24px;
  letter-spacing: -.04em;
}
.wechat-guide-card p {
  margin: 0;
  color: #7a7068;
  font-size: 15px;
  line-height: 1.65;
}
.wechat-guide-card strong { color: #2b2420; }

@media (max-width: 930px) {
  .topbar { height: auto; min-height: 72px; padding-block: 11px; grid-template-columns: 1fr auto; row-gap: 8px; }
  .brand { grid-column: 1; grid-row: 1; }
  .top-actions { grid-column: 2; grid-row: 1; }
  .top-report { grid-column: auto; grid-row: auto; }
  .nav-tabs { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .nav-tabs button { flex: 1; }
  .control-deck { grid-template-columns: 1fr 160px; }
  .segment-control { grid-column: 1 / -1; }
  .segment-control button { flex: 1; }
  .library-grid { grid-template-columns: 1fr; }
  .question-list { height: 400px; }
  .question-detail { min-height: auto; }
  .ranking-grid { grid-template-columns: 1fr; }
  .ranking-row { grid-template-columns: 34px minmax(160px,1fr) minmax(90px,.6fr) 72px; }
  .heat-label { display: none; }
}

@media (max-width: 680px) {
  .topbar { width: calc(100% - 24px); height: auto; margin-top: 10px; border-radius: 20px; }
  .brand small { display: none; }
  .top-report { padding: 0 12px; }
  main { width: calc(100% - 24px); margin-top: 22px; }
  .service-banner { align-items: flex-start; flex-wrap: wrap; }
  .view { padding: 20px 14px; border-radius: 25px; }
  .view.mine-view { padding: 16px 12px 22px; }
  .view-heading, .heat-intro { flex-direction: column; }
  h1 { font-size: 37px; }
  .summary-pills { width: 100%; }
  .summary-pills span { flex: 1; }
  .control-deck { grid-template-columns: 1fr; }
  .segment-control { grid-column: auto; overflow-x: auto; }
  .segment-control button { min-width: 70px; }
  .question-detail { padding: 20px 15px; }
  .detail-top { flex-direction: column; }
  .detail-source { max-width: none; text-align: left; }
  .answer-panel { padding: 17px 13px; }
  .answer-panel-head, .answer-toolbar { align-items: flex-start; flex-direction: column; }
  .answer-insights { grid-template-columns: 1fr; }
  .answer-copy > p { font-size: 13px; }
  .heat-intro { min-height: 290px; padding: 23px; align-items: flex-start; }
  .heat-filters { grid-template-columns: 1fr; }
  .ranking-panel { padding: 20px 12px; }
  .ranking-row { grid-template-columns: 31px 1fr 62px; gap: 8px; }
  .heat-meter, .heat-label { display: none; }
  footer { width: calc(100% - 24px); grid-template-columns: 1fr auto; }
  footer p { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .topic-card { grid-template-columns: 31px minmax(0,1fr) auto; }
  .svip-pane { padding-inline: 14px; }
  .svip-chip { font-size: 12px; }
  .svip-camp-body { grid-template-columns: 1fr; }
  .svip-camp-art { min-height: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
