.ex-tools,.ex-invite { grid-column:1/-1; width:100%; }
.ex-tools {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:.85rem auto .55rem;
  background:#fdfaf5; border:1px solid var(--line); border-radius:.6rem;
}
.ex-tools button {
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap:.43rem;
  background:none; color:var(--wine); border:0; padding:.85rem .3rem;
  font:600 .94rem/1.45 var(--body); cursor:pointer; min-height:44px; min-width:0;
  text-align:center; text-wrap:balance; overflow-wrap:anywhere;
}
.ex-tools button + button { border-inline-start:1px solid var(--line); }
.ex-tools button:hover,.ex-tools button:focus-visible { background:#f2e7d9; }
.ex-tools svg { flex:none; }
.ex-short {
  container-type:inline-size; background:transparent; border:0; border-block-start:1px solid var(--line);
  border-radius:0; padding-block-start:.3rem; margin:.65rem 0 0;
}
.ex-short button { font-size:.88rem; padding:.34rem .2rem; gap:.23rem; }
.ex-short button + button { border:0; }
@container (min-width:20rem) { .ex-short button { flex-direction:row; gap:.45rem; } }
.ex-invite {
  display:flex; align-items:center; justify-content:center; gap:.88rem; padding:.76rem 1rem;
  background:#f1e7dc; color:#512839; border:1px solid #dfcbb8; border-radius:.6rem;
  margin-block-start:.8rem; line-height:1.55;
}
.ex-invite:hover { background:#ebddcf; }
.ex-invite svg { width:2.25rem; height:2.25rem; flex:none; stroke-width:1; }
.ex-invite strong { font:400 1.36rem/1.25 var(--display); }
.ex-invite small,.ex-trans small { display:block; font:.88rem/1.6 var(--body); color:var(--muted); }
html:has(#reader-tools[open]) { overflow:hidden; }
#reader-tools {
  --gutter:clamp(.95rem,4vw,1.7rem);
  width:min(38rem,96vw); max-width:96vw; max-height:92vh; max-height:92dvh;
  padding:0; background:#fbf8f2; color:var(--ink); border:1px solid #dbc6b9; border-radius:1rem;
  overscroll-behavior:contain; scroll-padding-block-start:5rem; box-shadow:0 1rem 5rem #1d102444;
}
#reader-tools::backdrop { background:#190f1bba; }
.ex-head {
  position:sticky; top:0; z-index:2; display:flex; align-items:center;
  justify-content:space-between; gap:.65rem; padding:.8rem var(--gutter); background:#3e2130; color:#fff7e5;
}
.ex-head h2 { font-size:clamp(1.35rem,4.8vw,1.8rem); line-height:1.26; }
.ex-head h2:focus { outline:none; }
.ex-head button {
  display:grid; place-items:center; width:44px; height:44px;
  border-radius:50%; border:1px solid #c195a5; color:#fff; background:none; font:1.6rem/1 system-ui; cursor:pointer;
}
#exbody { padding:var(--gutter); overflow-wrap:anywhere; }
.ex-kicker { font:650 .95rem/1.6 var(--body); color:#784a50; }
.ex-question { font:1.42rem/1.5 var(--display); margin:.65rem 0 1.2rem; }
.ex-voice { padding-block-start:1rem; border-top:1px solid var(--line); }
.ex-voice audio { display:block; width:100%; margin:.7rem 0; }
.ex-trans { margin-block:.5rem; }
.ex-trans:empty { display:none; }
.ex-order { display:table; margin-top:1rem; }
.ex-action, #ex-copy, .ex-options button {
  display:inline-flex; justify-content:center; align-items:center; min-height:44px;
  font:600 .96rem/1.5 var(--body); color:white; background:#592c40; padding:.66rem 1.1rem;
  text-align:center; border:1px solid #592c40; border-radius:.5rem; cursor:pointer; text-wrap:balance;
}
.ex-action:hover { background:#381b29; }
.author-contact .ex-action { background:#f7e8d3; color:#4a2535; margin-block:.3rem .75rem; }
.ex-game,.ex-press { padding-block:clamp(1.8rem,5vw,4.8rem) 5rem; overflow-wrap:anywhere; }
.ex-game { text-align:center; max-width:56rem; }
.ex-game h1,.ex-press h1 { font-size:clamp(2.25rem,5.5vw,4.4rem); line-height:1.15; text-wrap:balance; margin:.38rem 0 1.4rem; }
.ex-press h2,.ex-pair h2 { font-size:clamp(1.7rem,3.3vw,2.5rem); line-height:1.18; }
.ex-pair {
  display:flex; flex-wrap:wrap; gap:1.65rem; justify-content:center; align-items:center;
  margin-top:2.5rem; padding-top:2rem; border-top:1px solid var(--line);
}
.ex-pair > div:first-child { display:flex; gap:.7rem; }
.ex-pair img { width:clamp(4rem,17vw,5.65rem); box-shadow:.18rem .25rem .4rem #39232640; }
.ex-pair p { color:var(--muted); margin:.45rem 0 .86rem; }
.ex-press { max-width:61rem; }
.ex-lead { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.85fr); align-items:center; gap:clamp(2rem,7vw,6rem); }
.ex-pic { position:relative; }
.ex-pic img { width:100%; height:auto; border-radius:.7rem; }
.ex-pic a {
  display:flex; align-items:center; justify-content:center; position:absolute; inset:auto .85rem .85rem;
  min-height:44px; padding:.3rem .6rem; border:1px solid #e4caa7; border-radius:.35rem; font-weight:550;
  background:#311a29ed; color:#fff7ea; font-size:.92rem; text-align:center;
}
.ex-info p:not(.ex-kicker) { font-size:1.12rem; color:var(--muted); max-width:44ch; }
.ex-info .ex-action { margin:1.45rem 0 .6rem; }
.ex-email { display:block; color:var(--wine); text-decoration:underline; text-underline-offset:.25em; }
.ex-material,.ex-voices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(1.3rem,4vw,3.5rem); }
.ex-material,.ex-press-audio { border-top:1px solid var(--line); margin-top:clamp(2rem,5vw,4rem); padding-top:clamp(1.4rem,4vw,2.4rem); }
.ex-material ul { padding-inline-start:1.3rem; }
.ex-material li { margin-bottom:.72rem; }
.ex-material li::marker { color:#915c35; }
.ex-bio { margin-block:.9rem; line-height:1.8; }
.ex-bio[lang=ar],.ex-options [lang=ar] { font-family:Arabic Sans,Arial,sans-serif; }
.ex-bio[lang=en],.ex-options [lang=en] { font-family:system-ui,sans-serif; }
.ex-options { display:flex; margin-top:1rem; gap:.36rem; flex-wrap:wrap; }
.ex-options button[aria-pressed=false],#ex-copy { color:var(--wine); background:transparent; border-color:#b9a292; }
.ex-voices { margin:1.25rem 0; }
.ex-voices video {
  display:block; width:100%; aspect-ratio:632/544; margin-bottom:.7rem;
  background:#1b1118; border-radius:.65rem;
}
.ex-voices summary { cursor:pointer; padding-block:.5rem; color:var(--muted); }
.ex-radio {
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem;
  padding:1.2rem; background:#f0e6da; border-radius:.6rem; margin:1.2rem 0 1.6rem;
}
.ex-radio h3 { font-size:1.55rem; margin-top:.28rem; }
@media(max-width:42rem){
  .ex-lead,.ex-material,.ex-voices { grid-template-columns:minmax(0,1fr); }
  .ex-lead { gap:1.2rem; text-align:center; }
  .ex-info p { margin-inline:auto; }
  .ex-pic { width:min(65%,14rem); margin-inline:auto; }
  .ex-game h1,.ex-press h1 { margin-bottom:1rem; }
  .ex-pair { gap:1rem; }
}
.ex-voice + .ex-voice { margin-block-start:1.2rem; }
.ex-voice-head { display:flex; align-items:center; gap:.86rem; }
.ex-voice-head img { width:4.5rem; height:auto; flex:none; border-radius:.42rem; }
.ex-voice-head small { display:block; color:var(--muted); font:.93rem/1.55 var(--body); }
.ex-more-voice summary{cursor:pointer;min-height:44px;padding-block:.7rem;font-weight:600}
