/* الموقع بهوية دهريز: سعف (أخضر)، جصّ (عاجي)، نحاس ورمل (ذهبي). */
@font-face { font-family: "Material Symbols Outlined"; src: url(play/assets/fonts/material-symbols-outlined.1a0db3d0.woff2) format("woff2"); font-weight: 100 700; }
@font-face { font-family: "Cormorant"; src: url(play/assets/fonts/cormorant-garamond-latin-500-normal.c20b57f6.woff2) format("woff2"); font-weight: 500; }
@font-face { font-family: "Cormorant"; src: url(play/assets/fonts/cormorant-garamond-latin-600-normal.0e24538e.woff2) format("woff2"); font-weight: 600; }
:root { --gold: #C9A66B; --brass: #B8893B; --ivory: #F2EBDD; --umber: #0f2219; --umber-2: #173527; --umber-3: #11281d; --taupe: #a7b09f; --line: rgba(201,166,107,.24); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(1200px 600px at 50% -10%, #1F4D3A, var(--umber) 62%); color: var(--ivory);
  font-family: "Cormorant", "Noto Naskh Arabic", "Geeza Pro", "Segoe UI", serif; font-size: 18px; line-height: 1.8; }
a { color: inherit; text-decoration: none; }
.ms { font-family: "Material Symbols Outlined"; font-size: 28px; color: var(--gold); direction: ltr; display: inline-block; line-height: 1; font-feature-settings: "liga"; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.mark { font-family: "Cormorant", serif; font-weight: 600; font-size: 26px; letter-spacing: .08em; color: var(--gold); direction: ltr; display: inline-flex; align-items: center; gap: 12px; }
.mark svg { width: 22px; height: 35px; flex: none; } .mark .ar { font-family: "Noto Naskh Arabic", "Geeza Pro", serif; font-size: 20px; letter-spacing: 0; color: var(--ivory); opacity: .85; }
.card .mark svg { display: none; } .card .mark .ar { display: none; }
footer .meaning { font-style: italic; }
nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 16px; }
nav a:not(.cta) { color: var(--taupe); } nav a:not(.cta):hover { color: var(--ivory); }
main { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.hero { text-align: center; padding-top: 72px; } .hero.slim { padding-bottom: 24px; border: 0; }
.eyebrow { font-family: "Cormorant", serif; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-size: 14px; margin: 0 0 12px; direction: ltr; }
h1 { font-size: clamp(30px, 6vw, 52px); font-weight: 600; margin: 0 0 16px; line-height: 1.35; }
h2 { font-size: 30px; font-weight: 600; margin: 0 0 24px; color: var(--gold); }
h3 { font-size: 20px; margin: 8px 0 4px; font-weight: 600; }
p { margin: 0; color: #d9d2c2; } .lead { max-width: 620px; margin: 0 auto; } .note { margin-bottom: 24px; color: var(--taupe); }
.actions { display: flex; gap: 14px; justify-content: center; margin: 28px 0 40px; flex-wrap: wrap; }
.cta { background: linear-gradient(#e2c383, #b08a45); color: #1c1410; padding: 10px 28px; border-radius: 3px; font-weight: 600; box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 6px 18px rgba(0,0,0,.45); }
.cta.small { padding: 5px 16px; font-size: 15px; }
.ghost { padding: 10px 24px; border: 1px solid var(--line); border-radius: 3px; color: var(--ivory); }
.frame { width: min(400px, 100%); height: 640px; margin: 0 auto; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); background: #000; }
.frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.games, .plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); list-style: none; padding: 0; margin: 0; }
.games li { background: linear-gradient(var(--umber-2), var(--umber-3)); border: 1px solid var(--line); border-radius: 6px; padding: 20px; }
.games p, .pillars p, .plans li { font-size: 16px; }
.plans ul, .log ul { margin: 10px 0 0; padding-inline-start: 18px; color: #d9d2c2; }
.price { color: var(--gold); font-size: 16px; }
.log { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.log > li { border-inline-start: 2px solid var(--gold); padding: 4px 18px; }
.ver { font-family: "Cormorant", serif; color: var(--taupe); font-size: 15px; }
footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; max-width: 1040px; margin: 0 auto; padding: 28px 16px 48px; color: var(--taupe); font-size: 15px; }
@media (max-width: 520px) { .frame { height: 560px; } section { padding: 40px 0; } }

/* ---------- الصفحات: أزرار الأيقونات، اللوحات، النماذج ---------- */
.top nav { gap: 6px; }
.ib { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ivory); cursor: pointer; padding: 0; }
.ib .ms { font-size: 22px; } .ib:hover, .ib.on { background: rgba(201,166,107,.14); border-color: var(--gold); }
.ib.off .ms { color: var(--taupe); } .ib.danger .ms { color: #c9705c; }
.cta { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.cta .ms { color: #1c1410; font-size: 22px; } .cta.wide { width: 100%; justify-content: center; padding: 12px; }
.actions { align-items: center; margin: 24px 0 0; }
.hero { padding-top: 40px; } .hero .frame { margin-top: 24px; }
.demo { margin: 0; padding: 6px 16px; text-align: center; font-size: 14px; color: #1c1410; background: var(--gold); }
.narrow { max-width: 520px; margin: 0 auto; border: 0; } .narrow.wide { max-width: 760px; } .narrow.first { padding-top: 40px; }
.panel { background: linear-gradient(var(--umber-2), var(--umber-3)); border: 1px solid var(--line); border-radius: 8px; padding: 20px; margin: 16px 0; display: grid; gap: 12px; }
.panel.done { text-align: center; justify-items: center; } .ms.big { font-size: 56px; }
.plan { position: relative; text-align: start; font: inherit; color: inherit; background: linear-gradient(var(--umber-2), var(--umber-3)); border: 1px solid var(--line); border-radius: 6px; padding: 20px; }
button.plan { cursor: pointer; } button.plan:hover, .plan.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.plan .price { font-family: "Cormorant", serif; font-size: 30px; color: var(--gold); line-height: 1.2; }
.plan .period { font-size: 14px; color: var(--taupe); min-height: 1.6em; } .plan ul { font-size: 15px; }
.plan > .ib { position: absolute; inset-inline-end: 14px; top: 14px; }
.field { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; background: rgba(0,0,0,.25); }
.field input, .field select, .r select { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--ivory); font: inherit; font-size: 16px; padding: 6px 0; }
.field.multi { flex-wrap: wrap; } .field.multi input { flex: 1 1 110px; border-bottom: 1px solid var(--line); }
.field:focus-within { border-color: var(--gold); } select option { color: #111; }
.msg { font-size: 15px; color: var(--taupe); min-height: 1.4em; } .msg.ok { color: #9bc48a; } .msg.bad { color: #d98a76; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; } .total strong { font-family: "Cormorant", serif; font-size: 28px; color: var(--gold); direction: ltr; }
.card { aspect-ratio: 1.586; max-width: 420px; margin: 0 auto; padding: 22px 24px; border-radius: 14px; border: 1px solid var(--gold); display: flex; flex-direction: column; gap: 2px;
  background: linear-gradient(135deg, #1F4D3A, #0c1c14 55%, #173527); box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.08) inset; }
.card .row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: auto; }
.card .no { font-family: "Cormorant", serif; color: var(--gold); letter-spacing: .1em; direction: ltr; }
.card .plan-name { font-size: 24px; color: var(--ivory); font-weight: 600; } .card .until, .card .mail, .card .pts { font-size: 14px; color: var(--taupe); } .card .mail { }
.tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.stat { border: 1px solid var(--line); border-radius: 6px; padding: 14px; display: grid; justify-items: center; gap: 2px; } .stat strong { font-family: "Cormorant", serif; font-size: 30px; color: var(--gold); } .stat span:last-child { font-size: 14px; color: var(--taupe); }
.rows { display: grid; gap: 8px; margin-top: 14px; }
.r { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; font-size: 15px; }
.r .grow { flex: 1; min-width: 120px; overflow: hidden; text-overflow: ellipsis; } .r .dim { color: var(--taupe); } .r .code { letter-spacing: .08em; color: var(--gold); direction: ltr; } .r select { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 4px; padding: 4px 8px; }
details.panel summary { cursor: pointer; display: flex; align-items: center; gap: 10px; list-style: none; font-weight: 600; } details.panel summary::-webkit-details-marker { display: none; }
.prose h2 { font-size: 22px; margin-top: 28px; } .prose p { margin-bottom: 8px; }
footer a { color: var(--taupe); } footer a:hover { color: var(--ivory); }
[hidden] { display: none !important; }
html { background: var(--umber); } body { min-height: 100vh; display: flex; flex-direction: column; } main { flex: 1; width: 100%; } footer { width: 100%; }
.plans.pick { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } .pick .plan { padding: 16px; }

/* ---------- الإدارة: الإحصاءات والتسويق ---------- */
.tab h3 { display: flex; align-items: center; gap: 8px; margin: 28px 0 10px; font-size: 18px; } .tab h3 .ms { font-size: 20px; }
.bars { display: grid; gap: 6px; } .bar { display: grid; grid-template-columns: 120px 1fr 120px; align-items: center; gap: 10px; font-size: 14px; }
.bar .track { height: 10px; background: rgba(255,255,255,.06); border-radius: 5px; overflow: hidden; } .bar .fill { display: block; height: 100%; background: var(--gold); border-radius: 5px; }
.bar .val { color: var(--taupe); text-align: right; }
.hours { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; direction: ltr; }
.hr { height: 34px; border-radius: 3px; background: rgba(201,166,107, calc(.08 + .92 * var(--a))); display: grid; place-items: end center; } .hr span { font-size: 10px; color: var(--ivory); opacity: .8; }
.cols { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; height: 120px; direction: ltr; }
.col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; height: 100%; } .col .fill { width: 100%; min-height: 2px; background: var(--gold); border-radius: 3px 3px 0 0; } .col small { font-size: 10px; color: var(--taupe); }
.msg.ltr { direction: ltr; text-align: left; word-break: break-all; color: var(--gold); }
.games li a { display: block; } .games li:hover { border-color: var(--gold); }
@media (max-width: 520px) { .bar { grid-template-columns: 84px 1fr 96px; } }

/* نافذة إضافة اللوحة الجانبية */
dialog.sheet { max-width: min(460px, calc(100vw - 32px)); padding: 22px; border: 1px solid var(--gold); border-radius: 10px; background: linear-gradient(var(--umber-2), var(--umber-3)); color: var(--ivory); text-align: start; }
dialog.sheet::backdrop { background: rgba(0,0,0,.6); }
dialog.sheet h2 { font-size: 22px; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
dialog.sheet ol { margin: 12px 0; padding-inline-start: 22px; color: #d9d2c2; font-size: 16px; }
dialog.sheet code { direction: ltr; unicode-bidi: embed; color: var(--gold); font-size: 14px; }
dialog.sheet .actions { justify-content: space-between; } dialog.sheet form { margin: 0; }
button.cta { font-size: inherit; }

/* الدعم والفريق */
.field.area { align-items: stretch; } .field textarea { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--ivory); font: inherit; font-size: 16px; resize: vertical; }
.panel h2 { font-size: 20px; margin: 0; display: flex; align-items: center; gap: 8px; }
.ticket { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: grid; gap: 8px; } .ticket .r { border: 0; padding: 0; } .ticket.closed { opacity: .6; }
.tag { font-size: 13px; padding: 1px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--gold); }
.bubble { margin: 0; padding: 8px 12px; border-radius: 10px; font-size: 15px; max-width: 88%; white-space: pre-wrap; }
.bubble.user { background: rgba(255,255,255,.06); justify-self: start; } .bubble.staff { background: rgba(201,166,107,.16); justify-self: end; color: var(--ivory); }
.r > .ms { font-size: 20px; }

.card .note { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--taupe); margin-top: 6px; } .card .note .ms { font-size: 18px; }

.plan .price .was { opacity: .5; font-size: .6em; margin-right: 4px; }
.field select { flex: 1; min-width: 0; background: transparent; border: 0; color: inherit; font: inherit; }

/* شعار الصفحة الرئيسية وأقسام البيت */
.emblem { width: 56px; height: 90px; color: var(--gold); display: block; margin: 0 auto 18px; }
.house h2 { text-align: center; }
.house .games li { border-top: 2px solid var(--brass); }

/* الملف الشخصي: أزرار القيمة */
.values { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1px solid var(--line); background: transparent; color: var(--ivory); font: inherit; font-size: 16px; cursor: pointer; }
.chip:hover { border-color: var(--gold); } .chip.on { background: var(--gold); border-color: var(--gold); color: #10241a; }

/* الإدارة: الفئات والإطلاق */
.tabs { flex-wrap: wrap; align-items: center; } .tabs .sep { width: 1px; height: 26px; background: var(--line); margin: 0 6px; }
.checks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 15px; } .checks label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.checks input { accent-color: var(--gold); width: 18px; height: 18px; }
.launch-row input:not([type=checkbox]) { background: transparent; border: 1px solid var(--line); border-radius: 4px; color: var(--ivory); font: inherit; font-size: 14px; padding: 4px 8px; max-width: 160px; color-scheme: dark; }
#tab-launch h3 { margin: 22px 0 6px; color: var(--gold); }

/* ======================================================================
   الزقاق والقاعة: مدخل الموقع. جداران من الطين والجص يتلاقيان نحو الدهريز (القوس المضيء)،
   فيهما أبواب خشبية ورواشن ومصابيح وحزام جص محفور. النزول يمشي بك نحو الباب (--walk من 0 إلى 1).
   كل الرسم بـ CSS وملمس ضوضاء SVG مضمّن: بلا صور خارجية.
   ====================================================================== */
:root {
  --mud: #7d5a3e; --mud-d: #5b3f2a; --jass: #d9c7a2; --wood: #4a2e1a; --lampc: 255, 196, 120;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .2  0 0 0 0 .13  0 0 0 0 .07  0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  --blot: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><filter id='b'><feTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='4' seed='7'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .9  0 0 0 0 .75  0 0 0 .9 -.35'/></filter><rect width='100%25' height='100%25' filter='url(%23b)'/></svg>");
}
.alley { --walk: 0; position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: calc(100svh - 64px); min-height: 560px; max-height: 1100px; overflow: hidden; padding: 0; border: 0; display: grid; place-items: center; }
.alley .scene { position: absolute; inset: 0; perspective: 700px; perspective-origin: 50% 46%; transform: scale(calc(1 + var(--walk) * .9)); transform-origin: 50% 46%; transition: transform .1s linear; }
.alley .sky { position: absolute; inset: 0 0 40% 0; background: linear-gradient(#0b1626, #1c2a3a 70%, #3b3a33); }
.alley .star { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff6dc; box-shadow: 0 0 6px #fff6dc; opacity: .8; }
.alley .s1 { left: 47%; top: 12%; } .alley .s2 { left: 53%; top: 20%; } .alley .s3 { left: 50%; top: 7%; opacity: .5; }
.alley .moon { position: absolute; left: 54%; top: 10%; width: 22px; height: 22px; border-radius: 50%; box-shadow: -6px 3px 0 0 #f4e7c3; opacity: .85; }
.alley .wall { position: absolute; top: -10%; bottom: -10%; width: 52%; background: var(--grain), var(--blot), linear-gradient(90deg, var(--mud-d), var(--mud) 40%, #8c6849); transform-style: preserve-3d; }
.alley .wall.left { left: 0; transform-origin: 0 50%; transform: rotateY(64deg); }
.alley .wall.right { right: 0; transform-origin: 100% 50%; transform: rotateY(-64deg); background: var(--grain), var(--blot), linear-gradient(270deg, var(--mud-d), var(--mud) 40%, #8c6849); }
.alley .wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,0) 30%, rgba(0,0,0,.35)); pointer-events: none; }
.alley .wall.right::after { transform: scaleX(-1); }
/* حزام الجص المحفور: مثلثات على امتداد الجدار */
.alley .band { position: absolute; left: 0; right: 0; top: 18%; height: 4.5%; background: var(--grain), repeating-linear-gradient(90deg, transparent 0 10px, rgba(60,40,20,.35) 10px 12px),
  linear-gradient(var(--jass), #c4ae86); box-shadow: 0 2px 0 rgba(0,0,0,.35), 0 -1px 0 rgba(255,255,255,.25) inset; }
.alley .band::before { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: linear-gradient(135deg, var(--jass) 25%, transparent 25%) 0 0 / 20px 20px, linear-gradient(225deg, var(--jass) 25%, transparent 25%) 0 0 / 20px 20px; }
/* أبواب خشبية بمسامير نحاسية */
.alley .door { position: absolute; bottom: 12%; width: 13%; height: 34%; border-radius: 48% 48% 0 0 / 22% 22% 0 0; background: var(--grain),
  radial-gradient(circle, #c9a66b 1.4px, transparent 2px) 0 0 / 14px 14px, repeating-linear-gradient(90deg, var(--wood) 0 9px, #3a2313 9px 11px);
  box-shadow: 0 0 0 5px var(--jass), 0 0 0 7px rgba(0,0,0,.35), inset 0 -20px 30px rgba(0,0,0,.45); }
.alley .d1 { left: 14%; } .alley .d2 { left: 62%; height: 30%; }
/* رواشن (نوافذ خشبية مشبّكة) */
.alley .win { position: absolute; top: 30%; width: 10%; height: 13%; border-radius: 40% 40% 4px 4px / 30% 30% 4px 4px; background:
  repeating-linear-gradient(45deg, rgba(255,210,150,.0) 0 5px, var(--wood) 5px 7px), repeating-linear-gradient(-45deg, rgba(255,210,150,.0) 0 5px, var(--wood) 5px 7px), radial-gradient(rgba(var(--lampc), .55), rgba(var(--lampc), .15));
  box-shadow: 0 0 0 4px var(--wood), 0 0 0 7px var(--jass); }
.alley .w1 { left: 36%; } .alley .w2 { left: 82%; top: 34%; }
/* مصابيح معلقة بضوء دافئ */
.alley .lamp { position: absolute; top: 46%; width: 2.4%; aspect-ratio: 1 / 1.4; border-radius: 30% 30% 45% 45%; background: radial-gradient(#fff4d2, rgb(var(--lampc)) 60%, #a06a20);
  box-shadow: 0 0 22px 8px rgba(var(--lampc), .55), 0 0 90px 40px rgba(var(--lampc), .18); animation: flicker 4s ease-in-out infinite; }
.alley .l1 { left: 30%; } .alley .l2 { left: 74%; animation-delay: -1.7s; }
@keyframes flicker { 0%, 100% { opacity: 1; } 45% { opacity: .86; } 50% { opacity: .95; } 70% { opacity: .9; } }
.alley .ground { position: absolute; left: -20%; right: -20%; bottom: -8%; height: 46%; transform-origin: 50% 100%; transform: rotateX(72deg);
  background: var(--grain), repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 2px, transparent 2px 60px), repeating-linear-gradient(0deg, rgba(0,0,0,.2) 0 2px, transparent 2px 46px), linear-gradient(#6a4c33, #3f2b1b); }
.alley .glow { position: absolute; left: 50%; top: 46%; width: 40%; height: 50%; transform: translate(-50%, -50%); background: radial-gradient(rgba(var(--lampc), .35), transparent 65%); pointer-events: none; }
/* الدهريز: القوس المضيء في نهاية الزقاق، وهو الرابط إلى القاعة */
.gate { position: relative; z-index: 2; display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--ivory);
  padding: clamp(28px, 6vw, 56px) clamp(22px, 5vw, 48px) clamp(22px, 4vw, 34px); border-radius: 50% 50% 10px 10px / 34% 34% 10px 10px;
  background: radial-gradient(120% 90% at 50% 20%, rgba(255,214,150,.30), rgba(40,24,12,.86) 62%), var(--grain);
  box-shadow: 0 0 0 8px var(--jass), 0 0 0 11px rgba(0,0,0,.45), 0 30px 80px rgba(0,0,0,.7), inset 0 0 60px rgba(0,0,0,.6);
  width: min(420px, 82vw); opacity: calc(1 - var(--walk) * 1.4); transform: translateY(calc(var(--walk) * -30px)); transition: box-shadow .3s; }
.gate:hover { box-shadow: 0 0 0 8px var(--jass), 0 0 0 11px rgba(0,0,0,.45), 0 30px 80px rgba(0,0,0,.7), 0 0 60px rgba(var(--lampc), .35), inset 0 0 60px rgba(0,0,0,.5); }
.gate .emblem { width: clamp(40px, 9vw, 60px); height: auto; aspect-ratio: 89 / 144; margin: 0; color: var(--gold); }
.gate .eyebrow { margin: 0; color: var(--gold); }
.gate-title { font-family: "Cormorant", serif; font-weight: 600; font-size: clamp(26px, 5vw, 42px); line-height: 1.2; }
.gate-go .ms { font-size: 34px; animation: nudge 2.4s ease-in-out infinite; } @keyframes nudge { 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .alley .lamp, .gate-go .ms { animation: none; } .alley .scene { transform: none; } }
@media (max-width: 600px) { .alley .wall { width: 56%; } .alley .door { width: 20%; } .alley .d2 { display: none; } .alley .win { width: 16%; } .alley .w2 { display: none; } .alley .lamp { width: 4%; } }

/* القاعة: الطاولة تتسع مع الشاشة. جوال: طولية تملأ العرض. آيباد وحاسب: أفقية واسعة */
.hall { padding-top: 48px; }
.hall h1 { color: var(--ivory); }
main { max-width: min(1320px, 100%); }
.hall .frame { width: 100%; max-width: 440px; height: min(78svh, 760px); }
@media (min-width: 760px) { .hall .frame { max-width: min(1180px, 100%); height: auto; aspect-ratio: 16 / 10; max-height: 82svh; } }
@media (min-width: 760px) and (orientation: portrait) { .hall .frame { aspect-ratio: 4 / 5; max-width: 720px; } }

/* الروازن: كوى مقوّسة غائرة في جدار من الجص، صفّ لكل غرفة */
.rawazin { padding: 56px clamp(0px, 2vw, 24px); border-radius: 14px; margin-top: 8px;
  background: var(--grain), var(--blot), linear-gradient(#cdb891, #b89c70); color: #2a1a0e; box-shadow: inset 0 0 80px rgba(60,35,10,.45); }
.rawazin h2 { color: #3b2412; text-align: center; } .rawazin > .lead { color: #4a3420; text-align: center; margin: -10px auto 28px; padding: 0 16px; }
.room { margin: 0 0 30px; } .room h3 { font-family: "Cormorant", serif; font-size: 24px; color: #3b2412; margin: 0 16px 12px; border-bottom: 1px solid rgba(60,36,18,.3); padding-bottom: 4px; }
.niche-row { list-style: none; margin: 0; padding: 0 12px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
@media (min-width: 900px) { .niche-row { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 18px; } }
.niche { position: relative; display: grid; justify-items: center; align-content: end; gap: 8px; min-height: 150px; padding: 18px 10px 14px; text-align: center;
  border-radius: 50% 50% 8px 8px / 34% 34% 8px 8px; background: linear-gradient(#5a3b22, #2e1d10 70%), var(--grain);
  box-shadow: inset 0 14px 22px rgba(0,0,0,.65), inset 0 -4px 10px rgba(255,220,170,.12), 0 0 0 5px #d8c39b, 0 0 0 6px rgba(60,36,18,.35), 0 8px 14px rgba(60,36,18,.25);
  transition: transform .2s, box-shadow .2s; }
.niche .ms { font-size: 38px; color: var(--gold); filter: drop-shadow(0 2px 2px rgba(0,0,0,.6)); }
.niche .nm { font-size: 15px; line-height: 1.3; color: var(--ivory); }
.niche:hover, .niche:focus-visible { transform: translateY(-3px); box-shadow: inset 0 14px 22px rgba(0,0,0,.55), inset 0 -4px 16px rgba(255,220,170,.25), 0 0 0 5px #e6d3ab, 0 0 0 6px rgba(60,36,18,.35), 0 0 26px rgba(255,196,120,.45); outline: none; }
.niche .recess { position: absolute; inset: 10px 14px auto; height: 40%; border-radius: inherit; background: radial-gradient(60% 80% at 50% 0%, rgba(255,214,150,.18), transparent); pointer-events: none; }

/* الصفحات كلها: تتمدد على الشاشات الكبيرة */
@media (min-width: 1100px) { body { font-size: 19px; } .narrow.wide { max-width: 900px; } }
.top { position: sticky; top: 0; z-index: 10; background: rgba(15,34,25,.86); backdrop-filter: blur(8px); }

html, body { overflow-x: clip; }

/* الإطلاق التجريبي والتبرع */
.beta { margin: 0; padding: 7px 16px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center; font-size: 15px;
  background: var(--grain), linear-gradient(90deg, #5b3f2a, #7d5a3e, #5b3f2a); color: var(--ivory); border-bottom: 1px solid var(--line); }
.beta .ms { font-size: 20px; } .beta a { color: #1c1410; background: var(--gold); border-radius: 14px; padding: 2px 14px; font-weight: 600; }
.donate { padding-top: 8px; } .donate .panel p { font-size: 16px; }
.donate .field.multi select { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 4px; padding: 6px 8px; color: var(--ivory); background: var(--umber); }
.donate #dAmount { font-size: 22px; font-family: "Cormorant", serif; }
@media (max-width: 600px) { .beta { font-size: 13px; padding: 5px 12px; gap: 8px; line-height: 1.4; } .beta .ms { display: none; } .beta a { padding: 1px 10px; } }
