/* ============================================================
   DRY BUTTER — THE DAILY CRUMB · النسخة الرابعة: جريدة حقيقية
   (تعتمد site.css للورقة والازرار وورق الجرائد والختم)
   ============================================================ */
:root {
  --paper: #F4ECDC;
  --paper-2: #EFE5D1;
  --paper-3: #E6DAC2;
  --ink: #17120E;
  --ink-2: #3B332B;
  --ink-3: #7A6E60;
  --rule: rgba(23, 18, 14, .5);
  --rule-2: rgba(23, 18, 14, .18);
  --red: #B8261C;
  --red-2: #D9412F;
  --brown: #764E37;
  --cyan: rgba(0, 150, 210, .32);
  --mag: rgba(220, 0, 110, .28);
  --font-head: 'Fustat', 'Segoe UI', sans-serif;
  --font-ar: 'Beiruti', 'Segoe UI', sans-serif;
  --font-np: 'Oswald', 'Arial Narrow', sans-serif;
  --maxw: 1240px;
}
html { background: #D9CDB6; }
body.paper { background: #D9CDB6; color: var(--ink); font-family: var(--font-ar); font-size: 17px; line-height: 1.55; margin: 0; overflow-x: hidden; }
.sheet-paper { position: relative; max-width: var(--maxw); margin: 0 auto; background: var(--paper); min-height: 100vh; box-shadow: 0 30px 80px rgba(60, 40, 20, .35), 0 0 0 1px rgba(23, 18, 14, .08); }
.sheet-paper::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .2 0 0 0 0 .15 0 0 0 0 .1 0 0 0 .08 0'/></filter><rect width='100%' height='100%' filter='url(%23f)'/></svg>"); opacity: .9; }
.sheet-paper::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(ellipse at center, transparent 60%, rgba(120, 90, 50, .14) 100%); }
.sheet-paper > * { position: relative; z-index: 1; }
.inner { padding: 0 34px; }
@media (max-width: 760px) { .inner { padding: 0 16px; } }
.v4 .num, .v4 [dir="ltr"] { direction: ltr; unicode-bidi: isolate; }

/* ---------- عناوين بانزياح حبر الطباعة ---------- */
.ink { text-shadow: .6px 0 var(--cyan), -.6px 0 var(--mag); }
.hd-font { font-family: var(--font-head); font-weight: 800; letter-spacing: -.01em; }

/* ---------- الترويسة ---------- */
.mast { padding: 14px 0 0; }
.mast .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 800; color: var(--ink-2); padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
.mast .top .num { font-family: var(--font-np); letter-spacing: .08em; }
.mast .main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding: 10px 0 8px; }
.mast .ear { font-size: 12.5px; line-height: 1.35; border: 1px solid var(--rule); padding: 8px 10px; color: var(--ink-2); max-width: 230px; background: rgba(255, 255, 255, .25); }
.mast .ear b { display: block; font-size: 13px; color: var(--ink); }
.mast .ear .num { font-family: var(--font-np); color: var(--red); letter-spacing: .06em; }
.mast .ear.r { justify-self: end; }
.mast .ear.l { justify-self: start; }
.mast .name { text-align: center; }
.mast .name .en { font-family: var(--font-np); font-size: 11px; letter-spacing: .38em; color: var(--brown); text-transform: uppercase; direction: ltr; }
.mast .name h1 { margin: 0; padding: .02em 0 .2em; font-family: var(--font-head); font-weight: 800; font-size: clamp(50px, 8.6vw, 104px); line-height: 1.05; color: var(--ink); text-shadow: 1px 0 var(--cyan), -1px 0 var(--mag); }
.mast .name h1 a { text-decoration: none; color: inherit; }
.mast .name .sub { font-family: var(--font-np); font-size: 11.5px; letter-spacing: .32em; color: var(--ink-2); text-transform: uppercase; direction: ltr; margin-top: 6px; }
.mast .orn { display: flex; align-items: center; gap: 10px; }
.mast .orn::before, .mast .orn::after { content: ''; flex: 1; height: 3px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.mast .orn svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.pages { display: flex; justify-content: center; gap: 2px; border-bottom: 1px solid var(--rule); border-top: 1px solid var(--rule-2); padding: 6px 0; margin-top: 8px; flex-wrap: wrap; }
.pages a { text-decoration: none; color: var(--ink-2); font-weight: 800; font-size: 14.5px; padding: 6px 12px; display: inline-flex; align-items: center; gap: 7px; position: relative; transition: color .2s; }
.pages a .n { font-family: var(--font-np); font-size: 11px; color: var(--ink-3); letter-spacing: .1em; }
.pages a:hover { color: var(--ink); }
.pages a.on { color: var(--ink); }
.pages a.on::after { content: ''; position: absolute; inset-inline: 10px; bottom: 2px; height: 2px; background: var(--red); border-radius: 1px; }
.pages a .pin { position: absolute; top: 0; inset-inline-end: 2px; min-width: 16px; height: 16px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--font-np); font-size: 10px; display: grid; place-items: center; padding: 0 4px; opacity: 0; scale: .5; transition: opacity .2s, scale .25s; }
.pages a .pin.show { opacity: 1; scale: 1; }
body[data-page]:not([data-page="home"]) .mast .main { padding: 6px 0 4px; }
body[data-page]:not([data-page="home"]) .mast .name h1 { font-size: clamp(36px, 5vw, 56px); }
body[data-page]:not([data-page="home"]) .mast .ear { display: none; }
body[data-page]:not([data-page="home"]) .mast .main { grid-template-columns: 1fr; }
@media (max-width: 900px) { .mast .ear { display: none; } .mast .main { grid-template-columns: 1fr; } .pages { gap: 0; } .pages a { padding: 6px 8px; font-size: 13.5px; } .pages a .n { display: none; } }

