/* the title and its pages (Codex, blight, Run History, Practice custom fight), the pause menu and its Options, input labels, keywords, Reduced Flashing, the Changelog, the dev panel, the fight boon list (index.html links the css/ files in cascade order: a later file wins a tie) */
/* the title's two columns keep one size whatever they hold (menu page, selected item), so nothing on it moves:
   the menu is as wide as its widest selected item, both are as tall as their tallest content (the controls page) */
#title .col.mcol{width:700px;max-width:100%;min-height:540px;align-self:flex-start;margin-top:var(--pageTop)} /* (anchored: the page title stays put between pages, only the list changes) */
#title.main .col.mcol{margin-top:max(24px,calc((calc(100*var(--vh)) - 760px) / 2))} /* (the main page: the logo where it always stood) */
#title .col.cardCol{display:none;width:680px;max-width:100%;min-height:380px;justify-content:flex-start}
#title.codexBoons .col.cardCol{display:flex}
/* the boon codex: the menu and the cards stay side by side and the page is no taller than the window (fitTitle zooms it to fit) */
#title.codexBoons,#title.side{flex-wrap:nowrap}
#title.codexBoons .col,#title.side .col{flex-shrink:0}
#title.codexBoons .col.mcol,#title.side .col.mcol{align-self:center;margin-top:0;min-height:0}
#title.codexBoons #menu .mh,#title.side #menu .mh{position:absolute;left:0;right:0;top:var(--pageTop);margin:0;text-align:center} /* the two-column pages: the page title centred on the screen, both columns under it */
#title.codexBoons .col,#title.side .col{align-self:flex-start!important} /* both columns start under the logo, tops level */
#title.codexBoons,#title.side{padding-top:calc(var(--pageTop) + 72px);box-sizing:border-box}
#title.codexBoons .col.cardCol{min-height:0}
#title.codexBoons .col.mcol{width:760px}#title.codexBoons #menu.boons{width:760px}#title.codexBoons .col.cardCol{width:760px} /* three cards a row */ /* wide enough that every boon name fits whole */
#title.codexBoons #menu .md{display:none} /* the focused entry's card beside the grid says it all (info.js codexCardHTML) */
/* the blight page: the list left, the selected level's burdens right (fixed height, so nothing moves as the selection does) */
#title.side .col.cardCol{display:flex;width:460px;min-height:0;justify-content:center}
#title.side #codexCards,#title.side #menu .md{display:none}
#blightInfo{display:none;width:100%;min-height:440px;font-family:Georgia,serif;text-align:left;color:#bdb6a0}
#title.blight #blightInfo{display:block}
/* Run History (history.js): the title, the run, Previous / Next side by side */
#menu.histNav{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:0 40px;width:900px;max-width:100%}
#menu.histNav .mh,#menu.histNav #histRun,#menu.histNav .md{flex-basis:100%;text-align:center}#menu.histNav .md{display:none}
#histRun{display:flex;flex-direction:column;align-items:center;min-height:330px;font-family:Georgia,serif;color:#bdb6a0;text-align:center;margin-bottom:26px}
#histRun .hrWhen{font-family:var(--ui-head);font-size:15px;letter-spacing:.06em;text-transform:uppercase;color:#8a8670}
#histRun .hrOut{margin-top:10px;font-family:var(--ui-head);font-size:46px;letter-spacing:.02em;color:#cfc7ad}#histRun .hrOut.o-won{color:#ddd5c3}#histRun .hrOut.o-died{color:#c8504a}
#histRun .hrWhere{margin-top:4px;font-size:20px;color:#e6e2d8}
#histRun .hrStats{display:flex;gap:56px;margin-top:26px}#histRun .hrS{display:flex;flex-direction:column;align-items:center}#histRun .hrS b{font-family:var(--ui-head);font-weight:normal;font-size:30px;color:#e6e2d8}#histRun .hrS span{font-size:15px;letter-spacing:.06em;text-transform:uppercase;color:#8a8670}
#histRun .hrBoons{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;max-width:760px;margin-top:24px;font-size:17px;color:#e6e2d8}#histRun .t-uncommon{color:#82d2b9}#histRun .t-rare{color:#c8a0ff}#histRun .t-trophy{color:#e6c46a}
#histRun .hrNote{margin-top:24px;font-size:19px;line-height:1.6;font-style:italic}#histRun:has(.hrNote){min-height:0} /* no run to show (none yet, the Hall away, reading it): the line sits where the run would, no gap under it */
#menu.histNav .mi{min-width:200px;padding:10px 26px;border:1px solid #4a4128;border-radius:0;background:linear-gradient(rgba(54,48,35,.75),rgba(14,12,8,.85));font-size:22px;letter-spacing:.02em;text-align:center}
#menu.histNav .mi.sel{border-color:var(--ui-sel-line);background:var(--ui-sel-bg);color:var(--ui-sel-fg);box-shadow:none}#menu.histNav .mi.sel::before,#menu.histNav .mi.sel::after{content:none}#menu.histNav .mi.dim{opacity:.35}
#menu.histNav .mi.rule{flex-basis:100%;min-width:0;margin-top:22px;padding:8px 0 0;border:0;border-top:1px solid #4a4a3c;border-radius:0;background:none;box-shadow:none}#menu.histNav .mi.rule.sel{padding-bottom:8px;margin-bottom:-8px;background:linear-gradient(var(--ui-sel-bg) 0 0) center/110px 100% no-repeat}/* Back: a plain row under the two buttons, as on the other pages */
#blightInfo h2{margin:0 0 16px;font-family:var(--ui-head);font-weight:normal;font-size:30px;letter-spacing:.02em;color:#cfc7ad}
#blightInfo .crys{margin:-8px 0 14px;font-size:18px;letter-spacing:.02em;color:#f6c4e2}
#blightInfo .crys .crysIco{vertical-align:-2px}
#blightInfo .own{font-size:20px;line-height:1.5;color:#e6e2d8;min-height:60px}
#blightInfo .stack{margin-top:18px;padding-top:14px;border-top:1px solid #4a4a3c;font-size:16px;line-height:1.5}
#blightInfo .sh{font-size:15px;letter-spacing:.06em;text-transform:uppercase;color:#9fb18f;margin-bottom:8px}
#blightInfo .stack div:not(.sh){margin-bottom:6px}
#blightInfo .lock{margin-top:18px;font-style:italic;color:#9fb18f;font-size:16px}
#codexCards{display:flex;flex-wrap:wrap;gap:16px 28px;justify-content:flex-start;align-items:flex-start;align-self:stretch;padding-left:24px;box-sizing:border-box;text-transform:none;letter-spacing:normal} /* the focused entry's card (info.js codexCardHTML), always at one place */
/* the Leaderboard: a full-height panel on the right of the main page, the top ten: rank, a rounded-square portrait each (hall-faces.js), a check (a run won) or a skull, name, best, time; hairline rules between rows, your own row lit in gold */
#hallBoard{display:none;position:absolute;top:36px;right:36px;max-height:calc(100% - 106px);overflow:hidden;width:560px;box-sizing:border-box;font-family:Georgia,serif;color:#cdc3b4;background:var(--ui-panel);border:1px solid var(--ui-panel-line);border-radius:0;padding:22px 30px}
#hallBoard.on{display:block}
#hallBoard .hh{font-family:var(--ui-head);font-size:20px;letter-spacing:.02em;text-align:center;color:#f7edcb;margin-bottom:10px}
#hallBoard tr.cap th{padding:0 0 6px;text-align:left;font-weight:400;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#b8ac9a;border-bottom:1px solid rgba(207,199,173,.09)}
#hallBoard tr.cap th.ct{text-align:right}
#hallBoard table{width:100%;border-collapse:separate;border-spacing:0;font-size:18px}
#hallBoard td{height:62px;padding:0;text-align:left;vertical-align:middle;line-height:1;border-bottom:1px solid rgba(207,199,173,.05)}
#hallBoard tr:last-child td{border-bottom:0}
#hallBoard td.rk{width:22px;padding-left:10px;font-size:16px;color:#b8ac9a;font-variant-numeric:tabular-nums}
#hallBoard tr.top td.rk{color:#fac95f}
#hallBoard td.pic{width:66px}
#hallBoard td.pic img,#hallBoard td.pic:empty::before{display:block;width:52px;height:52px;border-radius:0;object-fit:cover;border:1px solid rgba(207,199,173,.1);box-sizing:border-box;background:#15171a}
#hallBoard td.pic:empty::before{content:''}
#hallBoard td.mk{width:38px;line-height:0}
#hallBoard td.mk span{display:block;height:28px;line-height:28px}
#hallBoard .won{color:#f4d452;font-size:22px}
#hallBoard .lost{color:#cd7c65;font-size:27px}
#hallBoard td.nm{width:92px;padding-top:4px;font-family:var(--ui-head);font-size:21px;font-weight:600;letter-spacing:.02em;color:#fcf4d4}
#hallBoard td.bl{color:#cdc3b4}
#hallBoard td.tm{text-align:right;font-variant-numeric:tabular-nums;color:#f7ebc9}
#hallBoard tr.me td{background:rgba(120,90,28,.17)}
#hallBoard tr.me td.rk{box-shadow:inset 3px 0 0 #7a580e}
#hallBoard tr.me td.nm{color:#f8de98}
#hallBoard tr.gap td{text-align:center;color:#b8ac9a;height:30px}
#title h1{display:none}#title.main h1{display:block}
/* two levels of title (Ole, #1108): the ROTWOOD logo on the main menu only; every other page a page title in one look, at one height (--pageTop): the title's pages (#menu .mh), Options (.ohead), Progress (.pgT0), Custom Fight (.cfHead, below) */
:root{--pageTop:calc(44px + (180px - var(--short)) / 2)}
#menu .mh,#options .ohead,.pgT0{font-family:var(--ui-head);font-weight:600;font-size:calc(34px - var(--short) / 45);letter-spacing:.02em;color:#e5e0d6;text-shadow:0 1px 3px rgba(0,0,0,.85);white-space:nowrap}
#title h1{font-size:80px;margin:0 0 28px;letter-spacing:.02em;color:#f5e9c5;text-shadow:0 1px 3px rgba(0,0,0,.85)}
#menu{display:flex;flex-direction:column;align-items:center;width:100%}
#menu .mh{margin-bottom:calc(30px - var(--short) / 20)}
#menu .mi,#deathMenu .mi,.endMenu .mi,#pauseMenu .mi{font-size:24px;letter-spacing:.02em;color:#c4baa8;text-shadow:0 1px 6px rgba(0,0,0,.9),0 0 14px rgba(0,0,0,.7);padding:5px 26px;cursor:pointer;transition:color .15s,text-shadow .15s}


