:root {
  --bg: #f6f4f0;
  --surface: #fffdfa;
  --surface-strong: #ffffff;
  --surface-soft: #f1efeb;
  --text: #161a22;
  --muted: #737b89;
  --line: rgba(39, 45, 56, 0.11);
  --brand: #327cff;
  --brand-soft: #eaf2ff;
  --green: #1bb878;
  --orange: #ff8a35;
  --shadow: 0 16px 45px rgba(45, 49, 57, 0.08);
  --shadow-hover: 0 22px 56px rgba(40, 47, 60, 0.14);
  --radius: 16px;
}

:root[data-theme="dark"] {
  --bg: #111318;
  --surface: #181b22;
  --surface-strong: #1d2028;
  --surface-soft: #222630;
  --text: #f3f5f8;
  --muted: #9ca4b2;
  --line: rgba(255, 255, 255, 0.1);
  --brand: #6ba2ff;
  --brand-soft: rgba(63, 126, 232, 0.17);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.36);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 217, 157, .16), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.55;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.wrap { width: min(1140px, calc(100% - 32px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 58px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.2);
}
.header-inner { min-height: 58px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(145deg, #172033, #3b73ff);
  color: #fff;
  box-shadow: 0 7px 20px rgba(31, 60, 117, .2);
  font-weight: 900;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-mark.has-logo::before, .brand-mark.has-logo::after, .brand-mark.has-logo > span::after { display: none; }
.brand-copy strong { display: block; font-size: 16px; line-height: 1.2; letter-spacing: -.02em; }
.brand-copy small { display: block; max-width: 145px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.nav-link, .drawer-link {
  border: 1px solid transparent;
  background: transparent;
  padding: 8px 11px;
  border-radius: 10px;
  cursor: pointer;
  color: #4f5664;
  white-space: nowrap;
  transition: .18s ease;
}
:root[data-theme="dark"] .nav-link { color: var(--muted); }
.nav-link:hover, .nav-link.active { border-color: var(--line); background: var(--surface-strong); color: var(--text); box-shadow: 0 4px 14px rgba(30, 38, 52, .05); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.social-links, .drawer-social-links { display: flex; align-items: center; gap: 6px; }
.social-link {
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(26, 35, 50, .12);
  transition: transform .17s ease, box-shadow .17s ease;
}
.social-link:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 8px 20px rgba(26, 35, 50, .18); }
.social-link img { width: 100%; height: 100%; display: block; }
.drawer-social-links { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.header-search {
  width: 184px;
  height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-strong);
  color: var(--muted);
}
.header-search > span { color: #687080; font-size: 19px; transform: rotate(-15deg); }
.header-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13px; }
.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  border-radius: 11px;
  cursor: pointer;
  font-size: 17px;
  box-shadow: 0 4px 14px rgba(35, 40, 50, .04);
}
.mobile-only, .mobile-search-toggle, .mobile-search-row { display: none; }
.mobile-drawer, .drawer-backdrop { display: none; }

.showcase { padding-block: 20px 72px; }
.feature-card {
  position: relative;
  min-height: 454px;
  overflow: hidden;
  border-radius: 24px;
  background: #07111e;
  color: #fff;
  box-shadow: 0 24px 68px rgba(11, 22, 39, .19);
  isolation: isolate;
}
.feature-cover {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 77% 42%, rgba(61, 215, 255, .5), transparent 13%),
    radial-gradient(circle at 73% 43%, rgba(255, 149, 50, .55), transparent 26%),
    linear-gradient(120deg, #06101d 0%, #09283a 52%, #142039 100%);
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  transition: background-image .3s ease, transform 7s ease;
}
.feature-card:hover .feature-cover { transform: scale(1.04); }
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(3, 9, 16, .92) 0%, rgba(5, 13, 22, .72) 42%, rgba(5, 12, 22, .18) 74%);
}
.feature-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  right: 12%;
  top: 50%;
  border: 2px solid rgba(89, 222, 255, .24);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(39, 177, 255, .22), inset 0 0 50px rgba(255, 137, 45, .12);
  transform: translateY(-50%);
}
.feature-grid { position: absolute; z-index: -1; inset: 0; opacity: .14; background-image: linear-gradient(rgba(97,192,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(97,192,255,.35) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg, transparent 28%, #000); }
.feature-body { width: min(590px, 62%); padding: 74px 0 82px 58px; }
.feature-label { display: inline-flex; padding: 7px 11px; border: 1px solid rgba(89, 219, 255, .28); border-radius: 8px; background: rgba(24, 148, 190, .12); color: #78e2ff; font-size: 11px; font-weight: 800; letter-spacing: .08em; backdrop-filter: blur(8px); }
.feature-card h2 { margin: 20px 0 12px; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.feature-card p { max-width: 540px; margin: 0; color: rgba(255,255,255,.73); font-size: 16px; }
.feature-meta { min-height: 28px; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.feature-meta span { padding: 5px 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.82); font-size: 11px; }
.feature-button { margin-top: 24px; padding: 11px 18px; border: 0; border-radius: 10px; background: linear-gradient(135deg, #ffb43d, #ff7b35); color: #1b1007; cursor: pointer; box-shadow: 0 10px 30px rgba(255, 139, 49, .25); font-weight: 850; }
.banner-arrow { position: absolute; z-index: 3; top: 50%; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: rgba(6, 14, 23, .38); color: #fff; opacity: 0; cursor: pointer; backdrop-filter: blur(8px); transform: translateY(-50%); transition: .2s; font-size: 27px; }
.feature-card:hover .banner-arrow, .banner-arrow:focus-visible { opacity: 1; }
.banner-arrow.prev { left: 14px; }
.banner-arrow.next { right: 14px; }
.banner-dots { position: absolute; left: 50%; bottom: 16px; display: flex; gap: 6px; transform: translateX(-50%); }
.banner-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.36); cursor: pointer; transition: .2s; }
.banner-dot.active { width: 22px; background: #fff; }

.news-ticker { min-height: 42px; margin-top: 10px; padding: 0 12px; display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; align-items: center; gap: 12px; overflow: hidden; border: 1px solid rgba(64, 137, 233, .25); border-radius: 12px; background: color-mix(in srgb, var(--surface-strong) 90%, transparent); box-shadow: 0 8px 22px rgba(40, 67, 103, .04); font-size: 12px; }
.news-ticker > strong { white-space: nowrap; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #3aa4ff; box-shadow: 0 0 0 5px rgba(58,164,255,.12); }
.ticker-items { min-width: 0; display: grid; grid-template-columns: 1fr 1fr; }
.ticker-item { min-width: 0; padding-inline: 12px; display: flex; gap: 11px; border-left: 1px solid var(--line); }
.ticker-item time { flex: 0 0 auto; color: var(--muted); }
.ticker-item button { min-width: 0; padding: 0; overflow: hidden; border: 0; background: transparent; color: var(--text); cursor: pointer; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.ticker-count { color: var(--muted); white-space: nowrap; }

.catalog { padding-top: 14px; }
.catalog-toolbar { margin-bottom: 14px; border: 1px solid var(--line); border-radius: 15px; background: color-mix(in srgb, var(--surface-strong) 94%, transparent); box-shadow: 0 8px 25px rgba(36, 42, 51, .04); }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 12px; }
.toolbar-lower { display: flex; align-items: center; border-top: 1px solid var(--line); }
.toolbar-lower .secondary { flex: 1; min-width: 0; }
.toolbar-lower > p { margin: 0 14px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.chip { padding: 7px 12px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; transition: .18s; }
.chip:hover { border-color: var(--line); color: var(--text); }
.chip.active { border-color: color-mix(in srgb, var(--brand) 28%, transparent); background: var(--brand-soft); color: var(--brand); font-weight: 750; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.resource-card { min-width: 0; min-height: 150px; padding: 14px; display: grid; grid-template-columns: 164px minmax(0, 1fr); gap: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-strong); box-shadow: 0 8px 26px rgba(37, 43, 53, .045); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.resource-card:hover { border-color: rgba(68, 122, 205, .23); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card-cover { position: relative; min-height: 120px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: linear-gradient(135deg, #101827, #254f7c 55%, #1ec2ba); background-size: cover; background-position: center; }
.card-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, transparent 40%, rgba(0,0,0,.22)); }
.card-cover > span:not(.featured-badge) { color: rgba(255,255,255,.85); font-size: 40px; font-weight: 900; }
.featured-badge { position: absolute; z-index: 2; top: 8px; left: 8px; padding: 4px 7px; border-radius: 6px; background: linear-gradient(135deg, #ffb53d, #ff8138); color: #3b2105; font-size: 10px; font-weight: 850; }
.card-body { min-width: 0; display: flex; flex-direction: column; }
.card-topline { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; }
.card-topline span:first-child { color: var(--brand); font-weight: 700; }
.resource-card h3 { margin: 5px 0 4px; overflow: hidden; font-size: 17px; line-height: 1.35; letter-spacing: -.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.resource-card p { margin: 0; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card-tags, .detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 9px; }
.tag { padding: 3px 7px; border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent); border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 10px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.card-arrow { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-soft); color: var(--brand); }
.empty-state { padding: 70px 20px; text-align: center; color: var(--muted); }
.empty-state > span { font-size: 46px; color: var(--brand); }
.empty-state h3 { margin: 10px 0 4px; color: var(--text); }
.button { padding: 10px 16px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; cursor: pointer; font-weight: 750; }
.button.ghost { color: var(--text); background: var(--surface-soft); }

.info-panel-section { padding-bottom: 28px; }
.info-panel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.info-panel-card { min-width: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--line) 76%, #d7bd8b); border-radius: 16px; background: color-mix(in srgb, var(--surface-strong) 94%, #fff5e5); color: var(--text); cursor: pointer; text-align: left; box-shadow: 0 12px 30px rgba(53,44,29,.06); transition: transform .18s, border-color .18s, box-shadow .18s; }
.info-panel-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 25%, var(--line)); box-shadow: 0 17px 36px rgba(53,44,29,.1); }
.info-panel-icon, .info-dialog-icon { display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #e9f3ff, #d9fff6); background-position: center; background-size: cover; color: var(--brand); font-weight: 900; box-shadow: inset 0 0 0 1px rgba(77,143,255,.13), 0 8px 19px rgba(69,133,235,.12); }
.info-panel-icon { width: 48px; height: 48px; border-radius: 14px; font-size: 18px; }
.info-panel-copy { min-width: 0; display: grid; }
.info-panel-copy small { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.info-panel-copy strong { margin-top: 1px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; }
.info-panel-copy span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); font-size: 11px; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface-strong); }
.footer-inner { padding-block: 34px; display: flex; justify-content: space-between; gap: 30px; }
.footer-inner p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.footer-links { max-width: 520px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; align-content: center; color: var(--muted); font-size: 11px; }
.footer-links a:hover { color: var(--brand); }

.detail-dialog { width: min(760px, calc(100% - 24px)); max-height: min(840px, calc(100vh - 32px)); padding: 0; overflow: auto; border: 0; border-radius: 22px; background: var(--surface-strong); color: var(--text); box-shadow: var(--shadow-hover); }
.detail-dialog::backdrop, .wechat-dialog::backdrop, .info-dialog::backdrop { background: rgba(8, 12, 18, .68); backdrop-filter: blur(8px); }
.dialog-close { position: sticky; z-index: 2; top: 12px; float: right; margin: 12px 12px -54px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(14,20,29,.75); color: #fff; cursor: pointer; font-size: 24px; }
.detail-cover { min-height: 300px; display: grid; place-items: center; background: linear-gradient(135deg, #0b1828, #286090, #20b3a5); background-size: cover; background-position: center; color: rgba(255,255,255,.8); font-size: 70px; font-weight: 900; }
.detail-content { padding: 28px 32px 36px; }
.detail-meta { color: var(--brand); font-size: 11px; font-weight: 800; }
.detail-content h2 { margin: 7px 0 9px; font-size: 32px; line-height: 1.2; }
.detail-summary { color: var(--muted); font-size: 16px; }
.detail-body { margin-top: 22px; white-space: pre-wrap; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.detail-actions a { padding: 11px 17px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 750; }
.detail-actions a.secondary { background: var(--surface-soft); color: var(--text); }
.wechat-dialog { width: min(420px, calc(100% - 28px)); padding: 0; overflow: visible; border: 0; border-radius: 24px; background: var(--surface-strong); color: var(--text); box-shadow: var(--shadow-hover); }
.wechat-dialog-content { padding: 34px 34px 30px; text-align: center; }
.wechat-mark { width: 50px; height: 50px; display: block; margin: 0 auto 12px; overflow: hidden; border-radius: 14px; box-shadow: 0 9px 24px rgba(20, 181, 91, .2); }
.wechat-mark img { width: 100%; height: 100%; }
.wechat-dialog h2 { margin: 0; font-size: 24px; }
.wechat-dialog p { margin: 5px 0 20px; color: var(--muted); font-size: 13px; }
.wechat-qr-frame { width: min(280px, 100%); aspect-ratio: 1; margin: auto; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.wechat-qr-frame img { width: 100%; height: 100%; display: block; object-fit: contain; border-radius: 10px; }
.wechat-dialog .dialog-close { position: absolute; top: 14px; right: 14px; margin: 0; }
.wechat-dialog.poster-mode { width: min(520px, calc(100% - 20px)); max-height: calc(100vh - 20px); overflow: hidden; border-radius: 28px; background: transparent; }
.wechat-dialog.poster-mode .wechat-dialog-content { padding: 0; }
.wechat-dialog.poster-mode .wechat-qr-frame { width: 100%; aspect-ratio: auto; padding: 0; overflow: hidden; border: 0; border-radius: 28px; background: transparent; }
.wechat-dialog.poster-mode .wechat-qr-frame img { width: 100%; height: auto; max-height: calc(100vh - 20px); object-fit: contain; border-radius: 28px; }
.wechat-dialog.group-mode .wechat-mark { box-shadow: 0 9px 24px rgba(31, 164, 106, .22); }
.info-dialog { width: min(520px, calc(100% - 28px)); max-height: calc(100vh - 38px); padding: 0; overflow: auto; border: 0; border-radius: 25px; background: var(--surface-strong); color: var(--text); box-shadow: var(--shadow-hover); }
.info-dialog-head { padding: 26px 34px 14px; text-align: center; }
.info-dialog-icon { width: 66px; height: 66px; margin: 0 auto 8px; border-radius: 20px; font-size: 25px; }
.info-dialog-head > span { display: block; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.info-dialog-head h2 { margin: 2px 0 3px; font-size: 24px; }
.info-dialog-head p { margin: 0; color: var(--muted); font-size: 13px; }
.info-dialog-body { margin: 0 22px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--surface-soft) 45%, transparent); font-size: 14px; line-height: 1.75; }
.info-dialog-body p { margin: 0 0 12px; }
.info-dialog-body p:last-child { margin-bottom: 0; }
.info-dialog-body ul { margin: 6px 0 14px; padding-left: 20px; }
.info-dialog-body li { margin: 4px 0; }
.info-dialog-body .warning { color: #e13d47; font-weight: 750; }
.info-dialog-body .emphasis { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 800; }
.info-dialog-email { width: max-content; max-width: calc(100% - 44px); margin: 14px 22px 24px; padding: 9px 10px 9px 14px; display: flex; align-items: center; gap: 8px; border-radius: 12px; background: var(--brand-soft); color: var(--muted); font-size: 12px; }
.info-dialog-email strong { color: var(--text); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.info-dialog-email button { padding: 5px 8px; border: 0; border-radius: 8px; background: var(--surface-strong); color: var(--text); cursor: pointer; font-size: 11px; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 26px; transform: translate(-50%, 28px); padding: 10px 15px; border-radius: 10px; background: var(--text); color: var(--bg); opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1060px) {
  .header-inner { gap: 14px; }
  .desktop-nav { overflow-x: auto; scrollbar-width: none; }
  .nav-link { padding-inline: 9px; }
  .header-search { width: 150px; }
  .social-link { width: 30px; height: 30px; }
  .resource-card { grid-template-columns: 138px minmax(0, 1fr); }
  .info-panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .desktop-nav, .header-actions .header-search { display: none; }
  .mobile-only { display: grid; }
  .mobile-search-row { display: block; padding-top: 10px; }
  .mobile-search { width: 100%; }
  .showcase { padding-top: 12px; }
  .feature-card { min-height: 390px; }
  .feature-body { width: 78%; padding: 56px 0 70px 42px; }
  .resource-grid { grid-template-columns: 1fr; }
  .mobile-drawer { position: fixed; z-index: 60; display: block; top: 0; right: 0; width: min(340px, 88vw); height: 100%; padding: 20px; background: var(--surface-strong); transform: translateX(105%); transition: transform .24s ease; }
  .mobile-drawer.open { transform: none; }
  .drawer-backdrop { position: fixed; z-index: 50; display: block; inset: 0; background: rgba(0,0,0,.46); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
  .drawer-backdrop.open { opacity: 1; pointer-events: auto; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
  .mobile-drawer nav { display: grid; gap: 7px; }
  .drawer-link { width: 100%; text-align: left; background: var(--surface-soft); }
  .drawer-link.active { background: var(--brand-soft); color: var(--brand); }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 22px, 1140px); }
  .site-header, .header-inner { min-height: 56px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy small { max-width: 125px; }
  .header-actions .social-links { display: none; }
  .showcase { padding-bottom: 52px; }
  .feature-card { min-height: 330px; border-radius: 18px; }
  .feature-card::after { width: 230px; height: 230px; right: -10%; }
  .feature-body { width: 88%; padding: 42px 22px 62px; }
  .feature-card h2 { margin-top: 15px; font-size: 32px; }
  .feature-card p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .banner-arrow { display: none; }
  .news-ticker { min-height: 44px; grid-template-columns: 88px minmax(0, 1fr); }
  .ticker-items { grid-template-columns: 1fr; }
  .ticker-item:nth-child(n+2), .ticker-count { display: none; }
  .catalog-toolbar { overflow: hidden; }
  .chip-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .chip { flex: 0 0 auto; }
  .toolbar-lower { display: block; }
  .toolbar-lower > p { padding: 0 12px 9px; }
  .resource-card { min-height: 130px; padding: 10px; grid-template-columns: 118px minmax(0, 1fr); gap: 11px; border-radius: 14px; }
  .card-cover { min-height: 104px; }
  .resource-card h3 { font-size: 15px; }
  .resource-card p { -webkit-line-clamp: 1; }
  .card-tags { padding-top: 6px; }
  .card-footer { margin-top: 6px; padding-top: 6px; }
  .footer-inner { flex-direction: column; }
  .info-panel-grid { grid-template-columns: 1fr; }
  .info-panel-section { padding-bottom: 22px; }
  .info-dialog-head { padding-inline: 22px; }
  .info-dialog-body { margin-inline: 14px; padding: 17px; }
  .info-dialog-email { max-width: calc(100% - 28px); margin-inline: 14px; flex-wrap: wrap; }
  .footer-links { justify-content: flex-start; }
  .detail-content { padding: 22px 20px 28px; }
  .detail-cover { min-height: 220px; }
  .detail-content h2 { font-size: 27px; }
}

@media (max-width: 390px) {
  .resource-card { grid-template-columns: 105px minmax(0, 1fr); }
  .card-topline span:last-child { display: none; }
  .card-tags .tag:nth-child(n+3) { display: none; }
}

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

/* Premium storefront theme */
:root {
  --bg: #f2eee8;
  --surface: rgba(255, 255, 255, .72);
  --surface-strong: #fffdf9;
  --surface-soft: #f4efe7;
  --text: #15191f;
  --muted: #747983;
  --line: rgba(43, 38, 31, .1);
  --brand: #a86d22;
  --brand-soft: rgba(221, 172, 93, .14);
  --gold: #d8a04b;
  --gold-bright: #f4c873;
  --navy: #091321;
  --shadow: 0 18px 55px rgba(66, 50, 30, .08);
  --shadow-hover: 0 25px 65px rgba(48, 38, 27, .15);
  --radius: 20px;
}

:root[data-theme="dark"] {
  --bg: #050a12;
  --surface: rgba(13, 22, 35, .82);
  --surface-strong: #0d1725;
  --surface-soft: #142133;
  --text: #f7f4ee;
  --muted: #99a4b3;
  --line: rgba(153, 185, 224, .13);
  --brand: #f0bd68;
  --brand-soft: rgba(221, 166, 76, .13);
  --shadow: 0 22px 60px rgba(0, 0, 0, .26);
  --shadow-hover: 0 28px 75px rgba(0, 0, 0, .42);
}

html { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
body {
  background:
    radial-gradient(circle at 50% -10%, rgba(54, 116, 180, .1), transparent 36rem),
    radial-gradient(circle at 84% 26%, rgba(207, 146, 65, .1), transparent 27rem),
    var(--bg);
  letter-spacing: .005em;
  transition: background-color .3s ease, color .3s ease;
}
:root[data-theme="light"] body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.75), transparent 38rem);
  pointer-events: none;
}
.wrap { width: min(1480px, calc(100% - 64px)); }

.site-header {
  min-height: 72px;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.03);
  backdrop-filter: blur(24px) saturate(1.35);
}
.header-inner { min-height: 72px; gap: 32px; }
.brand { gap: 12px; }
.brand-mark {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(127,177,255,.28);
  border-radius: 14px;
  background: linear-gradient(145deg, #2358aa, #416cf0 55%, #2949b3);
  box-shadow: 0 10px 28px rgba(43, 91, 203, .34), inset 0 1px 1px rgba(255,255,255,.24);
  font-size: 22px;
}
.brand-copy strong { font-size: 18px; font-weight: 800; }
.brand-copy small { max-width: 180px; margin-top: 2px; font-size: 11px; letter-spacing: .06em; }
.desktop-nav { justify-content: center; gap: 14px; }
.nav-link {
  position: relative;
  padding: 24px 7px 22px;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .04em;
}
.nav-link::after {
  content: "";
  position: absolute;
  right: 20%;
  bottom: 11px;
  left: 20%;
  height: 2px;
  border-radius: 10px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  box-shadow: 0 0 12px rgba(236, 183, 94, .8);
  opacity: 0;
  transform: scaleX(.4);
  transition: .2s ease;
}
.nav-link:hover, .nav-link.active {
  border: 0;
  background: transparent;
  color: var(--text);
  box-shadow: none;
}
.nav-link.active { color: var(--brand); font-weight: 750; }
.nav-link:hover::after, .nav-link.active::after { opacity: 1; transform: none; }
.header-actions { gap: 10px; }
.social-links { gap: 8px; }
.social-link {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.header-search {
  width: 270px;
  height: 42px;
  padding: 0 16px;
  border-color: var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-strong) 75%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.header-search:focus-within {
  border-color: color-mix(in srgb, var(--gold) 60%, var(--line));
  box-shadow: 0 0 0 4px rgba(218, 161, 76, .08);
}
.search-symbol {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 1.7px solid currentColor;
  border-radius: 50%;
  transform: none !important;
}
.search-symbol::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 1.7px;
  right: -5px;
  bottom: -2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.icon-button {
  width: 42px;
  height: 42px;
  border-color: var(--line);
  border-radius: 13px;
  background: color-mix(in srgb, var(--surface-strong) 80%, transparent);
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}
.theme-button { position: relative; overflow: hidden; color: var(--brand); }
.theme-button span { position: absolute; transition: opacity .22s, transform .22s; }
.theme-sun { opacity: 1; transform: scale(1) rotate(0); }
.theme-moon { opacity: 0; transform: scale(.6) rotate(-35deg); }
:root[data-theme="dark"] .theme-sun { opacity: 0; transform: scale(.6) rotate(35deg); }
:root[data-theme="dark"] .theme-moon { opacity: 1; transform: scale(1) rotate(0); }

.showcase { padding-block: 14px 48px; }
.feature-card {
  min-height: 470px;
  border: 1px solid rgba(100, 142, 205, .2);
  border-radius: 21px;
  background: #06101d;
  box-shadow: 0 28px 75px rgba(7, 16, 30, .34), inset 0 1px 0 rgba(255,255,255,.05);
}
.feature-cover { background-position: center; filter: saturate(1.04) contrast(1.02); }
.feature-card::before {
  background:
    linear-gradient(90deg, rgba(4, 11, 20, .98) 0%, rgba(5, 13, 23, .89) 33%, rgba(5, 12, 22, .36) 62%, rgba(5, 12, 22, .08) 100%),
    linear-gradient(0deg, rgba(4,10,18,.25), transparent 40%);
}
.feature-card::after {
  width: 420px;
  height: 420px;
  right: 16%;
  border-color: rgba(62, 153, 255, .22);
  box-shadow: 0 0 100px rgba(36, 123, 238, .2), inset 0 0 70px rgba(230, 158, 57, .09);
}
.feature-grid { opacity: .09; background-size: 46px 46px; }
.feature-body { width: min(680px, 56%); padding: 66px 0 76px 120px; }
.feature-label {
  padding: 8px 13px;
  border-color: rgba(240, 188, 102, .35);
  border-radius: 8px;
  background: rgba(229, 167, 75, .09);
  color: #f4c577;
  font-size: 12px;
  letter-spacing: .08em;
}
.feature-label::before { content: "★"; margin-right: 7px; }
.feature-card h2 {
  margin: 21px 0 12px;
  font-size: clamp(42px, 4.2vw, 66px);
  font-weight: 900;
  letter-spacing: -.055em;
  text-shadow: 0 6px 28px rgba(0,0,0,.3);
}
.feature-card h2::first-letter { color: #f3c978; }
.feature-card p { max-width: 610px; color: rgba(232,238,246,.78); font-size: 16px; }
.feature-meta { margin-top: 20px; }
.feature-meta span {
  padding: 6px 11px;
  border-color: rgba(255,255,255,.15);
  border-radius: 7px;
  background: rgba(8,20,35,.45);
  backdrop-filter: blur(10px);
}
.feature-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.feature-button {
  margin: 0;
  min-width: 142px;
  padding: 13px 22px;
  border: 1px solid rgba(255,220,159,.6);
  border-radius: 9px;
  background: linear-gradient(135deg, #f4c978, #d99538);
  color: #241707;
  box-shadow: 0 11px 30px rgba(218, 155, 57, .28), inset 0 1px 0 rgba(255,255,255,.45);
}
.feature-button.secondary {
  border-color: rgba(255,255,255,.16);
  background: rgba(11,25,42,.54);
  color: rgba(255,255,255,.88);
  box-shadow: none;
  backdrop-filter: blur(10px);
}
.feature-button:hover { transform: translateY(-2px); filter: brightness(1.04); }
.banner-arrow {
  width: 46px;
  height: 46px;
  border-color: rgba(255,255,255,.2);
  background: rgba(4,12,21,.48);
  opacity: .8;
}
.banner-arrow.prev { left: 18px; }
.banner-arrow.next { right: 18px; }
.banner-dots { bottom: 17px; }
.banner-dot.active { background: #f8f2e7; box-shadow: 0 0 14px rgba(255,220,158,.55); }

.news-ticker {
  min-height: 47px;
  margin-top: 11px;
  padding-inline: 24px;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  border-color: var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--navy) 92%, transparent);
  color: #e9edf4;
  box-shadow: 0 13px 35px rgba(6, 16, 30, .22);
}
.ticker-bell { margin-right: 8px; color: #f2bd64; text-shadow: 0 0 12px rgba(239,183,89,.8); font-size: 10px; }
.live-dot { display: none; }
.ticker-item { border-left-color: rgba(255,255,255,.1); }
.ticker-item time, .ticker-count { color: #aeb8c6; }
.ticker-item button { color: #e9edf4; }

.catalog { padding-top: 14px; }
.catalog-toolbar {
  margin-bottom: 16px;
  overflow: hidden;
  border-color: var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.chip-row { gap: 18px; padding: 14px 28px; }
.chip {
  min-width: 112px;
  padding: 9px 17px;
  border-color: transparent;
  border-radius: 11px;
  font-size: 13px;
}
.chip-icon { display: none; }
.chip:hover { background: var(--surface-soft); }
.chip.active {
  border-color: rgba(215, 157, 71, .35);
  background: linear-gradient(135deg, rgba(248,207,134,.42), rgba(213,148,56,.18));
  color: color-mix(in srgb, var(--brand) 86%, var(--text));
  box-shadow: 0 7px 18px rgba(185, 125, 41, .12), inset 0 1px 0 rgba(255,255,255,.38);
}
.toolbar-lower { min-height: 60px; padding-inline: 28px; }
.toolbar-lower .chip-row { padding-inline: 18px; gap: 7px; }
.toolbar-lower .chip { min-width: auto; padding: 8px 14px; }
.filter-label { flex: 0 0 auto; color: var(--muted); font-size: 13px; }
.clear-filter {
  margin-left: 2px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
}
.clear-filter:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); color: var(--brand); }

.resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.resource-card {
  position: relative;
  min-height: 182px;
  padding: 15px;
  grid-template-columns: 42% minmax(0, 1fr);
  gap: 17px;
  border-color: var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.resource-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.07), transparent 38%);
  pointer-events: none;
}
.resource-card:hover {
  border-color: rgba(214, 157, 73, .34);
  transform: translateY(-5px);
}
.card-cover { min-height: 152px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.featured-badge {
  top: 9px;
  left: 9px;
  padding: 5px 9px;
  border: 1px solid rgba(255,223,166,.45);
  border-radius: 8px;
  background: linear-gradient(135deg, #f1bf67, #cb842f);
}
.card-bookmark {
  position: absolute;
  z-index: 2;
  top: 13px;
  right: 15px;
  color: var(--brand);
  font-size: 22px;
  line-height: 1;
}
.card-topline { padding-right: 24px; font-size: 10px; }
.card-topline span:first-child { color: var(--brand); }
.resource-card h3 { margin-top: 8px; font-size: 17px; }
.resource-card p { font-size: 12px; }
.tag { border-color: rgba(92, 132, 206, .15); background: rgba(83, 126, 204, .1); color: color-mix(in srgb, #557dd0 78%, var(--text)); }
:root[data-theme="dark"] .tag { color: #a9c2f1; }
.card-arrow { background: var(--brand-soft); color: var(--brand); }

.info-panel-section { padding-bottom: 34px; }
.info-panel-grid { gap: 16px; }
.info-panel-card {
  min-height: 112px;
  grid-template-columns: 58px minmax(0, 1fr) 32px;
  gap: 16px;
  padding: 18px 20px;
  border-color: rgba(120, 151, 189, .15);
  border-radius: 18px;
  background: linear-gradient(135deg, #172235, #0e1725);
  color: #f5f2eb;
  box-shadow: 0 20px 45px rgba(5, 13, 24, .25), inset 0 1px 0 rgba(255,255,255,.04);
}
.info-panel-card::after {
  content: "→";
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #e8b865;
}
.info-panel-icon { width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(145deg, #263a58, #16263f); color: #f3bd65; }
.info-panel-copy small { color: #d5a657; }
.info-panel-copy strong { font-size: 17px; }
.info-panel-copy span { color: #9da9b9; }

.site-footer {
  border-top-color: var(--line);
  background: color-mix(in srgb, var(--surface-strong) 85%, transparent);
  backdrop-filter: blur(16px);
}
.footer-inner { padding-block: 32px; }
.footer-links a { padding: 4px 0; }
.footer-links a:not([hidden])::before { content: "·"; margin-right: 7px; color: var(--brand); }

.detail-dialog, .wechat-dialog, .info-dialog {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 96%, transparent);
  box-shadow: 0 35px 100px rgba(0,0,0,.42);
  backdrop-filter: blur(24px);
}
.dialog-close { border: 1px solid rgba(255,255,255,.1); background: rgba(8,16,27,.8); }
.detail-actions a { background: linear-gradient(135deg, #e9b45e, #bb7529); color: #1d1308; }
.info-dialog-body { background: color-mix(in srgb, var(--surface-soft) 68%, transparent); }

@media (max-width: 1320px) {
  .wrap { width: min(1180px, calc(100% - 40px)); }
  .header-inner { gap: 20px; }
  .desktop-nav { gap: 5px; }
  .nav-link { padding-inline: 6px; font-size: 13px; }
  .header-search { width: 210px; }
  .feature-body { padding-left: 84px; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1060px) {
  .wrap { width: min(100% - 32px, 1000px); }
  .header-search { width: 170px; }
  .social-links { display: none; }
  .feature-body { width: 64%; padding-left: 64px; }
  .info-panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .site-header, .header-inner { min-height: 64px; }
  .desktop-nav, .header-actions .header-search { display: none; }
  .mobile-search-row { padding-top: 10px; }
  .mobile-search { height: 44px; background: var(--surface); }
  .mobile-drawer { border-left: 1px solid var(--line); background: color-mix(in srgb, var(--surface-strong) 96%, transparent); backdrop-filter: blur(24px); }
  .drawer-link { padding: 12px 14px; border: 1px solid var(--line); background: var(--surface-soft); }
  .feature-card { min-height: 420px; }
  .feature-body { width: 72%; padding: 58px 0 72px 48px; }
  .feature-card h2 { font-size: 45px; }
  .toolbar-lower { flex-wrap: wrap; padding: 10px 20px; }
  .toolbar-lower .chip-row { order: 2; width: 100%; padding: 8px 0 0; }
  .toolbar-lower > p { margin-left: auto; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 22px, 620px); }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 16px; }
  .header-actions { gap: 7px; }
  .icon-button { width: 39px; height: 39px; }
  .showcase { padding-top: 10px; padding-bottom: 34px; }
  .feature-card { min-height: 390px; border-radius: 18px; }
  .feature-card::before { background: linear-gradient(90deg, rgba(3,10,18,.95), rgba(4,12,21,.72)), linear-gradient(0deg, rgba(3,9,16,.42), transparent); }
  .feature-card::after { right: -24%; width: 280px; height: 280px; }
  .feature-body { width: 100%; padding: 44px 24px 72px; }
  .feature-label { font-size: 10px; }
  .feature-card h2 { max-width: 90%; margin-top: 17px; font-size: 35px; }
  .feature-card p { max-width: 88%; font-size: 13px; -webkit-line-clamp: 3; }
  .feature-actions { gap: 9px; }
  .feature-button { min-width: 0; padding: 11px 15px; font-size: 13px; }
  .news-ticker { grid-template-columns: 94px minmax(0,1fr); padding-inline: 14px; }
  .catalog-toolbar { border-radius: 16px; }
  .chip-row { gap: 7px; padding: 12px; }
  .chip { min-width: auto; flex: 0 0 auto; padding: 8px 13px; }
  .filter-label { margin-right: 6px; }
  .clear-filter { margin-left: auto; }
  .toolbar-lower > p { order: 0; padding: 0; }
  .resource-grid { grid-template-columns: 1fr; gap: 12px; }
  .resource-card { min-height: 148px; padding: 11px; grid-template-columns: 38% minmax(0,1fr); gap: 12px; border-radius: 16px; }
  .card-cover { min-height: 126px; }
  .card-bookmark { top: 11px; right: 12px; }
  .card-topline { padding-right: 21px; }
  .info-panel-grid { grid-template-columns: 1fr; gap: 10px; }
  .info-panel-card { min-height: 96px; padding: 15px 17px; }
  .footer-inner { padding-block: 28px; }
}

@media (max-width: 400px) {
  .brand-copy small { max-width: 108px; }
  .feature-card h2 { font-size: 31px; }
  .feature-button.secondary { display: none; }
  .resource-card { grid-template-columns: 112px minmax(0,1fr); }
  .card-cover { min-height: 112px; }
}

/* Responsive storefront: desktop, tablet and mobile are intentionally distinct. */
html, body { max-width: 100%; overflow-x: clip; }
body.drawer-open { overflow: hidden; }
.chip-row, .ticker-items { overscroll-behavior-inline: contain; }

@media (min-width: 1600px) {
  .wrap { width: min(1600px, calc(100% - 96px)); }
  .feature-card { min-height: 500px; }
  .feature-body { width: min(720px, 53%); padding-left: 132px; }
  .resource-card { min-height: 196px; }
  .card-cover { min-height: 166px; }
}

@media (max-width: 1100px) {
  .site-header, .header-inner { min-height: 66px; }
  .header-inner { gap: 14px; }
  .desktop-nav, .header-actions .header-search { display: none; }
  .mobile-only { display: grid; }
  .mobile-search-row { display: block; padding-top: 12px; }
  .mobile-search { width: 100%; height: 44px; background: color-mix(in srgb, var(--surface-strong) 86%, transparent); }
  .mobile-drawer {
    position: fixed;
    z-index: 60;
    display: flex;
    top: 0;
    right: 0;
    width: min(380px, 88vw);
    height: 100dvh;
    padding: max(22px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom));
    flex-direction: column;
    overflow-y: auto;
    border-left: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface-strong) 96%, transparent);
    box-shadow: -24px 0 70px rgba(0,0,0,.22);
    backdrop-filter: blur(26px) saturate(1.25);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .24s ease, visibility .24s ease;
  }
  .mobile-drawer.open { visibility: visible; transform: none; }
  .drawer-backdrop {
    position: fixed;
    z-index: 50;
    display: block;
    inset: 0;
    background: rgba(2,7,14,.58);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(4px);
    transition: opacity .2s ease;
  }
  .drawer-backdrop.open { opacity: 1; pointer-events: auto; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
  .drawer-head strong { font-size: 18px; }
  .mobile-drawer nav { display: grid; gap: 8px; }
  .drawer-link { width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: var(--surface-soft); text-align: left; }
  .drawer-link.active { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); background: var(--brand-soft); color: var(--brand); }
  .drawer-social-links { margin-top: auto; }

  .showcase { padding-top: 12px; }
  .feature-card { min-height: 430px; }
  .feature-body { width: 67%; padding: 58px 0 74px 54px; }
  .feature-card h2 { font-size: clamp(40px, 5.8vw, 54px); }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-card { grid-template-columns: 40% minmax(0, 1fr); }
  .info-panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .wrap { width: min(100% - 40px, 1024px); }
  .header-actions .social-links { display: flex; }
  .feature-card::after { right: 2%; width: 360px; height: 360px; }
  .feature-body { width: 64%; }
  .news-ticker { grid-template-columns: 108px minmax(0, 1fr); }
  .ticker-count { display: none; }
  .ticker-items { display: flex; min-width: 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .ticker-item { min-width: min(360px, 58vw); flex: 0 0 auto; scroll-snap-align: start; }
  .catalog-toolbar .chip-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .chip { flex: 0 0 auto; }
  .toolbar-lower { flex-wrap: wrap; padding: 10px 20px; }
  .toolbar-lower .chip-row { order: 3; width: 100%; padding: 8px 0 0; }
  .toolbar-lower > p { margin-left: auto; }
  .clear-filter { margin-left: 0; }
}

@media (max-width: 767px) {
  .wrap { width: calc(100% - 24px); }
  .site-header, .header-inner { min-height: 62px; }
  .brand { min-width: 0; }
  .brand-mark { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; }
  .brand-copy { min-width: 0; }
  .brand-copy strong { overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
  .brand-copy small { max-width: 150px; font-size: 9px; }
  .header-actions { gap: 7px; }
  .header-actions .social-links { display: none; }
  .icon-button { width: 40px; height: 40px; flex: 0 0 auto; }
  .mobile-search-row { padding-top: 9px; }

  .showcase { padding-top: 10px; padding-bottom: 32px; }
  .feature-card {
    min-height: 0;
    aspect-ratio: auto;
    padding-top: clamp(190px, 58vw, 246px);
    border-radius: 18px;
    background: #07111e;
  }
  .feature-cover { height: clamp(205px, 61vw, 258px); bottom: auto; background-position: center; transform: none; }
  .feature-card:hover .feature-cover { transform: none; }
  .feature-card::before {
    height: clamp(215px, 64vw, 268px);
    bottom: auto;
    background: linear-gradient(180deg, rgba(4,10,18,.04) 12%, rgba(4,10,18,.32) 58%, #07111e 100%);
  }
  .feature-card::after, .feature-grid { display: none; }
  .feature-body {
    position: relative;
    width: 100%;
    padding: 10px 20px 58px;
    background: linear-gradient(180deg, rgba(7,17,30,.92), #07111e 30%);
  }
  .feature-label { padding: 6px 9px; font-size: 9px; }
  .feature-card h2 { max-width: none; margin: 13px 0 8px; font-size: clamp(28px, 8.3vw, 36px); line-height: 1.12; }
  .feature-card p { max-width: none; font-size: 13px; line-height: 1.65; -webkit-line-clamp: 2; }
  .feature-meta { margin-top: 13px; gap: 6px; }
  .feature-meta span { padding: 4px 8px; font-size: 10px; }
  .feature-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 17px; }
  .feature-button { width: 100%; min-width: 0; padding: 11px 10px; font-size: 12px; white-space: nowrap; }
  .banner-arrow { display: none; }
  .banner-dots { bottom: 18px; }

  .news-ticker {
    min-height: 48px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 7px;
    padding: 0 12px;
    overflow: hidden;
  }
  .news-ticker > strong { padding-right: 8px; font-size: 11px; }
  .ticker-items { display: flex; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ticker-item { min-width: calc(100vw - 132px); padding: 0 10px; flex: 0 0 auto; scroll-snap-align: start; }
  .ticker-item:nth-child(n+2) { display: flex; }
  .ticker-count { display: none; }

  .catalog { padding-top: 12px; }
  .catalog-toolbar { border-radius: 16px; }
  .catalog-toolbar > .chip-row, .toolbar-lower .chip-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 7px;
    overflow-x: auto;
    scroll-padding-inline: 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .catalog-toolbar > .chip-row { padding: 11px 12px; }
  .chip { min-width: auto; padding: 8px 13px; flex: 0 0 auto; scroll-snap-align: start; }
  .toolbar-lower {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 10px 12px 11px;
  }
  .filter-label { grid-column: 1; }
  .toolbar-lower > p { grid-column: 2; margin: 0; padding: 0; text-align: right; }
  .clear-filter { grid-column: 3; margin: 0; padding: 7px 9px; }
  .toolbar-lower .chip-row { grid-column: 1 / -1; grid-row: 2; width: 100%; padding: 2px 0 0; }

  .resource-grid { grid-template-columns: 1fr; gap: 12px; }
  .resource-card {
    min-height: 0;
    padding: 12px;
    grid-template-columns: minmax(116px, 34%) minmax(0, 1fr);
    gap: 13px;
    border-radius: 17px;
  }
  .card-cover { min-height: 126px; aspect-ratio: 1.08 / 1; }
  .card-topline { padding-right: 20px; }
  .resource-card h3 { margin-top: 7px; font-size: 16px; }
  .resource-card p { -webkit-line-clamp: 2; }
  .card-tags { padding-top: 7px; }
  .card-footer { margin-top: 7px; }
  .card-bookmark { top: 12px; right: 12px; }

  .info-panel-section { padding-bottom: 24px; }
  .info-panel-grid { grid-template-columns: 1fr; gap: 10px; }
  .info-panel-card { min-height: 94px; padding: 14px 16px; grid-template-columns: 52px minmax(0,1fr) 30px; gap: 13px; }
  .info-panel-icon { width: 52px; height: 52px; border-radius: 16px; }
  .info-panel-copy strong { font-size: 16px; }

  .footer-inner { padding-block: 26px; flex-direction: column; gap: 18px; }
  .footer-links { max-width: none; justify-content: flex-start; gap: 7px 14px; }
  .detail-cover { min-height: 210px; }
  .detail-content { padding: 22px 18px 28px; }
  .detail-content h2 { font-size: 26px; }
}

@media (max-width: 430px) {
  .wrap { width: calc(100% - 20px); }
  .brand-copy small { max-width: 118px; }
  .feature-card { padding-top: clamp(182px, 57vw, 225px); }
  .feature-cover { height: clamp(196px, 61vw, 238px); }
  .feature-card::before { height: clamp(205px, 64vw, 248px); }
  .feature-body { padding-inline: 17px; }
  .resource-card { grid-template-columns: 112px minmax(0, 1fr); gap: 11px; }
  .card-cover { min-height: 116px; }
  .card-topline span:last-child { display: none; }
  .info-panel-card { grid-template-columns: 48px minmax(0,1fr) 28px; padding: 13px 14px; }
  .info-panel-icon { width: 48px; height: 48px; }
}

@media (max-width: 390px) {
  .brand-copy small { display: none; }
  .feature-actions { grid-template-columns: 1fr; }
  .feature-button.secondary { display: block; }
  .resource-card { grid-template-columns: 104px minmax(0, 1fr); padding: 10px; }
  .card-cover { min-height: 110px; }
  .resource-card p { -webkit-line-clamp: 1; }
  .card-tags .tag:nth-child(n+3) { display: none; }
  .toolbar-lower { grid-template-columns: auto 1fr; }
  .clear-filter { grid-column: 1 / -1; grid-row: 3; width: 100%; }
  .toolbar-lower .chip-row { grid-row: 2; }
}

@media (max-width: 360px) {
  .brand-copy { max-width: 118px; }
  .feature-card h2 { font-size: 27px; }
  .resource-card { grid-template-columns: 96px minmax(0, 1fr); }
  .card-cover { min-height: 104px; }
}

@media (max-width: 600px) {
  .site-header { position: sticky; }
  .header-inner {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 40px 40px;
    gap: 8px;
    padding-block: 8px;
  }
  .brand { grid-column: 2; min-width: 0; justify-self: center; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy small { display: block; max-width: 142px; font-size: 9px; }
  .header-actions { display: contents; }
  #menuButton { grid-column: 1; grid-row: 1; font-size: 0; }
  #menuButton::before { content: "☰"; font-size: 22px; }
  #themeButton { grid-column: 3; grid-row: 1; }
  .mobile-search-toggle { grid-column: 4; grid-row: 1; display: grid; }
  .mobile-search-toggle .search-symbol { color: var(--text); }
  .mobile-search-row { display: none; padding-top: 8px; }
  .mobile-search-row.open { display: block; animation: mobile-search-in .18s ease-out; }
  @keyframes mobile-search-in { from { opacity: 0; transform: translateY(-5px); } }

  .feature-card.has-image {
    min-height: 0;
    padding: 0;
    aspect-ratio: 2.35 / 1;
    border-radius: 18px;
  }
  .feature-card.has-image .feature-cover { inset: 0; height: auto; background-size: cover; background-position: center; }
  .feature-card.has-image::before { inset: 0; height: auto; background: linear-gradient(0deg, rgba(4,10,18,.12), transparent 40%); }
  .feature-card.has-image .feature-body { display: none; }
  .feature-card.has-image .banner-dots { bottom: 8px; }
  .feature-card.has-image .banner-dot { background: rgba(255,255,255,.55); }
  .feature-card:not(.has-image) { min-height: 0; padding: 0; }
  .feature-card:not(.has-image) .feature-cover { display: none; }
  .feature-card:not(.has-image)::before { inset: 0; height: auto; background: linear-gradient(135deg, #071525, #0b2035); }
  .feature-card:not(.has-image) .feature-body { padding: 34px 18px 58px; }
  .feature-card:not(.has-image) h2 { font-size: 30px; }

  #categoryFilters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    overflow: visible;
  }
  #categoryFilters .all-chip { display: none; }
  #categoryFilters .category-chip {
    min-width: 0;
    min-height: 76px;
    padding: 10px 5px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(92, 132, 180, .16);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(232,239,255,.75), rgba(255,255,255,.55));
    box-shadow: 0 8px 22px rgba(43,63,92,.06);
  }
  #categoryFilters .category-chip:nth-child(3) { background: linear-gradient(145deg, rgba(231,249,242,.86), rgba(255,255,255,.58)); }
  #categoryFilters .category-chip:nth-child(4) { background: linear-gradient(145deg, rgba(255,246,219,.9), rgba(255,255,255,.58)); }
  #categoryFilters .category-chip:nth-child(5) { background: linear-gradient(145deg, rgba(249,235,255,.88), rgba(255,255,255,.58)); }
  :root[data-theme="dark"] #categoryFilters .category-chip { background: linear-gradient(145deg, #17243a, #101b2d); }
  #categoryFilters .category-chip.active { border-color: rgba(215,157,71,.55); box-shadow: 0 8px 24px rgba(205,145,55,.16); }
  #categoryFilters .category-chip.all-chip { display: none; }
  .chip-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: color-mix(in srgb, var(--brand-soft) 78%, #fff);
    color: var(--brand);
    font-size: 13px;
    font-weight: 900;
  }
  .chip-label { max-width: 100%; overflow: hidden; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
  .toolbar-lower { padding-top: 8px; }

  .resource-card {
    min-height: 116px;
    padding: 10px;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    border-radius: 17px;
  }
  .card-cover { width: 100%; min-height: 96px; aspect-ratio: 4 / 3; border-radius: 13px; }
  .card-body { min-height: 0; padding: 1px 0; display: flex; flex-direction: column; }
  .card-topline { order: 2; justify-content: flex-start; padding: 0; margin-top: 4px; }
  .card-topline span:first-child { display: none; }
  .card-topline span:last-child { display: inline; color: var(--muted); font-size: 11px; }
  .resource-card h3 {
    order: 1;
    margin: 1px 0 0;
    display: block;
    overflow: hidden;
    font-size: 17px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .resource-card p { display: none; }
  .card-tags { order: 3; margin-top: auto; padding-top: 7px; flex-wrap: nowrap; overflow: hidden; }
  .card-tags .tag { flex: 0 0 auto; max-width: 86px; overflow: hidden; padding: 5px 9px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .card-footer, .card-bookmark { display: none; }
  .featured-badge { top: 7px; left: 7px; }
}

@media (max-width: 390px) {
  .brand-copy small { max-width: 116px; }
  .resource-card { grid-template-columns: 112px minmax(0, 1fr); gap: 10px; }
  .card-tags .tag { max-width: 74px; }
}

/* Mobile navigation and configurable resource claim flow */
.drawer-brand { min-width: 0; display: flex; align-items: center; gap: 11px; color: var(--text); }
.drawer-brand-mark { flex: 0 0 50px; height: 50px; display: grid; place-items: center; overflow: hidden; border-radius: 15px; background: linear-gradient(145deg, #386ee6, #213f9f); color: #fff; font-size: 22px; font-weight: 900; box-shadow: 0 10px 26px rgba(49,91,210,.24); }
.drawer-brand-mark img { width: 100%; height: 100%; display: block; object-fit: cover; }
.drawer-brand-mark img[hidden] { display: none; }
.drawer-brand > span:last-child { min-width: 0; display: grid; gap: 2px; }
.drawer-brand strong { overflow: hidden; font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
.drawer-brand small { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.drawer-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.drawer-quick-item { min-width: 0; padding: 13px 6px 11px; display: grid; justify-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--surface-strong) 92%, transparent); color: var(--text); box-shadow: 0 10px 28px rgba(31,42,58,.07); cursor: pointer; }
.drawer-quick-item strong { max-width: 100%; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.drawer-quick-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--brand-soft) center / cover no-repeat; color: var(--brand); font-weight: 900; }
.drawer-section-label { display: block; margin: 24px 0 10px; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .2em; }
.drawer-about-card { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: color-mix(in srgb, var(--surface-strong) 94%, transparent); box-shadow: 0 12px 34px rgba(32,42,58,.06); }
.drawer-about-card h2 { margin: 0 0 12px; font-size: 19px; }
.drawer-about-card p { margin: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.drawer-about-card p:last-child { margin-bottom: 0; }
.drawer-about-card p.emphasis { padding-top: 12px; border-top: 1px solid var(--line); color: var(--text); font-weight: 800; }
.drawer-list { margin-top: 14px; display: grid; gap: 10px; }
.drawer-menu-card { width: 100%; padding: 12px 13px; display: grid; grid-template-columns: 44px minmax(0, 1fr) 22px; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 17px; background: color-mix(in srgb, var(--surface-strong) 94%, transparent); color: var(--text); text-align: left; box-shadow: 0 9px 26px rgba(31,42,58,.055); cursor: pointer; }
.drawer-menu-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg, var(--brand-soft), color-mix(in srgb, var(--brand-soft) 40%, #fff)); background-position: center; background-size: cover; color: var(--brand); font-weight: 900; }
.drawer-menu-card > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.drawer-menu-card strong, .drawer-menu-card small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-menu-card strong { font-size: 15px; }
.drawer-menu-card small { color: var(--muted); font-size: 11px; }
.drawer-menu-arrow { color: var(--brand); font-size: 24px; }
.drawer-categories { margin-top: 4px; }
.drawer-footer-copy { margin: 22px 0 0; padding: 16px 4px 2px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.7; text-align: center; }

.detail-dialog { width: min(1120px, calc(100% - 36px)); max-height: calc(100dvh - 44px); border-radius: 28px; }
.resource-detail-shell { padding: 28px; }
.resource-detail-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; }
.detail-content, .detail-cover, .claim-panel { border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--line)); border-radius: 22px; background: color-mix(in srgb, var(--surface-strong) 94%, transparent); }
.detail-content { min-width: 0; padding: 28px; display: flex; flex-direction: column; }
.detail-category { width: max-content; padding: 7px 13px; border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line)); border-radius: 999px; color: var(--brand); font-size: 12px; font-weight: 800; }
.detail-content h2 { margin: 18px 0 9px; font-size: clamp(25px, 2.5vw, 34px); line-height: 1.25; }
.detail-summary { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.detail-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.detail-facts { margin-top: auto; padding: 12px 16px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface-soft); }
.detail-fact { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.detail-fact + .detail-fact { border-top: 1px solid var(--line); }
.detail-fact > span { color: var(--muted); font-size: 13px; font-weight: 700; }
.detail-fact strong { font-size: 15px; }
.detail-platforms { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.detail-platforms span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-strong); font-size: 12px; font-weight: 700; }
.detail-cover { min-height: 410px; background-size: cover; border-radius: 22px; font-size: 90px; }
.resource-detail-shell > .detail-body { margin: 18px 0 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-soft); color: var(--muted); line-height: 1.8; white-space: pre-wrap; }
.claim-panel { margin-top: 20px; padding: 24px 20px; text-align: center; background: linear-gradient(145deg, color-mix(in srgb, #eff7ff 84%, var(--surface-strong)), color-mix(in srgb, #f8fbff 92%, var(--surface-strong))); }
.claim-panel h3 { margin: 0 0 17px; font-size: 21px; }
.claim-reveal { width: 100%; min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 15px; background: linear-gradient(100deg, #4c9aff, #2456d7); color: #fff; font-size: 16px; font-weight: 850; box-shadow: 0 14px 30px rgba(43,103,224,.22); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.claim-reveal:hover { transform: translateY(-1px); box-shadow: 0 18px 36px rgba(43,103,224,.28); }
@keyframes claim-reveal { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.claim-code-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.claim-code { padding: 8px 9px 8px 12px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); font-size: 12px; }
.claim-code span { color: var(--muted); }
.claim-code strong { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.claim-copy { padding: 5px 8px; border: 0; border-radius: 7px; background: var(--surface-strong); color: var(--brand); cursor: pointer; }
.backup-toggle { width: max-content; max-width: 100%; margin: 0 auto; padding: 8px 4px; border: 0; background: transparent; color: var(--brand); font-size: 14px; font-weight: 800; cursor: pointer; }
.backup-toggle::after { content: " ＋"; }
.backup-toggle.open::after { content: " －"; }
.backup-toggle.unavailable { color: var(--muted); cursor: default; opacity: .78; }
.backup-toggle.unavailable::after { content: ""; }
.detail-actions { justify-content: center; margin-top: 0; }

:root[data-theme="dark"] .drawer-quick-item,
:root[data-theme="dark"] .drawer-about-card,
:root[data-theme="dark"] .drawer-menu-card,
:root[data-theme="dark"] .detail-content,
:root[data-theme="dark"] .detail-cover,
:root[data-theme="dark"] .claim-panel { box-shadow: inset 0 1px rgba(255,255,255,.03), 0 18px 45px rgba(0,0,0,.2); }
:root[data-theme="dark"] .claim-panel { background: linear-gradient(145deg, rgba(12,29,52,.96), rgba(9,22,39,.96)); }

@media (max-width: 1100px) {
  .mobile-drawer { right: auto; left: 0; width: min(520px, 88vw); border-right: 1px solid var(--line); border-left: 0; box-shadow: 24px 0 70px rgba(0,0,0,.22); transform: translateX(-105%); }
  .resource-detail-grid { grid-template-columns: 1fr; }
  .detail-cover { order: 2; min-height: 390px; }
  .detail-content { order: 1; }
}

@media (max-width: 767px) {
  .mobile-drawer { width: min(84vw, 430px); padding: max(18px, env(safe-area-inset-top)) 16px max(22px, env(safe-area-inset-bottom)); }
  .drawer-head { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .drawer-quick-grid { gap: 7px; }
  .drawer-quick-item { padding-inline: 4px; border-radius: 15px; }
  .drawer-quick-icon { width: 38px; height: 38px; }
  .drawer-about-card { padding: 17px; }
  .detail-dialog { width: calc(100% - 12px); max-height: calc(100dvh - 12px); border-radius: 25px; }
  .resource-detail-shell { padding: 18px 12px 14px; }
  .resource-detail-grid { gap: 14px; }
  .detail-content { padding: 22px 18px; border-radius: 20px; }
  .detail-content h2 { margin-top: 14px; font-size: 27px; }
  .detail-summary { font-size: 14px; }
  .detail-facts { margin-top: 22px; padding-inline: 13px; }
  .detail-fact { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; padding-block: 10px; }
  .detail-platforms { justify-content: flex-start; }
  .detail-cover { min-height: 0; aspect-ratio: 4 / 3; border-radius: 20px; }
  .resource-detail-shell > .detail-body { margin-top: 14px; padding: 17px; font-size: 14px; }
  .claim-panel { margin-top: 14px; padding: 18px 12px; border-radius: 20px; }
  .claim-panel h3 { font-size: 19px; }
  .claim-reveal { min-height: 56px; font-size: 16px; }
}

@media (max-width: 390px) {
  .mobile-drawer { width: 88vw; }
  .drawer-brand-mark { flex-basis: 44px; height: 44px; }
  .drawer-brand strong { font-size: 18px; }
  .drawer-quick-item strong { font-size: 12px; }
  .detail-content h2 { font-size: 24px; }
}
