:root {
  color-scheme: light;
  --ink: #302321;
  --sub: #6f5149;
  --muted: #735a51;
  --accent: #984428;
  --accent-dark: #7f351e;
  --paper: #fffaf3;
  --line: #e8d4c4;
  --biscuit: #f5e4d4;
  --chrome: rgba(255, 249, 241, .82);
  --radius: 16px;
  --space: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.52;
  color: var(--ink);
  background: #faf1e7;
}
*, *::before, *::after { box-sizing: border-box; }
::selection { color: #2f1b14; background: #f5c3a8; }
body {
  --gradient-height: 1167px;
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 17% 1%, #f6d8cc 0%, transparent 48%),
    radial-gradient(ellipse at 90% 6%, #f6e3cb 0%, transparent 41%),
    #faf4eb;
  background-repeat: no-repeat;
  background-size: auto min(100%, var(--gradient-height)), auto min(100%, var(--gradient-height)), auto;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.shell { width: min(100% - 44px, 1224px); margin-inline: auto; }
.topbar {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid rgba(136, 76, 55, .13);
}
.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--chrome);
  backdrop-filter: blur(22px) saturate(135%);
}
.top-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; font-size: 21px; font-weight: 750; letter-spacing: -.035em; }
.brand-mark { position: relative; width: 36px; height: 36px; background: var(--accent); border-radius: 12px; color: #fff8ef; flex: 0 0 auto; }
.brand-mark::before, .brand-mark::after {
  position: absolute; content: ""; width: 13px; height: 14px; border: 1.5px solid currentColor; border-radius: 3px; transform: rotate(-12deg);
}
.brand-mark::before { left: 10px; top: 9px; opacity: .58; }
.brand-mark::after { left: 14px; top: 13px; background: var(--accent); }
.nav { display: flex; gap: 7px; align-items: center; }
.nav a { min-height: 44px; min-width: 67px; padding: 10px 13px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; font-size: 15px; font-weight: 600; color: var(--sub); }
.nav a[aria-current="page"] { color: var(--accent-dark); background: #f7dfd0; }
.nav a:not([aria-current]):hover { background: #f6e6da; }
.nav-symbol { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 9px 17px;
  border: 1px solid transparent; border-radius: 10px;
  font-size: 15px; font-weight: 660; text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.primary { background: var(--accent); color: #fffaf5; }
.primary:hover { background: var(--accent-dark); }
.quiet { background: #fff8ee; color: var(--accent-dark); border-color: #ead1be; }
.quiet:hover { background: #f7e4d5; border-color: #d9b59f; }
main { padding-block: 20px 46px; }
.notice {
  display: flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 6px 10px 6px 15px; margin-bottom: 20px;
  border: 1px solid #e8cbb8; border-radius: 13px;
  background: rgba(255, 250, 243, .8);
  color: var(--ink);
}
.notice strong { white-space: nowrap; font-size: 14px; color: var(--accent-dark); }
.notice p { color: var(--sub); font-size: 14px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.notice .button { min-height: 36px; font-size: 14px; padding: 4px 10px; white-space: nowrap; }
.notice-close { align-self: stretch; min-width: 34px; min-height: 38px; border: 0; border-radius: 8px; background: transparent; font-size: 19px; color: var(--sub); line-height: 1; }
.notice-close:hover { background: #f5e3d7; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 62px);
  overflow: hidden; position: relative; align-items: center;
  min-height: 294px; padding: 30px clamp(23px, 4.4vw, 54px); border-radius: 22px;
  border: 1px solid #ecc8b6;
  background:
    radial-gradient(ellipse at 93% 0, #edb59e 0%, rgba(247, 194, 164, .60) 41%, transparent 75%),
    linear-gradient(105deg, #fff4e7, #f9ddcb 67%, #f6c9b7);
}
.hero h1 { font-size: clamp(30px, 3.65vw, 54px); line-height: 1.14; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
.hero p { max-width: 36ch; margin-top: 12px; color: var(--sub); font-size: 16px; }
.store-hero-single { grid-template-columns: minmax(0, 1fr); }
.store-copy { min-width: 0; }
.store-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 21px; }
.store-actions .primary strong { font-variant-numeric: tabular-nums; font-size: 18px; }
.store-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: end; gap: clamp(6px, 1.3vw, 16px); }
.store-preview {
  display: grid; min-width: 0; padding: 5px; overflow: hidden;
  border: 1px solid #fce7d8; border-radius: 13px; background: #fff5e9a0;
  box-shadow: 0 10px 20px #753d2b29; color: #53362b;
  transition: transform 160ms ease, background-color 160ms ease;
}
.store-preview:hover { transform: translateY(-3px); background: #fff5e9; }
.store-preview img { width: 100%; height: clamp(126px, 16vw, 198px); object-fit: cover; object-position: 50% 37%; border-radius: 8px; }
.store-preview span { display: block; min-width: 0; padding: 6px 3px 3px; font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-benefits {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px;
  margin-top: 16px; padding-block: 14px; border-block: 1px solid var(--line);
}
.store-benefits p { display: grid; align-content: start; gap: 3px; min-width: 0; padding-inline: 12px; }
.store-benefits p + p { border-left: 1px solid var(--line); }
.store-benefits p > span { color: var(--sub); font-size: 14px; }
.store-benefits button { justify-self: start; text-align: start; font-weight: 700; }
.search {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  max-width: 475px; min-height: 50px; margin-top: 21px; padding: 4px 4px 4px 12px;
  border: 1px solid #dec1ae; background: rgba(255, 252, 246, .88); border-radius: 13px;
}
.search:focus-within { border-color: var(--accent); }
.search input { flex: 1; width: 0; min-width: 0; color: var(--ink); padding: 6px 4px; border: 0; outline: none; background: transparent; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search .button { min-height: 40px; border-radius: 9px; padding-inline: 16px; }
.search-icon { position: relative; width: 14px; height: 14px; border: 1.7px solid var(--muted); border-radius: 50%; margin-right: 4px; flex: 0 0 14px; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 2px; border-radius: 1px; background: var(--muted); right: -5px; bottom: -2px; transform: rotate(49deg); }
.library { margin-top: 24px; }
.section-head { min-height: 42px; margin-bottom: 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.section-head h2, .page-header h1 { font-size: 27px; letter-spacing: -.028em; font-weight: 760; }
.section-head p { color: var(--muted); font-size: 14px; }
.resource-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.resource-card {
  --tile: #f4e0d3; --edge: #ead4c8;
  display: flex; align-items: center; gap: 12px;
  min-width: 0; min-height: 105px; padding: 14px;
  background: linear-gradient(138deg, var(--tile), #fffcf6 66%);
  border: 1px solid var(--edge); border-radius: var(--radius);
  transition: border-color 150ms ease, transform 150ms ease;
}
@media (hover: hover) {
  .resource-card:hover { transform: translateY(-2px); border-color: #c58e73; }
}
.tone-rose { --tile: #f6dfdf; --edge: #ead3d5; }
.tone-sage { --tile: #e4eee1; --edge: #d8e6d8; }
.tone-lilac { --tile: #e8e1f4; --edge: #e4daed; }
.tone-blue { --tile: #dfebf1; --edge: #d8e5ea; }
.tone-honey { --tile: #f5e7c7; --edge: #ecdfbd; }
.thumb {
  display: grid; place-items: center; flex: 0 0 60px; width: 60px; height: 60px; overflow: hidden;
  border: 1px solid rgba(110, 68, 51, .08); border-radius: 12px;
  background: rgba(255,250,241,.78); color: #603b2c; font-size: 16px; font-weight: 650;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.resource-card[data-icon="true"] .thumb img { object-fit: contain; padding: 5px; }
.card-text { min-width: 0; }
.card-text strong { display: block; font-size: 16px; line-height: 1.36; overflow-wrap: anywhere; font-weight: 730; }
.card-text span { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 4px; }
.empty { padding: 26px; color: var(--sub); border-block: 1px solid var(--line); }
.page-header { padding-block: 6px 17px; }
.page-header p { color: var(--sub); margin-top: 4px; }
.page-header .search { max-width: 540px; margin-top: 12px; }
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; margin: 3px 0 15px; }
.crumb a { color: var(--accent-dark); }
.crumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 330px); align-items: start; gap: 24px; }
.detail-main { min-width: 0; }
.detail-intro { padding: 22px 24px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fffaf2b8; }
.detail-intro h1 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 810; line-height: 1.15; letter-spacing: -.035em; }
.detail-intro p { white-space: pre-line; margin-top: 10px; color: var(--sub); }
.detail-meta { margin-top: 12px; display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 14px; color: #783c2b; background: #f4e1d5; }
.detail-gallery {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin-top: 15px; min-height: 260px;
  border-radius: var(--radius); border: 1px solid #e7cabb;
  background: radial-gradient(ellipse at 50% 25%, #f8e1ce, #ebc1af);
  padding: 17px; overflow: hidden;
}
.detail-gallery img { width: auto; max-width: calc((100% - 32px) / 3); height: clamp(180px, 27.4vw, 340px); border-radius: 13px; object-fit: contain; }
.detail-gallery img:only-child { max-width: 100%; }
.detail-gallery.images-single img { width: 140px; height: 140px; border: 1px solid rgba(118,74,56,.10); background: #fff4e9; border-radius: 16px; padding: 3px; }
.tutorial-box {
  display: flex; width: 100%; gap: 13px; align-items: center; padding: 14px 17px; margin-top: 14px; min-height: 68px; text-align: left;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fffbf5b0; color: var(--ink);
}
.tutorial-box:hover { background: #fffaf2; border-color: #ceac98; }
.tutorial-caption { font-size: 14px; color: var(--sub); }
.play-mark, .lock-mark { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 11px; background: #f4dcd0; color: var(--accent-dark); }
.play-mark::before { content: ""; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent currentColor; margin-left: 2px; }
.side-panel { border: 1px solid #e6c5b3; border-radius: var(--radius); padding: 21px; background: #fff7ee; }
.side-panel h2 { font-size: 21px; margin-top: 9px; }
.side-panel p { color: var(--sub); margin-top: 5px; font-size: 15px; }
.side-panel .button { width: 100%; margin-top: 15px; }
.lock-mark { position: relative; }
.lock-mark::before { content: ""; width: 13px; height: 11px; margin-top: 5px; border: 1.6px solid currentColor; border-radius: 2px; }
.lock-mark::after { content: ""; position: absolute; top: 9px; width: 8px; height: 8px; border: 1.6px solid currentColor; border-bottom: none; border-radius: 6px 6px 0 0; }
.narrow { width: min(100%, 484px); margin: 24px auto; }
.form-panel { padding: 22px; background: #fffbf5; border: 1px solid var(--line); border-radius: var(--radius); }
.form-panel h1 { font-size: 27px; }
.form-panel p { color: var(--sub); margin-top: 6px; }
.field { display: grid; gap: 6px; margin-top: 16px; font-weight: 650; }
.field :is(input, select, textarea) { min-width: 0; width: 100%; padding: 10px 12px; border: 1px solid #d8bca9; border-radius: 8px; background: #fffdf8; color: var(--ink); }
.mail-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.form-panel form > .button { width: 100%; margin-top: 17px; }
.form-notice { font-size: 14px; min-height: 20px; color: var(--sub); }
.sitefoot { border-top: 1px solid var(--line); padding-block: 17px 22px; display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }
dialog { width: min(calc(100% - 30px), 410px); border: 1px solid var(--line); border-radius: 17px; padding: 22px; color: var(--ink); background: #fffaf2; }
dialog::backdrop { background: #331e1859; backdrop-filter: blur(4px); }
dialog h2 { font-size: 22px; margin-bottom: 8px; }
dialog p { color: var(--sub); }
dialog form { margin-top: 15px; }
dialog form[method="dialog"] .button { width: 100%; }
.checkout-layout {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,380px); align-items: start; gap: 18px;
  max-width: 920px;
}
.checkout-summary {
  padding: clamp(20px,4vw,38px); min-width: 0; border: 1px solid #ecc8b6; border-radius: 19px;
  background: linear-gradient(135deg,#fff3e5,#f7dccb);
}
.checkout-summary h1 { font-size: clamp(26px,3.4vw,42px); line-height: 1.15; letter-spacing: -.035em; }
.checkout-summary p { margin-top: 10px; color: var(--sub); }
.checkout-summary dl { margin: 22px 0 19px; }
.checkout-summary dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 14px; padding-block: 9px; border-top: 1px solid #e5c3af; }
.checkout-summary dt { color: var(--sub); }
.checkout-summary dd { margin: 0; font-weight: 660; }
.checkout-summary > button { min-height: 38px; }
.checkout-panel { min-width: 0; }
.checkout-price, .checkout-method { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 5px 12px; }
.checkout-price > span, .checkout-method > span { color: var(--sub); }
.checkout-price strong { color: var(--accent-dark); font-size: 31px; line-height: 1.12; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.checkout-panel .checkout-demo { padding: 9px 10px; margin-top: 13px; border-radius: 8px; background: #f5e6d7; }
.checkout-panel .checkout-state, .checkout-panel .checkout-active { margin-top: 15px; }
.checkout-panel .checkout-active { color: #426037; font-weight: 700; }
#checkout-order { margin-top: 14px; }
.checkout-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; min-width: 0; padding: 0; margin: 0; border: 0; }
.checkout-channels legend { margin-bottom: 8px; padding: 0; font-weight: 700; }
.checkout-channel {
  display: flex; align-items: center; gap: 5px; min-height: 44px; padding: 7px 8px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--paper); cursor: pointer; font-size: 14px;
}
.checkout-channel:has(:checked) { border-color: var(--accent); background: #f7dfd0; }
.checkout-channel input { flex: 0 0 auto; margin: 0; accent-color: var(--accent); }
.checkout-panel [data-action="change-payment"] { margin-top: 12px; min-height: 36px; }
#footer-support { min-height: 36px; margin-left: 16px; }
@media (max-width: 1000px) {
  .shell { width: min(100% - 36px, 1224px); }
  .resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero h1 { font-size: 37px; }
  .detail-layout { grid-template-columns: minmax(0,1fr) minmax(225px, 280px); gap: 16px; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 28px); }
  .top-inner { min-height: 59px; gap: 10px; }
  .brand { font-size: 19px; gap: 9px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 10px; }
  .brand-mark::before { left: 8px; top: 7px; }
  .brand-mark::after { left: 12px; top: 11px; }
  .header-actions .button { padding: 6px 12px; min-height: 38px; }
  .nav {
    position: fixed; bottom: max(8px, env(safe-area-inset-bottom)); inset-inline: 12px;
    z-index: 8; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 5px; gap: 3px; border: 1px solid #ead3c4;
    border-radius: 19px; background: rgba(255, 248, 239, .94); backdrop-filter: blur(20px);
  }
  .nav a { min-width: 0; min-height: 49px; flex-direction: column; gap: 3px; padding: 4px 2px; font-size: 13px; }
  .nav a[aria-current="page"] { color: #fffaf4; background: var(--accent); }
  .nav-symbol { display: block; position: relative; width: 15px; height: 15px; }
  .nav-symbol::before, .nav-symbol::after { content: ""; position: absolute; }
  .nav-symbol.home::before { inset: 5px 2px 1px; border: 1.35px solid currentColor; border-top: 0; border-radius: 0 0 3px 3px; }
  .nav-symbol.home::after { top: 1px; left: 3px; width: 9px; height: 9px; border-left: 1.35px solid; border-top: 1.35px solid; border-radius: 2px 0 0; transform: rotate(45deg); }
  .nav-symbol.books::before { inset: 1px 3px 2px 1px; border: 1.35px solid currentColor; border-radius: 3px; }
  .nav-symbol.books::after { inset: 4px 0 0 5px; border-right: 1.35px solid currentColor; border-bottom: 1.35px solid currentColor; border-radius: 0 0 3px; }
  .nav-symbol.video::before { inset: 2px 0; border: 1.35px solid currentColor; border-radius: 3px; }
  .nav-symbol.video::after { left: 6px; top: 5px; border-style: solid; border-width: 2.5px 0 2.5px 4px; border-color: transparent transparent transparent currentColor; }
  .nav-symbol.user::before { width: 7px; height: 7px; top: 1px; left: 4px; border: 1.35px solid currentColor; border-radius: 50%; }
  .nav-symbol.user::after { inset: 9px 1px 0; border: 1.35px solid currentColor; border-radius: 7px 7px 2px 2px; }
  main { padding-block: 12px 25px; }
  .notice { margin-bottom: 12px; gap: 7px; min-height: 45px; padding: 4px 5px 4px 10px; }
  .notice p { min-width: 0; font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .notice strong { font-size: 13px; }
  .notice .button { min-height: 34px; font-size: 13px; padding-inline: 7px; }
  .notice-close { min-height: 36px; min-width: 28px; }
  .hero { display: block; min-height: 0; padding: 17px 15px 15px; border-radius: 16px; }
  .hero h1 { font-size: 26px; text-wrap: initial; }
  .hero p { font-size: 14px; margin-top: 6px; }
  .store-actions { margin-top: 13px; }
  .store-gallery { margin-top: 16px; }
  .store-preview img { height: clamp(86px, 31vw, 160px); }
  .store-preview span { font-size: 12px; }
  .store-benefits p { padding-inline: 7px; }
  .store-benefits strong, .store-benefits button { font-size: 14px; }
  .store-benefits p > span { font-size: 12px; }
  .search input { font-size: 16px; }
  .library { margin-top: 17px; }
  .section-head { margin-bottom: 8px; min-height: 32px; gap: 7px; }
  .section-head h2, .page-header h1 { font-size: 23px; }
  .section-head p { font-size: 13px; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .resource-card { min-height: 86px; padding: 9px; gap: 8px; border-radius: 13px; }
  .thumb { flex-basis: 42px; width: 42px; height: 42px; border-radius: 9px; font-size: 13px; }
  .card-text strong { font-size: 14px; }
  .card-text span { font-size: 12px; }
  .detail-layout { display: flex; flex-direction: column; gap: 12px; }
  .detail-main, .detail-layout .side-panel { width: 100%; }
  .detail-intro, .side-panel { padding: 15px; }
  .detail-gallery { min-height: 0; padding: 11px; gap: 8px; }
  .detail-gallery img { width: auto; max-width: calc((100% - 16px) / 3); height: clamp(134px, 45vw, 276px); }
  .detail-gallery img:only-child { max-width: 100%; }
  .side-panel { order: 2; }
  .checkout-layout { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .sitefoot { padding-bottom: 90px; font-size: 13px; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 20px); }
  .resource-card { padding: 7px; gap: 6px; }
  .thumb { width: 36px; height: 36px; flex-basis: 36px; }
  .card-text span { line-height: 1.35; }
  .hero h1 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

body { min-width: 280px; }
button:disabled { opacity: .67; cursor: wait; }
.primary:disabled:hover { background-color: var(--accent); }
.quiet:disabled:hover { background-color: #fff8ee; border-color: #ead1be; }
[role="status"]:empty { display: none; }
.header-actions { margin-left: auto; }
.top-inner { position: relative; }
.top-inner > .nav { position: absolute; left: calc(50% - 3px); transform: translateX(-50%); }
.search-anchor { scroll-margin-top: 86px; }
.resource-card[aria-disabled="true"] { cursor: default; }
.text-link { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.crumb span:last-child, .side-panel p, .listing p, .dialog-body, .admin-block p { overflow-wrap: anywhere; }
.detail-side { min-width: 0; width: 100%; }
.detail-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; margin: 8px 2px 0; }
.detail-actions :is(a, button) { min-height: 36px; display: inline-flex; align-items: center; font-size: 14px; }
.link-button { padding: 0; color: var(--accent-dark); background: none; border: 0; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-actions .button { width: auto; margin-top: 0; }
.downloads { padding: 0; margin: 10px 0 0; list-style: none; }
.downloads .button { margin-top: 8px; }
.downloads .inactive-download { display: block; color: var(--muted); font-size: 14px; margin-top: 8px; overflow-wrap: anywhere; }
.inline-message, .form-notice { margin-top: 12px; color: var(--sub); font-size: 14px; }
.inline-message:focus-visible { outline-offset: 2px; }
.error-text { color: var(--accent-dark); }
.group-qr { width: min(100%, 240px); margin: 14px auto; border-radius: 10px; }
.dialog-body { display: grid; gap: 8px; }
.dialog-body p, .dialog-body a { white-space: pre-line; }
.guide-layout { max-width: 900px; }
.guide-media, .guide-copy { margin-top: 15px; }
.guide-media { background: #271a17; border-radius: var(--radius); }
.guide-media video { display: block; width: 100%; max-height: min(66vh, 680px); border-radius: inherit; }
.guide-copy, .listing, .admin-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: #fffaf3c9; }
.guide-copy p { white-space: pre-line; color: var(--sub); margin-block: 0 10px; }
.guide-copy p:last-child { margin-bottom: 0; }
.guide-source { margin-top: 12px; }
.account-panels { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 16px; }
.account-panels h2, .listing h2, .admin-block h2 { font-size: 21px; margin-top: 0; }
.account-panels p { overflow-wrap: anywhere; }
.account-panels .secondary-link { margin-top: 12px; display: inline-block; }
.listing { margin-top: 18px; }
.report-list, .admin-list { margin: 8px 0 0; padding: 0; list-style: none; }
.report-list li, .admin-list li { padding-block: 12px; border-top: 1px solid var(--line); }
.report-list li:first-child, .admin-list li:first-child { border-top: 0; }
.report-summary { display: flex; align-items: baseline; gap: 7px 14px; justify-content: space-between; flex-wrap: wrap; }
.report-summary strong { overflow-wrap: anywhere; }
.report-status { color: var(--accent-dark); font-size: 14px; }
.report-list p { color: var(--sub); white-space: pre-line; }
.report-list time { color: var(--muted); font-size: 13px; }
.admin-screen { max-width: 1000px; }
.admin-layout { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr); align-items: start; gap: 16px; }
.admin-layout .admin-block { min-width: 0; }
.admin-list { max-height: 480px; overflow-y: auto; margin-top: 12px; }
.admin-list li { padding-block: 5px; }
.admin-list .button { display: flex; justify-content: space-between; text-align: left; width: 100%; }
.admin-list .button strong { min-width: 0; overflow-wrap: anywhere; }
.admin-list .button span { flex: 0 0 auto; font-size: 13px; }
.admin-block > .button, .admin-block form > .button { margin-top: 12px; }
.admin-info { color: var(--sub); margin-top: 6px; }
.admin-block h3 { font-size: 17px; }
.admin-block .field > span { font-weight: 650; }
.field textarea { resize: vertical; }
.field [readonly] { background: #f4e8dc; }
.admin-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.admin-downloads { margin-top: 16px; }
.download-editor { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 9px; margin-top: 10px; }
.download-editor .field { margin-top: 8px; }
.download-editor .remove-download { display: inline-block; margin-top: 8px; padding: 4px 0; }
.inline-check { display: flex; align-items: center; gap: 8px; margin-block: 16px 10px; }
.inline-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.admin-submit { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 16px; }
.admin-details { margin-top: 18px; }
.admin-details > summary { cursor: pointer; font-weight: 700; }
@media (max-width: 680px) {
  body { --gradient-height: 1431px; }
  .top-inner > .nav { position: fixed; left: 12px; transform: none; }
  .notice p { overflow: visible; white-space: normal; line-height: 1.3; overflow-wrap: anywhere; }
  .detail-actions { justify-content: flex-start; }
  .account-panels, .admin-layout { grid-template-columns: minmax(0, 1fr); }
  .guide-copy, .listing, .admin-block { padding: 15px; }
  .admin-list { max-height: 230px; }
  .search-anchor { scroll-margin-top: 74px; }
}
@media (max-width: 410px) {
  .admin-columns { grid-template-columns: minmax(0, 1fr); }
}
