.musajala {
  --game-base:#231d29; --game-surface:#302636; --game-ink:#f8efd9; --game-muted:#dbcdb8;
  --game-edge:#716047; --game-gold:#efd093; --game-good:#94cbb9; --game-choice:#2b232c;
  box-sizing:border-box; width:min(745px,calc(100vw - 20px)); margin:auto; padding:0 22px 22px;
  max-height:93vh; max-height:93dvh; overflow:auto; overscroll-behavior:contain;
  border:1px solid var(--game-edge); border-radius:18px; color:var(--game-ink);
  background:var(--game-base); box-shadow:0 18px 96px #100c18a6; font:14px/1.75 Interface,sans-serif;
}
html[data-theme="light"] .musajala {
  --game-base:#faf5ec; --game-surface:#fffbf5; --game-ink:#322938; --game-muted:#665449;
  --game-edge:#c5ae8d; --game-gold:#795725; --game-good:#306353; --game-choice:#f4ecdf;
}
.musajala::backdrop { background:#120e19cb; }
.ms-top { display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:13px 0 8px; border-bottom:1px solid var(--game-edge); }
.ms-top h2 { font:600 27px/1.7 Book,serif; color:var(--game-ink); margin:0; }
.musajala button { font:inherit; color:inherit; cursor:pointer; }
.ms-dismiss { flex:none; width:40px; height:40px; border:1px solid var(--game-edge); border-radius:50%;
  background:var(--game-surface); font-size:23px!important; line-height:1; }
.ms-rules { margin:10px 0 0; font-size:12px; color:var(--game-muted); }
.ms-rules summary { cursor:pointer; width:fit-content; padding:2px 0; color:var(--game-gold); }
.ms-rules p { margin:4px 0; }
.ms-status { margin:9px 0; font-size:12px; color:var(--game-muted); }
.ms-anchor { padding:12px 17px; border-inline-start:3px solid var(--game-gold);
  background:var(--game-surface); border-radius:8px; }
.ms-heading { margin:0 0 5px; font:600 15px/1.7 Interface,sans-serif; color:var(--game-gold); }
.ms-verse { display:flex; flex-wrap:wrap; gap:0 13px; align-items:baseline; font:22px/1.9 Book,serif; color:var(--game-ink); }
.ms-verse span { max-width:100%; overflow-wrap:anywhere; }
.ms-prompt { margin:15px 0 7px; color:var(--game-ink); font-weight:600; }
.ms-options { display:grid; gap:6px; }
.ms-option { display:block; width:100%; text-align:start; padding:7px 13px; border:1px solid var(--game-edge);
  border-radius:9px; background:var(--game-choice); }
.ms-option:not(:disabled):hover { border-color:var(--game-gold); background:var(--game-surface); }
.ms-option:disabled { cursor:default; opacity:.72; }
.ms-option.ms-correct { opacity:1; border:2px solid var(--game-good); }
.ms-option .ms-verse { font-size:19px; }
.ms-option small { color:var(--game-muted); font-size:10px; }
.ms-feedback { margin-top:13px; padding:10px 14px; border-inline-start:3px solid var(--game-good); background:var(--game-surface); }
.ms-feedback p { margin:3px 0 8px; font-size:13px; }
.ms-links { display:flex; align-items:center; flex-wrap:wrap; gap:14px; }
.ms-poem { color:var(--game-gold); text-underline-offset:4px; font:12px/1.75 Interface,sans-serif; }
.ms-next { min-height:40px; border:0; padding:7px 15px; border-radius:25px; color:#2d221b!important; background:#ead0a4; }
.ms-route { margin:12px 0 0; padding-inline-start:25px; }
.ms-route li { padding:8px 0; border-bottom:1px solid var(--game-edge); }
.ms-route li > strong { color:var(--game-muted); font-size:12px; }
.musajala :is(button,a,summary):focus-visible { outline:2px solid var(--game-gold); outline-offset:3px; }
@media(max-width:520px){
  .musajala { padding:0 12px 13px; border-radius:11px; }
  .ms-verse { display:block; font-size:21px; }
  .ms-verse span { display:block; }
  .ms-option .ms-verse { font-size:18px; }
  .ms-top h2 { font-size:24px; }
  .ms-anchor { padding:8px 13px; }
  .ms-dismiss,.ms-next { min-height:44px; }
}
