/* SOLUNA Insight — khu thành viên. Cùng ngôn ngữ với /xac-nhan/: giấy ngà, khung Đất Nung có notch, mực khắc, đốm sáng tròn. */
:root {
  --ivory: #F7F1E6;
  --ivory-2: #EDE3D1;
  --paper: #F2EADC;
  --sand: #D9C2A6;
  --terra: #C75A28;
  --terra-deep: #9E3A16;
  --terra-dark: #82300F;
  --terra-hover: #E07A47;
  --ink: #4B4436;
  --brown: #6B4A2F;
  --line: rgba(75, 68, 54, .26);
  --line-soft: rgba(75, 68, 54, .14);
  --frame: 10px;
  --notch-w: 168px;
  --notch-h: 46px;
  --nav-h: 58px;
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --accent: 'Cormorant Garamond', Garamond, Georgia, serif;
  --serif: 'EB Garamond', Garamond, Georgia, 'Times New Roman', serif;
  --sans: 'Be Vietnam Pro', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 30px 70px -48px rgba(70, 25, 5, .55), 0 1px 3px rgba(70, 25, 5, .07);
  color-scheme: light;
}
@media (min-width: 768px) { :root { --frame: 12px; --notch-w: 220px; --notch-h: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: rgba(158, 58, 22, .45) transparent; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: 18px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
body::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: url('../assets/paper.webp'); background-size: 220px; mix-blend-mode: multiply; opacity: .55; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--terra-deep); outline-offset: 3px; }
.mb-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.mb-skip { position: fixed; z-index: 60; left: 50%; top: 8px; transform: translate(-50%, -150%); padding: 10px 16px; background: var(--terra-deep); color: var(--ivory); font: 500 13px var(--sans); border-radius: 999px; text-decoration: none; transition: transform .3s var(--ease); }
.mb-skip:focus { transform: translate(-50%, 0); }

/* ---------- khung Đất Nung + notch ---------- */
.mb-frame { position: fixed; inset: 0; z-index: 40; pointer-events: none; border: var(--frame) solid var(--terra); border-top-width: calc(var(--frame) + env(safe-area-inset-top, 0px)); }
.mb-frame::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--notch-h) - var(--frame) + 12px); background: linear-gradient(rgba(242, 234, 220, .96) 45%, rgba(242, 234, 220, 0)); }
@media (min-width: 640px) { .mb-frame::before { display: none; } }
.mb-notch-shape { position: absolute; top: -1px; left: 50%; width: var(--notch-w); height: var(--notch-h); transform: translateX(-50%); fill: var(--terra); display: block; }
.mb-notch { position: fixed; z-index: 41; top: calc(var(--frame) - 3px + env(safe-area-inset-top, 0px)); left: 50%; width: 56px; height: 42px; margin-left: -28px; display: grid; place-items: center; border-radius: 50%; }
.mb-notch img { width: 30px; filter: brightness(0) invert(.96) sepia(.25) saturate(.8); transition: transform .9s var(--ease); }
.mb-notch:hover img { transform: rotate(-24deg) scale(1.06); }
.mb-notch:focus-visible { outline-color: var(--ivory); outline-offset: 0; }
@media (min-width: 768px) { .mb-notch { width: 64px; height: 50px; margin-left: -32px; } .mb-notch img { width: 40px; } }

/* ---------- nền: mực khắc + đốm sáng ---------- */
.mb-art { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.mb-fig { position: absolute; display: none; opacity: 0; mix-blend-mode: multiply; transition: opacity 1.6s var(--ease) .4s; }
.mb-fig-l { left: calc(var(--frame) + 1vw); bottom: 8vh; width: min(17vw, 260px); transform: rotate(-8deg); }
.mb-fig-r { right: calc(var(--frame) + 3vw); top: 18vh; width: min(9vw, 130px); }
.is-in .mb-fig { opacity: .22; }
@media (min-width: 1240px) {
  .mb-fig { display: block; }
  .mb-fig-l { animation: drift-l 16s var(--ease-io) infinite alternate; }
  .mb-fig-r { animation: drift-r 18s var(--ease-io) infinite alternate; }
}
@keyframes drift-l { from { transform: translate3d(0, 0, 0) rotate(-8deg); } to { transform: translate3d(8px, -14px, 0) rotate(-6deg); } }
@keyframes drift-r { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-8px, 12px, 0) rotate(4deg); } }
.mb-glint { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 206, .95) 0%, rgba(224, 122, 71, .45) 38%, rgba(224, 122, 71, 0) 70%); opacity: 0; animation: glint 7s var(--ease-io) infinite; }
.g1 { left: 12%; top: 22%; animation-delay: .4s; }
.g2 { right: 14%; top: 34%; width: 7px; height: 7px; animation-delay: 2.1s; }
.g3 { left: 20%; bottom: 18%; width: 13px; height: 13px; animation-delay: 3.6s; }
.g4 { right: 22%; bottom: 12%; animation-delay: 5s; }
.g5 { left: 50%; top: 11%; width: 6px; height: 6px; animation-delay: 1.3s; }
@keyframes glint { 0%, 100% { opacity: 0; transform: scale(.4); } 45% { opacity: .9; transform: scale(1.15); } 70% { opacity: .2; transform: scale(.8); } }

/* ---------- đầu trang ---------- */
.mb-head { position: relative; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(var(--frame) + var(--notch-h) + 6px + env(safe-area-inset-top, 0px)) calc(var(--frame) + 12px) 0; }
@media (min-width: 640px) { .mb-head { padding: calc(var(--frame) + 16px + env(safe-area-inset-top, 0px)) calc(var(--frame) + clamp(18px, 2.6vw, 36px)) 0; } }
.mb-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 15px 9px 12px; border: 1px solid rgba(158, 58, 22, .55); border-radius: 999px; background: rgba(247, 241, 230, .7); font: 500 12px/1.2 var(--sans); letter-spacing: .06em; color: var(--terra-deep); text-decoration: none; white-space: nowrap; transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease); }
.mb-back-arrow { display: inline-block; font-size: 15px; line-height: 1; transition: transform .5s var(--ease); }
.mb-back:hover { background: var(--terra-deep); border-color: var(--terra-deep); color: var(--ivory); }
.mb-back:hover .mb-back-arrow { transform: translateX(-3px); }
.mb-head-r { display: flex; align-items: center; gap: 6px; }
.mb-lang { min-height: 44px; min-width: 44px; padding: 8px 4px; font: 400 12px/1 var(--sans); letter-spacing: .14em; color: var(--terra-deep); white-space: nowrap; }
.mb-lang span { padding: 2px 1px; }
.mb-lang span.on { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.mb-me { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(158, 58, 22, .55); background: var(--ivory); color: var(--terra-deep); font: 400 19px/1 var(--display); text-decoration: none; transition: background-color .4s var(--ease), color .4s var(--ease); }
.mb-me:hover, .mb-me[aria-current] { background: var(--terra-deep); color: var(--ivory); }
@media (max-width: 359px) { .mb-back { padding-right: 12px; letter-spacing: .03em; } }

/* ---------- dải "bản xem trước" ---------- */
.mb-mock { position: relative; z-index: 20; display: flex; align-items: center; gap: 8px; width: fit-content; max-width: calc(100% - 2 * var(--frame) - 24px); margin: 12px auto 0; padding: 6px 14px; border: 1px dashed rgba(158, 58, 22, .45); border-radius: 999px; background: rgba(247, 241, 230, .78); font: 400 11.5px/1.35 var(--sans); letter-spacing: .04em; color: var(--brown); text-align: center; }
.mb-mock-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 0 rgba(199, 90, 40, .5); animation: pulse 2.6s var(--ease-io) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(199, 90, 40, .45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(199, 90, 40, 0); } }

