.brand-logo { width: 40px; height: 40px; border-radius: 12px; }
.hero { margin-top: 18px; overflow: hidden; padding: 0; }
.hero .studio { width: 100%; height: auto; border-radius: var(--radius) var(--radius) 0 0; }
.hero-body { padding: 20px; text-align: center; }
.ep-date { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin: 4px 0 2px; }
.ep-city { display: inline-flex; align-items: center; gap: 6px; background: var(--sun-soft); color: #7a5000; padding: 4px 14px; border-radius: 99px; font-weight: 700; font-size: .95rem; margin-bottom: 12px; }
.ep-notes { background: #f8f6f1; border-radius: 12px; padding: 12px 14px; text-align: start; white-space: pre-line; color: #3b4352; font-size: .95rem; margin: 12px 0 0; }
.ep-notes b { display: block; color: var(--ink); margin-bottom: 4px; }
.state-box { margin-top: 16px; }
.seats { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 12px; }
.seats b { font-size: 2.4rem; color: var(--mint); line-height: 1; }
.countdown { display: flex; gap: 8px; justify-content: center; margin: 12px 0; direction: rtl; }
.countdown div { background: var(--navy); color: #fff; border-radius: 12px; padding: 8px 4px; min-width: 64px; }
.countdown b { display: block; font-size: 1.5rem; line-height: 1.1; }
.countdown small { font-size: .75rem; opacity: .85; }

/* خطوات النموذج */
.steps { display: flex; gap: 6px; margin: 18px 0 14px; }
.steps span { flex: 1; height: 6px; border-radius: 99px; background: #e4ddcd; }
.steps span.on { background: var(--navy); }
.step-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.step-title small { color: var(--muted); font-weight: 700; }

/* بطاقات الأطفال: كرسي رمزي يحمل الاسم */
.kids { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 14px; }
.kid { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 12px; text-align: center; position: relative; }
.kid.wait { border-style: dashed; border-color: #e0b660; background: #fffdf6; }
.chair { width: 120px; height: 104px; margin: 0 auto 6px; }
.chair-name { font-family: "Tajawal", sans-serif; font-weight: 800; }
.kid .meta { color: var(--muted); font-size: .88rem; margin-bottom: 8px; }
.kid .acts { display: flex; gap: 6px; justify-content: center; }
.add-kid { border: 2px dashed #c9bfa8; background: transparent; border-radius: 16px; min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; }
.add-kid:hover { background: #fffaf0; }
.add-kid .plus { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 1.6rem; }
.add-kid:disabled { opacity: .5; cursor: not-allowed; }

.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 8px; }
.seg button { font: inherit; font-weight: 700; font-size: .88rem; border: 0; background: #fff; min-height: 40px; cursor: pointer; color: var(--muted); }
.seg button + button { border-inline-start: 1.5px solid var(--line); }
.seg button.on-seat { background: var(--mint); color: #fff; }
.seg button.on-wait { background: var(--sun); color: var(--navy); }
.seg.invalid { border-color: var(--red); }
.seat-meter { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #eef3fa; margin-bottom: 12px; font-weight: 700; color: var(--navy); }
.seat-meter .dots { display: flex; gap: 4px; flex-wrap: wrap; }
.seat-meter .dots i { width: 14px; height: 14px; border-radius: 4px; background: #c7d5ea; }
.seat-meter .dots i.used { background: var(--mint); }

.summary-kid { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary-kid:last-child { border-bottom: 0; }
.summary-kid .who b { display: block; }
.summary-kid .who small { color: var(--muted); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 700; }
.sticky-actions { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 30%); padding: 18px 0 14px; display: flex; gap: 10px; }
.sticky-actions .btn { flex: 1; }
.sticky-actions .btn-ghost { flex: 0 0 auto; background: #fff; }

/* نجاح */
.done-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--mint); color: #fff; font-size: 2.4rem; display: grid; place-items: center; margin: 4px auto 12px; }
.ref { font-size: 1.5rem; font-weight: 800; letter-spacing: 2px; color: var(--navy); background: #eef3fa; border-radius: 12px; padding: 8px 16px; display: inline-block; direction: ltr; }

/* تسجيلاتي */
.app-card h3 { margin: 0; }
.child-row { border-top: 1px solid var(--line); padding: 14px 0; }
.child-row:first-of-type { border-top: 0; }
.ticket { margin-top: 12px; background: linear-gradient(180deg, #fffdf6, #fff); border: 1.5px dashed #e0b660; border-radius: 16px; padding: 14px; text-align: center; }
.ticket img { width: 220px; height: 220px; margin: 8px auto; image-rendering: pixelated; background: #fff; border-radius: 8px; }
.ticket .note { background: var(--sun-soft); border-radius: 10px; padding: 10px 12px; text-align: start; margin-top: 8px; white-space: pre-line; }
