/*
 * Explore Vietnam area + shared header.
 * Explore pages use a clean pale-blue page with real photos; lesson pages keep the notebook look.
 */
:root {
  --sky: #eaf4fd;
  --sky-2: #f6fbff;
  --sky-deep: #1d5fa8;
  --sky-ink: #12304f;
  --card: #ffffff;
  --card-line: #d6e7f7;
  --soft-shadow: 0 1px 2px rgba(18, 48, 79, .06), 0 10px 28px -14px rgba(18, 48, 79, .25);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sky: #0f2133; --sky-2: #13283d; --sky-deep: #8ec9ff; --sky-ink: #e6f1fc;
    --card: #172d43; --card-line: #26445f; --soft-shadow: 0 10px 28px -16px rgba(0, 0, 0, .6);
  }
}
:root[data-theme="dark"] {
  --sky: #0f2133; --sky-2: #13283d; --sky-deep: #8ec9ff; --sky-ink: #e6f1fc;
  --card: #172d43; --card-line: #26445f; --soft-shadow: 0 10px 28px -16px rgba(0, 0, 0, .6);
}

/* ---------- header: brand, language switch, navigation ---------- */
.topbar { flex-wrap: wrap; row-gap: 6px; }
.topbar-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang-switch { display: inline-flex; border: 1.5px solid var(--card-line); border-radius: 999px; overflow: hidden; background: var(--card); }
.lang-switch button {
  border: none; background: transparent; padding: 5px 11px; font: 600 13px var(--f-body, system-ui); color: var(--muted); cursor: pointer;
}
.lang-switch button.on { background: var(--sky-deep); color: #fff; }
.menu-toggle { display: none; border: 1.5px solid var(--card-line); background: var(--card); border-radius: 10px; width: 38px; height: 34px; font-size: 18px; cursor: pointer; color: var(--sky-ink); }
.topnav { order: 3; flex-basis: 100%; display: flex; gap: 2px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.topnav::-webkit-scrollbar { display: none; }
.topnav a { flex: none; white-space: nowrap; font-size: 14px; }
.topnav .nav-search span { display: none; }
@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  .topnav { display: none; flex-direction: column; gap: 2px; padding: 8px 0 4px; }
  body.menu-open .topnav { display: flex; animation: rise .25s ease both; }
  .topnav a { padding: 10px 12px; border-radius: 10px; font-size: 15px; }
  .topnav .nav-search span { display: inline; }
}

/* ---------- Explore area page ---------- */
body[data-area="explore"] {
  background: linear-gradient(180deg, var(--sky) 0, var(--sky-2) 520px, var(--sky-2) 100%);
  background-attachment: scroll;
}
body[data-area="explore"] .container { max-width: 1180px; }
body[data-area="explore"] h1, body[data-area="explore"] h2, body[data-area="explore"] h3 { color: var(--sky-ink); }

.xhead { padding: 22px 0 14px; }
.xhead h1 { margin: 0 0 6px; font-family: var(--f-display); font-size: clamp(26px, 4vw, 38px); text-wrap: balance; }
.xhead p { margin: 0; color: var(--muted); max-width: 65ch; }

/* hero with the ao dai illustration */
.xhero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: center; padding: 18px 0 30px; }
.xkicker { font-family: var(--f-hand); font-size: 21px; color: var(--sky-deep); margin: 0 0 4px; }
.xhero h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 5vw, 54px); line-height: 1.08; margin: 0 0 14px; color: var(--sky-ink); text-wrap: balance; }
.xlead { font-size: 17px; line-height: 1.7; color: var(--text); max-width: 60ch; }
.xhero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.xhero-art { margin: 0; }
.xhero-art img {
  width: 100%; height: auto; display: block; border-radius: 28px;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
  animation: floatArt 9s ease-in-out infinite;
}
@keyframes floatArt { 50% { transform: translateY(-6px); } }
@media (max-width: 820px) {
  .xhero { grid-template-columns: 1fr; gap: 6px; padding-top: 6px; }
  .xhero-art { order: -1; }
}