/* ---------- điều hướng ---------- */
.mb-nav { position: fixed; z-index: 35; left: var(--frame); right: var(--frame); bottom: var(--frame); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom, 0px); background: rgba(247, 241, 230, .95); border-top: 1px solid var(--line); box-shadow: 0 -16px 32px -24px rgba(70, 25, 5, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mb-nav a { position: relative; min-height: var(--nav-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 6px 2px; font: 400 11.5px/1.15 var(--sans); letter-spacing: .02em; color: var(--brown); text-decoration: none; text-align: center; transition: color .4s var(--ease); }
.mb-nav a.on { color: var(--terra-deep); font-weight: 500; }
.mb-nav-star { width: 9px; height: 9px; background: currentColor; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); opacity: .25; transform: scale(.7); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.mb-nav a.on .mb-nav-star { opacity: 1; transform: scale(1.15) rotate(45deg); }
.mb-nav a:focus-visible { outline-offset: -4px; }
.mb-nav-wide { display: none !important; }
@media (min-width: 768px) {
  .mb-nav { position: relative; z-index: 20; left: auto; right: auto; bottom: auto; display: flex; justify-content: center; gap: 4px; width: fit-content; margin: 16px auto 0; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(247, 241, 230, .82); box-shadow: 0 10px 30px -24px rgba(70, 25, 5, .5); }
  .mb-nav a { flex-direction: row; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; font-size: 12.5px; letter-spacing: .06em; }
  .mb-nav a:hover { color: var(--terra-deep); background: rgba(199, 90, 40, .07); }
  .mb-nav a.on { background: var(--terra-deep); color: var(--ivory); }
  .mb-nav a.on .mb-nav-star { transform: scale(1) rotate(45deg); }
  .mb-nav-wide { display: flex !important; }
}

/* ---------- vùng nội dung ---------- */
.mb-main { position: relative; z-index: 10; outline: none; padding: 20px calc(var(--frame) + 12px) calc(var(--frame) + 40px + env(safe-area-inset-bottom, 0px)); }
.is-member .mb-main { padding-bottom: calc(var(--frame) + var(--nav-h) + 40px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 640px) { .mb-main { padding-left: calc(var(--frame) + 24px); padding-right: calc(var(--frame) + 24px); } }
@media (min-width: 768px) { .mb-main, .is-member .mb-main { padding-top: clamp(26px, 4vh, 44px); padding-bottom: calc(var(--frame) + 48px); } }
.mb-view { width: min(1060px, 100%); margin: 0 auto; }
.mb-view.is-in > * { animation: rise .7s var(--ease) both; }
.mb-view.is-in > *:nth-child(2) { animation-delay: .06s; }
.mb-view.is-in > *:nth-child(3) { animation-delay: .12s; }
.mb-view.is-in > *:nth-child(n+4) { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }

/* tiêu đề màn */
.mb-shead { text-align: center; max-width: 640px; margin: 4px auto 26px; }
.mb-star { display: block; width: 74px; height: 14px; margin: 0 auto 12px; color: var(--terra-deep); }
.mb-kicker { margin: 0; font: 500 11px/1.5 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--brown); }
.mb-title { margin: 10px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 8.6vw, 52px); line-height: 1.08; letter-spacing: -.005em; color: var(--terra); outline: none; overflow-wrap: anywhere; }
.mb-lead { margin: 14px auto 0; max-width: 31em; font-family: var(--accent); font-style: italic; font-size: 20px; line-height: 1.4; color: var(--brown); }
.mb-meta { margin: 12px 0 0; font: 400 13px/1.5 var(--sans); letter-spacing: .04em; color: var(--brown); }
.mb-h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--terra); }
.mb-h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.25; color: var(--ink); }
.mb-h4 { margin: 22px 0 8px; font: 500 11px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brown); }
.mb-p { margin: 8px 0 0; font-size: 18px; line-height: 1.55; color: var(--ink); }
.mb-muted { color: var(--brown); }
.mb-fine { margin: 14px 0 0; font: 400 12.5px/1.55 var(--sans); color: var(--brown); }
.mb-center { text-align: center; }
.mb-en { font-family: var(--accent); font-style: italic; letter-spacing: 0; text-transform: none; }
.mb-ok { margin: 8px 0 0; font: 400 14px/1.4 var(--sans); color: var(--terra-deep); }
.mb-ok:empty { display: none; }

/* ---------- tờ giấy ---------- */
.mb-sheet { position: relative; background: var(--ivory); border: 1px solid var(--line-soft); box-shadow: var(--shadow); padding: 24px 20px; border-radius: 2px; }
@media (min-width: 640px) { .mb-sheet { padding: 30px 34px; } }
.mb-framed { padding: 44px 24px 34px; }
@media (min-width: 640px) { .mb-framed { padding: 56px 56px 46px; } }
.mb-rule { position: absolute; inset: 10px; border: 1px solid rgba(75, 68, 54, .7); pointer-events: none; }
.mb-rule::after { content: ''; position: absolute; inset: 3px; border: 1px solid rgba(75, 68, 54, .55); }
.mb-corner { position: absolute; width: 46px; height: 36px; border: 0 solid var(--ink); pointer-events: none; }
.mb-corner.tl { top: 3px; left: 3px; border-top-width: 1px; border-left-width: 1px; }
.mb-corner.tr { top: 3px; right: 3px; border-top-width: 1px; border-right-width: 1px; }
.mb-corner.bl { bottom: 3px; left: 3px; border-bottom-width: 1px; border-left-width: 1px; }
.mb-corner.br { bottom: 3px; right: 3px; border-bottom-width: 1px; border-right-width: 1px; }
@media (min-width: 640px) { .mb-rule { inset: 13px; } .mb-corner { width: 76px; height: 56px; } .mb-corner.tl, .mb-corner.tr { top: 5px; } .mb-corner.bl, .mb-corner.br { bottom: 5px; } .mb-corner.tl, .mb-corner.bl { left: 5px; } .mb-corner.tr, .mb-corner.br { right: 5px; } }
.mb-stack, .mb-book, .mb-wallet { display: grid; gap: 18px; max-width: 680px; margin: 0 auto; }

/* ---------- form ---------- */
.mb-form { display: grid; gap: 20px; }
.mb-field { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 6px; }
.mb-field > label, .mb-field > legend { padding: 0; margin-bottom: 2px; font: 500 13px/1.45 var(--sans); letter-spacing: .03em; color: var(--brown); }
.mb-optional { font-family: var(--accent); font-style: italic; font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--brown); opacity: .9; margin-left: 4px; }
.mb-field input[type="text"], .mb-field input[type="email"], .mb-field input[type="tel"], .mb-field input[type="password"], .mb-field input[type="date"], .mb-field input[type="time"], .mb-field textarea, .mb-field select, .mb-mini input, .mb-mini select {
  width: 100%; min-height: 46px; font: 400 19px/1.4 var(--serif); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(75, 68, 54, .42); border-radius: 0;
  padding: 9px 2px 8px; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.mb-field select, .mb-mini select { padding-right: 26px; background-image: linear-gradient(45deg, transparent 50%, var(--terra-deep) 50%), linear-gradient(135deg, var(--terra-deep) 50%, transparent 50%); background-position: calc(100% - 12px) 52%, calc(100% - 7px) 52%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.mb-field input[type="date"], .mb-field input[type="time"], .mb-mini input[type="date"] { display: block; min-width: 0; }
.mb-field input::-webkit-date-and-time-value { text-align: left; }
.mb-field textarea { resize: vertical; min-height: 88px; }
.mb-field input:focus, .mb-field textarea:focus, .mb-field select:focus, .mb-mini input:focus, .mb-mini select:focus { border-color: var(--terra-deep); box-shadow: 0 1px 0 0 var(--terra-deep); background-color: rgba(217, 194, 166, .14); }
.mb-field.has-err input, .mb-field.has-err textarea { border-color: var(--terra-deep); box-shadow: 0 1px 0 0 var(--terra-deep); }
.mb-field ::placeholder { color: rgba(107, 74, 47, .55); font-style: italic; }
.mb-help { margin: 2px 0 0; font: 400 13px/1.5 var(--sans); color: var(--brown); }
.mb-help-mock { padding: 8px 12px; border: 1px dashed rgba(158, 58, 22, .42); border-radius: 6px; background: rgba(199, 90, 40, .05); color: var(--terra-deep); font: 400 12.5px/1.5 var(--sans); }
.mb-err { margin: 0; font: 400 14px/1.45 var(--sans); color: var(--terra-deep); }
.mb-err:empty { display: none; }
.mb-note-meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.mb-count { margin-left: auto; flex: none; font: 400 12px/1.4 var(--sans); color: var(--brown); opacity: .85; }
.mb-two { display: grid; gap: 20px; }
@media (min-width: 560px) { .mb-two { grid-template-columns: 1fr 1fr; } }
.mb-trio { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 14px; }
.mb-mini { display: grid; gap: 2px; font: 500 12px/1.4 var(--sans); letter-spacing: .03em; color: var(--brown); }
.mb-form-inline { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 560px) { .mb-form-inline { grid-template-columns: 1fr auto; } .mb-form-inline .mb-btn { margin-bottom: 4px; } }

.mb-opts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); }
.mb-opt { position: relative; display: block; cursor: pointer; -webkit-user-select: none; user-select: none; }
.mb-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.mb-opt-box { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 54px; height: 100%; padding: 11px 14px 11px 42px; border: 1px solid var(--line); border-radius: 3px; background: rgba(247, 241, 230, .6); font-size: 18px; line-height: 1.3; color: var(--ink); transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.mb-opt-box::before { content: ''; position: absolute; left: 15px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 1px solid rgba(75, 68, 54, .55); background: var(--ivory); }
.mb-opt-box::after { content: ''; position: absolute; left: 19px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--terra-deep); transform: scale(0); transition: transform .45s var(--ease); }
.mb-opt-box b { font-weight: 500; }
.mb-opt-box small { font: 400 13px/1.35 var(--sans); color: var(--brown); }
.mb-opt-sm .mb-opt-box { min-height: 48px; font-size: 17px; padding-left: 40px; }
.mb-opt:hover .mb-opt-box { border-color: rgba(158, 58, 22, .55); }
.mb-opt input:checked + .mb-opt-box { border-color: var(--terra-deep); background: rgba(199, 90, 40, .07); }
.mb-opt input:checked + .mb-opt-box::before { border-color: var(--terra-deep); }
.mb-opt input:checked + .mb-opt-box::after { transform: scale(1); }
.mb-opt input:focus-visible + .mb-opt-box { outline: 2px solid var(--terra-deep); outline-offset: 2px; }