#menu .mi .mtag{display:inline-block;margin-left:16px;padding:1px 9px 0 13px;border:1px solid #6f664f;border-radius:0;background:rgba(10,10,12,.7);color:#fbf3dc;font-size:.9em;letter-spacing:.02em;vertical-align:1px} /* the player's initials on Change Player's row (menu.js mainItems) */
#menu .mi.rule{margin-top:10px;border-top:1px solid #4a4a3c}
#menu.boons .mi.rule,#pauseMenu.boons .mi.rule{font-size:24px;letter-spacing:.02em} /* Back keeps the one item size in the grids of names too (test/menu-items.test.js) */
#menu .mi.hero{color:#dcd3c4;padding:7px 30px 12px}#menu .mi.hero.last{margin-bottom:22px}
#menu .mg,#pauseMenu .mg{font-size:15px;letter-spacing:.02em;color:#9fb18f;margin:10px 0 2px}
#menu.boons .mg,#pauseMenu.boons .mg{grid-column:1/-1;text-align:center;margin:12px 0 2px} /* the Codex Terms' headers (TERM_GROUPS) */
#menu.boons:has(.mg) .mg{margin-top:calc(12px - var(--short) / 30)}#menu.boons:has(.mg) .mi:not(.rule){padding-top:calc(3px - var(--short) / 90);padding-bottom:calc(3px - var(--short) / 90)} /* the title's Terms page under its logo: its rows close up by --short, so at 900 tall the meaning under Back stays clear of the hint bar, and 1080 is as it was (#581) */
#menu.boons{display:grid;grid-template-columns:repeat(3,1fr);gap:0 6px;width:760px;max-width:100%}
#menu.boons .mh,#menu.boons .md,#menu.boons .mi.wide{grid-column:1/-1;text-align:center}
#menu.boons .md{justify-self:center}
#title.codexBoons #menu.boons .mi:not(.wide){text-align:center} /* the spell names stand centred in their columns, under the centred heading, as on every other Codex page */
#menu.boons .mi{font-size:17px;letter-spacing:.02em;padding:3px 8px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#menu.faces{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;justify-content:center;width:calc(var(--fc) * (var(--fw,150px) + 16px) - 12px);max-width:none;flex-shrink:0} /* a short last row is centred */ /* Practice's foes: picture cards (faceCard, menu.js), --fc a row and --fw a picture's side, set by menu.js faceFit (its FACE_FIT.chrome is the height of all here but the cards) */
#menu.faces .mh,#menu.faces .md,#menu.faces .mi.rule,#menu.faces .ps{flex-basis:100%;box-sizing:border-box;text-align:center}
#menu.faces .md{min-height:60px;margin-top:6px} /* (a foe's line is two lines: its name, its times) */
#menu.faces .md .fn{font-size:19px;letter-spacing:.02em;color:#e6e2d8;font-family:inherit}
#menu .mi.fc{padding:0;letter-spacing:.02em;font-size:15px;text-align:center;border:1px solid #3d3a30;background:rgba(10,10,8,.65);box-shadow:0 4px 14px rgba(0,0,0,.6);transition:border-color .15s,box-shadow .15s,transform .15s}
#menu .mi.fc::before,#menu .mi.fc::after,#menu .mi.fc.sel::before,#menu .mi.fc.sel::after{content:none}
#menu .mi.fc .fp{width:150px;height:150px;background:#14130f center/cover no-repeat;filter:saturate(.75) brightness(.8);transition:filter .15s;display:flex;align-items:center;justify-content:center;font-size:64px;color:#3a382f;font-family:Georgia,serif}
#menu .mi.fc .fp{position:relative}#menu .mi.fc .fdev{position:absolute;top:6px;right:6px;padding:1px 6px;font-size:12px;line-height:16px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#e9e3cf;background:rgba(10,10,8,.8);border:1px solid #6a6450} /* a card only dev mode shows: a foe no run meets (menu.js) */
#menu .mi.fc .fl{height:44px;width:150px;box-sizing:border-box;padding:0 6px;overflow-wrap:anywhere;display:flex;align-items:center;justify-content:center;line-height:1.15;border-top:1px solid #2c2a22} /* two lines at most, the same size on every card (a long name wraps; a wider card would push the grid out of the columns the pad steps through, menuCols) */
#menu.faces .mi.fc .fp{width:var(--fw,150px);height:var(--fw,150px)}#menu.faces .mi.fc .fl{width:var(--fw,150px)}
#menu .mi.fc.sel{border-color:#ddd5c3;box-shadow:0 4px 14px rgba(0,0,0,.6);transform:translateY(var(--focus-lift))}
#menu .mi.fc.sel .fp{filter:none}
#menu .mi.fc.dim .fl{color:#4f4d42}
#menu .mi.dim{color:#4f4d42}
/* Practice's custom fight page (customfight.js): a foe's portrait on the left, FIGHT and its setup rows on the right; laid out for 1800x1080 (fitTitle shrinks it to fit) */
#custom{display:none}
#look{display:none}
#title.look>.col,#title.look #hallBoard{display:none}
#title.look{background:linear-gradient(90deg,rgba(0,0,0,0) 30%,rgba(4,5,3,.55) 56%,rgba(4,5,3,.8))} /* (Customize Character: the model clear on the left, the rows on a dark ground on the right) */
#title.look #look{display:block;position:relative;width:1700px;height:calc(920px - var(--short));flex-shrink:0;font-family:Georgia,serif;color:#d8d2c0}
#look .lkSet{position:absolute;right:0;top:0;width:900px;zoom:calc(1 + var(--up1080) * .1)} /* (a 1080 window: the page a size up, from its right edge) */
#look .lkHead{margin-top:calc((var(--pageTop) - 80px) / (1 + var(--up1080) * .1));margin-bottom:calc(16px - var(--short) / 20);text-align:center;font-family:var(--ui-head);font-size:34px;letter-spacing:.02em;color:#e6e2d8}
#look .lkBody{display:flex;align-items:flex-start;gap:24px}
#look .lkCats{width:310px;flex-shrink:0}
#look .lkTabs{display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:calc(18px - var(--short) / 20);padding-bottom:2px;border-bottom:1px solid rgba(230,226,216,.10);font-family:var(--ui-head);font-size:21px;letter-spacing:.02em;white-space:nowrap} /* the tabs by body part (customize.js LOOK_TABS), across the panel: Options' strip, the open tab gold and underlined, a diamond at each end */
#look .lkTabs .tb{position:relative;margin:0 8px;padding:4px 6px 8px;text-indent:4px;border-bottom:2px solid transparent;margin-bottom:-1px;color:#8a8670;cursor:pointer}
#look .lkTabs .tb:hover{color:#b9b29a}
#look .lkTabs .tb.on{color:#ddd5c3;border-bottom-color:#ddd5c3}
#look .lkCat{display:flex;align-items:center;height:calc(40px - var(--short) / 30);padding:0 14px 0 10px;border-radius:0;border:1px solid transparent;font-family:var(--ui-head);font-size:18px;letter-spacing:.02em;color:#9e9984;cursor:pointer}
#look .lkCat .lb{flex:1;white-space:nowrap}
#look .lkCat .vl{font-family:Georgia,serif;font-size:15px;letter-spacing:.02em;color:#77725f;white-space:nowrap}
#look .lkCat .chip{display:inline-block;width:16px;height:16px;margin-right:9px;vertical-align:-3px;border-radius:0;border:1px solid rgba(230,226,216,.28);box-shadow:inset 0 1px 0 rgba(255,255,255,.18)} /* a colour row's worn paint (lookValue): every part's colour readable at a glance */
#look .lkCat .chip.met{background-image:linear-gradient(135deg,rgba(255,255,255,.38),rgba(255,255,255,0) 45%,rgba(0,0,0,.25) 60%,rgba(255,255,255,.12))}
#look .lkCat.on{color:#e6e2d8;background:linear-gradient(90deg,rgba(221,213,195,.06),rgba(221,213,195,0));box-shadow:inset 3px 0 0 rgba(221,213,195,.7)} /* the category whose grid the cursor is in: a gold bar at its left, no focus box */
#look .lkCat.on .vl{color:#a8a28c}
#look .lkCat.sel{color:var(--ui-sel-fg);border-color:var(--ui-sel-bg);background:var(--ui-sel-bg);box-shadow:none}#look .lkCat.sel *{color:var(--ui-sel-fg);text-shadow:none} /* the cursor: the one lit thing on the page, as the buttons' and the tiles' focus */
#look .lkCat.sel .vl{color:var(--ui-sel-fg)}
#look .lkActs{display:flex;flex-direction:column;gap:calc(10px - var(--short) / 60);margin-top:calc(22px - var(--short) / 20);padding-top:calc(18px - var(--short) / 30);border-top:1px solid rgba(221,213,195,.28)} /* Randomize, Done, Cancel: buttons in the Boon Binder's look under a thin gold rule, Done its gold one */
#look .lkAct{position:relative;display:flex;align-items:center;justify-content:center;height:calc(46px - var(--short) / 30);border-radius:0;font-family:var(--ui-head);font-size:17px;letter-spacing:.02em;color:#cdc4b0;border:1px solid rgba(221,213,195,.32);background:rgba(10,10,9,.45);cursor:pointer;transition:border-color .12s,background .12s,box-shadow .12s}
#look .lkAct.sel{color:var(--ui-sel-fg);border-color:var(--ui-sel-line);background:var(--ui-sel-bg);box-shadow:none}
#look .lkAct.hero{height:calc(54px - var(--short) / 30);font-size:20px;letter-spacing:.02em;color:#ddd5c3;border-color:rgba(221,213,195,.6)} /* Done, the way out: outlined at rest, filled only in focus (as exitBtn), so the one lit thing on the page is the cursor */
#look .lkAct.hero.sel{color:var(--ui-sel-fg);border-color:var(--ui-sel-line);background:var(--ui-sel-bg);box-shadow:none}
#look .lkAct .keyOn{position:absolute;left:14px;top:50%;transform:translateY(-50%);text-indent:0;letter-spacing:0} /* the key at the button's left, the label centred on the button */
#look .lkAct.hero.sel .kk kbd{color:inherit}
#look .lkPane{flex:1;padding:calc(22px - var(--short) / 30) 24px calc(20px - var(--short) / 30);border-radius:0;background:rgba(8,9,10,.62);border:1px solid rgba(230,226,216,.10);box-shadow:0 10px 40px rgba(0,0,0,.35);transition:border-color .12s}
#look .lkPane.in{border-color:rgba(221,213,195,.38)} /* the cursor in the grid: the pane lit */
#look .lkPane:not(.in) .lkGrid,#look .lkPane:not(.in) .lkInfo{opacity:.55} /* the cursor elsewhere: the grid and its line dimmed (never greyed), so the worn tile never reads as focused */
#look .lkPh{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:calc(18px - var(--short) / 30)}
#look .lkPh .tt{font-family:var(--ui-head);font-size:22px;letter-spacing:.02em;color:#e6e2d8}
#look .lkPh .ct{font-size:15px;letter-spacing:.02em;color:#7f7a68}
#look{--lkT:calc(118px - var(--short) / 15)} /* a picture tile: smaller at 900 tall, so the Head tab's four rows and the info line clear the key hints */
#look .lkGrid{display:grid;grid-template-columns:repeat(4,var(--lkT));gap:12px}
#look .lkGrid.sw{grid-template-columns:repeat(8,54px);gap:8px} /* the paints (LOOK_PAINT, looks.js): eight a row, so all of them and the info line fit at 1920x900 */
#look .lkGrid.many{grid-template-columns:repeat(6,var(--lkTm));gap:10px;--lkTm:calc(84px - var(--short) / 20)} /* a row of many pictures (lookMany, customize.js): six smaller tiles a row */
#look .lkGrid.many .lkT{width:var(--lkTm);height:var(--lkTm)}
#look .lkT{position:relative;width:var(--lkT);height:var(--lkT);border-radius:0;background:#15171a;border:1px solid rgba(230,226,216,.10);box-shadow:inset 0 0 0 1px rgba(0,0,0,.5);overflow:hidden;cursor:pointer}
#look .lkT.sw{width:54px;height:54px;background:#17181c}
#look .lkT .pic{position:absolute;inset:0;background-size:200% 100%;background-position:0 0}
#look .lkT .pic.one{background-size:cover} /* a saved look's picture (looks-saved.js): no silhouette beside it */
#look .lkT .dx{position:absolute;top:4px;left:4px;width:22px;height:22px;padding:4px;box-sizing:border-box;background:rgba(8,9,10,.75);color:#cfc7b4}#look .lkT .dx svg{display:block;width:100%;height:100%}#look .lkT .dx:hover,#look .lkT.del .dx{background:#7a2420;color:#fff} /* its cross, red while a second press deletes it */
#look .lkAct.kept{color:#8a8670}#look .lkAct.kept.sel{color:var(--ui-sel-fg)}#look .lkAct .ck{width:16px;height:16px;margin-right:8px} /* Save Look once the look worn is saved */
#look .lkT.shut .pic{background-position:100% 0} /* (the file's right half: the silhouette) */
#look .lkT .c{position:absolute;inset:6px;border-radius:0;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),inset 0 -8px 14px rgba(0,0,0,.28)}
#look .lkT.met .c{background-image:linear-gradient(135deg,rgba(255,255,255,.38),rgba(255,255,255,0) 45%,rgba(0,0,0,.25) 60%,rgba(255,255,255,.12))}
#look .lkT.shut.sw{background:repeating-linear-gradient(135deg,#141518 0 7px,#101114 7px 9px)}
#look .lkT .lk{position:absolute;left:50%;bottom:9px;width:18px;height:18px;transform:translateX(-50%);color:#6d6a5e}
#look .lkT.sw .lk{top:50%;bottom:auto;transform:translate(-50%,-50%)}