/* ---------- الصفحات وتقليبها ---------- */
.pg { display: none; padding: 20px 0 40px; }
.pg.on { display: block; }
.pg-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--rule); margin-top: 30px; padding: 10px 0 0; font-size: 12.5px; font-weight: 800; color: var(--ink-3); }
.pg-foot .num { font-family: var(--font-np); letter-spacing: .1em; }
.pg-foot a { color: var(--ink); text-decoration: none; }
#flip { position: fixed; inset: 0; z-index: 200; pointer-events: none; perspective: 2200px; display: none; }
#flip.live { display: block; pointer-events: auto; }
#flip .leaf { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 100%; transform-origin: right center; transform-style: preserve-3d; }
html[dir="rtl"] #flip .leaf { transform-origin: right center; }
#flip .face { position: absolute; inset: 0; backface-visibility: hidden; }
#flip .face.front { background: var(--paper); }
#flip .face.back { background: var(--paper); transform: rotateY(180deg); }
#flip .face .newsprint { position: absolute; inset: 0; }
#flip .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 40%); opacity: 0; pointer-events: none; }
#flip .face .pn { position: absolute; bottom: 18px; inset-inline-start: 24px; font-family: var(--font-np); font-size: 12px; letter-spacing: .3em; color: var(--ink-3); }