.mb-check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding-top: 8px; font: 400 15px/1.5 var(--sans); color: var(--ink); cursor: pointer; }
.mb-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--terra-deep); }
.mb-check-box { padding: 14px 16px; border: 1px solid var(--line); border-radius: 3px; background: rgba(247, 241, 230, .6); }

.mb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-chip { position: relative; cursor: pointer; }
.mb-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.mb-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(247, 241, 230, .6); font: 400 14px/1.25 var(--sans); color: var(--ink); transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.mb-chip:hover span { border-color: rgba(158, 58, 22, .6); }
.mb-chip input:checked + span { background: var(--terra-deep); border-color: var(--terra-deep); color: var(--ivory); }
.mb-chip input:focus-visible + span { outline: 2px solid var(--terra-deep); outline-offset: 2px; }

/* ---------- nút ---------- */
.mb-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 28px; border-radius: 999px; text-decoration: none; text-align: center; font: 500 12px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease), opacity .3s; }
.mb-btn-main { background: var(--terra-deep); color: var(--ivory); box-shadow: 0 10px 24px -12px rgba(120, 45, 15, .6); }
.mb-btn-main:hover { background: var(--terra-dark); transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(120, 45, 15, .7); }
.mb-btn-line { border: 1px solid rgba(158, 58, 22, .6); color: var(--terra-deep); background: transparent; }
.mb-btn-line:hover { border-color: var(--terra-hover); background: rgba(224, 122, 71, .1); }
.mb-btn-quiet { border-color: rgba(75, 68, 54, .35); color: var(--brown); }
.mb-btn:active { transform: scale(.985); }
.mb-btn:disabled, .mb-btn[aria-disabled="true"] { opacity: .45; pointer-events: none; box-shadow: none; }
.mb-btn.is-busy { opacity: 1; }
.mb-wide { width: 100%; }
@media (min-width: 520px) { .mb-wide { width: auto; min-width: 260px; justify-self: center; } }
.mb-spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(247, 241, 230, .35); border-top-color: var(--ivory); }
.mb-btn-line .mb-spin { border-color: rgba(158, 58, 22, .25); border-top-color: var(--terra-deep); }
.mb-btn.is-busy .mb-spin { display: inline-block; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mb-link { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; font: 500 13px/1.4 var(--sans); letter-spacing: .03em; color: var(--terra-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .35s var(--ease), text-decoration-color .35s var(--ease); }
.mb-link:hover { text-decoration-color: var(--terra-hover); }
.mb-link:disabled { color: var(--brown); text-decoration: none; cursor: default; opacity: .85; }
.mb-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; }
.mb-row-between { justify-content: space-between; margin-top: 4px; }
.mb-row-center { justify-content: center; }
.mb-row-actions { display: grid; gap: 12px; }
@media (min-width: 520px) { .mb-row-actions { display: flex; justify-content: center; } }
.mb-arrow { display: inline-block; margin-left: 8px; transition: transform .5s var(--ease); }
a:hover .mb-arrow { transform: translateX(4px); }
.mb-tile-go { display: inline-flex; align-items: center; margin-top: auto; padding-top: 12px; font: 500 11.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--terra-deep); }
.mb-iconbtn { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--brown); transition: background-color .35s var(--ease), color .35s var(--ease); }
.mb-iconbtn svg { width: 20px; height: 20px; }
.mb-iconbtn:hover { background: rgba(158, 58, 22, .08); color: var(--terra-deep); }

/* ---------- nhãn, ghi chú ---------- */
.mb-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 4px; border: 1px solid rgba(107, 74, 47, .45); border-radius: 999px; font: 500 10.5px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brown); white-space: nowrap; }
.mb-tag.is-soon { border-style: dashed; border-color: rgba(158, 58, 22, .55); color: var(--terra-deep); }
.mb-tag.is-best { border-color: var(--terra-deep); background: var(--terra-deep); color: var(--ivory); }
/* Trạng thái đặt bàn theo DB ops_bookings: pending, confirmed, arrived, done, canceled, no_show (rà 09/10/2026, MEM-03). */
.mb-tag.is-confirmed, .mb-tag.is-arrived, .mb-tag.is-done, .mb-tag.is-matched, .mb-tag.is-ready { border-color: rgba(75, 68, 54, .5); background: var(--ivory-2); color: var(--ink); }
.mb-tag.is-pending, .mb-tag.is-preparing, .mb-tag.is-review { border-color: rgba(158, 58, 22, .55); color: var(--terra-deep); }
.mb-tag.is-canceled, .mb-tag.is-no_show, .mb-tag.is-expired, .mb-tag.is-blocked, .mb-tag.is-refunded { opacity: .75; }
.mb-note { padding: 14px 16px; border-left: 2px solid var(--terra-deep); background: rgba(217, 194, 166, .22); font: 400 15px/1.5 var(--sans); color: var(--ink); }
.mb-note p { margin: 0; }
.mb-note .mb-link { margin-top: 2px; }
.mb-note-err { animation: rise .45s var(--ease) both; }
.mb-note-age { max-width: 680px; margin: 0 auto; width: 100%; background: rgba(247, 241, 230, .7); }
.mb-note-k { display: flex; align-items: center; gap: 8px; margin: 0 0 4px !important; font: 500 11px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--terra-deep); }
.mb-chartq .mb-help { margin-bottom: 10px; }
.mb-chartc { display: grid; gap: 4px; margin-top: 8px; }
.mb-chartc .mb-chartc-p { margin-top: 6px !important; font-size: 14px; color: var(--brown); }
.mb-chartc .mb-check { padding-top: 4px; }
.mb-spark { width: 10px; height: 10px; flex: none; color: var(--terra-deep); }
.mb-loading { display: flex; justify-content: center; gap: 8px; padding: 48px 0; }
.mb-loading-in { display: inline-flex; padding: 0; vertical-align: middle; margin-right: 10px; }
.mb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--terra); opacity: .3; animation: dot 1.2s var(--ease-io) infinite; }
.mb-dot:nth-child(2) { animation-delay: .15s; } .mb-dot:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
.mb-ico { display: block; flex: none; }
.mb-ico-sm { width: 30px; height: 30px; }
.mb-ico-md { width: 58px; height: 58px; }
.mb-ico-lg { width: 72px; height: 72px; }

