/* Layout: the Obix event-poster look (same as the official site preview): near-black night, one orange,
   dark rounded cards with amber hairlines, a white word + a huge orange word per heading.
   Each product gets a live "thing" you can hold: a plate you type on, a number that grades itself,
   an ID card with your new name, and character slots. A cart drawer slides in from the left. */
:root {
  color-scheme: dark;
  --bg: #0a0806;
  --card: #120e0b;
  --card-2: #18130e;
  --stroke: #3a2a17;
  --stroke-2: #5c4120;
  --text: #f6f1ea;
  --muted: #bdb2a5;
  --dim: #85796c;
  --orange: #ff9d1c;
  --orange-2: #ffb84f;
  --on-orange: #1a0d00;
  --red: #ff4a3d;
  --green: #3fd07f;
  --platinum: #8fe3ff;
  --gold: #ffd36a;
  --silver: #d6dbe2;
  --bronze: #e8a06a;
  --plate: #f3efe6;
  --plate-ink: #182a4f;
  --ar: "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif;
  --lat: "Rajdhani", "Cairo", "Arial Narrow", sans-serif;
  --wrap: 1200px;
}
html { direction: rtl; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--bg); color: var(--text); font-family: var(--ar); font-size: 16px; line-height: 1.7; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg); }
a { color: var(--orange); text-decoration: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.lat { font-family: var(--lat); direction: ltr; unicode-bidi: isolate; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

/* ---- shared parts ---- */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--stroke-2); background: rgba(255, 157, 28, .05); font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.pill.quiet { color: var(--muted); }
.pill.quiet::before { background: var(--dim); box-shadow: none; }
.kicker { font-family: var(--lat); font-weight: 700; font-size: 14px; letter-spacing: .32em; color: var(--orange); direction: ltr; unicode-bidi: isolate; text-transform: uppercase; }
.card { background: var(--card); border: 1px solid var(--stroke); border-radius: 18px; min-width: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 22px; border-radius: 999px; font-weight: 800; font-size: 15.5px; cursor: pointer; border: 1px solid var(--stroke-2); background: var(--card); color: var(--text); transition: border-color .2s, background .2s, opacity .2s; white-space: nowrap; }
.btn:hover { border-color: var(--orange); }
.btn.solid { background: var(--orange); border-color: var(--orange); color: var(--on-orange); box-shadow: 0 10px 30px -12px var(--orange); }
.btn.solid:hover { background: var(--orange-2); }
.btn[disabled] { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn.sm { padding: 7px 14px; font-size: 14px; }
.btn svg, .icon { width: 18px; height: 18px; flex: none; }
.tile { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--orange); display: grid; place-items: center; color: var(--on-orange); box-shadow: 0 6px 24px -8px rgba(255, 157, 28, .7); }
.tile svg { width: 23px; height: 23px; }
.price { font-weight: 800; color: var(--orange); white-space: nowrap; }
.price b { font-family: var(--lat); font-weight: 700; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--ar); font-weight: 700; font-size: .55em; color: var(--muted); margin-inline-start: 6px; }
.pnum { font-family: var(--ar); font-weight: 800; direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; white-space: nowrap; }
.state { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; padding: 3px 12px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.state.ok { color: var(--green); }
.state.no { color: var(--red); }
.state.wait { color: var(--dim); }
/* package badges: calm outline chips in the metal's colour, with a small matching icon */
.tier { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; line-height: 1.5; padding: 2px 12px 2px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid; }
.tier svg { width: 15px; height: 15px; flex: none; }
.tier.platinum { color: var(--platinum); border-color: rgba(143, 227, 255, .45); background: rgba(143, 227, 255, .07); }
.tier.gold { color: var(--gold); border-color: rgba(255, 211, 106, .45); background: rgba(255, 211, 106, .07); }
.tier.silver { color: var(--silver); border-color: rgba(214, 219, 226, .4); background: rgba(214, 219, 226, .06); }
.tier.bronze { color: var(--bronze); border-color: rgba(232, 160, 106, .45); background: rgba(232, 160, 106, .07); }
.tier.plain { color: var(--muted); border-color: var(--stroke-2); background: transparent; }
#numFilter .chip { display: inline-flex; align-items: center; gap: 6px; }
#numFilter .chip svg { width: 15px; height: 15px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 700; font-size: 14px; color: var(--orange); }
.inp { width: 100%; min-width: 0; background: #0c0906; border: 1px solid var(--stroke); border-radius: 12px; padding: 11px 14px; font-weight: 700; font-size: 16px; color: var(--text); }
.inp:focus { outline: none; border-color: var(--orange); }
.hint { font-size: 13.5px; font-weight: 600; color: var(--dim); }

/* ---- header ---- */
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(10, 8, 6, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--stroke); }
.bar { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; direction: ltr; }
.brand img { width: 36px; height: 36px; }
.brand span { font-family: var(--lat); font-weight: 700; font-size: 24px; letter-spacing: .04em; color: var(--text); direction: ltr; }
.brand span b { color: var(--orange); font-weight: 700; }
nav.menu { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
nav.menu::-webkit-scrollbar { display: none; }
nav.menu ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
nav.menu a { display: block; padding: 7px 14px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 15px; white-space: nowrap; border: 1px solid transparent; }
nav.menu a:hover, nav.menu a.on { color: var(--text); border-color: var(--stroke-2); }
.cart-btn { position: relative; flex: none; }
.cart-btn .count { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: var(--on-orange); font: 700 13px/22px var(--lat); text-align: center; }
.cart-btn .count[hidden] { display: none; }
@media (max-width: 760px) { nav.menu { display: none; } .bar { justify-content: space-between; } }

/* ---- hero ---- */
.hero { padding-block: 48px 26px; display: grid; gap: 26px; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 24px; align-items: center; }
.hero-head { display: grid; gap: 14px; justify-items: start; }
.show { position: relative; height: 330px; }
.show .plate { position: absolute; width: 400px; max-width: 92%; top: 50px; inset-inline-start: 6%; transform: rotate(-5deg); }
.show .plate .p-text { font-size: 76px; }
.tag { position: absolute; z-index: 2; display: grid; gap: 4px; padding: 12px 18px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--stroke-2); box-shadow: 0 24px 50px -24px #000; }
.tag small { color: var(--orange); font-weight: 700; font-size: 12.5px; }
.tag b { font-size: 20px; font-weight: 900; }
.tag b.lat { font-size: 28px; letter-spacing: .14em; }
.tag.t1 { top: 0; inset-inline-end: 4%; transform: rotate(4deg); }
.tag.t2 { bottom: 6px; inset-inline-end: 14%; transform: rotate(-3deg); }
@media (max-width: 900px) { .hero-top { grid-template-columns: minmax(0, 1fr); } .show { display: none; } }
.title { display: grid; line-height: 1.2; font-weight: 900; }
.title .w { color: var(--text); font-size: clamp(32px, 4.6vw, 54px); line-height: 1.25; }
.title .o { color: var(--orange); font-size: clamp(56px, 10vw, 118px); text-shadow: 0 0 46px rgba(255, 157, 28, .35); line-height: 1.25; }
.sub { font-size: clamp(16px, 1.8vw, 20px); font-weight: 600; color: var(--muted); max-width: 46ch; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cat { display: grid; gap: 10px; padding: 18px; color: var(--text); transition: border-color .2s, transform .2s; }
.cat:hover { border-color: var(--orange); transform: translateY(-2px); }
.cat h3 { font-size: 19px; font-weight: 800; line-height: 1.35; }
.cat p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.cat .from { font-size: 14px; font-weight: 700; color: var(--dim); }
.cat .from .price { font-size: 22px; }
@media (max-width: 960px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .cats { grid-template-columns: minmax(0, 1fr); } }

/* ---- sections ---- */
section.block { padding-block: 44px; border-top: 1px solid var(--stroke); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.sec-head h2 { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-weight: 900; line-height: 1.2; font-size: clamp(28px, 3.4vw, 40px); }
.sec-head h2 em { font-style: normal; color: var(--orange); font-size: 1.25em; text-shadow: 0 0 30px rgba(255, 157, 28, .3); }
.sec-head p { color: var(--muted); font-weight: 600; max-width: 52ch; }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.panel { padding: 22px; display: grid; gap: 18px; }
.panel h3 { font-size: 18px; font-weight: 800; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* plate */
.plate-stage { display: grid; place-items: center; padding: 30px 12px; border-radius: 14px; background: radial-gradient(70% 90% at 50% 40%, #1e160d, #0b0806); border: 1px solid var(--stroke); }
.plate { width: min(100%, 470px); aspect-ratio: 2 / 1; max-width: 100%; border-radius: 16px; background: linear-gradient(180deg, #fbf8f1, var(--plate) 60%, #e3ddd0); border: 3px solid #cfc7b6; box-shadow: inset 0 0 0 6px var(--plate), inset 0 0 0 8px #b9b1a0, 0 30px 60px -28px #000, 0 0 70px -30px rgba(255, 157, 28, .5); display: grid; grid-template-rows: auto 1fr auto; justify-items: center; padding: 14px 18px 12px; position: relative; overflow: hidden; direction: ltr; }
.plate::before, .plate::after { content: ""; position: absolute; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #8d8577); }
.plate::before { left: 22px; } .plate::after { right: 22px; }
.plate .p-top { font: 700 clamp(12px, 2.4vw, 16px) var(--lat); letter-spacing: .38em; color: var(--orange); }
.plate .p-text { font: 700 clamp(46px, 11vw, 92px)/1 var(--lat); letter-spacing: .08em; color: var(--plate-ink); align-self: center; white-space: pre; max-width: 100%; text-shadow: 0 2px 0 rgba(255, 255, 255, .7); }
.plate .p-bot { font: 600 clamp(10px, 2vw, 13px) var(--lat); letter-spacing: .5em; color: #8b8373; }
.plate.small { width: 100%; border-radius: 10px; border-width: 2px; box-shadow: inset 0 0 0 4px var(--plate), inset 0 0 0 5px #b9b1a0; padding: 7px 8px 6px; }
.plate.small::before, .plate.small::after { top: 8px; width: 5px; height: 5px; }
.plate.small::before { left: 10px; } .plate.small::after { right: 10px; }
.plate.small .p-top { font-size: 10px; letter-spacing: .3em; }
.plate.small .p-text { font-size: clamp(28px, 4vw, 38px); }
.plate.small .p-bot { display: none; }
.plate-in { font: 700 26px var(--lat); letter-spacing: .14em; text-transform: uppercase; text-align: center; direction: ltr; }
.tiers { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tiers li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 12px; border: 1px solid transparent; color: var(--muted); font-weight: 700; }
.tiers li .price { font-size: 20px; color: var(--muted); }
.tiers li.on { border-color: var(--orange); background: rgba(255, 157, 28, .08); color: var(--text); }
.tiers li.on .price { color: var(--orange); }
.ready { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ready .card { padding: 12px; display: grid; gap: 10px; }
.ready .row { gap: 8px; }
.ready .price { font-size: 20px; }
@media (max-width: 900px) { .ready { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* numbers */
.phone-in { font: 800 26px var(--ar); text-align: center; direction: ltr; font-variant-numeric: tabular-nums; }
.verdict { display: grid; gap: 8px; padding: 16px; border-radius: 14px; border: 1px dashed var(--stroke-2); background: #0c0906; }
.verdict b { font-size: 17px; }
.num-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.num-item { padding: 14px; display: grid; gap: 8px; }
.num-item .n { font-size: 22px; line-height: 1.2; color: var(--text); }
.num-item.sold { opacity: .5; }
.num-item.sold .n { text-decoration: line-through; text-decoration-thickness: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--stroke-2); background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
@media (max-width: 1000px) { .num-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .num-list { grid-template-columns: minmax(0, 1fr); } }

/* id card */
.idcard { width: min(100%, 460px); max-width: 100%; border-radius: 20px; position: relative; overflow: hidden; background: linear-gradient(150deg, #20170e 0%, #120d09 55%, #0d0a07 100%); border: 1px solid var(--stroke-2); box-shadow: 0 0 0 1px rgba(255, 157, 28, .18), 0 0 60px -18px rgba(255, 157, 28, .5), 0 40px 70px -40px #000; justify-self: center; }
.idcard .band { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 18px; background: var(--orange); color: var(--on-orange); }
.idcard .band b { font-weight: 900; font-size: 15px; }
.idcard .band .lat { font-weight: 700; font-size: 13px; letter-spacing: .22em; }
.idbody { display: grid; grid-template-columns: 30% minmax(0, 1fr); gap: 14px; padding: 14px 18px 0; }
.photo { aspect-ratio: 4 / 5; border-radius: 12px; background: radial-gradient(80% 60% at 50% 30%, #2a1d10, #0c0906); border: 1px solid var(--stroke-2); display: grid; place-items: end center; overflow: hidden; }
.photo svg { width: 82%; height: auto; }
.fields { display: grid; gap: 6px; align-content: start; min-width: 0; }
.f small { display: block; color: var(--orange); font-size: 12px; font-weight: 700; line-height: 1.3; }
.f b { display: block; font-size: 15px; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.f b.big { font-size: 20px; font-weight: 900; }
.f .old { color: var(--dim); text-decoration: line-through; font-weight: 700; font-size: 13px; }
.idfoot { padding: 12px 18px 14px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.idfoot svg { height: 26px; width: 46%; }
.stamp { border: 2px solid var(--orange); color: var(--orange); border-radius: 8px; padding: 1px 10px; font-weight: 900; font-size: 12.5px; transform: rotate(-6deg); white-space: nowrap; }
.stamp.ok { border-color: var(--green); color: var(--green); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 460px) { .two { grid-template-columns: minmax(0, 1fr); } .f b.big { font-size: 17px; } }
.checks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 14.5px; color: var(--muted); }
.checks li i { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 900; margin-top: 2px; border: 1px solid var(--stroke-2); color: var(--dim); }
.checks li.ok { color: var(--text); }
.checks li.ok i { background: var(--green); border-color: var(--green); color: #04130a; }
.checks li.bad i { background: var(--red); border-color: var(--red); color: #1a0402; }
.pledge { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.pledge input { width: 18px; height: 18px; accent-color: var(--orange); margin-top: 4px; flex: none; }

/* slots */
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.slot { padding: 20px; display: grid; gap: 14px; align-content: start; position: relative; }
.slot .ava { width: 74px; height: 74px; border-radius: 18px; display: grid; place-items: center; border: 1px dashed var(--stroke-2); color: var(--dim); }
.slot .ava svg { width: 40px; height: 40px; }
.slot.open .ava { border-style: solid; border-color: var(--orange); color: var(--orange); background: rgba(255, 157, 28, .08); }
.slot h3 { font-size: 19px; font-weight: 800; }
.slot p { color: var(--muted); font-size: 14.5px; }
.slot .price { font-size: 32px; }
.slot.feat { border-color: var(--orange); box-shadow: 0 0 50px -24px rgba(255, 157, 28, .6); }
@media (max-width: 1000px) { .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .slots { grid-template-columns: minmax(0, 1fr); } }
.rules-box { margin-top: 16px; padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; }
.rules-box ul { margin: 0; padding-inline-start: 18px; color: var(--muted); font-weight: 600; font-size: 14.5px; display: grid; gap: 4px; }

/* steps + faq */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.step .tile { font: 700 24px var(--lat); }
.step h3 { font-size: 17px; font-weight: 800; }
.step p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.faq { display: grid; gap: 10px; margin-top: 18px; }
.faq details { padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font: 700 22px/1 var(--lat); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 8px; font-size: 15px; }
footer { border-top: 1px solid var(--stroke); padding-block: 26px 40px; color: var(--dim); font-size: 14px; }
footer .row { gap: 10px; }

/* cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 50; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 100%); background: var(--card); border-inline-start: 1px solid var(--stroke-2); z-index: 51; display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: -30px 0 60px -30px #000; }
.drawer header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--stroke); }
.drawer header h2 { font-size: 20px; font-weight: 900; }
.x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--stroke-2); background: transparent; display: grid; place-items: center; cursor: pointer; }
.x svg { width: 18px; height: 18px; }
.drawer .body { flex: 1; overflow-y: auto; padding: 16px 20px; display: grid; gap: 10px; align-content: start; }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 14px; border: 1px solid var(--stroke); border-radius: 14px; background: var(--card-2); }
.line b { font-weight: 800; }
.line .d { grid-column: 1; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.line .price { font-size: 20px; align-self: center; }
.line .rm { grid-column: 2; justify-self: end; background: none; border: 0; color: var(--dim); font-weight: 700; font-size: 13px; cursor: pointer; padding: 0; }
.line .rm:hover { color: var(--red); }
.empty { text-align: center; color: var(--dim); padding: 30px 10px; display: grid; gap: 10px; justify-items: center; }
.drawer footer { border-top: 1px solid var(--stroke); padding: 16px 20px; display: grid; gap: 12px; color: var(--text); font-size: 15px; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; }
.total .price { font-size: 30px; }
.note { font-size: 13.5px; color: var(--dim); font-weight: 600; }
.notice { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--stroke-2); background: rgba(255, 157, 28, .07); font-weight: 700; font-size: 14.5px; }
.toast { position: fixed; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); z-index: 60; background: var(--card-2); border: 1px solid var(--orange); border-radius: 999px; padding: 10px 20px; font-weight: 800; font-size: 15px; box-shadow: 0 20px 40px -20px #000; white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; }

/* in-game phone preview (matches the city's phone contacts screen) */
.phone { width: 260px; max-width: 100%; justify-self: center; border-radius: 38px; padding: 12px; background: linear-gradient(160deg, #3b3346, #17141c); box-shadow: 0 30px 60px -30px #000, 0 0 0 1px #4a4157; }
.ph-screen { border-radius: 28px; background: #000; padding: 12px 14px 18px; display: grid; gap: 12px; direction: ltr; font-family: -apple-system, "Segoe UI", system-ui, sans-serif; }
.ph-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; color: #fff; padding: 0 6px; }
.ph-isl { width: 70px; height: 18px; border-radius: 99px; background: #111; border: 1px solid #222; }
.ph-nav { display: flex; justify-content: space-between; font-size: 13px; color: #0a84ff; padding: 2px 4px 0; }
.ph-av { width: 74px; height: 74px; border-radius: 50%; justify-self: center; display: grid; place-items: center; background: linear-gradient(180deg, #a8a8ad, #6d6d72); color: #fff; font-size: 30px; font-weight: 500; }
.ph-name { text-align: center; color: #fff; font-size: 17px; font-weight: 600; }
.ph-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ph-acts span { background: #1c1c1e; border-radius: 10px; padding: 7px 0 5px; display: grid; justify-items: center; gap: 2px; color: #0a84ff; font-size: 9.5px; }
.ph-acts svg { width: 15px; height: 15px; }
.ph-card { background: #1c1c1e; border-radius: 10px; padding: 9px 12px; display: grid; gap: 1px; }
.ph-card small { color: #fff; font-size: 11px; font-weight: 600; }
.ph-card b { color: #0a84ff; font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
.num-split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: start; }
@media (max-width: 560px) { .num-split { grid-template-columns: minmax(0, 1fr); } }

/* order (Discord ticket) */
.order { margin: 0; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--stroke-2); background: #0c0906; white-space: pre-wrap; font: 600 14px/1.8 var(--ar); color: var(--text); user-select: all; overflow-wrap: anywhere; }
.steps-mini { margin: 0; padding-inline-start: 20px; display: grid; gap: 4px; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.steps-mini b { color: var(--text); }

/* admin */
.tabs { display: flex; gap: 6px; padding: 12px 20px 0; }
.adm-form { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--stroke); border-radius: 14px; background: var(--card-2); }
.adm-form .two { gap: 10px; }
.adm-chk { display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: 14px; cursor: pointer; }
.adm-chk input { width: 17px; height: 17px; accent-color: var(--orange); }
.adm-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--stroke); border-radius: 12px; }
.adm-row .v { flex: 1; min-width: 0; font-weight: 800; }
.adm-row .v small { display: block; color: var(--dim); font-weight: 600; font-size: 12.5px; }
.adm-row button { flex: none; }
.adm-err { color: var(--red); font-weight: 700; font-size: 13.5px; min-height: 1em; }
.pending { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--orange); background: rgba(255, 157, 28, .08); font-weight: 700; font-size: 14px; }

/* phone number: the 520 area code is fixed, people type the last 7 digits */
.phone-group { display: flex; direction: ltr; align-items: stretch; min-width: 0; border: 1px solid var(--stroke); border-radius: 12px; background: #0c0906; overflow: hidden; }
.phone-group:focus-within { border-color: var(--orange); }
.phone-group .pre { flex: none; display: grid; place-items: center; padding: 0 14px; background: var(--card-2); border-right: 1px solid var(--stroke); font: 800 26px var(--ar); color: var(--muted); font-variant-numeric: tabular-nums; user-select: none; }
.phone-group .inp { flex: 1; border: 0; border-radius: 0; background: transparent; text-align: left; }
.phone-group.sm .pre { font-size: 18px; padding: 0 10px; }

/* header: owner panel button, Discord login, signed-in account */
.panel-btn { flex: none; border-color: var(--orange); color: var(--orange); }
.panel-btn[hidden], .login-btn[hidden] { display: none; }
.login-btn { flex: none; border-color: rgba(88, 101, 242, .65); }
.login-btn:hover { border-color: #7984ff; }
.login-btn svg { color: #8f99ff; }
.me { position: relative; flex: none; }
.me-btn { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid rgba(88, 101, 242, .65); background: var(--card); color: var(--text); font-weight: 800; font-size: 15px; cursor: pointer; direction: ltr; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #5865f2; color: #fff; font: 700 15px var(--lat); flex: none; text-transform: uppercase; }
.me-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 200px; background: var(--card-2); border: 1px solid var(--stroke-2); border-radius: 14px; padding: 12px; display: grid; gap: 10px; box-shadow: 0 20px 40px -20px #000; z-index: 35; }
.me-menu[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 55; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-card { width: min(430px, 100%); background: var(--card); border: 1px solid var(--stroke-2); border-radius: 20px; padding: 22px; display: grid; gap: 12px; box-shadow: 0 30px 80px -30px #000; }
.modal-card h2 { font-size: 20px; font-weight: 900; }
.acct { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid rgba(88, 101, 242, .55); border-radius: 12px; background: rgba(88, 101, 242, .08); }
.acct b { display: block; font-size: 16px; }
@media (max-width: 600px) {
  .bar { gap: 8px; }
  .panel-btn span, .login-btn span, .me-name, .cart-btn > span:not(.count) { display: none; }
  .panel-btn, .login-btn, .cart-btn { padding: 9px 12px; }
  .me-btn { padding: 4px; }
  .brand span { font-size: 20px; }
  .me-menu { position: fixed; top: calc(64px + env(safe-area-inset-top, 0px)); left: 16px; right: 16px; min-width: 0; }
}

/* real site extras */
body { margin: 0; }
[hidden] { display: none !important; }
.av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.av { overflow: hidden; }
.done { display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(63, 208, 127, .5); background: rgba(63, 208, 127, .07); color: var(--green); font-weight: 800; }
.done span { color: var(--muted); font-weight: 600; font-size: 14px; }

/* the header gets crowded once the login and panel buttons are there: hide the section menu earlier */
.brand { margin-right: auto; } /* the logo is ltr inside an rtl bar: this pushes it to the far left */
@media (max-width: 1080px) { nav.menu { display: none; } .bar { justify-content: flex-start; } }