/* ---------- الصفحة الاولى ---------- */
.front4 { display: grid; gap: 22px; }
@media (min-width: 960px) { .front4 { grid-template-columns: 1.15fr 1fr; gap: 34px; } }
.lead { display: grid; gap: 14px; align-content: start; }
.kick { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 900; color: var(--red); letter-spacing: .02em; text-transform: uppercase; }
.kick i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse-r 1.6s infinite; }
@keyframes pulse-r { 70% { box-shadow: 0 0 0 8px rgba(184, 38, 28, 0); } 0% { box-shadow: 0 0 0 0 rgba(184, 38, 28, .5); } }
.lead h2 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 5.4vw, 64px); line-height: 1.25; color: var(--ink); text-shadow: .8px 0 var(--cyan), -.8px 0 var(--mag); }
.lead h2 .num { font-family: var(--font-np); font-weight: 500; color: var(--red); font-size: .92em; }
.lead .dek { margin: 0; font-size: 19px; color: var(--ink-2); font-weight: 600; border-inline-start: 3px solid var(--ink); padding-inline-start: 12px; }
.lead .cols { columns: 2; column-gap: 22px; column-rule: 1px solid var(--rule-2); font-size: 15.5px; color: var(--ink-2); text-align: justify; }
.lead .cols p { margin: 0 0 10px; }
.lead .cols p:first-child::first-letter { font-family: var(--font-head); font-weight: 800; font-size: 3.1em; line-height: .8; float: inline-start; margin: 6px 0 0 8px; margin-inline-end: 8px; color: var(--ink); }
html[dir="rtl"] .lead .cols p:first-child::first-letter { float: right; margin: 6px 0 0 8px; }
.lead .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.v4 .btn { border-radius: 4px; font-weight: 900; }
.v4 .btn-primary { background: var(--ink); color: var(--paper); box-shadow: none; }
.v4 .btn-primary:hover { background: #000; }
.v4 .btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.v4 .btn-red { background: var(--red); color: #fff; }
@media (max-width: 640px) { .lead .cols { columns: 1; } }
.photo { position: relative; border: 1px solid var(--rule); padding: 6px; background: var(--paper-2); }
.photo .frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-3); }
.photo .frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.05); transition: filter 1.4s ease .2s; display: block; }
.photo .frame::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(244, 236, 220, 1) 38%, transparent 43%); background-size: 5px 5px; mix-blend-mode: lighten; opacity: .95; transition: opacity 1.4s ease .2s; pointer-events: none; }
.photo.dev .frame img { filter: none; }
.photo.dev .frame::after { opacity: 0; }
.photo .cap { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--ink-2); padding: 8px 4px 2px; font-weight: 700; }
.photo .cap .num { font-family: var(--font-np); letter-spacing: .1em; color: var(--red); }
.photo .cap .en { font-family: var(--font-np); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); direction: ltr; font-weight: 500; }
.photo .credit { position: absolute; top: 12px; inset-inline-start: 12px; font-family: var(--font-np); font-size: 9.5px; letter-spacing: .3em; color: #fff; background: rgba(23, 18, 14, .65); padding: 3px 7px; direction: ltr; }
.fold { height: 1px; margin: 26px 0; background: linear-gradient(90deg, transparent, rgba(23, 18, 14, .35), transparent); position: relative; }
.fold::after { content: 'تابع أسفل الطية'; position: absolute; inset-inline-start: 50%; top: -9px; translate: 50% 0; background: var(--paper); padding: 0 10px; font-size: 11px; color: var(--ink-3); font-weight: 800; }
html[dir="rtl"] .fold::after { translate: 50% 0; }
.below { display: grid; gap: 18px; }
@media (min-width: 960px) { .below { grid-template-columns: 1.2fr 1fr 1fr; } }
.col-h { font-family: var(--font-head); font-weight: 800; font-size: 20px; border-bottom: 2px solid var(--ink); padding-bottom: 4px; margin: 0 0 10px; display: flex; justify-content: space-between; align-items: baseline; }
.col-h .en { font-family: var(--font-np); font-size: 10px; letter-spacing: .3em; color: var(--brown); direction: ltr; font-weight: 500; }
.toc4 { display: grid; gap: 0; }
.toc4 a { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; text-decoration: none; color: var(--ink); padding: 8px 0; border-bottom: 1px dotted var(--rule); font-weight: 800; }
.toc4 a .n { font-family: var(--font-np); color: var(--red); letter-spacing: .1em; font-size: 13px; }
.toc4 a small { color: var(--ink-3); font-weight: 600; font-size: 12.5px; display: block; }
.toc4 a .p { font-family: var(--font-np); color: var(--ink-3); font-size: 12px; letter-spacing: .1em; }
.toc4 a:hover { color: var(--red); }
.sched { font-size: 14.5px; }
.sched div { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dotted var(--rule); }
.sched div .num { font-family: var(--font-np); letter-spacing: .08em; color: var(--ink-2); }
.sched div.done { color: var(--ink-3); } .sched div.done .num { color: var(--ink-3); }
.sched div.baking { color: var(--red); font-weight: 900; } .sched div.baking .num { color: var(--red); }
.coupon { position: relative; border: 2px dashed var(--ink); padding: 16px 16px 14px; background: rgba(255, 255, 255, .35); align-self: start; }
.coupon .sc { position: absolute; top: -13px; inset-inline-start: 14px; background: var(--paper); padding: 0 6px; }
.coupon .sc svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.6; }
.coupon .t { font-family: var(--font-np); font-size: 10px; letter-spacing: .3em; color: var(--red); direction: ltr; }
.coupon h4 { margin: 4px 0 4px; font-family: var(--font-head); font-size: 24px; font-weight: 800; line-height: 1.25; }
.coupon p { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); }
.coupon .btn { width: 100%; }
.coupon .stamp-ok { position: absolute; inset-inline-end: 10px; bottom: 54px; rotate: -12deg; border: 2px solid var(--red); color: var(--red); font-family: var(--font-head); font-weight: 800; font-size: 14px; padding: 2px 8px; opacity: .85; }
.ticker4 { margin-top: 22px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 8px 0; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 800; }
.ticker4 .lab { display: inline-block; background: var(--red); color: #fff; padding: 2px 10px; margin-inline-end: 12px; font-size: 12px; letter-spacing: .04em; }
.ticker4 .in { display: inline-block; padding-inline-start: 100%; animation: tk 36s linear infinite; }
.ticker4 .in span { margin-inline-end: 34px; }
.ticker4 .in .num { font-family: var(--font-np); color: var(--red); letter-spacing: .08em; }
@keyframes tk { to { transform: translateX(100%); } }

/* ---------- ساعة الفرن = جدول الطبعة ---------- */
.ovn { display: grid; gap: 22px; }
@media (min-width: 960px) { .ovn { grid-template-columns: 1.1fr .9fr; gap: 36px; } }
.pg-h { display: flex; align-items: end; justify-content: space-between; gap: 12px; border-bottom: 3px double var(--ink); padding-bottom: 8px; margin-bottom: 16px; }
.pg-h h2 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 5vw, 46px); line-height: 1.25; text-shadow: .8px 0 var(--cyan), -.8px 0 var(--mag); }
.pg-h .en { font-family: var(--font-np); font-size: 10.5px; letter-spacing: .34em; color: var(--brown); direction: ltr; display: block; }
.pg-h .aside { font-size: 13px; color: var(--ink-3); font-weight: 800; white-space: nowrap; }
.ttable { position: relative; border-top: 2px solid var(--ink); }
.trow { position: relative; display: grid; grid-template-columns: 70px 56px 1fr auto; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px solid var(--rule-2); }
.trow .tm { font-family: var(--font-np); font-size: 20px; letter-spacing: .08em; color: var(--ink-2); direction: ltr; }
.trow img, .trow .ph { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--paper-3); border: 1px solid var(--rule-2); display: block; }
.trow .ph { display: grid; place-items: center; font-family: var(--font-np); font-size: 8px; color: var(--ink-3); text-align: center; }
.trow .t b { display: block; font-size: 16.5px; }
.trow .t small { color: var(--ink-3); font-size: 12.5px; font-weight: 700; }
.trow .st { font-size: 12.5px; font-weight: 900; padding: 4px 10px; border-radius: 3px; border: 1px solid var(--rule-2); color: var(--ink-2); white-space: nowrap; }
.trow.done .st { color: var(--ink-3); }
.trow.baking .st { background: var(--red); color: #fff; border-color: var(--red); }
.trow.sel { background: rgba(255, 255, 255, .4); }
.trow .pen { position: absolute; inset: -4px -8px; pointer-events: none; }
.trow .pen path { fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 1.1s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.trow .now { position: absolute; inset-inline-end: 8px; top: -14px; color: var(--red); font-family: var(--font-head); font-weight: 800; font-size: 16px; rotate: -6deg; }
.tcard { border: 1px solid var(--rule); padding: 8px; background: var(--paper-2); position: sticky; top: 12px; }
.tcard .frame { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.tcard .frame img { width: 100%; height: 100%; object-fit: cover; }
.tcard .bd { padding: 12px 8px 6px; }
.tcard .bd .tm { font-family: var(--font-np); font-size: 32px; letter-spacing: .08em; color: var(--red); line-height: 1; direction: ltr; display: inline-block; }
.tcard .bd h3 { margin: 6px 0 2px; font-family: var(--font-head); font-size: 30px; font-weight: 800; line-height: 1.25; }
.tcard .bd .en { font-family: var(--font-np); font-size: 10.5px; letter-spacing: .26em; color: var(--ink-3); direction: ltr; text-align: start; }
.tcard .bd p { margin: 8px 0 12px; color: var(--ink-2); font-size: 15px; }
.tcard .bd .row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- المنيو = صفحات مبوبة ---------- */
.v4 .chips { background: var(--paper); border-bottom: 1px solid var(--rule); }
.v4 .chip { border-radius: 3px; border-color: var(--rule); color: var(--ink-2); }
.v4 .chip.on, .v4 .chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sec4 { margin: 10px 0 26px; }
.sec4 .h { display: flex; align-items: baseline; gap: 10px; border-bottom: 2px solid var(--ink); padding-bottom: 4px; margin-bottom: 12px; }
.sec4 .h h3 { margin: 0; font-family: var(--font-head); font-size: 28px; font-weight: 800; line-height: 1.3; }
.sec4 .h .en { font-family: var(--font-np); font-size: 10px; letter-spacing: .3em; color: var(--brown); direction: ltr; }
.sec4 .h .cnt { margin-inline-start: auto; font-size: 12px; color: var(--ink-3); font-weight: 800; }
.ads { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 700px) { .ads { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .ads { grid-template-columns: repeat(4, 1fr); } }
.ad { position: relative; border: 1px solid var(--rule); padding: 6px; background: var(--paper-2); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.ad:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(60, 40, 20, .18); }
.ad .frame { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--paper-3); }
.ad .frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.1); transition: filter .6s, transform .6s; }
.ad .frame::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(244, 236, 220, 1) 36%, transparent 42%); background-size: 4px 4px; mix-blend-mode: lighten; opacity: .9; transition: opacity .6s; pointer-events: none; }
.ad:hover .frame img, .ad.in .frame img { filter: none; transform: scale(1.04); }
.ad:hover .frame::after, .ad.in .frame::after { opacity: 0; }
.ad .frame .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-np); font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 10px; text-align: center; direction: ltr; }
.ad .bd { padding: 8px 4px 4px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.ad .nm { font-weight: 900; font-size: 16px; line-height: 1.25; }
.ad .en { font-family: var(--font-np); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); direction: ltr; text-align: start; }
.ad .note { font-size: 11.5px; color: var(--ink-3); }
.ad .row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; gap: 6px; }
.ad .add { font-size: 12.5px; font-weight: 900; border: 1.5px solid var(--ink); padding: 6px 10px; border-radius: 3px; transition: background .2s, color .2s; }
.ad .add:hover { background: var(--ink); color: var(--paper); }
.ad.out .add { display: none; }
.ad.out .frame img { filter: grayscale(1) contrast(.9); opacity: .55; }
.ad .fresh { position: absolute; top: -8px; inset-inline-start: 10px; z-index: 2; background: var(--red); color: #fff; font-size: 11px; font-weight: 900; padding: 3px 9px; letter-spacing: .02em; }
.ad .spec { position: absolute; top: -8px; inset-inline-end: 10px; z-index: 2; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 900; padding: 3px 9px; }
.rstamp { position: absolute; inset-inline-start: 50%; top: 38%; translate: 50% -50%; z-index: 5; rotate: -14deg; border: 3px solid var(--red); color: var(--red); font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1.2; padding: 2px 14px; mix-blend-mode: multiply; opacity: 0; pointer-events: none; box-shadow: inset 0 0 0 1.5px rgba(244, 236, 220, .7), 0 0 0 1.5px var(--red); background: rgba(244, 236, 220, .25); }
html[dir="rtl"] .rstamp { translate: 50% -50%; }
.rstamp.hit { animation: slam .55s cubic-bezier(.2, 1.2, .3, 1) forwards; }
@keyframes slam { 0% { opacity: 0; scale: 2.2; rotate: -4deg; } 60% { opacity: 1; scale: .95; rotate: -14deg; } 100% { opacity: .9; scale: 1; rotate: -14deg; } }
.v4 .stamp { font-size: 26px; }

/* ---------- العلبة = كلمات متقاطعة ---------- */
.xw { display: grid; gap: 22px; align-items: start; }
@media (min-width: 960px) { .xw { grid-template-columns: 1fr 1fr; gap: 36px; } }
.grid-x { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 3px solid var(--ink); background: var(--ink); position: relative; }
.grid-x.s12 { grid-template-columns: repeat(4, 1fr); }
.cell { aspect-ratio: 1; background: #fff; position: relative; display: grid; place-items: center; overflow: hidden; outline: 1.5px solid var(--ink); transition: background .2s; }
.cell .idx { position: absolute; top: 3px; inset-inline-start: 5px; font-family: var(--font-np); font-size: 10px; color: var(--ink-3); }
.cell.over { background: #FFF2CF; }
.cell img { width: 86%; height: 86%; object-fit: cover; border-radius: 50%; animation: drop .4s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes drop { from { transform: scale(.4) translateY(-30px); opacity: 0; } to { transform: none; opacity: 1; } }
.cell.full { cursor: pointer; }
.cell .x { position: absolute; top: 4px; inset-inline-end: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.cell.full:hover .x { opacity: 1; }
.wax { position: absolute; inset-inline-end: -22px; bottom: -22px; width: 108px; height: 108px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #E04A3A, #9E1E14 70%, #7a150e); color: #FFE9E3; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 15px; text-align: center; line-height: 1.2; box-shadow: 0 10px 30px rgba(120, 20, 10, .4), inset 0 0 0 4px rgba(255, 200, 190, .25), inset 0 0 0 7px rgba(120, 20, 10, .5); opacity: 0; scale: 2.4; rotate: -25deg; pointer-events: none; z-index: 3; }
.wax.on { opacity: 1; scale: 1; rotate: -10deg; transition: opacity .2s, scale .45s cubic-bezier(.2, 1.4, .3, 1), rotate .45s; }
.xw-ctl { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.xw-ctl .sum { font-weight: 800; color: var(--ink-2); font-size: 15px; }
.xw-ctl .acts { display: flex; gap: 8px; }
.clues h4 { margin: 0 0 8px; font-family: var(--font-head); font-size: 22px; font-weight: 800; border-bottom: 2px solid var(--ink); padding-bottom: 4px; display: flex; justify-content: space-between; align-items: baseline; }
.clues h4 span { font-size: 12px; color: var(--ink-3); font-family: var(--font-ar); font-weight: 700; }
.clue-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 560px) { .clue-list { grid-template-columns: repeat(3, 1fr); } }
.clue { display: flex; align-items: center; gap: 10px; border: 1px solid var(--rule-2); padding: 8px; background: rgba(255, 255, 255, .35); cursor: grab; user-select: none; touch-action: none; transition: box-shadow .2s, transform .15s; }
.clue:hover { box-shadow: 0 10px 24px rgba(60, 40, 20, .15); transform: translateY(-1px); }
.clue img, .clue .ph { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--paper-3); flex: 0 0 auto; pointer-events: none; }
.clue .ph { display: grid; place-items: center; font-family: var(--font-np); font-size: 8px; color: var(--ink-3); }
.clue .t b { display: block; font-size: 13.5px; line-height: 1.2; }
.clue .t small { font-family: var(--font-np); color: var(--red); font-size: 12px; letter-spacing: .06em; direction: ltr; display: inline-block; }
.clue.out { opacity: .4; pointer-events: none; }

/* ---------- طلب الفجر = اعلان مبوب ---------- */
.dawn4 { display: grid; gap: 22px; }
@media (min-width: 960px) { .dawn4 { grid-template-columns: 1fr 1fr; gap: 36px; } }
.typed { border: 2px solid var(--ink); padding: 22px 22px 18px; background: #FBF6EA; position: relative; font-family: var(--font-ar); }
.typed .lab { position: absolute; top: -12px; inset-inline-start: 16px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 900; padding: 3px 10px; letter-spacing: .06em; }
.typed h3 { margin: 0 0 10px; font-family: var(--font-head); font-size: 30px; font-weight: 800; line-height: 1.25; }
.typed p { margin: 0 0 10px; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); min-height: 4.2em; }
.typed p .cur { display: inline-block; width: 2px; height: 1em; background: var(--ink); vertical-align: -2px; animation: blink 1s steps(2) infinite; margin-inline-start: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.typed .slots-t { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 12px; }
.typed .slots-t .chip { font-family: var(--font-np); letter-spacing: .06em; direction: ltr; }
.blank { display: inline-flex; align-items: center; gap: 2px; }
.blank input { font-family: var(--font-np); font-size: 26px; letter-spacing: .36em; text-transform: uppercase; border: 0; border-bottom: 2px solid var(--ink); background: transparent; width: 200px; padding: 2px 6px; direction: ltr; text-align: center; color: var(--ink); outline: 0; }
.blank input::placeholder { color: var(--ink-3); letter-spacing: .2em; }
.typed .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.steps4 { display: grid; gap: 10px; }
.steps4 div { display: flex; gap: 12px; align-items: start; border-bottom: 1px dotted var(--rule); padding: 10px 0; color: var(--ink-2); font-size: 15px; }
.steps4 b { font-family: var(--font-np); font-size: 26px; line-height: 1; color: var(--red); }
.weather { border: 1px solid var(--rule); padding: 14px 16px; background: rgba(255, 255, 255, .35); margin-top: 16px; }
.weather h4 { margin: 0 0 6px; font-family: var(--font-head); font-size: 20px; font-weight: 800; display: flex; justify-content: space-between; }
.weather h4 .en { font-family: var(--font-np); font-size: 10px; letter-spacing: .3em; color: var(--brown); font-weight: 500; }
.weather .r { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dotted var(--rule-2); font-size: 14.5px; }
.weather .r .num { font-family: var(--font-np); letter-spacing: .08em; color: var(--ink-2); }

/* ---------- الموقع ---------- */
.visit4 { display: grid; gap: 22px; }
@media (min-width: 960px) { .visit4 { grid-template-columns: 1.1fr .9fr; gap: 36px; } }
.vbox { border: 1px solid var(--rule); padding: 18px; background: rgba(255, 255, 255, .3); }
.vbox h3 { margin: 0 0 6px; font-family: var(--font-head); font-size: 30px; font-weight: 800; line-height: 1.25; }
.vbox .big { font-family: var(--font-np); font-size: 38px; letter-spacing: .06em; direction: ltr; color: var(--red); line-height: 1; margin: 6px 0; }
.vbox .r { display: flex; gap: 10px; align-items: center; color: var(--ink-2); font-size: 15px; margin: 6px 0; }
.vbox .r .ic { color: var(--red); }
.vbox .cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* ---------- بريد القراء ---------- */
.mail4 { display: grid; gap: 22px; }
@media (min-width: 960px) { .mail4 { grid-template-columns: 1.1fr .9fr; gap: 36px; } }
.letter { border: 1px solid var(--rule); padding: 20px; background: #FBF6EA; display: grid; gap: 12px; }
.letter .seg { display: flex; border: 1.5px solid var(--ink); border-radius: 3px; overflow: hidden; }
.letter .seg button { flex: 1; padding: 10px; font-weight: 900; color: var(--ink-2); }
.letter .seg button.on { background: var(--ink); color: var(--paper); }
.letter label { display: grid; gap: 6px; font-size: 14px; font-weight: 800; color: var(--ink-2); }
.letter input, .letter textarea { border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; padding: 10px 6px; font: inherit; color: var(--ink); outline: 0; }
.letter textarea { min-height: 120px; resize: vertical; border: 1.5px solid var(--rule); padding: 10px; }
.letter .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mailbox { border: 1px solid var(--rule); padding: 18px; }
.mailbox h3 { margin: 0 0 6px; font-family: var(--font-head); font-size: 26px; font-weight: 800; }
.mailbox p { color: var(--ink-2); margin: 0 0 10px; font-size: 15px; }
.mailbox .addr { font-family: var(--font-np); font-size: 20px; letter-spacing: .04em; color: var(--red); text-decoration: none; direction: ltr; display: inline-flex; gap: 8px; align-items: center; }

/* ---------- تذييل الجريدة ---------- */
.colophon { border-top: 3px double var(--ink); margin-top: 30px; padding: 16px 0 40px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); font-weight: 700; }
.colophon .en { font-family: var(--font-np); letter-spacing: .3em; color: var(--brown); direction: ltr; }
.colophon a { color: var(--ink-2); text-decoration: none; margin-inline-start: 12px; }

/* ---------- سلة الطلب العائمة (ورقة طلب) ---------- */
.order-tab { position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 150; background: var(--ink); color: var(--paper); border-radius: 4px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .9, .3, 1.1); font-weight: 900; }
.order-tab.show { transform: none; }
.order-tab .n { font-family: var(--font-np); background: var(--red); color: #fff; border-radius: 999px; min-width: 24px; height: 24px; display: grid; place-items: center; padding: 0 7px; font-size: 13px; }
.order-tab button { background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 3px; font-weight: 900; }
.v4 .sheet { border-radius: 6px 6px 0 0; }
.v4 .toast { border-radius: 4px; }
@media (max-width: 760px) { .order-tab { inset-inline: 14px; justify-content: space-between; } }
.v4 .drag-ghost { border-radius: 50%; }
