:root {
  --gold: #f5c542;
  --gold-soft: #ffe29a;
  --ink-900: #0b1020;
  --ink-800: #111a33;
  --ink-700: #1a2547;
  --guilty: #ff3b5c;
  --right: #19e08f;
}
html { scroll-behavior: smooth; }
body { -webkit-tap-highlight-color: transparent; }
[dir="rtl"] body { font-family: Cairo, Inter, system-ui, sans-serif; }

/* ambient courtroom backdrop */
.court-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60rem 30rem at 50% -10%, rgba(245,197,66,.14), transparent 60%),
    radial-gradient(40rem 30rem at 90% 30%, rgba(255,59,92,.08), transparent 60%),
    radial-gradient(40rem 30rem at 0% 60%, rgba(25,224,143,.06), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0 2px, transparent 2px 46px);
}

/* buttons */
.btn-gold, .btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.4rem;
  border-radius: .9rem; font-weight: 800; transition: transform .15s, box-shadow .2s, background .2s;
  cursor: pointer; text-align: center;
}
.btn-gold {
  background: linear-gradient(180deg, #ffd964, #e9aa17); color: #1a1202;
  box-shadow: 0 0 0 1px rgba(255,226,154,.6) inset, 0 8px 28px -8px rgba(245,197,66,.65);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px #fff3 inset, 0 12px 34px -8px rgba(245,197,66,.85); }
.btn-gold:active { transform: translateY(1px) scale(.99); }
.btn-gold[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-ghost { background: rgba(255,255,255,.04); border: 1px solid rgba(245,197,66,.28); color: #f3e6bd; }
.btn-ghost:hover { background: rgba(245,197,66,.1); }
.icon-btn {
  width: 2.4rem; height: 2.4rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: .75rem; border: 1px solid rgba(245,197,66,.25); background: rgba(255,255,255,.03); cursor: pointer;
}
.icon-btn:hover { background: rgba(245,197,66,.12); }
summary::-webkit-details-marker { display: none; }

/* panels, fields */
.panel {
  background: linear-gradient(180deg, rgba(26,37,71,.85), rgba(17,26,51,.9));
  border: 1px solid rgba(245,197,66,.18); border-radius: 1.1rem; padding: 1.25rem;
  box-shadow: 0 20px 50px -25px rgba(0,0,0,.8);
}
.label { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: .4rem; }
.field {
  width: 100%; background: rgba(7,11,22,.7); border: 1px solid rgba(255,255,255,.12); border-radius: .8rem;
  padding: .75rem .9rem; color: #fff; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,197,66,.2); }
.field::placeholder { color: #64748b; }
.text-right-c { color: var(--right); }
.text-guilty-c { color: var(--guilty); }
.chip, .chip-radio span {
  display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; padding: .45rem .9rem; border-radius: 999px;
  font-size: .85rem; font-weight: 700; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); cursor: pointer;
  transition: all .15s;
}
.chip:hover, .chip-radio span:hover { border-color: rgba(245,197,66,.5); }
.chip-active, .chip-radio input:checked + span { background: rgba(245,197,66,.16); border-color: var(--gold); color: var(--gold-soft); }
.chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

.badge, .badge-gold {
  display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 800; padding: .25rem .65rem;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #cbd5e1;
}
.badge-gold { border-color: rgba(245,197,66,.5); background: rgba(245,197,66,.12); color: var(--gold-soft); }
.badge-red { border-color: rgba(255,59,92,.5); background: rgba(255,59,92,.12); color: #ffb3c0; }
.party { padding: .35rem .8rem; border-radius: .7rem; border: 1px solid; }
.party-p { color: var(--right); border-color: rgba(25,224,143,.4); background: rgba(25,224,143,.07); }
.party-d { color: var(--guilty); border-color: rgba(255,59,92,.4); background: rgba(255,59,92,.07); }

.section-title { font-family: 'Playfair Display', Cairo, serif; font-weight: 900; font-size: 1.25rem; margin-bottom: .9rem; }
.mini-title { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 800; margin-bottom: .2rem; }

.live-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--guilty); box-shadow: 0 0 0 0 rgba(255,59,92,.7); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 .5rem rgba(255,59,92,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,92,0); } }

.stat { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: .9rem; padding: .7rem .5rem; }
.stat dt { font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; color: #94a3b8; }
.stat dd { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 1.5rem; color: var(--gold); }
.step { display: flex; gap: .8rem; align-items: center; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); border-radius: 1rem; padding: .9rem 1rem; font-size: .9rem; color: #cbd5e1; }
.step span { flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--gold); color: #1a1202; font-weight: 900; display: grid; place-items: center; }

/* tabs */
.tabs { display: inline-flex; padding: .25rem; gap: .25rem; border-radius: .9rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.tab { padding: .45rem .9rem; border-radius: .65rem; font-size: .85rem; font-weight: 800; color: #94a3b8; cursor: pointer; }
.tab-active { background: var(--gold); color: #1a1202; }

/* feed cards */
.case-card {
  display: block; padding: 1.1rem; border-radius: 1.1rem; position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(26,37,71,.8), rgba(17,26,51,.95)); border: 1px solid rgba(255,255,255,.08);
  transition: transform .18s, border-color .2s, box-shadow .2s;
}
.case-card:hover { transform: translateY(-3px); border-color: rgba(245,197,66,.5); box-shadow: 0 18px 40px -20px rgba(245,197,66,.35); }
.case-card-pinned { border-color: rgba(245,197,66,.55); box-shadow: 0 0 0 1px rgba(245,197,66,.2) inset; }
.mini-bar { display: flex; height: .5rem; border-radius: 999px; overflow: hidden; background: #0007; }
.mini-bar > i:first-child { background: linear-gradient(90deg, #0fb872, var(--right)); }
.mini-bar > i:last-child { background: linear-gradient(90deg, var(--guilty), #c81e3f); }
.skeleton { height: 9rem; border-radius: 1.1rem; background: linear-gradient(90deg, #111a33 25%, #1a2547 37%, #111a33 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* courtroom stage */
.stage {
  position: relative; border-radius: 1.2rem; padding: 1rem; min-height: 8rem; overflow: hidden;
  background: linear-gradient(180deg, rgba(7,11,22,.7), rgba(17,26,51,.7)); border: 1px solid rgba(245,197,66,.2);
}
.bubble-row { display: flex; gap: .75rem; align-items: flex-start; animation: bubbleIn .45s cubic-bezier(.2,.9,.3,1.2) both; }
.bubble-row.is-defense { flex-direction: row-reverse; }
.bubble-row.is-judge { justify-content: center; }
.avatar {
  flex: none; width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem;
  border: 2px solid; background: var(--ink-800);
}
.is-prosecutor .avatar { border-color: var(--guilty); box-shadow: 0 0 18px rgba(255,59,92,.5); }
.is-defense .avatar { border-color: #5aa8ff; box-shadow: 0 0 18px rgba(90,168,255,.5); }
.is-judge .avatar { border-color: var(--gold); box-shadow: 0 0 22px rgba(245,197,66,.6); }
.speaking .avatar { animation: talk .5s infinite alternate; }
@keyframes talk { to { transform: scale(1.1) rotate(-4deg); } }
.bubble { max-width: 100%; border-radius: 1rem; padding: .8rem 1rem; font-size: .93rem; line-height: 1.55; border: 1px solid; position: relative; }
.bubble .who { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; margin-bottom: .25rem; opacity: .9; }
.is-prosecutor .bubble { background: rgba(255,59,92,.1); border-color: rgba(255,59,92,.45); }
.is-prosecutor .who { color: #ff8da1; }
.is-defense .bubble { background: rgba(90,168,255,.1); border-color: rgba(90,168,255,.45); }
.is-defense .who { color: #9cc9ff; }
.is-judge .bubble { background: rgba(245,197,66,.1); border-color: rgba(245,197,66,.55); text-align: center; flex: 1; max-width: 32rem; }
.is-judge .who { color: var(--gold); }
.caret::after { content: '▍'; margin-inline-start: 1px; color: var(--gold); animation: blink .7s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.typing-dots span { display: inline-block; width: .4rem; height: .4rem; margin: 0 .12rem; border-radius: 50%; background: currentColor; animation: dots 1s infinite; }
.typing-dots span:nth-child(2) { animation-delay: .15s; } .typing-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }

/* "OBJECTION!" - a heavy red court stamp slammed onto the case header; never covers the speech bubbles */
.obj-host { position: relative; }
.objection {
  position: absolute; z-index: 30; left: 50%; top: 50%; width: max-content; max-width: min(94%, 26rem);
  transform: translate(-50%, -50%) rotate(-5deg); pointer-events: none; text-align: center; opacity: 0;
  padding: .35rem .5rem; border-radius: .7rem; border: 4px solid #ff2f4f;
  background-color: rgba(110,8,28,.82);
  background-image: radial-gradient(rgba(255,120,140,.16) 1px, transparent 1.4px), radial-gradient(rgba(0,0,0,.28) 1px, transparent 1.6px);
  background-size: 7px 7px, 11px 11px; background-position: 0 0, 3px 4px;
  box-shadow: 0 0 0 3px rgba(110,8,28,.82), 0 0 0 5px #ff2f4f, 0 14px 40px rgba(255,47,79,.55);
}
.objection::before { content: ""; position: absolute; inset: 3px; border: 2px solid rgba(255,90,116,.75); border-radius: .45rem; pointer-events: none; }
.objection-inner { padding: .25rem 1rem .3rem; }
.objection-title {
  font-family: 'Playfair Display', Cairo, serif; font-weight: 900; font-size: clamp(1.7rem, 8vw, 2.7rem);
  text-transform: uppercase; letter-spacing: .06em; color: #ff5a74; line-height: 1.1;
  text-shadow: 0 0 1px #ff9aab, 0 2px 0 #4a0412, 0 0 14px rgba(255,47,79,.7);
}
.objection-sub { margin-top: .15rem; font-size: .86rem; font-weight: 800; color: #ffd0d8; letter-spacing: .02em; }
.objection.show { animation: objStamp 1.6s cubic-bezier(.2,.9,.3,1) both; }
@keyframes objStamp {
  0%   { opacity: 0; transform: translate(-50%, -50%) rotate(-5deg) scale(2.4); }
  16%  { opacity: 1; transform: translate(-50%, -50%) rotate(-5deg) scale(1); }
  20%  { transform: translate(-50%, -50%) rotate(-5deg) scale(.95); }
  25%  { transform: translate(-50%, -50%) rotate(-5deg) scale(1); }
  82%  { opacity: 1; transform: translate(-50%, -50%) rotate(-5deg) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(-5deg) scale(1.03); }
}
.thump { animation: thump .38s ease-out; }
@keyframes thump { 0% { transform: none; } 25% { transform: translateY(5px) scale(.992); } 50% { transform: translateY(-2px); } 75% { transform: translateY(2px); } 100% { transform: none; } }
.shake { animation: screenShake .35s; }
@keyframes screenShake { 0%,100% { transform: none; } 20% { transform: translate(-6px, 4px); } 40% { transform: translate(6px,-4px); } 60% { transform: translate(-4px,-3px); } 80% { transform: translate(4px,3px); } }

/* verdict */
.verdict-card {
  position: relative; border-radius: 1.2rem; padding: 1.5rem 1.25rem; overflow: hidden;
  background: radial-gradient(40rem 20rem at 50% -20%, rgba(245,197,66,.18), transparent 60%), linear-gradient(180deg, #151f3f, #0d1429);
  border: 2px solid rgba(245,197,66,.55); box-shadow: 0 0 0 6px rgba(245,197,66,.06), 0 30px 60px -30px rgba(245,197,66,.35);
}
.verdict-card.reveal { animation: bubbleIn .6s both; }
.split-bar { display: flex; height: 1.1rem; border-radius: 999px; overflow: hidden; background: #0008; border: 1px solid rgba(255,255,255,.1); }
.split-p { background: linear-gradient(90deg, #0fb872, var(--right)); transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.split-d { background: linear-gradient(90deg, var(--guilty), #c81e3f); transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.stamp {
  display: block; width: max-content; margin: 0 auto .9rem; position: relative; z-index: 3; transform: rotate(-6deg) scale(1);
  font-family: 'Playfair Display', Cairo, serif; font-weight: 900; font-size: clamp(.85rem, 3.4vw, 1.25rem); letter-spacing: .08em; text-transform: uppercase;
  color: #ff2f4f; border: 3px double #ff2f4f; border-radius: .5rem; padding: .25rem .7rem; opacity: 0; mix-blend-mode: screen; text-align: center; max-width: 11rem;
  text-shadow: 0 0 12px rgba(255,47,79,.6); box-shadow: 0 0 14px rgba(255,47,79,.35) inset;
}
.stamp.slam { animation: stampIn .5s cubic-bezier(.2,1.4,.3,1) forwards; }
@keyframes stampIn { 0% { opacity: 0; transform: rotate(-6deg) scale(3.2); } 60% { opacity: 1; transform: rotate(-6deg) scale(.94); } 100% { opacity: .95; transform: rotate(-6deg) scale(1); } }

/* jury */
.vote-btn {
  display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 1rem .5rem; border-radius: 1rem; font-weight: 900; cursor: pointer;
  border: 2px solid; transition: transform .15s, background .2s, box-shadow .2s; text-align: center; font-size: .95rem;
}
.vote-p { border-color: rgba(25,224,143,.5); background: rgba(25,224,143,.08); color: #b8ffe0; }
.vote-p:hover:not([disabled]) { background: rgba(25,224,143,.2); box-shadow: 0 0 24px rgba(25,224,143,.35); transform: translateY(-2px); }
.vote-d { border-color: rgba(255,59,92,.5); background: rgba(255,59,92,.08); color: #ffc2cc; }
.vote-d:hover:not([disabled]) { background: rgba(255,59,92,.2); box-shadow: 0 0 24px rgba(255,59,92,.35); transform: translateY(-2px); }
.vote-btn[disabled] { cursor: default; opacity: .6; }
.vote-btn.mine { opacity: 1; outline: 3px solid var(--gold); outline-offset: 2px; }

/* share card preview */
.card-preview-wrap { display: flex; justify-content: center; background: #060a14; border-radius: 1rem; padding: .75rem; border: 1px dashed rgba(245,197,66,.25); }
.card-canvas { max-width: 100%; max-height: 70vh; width: auto; height: auto; border-radius: .6rem; box-shadow: 0 10px 40px -10px #000; }

.monet-btn { display: flex; flex-direction: column; gap: .2rem; text-align: start; padding: 1rem; border-radius: 1rem; cursor: pointer; border: 1px solid rgba(245,197,66,.45); background: rgba(245,197,66,.08); color: var(--gold-soft); transition: .15s; }
.monet-btn span { font-size: .8rem; color: #cbd5e1; }
.monet-btn:hover { background: rgba(245,197,66,.16); transform: translateY(-2px); }
.monet-btn-red { border-color: rgba(255,59,92,.5); background: rgba(255,59,92,.08); color: #ffc2cc; }
.monet-btn-red:hover { background: rgba(255,59,92,.18); }

/* loading screen: wooden gavel strikes a sound block, gold shock ring on impact */
.gavel-scene { width: 15rem; max-width: 70vw; margin-inline: auto; filter: drop-shadow(0 0 22px rgba(245,197,66,.35)); }
.gavel-scene svg { display: block; width: 100%; height: auto; overflow: visible; }
.gavel-arm { transform-origin: 28px 74px; animation: gavelHit 1.3s infinite; }
.gavel-block { animation: blockBump 1.3s infinite; transform-origin: 170px 130px; }
.gavel-ring { transform-origin: 170px 108px; opacity: 0; animation: gavelRing 1.3s infinite; }
.gavel-ring-2 { animation-delay: .06s; }
@keyframes gavelHit {
  0%   { transform: rotate(-35deg); animation-timing-function: cubic-bezier(.55,0,1,.45); }
  38%  { transform: rotate(0deg); animation-timing-function: ease-out; }
  47%  { transform: rotate(-7deg); animation-timing-function: ease-in; }
  54%  { transform: rotate(0deg); }
  64%  { transform: rotate(0deg); animation-timing-function: ease-in-out; }
  100% { transform: rotate(-35deg); }
}
@keyframes blockBump { 0%, 36%, 56%, 100% { transform: none; } 40% { transform: translateY(2px) scaleY(.97); } }
@keyframes gavelRing { 0%, 37% { opacity: 0; transform: scale(.3); } 39% { opacity: .95; transform: scale(.4); } 72% { opacity: 0; transform: scale(3.4); } 100% { opacity: 0; transform: scale(3.4); } }
@media (prefers-reduced-motion: reduce) { .gavel-arm { animation: none; transform: rotate(-12deg); } .gavel-ring { display: none; } }

.toast {
  position: fixed; bottom: 1.2rem; inset-inline: 0; margin-inline: auto; width: max-content; max-width: 90vw; z-index: 90;
  background: var(--ink-700); border: 1px solid var(--gold); color: #fff; padding: .6rem 1rem; border-radius: .8rem; font-size: .9rem;
  box-shadow: 0 12px 40px #000a; animation: bubbleIn .3s both;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* flags + demo badge */
.flag-svg { display: inline-block; flex: none; vertical-align: middle; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.22); }
.demo-badge {
  position: fixed; top: 3.75rem; inset-inline-start: .5rem; z-index: 45; max-width: 92vw; pointer-events: none;
  font-size: 10px; font-weight: 800; letter-spacing: .02em; padding: .2rem .65rem; border-radius: 999px;
  background: rgba(255,59,92,.16); border: 1px solid rgba(255,59,92,.55); color: #ffc2cc; backdrop-filter: blur(6px);
}

/* KVKK/GDPR nickname notice under the party fields */
.alias-warn {
  margin-top: .45rem; padding: .45rem .65rem; border-radius: .6rem; font-size: .78rem; line-height: 1.35; font-weight: 600;
  color: #ffe29a; background: rgba(245,197,66,.1); border: 1px solid rgba(245,197,66,.4);
}

/* ads: collapsed (no gap) until the ad network reports a filled slot */
.ad-wrap { height: 0; overflow: hidden; margin: 0; }
.ad-wrap.ad-filled { height: auto; overflow: visible; margin: 1rem auto; max-width: 72rem; padding: 0 1rem; text-align: center; }

/* legal pages */
.legal h2 { font-family: 'Playfair Display', Cairo, serif; font-weight: 700; font-size: 1.15rem; color: var(--gold-soft); margin: 1.5rem 0 .4rem; }
.legal p { color: #cbd5e1; line-height: 1.7; }

/* ---- inline SVG icons, portraits, brand buttons */
.ic { display: inline-block; vertical-align: -0.2em; flex: none; }
.portrait { flex: none; border-radius: 9999px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.55)); }
.avatar { width: 48px; height: 48px; border: 0; background: transparent; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0; }
.share-btn { transition: color .15s, border-color .15s, background .15s; }
.share-btn[data-brand="whatsapp"]:hover { color: #25D366; border-color: #25D366; background: rgba(37,211,102,.1); }
.share-btn[data-brand="x"]:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.12); }
.share-btn[data-brand="telegram"]:hover { color: #26A5E4; border-color: #26A5E4; background: rgba(38,165,228,.12); }
.share-btn[data-brand="facebook"]:hover { color: #1877F2; border-color: #1877F2; background: rgba(24,119,242,.12); }
.share-btn[data-brand="reddit"]:hover { color: #FF4500; border-color: #FF4500; background: rgba(255,69,0,.12); }
.share-btn[data-brand="instagram"]:hover { color: #E4405F; border-color: #E4405F; background: rgba(228,64,95,.12); }
.share-btn[data-brand="download"]:hover, .share-btn[data-brand="link"]:hover { color: var(--gold); border-color: var(--gold); }
.social-link { width: 2.2rem; height: 2.2rem; display: inline-flex; align-items: center; justify-content: center; border-radius: .7rem;
  border: 1px solid rgba(255,255,255,.12); color: #94a3b8; transition: color .15s, border-color .15s; }
.social-link:hover { color: #fff; border-color: var(--gold); }

/* report modal */
dialog.modal { border: 1px solid rgba(245,197,66,.4); border-radius: 1.1rem; padding: 0; background: #111a33; color: #e2e8f0; width: min(92vw, 28rem);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.9); }
dialog.modal::backdrop { background: rgba(3,6,15,.75); backdrop-filter: blur(3px); }
.opt-row { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border-radius: .8rem; border: 1px solid rgba(255,255,255,.1); cursor: pointer; }
.opt-row:hover { border-color: rgba(245,197,66,.5); }
.opt-row:has(input:checked) { border-color: var(--gold); background: rgba(245,197,66,.08); }
.price-tag { display: inline-block; margin-inline-start: .4rem; padding: .05rem .5rem; border-radius: 9999px; background: rgba(0,0,0,.25); font-weight: 900; }
.cur-switch { display: inline-flex; border: 1px solid rgba(245,197,66,.35); border-radius: .6rem; overflow: hidden; font-size: .72rem; font-weight: 800; }
.cur-switch button { padding: .25rem .6rem; color: #94a3b8; }
.cur-switch button.on { background: var(--gold); color: #1a1202; }
[dir="rtl"] .rtl-flip { transform: scaleX(-1); }

/* ---- accessibility: visible keyboard focus + skip link ---- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px; border-radius: .4rem;
  box-shadow: 0 0 0 5px rgba(245,197,66,.28);
}
.field:focus-visible { outline-offset: 1px; }
.skip-link {
  position: fixed; top: .5rem; inset-inline-start: .5rem; z-index: 100; padding: .55rem 1rem; border-radius: .7rem;
  background: var(--gold); color: #1a1202; font-weight: 800; transform: translateY(-200%); transition: transform .15s;
}
.skip-link:focus, .skip-link:focus-visible { transform: none; }
#main-content:focus { outline: none; }

/* ---- cookie consent banner ---- */
.cookie-banner { position: fixed; inset-inline: 0; bottom: 0; z-index: 85; padding: .75rem; pointer-events: none; }
.cookie-inner {
  pointer-events: auto; max-width: 62rem; margin-inline: auto; display: flex; align-items: center; gap: .9rem; flex-wrap: wrap;
  padding: .9rem 1.1rem; border-radius: 1rem; border: 1px solid rgba(245,197,66,.45);
  background: rgba(11,16,32,.96); backdrop-filter: blur(10px); box-shadow: 0 18px 50px rgba(0,0,0,.65);
}
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-inline-start: auto; }
@media (max-width: 40rem) { .cookie-actions { width: 100%; } .cookie-actions > * { flex: 1; justify-content: center; } }

/* ---- CMS page body (admin-written HTML) ---- */
.page-body h2 { font-family: 'Playfair Display', Cairo, serif; font-weight: 700; font-size: 1.15rem; color: var(--gold-soft); margin: 1.5rem 0 .4rem; }
.page-body h3 { font-weight: 800; color: #e2e8f0; margin: 1.1rem 0 .3rem; }
.page-body h4 { font-weight: 700; color: #cbd5e1; margin: 1rem 0 .3rem; }
.page-body p, .page-body li, .page-body blockquote { color: #cbd5e1; line-height: 1.7; }
.page-body p { margin: .5rem 0; }
.page-body ul, .page-body ol { margin: .5rem 0; padding-inline-start: 1.4rem; }
.page-body ul { list-style: disc; } .page-body ol { list-style: decimal; }
.page-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.page-body blockquote { border-inline-start: 3px solid var(--gold); padding-inline-start: 1rem; margin: .8rem 0; }
.page-body table { width: 100%; border-collapse: collapse; margin: .8rem 0; font-size: .9rem; }
.page-body th, .page-body td { border: 1px solid rgba(255,255,255,.12); padding: .4rem .6rem; text-align: start; color: #cbd5e1; }
.page-body code, .page-body pre { background: rgba(0,0,0,.35); border-radius: .4rem; padding: .1rem .35rem; font-size: .85em; }
.legal .page-body h2:first-child { margin-top: .5rem; }
