/* Dune Jar: theme hoàng hôn đụn cát + giấy kem (màu lấy từ DESIGN.md của game) */
@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/BeVietnamPro-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/BeVietnamPro-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/BeVietnamPro-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --sky-top: #2b2a45;
  --sky-mid: #7a4e5e;
  --sky-low: #e09a6b;
  --paper: rgba(255, 248, 238, 0.94);
  --paper-line: rgba(255, 255, 255, 0.7);
  --ink: #3a2e26;
  --body: #5b4a3f;
  --muted: #8a7464;
  --label: #a08670;
  --sun: #c27a2c;
  --cream: #fff8ee;
  --cream-2: #fbe7d8;
  --cream-muted: #e6c3b4;
  --gold-a: #eda24e;
  --gold-b: #f8d58e;
  --lotus: #d98c8a;
  --teal: #2e7a74;
  --radius: 22px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 600;
  line-height: 1.6;
  color: var(--cream);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 42%, var(--sky-low) 78%, #f0b88a 100%) fixed;
  -webkit-font-smoothing: antialiased;
}

/* đụn cát nhiều lớp ở chân trang (SVG trong HTML) */
.dunes { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; height: 34vh; z-index: -1; pointer-events: none; }
.sun { position: fixed; z-index: -2; left: 50%; top: 52vh; width: 34vmin; height: 34vmin; margin-left: -17vmin; border-radius: 50%;
  background: radial-gradient(circle, #ffe2b0 0 45%, rgba(255, 210, 150, 0.35) 62%, rgba(255, 200, 140, 0) 72%); pointer-events: none; }

a { color: var(--gold-b); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 700; line-height: 1.15; }
.sky h1, .sky h2 { color: var(--cream); text-shadow: 0 2px 18px rgba(43, 42, 69, 0.45); }
.eyebrow { font-weight: 800; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-muted); }

/* ---------- header / footer ---------- */
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); background: rgba(43, 42, 69, 0.55); border-bottom: 1px solid rgba(255, 248, 238, 0.14); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); font-family: "Fraunces", serif; font-size: 1.2rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 20px; font-weight: 700; font-size: 0.95rem; }
.nav a { color: var(--cream-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-b); text-decoration: none; }

.site-footer { margin-top: 72px; padding: 28px 0 40px; color: var(--ink); background: rgba(255, 248, 238, 0.82); border-top: 1px solid var(--paper-line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--body); }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: var(--sun); }

/* ---------- nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 16px;
  font-weight: 800; font-size: 1.02rem; letter-spacing: 0.03em; border: 1px solid transparent; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-sun { color: var(--ink); background: linear-gradient(180deg, var(--gold-b) 0%, var(--gold-a) 100%);
  box-shadow: 0 8px 20px rgba(122, 78, 94, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6); transition: transform 0.15s ease; }
.btn-sun:hover { transform: translateY(-1px); }
.btn-ghost { color: var(--cream); background: rgba(255, 248, 238, 0.12); border-color: rgba(255, 248, 238, 0.35); }
.btn-outline { color: var(--ink); background: rgba(58, 46, 38, 0.06); border-color: rgba(58, 46, 38, 0.28); }
.btn svg { width: 22px; height: 22px; }

/* ---------- thẻ giấy ---------- */
.paper { background: var(--paper); border: 1px solid var(--paper-line); border-radius: var(--radius); color: var(--body);
  box-shadow: 0 14px 34px rgba(43, 42, 69, 0.28); }
.paper h1, .paper h2, .paper h3 { color: var(--ink); }
.paper strong { color: var(--ink); }
.paper a { color: var(--sun); }
.paper a.btn-sun { color: var(--ink); } /* .paper a (cam) không được đè chữ của nút mặt trời */

