:root {
  --ink: #0b1714;
  --ink-soft: #41504b;
  --paper: #f3f0e8;
  --paper-light: #faf8f2;
  --acid: #d7ff54;
  --white: #fffefa;
  --line: rgba(11, 23, 20, 0.15);
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color-scheme: light;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.choice-page {
  min-height: 100vh;
  min-height: 100svh;
  padding: 34px;
  display: grid;
  place-items: center;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(11, 23, 20, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 23, 20, 0.075) 1px, transparent 1px);
  background-size: 72px 72px;
}

.choice-panel {
  width: min(920px, 100%);
  padding: clamp(40px, 7vw, 76px);
  position: relative;
  border: 1px solid var(--ink);
  background: rgba(243, 240, 232, 0.96);
  box-shadow: 15px 15px 0 var(--ink);
}

.choice-panel::before {
  content: "";
  width: 38px;
  height: 7px;
  position: absolute;
  top: -1px;
  right: 46px;
  background: var(--acid);
  border-right: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.market-promo {
  margin: 0 0 30px;
  padding: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.market-promo-label {
  flex: 0 0 auto;
  padding: 8px 10px 7px;
  border: 1px solid var(--ink);
  background: var(--acid);
  font: 800 10px/1 Arial, sans-serif;
  letter-spacing: 0.14em;
}

.market-promo p {
  margin: 0;
  display: grid;
  gap: 5px;
}

.market-promo strong {
  font-size: clamp(20px, 3vw, 29px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.market-promo small {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.4;
}

.choice-kicker {
  margin: 0 0 13px;
  font: 750 11px/1 Arial, sans-serif;
  letter-spacing: 0.23em;
}

.choice-panel h1 {
  margin: 0 0 46px;
  font-size: clamp(52px, 9vw, 86px);
  line-height: 0.94;
  font-weight: 780;
  letter-spacing: -0.075em;
}

.choice-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.platform-button {
  min-height: 168px;
  padding: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border: 1px solid var(--ink);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 820;
  letter-spacing: -0.055em;
  text-decoration: none;
  transition: transform 170ms ease, box-shadow 170ms ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.binance-button { background: var(--ink); color: var(--white); }
.okx-button { background: var(--acid); color: var(--ink); }

.button-arrow {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0;
  transition: transform 170ms ease;
}

a.platform-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 0 rgba(11, 23, 20, 0.23);
}

a.platform-button:hover .button-arrow { transform: translate(3px, -3px); }
a.platform-button:active { transform: translateY(-1px); box-shadow: 0 3px 0 rgba(11, 23, 20, 0.2); }

a.platform-button:focus-visible {
  outline: 3px solid #5277ff;
  outline-offset: 4px;
}

.platform-button-copy {
  display: grid;
  gap: 12px;
  align-self: flex-end;
}

.platform-button-copy small {
  width: max-content;
  padding: 7px 9px 6px;
  border: 1px solid currentColor;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
}

.binance-button .platform-button-copy small {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.okx-button .platform-button-copy small {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.disabled .platform-button-copy small {
  border-color: currentColor;
  background: transparent;
  color: inherit;
  opacity: 0.6;
}

.disabled { opacity: 0.58; }

.platform-notes {
  margin-top: 29px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.platform-notes p {
  margin: 7px 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.platform-notes strong { color: var(--ink); }

.announcement-entry {
  margin-top: 18px;
  min-height: 62px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.announcement-entry > span { display: grid; gap: 5px; }

.announcement-entry small {
  font: 750 8px/1 Arial, sans-serif;
  letter-spacing: 0.16em;
}

.announcement-entry strong { font-size: 13px; letter-spacing: -0.015em; }

.announcement-entry b {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--acid);
  font: 700 16px/1 Arial, sans-serif;
}

.announcement-entry:hover {
  background: var(--acid);
  box-shadow: 0 4px 0 rgba(11, 23, 20, 0.2);
  transform: translateY(-2px);
}

.announcement-entry:focus-visible { outline: 3px solid #5277ff; outline-offset: 3px; }

.seo-page {
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(24px, 5vw, 64px);
  display: grid;
  place-items: center;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(11, 23, 20, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 23, 20, 0.075) 1px, transparent 1px);
  background-size: 72px 72px;
}

.seo-panel {
  width: min(1040px, 100%);
  padding: clamp(34px, 7vw, 78px);
  border: 1px solid var(--ink);
  background: rgba(243, 240, 232, 0.97);
  box-shadow: 15px 15px 0 var(--ink);
}

.seo-header { max-width: 820px; }

.seo-header-line {
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.seo-header-line .choice-kicker { margin: 0; }

.seo-header-line > span {
  padding: 7px 9px;
  border: 1px solid var(--ink);
  background: var(--acid);
  font: 750 9px/1 Arial, sans-serif;
  letter-spacing: 0.12em;
}

.seo-header h1 {
  margin: 0 0 26px;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.seo-summary {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.85;
}

.announcement-overview {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.announcement-overview > div {
  min-width: 0;
  padding: 18px 20px;
  display: grid;
  gap: 13px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-light);
}

.announcement-overview span {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.announcement-overview strong {
  font: 800 31px/1 Arial, sans-serif;
  letter-spacing: -0.045em;
}

.announcement-overview strong small {
  margin-left: 4px;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0;
}

.announcement-overview .overview-date { font-size: 18px; letter-spacing: -0.02em; }

.announcement-board {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.announcement-stream {
  min-width: 0;
  border: 1px solid var(--ink);
  overflow: hidden;
}

.binance-stream { background: var(--ink); color: var(--white); }
.okx-stream { background: var(--acid); color: var(--ink); }

.announcement-stream-header { padding: 24px; border-bottom: 1px solid currentColor; }

.announcement-stream-header > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.announcement-stream-header > div > span {
  font: 750 10px/1 Arial, sans-serif;
  letter-spacing: 0.16em;
}

.announcement-stream-header > div p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
}

.announcement-stream-header i {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: currentColor;
}

.announcement-stream-header h2 {
  margin: 56px 0 17px;
  display: grid;
  gap: 5px;
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.announcement-stream-header h2 small {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.announcement-stream-header > a {
  font-size: 11px;
  font-weight: 750;
  text-underline-offset: 4px;
}

.announcement-list { margin: 0; padding: 0; list-style: none; }
.announcement-list li + li { border-top: 1px solid currentColor; }

.announcement-list a {
  min-height: 112px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 20px;
  align-items: start;
  gap: 13px;
  color: inherit;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}

.binance-stream .announcement-list a:hover { background: var(--acid); color: var(--ink); }
.okx-stream .announcement-list a:hover { background: var(--paper-light); }

.announcement-index,
.announcement-arrow {
  padding-top: 3px;
  font: 750 10px/1 Arial, sans-serif;
}

.announcement-copy { min-width: 0; display: grid; gap: 9px; }

.announcement-copy time {
  font: 700 9px/1 Arial, sans-serif;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.announcement-copy strong {
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.announcement-arrow { justify-self: end; font-size: 16px; }

.announcement-empty { min-height: 180px; padding: 28px 24px; }
.announcement-empty strong { font-size: 18px; }
.announcement-empty p { margin: 10px 0 0; font-size: 12px; line-height: 1.65; opacity: 0.7; }

.seo-platform-info { margin-top: 18px; }

.seo-platforms {
  margin-top: 46px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.seo-platforms section {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-light);
}

.seo-platforms section:last-child { background: rgba(215, 255, 84, 0.36); }

.seo-platforms span {
  font: 750 10px/1 Arial, sans-serif;
  letter-spacing: 0.17em;
}

.seo-platforms h2 {
  margin: 42px 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.05em;
}

.seo-platforms p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.seo-footer {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.seo-footer p { margin: 0; color: var(--ink-soft); font-size: 12px; }

.seo-footer-actions { display: flex; gap: 9px; }

.seo-footer a {
  flex: 0 0 auto;
  padding: 13px 17px;
  border: 1px solid var(--ink);
  background: var(--acid);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.archive-page {
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(24px, 5vw, 64px);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(11, 23, 20, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 23, 20, 0.075) 1px, transparent 1px);
  background-size: 72px 72px;
}

.archive-panel {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 68px);
  border: 1px solid var(--ink);
  background: rgba(243, 240, 232, 0.98);
  box-shadow: 15px 15px 0 var(--ink);
}

.archive-header { max-width: 800px; }

.archive-header h1 {
  margin: 0 0 20px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.archive-header > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.archive-stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.archive-stats div {
  padding: 18px 20px;
  display: grid;
  gap: 12px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-light);
}

.archive-stats span { color: var(--ink-soft); font-size: 10px; font-weight: 750; letter-spacing: 0.1em; }
.archive-stats strong { font: 800 30px/1 Arial, sans-serif; }
.archive-stats small { margin-left: 4px; font-size: 10px; }

.archive-month-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.archive-month-card {
  min-height: 176px;
  padding: 20px;
  position: relative;
  display: grid;
  align-content: space-between;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.archive-month-card:nth-child(2n) { background: rgba(215, 255, 84, 0.35); }
.archive-month-card:hover { background: var(--acid); transform: translateY(-3px); box-shadow: 0 5px 0 rgba(11, 23, 20, 0.2); }
.archive-month-card > span { font: 750 9px/1 Arial, sans-serif; letter-spacing: 0.13em; }
.archive-month-card strong { font-size: 25px; letter-spacing: -0.045em; }
.archive-month-card p { margin: 0; color: var(--ink-soft); font-size: 11px; }
.archive-month-card p b { color: var(--ink); font-size: 14px; }
.archive-month-card i { position: absolute; top: 18px; right: 18px; font: normal 700 18px/1 Arial, sans-serif; }
.archive-empty { grid-column: 1 / -1; padding: 36px; border: 1px solid var(--ink); background: var(--paper-light); }
.archive-empty p { margin: 10px 0 0; color: var(--ink-soft); }

.archive-platform-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.archive-platform { min-width: 0; border: 1px solid var(--ink); background: var(--paper-light); }
.archive-platform > header { padding: 22px; display: grid; grid-template-columns: 1fr auto; gap: 10px; border-bottom: 1px solid var(--ink); }
.archive-platform > header > span { grid-column: 1 / -1; font: 750 9px/1 Arial, sans-serif; letter-spacing: 0.14em; }
.archive-platform > header h2 { margin: 0; font-size: 27px; letter-spacing: -0.045em; }
.archive-platform > header strong { font: 800 25px/1 Arial, sans-serif; }
.archive-platform > header small { margin-left: 3px; font-size: 9px; }
.binance-archive > header { background: var(--ink); color: var(--white); }
.okx-archive > header { background: var(--acid); }
.archive-platform ol { margin: 0; padding: 0; list-style: none; }
.archive-platform li + li { border-top: 1px solid var(--line); }

.archive-platform li a {
  min-height: 92px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 18px;
  align-items: start;
  gap: 12px;
  text-decoration: none;
}

.archive-platform li a:hover { background: rgba(215, 255, 84, 0.36); }
.archive-platform time { padding-top: 2px; color: var(--ink-soft); font: 700 9px/1.3 Arial, sans-serif; }
.archive-platform li a > span { font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.archive-platform li a > b { justify-self: end; font-size: 14px; }
.archive-platform-empty { margin: 0; padding: 30px 22px; color: var(--ink-soft); font-size: 12px; }

.archive-pagination {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  font-size: 11px;
}

.archive-pagination a { text-underline-offset: 4px; }
.archive-pagination a:last-child { justify-self: end; }

.archive-footer {
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.archive-footer a { text-underline-offset: 4px; }

.wechat-guide {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: max(78px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
  display: grid;
  place-items: start center;
  overflow: auto;
  background: rgba(11, 23, 20, 0.94);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.wechat-guide-arrow {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  right: 22px;
  color: var(--acid);
  font: 500 58px/1 Arial, sans-serif;
  transform: rotate(-8deg);
}

.wechat-guide-card {
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 9px 9px 0 var(--acid);
}

.wechat-guide-top {
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 800 9px/1 Arial, sans-serif;
  letter-spacing: 0.16em;
}

.wechat-guide-top b {
  min-width: 48px;
  padding: 7px 9px;
  border: 1px solid var(--ink);
  background: var(--acid);
  text-align: center;
  letter-spacing: 0.12em;
}

.wechat-guide-kicker {
  margin: 0 0 11px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.wechat-guide h2 {
  margin: 0 0 18px;
  font-size: clamp(38px, 9vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.wechat-guide-copy {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.wechat-guide-steps {
  display: grid;
  grid-template-columns: 38px 1fr;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.wechat-guide-steps > * {
  margin: 0;
  padding: 13px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.wechat-guide-steps span {
  display: grid;
  place-items: center;
  background: var(--acid);
  font: 800 10px/1 Arial, sans-serif;
}

.wechat-guide-steps p { font-size: 13px; line-height: 1.45; }

.admin-page {
  min-height: 100vh;
  min-height: 100svh;
  padding: 28px;
  background: var(--ink);
}

.admin-shell { width: min(1080px, 100%); margin: 0 auto; }

.admin-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
  color: var(--white);
}

.admin-nav a { color: inherit; text-underline-offset: 5px; }

.admin-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-nav-actions form { margin: 0; }

.admin-nav-actions button {
  padding: 7px 10px;
  border: 1px solid rgba(255, 254, 250, 0.5);
  background: transparent;
  color: var(--white);
  font: inherit;
  cursor: pointer;
}

.admin-panel {
  padding: clamp(28px, 5vw, 58px);
  background: var(--paper);
  box-shadow: 13px 13px 0 var(--acid);
}

.eyebrow {
  margin: 0 0 18px;
  font: 700 11px/1.4 Arial, sans-serif;
  letter-spacing: 0.2em;
}

.admin-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.admin-lede {
  max-width: 620px;
  margin: 0 0 38px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.notice {
  margin: 0 0 26px;
  padding: 13px 16px;
  border-left: 4px solid var(--acid);
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}

.notice-error { border-color: #ff6b5f; }
.admin-form { display: grid; gap: 24px; }

.admin-platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.admin-platform-block {
  padding: 24px;
  display: grid;
  gap: 22px;
  border: 1px solid var(--ink);
  background: var(--paper-light);
}

.okx-editor { background: rgba(215, 255, 84, 0.24); }

.admin-platform-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.admin-platform-heading span {
  font: 750 10px/1 Arial, sans-serif;
  letter-spacing: 0.16em;
}

.admin-platform-heading h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.field { display: grid; gap: 9px; }
.field > span { font-size: 13px; font-weight: 750; }

.field input,
.field textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(11, 23, 20, 0.35);
  border-radius: 0;
  outline: none;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.field input { height: 54px; }

.field textarea {
  min-height: 112px;
  line-height: 1.65;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(215, 255, 84, 0.8);
}

.field small { color: var(--ink-soft); }

.admin-button {
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font: 750 15px/1 inherit;
  cursor: pointer;
}

.admin-button:hover { background: #173028; }

.admin-meta {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.seo-settings-panel {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 2px solid var(--ink);
}

.seo-settings-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.seo-settings-heading .eyebrow { margin-bottom: 9px; }

.seo-settings-heading h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.seo-settings-heading a { font-size: 12px; text-underline-offset: 4px; }

.seo-settings-lede {
  margin: 12px 0 24px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.seo-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.security-panel {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 2px solid var(--ink);
}

.security-heading { margin-bottom: 24px; }
.security-heading .eyebrow { margin-bottom: 10px; }

.security-heading h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.password-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 0.9fr);
  gap: 16px;
  align-items: end;
}

.password-button {
  min-height: 54px;
  border: 1px solid var(--ink);
  background: var(--acid);
  color: var(--ink);
  font: 750 14px/1 inherit;
  cursor: pointer;
}

.login-page {
  min-height: 100vh;
  min-height: 100svh;
  padding: 24px;
  display: grid;
  place-items: center;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(215, 255, 84, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215, 255, 84, 0.09) 1px, transparent 1px);
  background-size: 64px 64px;
}

.login-panel {
  width: min(480px, 100%);
  padding: clamp(30px, 6vw, 52px);
  position: relative;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 11px 11px 0 var(--acid);
}

.login-mark {
  margin-bottom: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 800 10px/1 Arial, sans-serif;
  letter-spacing: 0.18em;
}

.login-mark i {
  width: 38px;
  height: 7px;
  display: block;
  border: 1px solid var(--ink);
  background: var(--acid);
}

.login-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(42px, 8vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.login-lede {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.login-form { display: grid; gap: 18px; }

.login-back {
  margin-top: 24px;
  display: inline-block;
  color: var(--ink-soft);
  font-size: 12px;
  text-underline-offset: 4px;
}

@media (max-width: 900px) and (min-width: 681px) {
  .choice-page { padding: 28px; }
  .choice-panel { padding: 52px; }
  .platform-button { min-height: 150px; padding: 24px; }
  .admin-platform-grid { grid-template-columns: 1fr; }
  .seo-settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .choice-page {
    place-items: start center;
    padding: max(14px, env(safe-area-inset-top)) 12px max(18px, env(safe-area-inset-bottom));
    background-size: 46px 46px;
  }

  .choice-panel {
    width: 100%;
    min-height: calc(100svh - 32px);
    padding: 28px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .choice-panel::before { width: 32px; height: 6px; right: 24px; }
  .market-promo {
    margin-bottom: 20px;
    padding-bottom: 16px;
    gap: 11px;
  }

  .market-promo-label {
    padding: 7px 8px 6px;
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .market-promo strong { font-size: 19px; }
  .market-promo small { font-size: 9.5px; }
  .choice-kicker { margin-bottom: 10px; font-size: 9px; letter-spacing: 0.21em; }

  .choice-panel h1 {
    margin-bottom: 25px;
    font-size: clamp(45px, 14vw, 58px);
    line-height: 0.96;
  }

  .choice-buttons { grid-template-columns: 1fr; gap: 10px; }

  .platform-button {
    min-height: 116px;
    padding: 19px 20px;
    font-size: clamp(37px, 11vw, 44px);
  }

  .button-arrow { font-size: 21px; }
  .platform-button-copy { gap: 8px; }
  .platform-button-copy small { padding: 6px 8px 5px; font-size: 9px; }
  .platform-notes { margin-top: 17px; padding-top: 13px; }
  .platform-notes p { margin: 4px 0; font-size: 11.5px; line-height: 1.55; }
  .announcement-entry { margin-top: 14px; min-height: 56px; padding: 10px 12px; }
  .announcement-entry strong { font-size: 12px; }
  .announcement-entry b { width: 30px; height: 30px; }

  .wechat-guide {
    padding-top: max(72px, env(safe-area-inset-top));
  }

  .wechat-guide-arrow { right: 15px; font-size: 52px; }
  .wechat-guide-card { padding: 24px 20px; box-shadow: 7px 7px 0 var(--acid); }
  .wechat-guide-top { margin-bottom: 40px; }
  .wechat-guide h2 { font-size: 43px; }
  .wechat-guide-copy { font-size: 13px; }

  .admin-page { padding: max(14px, env(safe-area-inset-top)) 12px max(18px, env(safe-area-inset-bottom)); }
  .admin-nav { margin: 2px 2px 20px; font-size: 13px; }
  .admin-nav-actions { gap: 8px; }
  .admin-nav-actions button { padding: 6px 8px; font-size: 11px; }
  .admin-panel { padding: 26px 16px 20px; box-shadow: 7px 7px 0 var(--acid); }
  .eyebrow { margin-bottom: 12px; font-size: 9px; }
  .admin-panel h1 { margin-bottom: 10px; font-size: 40px; }
  .admin-lede { margin-bottom: 24px; font-size: 13px; line-height: 1.65; }
  .notice { margin-bottom: 18px; padding: 11px 12px; font-size: 12px; line-height: 1.55; }
  .admin-form { gap: 17px; }
  .admin-platform-grid { grid-template-columns: 1fr; }
  .admin-platform-block { padding: 17px; gap: 17px; }
  .admin-platform-heading { padding-bottom: 13px; }
  .admin-platform-heading h2 { font-size: 24px; }
  .field { gap: 7px; }

  .field input,
  .field textarea { padding: 13px; font-size: 16px; }

  .field input { height: 50px; }
  .field textarea { min-height: 102px; }
  .field small { font-size: 11px; line-height: 1.45; }
  .admin-button { width: 100%; min-height: 54px; padding: 0 14px; font-size: 15px; }
  .admin-meta { margin-top: 20px; padding-top: 16px; font-size: 10px; line-height: 1.55; }
  .seo-page {
    place-items: start center;
    padding: max(14px, env(safe-area-inset-top)) 12px max(20px, env(safe-area-inset-bottom));
    background-size: 46px 46px;
  }
  .seo-panel { padding: 32px 20px 24px; box-shadow: 7px 7px 0 var(--ink); }
  .seo-header-line { align-items: flex-start; }
  .seo-header-line > span { padding: 6px 7px; font-size: 8px; }
  .seo-header h1 { margin-bottom: 19px; font-size: 46px; }
  .seo-summary { font-size: 14px; line-height: 1.75; }
  .announcement-overview { margin-top: 26px; }
  .announcement-overview > div { padding: 13px 10px; gap: 9px; }
  .announcement-overview span { font-size: 8px; letter-spacing: 0.07em; }
  .announcement-overview strong { font-size: 24px; }
  .announcement-overview .overview-date { font-size: 12px; line-height: 1.25; }
  .announcement-board { margin-top: 12px; grid-template-columns: 1fr; gap: 12px; }
  .announcement-stream-header { padding: 20px 18px; }
  .announcement-stream-header h2 { margin-top: 38px; font-size: 34px; }
  .announcement-list a { min-height: 96px; padding: 16px 15px; grid-template-columns: 24px minmax(0, 1fr) 17px; gap: 9px; }
  .announcement-copy strong { font-size: 12px; line-height: 1.55; }
  .seo-platforms { margin-top: 30px; grid-template-columns: 1fr; }
  .seo-platform-info { margin-top: 12px; }
  .seo-platforms section { min-height: auto; padding: 22px 18px; }
  .seo-platforms h2 { margin-top: 28px; font-size: 31px; }
  .seo-footer { align-items: stretch; flex-direction: column; }
  .seo-footer a { text-align: center; }
  .seo-footer-actions { display: grid; grid-template-columns: 1fr; }
  .archive-page { padding: max(14px, env(safe-area-inset-top)) 12px max(20px, env(safe-area-inset-bottom)); background-size: 46px 46px; }
  .archive-panel { padding: 30px 18px 22px; box-shadow: 7px 7px 0 var(--ink); }
  .archive-header h1 { font-size: 44px; }
  .archive-header > p:last-child { font-size: 13px; }
  .archive-stats { margin-top: 26px; }
  .archive-stats div { padding: 13px 10px; gap: 8px; }
  .archive-stats span { font-size: 8px; }
  .archive-stats strong { font-size: 23px; }
  .archive-month-grid { margin-top: 12px; grid-template-columns: 1fr; gap: 10px; }
  .archive-month-card { min-height: 142px; padding: 17px; }
  .archive-platform-grid { margin-top: 28px; grid-template-columns: 1fr; gap: 12px; }
  .archive-platform > header { padding: 18px; }
  .archive-platform li a { min-height: 84px; padding: 14px; grid-template-columns: 68px minmax(0, 1fr) 16px; gap: 9px; }
  .archive-platform li a > span { font-size: 11.5px; }
  .archive-pagination { grid-template-columns: 1fr; text-align: center; }
  .archive-pagination span { display: none; }
  .archive-pagination a:last-child { justify-self: center; }
  .seo-settings-panel { margin-top: 28px; padding-top: 25px; }
  .seo-settings-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .seo-settings-heading h2 { font-size: 24px; }
  .seo-settings-grid { grid-template-columns: 1fr; gap: 14px; }
  .security-panel { margin-top: 28px; padding-top: 25px; }
  .security-heading { margin-bottom: 18px; }
  .security-heading h2 { font-size: 24px; }
  .password-form { grid-template-columns: 1fr; gap: 14px; }
  .password-button { grid-column: auto; min-height: 52px; }

  .login-page {
    padding: max(14px, env(safe-area-inset-top)) 12px max(20px, env(safe-area-inset-bottom));
    background-size: 46px 46px;
  }

  .login-panel { padding: 30px 20px 24px; box-shadow: 7px 7px 0 var(--acid); }
  .login-mark { margin-bottom: 34px; }
  .login-panel h1 { font-size: 44px; }
  .login-lede { margin-bottom: 23px; font-size: 12px; }
  .login-form { gap: 15px; }
}

@media (max-width: 380px), (max-height: 680px) and (max-width: 680px) {
  .choice-page { padding-top: max(9px, env(safe-area-inset-top)); }
  .choice-panel { min-height: auto; padding: 23px 16px 16px; }
  .market-promo { margin-bottom: 15px; padding-bottom: 13px; }
  .market-promo strong { font-size: 17px; }
  .market-promo small { display: none; }
  .choice-panel h1 { margin-bottom: 18px; font-size: 41px; }
  .platform-button { min-height: 98px; padding: 16px; font-size: 35px; }
  .platform-notes { margin-top: 13px; padding-top: 10px; }
  .platform-notes p { font-size: 10.5px; }
  .announcement-entry { margin-top: 11px; min-height: 50px; }
}

@media (orientation: landscape) and (max-height: 560px) {
  .choice-page { place-items: start center; padding: 14px 22px 20px; }
  .choice-panel { padding: 24px 30px; }
  .market-promo { margin-bottom: 12px; padding-bottom: 10px; }
  .market-promo strong { font-size: 17px; }
  .market-promo small { display: none; }
  .choice-kicker { margin-bottom: 7px; }
  .choice-panel h1 { margin-bottom: 20px; font-size: 44px; }
  .choice-buttons { grid-template-columns: 1fr 1fr; }
  .platform-button { min-height: 100px; padding: 17px; font-size: 34px; }
  .platform-notes { margin-top: 14px; padding-top: 10px; }
  .platform-notes p { display: inline; font-size: 10px; }
  .platform-notes p + p::before { content: " · "; }
}

@media (hover: none) {
  a.platform-button:hover { transform: none; box-shadow: none; }
}

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