/* ---------- đăng nhập ---------- */
.mb-login { display: grid; justify-items: center; }
.mb-hero { position: relative; width: 100%; display: grid; }
.mb-hero picture { display: block; order: 2; margin: -6px -6px 0; }
.mb-hero-img { width: 100%; aspect-ratio: 1086 / 640; object-fit: cover; object-position: 50% 92%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%); mask-image: linear-gradient(to bottom, transparent 0, #000 30%); }
.mb-hero-text { order: 1; position: relative; z-index: 2; text-align: center; max-width: 560px; margin: 0 auto; }
.mb-hero-text .mb-lead { margin-top: 12px; }
.mb-login-card { width: min(520px, 100%); margin-top: -46px; z-index: 3; }
.mb-login .mb-hero-text .mb-title { font-size: clamp(32px, 8.6vw, 54px); }
@media (max-width: 767px) { .mb-login .mb-hero-text .mb-lead { font-size: 18.5px; } }
.mb-gift { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; padding: 12px 14px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); font-family: var(--accent); font-style: italic; font-size: 18px; line-height: 1.35; color: var(--brown); }
.mb-gift .mb-ico { width: 40px; height: 40px; }
.mb-otp { font-family: var(--sans) !important; font-size: 28px !important; letter-spacing: .5em !important; text-align: center; font-variant-numeric: tabular-nums; padding-left: .5em !important; background: repeating-linear-gradient(90deg, transparent 0 4px, rgba(217, 194, 166, .0) 4px) !important; }
.mb-otp::placeholder { color: rgba(107, 74, 47, .35); font-style: normal; letter-spacing: .5em; }
@media (min-width: 768px) {
  .mb-hero-img { aspect-ratio: 1672 / 941; object-position: 50% 50%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%); mask-image: linear-gradient(to right, transparent 0, #000 18%); }
  .mb-hero picture { margin: 8px 0 0; }
}
@media (min-width: 1100px) {
  .mb-hero { grid-template-areas: 'stack'; }
  .mb-hero picture, .mb-hero-text { grid-area: stack; }
  .mb-hero picture { margin: 0; box-shadow: var(--shadow); }
  .mb-hero-img { -webkit-mask-image: none; mask-image: none; }
  .mb-hero-text { align-self: start; justify-self: start; text-align: left; width: 30%; margin: 11% 0 0 4.5%; }
  .mb-hero-text .mb-star { margin-left: 0; }
  .mb-hero-text .mb-lead { margin-left: 0; font-size: 19px; }
  .mb-login-card { margin-top: -110px; }
}

/* ---------- tổng quan ---------- */
.mb-home { display: grid; gap: 22px; }
.mb-home-a, .mb-home-b { display: grid; gap: 18px; align-content: start; min-width: 0; }
@media (min-width: 960px) { .mb-home { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 30px; align-items: start; } }
.mb-mcard { position: relative; width: 100%; max-width: 480px; margin: 0 auto; aspect-ratio: 1.6; padding: clamp(18px, 5.4vw, 28px) clamp(20px, 6vw, 30px); display: flex; flex-direction: column; justify-content: space-between; border-radius: 14px; overflow: hidden; isolation: isolate; color: var(--ivory); background: radial-gradient(120% 95% at 82% 8%, #AD4C24 0%, #9E3A16 46%, #7E2D0E 100%); box-shadow: 0 34px 60px -32px rgba(90, 30, 8, .7), 0 2px 6px rgba(90, 30, 8, .18); }
.mb-mcard::before { content: ''; position: absolute; inset: 8px; z-index: 1; border: 1px solid rgba(247, 241, 230, .32); border-radius: 9px; pointer-events: none; }
.mb-mcard::after { content: ''; position: absolute; inset: -40%; z-index: 0; background: linear-gradient(105deg, transparent 42%, rgba(255, 236, 206, .18) 50%, transparent 58%); transform: translateX(-60%); animation: sheen 9s var(--ease-io) 1.2s infinite; pointer-events: none; }
@keyframes sheen { 0%, 62% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.mb-mcard-art { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; pointer-events: none; }
.mb-mcard > div { position: relative; z-index: 2; }
.mb-mcard-top { display: flex; flex-direction: column; gap: 2px; }
.mb-mcard-brand { font: 400 clamp(18px, 5vw, 22px)/1 var(--display); letter-spacing: .32em; }
.mb-mcard-sub { font: italic 400 15px/1.2 var(--accent); opacity: .9; }
.mb-mcard-mid { display: flex; flex-direction: column; gap: 4px; padding-left: 0; }
.mb-mcard-kicker { font: 500 10.5px/1.2 var(--sans); letter-spacing: .28em; text-transform: uppercase; }
.mb-mcard-name { font: 400 clamp(24px, 7vw, 30px)/1.1 var(--display); overflow-wrap: anywhere; }
.mb-mcard-name.is-guest { font-style: italic; }
.mb-mcard-foot { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; margin-left: auto; max-width: 58%; }
.mb-mcard-ref { display: flex; flex-direction: column; gap: 3px; }
.mb-mcard-ref small { font: 500 10px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.mb-mcard-ref b { font: 500 13px/1.2 var(--sans); letter-spacing: .1em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mb-mcard-since { font: italic 400 14px/1.2 var(--accent); opacity: .9; }
@media (min-width: 420px) { .mb-mcard-ref b { font-size: 14px; letter-spacing: .12em; } }
.mb-linkstate { display: flex; align-items: center; justify-content: center; gap: 8px; margin: -4px 0 0; font: 400 12.5px/1.4 var(--sans); color: var(--brown); }
.mb-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mb-tile, .mb-panel { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; background: var(--ivory); border: 1px solid var(--line-soft); box-shadow: var(--shadow); color: inherit; text-decoration: none; border-radius: 2px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); min-width: 0; }
a.mb-tile:hover, a.mb-panel:hover { transform: translateY(-2px); border-color: rgba(158, 58, 22, .3); box-shadow: 0 34px 70px -44px rgba(70, 25, 5, .6), 0 1px 3px rgba(70, 25, 5, .07); }
@media (min-width: 640px) { .mb-tile, .mb-panel { padding: 22px 24px; } }
.mb-tile { min-height: 150px; }
.mb-tile-k, .mb-panel-k { display: block; font: 500 10.5px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brown); }
.mb-panel-k.mb-en { font: italic 400 18px/1.3 var(--accent); letter-spacing: 0; text-transform: none; color: var(--terra-deep); }
.mb-tile-big { margin-top: 6px; font: 400 clamp(25px, 7vw, 32px)/1.1 var(--display); color: var(--terra); overflow-wrap: anywhere; }
.mb-tile-mid { margin-top: 6px; font: 400 19px/1.25 var(--serif); color: var(--ink); }
.mb-tile-s { font: 400 13px/1.45 var(--sans); color: var(--brown); }
.mb-tile .mb-tag { align-self: flex-start; margin-top: 8px; }
.mb-panel-row { flex-direction: row; align-items: center; gap: 16px; }
.mb-panel-row > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mb-panel-t { display: block; font-size: 17.5px; line-height: 1.45; color: var(--ink); }
.mb-panel-gift { display: grid; gap: 6px; padding-top: 10px; }
.mb-panel-gift .mb-h2 { margin-top: 2px; }
.mb-panel-gift .mb-btn { margin-top: 14px; }
.mb-panel-art { width: min(340px, 86%); margin: 0 auto -6px; mix-blend-mode: multiply; }
.mb-panel-tonight { flex-direction: row; align-items: center; gap: 16px; }
.mb-panel-tonight > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mb-panel-thumb { width: 92px; flex: none; mix-blend-mode: multiply; }
@media (min-width: 640px) { .mb-panel-thumb { width: 120px; } }
.mb-panel-wide { max-width: 760px; margin: 0 auto 22px; }
.mb-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
@media (min-width: 640px) { .mb-panel-gift { grid-template-columns: 200px 1fr; align-items: center; gap: 20px; } .mb-panel-art { width: 100%; margin: 0; } }
@media (min-width: 960px) and (max-width: 1100px) { .mb-panel-gift { grid-template-columns: 1fr; } .mb-panel-art { width: 70%; margin: 0 auto; } }

/* nhật ký */
.mb-jlist { list-style: none; margin: 0; padding: 0; }
.mb-jitem { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.mb-jitem:last-child { border-bottom: 0; }
.mb-jitem-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; min-height: 44px; justify-content: center; text-decoration: none; color: inherit; }
.mb-jitem-t { font: 400 19px/1.25 var(--display); color: var(--ink); transition: color .35s var(--ease); }
.mb-jitem-main:hover .mb-jitem-t { color: var(--terra-deep); }
.mb-jitem-s { font: 400 12.5px/1.4 var(--sans); color: var(--brown); }
.mb-jitem-q { font: italic 400 16.5px/1.35 var(--accent); color: var(--brown); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mb-jlist-mini .mb-jitem { padding: 11px 0; }
.mb-empty { display: grid; justify-items: center; gap: 6px; text-align: center; }
.mb-empty-art { width: 190px; mix-blend-mode: multiply; }
.mb-empty .mb-btn { margin-top: 14px; }
.mb-empty-sm { padding: 6px 0 2px; }
.mb-empty-sm .mb-empty-art { width: 120px; }
.mb-empty-sm p { margin: 0; font-size: 16.5px; color: var(--brown); max-width: 26em; }

/* ---------- hồ sơ ---------- */
.mb-consents { list-style: none; margin: 14px 0 0; padding: 0; }
.mb-consent { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.mb-consent-t { margin: 0; font: 400 19px/1.3 var(--serif); color: var(--ink); }
.mb-consent-d { margin: 4px 0 0; font: 400 13.5px/1.5 var(--sans); color: var(--brown); }
.mb-consent-d b { font-weight: 500; color: var(--terra-deep); }
.mb-switch { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 56px; min-height: 44px; padding-top: 2px; }
.mb-switch-track { position: relative; width: 48px; height: 28px; border-radius: 999px; border: 1px solid rgba(75, 68, 54, .5); background: var(--ivory-2); transition: background-color .45s var(--ease), border-color .45s var(--ease); }
.mb-switch-dot { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ivory); box-shadow: 0 1px 3px rgba(70, 25, 5, .35); transition: transform .5s var(--ease); }
.mb-switch[aria-checked="true"] .mb-switch-track { background: var(--terra-deep); border-color: var(--terra-deep); }
.mb-switch[aria-checked="true"] .mb-switch-dot { transform: translateX(20px); }
.mb-switch-state { font: 500 10.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brown); }
.mb-switch:disabled { opacity: .6; }

/* ---------- discover me ---------- */
.mb-art-band { max-width: 520px; margin: -8px auto 8px; }
.mb-band-img { width: 100%; mix-blend-mode: multiply; }
.mb-art-band-sm { max-width: 240px; margin-top: -14px; }
.mb-dm { max-width: 640px; margin: 0 auto; }
.mb-steps { list-style: none; counter-reset: s; display: flex; justify-content: center; gap: 6px; margin: 0 0 24px; padding: 0; }
.mb-steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; font: 500 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brown); opacity: .88; }
.mb-steps li + li::before { content: ''; width: 18px; height: 1px; background: var(--line); margin-right: 2px; }
.mb-steps li::after { content: none; }
.mb-steps li > span { display: none; }
.mb-steps li { position: relative; }
.mb-steps li.now, .mb-steps li.done { opacity: 1; color: var(--terra-deep); }
.mb-dl { text-align: center; padding: 16px 0 18px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-bottom: 18px; }
.mb-dl-k { margin: 0; font: 500 10.5px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brown); }
.mb-dl-v { margin: 6px 0 0; font: 400 26px/1.2 var(--display); color: var(--terra); }
.mb-dl-s { margin: 2px 0 0; font-size: 18px; color: var(--ink); }
.mb-prep { display: grid; justify-items: center; gap: 4px; padding: 6px 0; text-align: center; }
.mb-prep-star { width: 92px; margin-bottom: 8px; mix-blend-mode: multiply; animation: turn 24s linear infinite; }
.mb-prep.is-ready .mb-prep-star { animation: bloom 1.1s var(--ease) both; }
.mb-prep .mb-btn { margin-top: 18px; }
.mb-prep .mb-loading-in { margin: 14px 0 0; }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes bloom { from { opacity: 0; transform: scale(.7) rotate(-30deg); } to { opacity: 1; transform: none; } }

/* ---------- tối nay + danh mục ---------- */
.mb-themes { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
@media (min-width: 640px) { .mb-themes { grid-template-columns: 1fr 1fr; } .mb-themes .mb-theme:last-child { grid-column: 1 / -1; } }
.mb-theme { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 88px; padding: 16px 48px 16px 18px; text-align: left; background: var(--ivory); border: 1px solid var(--line-soft); box-shadow: var(--shadow); border-radius: 2px; transition: border-color .45s var(--ease), background-color .45s var(--ease), transform .45s var(--ease); }
.mb-theme::after { content: ''; position: absolute; right: 18px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: var(--terra-deep); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); opacity: .18; transform: scale(.7); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.mb-theme:hover { border-color: rgba(158, 58, 22, .4); transform: translateY(-1px); }
.mb-theme.on { border-color: var(--terra-deep); background: #FAF5EC; }
.mb-theme.on::after { opacity: 1; transform: scale(1.1) rotate(45deg); }
.mb-theme-en { font: italic 400 16px/1.2 var(--accent); color: var(--terra-deep); }
.mb-theme-t { font: 400 21px/1.25 var(--display); color: var(--ink); }
.mb-theme-d { font: 400 13px/1.45 var(--sans); color: var(--brown); }
.mb-sug { max-width: 760px; margin: 22px auto 0; animation: rise .55s var(--ease) both; }
.mb-sug .mb-h3 .mb-en { color: var(--terra-deep); }
.mb-prods { display: grid; gap: 12px; margin-top: 16px; }
.mb-prods-grid { margin-top: 0; }
@media (min-width: 760px) { .mb-prods-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1120px) { .mb-prods-grid { grid-template-columns: 1fr 1fr 1fr; } }
.mb-prod { display: flex; gap: 14px; padding: 16px; background: var(--ivory); border: 1px solid var(--line-soft); border-radius: 2px; color: inherit; text-decoration: none; transition: border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease); }
.mb-prods-grid .mb-prod { box-shadow: var(--shadow); padding: 20px 18px; }
.mb-sug .mb-prod { background: rgba(247, 241, 230, .5); }
a.mb-prod:hover { border-color: rgba(158, 58, 22, .45); transform: translateY(-2px); }
.mb-prod.is-off { opacity: .9; }
.mb-prod.is-off .mb-ico { opacity: .55; }
.mb-tile.is-off { cursor: default; opacity: .78; }
.mb-prod-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.mb-prod-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.mb-prod-t { font: 400 20px/1.25 var(--display); color: var(--ink); }
.mb-prod-d { font-size: 16.5px; line-height: 1.45; color: var(--ink); }
.mb-prod-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: auto; padding-top: 8px; }
.mb-prod-foot .mb-tile-go { margin-top: 0; padding-top: 0; }
.mb-price { font: 500 14px/1.3 var(--sans); letter-spacing: .03em; color: var(--terra-deep); }
.mb-price small { display: block; font-weight: 400; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--brown); }
.mb-cta-note { font: 500 11.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brown); }
.mb-examples { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mb-examples li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 14px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.mb-q { font: italic 400 19px/1.4 var(--accent); color: var(--ink); }

/* ---------- bản luận ---------- */
.mb-doc { max-width: 780px; margin: 0 auto; }
.mb-doc-lead { margin: 0 0 6px; font: italic 400 20px/1.5 var(--accent); color: var(--brown); }
@media (min-width: 640px) { .mb-doc-lead { font-size: 21.5px; text-align: center; } }
.mb-doc .mb-help-mock { margin-bottom: 18px; }
.mb-doc-h { display: flex; align-items: baseline; gap: 10px; margin: 30px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.mb-doc-h::before { content: ''; flex: none; width: 10px; height: 10px; background: var(--terra-deep); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); transform: translateY(-1px); }
.mb-doc-pos { font: 500 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--terra-deep); }
.mb-doc-p { margin: 0; font-size: 18px; line-height: 1.6; }
.mb-core { width: 100%; border-collapse: collapse; margin-top: 6px; }
.mb-core thead th { padding: 0 8px 8px 0; text-align: left; font: 500 10.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brown); border-bottom: 1px solid var(--line); }
.mb-core tbody th, .mb-core td { padding: 14px 10px 14px 0; vertical-align: top; text-align: left; border-bottom: 1px solid var(--line-soft); }
.mb-core tbody tr:last-child > * { border-bottom: 0; }
.mb-core-n { display: block; font: 400 18px/1.25 var(--display); color: var(--ink); }
.mb-core-en { display: block; font: italic 400 15px/1.2 var(--accent); color: var(--brown); }
.mb-core-v { width: 72px; text-align: center !important; }
.mb-core tbody th { width: 9.5em; }
.mb-num { display: inline-block; min-width: 1.4em; font: 400 40px/1 var(--display); color: var(--terra); }
.mb-core-m { font-size: 17px; line-height: 1.5; }
.mb-trace { display: block; margin-top: 4px; font: 400 11.5px/1.4 var(--sans); letter-spacing: .04em; color: var(--brown); font-variant-numeric: tabular-nums; }
@media (max-width: 599px) {
  .mb-core thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .mb-core tbody tr { display: grid; grid-template-columns: 58px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .mb-core tbody tr:last-child { border-bottom: 0; }
  .mb-core tbody th, .mb-core td { padding: 0; border: 0; }
  .mb-core tbody th { grid-column: 2; grid-row: 1; }
  .mb-core-v { grid-column: 1; grid-row: 1 / span 2; width: auto; align-self: center; }
  .mb-core-m { grid-column: 2; grid-row: 2; margin-top: 4px; }
  .mb-core-en { display: inline; margin-left: 6px; }
}
.mb-bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mb-bullets li { position: relative; padding-left: 22px; font-size: 18px; line-height: 1.55; }
.mb-bullets li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--terra); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.mb-convention { margin-top: 26px; padding-top: 12px; border-top: 1px dashed var(--line); }
.mb-about { margin: 36px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); color: var(--brown); }
.mb-about .mb-spark { display: block; margin: 0 auto 10px; opacity: .8; }
.mb-about-title { margin: 0; text-align: center; font: 500 10.5px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--brown); }
.mb-about-body { margin: 8px auto 0; max-width: 40em; text-align: center; font: italic 400 16.5px/1.55 var(--accent); color: var(--brown); }
.mb-doc-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px auto 0; max-width: 780px; }
.mb-doc-actions .mb-btn { min-height: 46px; padding: 12px 22px; font-size: 11px; }
.mb-quote { margin: 0 0 20px; padding: 14px 18px; border-left: 2px solid var(--terra-deep); background: rgba(217, 194, 166, .18); }
.mb-quote-k { margin: 0; font: 500 10.5px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brown); }
.mb-quote p:last-child { margin: 4px 0 0; font: italic 400 21px/1.4 var(--accent); color: var(--ink); }
.mb-spread { display: flex; justify-content: center; gap: clamp(10px, 3vw, 22px); margin: 22px 0 8px; }
.mb-tc-fig { margin: 0; width: clamp(86px, 25vw, 170px); text-align: center; }
.mb-spread-1 .mb-tc-fig { width: clamp(150px, 44vw, 220px); }
.mb-tc-face { border-radius: 6px; overflow: hidden; box-shadow: 0 18px 30px -18px rgba(70, 25, 5, .6), 0 0 0 1px rgba(75, 68, 54, .18); }
.mb-tc-face.is-rev img { transform: rotate(180deg); }
.mb-tc-fig figcaption { display: flex; flex-direction: column; gap: 1px; margin-top: 10px; }
.mb-tc-pos { font: 500 9.5px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--terra-deep); }
.mb-tc-name { font: 400 15px/1.25 var(--display); color: var(--ink); }
.mb-tc-or { font: italic 400 14px/1.2 var(--accent); color: var(--brown); }
.mb-doc-two { margin-top: 26px; }
.mb-doc-card { padding: 16px 18px; border: 1px solid var(--line-soft); background: rgba(237, 227, 209, .35); }
.mb-doc-k { margin: 0 0 6px; font: 500 10.5px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--terra-deep); }
.mb-doc-q { margin: 0; font: italic 400 20px/1.4 var(--accent); color: var(--ink); }