/* ---------- trang chủ ---------- */
.hero { padding: 60px 0 36px; text-align: center; }
.hero-icon { width: 132px; height: 132px; margin: 0 auto 22px; border-radius: 30px; box-shadow: 0 16px 40px rgba(43, 42, 69, 0.5); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); margin: 0; }
.hero .tagline { margin: 10px 0 0; color: var(--cream-muted); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; font-size: 0.9rem; }
.hero .lead { max-width: 640px; margin: 22px auto 30px; font-size: 1.15rem; color: var(--cream-2); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.shots { display: flex; gap: 16px; justify-content: safe center; padding: 22px 0 8px; overflow-x: auto; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; }
.shots img { width: 158px; border-radius: 26px; border: 3px solid rgba(255, 248, 238, 0.85); box-shadow: 0 18px 40px rgba(43, 42, 69, 0.45); }
.shots figcaption { margin-top: 10px; text-align: center; color: var(--cream-2); font-size: 0.85rem; }

section { padding: 56px 0 0; }
section > .wrap > h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); text-align: center; margin: 6px 0 28px; color: var(--cream); }
section > .wrap > .eyebrow { text-align: center; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.step { padding: 24px; }
.step h3 { margin: 12px 0 6px; font-size: 1.3rem; }
.step p { margin: 0; }
.step-mark { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-family: "Fraunces", serif; font-size: 1.5rem; color: var(--ink);
  background: repeating-linear-gradient(180deg, #e8b07a 0 9px, #d98c8a 9px 18px, #f3d9a8 18px 27px); }
.step:nth-child(2) .step-mark { background: linear-gradient(180deg, #f8d58e 0 40%, #c8553d 40% 70%, #7a4e5e 70%); }
.step:nth-child(3) .step-mark { background: linear-gradient(160deg, #2e7a74, #e09a6b); color: var(--cream); }

.features { padding: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 6px 28px; list-style: none; margin: 0; }
.features li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid rgba(58, 46, 38, 0.12); }
.features li::before { content: ""; flex: 0 0 14px; height: 14px; margin-top: 6px; border-radius: 4px; background: linear-gradient(180deg, var(--gold-b), var(--gold-a)); }

.beaches { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.beach-chip { padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 0.9rem; color: var(--ink); background: rgba(255, 248, 238, 0.85); }

.closing { text-align: center; }
.closing .paper { padding: 40px 24px; }
.closing p { margin: 0 auto 24px; max-width: 520px; }

/* ---------- trang tài liệu ---------- */
.page { padding: 48px 0 0; }
.doc { max-width: 820px; margin: 0 auto; padding: clamp(24px, 5vw, 48px); }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 6px; }
.doc h2 { font-size: 1.4rem; margin: 34px 0 10px; }
.doc .meta { color: var(--muted); margin: 0 0 22px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.well { background: rgba(240, 178, 90, 0.14); border: 1px solid rgba(194, 122, 44, 0.35); border-radius: 16px; padding: 16px 20px; margin-top: 18px; }
.well p { margin: 0; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(58, 46, 38, 0.15); vertical-align: top; }
th { color: var(--ink); font-weight: 800; }

.faq details { border-bottom: 1px solid rgba(58, 46, 38, 0.15); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sun); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; }
.contact-box { text-align: center; }
.contact-box .btn { margin-top: 10px; }

.notfound { text-align: center; padding: 90px 0 40px; }
.notfound .big { font-family: "Fraunces", serif; font-size: 5rem; color: var(--cream); margin: 0; }
.notfound p { color: var(--cream-2); }


/* ---------- dải ảnh: carousel không thanh cuộn (main.js bọc .shots trong .gallery) ---------- */
.gallery { position: relative; }
.shots { scrollbar-width: none; -ms-overflow-style: none; padding-left: 8px; padding-right: 8px; padding-bottom: 22px; scroll-padding-inline: 8px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l, 0px), #000 calc(100% - var(--fade-r, 0px)), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l, 0px), #000 calc(100% - var(--fade-r, 0px)), transparent 100%); }
.shots::-webkit-scrollbar { display: none; }
.gallery.can-left .shots { --fade-l: 56px; }
.gallery.can-right .shots { --fade-r: 56px; }
.gallery-btn {
  position: absolute; top: 44%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-size: 2rem; line-height: 1; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
  color: var(--ink); background: var(--paper); border: 1px solid var(--paper-line); box-shadow: 0 8px 20px rgba(43, 42, 69, 0.35);
}
.gallery-btn.prev { left: 4px; }
.gallery-btn.next { right: 4px; }
.gallery.can-left .gallery-btn.prev, .gallery.can-right .gallery-btn.next { opacity: 1; pointer-events: auto; }
@media (hover: none) { .gallery-btn { display: none; } }

@media (max-width: 640px) {
  .nav { gap: 14px; font-size: 0.88rem; }
  .shots { justify-content: flex-start; }
  .shots img { width: 190px; }
  .hero { padding-top: 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn-sun { transition: none; } }

/* ---------- nút nhỏ, chip ---------- */
.btn-small { min-height: 42px; padding: 0 16px; font-size: 0.92rem; border-radius: 13px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.btn-ghost.on { color: var(--ink); background: linear-gradient(180deg, var(--gold-b), var(--gold-a)); border-color: transparent; }
.chip { display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 0.85rem; color: var(--ink); background: rgba(255, 248, 238, 0.85); }
.label { font-weight: 800; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); margin: 0; }

/* ---------- trang Daily Jar ---------- */
.play-page { padding-top: 26px; }
.play-head { text-align: center; }
.play-head h1 { font-size: clamp(2rem, 6vw, 2.8rem); margin: 4px 0 12px; }
.play-head .eyebrow { margin: 0; }
.day-nav { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.play-area { max-width: 560px; margin: 22px auto 0; }
.play-area.loading .stage { opacity: 0.5; }
.play-status { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 10px; text-align: center; }
.play-status .stat { display: flex; flex-direction: column; align-items: center; padding: 8px 6px; border-radius: 16px; background: rgba(43, 42, 69, 0.34); border: 1px solid rgba(255, 248, 238, 0.22); }
.play-status .eyebrow { font-size: 0.66rem; }
.play-status strong { font-family: "Fraunces", serif; font-size: 1.35rem; color: var(--cream); line-height: 1.2; }
.meter { position: relative; display: block; width: 88%; height: 7px; margin: 5px 0 2px; border-radius: 99px; background: rgba(255, 248, 238, 0.22); }
.meter-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 99px; background: var(--cream-muted); transition: width 0.3s ease; }
.match.pass .meter-fill { background: linear-gradient(90deg, var(--gold-a), var(--gold-b)); }
.match.pass strong { color: var(--gold-b); }
.meter .mark { position: absolute; top: -3px; width: 2px; height: 13px; margin-left: -1px; background: var(--cream); border-radius: 2px; }
.meter .mark.three { background: var(--gold-b); }

.stage { position: relative; margin: 14px auto 0; padding: 10px 0 6px; border-radius: 26px; background: rgba(255, 248, 238, 0.16); border: 1px solid rgba(255, 248, 238, 0.2); }
.jar-box { position: relative; margin: 0 auto; height: min(62vh, 600px); aspect-ratio: 128 / 210; max-width: 100%; }
.jar-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
#jar { filter: drop-shadow(0 12px 22px rgba(43, 42, 69, 0.45)); }
#jar-fx { touch-action: none; cursor: crosshair; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.stick #jar-fx { cursor: pointer; }
.wobble .jar-box { animation: wobble 0.5s ease-out; }
@keyframes wobble { 0% { transform: translateY(0) } 25% { transform: translateY(5px) scaleY(0.985) } 60% { transform: translateY(-3px) } 100% { transform: none } }
.peek { position: absolute; right: 10px; top: 10px; padding: 8px 12px; border-radius: 12px; font: inherit; font-weight: 800; font-size: 0.8rem; color: var(--cream);
  background: rgba(43, 42, 69, 0.5); border: 1px solid rgba(255, 248, 238, 0.4); cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.peek.on { color: var(--ink); background: var(--gold-b); }

.bags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.bag { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 58px; padding: 7px 0 5px; border-radius: 16px; cursor: pointer;
  font: inherit; background: rgba(255, 248, 238, 0.86); border: 2px solid transparent; box-shadow: 0 6px 14px rgba(43, 42, 69, 0.3); }
.bag.on { border-color: var(--gold-a); background: var(--cream); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(122, 78, 94, 0.45); }
.bag.empty { opacity: 0.45; }
.bag-sand { position: relative; width: 30px; height: 34px; border-radius: 7px 7px 10px 10px; overflow: hidden; background: rgba(58, 46, 38, 0.12); }
.bag-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: var(--sand);
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1.4px), radial-gradient(rgba(0, 0, 0, 0.16) 1px, transparent 1.4px);
  background-size: 5px 5px, 7px 7px; background-position: 0 0, 2px 3px; transition: height 0.2s ease; }
.bag.kind-wet .bag-fill { filter: brightness(0.82); }
.bag-kind { min-height: 1em; font-size: 0.66rem; font-weight: 800; line-height: 1; color: var(--muted); text-transform: lowercase; }

.board-msg { min-height: 3.2em; margin: 12px 0 0; text-align: center; color: var(--cream-2); font-size: 0.95rem; }
.board-msg.warn { color: #ffe3b0; }
.board-msg.warn::before { content: "! "; color: var(--gold-b); font-weight: 800; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 4px; }
.tools #btn-cork { min-width: 128px; }
.diff-bar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; margin-top: 14px; padding: 12px 16px; }
.diff-bar[hidden] { display: none; }
.legend { display: flex; align-items: center; gap: 6px; font-size: 0.88rem; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-left: 6px; }
.sw.miss { background: rgba(255, 89, 77, 0.8); }
.sw.extra { background: rgba(89, 153, 255, 0.8); }
.diff-actions { display: flex; gap: 8px; }

.play-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; padding-top: 40px; }
.play-rules .card { padding: 24px; }
.play-rules h2 { margin: 0 0 10px; font-size: 1.35rem; }
.play-rules ul { padding-left: 20px; margin: 0 0 12px; }
.play-rules li { margin: 6px 0; }
.app-card { display: flex; gap: 16px; align-items: flex-start; }
.app-card img { flex: 0 0 72px; border-radius: 18px; }
.app-card .cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* hộp kết quả */
dialog.result { width: min(100% - 32px, 440px); padding: 26px 22px 22px; text-align: center; color: var(--body); }
dialog.result::backdrop { background: rgba(43, 42, 69, 0.45); backdrop-filter: blur(2px); }
dialog.result[open] { animation: sheet 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes sheet { from { transform: translateY(40px); opacity: 0 } to { transform: none; opacity: 1 } }
dialog.result h2 { margin: 4px 0 6px; font-size: 1.9rem; color: var(--ink); }
.dlg-close { position: absolute; right: 10px; top: 8px; margin: 0; }
.dlg-close .close { width: 38px; height: 38px; border: 0; border-radius: 50%; font-size: 1.5rem; line-height: 1; color: var(--muted); background: rgba(58, 46, 38, 0.07); cursor: pointer; }
.stars { display: flex; justify-content: center; gap: 6px; font-size: 2.6rem; line-height: 1; }
.star { color: rgba(58, 46, 38, 0.16); }
.star.on { color: var(--gold-a); text-shadow: 0 2px 0 #c27a2c; animation: pop 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
@keyframes pop { from { transform: scale(0.2); opacity: 0 } to { transform: none; opacity: 1 } }
.big-pct { margin: 8px 0 4px; color: var(--muted); }
.big-pct strong { font-family: "Fraunces", serif; font-size: 2.2rem; color: var(--ink); }
.need { margin: 6px 0 4px; color: var(--body); }
.gems { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 10px 0 2px; }
.gems[hidden] { display: none; }
.gem { padding: 4px 10px; border-radius: 99px; font-size: 0.8rem; font-weight: 800; color: var(--label); background: rgba(58, 46, 38, 0.06); }
.gem::before { content: "◆ "; color: rgba(58, 46, 38, 0.2); }
.gem.on { color: var(--teal); background: rgba(46, 122, 116, 0.12); }
.gem.on::before { color: var(--teal); }
.result-stats { display: flex; justify-content: center; gap: 34px; margin: 14px 0 6px; }
.result-stats .stat { display: flex; flex-direction: column; }
.result-stats strong { font-family: "Fraunces", serif; font-size: 1.4rem; color: var(--ink); }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 12px 0 6px; }
.result-actions [hidden] { display: none; }
.result-app { margin: 12px 0; font-size: 0.92rem; }
dialog.result .cta { display: flex; flex-direction: column; gap: 10px; }
canvas.burst { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 1000; }

/* ---------- trang hướng dẫn ---------- */
.guide { max-width: 860px; margin: 0 auto; }
.guide h2 { margin-top: 38px; }
.demo { margin: 20px 0 6px; padding: 16px; border-radius: 18px; background: linear-gradient(180deg, #3d3150, #7a4e5e 70%, #b8786a); }
.demo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 10px; }
.demo figure { margin: 0; text-align: center; }
.demo canvas { width: 100%; max-width: 170px; height: auto; image-rendering: pixelated; filter: drop-shadow(0 8px 14px rgba(20, 16, 36, 0.45)); }
.demo figcaption { margin-top: 6px; color: var(--cream-2); font-size: 0.86rem; line-height: 1.35; }
.demo figcaption b { color: var(--cream); }
.demo .replay { display: block; margin: 12px auto 0; }
.tip-list { padding-left: 22px; }
.tip-list li { margin: 10px 0; }
.coach { display: inline; padding: 1px 6px; border-radius: 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; font-weight: 800; color: var(--ink); background: rgba(240, 178, 90, 0.22); }
.page-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }

@media (max-width: 640px) {
  .play-status { gap: 6px; }
  .play-status strong { font-size: 1.15rem; }
  .bag { width: 52px; }
  .jar-box { height: min(58vh, 560px); }
}
@media (prefers-reduced-motion: reduce) { .wobble .jar-box, dialog.result[open], .star.on { animation: none; } }

/* điều khiển dưới chai nằm trên tấm kính chiều tối để chữ kem đọc được khi trời chân sáng */
.controls { margin-top: 12px; padding: 12px 12px 14px; border-radius: 22px; background: rgba(43, 42, 69, 0.55); border: 1px solid rgba(255, 248, 238, 0.18); backdrop-filter: blur(6px); }
.controls .bags { margin-top: 2px; }
.btn[hidden] { display: none; }
.brand span, .nav a { white-space: nowrap; }
@media (max-width: 440px) {
  .site-header .wrap { gap: 10px; }
  .brand span { display: none; }
  .nav { gap: 14px; font-size: 0.86rem; }
}