/* search */
.xsearch { display: flex; gap: 8px; max-width: 560px; }
.xsearch input {
  flex: 1; min-width: 0; font: 16px var(--f-body); padding: 11px 16px; border-radius: 999px;
  border: 1.5px solid var(--card-line); background: var(--card); color: var(--text);
}
.xsearch input:focus { outline: 3px solid color-mix(in srgb, var(--sky-deep) 25%, transparent); border-color: var(--sky-deep); }
.xsearch.big { max-width: 720px; margin-bottom: 14px; }

/* sections */
.xsection { margin: 26px 0 34px; }
.xsection > h2, .xsection-head h2 { font-family: var(--f-display); font-size: 23px; margin: 0 0 14px; }
.xsection-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.xsection-head a { color: var(--sky-deep); font-weight: 600; text-decoration: none; }

/* cards */
.xgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.xgrid.six { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.xcard {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--card-line); border-radius: 18px;
  overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--soft-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
a.xcard:hover { transform: translateY(-4px); box-shadow: 0 16px 34px -16px rgba(18, 48, 79, .45); }
a.xcard:hover .ph img { transform: scale(1.05); }
.xcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.xcard-body h3 { margin: 0; font-family: var(--f-display); font-size: 17px; line-height: 1.3; }
.xcard-body p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.xgrid.six .xcard-body { padding: 10px 12px 12px; }
.xgrid.six .xcard-body h3 { font-size: 15px; }

/* photos */
.ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: color-mix(in srgb, var(--sky-deep) 10%, var(--card)); max-width: 100%; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.ph.wide { aspect-ratio: 21 / 9; border-radius: 20px; }
.ph.small { aspect-ratio: 1; width: 64px; flex: none; border-radius: 12px; }
.ph-empty { display: grid; place-items: center; color: var(--muted); font-size: 13px; text-align: center; padding: 8px;
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--sky-deep) 7%, var(--card)) 0 10px, var(--card) 10px 20px); }
.ph.small.ph-empty span { font-size: 0; } .ph.small.ph-empty span::first-letter { font-size: 22px; }
.lesson-ph { display: grid; place-items: center; font-size: 26px; }
.credit { font-size: 12px; color: var(--muted); margin: 6px 2px 12px; }
.credit a { color: inherit; }