#look .lkT .ck{position:absolute;top:5px;right:5px;width:20px;height:20px;padding:3px;border-radius:50%;background:var(--ui-sel-bg);color:var(--ui-accent);box-shadow:0 1px 4px rgba(0,0,0,.6)}
#look .lkT.sw .ck{top:3px;right:3px;width:17px;height:17px;padding:2px}
#look .lkT.sel{border:2px solid #ddd5c3;box-shadow:none;transform:scale(1.05);z-index:1}
#look .lkInfo{margin-top:calc(22px - var(--short) / 15);padding-top:calc(16px - var(--short) / 30);border-top:1px solid rgba(230,226,216,.12);min-height:96px}
#look .lkInfo .nm{display:flex;align-items:center;gap:14px;font-family:var(--ui-head);font-size:24px;letter-spacing:.02em;color:#eae6de}
#look .lkInfo .pill{font-family:Georgia,serif;font-size:15px;letter-spacing:.06em;padding:0;text-transform:uppercase;font-weight:700;color:#ddd5c3} /* colored text, no pill (#1363) */
#look .lkInfo .pill.pv{background:rgba(207,199,173,.08);color:#a8a28c;border-color:rgba(207,199,173,.3)} /* the grid's focused entry when it is not the one worn: shown on him, not worn */
.ndot{display:inline-block;width:8px;height:8px;margin-left:8px;border-radius:50%;background:#ddd5c3;box-shadow:none;vertical-align:middle} /* a look unlocked and not yet seen (looks.js lookNew): on the main menu's line, a tab, a category */
#look .lkTabs .tb .ndot{position:absolute;top:2px;right:-6px;margin:0}
#look .lkT .ndot{position:absolute;top:7px;left:7px;margin:0;width:10px;height:10px}#look .lkT.sw .ndot{top:4px;left:4px;width:8px;height:8px}
#look .lkInfo .ds{margin-top:8px;font-size:18px;line-height:1.45;color:#bdb6a0}
#title.custom>.col,#title.custom #hallBoard{display:none}
#title.custom{background:radial-gradient(ellipse at 50% 45%,rgba(14,18,12,.72),rgba(4,5,3,.94) 75%)} /* darker than the other pages: rows of text over the whole width */
#title.custom #custom{display:block;position:relative;width:1700px;height:calc(920px - var(--short));flex-shrink:0;font-family:Georgia,serif;color:#d8d2c0}
#custom .cfHead{position:absolute;left:0;right:0;top:calc(var(--pageTop) - 80px);text-align:center;font-family:var(--ui-head);font-weight:600;font-size:calc(34px - var(--short) / 45);letter-spacing:.02em;color:#e5e0d6;text-shadow:0 1px 3px rgba(0,0,0,.85)} /* the page title's look and height (--pageTop: the box starts 80px down, as the ring screen's) */
#custom .cfFoe{position:absolute;left:0;top:calc(90px - var(--short) / 9 + var(--up1080) * 32px);width:460px} /* (+32px on a 1080 window: clear of the page title, which stands lower there) */
#custom .cfFoe .por{width:calc(460px - var(--short) / 2);height:calc(560px - var(--short) * .61);background:#14130f center 30%/cover no-repeat;border:1px solid rgba(207,199,173,.35);border-radius:0;box-shadow:0 0 30px rgba(0,0,0,.7) inset,0 6px 24px rgba(0,0,0,.6)}
#custom .cfFoe .nm{margin-top:22px;font-family:var(--ui-head);font-size:34px;letter-spacing:.02em;line-height:1.15;color:#e6e2d8}
#custom .cfFoe .sub{margin-top:4px;min-height:24px;font-style:italic;font-size:19px;color:#a9b096}
#custom .cfFoe .kind{margin-top:10px;font-family:var(--ui-head);font-size:15px;letter-spacing:.02em;color:#9fb18f}
#custom .cfFoe .best{margin-top:12px;font-size:17px;color:#bdb6a0}
#custom .cfFoe .best b{color:#e6e2d8;font-weight:normal}
#custom .cfSet{position:absolute;left:570px;top:calc(100px - var(--short) / 9 + var(--up1080) * 32px);width:1080px}
#custom .hero{display:flex;align-items:center;justify-content:center;height:calc(70px - var(--short) / 18);font-family:var(--ui-head);font-size:30px;letter-spacing:.02em;color:#cfc7ad;border:1px solid rgba(207,199,173,.35);border-radius:0;background:rgba(0,0,0,.35);cursor:pointer}
#custom .hero.sel{color:var(--ui-sel-fg);border-color:var(--ui-sel-line);background:var(--ui-sel-bg);box-shadow:none;text-shadow:none}
#custom .sec{margin:calc(26px - var(--short) / 18) 0 calc(6px - var(--short) / 60) 22px;font-family:var(--ui-head);font-size:15px;letter-spacing:.06em;text-transform:uppercase;color:#7f8f70}
#custom .cfRow{position:relative;display:flex;align-items:center;height:calc(70px - var(--short) / 13);padding:0 22px;border:1px solid transparent;border-radius:0;font-family:var(--ui-head);font-size:22px;letter-spacing:.02em;color:#aaa58f;cursor:pointer}
#custom .cfRow .lb{flex:0 0 330px}
#custom .cfRow .arg{font-size:16px;padding:6px 2px;visibility:hidden} /* a row with no arrows keeps their gutter, so every value starts at one x */
#custom .cfRow .vl{flex:1;min-width:0;display:flex;align-items:center;gap:14px;font-family:Georgia,serif;font-size:22px;letter-spacing:.02em;color:#cfc7ad;white-space:nowrap;overflow:hidden}
#custom .cfRow .ar{color:#8a8670;font-size:16px;padding:6px 2px}
#custom .cfRow .chg{color:#ddd5c3}
#custom .cfRow .off{color:#8a8670;font-style:italic}
#custom .cfRow.sel{border-color:var(--ui-sel-bg);background:var(--ui-sel-bg);color:var(--ui-sel-fg);box-shadow:none}#custom .cfRow.sel *{color:var(--ui-sel-fg)}
#custom .cfRow.sel .ar{color:#ddd5c3}
#custom .cfRow.dim{opacity:.6;cursor:default}
#custom .cfRow.open{z-index:5}
#custom .cfRow .opt{margin-left:auto;font-size:15px;letter-spacing:.02em;color:#c8a6ff;border:1px solid rgba(200,166,255,.35);padding:2px 10px;border-radius:0}
#custom .sig{display:inline-flex;flex:0 0 auto;width:30px;height:30px;align-items:center;justify-content:center;border:1px solid var(--c);border-radius:50%;background:rgba(0,0,0,.4)}
#custom .sig.off{opacity:.4}
#custom .sig svg{width:20px;height:20px;fill:none;stroke:var(--c);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#custom .chip{display:inline-flex;align-items:center;gap:8px;padding:3px 12px 3px 4px;border-radius:18px;border:1px solid rgba(207,199,173,.25);font-size:18px;background:rgba(0,0,0,.3)}
#custom .bn{display:inline-flex;align-items:center;gap:6px;font-size:19px}
#custom .bn i{font-style:normal;color:#ddd5c3}
#custom .dot,#custom .more{color:#8a8670;font-size:19px}
#custom .cfDesc{margin-top:calc(22px - var(--short) / 18);padding:0 22px;min-height:84px;font-size:19px;line-height:1.45;color:#bdb6a0}
#custom .cfDesc.narrow{max-width:520px} /* (clear of a list open beside it) */
#custom .cfDesc b{color:#e6e2d8;font-weight:normal}
#custom .cfPop{position:absolute;right:-1px;max-height:calc(660px - var(--short));overflow-y:auto;padding:10px 0;border:1px solid rgba(207,199,173,.3);border-radius:0;background:rgba(8,9,6,.95);box-shadow:0 10px 40px rgba(0,0,0,.8);font-family:Georgia,serif;letter-spacing:.02em;cursor:default}
#custom .cfPop.move{top:-1px;width:380px}
#custom .cfPop.curses{top:calc(100% + 6px);width:520px}
#custom .cfPop .li{display:flex;align-items:center;gap:12px;height:44px;padding:0 22px;font-size:20px;color:#cfc7ad;white-space:nowrap;cursor:pointer}
#custom .cfPop .li.sel{background:var(--ui-sel-bg);color:var(--ui-sel-fg);box-shadow:none}#custom .cfPop .li.sel *{color:var(--ui-sel-fg)}
#custom .cfPop .li.on .nm{color:#ddd5c3}
#custom .cfPop .li .k{margin-left:auto;font-size:15px;color:#8a8670}
#custom .cfPop.move .li .k{font-family:monospace;font-size:16px}
#custom .cfPop .li .cb{flex:0 0 auto;width:20px;height:20px;border:1px solid rgba(207,199,173,.6);border-radius:0;display:inline-flex;align-items:center;justify-content:center;color:#ddd5c3;font-size:16px}
#custom .cfPop .p2{font-family:var(--ui-head);font-size:15px;letter-spacing:.02em;color:#e0733c;border:1px solid rgba(224,115,60,.5);padding:0 6px;border-radius:0}

/* the one selection look (#1363): a solid dark brown block, near-white text, square corners, no glow or marks */
#menu .mi.sel,#deathMenu .mi.sel,.endMenu .mi.sel,#pauseMenu .mi.sel{background:var(--ui-sel-bg);color:var(--ui-sel-fg);text-shadow:none}
#menu .mi.t-common{color:#e8dfc4}#menu .mi.t-uncommon{color:#7cc4b0}#menu .mi.t-rare{color:#c9a2ff}#menu .mi.t-trophy{color:#e6c46a} /* the boon list in play's colours, on the selection block too */
#menu .md,#deathMenu .md,.endMenu .md,#pauseMenu .md{margin-top:14px;min-height:42px;max-width:520px;text-align:center;font-family:Georgia,serif;font-size:16px;line-height:1.5;color:#cdc3b4;text-wrap:balance} /* (balance: no word left alone on a last line, #859) */
#menu .md b{color:#ddd5c3;font-weight:normal}
#menu .md{min-height:120px} /* longest page text (Blight) is 5 lines: the column must not re-centre as it changes */
#pause{flex-direction:column;z-index:40}
#pauseMain{display:flex;flex-direction:column;align-items:center;width:640px;max-width:100%}
#pauseTitle{margin:0 0 30px;font-weight:600;font-size:calc(34px - var(--short) / 45);letter-spacing:.02em;color:#e5e0d6;text-shadow:0 1px 3px rgba(0,0,0,.85);text-align:center} /* the page title's look (Leave for the Main Menu?) */
#pauseMenu{display:flex;flex-direction:column;align-items:center;min-width:380px}
#pauseMenu .mi.rule{margin-top:10px;border-top:1px solid #4a4a3c}
#pauseMenu .md{letter-spacing:normal;min-height:72px} /* three lines (UI scale, some terms): the centred column must not move */
#pause.codex{flex-direction:row;gap:36px;align-items:flex-start;padding-top:max(40px,calc(50vh - 300px));box-sizing:border-box} /* the grid and the card beside it, tops level */
#pause.codex #pauseMain{width:720px}
#pause.codex #pauseTitle{font-size:30px;letter-spacing:.02em;margin-bottom:16px}
/* the Edge (pause.js, Ole 2026-11-08, clean 2026-11-09): the main page is one column of actions at the left edge over a dark gradient, the paused screen softly
   blurred on the right (its own words never read through); easy to read (21px rows, 26px icons, bright text), the selected row the one selection block from the window's edge */
#pause.edge{background:linear-gradient(90deg,rgba(5,4,3,.95) 0,rgba(5,4,3,.9) 420px,rgba(5,4,3,.4) 640px,rgba(5,4,3,.2) 100%);backdrop-filter:blur(3px)}
#pause.edge #pauseMain{position:absolute;left:84px;top:0;bottom:0;width:300px;align-items:stretch;justify-content:center}
#pause.edge #pauseTitle{display:none} /* no PAUSED eyebrow: the context line heads the column */
#pauseCtx{display:none}#pause.edge #pauseCtx{display:block;margin:0 0 34px;font:18px Georgia,serif;letter-spacing:normal;color:#e5e1d7;text-align:left} /* what is paused and the run's time (pause.js pauseCtxHTML) */
#pauseCtx .pm{display:flex;align-items:center;gap:8px;margin-top:6px;font-size:16px;color:#a99f84}#pauseCtx .pm .pi{width:16px;height:16px}
#pauseBlight{display:none;position:fixed;right:72px;bottom:96px;width:500px;font-family:Georgia,serif;letter-spacing:normal;color:#c9c1a8;z-index:1}#pause.edge #pauseBlight:not(:empty){display:block}
#pauseBlight::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 820px 480px at calc(100% - 380px) calc(100% - 210px),rgba(5,4,3,.92),rgba(5,4,3,0))} /* a soft dark scrim under the run's blight burdens, bottom right of the pause's main page (pause.js pauseBlightHTML) */
#pauseKeys{position:relative;z-index:2} /* the key hints over that scrim: under it the bar's right half (details, map, resume) faded toward the window's edge */
#pauseBlight .bh{font-size:15px;letter-spacing:.02em;color:#bdb298;margin-bottom:10px}
#pauseBlight .br{display:grid;grid-template-columns:30px 1fr;font-size:17px;line-height:1.4;padding:5px 0;color:#d6cfb8;text-shadow:0 1px 3px #000}#pauseBlight .br b{font:15px var(--ui-head);color:#c97a66;font-weight:normal}
#pauseMenu.edge{display:block;min-width:0}
#pauseMenu.edge .mi{display:flex;align-items:center;gap:18px;height:56px;padding:0 0 0 4px;font-size:21px;letter-spacing:.02em;color:#d8d2c0;text-shadow:none;position:relative;white-space:nowrap}
#pauseMenu.edge .mi .pi{width:26px;height:26px;flex:none;color:#bfb49a}
#pauseMenu.edge .mi em{margin-left:auto;font:normal 18px Georgia,serif;letter-spacing:0;color:#a99f84}
#pauseMenu.edge .mi.sel{background:none}#pauseMenu.edge .mi.sel,#pauseMenu.edge .mi.sel .pi,#pauseMenu.edge .mi.sel em{color:var(--ui-sel-fg);text-shadow:none}
#pauseMenu.edge .mi.sel::after{content:'';position:absolute;left:-84px;right:-30px;top:6px;bottom:6px;background:var(--ui-sel-bg);z-index:-1}
#pauseMenu.edge .phr{height:1px;background:rgba(221,213,195,.22);margin:16px 0}
/* Options inside the pause menu (pause.js renderPauseSide, Ole 2026-11-10): the pause menu's own column stays at the left, Options marked, and the settings stand in a column beside it: a tab strip (Q / E, L1 / R1), plain rows with the value at the right (sliders as a bar), the description under them */
body.paused #title{visibility:hidden}
#pauseCards{display:none;flex-wrap:wrap;gap:16px;justify-content:flex-start;align-content:flex-start;align-items:flex-start;min-height:536px;width:710px;letter-spacing:normal;text-transform:none}
#pause.codex #pauseMenu .md{display:none} /* the card beside the grid says it all */
#pause.codex #pauseCards{display:flex;min-height:0;margin-top:62px} /* level with the grid's first row, under the page's title */
#pauseMenu.boons{display:grid;grid-template-columns:repeat(3,1fr);gap:0 6px;width:700px;max-width:100%;min-width:0}
#pauseMenu.boons .md,#pauseMenu.boons .mi.wide{grid-column:1/-1;text-align:center}
#pauseMenu.boons .md{justify-self:center}
#pauseMenu.boons .mi{font-size:17px;letter-spacing:.02em;padding:3px 8px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#pauseMenu .mi.dim{color:#4f4d42}
#pauseMenu .mi.t-common{color:#e8dfc4}#pauseMenu .mi.t-uncommon{color:#7cc4b0}#pauseMenu .mi.t-rare{color:#c9a2ff}#pauseMenu .mi.t-trophy{color:#e6c46a}
body:not(.usepad) .kp,body.usepad .kk{display:none}
body.nocursor,body.nocursor *{cursor:none!important} /* the pad is in use (core.js usePad) */
body:not(.usepad) .padonly{display:none}body:not(.ixNames) .ixHint{display:none} /* the info hint: only while a name on screen can be read (inspect.js ixNamesTick) */ /* a hint for the pad alone (Options' L1 / R1 tab) */
.keyOn{display:inline-flex;align-items:center;gap:2px;vertical-align:middle;font:600 17px Georgia,serif;letter-spacing:0;text-indent:0;text-transform:none;line-height:1;white-space:nowrap} /* a button's own shortcut beside its label (keyOnBtn, core.js) */
/* the way out of a panel screen (core.js exitBtn): outlined at rest, filled only in focus, its key at the left and the label centred; one look on Progress, the ring screen and Leave on every place of a run (mapui.js evLeaveHTML) */
.xbtn{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;min-width:240px;height:calc(50px - var(--short) / 30);padding:0 30px 0 70px;box-sizing:border-box;border-radius:0;font:400 19px var(--ui-head);letter-spacing:.02em;color:#d6cfbf;border:1px solid rgba(221,213,195,.6);background:rgba(10,9,7,.72);box-shadow:0 4px 14px rgba(0,0,0,.55);cursor:pointer;transition:border-color .12s,background .12s,box-shadow .12s,color .12s}
.xbtn .keyOn{position:absolute;left:14px;top:50%;transform:translateY(-50%)}.xbtn .lvI{flex:none;width:24px;height:24px}
.xbtn.sel{color:var(--ui-sel-fg);border-color:var(--ui-sel-line);background:var(--ui-sel-bg);box-shadow:none}
.xbtn.sel .kk kbd{color:inherit}
.keyOn .kp.pb{margin:0}body:not(.usepad) .keyOn .kk{display:inline-flex;gap:2px}
#boonBinder .bdBtn .keyOn,#boonBinder .bdReset .keyOn,#custom .hero .keyOn{margin-right:14px;vertical-align:2px} /* a button's key before its label */
#boonBinder .bdTabs>.keyOn{align-self:center;margin-right:8px}#boonBinder .bdSearch .keyOn{margin-right:8px;font-size:15px;vertical-align:1px}#boonBinder .bdTabs>.keyOn+.bdView{margin-left:8px}#boonBinder .bdSearch+.keyOn{margin-left:20px}#boonBinder .bdTabs>.keyOn:has(+.bdCat){margin-left:auto;margin-right:8px}
#boonBinder .bdBtn .keyOn,#boonBinder .bdReset .keyOn,#custom .hero .keyOn{margin-top:-8px;margin-bottom:-8px} /* the key never makes its button taller */
#boonBinder .bdBtn .kk kbd{color:inherit}#look .lkTabs>.keyOn{margin:0 6px} /* the tab strip's L1 / R1 or Q / E at its ends */
body.usepad .keyOn:not(:has(.kp)){display:none} /* a key the pad lacks: no empty gap */
/* input labels: a DualSense's face buttons as plain grey discs with a muted symbol, its other buttons as pills, the keyboard's keys as keycaps (keyHint, core.js) */
.kp,.kk kbd{display:inline-block;font-family:"Segoe UI",Arial,sans-serif;font-style:normal;font-weight:700;letter-spacing:0;line-height:1.25;text-align:center;vertical-align:baseline;text-shadow:none}
.kp.pb{width:1.45em;min-width:1.45em;height:1.45em;line-height:1.45em;border-radius:50%;background:#2c2d30;color:#b9bcc2;box-shadow:0 0 0 1px #6b6e75;vertical-align:-.3em;margin:0 .12em;position:relative}
.kp.pb .pg.xb{width:84%;height:84%}body.xpad .kp.pb{background:#1e2124}body.xpad .kp.pb-a{color:#7fc46a}body.xpad .kp.pb-b{color:#e0675a}body.xpad .kp.pb-x{color:#5b9be0}body.xpad .kp.pb-y{color:#c0b69d} /* Xbox's lettered, coloured face buttons */
.kp.pb .pg{position:absolute;left:50%;top:50%;width:74%;height:74%;transform:translate(-50%,-50%)}.kp.pb .pg g{stroke-width:2.2} /* the drawn symbol, dead centre in its disc */
.kp.pw{margin:0 .12em}
.kp.pb-a{color:#a9b4c4}.kp.pb-b{color:#c4a9a9}.kp.pb-x{color:#c4a9bd}.kp.pb-y{color:#a9c4b4}
.kp.pw{padding:0 .55em;border-radius:1em;border:1px solid #8a8466;background:rgba(255,255,255,.08);color:#e4e0d5;font-size:.92em}
.kk kbd{padding:0;min-width:0;border:0;background:none;color:#f0ebdf;font-family:var(--ui-head);font-weight:600;font-size:1em} /* a key hint is the key's name in bold, then what it does: no chip (#1363); a badge that needs a box (the medallions, the HUD's slots, the drained ring) draws its own */
.hsep{display:inline-block;width:30px} /* the gap between two hints (core.js HINT_SEP) */
/* keywords (terms.js): coloured wherever they are written; rarities bold, a critical hit glows */
.kw{color:var(--k);cursor:help}
.kw.kb{font-weight:bold}
.kw.kg{text-shadow:0 1px 3px rgba(0,0,0,.85)}
#menu .mi.kt,#pauseMenu .mi.kt{color:var(--k)}
#menu.boons .md,#pauseMenu.boons .md{min-height:72px} /* the terms' meanings run to three lines */
.hr.off .kw,#trekList .hr.off .hl .kw{color:inherit;opacity:.8}
.q.failed .kw{color:inherit}
#pause .ps,#title .ps{margin-top:18px;font-family:Georgia,serif;font-size:16px;letter-spacing:.02em;color:#bdb6a0;text-align:center}
@keyframes pulse{50%{opacity:.35}}
/* Reduced Flashing (Options > Display; menu.js applyFlash, core.js flashCap): the HUD's blinking glows and pulses hold steady, the fast shakes and the card flashes stop. Looks only: no layout, no timing */
body.reduce-flash .st.exhaust,body.reduce-flash .bar.hp.wrath,body.reduce-flash #sslot.empty:not(.deny):not(.cut) .dia,body.reduce-flash #sslot.ready .dia,
body.reduce-flash #sslot.run:not(.ready):not(.chan):not(.deny):not(.cut) .dia,body.reduce-flash #bossbar .bar .healTo,body.reduce-flash #bossbar .healing .bar,body.reduce-flash .bar .healPend,
body.reduce-flash #fxRings .ring.full,body.reduce-flash #fxRings .ring.low,body.reduce-flash #iniSlots .slot.cur,
body.reduce-flash #reward.ready #rwGo,body.reduce-flash .cards .rare .gl,body.reduce-flash .cards .trophy .gl,body.reduce-flash #levelup.packed #lvlPack .pk,body.reduce-flash #lvlOpen *,
body.reduce-flash #fxRings .ring.low{opacity:.7}
body.reduce-flash #partner.atk svg{animation:none}
body.reduce-flash .bar .healFlash{background:linear-gradient(#b9e8c4,#5cc479 45%,#2a7a42);box-shadow:none}
body.reduce-flash .bar.hp.healGlow{box-shadow:0 0 0 1px rgba(125,255,154,.55)}
body.reduce-flash #sslot.ready .dia{box-shadow:0 0 14px rgba(140,205,255,.45)}
body.reduce-flash .cards .slot.tease .card{animation:teaseGlow var(--td) ease-in forwards}
body.reduce-flash #reward.ready #rwGo{animation:rwFade .5s forwards}
body.reduce-flash .cards .slot.trophy.flip .card{animation:cardFlipBig var(--fd) ease-in-out}
body.reduce-flash #sslot.pop .dia::after{background:rgba(220,244,255,.3);animation-duration:1s}
body.reduce-flash .crownBeat.on .cwFlash{animation:none}
#ctlBox{display:none}
#menu.ctl #ctlBox{display:flex;flex-direction:column;align-items:center;margin:4px 0 22px}
#menu.ctl .md{display:none}
/* the Changelog (js/changelog.js changelogHTML): the versions in a panel in the Controls table's look, scrolled by Up / Down and the wheel; it closes up by --short so Back clears the key hints at 900 */
#menu.chlog .md{display:none}
#chLog{width:980px;max-width:calc(100*var(--vw) - 32px);max-height:calc(560px - var(--short) / 2);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#6b5a38 transparent;box-sizing:border-box;margin:4px 0 22px;padding:6px 30px 16px;font-family:Georgia,serif;text-align:left;color:#cdc3b4;background:var(--ui-panel);border:1px solid var(--ui-panel-line);border-radius:0}
#chLog .cd{margin:16px 0 6px;padding-bottom:6px;border-bottom:1px solid rgba(190,170,130,.2);font-size:15px;letter-spacing:.06em;text-transform:uppercase;color:#8a957f}
#chLog .cv{display:grid;grid-template-columns:76px 1fr;gap:0 20px;padding:3px 0;font-size:17px;line-height:1.45}
#chLog .cv b{font-family:var(--ui-head);font-weight:normal;font-size:15px;letter-spacing:.02em;color:#a89a78;padding-top:2px}
#chLog .cv span{color:#e6e2d8}#chLog .cv.now b{color:#ddd5c3}
#controls{display:grid;grid-template-columns:auto auto auto;gap:5px 30px;font-family:Georgia,serif;font-size:16px;color:#bdb6a0}
#controls .h{color:#8a957f;font-size:15px;letter-spacing:.06em;text-transform:uppercase}
#controls b{color:#e6e2d8;font-weight:normal}
#controls{gap:9px 34px;font-size:17px;align-items:center;padding:18px 28px;background:var(--ui-panel);border:1px solid var(--ui-panel-line);border-radius:0} /* both columns show their chips whichever device is in use */
#controls>*{white-space:nowrap}#controls .kp{display:inline-block}#controls .kk{display:inline}#controls .kk kbd{margin:0 1px}#controls i{color:#8a957f;font-size:15px}
#padStatus{margin-top:18px;font-size:16px;font-family:Georgia,serif;color:#8a957f}
#deathMenu{position:fixed;left:0;right:0;top:60%;display:none;flex-direction:column;align-items:center}
#deathMenu:not(.over){padding:14px 0;background:linear-gradient(90deg,transparent,rgba(0,0,0,.72) 20%,rgba(0,0,0,.72) 80%,transparent)} /* (the same dim strip behind the menu over the fallen model) */
#deathMenu.bare:not(.over){background:none;padding:0} /* (a practice foe defeated: only its keys, which sit at the foot: no empty strip, main.js practiced) */
.endMenu .md{display:none} /* (the end screens' menu: its words are the labels alone) */
#deathMenu .ps,.endMenu .ps{position:fixed;left:0;right:0;bottom:22px;font-family:Georgia,serif;font-size:16px;letter-spacing:.02em;color:#bdb6a0;text-align:center}
body.paused #deathMenu .ps,body.paused .endMenu .ps{visibility:hidden} /* the pause menu brings its own hint bar */
#endPanel{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,rgba(0,0,0,.78),rgba(0,0,0,.95))}
#endPanel.on{display:flex}
#endPanel.solid{background:radial-gradient(ellipse at center,#0b0d0a,#000)}
#endPanel .eh{font-size:30px;letter-spacing:.02em;color:#ddd5c3;text-shadow:0 1px 3px rgba(0,0,0,.85);text-align:center}
#endPanel .eh2{margin-top:28px;font-size:18px;letter-spacing:.02em;color:#9fb18f;text-align:center}
#endPanel .ehint{margin-top:22px;font-family:Georgia,serif;font-size:16px;color:#8a957f;text-align:center}
#iniSlots{display:flex;gap:18px;justify-content:center;margin-top:16px}
#iniSlots .slot{width:64px;height:84px;display:flex;align-items:center;justify-content:center;font-size:56px;color:#e6e2d8;border-bottom:3px solid rgba(190,170,130,.4)}
#iniSlots.seed{gap:8px}#iniSlots.seed .slot{width:46px;height:68px;font-size:40px}
#iniSlots .slot.cur{color:#e2ddd2;border-bottom-color:#ddd5c3;text-shadow:0 1px 3px rgba(0,0,0,.85);animation:pulse 1.2s infinite}
/* the dev panel (devpanel.js): number lines for the hidden difficulty values; in the fight under the boons (#pbars scales it 1.3), on the map top left */
.devp{display:none;width:max-content;padding:6px 10px 8px;background:rgba(8,8,10,.66);border:1px solid rgba(200,190,160,.2);border-radius:0;font-family:Georgia,serif;color:#d8d0b8;white-space:nowrap;text-shadow:none}
.devp.on{display:block}
.devp .dh{font-size:.85em;letter-spacing:.02em;color:#8f8a7a;margin-bottom:3px}
.devp .dr{display:grid;grid-template-columns:7.6em 2.6em 8em 2.6em 3.6em auto;align-items:center;column-gap:.5em;line-height:1.45}
.devp .dn{color:#8f8a7a;font-size:.9em}
.devp .dn:nth-child(2){text-align:right}
.devp .dt{position:relative;height:2px;background:rgba(216,208,184,.4)}
.devp .dt i{position:absolute;top:-5px;width:2px;height:12px;margin-left:-1px;background:#ddd5c3;box-shadow:none}
.devp .dv{text-align:right;color:#eae6de}
.devp .dv.over{color:#ffa640}
.devp .do{color:#8f8a7a;font-size:.9em}
/* dev mode's free camera (freecam.js): its line at the top, and a clean frame with every overlay over the canvas hidden */
#freeCamInfo{display:none;position:fixed;top:8px;left:50%;transform:translateX(-50%);z-index:9999;padding:4px 10px;background:rgba(8,8,10,.66);border:1px solid rgba(200,190,160,.2);border-radius:0;font:13px Georgia,serif;color:#d8d0b8;white-space:nowrap;pointer-events:none}
#freeCamInfo.on{display:block}
body.fcClean>:not(canvas){opacity:0!important;transition:none!important}
#devPanel{margin-top:12px;font-size:15.6px}
#devMap{position:fixed;left:28px;top:76px;font-size:15px;z-index:3}
