/* Forbidden Archives UI polish — physical archive language over dashboard panels. */
@media (min-width: 1024px) {
  #league-mythology section > .relative.z-10 { padding-top: 2.25rem !important; }
  #league-mythology section .grid.lg\:grid-cols-\[\.72fr_1\.28fr\] > button:first-child { min-height:400px!important; border:1px solid rgba(207,174,101,.48)!important; background:linear-gradient(145deg,rgba(13,10,12,.54),rgba(17,10,20,.36))!important; box-shadow:0 24px 62px rgba(0,0,0,.42),inset 0 0 0 1px rgba(255,228,164,.025)!important; backdrop-filter:blur(3px) saturate(.92); }
  #league-mythology section .grid.lg\:grid-cols-\[\.72fr_1\.28fr\] > button:first-child:hover { border-color:rgba(238,207,128,.78)!important; box-shadow:0 28px 68px rgba(0,0,0,.48),0 0 28px rgba(166,79,221,.10)!important; }
  #league-mythology section .grid.lg\:grid-cols-\[\.72fr_1\.28fr\] > button:first-child img { opacity:.92!important; filter:saturate(.9) contrast(1.03); }
  #league-mythology section .grid.lg\:grid-cols-\[\.72fr_1\.28fr\] > button:first-child span.mt-4 { border-color:rgba(199,165,89,.42)!important; background:linear-gradient(90deg,rgba(34,27,21,.72),rgba(13,10,14,.60))!important; box-shadow:inset 0 1px rgba(255,225,155,.05)!important; }
  #league-mythology section .grid.lg\:grid-cols-\[\.72fr_1\.28fr\] > div.relative > button > span.absolute.bottom-\[5\%\] { right:13%!important; bottom:6%!important; padding:.65rem 1.1rem!important; border:1px solid rgba(184,145,73,.62)!important; background:linear-gradient(180deg,rgba(74,58,38,.92),rgba(25,20,17,.94))!important; color:#e8ca80!important; letter-spacing:.24em!important; box-shadow:0 10px 24px rgba(0,0,0,.5),inset 0 1px rgba(255,232,171,.08)!important; }
  #league-mythology section .border-t.border-\[\#d5b46a\]\/28 { margin-top:2.25rem!important; padding-top:1.15rem!important; border-color:rgba(196,158,83,.24)!important; background:linear-gradient(180deg,rgba(8,6,8,.18),rgba(8,5,10,.42)); }
  #league-mythology section .border-t.border-\[\#d5b46a\]\/28 .grid > button { min-height:92px; padding:.8rem .55rem .65rem; border-top:1px solid rgba(201,166,91,.38); border-bottom:1px solid rgba(201,166,91,.18); background:linear-gradient(180deg,rgba(28,22,19,.50),rgba(12,9,13,.32)); transition:transform .25s ease,background .25s ease,border-color .25s ease,box-shadow .25s ease; }
  #league-mythology section .border-t.border-\[\#d5b46a\]\/28 .grid > button:hover { transform:translateY(-3px); border-color:rgba(231,198,112,.62); background:linear-gradient(180deg,rgba(42,31,24,.66),rgba(17,11,20,.48)); box-shadow:0 10px 28px rgba(0,0,0,.32),inset 0 1px rgba(255,224,150,.05); }
  #league-mythology section .border-t.border-\[\#d5b46a\]\/28 .grid > button > div.relative { height:22px!important; width:42px!important; margin-bottom:.25rem!important; transform:none!important; }
  #league-mythology section .border-t.border-\[\#d5b46a\]\/28 .grid > button > div.relative > div { display:none!important; }
  #league-mythology section .border-t.border-\[\#d5b46a\]\/28 .grid > button > div.relative::before { content:"◆"; position:absolute; inset:0; display:grid; place-items:center; color:rgba(221,190,111,.88); font-size:12px; text-shadow:0 0 12px rgba(170,82,226,.35); }
  #league-mythology section .border-t.border-\[\#d5b46a\]\/28 .grid > button p { margin-top:.35rem!important; min-height:0!important; font-size:.78rem!important; letter-spacing:.045em; color:rgba(244,222,162,.88)!important; }
  #league-mythology button:has(svg.lucide-settings) { padding:.4rem .7rem!important; height:auto!important; border-color:rgba(190,158,87,.32)!important; background:rgba(8,7,8,.40)!important; color:rgba(232,205,139,.70)!important; box-shadow:none!important; font-size:.68rem!important; }
}