/* tags, pills, chips */
.tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--sky-deep); background: color-mix(in srgb, var(--sky-deep) 10%, transparent); padding: 2px 9px; border-radius: 999px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.pill { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px; margin: 4px 0; }
.pill-draft { background: #fff3cd; color: #7a5600; }
.pill-spec { background: #dff3e6; color: #1d6b3d; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.chip {
  border: 1.5px solid var(--card-line); background: var(--card); color: var(--sky-ink); border-radius: 999px;
  padding: 6px 14px; font: 500 14px var(--f-body); cursor: pointer; text-decoration: none; transition: background .2s, border-color .2s;
}
.chip:hover { border-color: var(--sky-deep); }
.chip.on { background: var(--sky-deep); border-color: var(--sky-deep); color: #fff; }
.chip:disabled { opacity: .55; cursor: not-allowed; }

/* filters */
.xfilters { display: grid; gap: 8px; background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; padding: 16px; margin-bottom: 14px; box-shadow: var(--soft-shadow); }
.flabel { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 4px; }
.xfilters select.text { max-width: 320px; }

/* facts */
.xfacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 12px 0; }
.xfacts > div { background: var(--card); border: 1px solid var(--card-line); border-radius: 14px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.xfacts span { font-size: 12.5px; color: var(--muted); }
.xfacts b { font-size: 16px; color: var(--sky-ink); }
.muted { color: var(--muted); } .small { font-size: 13.5px; }

/* article */
.xarticle { background: var(--card); border: 1px solid var(--card-line); border-radius: 24px; padding: 18px; box-shadow: var(--soft-shadow); }
.xarticle h1 { font-family: var(--f-display); font-size: clamp(26px, 4vw, 38px); margin: 10px 0 2px; }
.xarticle h2 { font-family: var(--f-display); font-size: 20px; margin-top: 22px; }
.xalt { color: var(--muted); margin: 0 0 10px; }
.note { font-size: 13.5px; color: var(--muted); border-left: 3px solid #f0c24b; padding: 6px 12px; background: color-mix(in srgb, #f0c24b 10%, transparent); border-radius: 0 10px 10px 0; }
.related h3, .sources h3 { font-family: var(--f-display); font-size: 16px; margin: 18px 0 6px; }
.sources ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.7; }
.sources a { color: var(--sky-deep); }
@media (min-width: 900px) { .xarticle { padding: 26px 30px; } }

/* list rows (cuisine on home, search results) */
.xlist { display: grid; gap: 10px; }
.xrow { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--card-line); border-radius: 16px; padding: 10px 12px; text-decoration: none; color: var(--text); transition: transform .2s, border-color .2s; }
.xrow:hover { transform: translateX(4px); border-color: var(--sky-deep); }
.xrow b { display: block; font-family: var(--f-display); color: var(--sky-ink); }
.xrow span { font-size: 14px; color: var(--muted); }
.xrow > div:last-child { min-width: 0; }

/* cuisine band with the food illustration */
.xfood { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.xfood-art img, .xbanner img { width: 100%; height: auto; display: block; border-radius: 24px; box-shadow: var(--soft-shadow); }
.xbanner { margin: 0 0 18px; }
.xbanner img { max-height: 380px; object-fit: cover; }
.xbanner figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
@media (max-width: 820px) { .xfood { grid-template-columns: 1fr; } }

/* learn teaser */
.xlearn { background: linear-gradient(120deg, color-mix(in srgb, var(--sky-deep) 14%, var(--card)), var(--card)); border: 1px solid var(--card-line); border-radius: 24px; padding: 24px; }
.xlearn h2 { font-family: var(--f-display); margin: 0 0 8px; }
.xstats b { font-size: 22px; color: var(--sky-deep); }

/* guide */
.xguide { display: grid; gap: 14px; }
.xguide-item { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--soft-shadow); }
.xguide-item h3 { margin: 0 0 4px; font-family: var(--f-display); }
.xguide-item p { margin: 0; }
.xicon { font-size: 30px; line-height: 1; }

.xnav-tiles { display: flex; flex-wrap: wrap; gap: 10px; }
.empty { padding: 30px 0; color: var(--muted); }

/* lesson explanation language selector on the Learn page */
.explain-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; }
.explain-lang .chip { margin: 0; padding: 4px 12px; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  .xhero-art img { animation: none; }
  .xcard, .ph img, .xrow { transition: none; }
}

.xcard-body .tag, .xarticle > .tag { align-self: flex-start; }
.ph.art img { transform-origin: center; }

/* ---------- v23: Explore – Learn – Share ---------- */

/* skip link (keyboard users) */
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--sky-deep); color: #fff; padding: 8px 14px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 10px; }
#app:focus { outline: none; }

/* four-item menu sits on the same row as the logo on wide screens */
@media (min-width: 1000px) {
  .topnav { order: 2; flex: 1 1 auto; flex-basis: auto; justify-content: center; padding-bottom: 0; }
  .topbar-right { order: 3; margin-left: 0; }
  .topnav a { font-size: 15px; font-weight: 500; }
}

/* hero slogan */
.xslogan { font-family: var(--f-display); font-size: clamp(19px, 2.3vw, 24px); font-weight: 600; color: var(--sky-deep); margin: 0 0 8px; line-height: 1.4; text-wrap: balance; }
.xsubline { margin: 0; color: var(--muted); font-size: 15.5px; letter-spacing: .01em; }

/* three pillars */
.xpillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.xpillar .xcard-body { gap: 8px; padding: 16px 18px 18px; flex: 1; }
.xpillar h2 { margin: 0; font-family: var(--f-display); font-size: 20px; color: var(--sky-ink); }
.xmore { margin-top: auto; color: var(--sky-deep); font-weight: 600; font-size: 14.5px; }
@media (max-width: 820px) { .xpillars { grid-template-columns: 1fr; } }