/* ---------- tarot ---------- */
.mb-sum { margin: 16px 0; display: grid; gap: 0; }
.mb-sum > div { display: grid; grid-template-columns: 1fr; gap: 2px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
@media (min-width: 520px) { .mb-sum > div { grid-template-columns: 9em 1fr; gap: 14px; } }
.mb-sum dt { font: 500 10.5px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brown); }
.mb-sum dd { margin: 0; font-size: 18px; line-height: 1.4; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.mb-sum dd b { font: 500 17px/1.3 var(--sans); color: var(--terra-deep); }
.mb-sum dd .mb-tag { margin-left: 6px; vertical-align: 2px; }
@keyframes deal { from { opacity: 0; transform: translate3d(0, 26px, 0) rotate(-3deg); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { opacity: .2; } 50% { opacity: .9; } }
#draw-state { min-height: 64px; margin-top: 12px; }

/* ---------- ví ---------- */
.mb-balance { position: relative; overflow: hidden; padding: 26px 24px 24px; border-radius: 14px; color: var(--ivory); background: radial-gradient(120% 95% at 82% 8%, #AD4C24 0%, #9E3A16 46%, #7E2D0E 100%); box-shadow: 0 34px 60px -32px rgba(90, 30, 8, .65); text-align: center; }
.mb-balance::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(247, 241, 230, .3); border-radius: 9px; pointer-events: none; }
.mb-balance-ico { position: absolute; right: -10px; bottom: -14px; width: 130px; height: 130px; opacity: .22; transform: rotate(-18deg); }
.mb-balance-k { margin: 0; font: 500 11px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.mb-balance-v { margin: 8px 0 0; font: 400 clamp(38px, 11vw, 52px)/1.05 var(--display); }
.mb-balance-s { margin: 8px 0 0; font: 400 13px/1.4 var(--sans); opacity: .9; }
@media (min-width: 560px) { .mb-packs { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 560px) { .mb-pay-grid { grid-template-columns: 220px 1fr; align-items: start; } }
.mb-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--terra); animation: pulse 2s var(--ease-io) infinite; }
.mb-ledger { list-style: none; margin: 10px 0 0; padding: 0; }
.mb-ledger li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.mb-ledger li:last-child { border-bottom: 0; }
.mb-ledger-t { display: flex; flex-direction: column; font-size: 17.5px; line-height: 1.3; min-width: 0; }
.mb-ledger-t small { font: 400 12px/1.4 var(--sans); color: var(--brown); overflow-wrap: anywhere; }
.mb-ledger-v { flex: none; font: 500 15px/1.2 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); }
.mb-ledger-v.is-plus { color: var(--terra-deep); }
.mb-ledger-v.is-neutral { color: var(--brown); font-weight: 400; }

/* ---------- mua bản luận ---------- */
.mb-row-wrap { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.mb-row-wrap .mb-btn { flex: 1 1 200px; }
.mb-row-gap { margin-top: 10px; }
.mb-buy-h { margin: 26px 0 0; }
.mb-buy .mb-field { margin-top: 18px; }
.mb-buy .mb-about { margin-top: 24px; }
.mb-buy .mb-note { margin-top: 14px; }
.mb-uses { text-align: left; padding: 14px 0 16px; margin-bottom: 4px; }
.mb-uses .mb-dl-k { margin-bottom: 6px; }
.mb-uselist, .mb-misslist { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 2px; font-size: 17px; line-height: 1.45; overflow-wrap: anywhere; }
.mb-misslist { margin-top: 8px; }
.mb-misslist li { position: relative; padding-left: 18px; }
.mb-misslist li::before { content: ''; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border: 1px solid var(--terra-deep); border-radius: 50%; }
.mb-uses .mb-note .mb-link { margin-top: 8px; }
.mb-panel-pending { position: relative; }
.mb-panel-pending .mb-pulse { position: absolute; top: 16px; right: 16px; }

/* ---------- bản luận: các khuôn soluna.reading.v1 ---------- */
.mb-doc .mb-trace { margin-top: 6px; font: italic 400 16.5px/1.45 var(--accent); letter-spacing: 0; color: var(--brown); }
.mb-doc-frame { margin: 0 0 8px; padding: 10px 14px; border: 1px dashed rgba(158, 58, 22, .45); font: 400 15px/1.5 var(--sans); color: var(--ink); }
.mb-doc-sub { margin: 0 0 16px; }
.mb-doc-sub:last-child { margin-bottom: 0; }
.mb-doc-cardh { letter-spacing: 0; text-transform: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 4px; font: 400 18px/1.3 var(--display); color: var(--ink); }
.mb-palaces { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.mb-palaces h3 { margin: 0 0 4px; font: 400 19px/1.3 var(--display); letter-spacing: 0; text-transform: none; color: var(--ink); }
.mb-pal-theme { font: italic 400 18px/1.3 var(--accent); letter-spacing: 0; color: var(--brown); }
.mb-srcs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.mb-tag.is-src { padding: 3px 8px 2px; font-size: 9.5px; }
.mb-tc-msg { margin-top: 6px; font: italic 400 14.5px/1.35 var(--accent); color: var(--ink); overflow-wrap: anywhere; }
.mb-spread-1 .mb-tc-msg { font-size: 17px; }
.mb-doc-close { margin-top: 22px; }
.mb-doc-fine { margin-top: 18px; }
.mb-merge { padding-bottom: 8px; }
.mb-subreading { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.mb-sub-k { display: flex; align-items: center; gap: 8px; }
.mb-doc-subtitle { margin: 6px 0 8px; font: 400 22px/1.25 var(--display); color: var(--ink); }

/* lá số 12 cung: địa bàn 4×4, ô giữa 2×2 */
.mb-zw { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; margin-top: 6px; padding: 3px; background: rgba(158, 58, 22, .5); border-radius: 2px; }
.mb-zw-cell { min-width: 0; min-height: 104px; padding: 6px 5px 7px; background: #FBF7EF; overflow-wrap: anywhere; }
.mb-zw-cell.is-menh { background: #F6E8DA; box-shadow: inset 0 0 0 1px rgba(158, 58, 22, .55); }
.mb-zw-cell.is-ln .mb-zw-name::after { content: ' ✦'; color: var(--terra); }
.mb-zw-center { grid-column: 2 / 4; grid-row: 2 / 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px 6px; background: var(--ivory); text-align: center; font: 400 12.5px/1.35 var(--sans); color: var(--brown); }
.mb-zw-cl { font: 400 17px/1.2 var(--display); color: var(--terra-deep); }
.mb-zw-name { margin: 0; font: 600 11.5px/1.2 var(--sans); color: var(--terra-deep); }
.mb-zw-chi { white-space: normal; margin: 1px 0 4px; font: 400 10.5px/1.2 var(--sans); color: var(--brown); }
.mb-zw-stars { list-style: none; margin: 0; padding: 0; font: 400 11px/1.3 var(--sans); color: var(--ink); }
.mb-zw-stars li.is-main { font-weight: 600; }
.mb-zw-stars i { font-style: normal; color: var(--terra-deep); white-space: nowrap; }
.mb-zw-marks { display: flex; flex-wrap: wrap; gap: 3px; margin: 5px 0 0; }
.mb-tag.is-zw { padding: 2px 5px 1px; font-size: 8.5px; letter-spacing: .06em; }
@media (min-width: 640px) {
  .mb-zw-cell { min-height: 128px; padding: 8px 8px 9px; }
  .mb-zw-name { font-size: 13px; }
  .mb-zw-stars { font-size: 12.5px; }
  .mb-zw-center { font-size: 14px; }
  .mb-zw-cl { font-size: 21px; }
}

/* ---------- đặt bàn ---------- */
.mb-days { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 4px 2px 10px; margin: 0 -4px; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 86%, transparent); mask-image: linear-gradient(to right, #000 86%, transparent); }
.mb-days::-webkit-scrollbar { display: none; }
.mb-day { flex: none; scroll-snap-align: start; width: 66px; min-height: 82px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 1px solid var(--line); border-radius: 3px; background: rgba(247, 241, 230, .6); transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease); }
.mb-day:hover { border-color: rgba(158, 58, 22, .55); }
.mb-day-w { font: 500 10px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brown); white-space: nowrap; }
.mb-day-n { font: 400 25px/1.05 var(--display); color: var(--ink); }
.mb-day-m { font: 400 11px/1.2 var(--sans); color: var(--brown); }
.mb-day.on { background: var(--terra-deep); border-color: var(--terra-deep); }
.mb-day.on span { color: var(--ivory); }
.mb-other-date { margin-top: 6px; max-width: 260px; }
.mb-stepper { display: flex; align-items: center; gap: 14px; }
.mb-stepper input { width: 72px !important; text-align: center; }
.mb-step { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(158, 58, 22, .5); color: var(--terra-deep); font: 400 22px/1 var(--sans); display: grid; place-items: center; transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.mb-step:hover { background: var(--terra-deep); color: var(--ivory); }
.mb-step:active { transform: scale(.94); }
.mb-step:disabled { opacity: .35; pointer-events: none; }
#slots { margin-top: 22px; min-height: 120px; }
.mb-slots-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 10px; }
.mb-slots-t { margin: 0; font: 500 13px/1.45 var(--sans); letter-spacing: .03em; color: var(--brown); }
.mb-slots-s { margin: 0; font: italic 400 16px/1.3 var(--accent); color: var(--brown); }
.mb-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mb-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; padding: 6px 2px; border: 1px solid var(--line); border-radius: 3px; background: rgba(247, 241, 230, .6); transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease); }
.mb-slot-time { font: 500 15px/1.2 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); }
.mb-slot-st { font: 400 10.5px/1.2 var(--sans); letter-spacing: .02em; color: var(--brown); }
.mb-slot:hover:not([aria-disabled]) { border-color: rgba(158, 58, 22, .55); }
.mb-slot.is-sap_kin { border-style: dashed; border-color: rgba(158, 58, 22, .55); }
.mb-slot.is-sap_kin .mb-slot-st { color: var(--terra-deep); }
.mb-slot.is-kin { background: transparent; border-color: var(--line-soft); cursor: not-allowed; }
.mb-slot.is-kin .mb-slot-time { color: rgba(75, 68, 54, .5); text-decoration: line-through; text-decoration-thickness: 1px; }
.mb-slot.is-kin .mb-slot-st { color: rgba(107, 74, 47, .75); }
.mb-slot.on { background: var(--terra-deep); border-color: var(--terra-deep); border-style: solid; }
.mb-slot.on span { color: var(--ivory) !important; }
.mb-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; font: 400 12px/1.4 var(--sans); color: var(--brown); }
.mb-legend span { display: inline-flex; align-items: center; gap: 6px; }
.mb-legend span::before { content: ''; width: 14px; height: 10px; border: 1px solid var(--line); border-radius: 2px; background: rgba(247, 241, 230, .8); }
.mb-legend .is-sap_kin::before { border-style: dashed; border-color: rgba(158, 58, 22, .7); }
.mb-legend .is-kin::before { background: linear-gradient(to top right, transparent 46%, rgba(75, 68, 54, .5) 50%, transparent 54%); }
.mb-done { text-align: center; outline: none; }
.mb-done .mb-p, .mb-blist small { overflow-wrap: anywhere; }
.mb-book-art { margin: 0 -6px; }
/* ràng buộc đặt bàn (dist/booking-rules.js) */
.mb-rules { padding-top: 20px; padding-bottom: 20px; }
.mb-rules .mb-h3 { margin-bottom: 10px; }
.mb-rules-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.mb-rules-l li { position: relative; padding-left: 18px; font: 400 14.5px/1.5 var(--sans); color: var(--ink); }
.mb-rules-l li::before { content: ''; position: absolute; left: 3px; top: .68em; width: 5px; height: 5px; background: var(--terra); transform: rotate(45deg); }
.mb-book-art img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 74% 72% at 50% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 74% 72% at 50% 50%, #000 60%, transparent 100%); }
.mb-done-star { width: 80px; margin: 0 auto 10px; mix-blend-mode: multiply; animation: bloom 1.1s var(--ease) both; }
.mb-done .mb-tag { margin-top: 12px; }
.mb-blist { list-style: none; margin: 10px 0 0; padding: 0; }
.mb-blist li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.mb-blist li:last-child { border-bottom: 0; }
.mb-blist li.is-past { opacity: .62; }
.mb-blist-d { display: flex; flex-direction: column; min-width: 0; }
.mb-blist-d b { font: 400 18px/1.3 var(--serif); }
.mb-blist-d small { font: 400 12.5px/1.4 var(--sans); color: var(--brown); overflow-wrap: anywhere; }

/* ---------- hộp thoại ---------- */
.mb-dialog { width: min(440px, calc(100vw - 40px)); padding: 30px 26px 24px; border: 1px solid var(--line); border-radius: 3px; background: var(--ivory); color: var(--ink); box-shadow: 0 40px 90px -40px rgba(40, 15, 5, .7); text-align: center; }
.mb-dialog::backdrop { background: rgba(48, 26, 14, .42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.mb-dialog[open] { animation: rise .4s var(--ease) both; }
.mb-dialog .mb-row-actions { margin-top: 22px; }

/* ---------- chân trang ---------- */
.mb-foot { margin-top: 44px; text-align: center; }
.mb-foot-tag { margin: 0; font: italic 400 19px/1.4 var(--accent); color: var(--brown); }
.mb-foot-brand { margin: 6px 0 0; font: 400 11px/1.6 var(--sans); letter-spacing: .14em; color: var(--brown); }
@media (max-width: 559px) { .mb-foot-brand span { display: block; } .mb-foot-brand .mb-foot-dot { display: none; } }
.mb-noscript { position: relative; z-index: 20; max-width: 520px; margin: 20px auto; padding: 16px; text-align: center; background: var(--ivory); }

/* ---------- giảm chuyển động ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .mb-glint, .mb-mcard::after { display: none; }
  .mb-prep-star { animation: none; }
}
.mb-jitem-st { display: block; margin-top: 6px; }

/* ---------- xác nhận chính chủ (Đợt 1, 07/10/2026) ---------- */
/* Câu xác nhận do server giữ; ô mặc định chưa tick. Chữ câu xác nhận giữ cỡ dễ đọc (15px), lời hướng dẫn và lời báo lỗi thụt vào
   thẳng hàng với chữ (ô 20px + khoảng 12px). Không dùng .mb-field để nhãn không bị kiểu chữ nhãn nhỏ của ô nhập. */
.mb-attest { display: grid; gap: 2px; padding: 12px 16px 14px; border: 1px solid var(--line); border-left: 2px solid var(--terra-deep); border-radius: 3px; background: rgba(247, 241, 230, .72); transition: border-color .35s var(--ease), background-color .35s var(--ease); }
.mb-attest:has(input:checked) { border-color: rgba(158, 58, 22, .55); background: rgba(199, 90, 40, .06); }
.mb-attest .mb-check { padding-top: 4px; }
.mb-attest .mb-check span { min-width: 0; overflow-wrap: anywhere; }
.mb-attest .mb-help, .mb-attest .mb-err { margin-left: 32px; }
.mb-attest input:focus-visible { outline: 2px solid var(--terra-deep); outline-offset: 3px; }
.mb-buy .mb-attest { margin-top: 18px; }

/* ---------- quà tặng (Đợt 4, 07/10/2026) ---------- */
/* Cờ gifting tắt thì link "Quà" mang thuộc tính hidden; .mb-nav-wide đặt display:flex !important nên phải ẩn lại tường minh. */
.mb-nav a[hidden] { display: none !important; }
.mb-gift { padding: 16px 16px 14px; border: 1px solid var(--line); border-left: 2px solid var(--terra-deep); border-radius: 3px; background: rgba(247, 241, 230, .72); }
.mb-gift article { display: grid; gap: 8px; min-width: 0; }
.mb-tag.is-sent, .mb-tag.is-sending { border-color: rgba(158, 58, 22, .55); color: var(--terra-deep); }
.mb-tag.is-accepted, .mb-tag.is-used { border-color: rgba(75, 68, 54, .5); background: var(--ivory-2); color: var(--ink); }
.mb-tag.is-declined, .mb-tag.is-canceled, .mb-tag.is-unknown { opacity: .75; }
/* Form tặng ngắn: giữ độ rộng dễ đọc trên màn lớn (màn mua gốc dùng hết khung). */
@media (max-width: 420px) {
  .mb-gift { padding: 14px 12px 12px; }
}

/* Gợi ý đặt tên hiển thị trên Tổng quan khi thành viên chưa có tên (rà 09/10/2026, MEM-09). */
.mb-nameask { margin: 0 auto 22px; max-width: 640px; }
.mb-nameask .mb-h3 { margin-top: 0; }
.mb-nameask > .mb-link { margin-top: 10px; }
/* Khung giờ hôm nay đã qua hoặc còn dưới 30 phút (MEM-05): cùng kiểu "kín", không gạch số giờ để khỏi đọc nhầm là hết chỗ. */
.mb-slot.is-past .mb-slot-time { text-decoration: none; }

/* Tích điểm khi dùng bữa (Raymond chốt 22/10/2026): màn Điểm, danh mục đổi, ô nối tài khoản tại quầy. */
.mb-pthow { margin: 6px 0 0; padding-left: 1.4em; display: grid; gap: 8px; font-size: 17px; line-height: 1.5; color: var(--ink); }
.mb-pthow li::marker { font: 500 13px var(--sans); color: var(--terra-deep); }
.mb-ptlist { list-style: none; margin: 8px 0 4px; padding: 0; }
.mb-ptlist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 14px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.mb-ptlist li:last-child { border-bottom: 0; }
.mb-ptlist-t { font-size: 17.5px; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.mb-ptlist-v { font: 500 14px/1.2 var(--sans); letter-spacing: .03em; color: var(--terra-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mb-ptlist-a { grid-column: 1 / -1; display: flex; justify-content: flex-start; }
.mb-ptlist-s { font: 400 12.5px/1.4 var(--sans); color: var(--brown); }
@media (min-width: 560px) {
  .mb-ptlist li { grid-template-columns: minmax(0, 1fr) auto auto; }
  .mb-ptlist-a { grid-column: auto; justify-content: flex-end; }
}
.mb-btn-sm { min-height: 44px; padding: 10px 18px; font-size: 11px; letter-spacing: .14em; }
.mb-ptline { max-width: 640px; margin: -4px auto 18px; font-size: 16px; color: var(--brown); }
.mb-ptline .mb-link { margin-left: 4px; }
.mb-ptsoon .mb-ico-lg { display: block; margin: 0 auto 6px; opacity: .85; }
.mb-claim .mb-h3 { margin-top: 0; }
#f-claim-code { letter-spacing: .2em; font-variant-numeric: tabular-nums; }

/* 08/11/2026: khối giới thiệu game Đêm ở SOLUNA + quà 3 lượt mỗi giấc mơ sáng (Tổng quan) */
.mb-panel-game { border-color: rgba(158, 58, 22, .35); background: linear-gradient(180deg, rgba(199, 90, 40, .06), transparent 60%), var(--ivory); }
.mb-dreams { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.mb-dreams li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.mb-dream-n { font-size: 17px; }
.mb-dream-u { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--terra-deep, #9E3A16); white-space: nowrap; }
.mb-dream-u.is-zero { color: inherit; opacity: .6; }
