:root {
  /* Velvet & Glow — light, warm, cheerful */
  --bg: #fff8f5;
  --panel: #ffffff;
  --panel2: #fff1f2;
  --field: #ffffff;
  --line: rgba(122, 52, 82, 0.13);
  --txt: #3a2230;
  --muted: #8d7380;
  --pink: #e8558a;
  --mauve: #b46cd6;
  --cyan: #1aa6b7;
  --gold: #c58b2b;
  --price: #d4407a;
  --ok: #1f9d5c;
  --err: #d64545;
  --shadow: 0 10px 30px rgba(180, 80, 120, 0.12);
  --r: 16px;
  --font: "Tajawal", "Cairo", system-ui, sans-serif;
}
/* the 3D world and the tennis game stay at night */
.world-page, .game-page {
  --bg: #07070d; --panel: rgba(18, 16, 30, 0.92); --panel2: #1a1730; --field: #0f0d1c; --line: rgba(255, 255, 255, 0.09);
  --txt: #f4f1ff; --muted: #9b95b8; --pink: #ff3fa4; --cyan: #00e5ff; --gold: #ffd23f; --price: #ffd23f; --ok: #3fff8b; --err: #ff5e5e; --shadow: none;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--txt); font-family: var(--font); font-size: 15px; }
a { color: var(--cyan); text-decoration: none; }
h1, h2, h3 { margin: 0 0 .6em; line-height: 1.3; }
h2 { font-size: 1.25rem; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row > * { flex: 1; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.badge { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: .78rem; background: var(--line); }
.badge.ok { background: rgba(63, 255, 139, .15); color: var(--ok); }
.badge.warn { background: rgba(255, 210, 63, .15); color: var(--gold); }
.badge.err { background: rgba(255, 94, 94, .15); color: var(--err); }
.badge.pink { background: rgba(255, 63, 164, .18); color: var(--pink); }

.btn { font: inherit; border: 1px solid var(--line); background: var(--panel2); color: var(--txt); padding: 10px 14px; border-radius: 12px; cursor: pointer; transition: .15s; white-space: nowrap; }
.btn:hover { border-color: var(--pink); }
.btn:disabled { opacity: .55; }
.btn.primary { background: linear-gradient(135deg, var(--pink), var(--mauve)); color: #fff; border: 0; font-weight: 700; box-shadow: 0 8px 22px rgba(232, 85, 138, .32); }
.btn.cyan { background: linear-gradient(135deg, #36c2d3, var(--cyan)); color: #fff; border: 0; font-weight: 700; }
.btn.gold { background: linear-gradient(135deg, #f3c26b, var(--gold)); color: #fff; border: 0; font-weight: 700; }
.btn.sm { padding: 6px 10px; font-size: .85rem; border-radius: 9px; }
.btn.ghost { background: transparent; }
.btn.danger { border-color: rgba(255,94,94,.5); color: var(--err); }

input, select, textarea { font: inherit; width: 100%; background: var(--field); color: var(--txt); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pink); }
textarea { min-height: 80px; resize: vertical; }
label { display: block; font-size: .88rem; color: var(--muted); }
label > input, label > select, label > textarea { margin-top: 4px; color: var(--txt); }
.form { display: grid; gap: 10px; }
.check { display: flex; gap: 8px; align-items: center; color: var(--txt); }
.check input { width: auto; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); }
.card img.cover { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; background: var(--panel2); }

/* modal */
.modal-wrap { position: fixed; inset: 0; background: rgba(58,34,48,.45); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 1000; padding: 14px; animation: fade .2s; }
.modal { position: relative; width: min(440px, 100%); max-height: 90vh; overflow: auto; background: var(--panel); box-shadow: var(--shadow); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.modal.wide { width: min(760px, 100%); }
.modal .x { position: absolute; top: 10px; left: 10px; background: none; border: 0; color: var(--muted); font-size: 1.2rem; cursor: pointer; }
@keyframes fade { from { opacity: 0 } }

.tabs { display: flex; gap: 6px; margin: 8px 0 14px; overflow-x: auto; scrollbar-width: none; }
.tab { font: inherit; background: transparent; border: 1px solid var(--line); color: var(--muted); padding: 7px 13px; border-radius: 99px; cursor: pointer; white-space: nowrap; }
.tab.on { background: var(--pink); color: #fff; border-color: var(--pink); font-weight: 700; }

#toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 2000; display: grid; gap: 8px; width: min(420px, 92vw); }
.toast { background: var(--panel); color: var(--txt); border: 1px solid var(--line); padding: 11px 15px; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.18); transition: .4s; }
.toast.ok { border-color: var(--ok); }
.toast.err { border-color: var(--err); }
.toast.out { opacity: 0; transform: translateY(10px); }

.list { display: grid; gap: 8px; }
.list .item { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); color: var(--txt); }
.list .item.unread { border-color: var(--pink); }
.list .item small { color: var(--muted); }

/* picker */
.picker { position: relative; height: 55vh; border-radius: 14px; overflow: hidden; margin: 8px 0; touch-action: none; }
.picker canvas { width: 100%; height: 100%; display: block; cursor: grab; }
.picker .pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); font-size: 34px; pointer-events: none; filter: drop-shadow(0 4px 6px #000); }
.picker .zoom { position: absolute; top: 10px; right: 10px; display: grid; gap: 4px; }
.picker .zoom button { width: 38px; height: 38px; border-radius: 10px; border: 0; background: #fff; color: #000; font-size: 1.3rem; }
.attr { font-size: .7rem; color: var(--muted); }

/* tables (dashboards) */
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.table th { color: var(--muted); font-weight: 500; }
.scroll-x { overflow-x: auto; }

/* dashboard layout */
.dash { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.dash aside { background: var(--panel); border-inline-end: 1px solid var(--line); padding: 16px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.dash aside .logo { font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; display: block; color: var(--txt); }
.dash aside nav a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--muted); margin-bottom: 2px; }
.dash aside nav a.on, .dash aside nav a:hover { background: var(--panel2); color: var(--txt); }
.dash main { padding: 20px; max-width: 1200px; width: 100%; }
.dash header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 10px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-bottom: 16px; }
.kpi { background: var(--panel2); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.kpi b { display: block; font-size: 1.5rem; margin-top: 4px; }
.bell { position: relative; cursor: pointer; font-size: 1.3rem; background: none; border: 0; color: var(--txt); }
.bell[data-count]:not([data-count=""])::after { content: attr(data-count); position: absolute; top: -4px; left: -6px; background: var(--pink); color: #fff; font-size: .7rem; border-radius: 99px; padding: 1px 6px; }
@media (max-width: 820px) {
  .dash { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .dash aside { position: sticky; top: 0; height: auto; z-index: 50; padding: 10px; }
  .dash aside .logo { margin: 0 0 8px; }
  .dash aside nav { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
  .dash aside nav a { white-space: nowrap; margin: 0; }
  .dash main { padding: 14px; }
}

/* simple pages (market/account) */
.topbar { position: sticky; top: 0; z-index: 40; display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .brand { font-weight: 800; font-size: 1.15rem; color: var(--txt); white-space: nowrap; }
.topbar .brand span { color: var(--pink); }
.topbar .sp { flex: 1; }
.page { max-width: 1200px; margin: 0 auto; padding: 16px; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; }
.slot { font: inherit; padding: 8px 4px; border-radius: 10px; background: var(--field); border: 1px solid var(--line); color: var(--txt); cursor: pointer; }
.slot.on { background: var(--pink); border-color: var(--pink); color: #fff; font-weight: 700; }

/* brand */
.brand { font-weight: 800; font-size: 1.3rem; color: var(--txt); display: inline-flex; flex-direction: column; line-height: 1; letter-spacing: .3px; direction: ltr; text-decoration: none; }
.brand small { white-space: nowrap; font-size: .62rem; font-weight: 600; letter-spacing: 1.5px; color: var(--pink); margin-top: 3px; text-transform: uppercase; }
.topbar .brand { color: var(--txt); }

/* dashboards: switch to public pages */
.dash aside .switch { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 2px; font-size: .92rem; }
.dash aside .switch > span { font-size: .78rem; padding: 0 12px 4px; }
.dash aside .switch a { padding: 8px 12px; border-radius: 10px; color: var(--muted); }
.dash aside .switch a:hover { background: var(--panel2); color: var(--txt); }
@media (max-width: 820px) {
  .dash aside .switch { flex-direction: row; overflow-x: auto; margin-top: 6px; padding-top: 6px; scrollbar-width: none; white-space: nowrap; align-items: center; }
  .dash aside .switch > span { display: none; }
  .dash aside .switch a { padding: 5px 10px; background: var(--panel2); }
}
/* public pages: shortcut to the dashboard of the logged-in role */
.dash-link { white-space: nowrap; }
.hud-top .dash-link { margin-inline-start: 6px; }
.dash header > .row { flex-wrap: nowrap; align-items: center; gap: 6px; }

/* ===================== Velvet & Glow — polish + motion ===================== */
body { animation: pagein .45s ease both; }
@keyframes pagein { from { opacity: 0; } } /* opacity only: a transform on <body> would break every position:fixed element */

/* buttons */
.btn { position: relative; overflow: hidden; background: var(--panel); box-shadow: 0 2px 8px rgba(180, 80, 120, .08); transition: transform .15s, box-shadow .2s, border-color .2s, background .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(180, 80, 120, .16); }
.btn:active { transform: scale(.96); }
.btn.primary { background: linear-gradient(135deg, #f0679a, var(--pink) 45%, var(--mauve)); background-size: 160% 160%; animation: grad 6s ease infinite; }
.btn.primary::after, .btn.cyan::after, .btn.gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: none; pointer-events: none; }
.btn.primary:hover::after, .btn.cyan:hover::after, .btn.gold:hover::after { transform: translateX(120%); transition: transform .7s ease; }
.btn.primary:hover { box-shadow: 0 10px 28px rgba(232, 85, 138, .42); }
.btn.ghost { box-shadow: none; }
@keyframes grad { 50% { background-position: 100% 50%; } }
.world-page .btn, .game-page .btn { background: var(--panel2); box-shadow: none; }
.world-page .btn.primary, .game-page .btn.primary { background: linear-gradient(135deg, var(--pink), #b46cd6); }

/* fields */
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 4px rgba(232, 85, 138, .14); }
input, select, textarea { transition: border-color .2s, box-shadow .2s; }

/* tabs / chips */
.tab { transition: .2s; }
.tab:hover { color: var(--txt); border-color: var(--pink); }
.tab.on { background: linear-gradient(135deg, var(--pink), var(--mauve)); border-color: transparent; box-shadow: 0 6px 16px rgba(232, 85, 138, .28); }

/* cards */
.card { transition: transform .2s, box-shadow .2s; }
.kpi { background: linear-gradient(160deg, #fff, var(--panel2)); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; color: var(--txt); }
.kpi:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(180, 80, 120, .18); }
.kpi b { background: linear-gradient(90deg, var(--pink), var(--mauve)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* modal + toasts */
.modal { animation: pop .32s cubic-bezier(.2, .9, .3, 1.25); box-shadow: 0 30px 80px rgba(120, 40, 80, .25); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.94); } }
.toast { animation: toastin .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes toastin { from { opacity: 0; transform: translateY(16px) scale(.96); } }

/* dashboards */
.dash aside { background: linear-gradient(180deg, #fff 0%, #fff6f8 100%); }
.dash aside .logo { background: linear-gradient(90deg, var(--txt), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dash aside nav a { transition: background .2s, color .2s, transform .2s; }
.dash aside nav a:hover { transform: translateX(-3px); }
.dash aside nav a.on { background: linear-gradient(135deg, rgba(232, 85, 138, .14), rgba(180, 108, 214, .14)); color: var(--pink); font-weight: 700; border-inline-start: 3px solid var(--pink); }
#body > * { animation: rise .4s ease both; }
.table tr { transition: background .15s; }
.table tbody tr:hover, .table tr:hover td { background: rgba(255, 241, 242, .6); }

/* badges */
.cart.bump, .cart-btn.bump { animation: bump .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 30% { transform: scale(1.3) rotate(-8deg); } 60% { transform: scale(.95); } }

/* scroll reveal (added by JS) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* language switch on pages without a bar (game) */
.lang-float { position: fixed; bottom: calc(12px + env(safe-area-inset-bottom)); inset-inline-start: 12px; z-index: 60; }

/* WhatsApp floating button */
.wa-float { position: fixed; bottom: calc(18px + env(safe-area-inset-bottom)); inset-inline-end: 16px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; color: #fff; background: #25d366; box-shadow: 0 10px 26px rgba(37, 211, 102, .45); animation: wa-in .6s .8s cubic-bezier(.3, 1.6, .5, 1) both; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s 1.6s ease-out infinite; }
@keyframes wa-in { from { transform: scale(0) rotate(-90deg); } }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.btn.cart, .btn.cart-btn, .btn.has-badge { overflow: visible; }
/* market cards */
.prod { transition: transform .25s, box-shadow .25s, border-color .25s; animation: rise .5s both; overflow: hidden; }
.prod:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(180, 80, 120, .2); border-color: var(--pink); }
.prod img { transition: transform .5s ease; }
.prod:hover img { transform: scale(1.06); }
.page .hero { animation: rise .6s both; }
@media (max-width: 520px) { .nav .lbl, .topbar .lbl { display: none; } .nav { gap: 6px; padding: 8px 10px; } }
.dash header > .row > * { flex: none; }

/* product extras: rating, coffret, notify, tips, reviews */
.stars .st { color: #f5a623; letter-spacing: 1px; }
.stars .st i { font-style: normal; color: #e6d9de; }
.bdg { align-self: flex-start; background: linear-gradient(135deg, #f3c26b, #e8558a); color: #fff; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.bundle-box { display: grid; gap: 6px; margin: 10px 0; padding: 10px; border-radius: 14px; background: linear-gradient(135deg, #fff6e6, #ffeef4); border: 1px dashed #f0b56a; }
.bundle-box .bi { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; align-items: center; color: var(--txt); }
.bundle-box .bi img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; background: #fff; }
.notify-box { display: grid; gap: 6px; margin-top: 12px; padding: 12px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); animation: rise .4s both; }
.pd-sec { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line); }
.pd-sec h3 { margin: 0 0 8px; font-size: 1.05rem; }
.tips ul { margin: 8px 0 0; padding-inline-start: 20px; line-height: 1.9; color: var(--txt); }
.vid { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: #000; display: block; }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rv { padding: 10px 0; border-bottom: 1px solid var(--line); }
.rv p { margin: 6px 0; line-height: 1.7; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba figure { margin: 0; position: relative; }
.ba img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.ba figcaption { position: absolute; top: 8px; inset-inline-start: 8px; background: rgba(255,255,255,.9); border-radius: 99px; padding: 2px 10px; font-size: .78rem; font-weight: 700; }
.rate { display: flex; gap: 4px; justify-content: center; }
.rate button { font-size: 2rem; background: none; border: 0; color: #e6d9de; cursor: pointer; transition: transform .15s; }
.rate button.on { color: #f5a623; }
.rate button:active { transform: scale(1.3); }
.up { border: 1.5px dashed var(--line); border-radius: 12px; padding: 10px; text-align: center; cursor: pointer; }
.up input { display: none; }
.up span img { width: 100%; max-height: 120px; object-fit: cover; border-radius: 8px; margin-top: 6px; }

.sky-btn { position: fixed; z-index: 30; bottom: calc(150px + env(safe-area-inset-bottom)); inset-inline-end: 12px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(18,16,30,.75); font-size: 1.3rem; cursor: pointer; backdrop-filter: blur(8px); }

/* ===================== Velvet & Glow — design system v2 =====================
   Palette: cream · blush · rose · velvet plum · champagne gold (one family, no clashing teal)
   Type: DM Sans + Tajawal (text) · Playfair Display + El Messiri (titles) · Cormorant + Aref Ruqaa (accents) */
:root {
  color-scheme: only light;
  --bg: #fffaf7; --panel: #ffffff; --panel2: #fbf1f3; --field: #ffffff;
  --line: rgba(91, 42, 79, .12);
  --txt: #2e1a28; --muted: #85707c;
  --pink: #d64f86; --rose-soft: #f7d3df; --mauve: #9b5fc0; --plum: #5b2a4f; --gold: #c29a55; --peach: #f4b8a0;
  --cyan: #8a4778; --price: #c23f76;
  --shadow: 0 10px 30px rgba(91, 42, 79, .10);
  --font: "DM Sans", "Tajawal", system-ui, sans-serif;
  --display: "Playfair Display", "El Messiri", Georgia, serif;
  --script: "Cormorant Garamond", "Aref Ruqaa", Georgia, serif;
  --r: 18px;
}
html, body { font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
:lang(ar) body, html[lang="ar"] body { font-family: "Tajawal", "DM Sans", system-ui, sans-serif; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; color: var(--txt); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: "El Messiri", "Playfair Display", serif; letter-spacing: 0; }
.world-page, .game-page { color-scheme: dark; }
.world-page h1, .world-page h2, .world-page h3, .game-page h1, .game-page h2, .game-page h3 { color: inherit; }

/* brand wordmark */
.brand { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 700; letter-spacing: .2px; }
.brand small { font-family: "Cormorant Garamond", Georgia, serif; font-style: normal; font-weight: 600; letter-spacing: 3px; color: var(--gold); font-size: .66rem; }

/* buttons: one shape, two weights */
.btn { border-radius: 14px; font-weight: 600; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.btn.sm { min-height: 34px; border-radius: 11px; }
.btn.primary { background: linear-gradient(135deg, #e0679a, var(--pink) 45%, var(--mauve)); background-size: 160% 160%; }
.btn.cyan { background: linear-gradient(135deg, #8a4778, var(--plum)); box-shadow: 0 8px 22px rgba(91, 42, 79, .28); }
.btn.gold { background: linear-gradient(135deg, #e2c487, var(--gold)); color: #3b2a12; }
.btn:not(.primary):not(.cyan):not(.gold):not(.danger) { color: var(--plum); border-color: rgba(91, 42, 79, .16); }
.world-page .btn:not(.primary):not(.cyan):not(.gold):not(.danger), .game-page .btn:not(.primary):not(.cyan):not(.gold):not(.danger) { color: var(--txt); }
a { color: var(--cyan); }
.tab.on { background: linear-gradient(135deg, var(--pink), var(--mauve)); }
.badge.pink { background: rgba(214, 79, 134, .12); color: var(--pink); }
.price, .pc .price { font-family: var(--display); font-weight: 700; color: var(--price); }
.topbar { background: rgba(255, 250, 247, .9); }
.topbar .brand, .nav .brand { font-size: 1.45rem; }

/* brand: Velvet & Glow emblem + Maraya wordmark; palette tuned to the logo (velvet plum + rose gold) */
:root { --plum: #4a2346; --gold: #b98271; --rosegold: #d9a597; }
.brand { flex-direction: row !important; align-items: center; gap: 9px; }
.brand-t { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-ico { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 4px 14px rgba(74, 35, 70, .35); flex: none; }
.topbar .brand-ico { width: 34px; height: 34px; }
.dash aside .logo .brand-ico { width: 30px; height: 30px; }
@media (max-width: 380px) { .brand small { letter-spacing: 1.5px; } }

.foot-logo { display: inline-block; }
.foot-logo img { width: 140px; height: 140px; border-radius: 50%; box-shadow: 0 14px 40px rgba(74, 35, 70, .35); display: block; margin: 0 auto; }
.foot-name { font-family: "Playfair Display", serif; font-style: italic; font-weight: 700; font-size: 1.4rem; margin: 12px 0 4px; color: var(--txt); }
.foot-name small { display: block; font-family: "Cormorant Garamond", serif; font-style: normal; font-size: .75rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.brand-ico { width: 46px; height: 46px; } .topbar .brand-ico { width: 42px; height: 42px; }

/* dashboard action buttons: wrap, natural width */
.acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }
.acts > * { flex: none; }
.tab small { opacity: .75; font-weight: 600; margin-inline-start: 4px; }
/* dashboards never wider than the screen */
.dash { grid-template-columns: 230px minmax(0, 1fr); }
.dash > main, .dash > aside { min-width: 0; }
@media (max-width: 820px) { .dash { grid-template-columns: minmax(0, 1fr); } }
.dash .list .item { min-width: 0; overflow-wrap: anywhere; }

/* line icons (replace emoji: same rendering on every phone) */
.ic { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; display: inline-block; }
[data-ic] { display: inline-flex; align-items: center; justify-content: center; }
.q b[data-ic] .ic { width: 26px; height: 26px; color: var(--pink); }
.q.hot b[data-ic] .ic { color: var(--plum); }
h2 [data-ic] .ic { color: var(--gold); }
.pd-perks .ic { width: 15px; height: 15px; color: var(--pink); }
/* accessibility: visible keyboard focus + comfortable touch targets */
:focus-visible { outline: 3px solid rgba(214, 79, 134, .55); outline-offset: 2px; border-radius: 10px; }
@media (pointer: coarse) { .btn.sm { min-height: 40px; min-width: 40px; } .tab { min-height: 40px; } }