.xgrid.four { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.xgrid.three { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.xlessons { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin-top: 12px; }
.xlessons .lesson-ph { font: 700 20px var(--f-display); color: var(--sky-deep); }

/* Explore second-level tabs */
.xtabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 0 2px; margin-bottom: 4px; border-bottom: 1px solid var(--card-line); }
.xtabs::-webkit-scrollbar { display: none; }
.xtabs a { flex: none; white-space: nowrap; text-decoration: none; color: var(--muted); font-size: 14px; padding: 8px 12px; border-bottom: 2.5px solid transparent; }
.xtabs a:hover { color: var(--sky-ink); }
.xtabs a.on { color: var(--sky-deep); border-bottom-color: var(--sky-deep); font-weight: 600; }
a.chip { display: inline-block; }
.chip.static { cursor: default; }
.chip.static:hover { border-color: var(--card-line); }

/* stories */
.xstories-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 22px 0 8px; }
.xstories-hero h1 { font-family: var(--f-display); font-size: clamp(28px, 4.4vw, 44px); line-height: 1.15; margin: 0 0 12px; text-wrap: balance; }
.ph.round { border-radius: 28px; aspect-ratio: 4 / 3; box-shadow: var(--soft-shadow); }
@media (max-width: 820px) { .xstories-hero { grid-template-columns: 1fr; } .xstories-hero .ph.round { order: -1; aspect-ratio: 16 / 9; } }
.ph-story { display: grid; place-items: center; font-size: 40px; background: linear-gradient(135deg, color-mix(in srgb, var(--sky-deep) 16%, var(--card)), var(--card)); }
.xempty { text-align: center; background: var(--card); border: 1.5px dashed var(--card-line); border-radius: 22px; padding: 30px 20px; }
.xempty span { font-size: 38px; }
.xempty p { color: var(--muted); max-width: 46ch; margin: 8px auto 16px; }

/* story form */
.xform { max-width: 760px; }
.xform form { display: grid; gap: 14px; margin-top: 14px; }
.field { display: grid; gap: 5px; }
.field > label { font-weight: 600; color: var(--sky-ink); font-size: 15px; }
.field input[type="text"], .field input[type="email"], .field textarea, .field select {
  font: 16px var(--f-body); padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--card-line); background: var(--card); color: var(--text); width: 100%; box-sizing: border-box;
}
.field textarea { resize: vertical; line-height: 1.6; min-height: 180px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid color-mix(in srgb, var(--sky-deep) 25%, transparent); border-color: var(--sky-deep); }
.field input[type="file"] { font-size: 14px; }
.hint { color: var(--muted); font-size: 13px; }
.err { color: #b42318; font-size: 13.5px; min-height: 0; }
.err:empty { display: none; }
.field.invalid input, .field.invalid textarea { border-color: #d92d20; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--sky-deep); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.form-actions #clearDraft { margin-left: auto; }
.form-result { margin: 0; font-size: 14.5px; padding: 0; }
.form-result.bad, .form-result.info { padding: 10px 14px; border-radius: 12px; }
.form-result.bad { background: color-mix(in srgb, #d92d20 10%, transparent); color: #b42318; }
.form-result.info { background: color-mix(in srgb, var(--sky-deep) 10%, transparent); color: var(--sky-ink); }

/* chibi dish illustrations (only shown when files exist) */
.xcard { position: relative; }
.xcard > .chibi { position: absolute; right: 10px; top: 10px; width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .18)); }
.xarticle h1 .chibi { width: 56px; height: 56px; vertical-align: middle; margin-right: 8px; object-fit: contain; }

/* about */
.xabout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 30px; align-items: center; padding: 22px 0 6px; }
.xabout h1 { font-family: var(--f-display); font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; }
.xabout-text p { line-height: 1.75; max-width: 64ch; }
.xclosing { font-family: var(--f-display); font-weight: 700; font-size: 19px; color: var(--sky-deep); }
.xabout-art { margin: 0; }
.xabout-art img { width: 100%; height: auto; display: block; border-radius: 28px;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); }
@media (max-width: 820px) { .xabout { grid-template-columns: 1fr; } .xabout-art { order: -1; max-width: 520px; } }
.xvalues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.xvalue { display: flex; flex-direction: column; gap: 4px; background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; padding: 16px 18px; text-decoration: none; color: var(--text); box-shadow: var(--soft-shadow); transition: transform .2s; }
.xvalue:hover { transform: translateY(-3px); }
.xvalue span { font-size: 26px; }
.xvalue b { font-family: var(--f-display); font-size: 18px; color: var(--sky-ink); }
.xvalue small { color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 700px) { .xvalues { grid-template-columns: 1fr; } }
.xdetails summary { cursor: pointer; font-weight: 600; color: var(--sky-deep); }
.xdetails[open] summary { margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) { .xvalue { transition: none; } }