/* The photographed codex is now static. No synthetic page, curl, spine flash, or rising runes. */
#league-mythology [class*="physicalPageTurn"],
#league-mythology [class*="pageEdgeCurl"],
#league-mythology [class*="spineFlash"],
#league-mythology [class*="runeRise"] { display:none!important; animation:none!important; }

/* Chronicle reader — a recovered intelligence file rather than a fake open book. */
#league-mythology div[role="dialog"] { background:rgba(2,2,4,.88)!important; backdrop-filter:blur(16px) saturate(.8)!important; }
#league-mythology div[role="dialog"] article { max-width:1180px!important; max-height:88vh!important; border:1px solid rgba(195,158,82,.48)!important; background:#0b0909!important; box-shadow:0 36px 120px rgba(0,0,0,.88),0 0 0 1px rgba(255,226,154,.025),0 0 54px rgba(116,59,147,.08)!important; }
#league-mythology div[role="dialog"] article > .grid { grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr)!important; min-height:620px!important; }
#league-mythology div[role="dialog"] article > .grid > div:first-child { border-right:1px solid rgba(190,153,77,.25)!important; background:#080707!important; }
#league-mythology div[role="dialog"] article > .grid > div:first-child img { opacity:.88!important; filter:saturate(.78) contrast(1.04) brightness(.82)!important; }
#league-mythology div[role="dialog"] article > .grid > div:first-child > .absolute { background:linear-gradient(180deg,rgba(5,4,4,.05) 25%,rgba(7,6,6,.88) 100%)!important; }
#league-mythology div[role="dialog"] article > .grid > div:first-child > .relative { padding:2.1rem!important; }
#league-mythology div[role="dialog"] article > .grid > div:first-child p { color:#caa85e!important; letter-spacing:.32em!important; }
#league-mythology div[role="dialog"] article > .grid > div:first-child h2 { max-width:520px; color:#f1ddb0!important; font-size:clamp(2.35rem,4vw,4.8rem)!important; line-height:.92!important; text-shadow:0 2px 18px rgba(0,0,0,.55); }
#league-mythology div[role="dialog"] article > .grid > div:last-child { padding:3.2rem 4.25rem 4rem!important; background:linear-gradient(135deg,#15110d 0%,#100d0c 54%,#0b090a 100%)!important; }
#league-mythology div[role="dialog"] article > .grid > div:last-child::before { content:"ARCHIVE TRANSCRIPT  /  COFP HISTORICAL RECORD"; display:block; margin-bottom:1.6rem; padding-bottom:.9rem; border-bottom:1px solid rgba(195,158,82,.28); color:rgba(211,177,101,.72); font-family:"JetBrains Mono",monospace; font-size:.64rem; font-weight:700; letter-spacing:.22em; }
#league-mythology div[role="dialog"] article > .grid > div:last-child > .absolute { display:none!important; }
#league-mythology div[role="dialog"] article > .grid > div:last-child > .relative { max-width:720px; margin:0 auto; white-space:pre-line!important; font-family:Georgia,"Times New Roman",serif!important; font-size:1.08rem!important; line-height:1.82!important; color:rgba(239,226,200,.84)!important; }
#league-mythology div[role="dialog"] article > button { border-radius:50%!important; border-color:rgba(203,171,99,.32)!important; background:rgba(8,7,7,.72)!important; }

@media (max-width:767px) {
  #league-mythology div[role="dialog"] article > .grid { grid-template-columns:1fr!important; }
  #league-mythology div[role="dialog"] article > .grid > div:first-child { min-height:270px!important; border-right:0!important; border-bottom:1px solid rgba(190,153,77,.25)!important; }
  #league-mythology div[role="dialog"] article > .grid > div:last-child { padding:2rem 1.5rem 3rem!important; }
  #league-mythology div[role="dialog"] article > .grid > div:last-child > .relative { font-size:1rem!important; line-height:1.72!important; }
}