/* Learn pillar: typographic tile instead of a photo */
.ph-learn { display: grid; place-content: center; text-align: center; gap: 6px;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, #f0c24b 30%, transparent), transparent 55%), linear-gradient(135deg, color-mix(in srgb, var(--sky-deep) 22%, var(--card)), var(--card)); }
.ph-learn b { font-family: var(--f-hand); font-size: clamp(34px, 4.4vw, 48px); color: var(--sky-ink); line-height: 1; }
.ph-learn span { font-family: var(--f-display); font-size: 17px; letter-spacing: .18em; color: var(--sky-deep); }

/* ---------- v24: QiQiVnese logo + brand ---------- */
.brand { gap: 10px; }
.brand-logo { width: 44px; height: 44px; border-radius: 12px; background: #fff; object-fit: contain; flex: none; box-shadow: 0 2px 8px rgba(18, 48, 79, .12); }
.brand:hover .brand-logo { animation: wiggle .5s ease; }
.brand-text { line-height: 1.1; }
.brand-name { display: block; font-family: var(--f-display); font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.brand-name b { font-weight: 800; }
.brand-name .bq { color: #d62828; }
.brand-name .bv { color: #e8961e; }
.brand-name .bn { color: #1f6fbf; }
.brand-text small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) {
  .brand-logo { width: 38px; height: 38px; }
  .brand-name { font-size: 19px; }
  .brand-text small { display: block; font-size: 10px; letter-spacing: .05em; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-name .bq { color: #ff7a7a; }
  :root:not([data-theme="light"]) .brand-name .bn { color: #8ec9ff; }
}

/* chibi badges on dish cards, chibi as the image when a dish has no photo */
.xcard > .chibi { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; background: #fff;
  top: auto; bottom: auto; right: 10px; margin-top: -48px; position: relative; z-index: 1; align-self: flex-end; filter: none; box-shadow: 0 4px 12px rgba(18, 48, 79, .2); }
.xarticle h1 .chibi { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--card-line); }
.ph-chibi { background: #eaf3fb; }
.ph-chibi img { object-fit: contain; }

/* About: full logo, no soft mask */
.xabout-logo img { -webkit-mask-image: none; mask-image: none; max-width: 420px; margin: 0 auto; border-radius: 28px; box-shadow: var(--soft-shadow); }

/* five-item menu: a little tighter on mid-size screens */
@media (min-width: 1000px) and (max-width: 1180px) { .topnav a { font-size: 14px; padding: 6px 9px; } }

/* ---------- v26: story API form states + moderation page ---------- */
.form-result.ok { padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, #16a34a 12%, transparent); color: #14532d; font-weight: 600; }
.turnstile-box { min-height: 65px; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.danger { color: #b42318; border-color: color-mix(in srgb, #d92d20 45%, transparent); }
.xadmin { max-width: 900px; margin: 18px auto; }
.xadmin h1 { font-family: var(--f-display); font-size: 28px; margin: 0 0 10px; }
.xadmin-item { margin: 14px 0; }
.xadmin-item h2 { margin: 6px 0; font-family: var(--f-display); font-size: 20px; }
.xadmin-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.xadmin-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; background: var(--sky-2); border: 1px solid var(--card-line); border-radius: 12px; padding: 12px 14px; margin: 10px 0; max-height: 360px; overflow: auto; }
.xadmin-img img { max-width: 100%; max-height: 320px; border-radius: 12px; display: block; }
