/* Shared anatomy, distinct materials for each universe. Engine-owned IDs stay intact. */
.world-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
body[data-local-lab=true] .world-game-frame[data-world-frame]{--frame-ink:#e9dfc9;--frame-muted:#c5bba5;--frame-paper:#1c2c39;--frame-line:#a78b5366;--frame-accent:#dfc183;display:grid;grid-template-columns:148px minmax(0,1fr) auto;align-items:center;gap:22px;position:relative;inset:auto;pointer-events:auto;width:100%;min-width:0;min-height:112px;margin:0 0 24px;padding:18px 22px;border:1px solid var(--frame-line);border-radius:17px;background:var(--frame-paper);color:var(--frame-ink);box-shadow:inset 0 0 0 4px #ffffff08,0 6px 0 #12231a10,0 12px 26px #16251d10;box-sizing:border-box;}
body[data-local-lab=true] .world-game-frame[data-world-frame=guild]{--frame-ink:#513623;--frame-muted:#7b6248;--frame-paper:linear-gradient(115deg,#fff0ce,#ecd8ae);--frame-line:#aa7c42;--frame-accent:#805329;box-shadow:inset 0 0 0 4px #fff5d644,0 6px 0 #64421e28,0 12px 26px #64421e16;}
body[data-local-lab=true] .world-game-frame[data-world-frame=gallery]{--frame-ink:#285657;--frame-muted:#557471;--frame-paper:#fffdf4;--frame-line:#a6baaa;--frame-accent:#356a62;}
body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__back{display:flex;align-items:center;justify-content:flex-start;gap:10px;grid-column:1;grid-row:1;min-width:0;min-height:58px;max-width:100%;margin:0;padding:9px 12px;border:1px solid var(--frame-line);border-radius:12px;background:#ffffff0e;box-shadow:inset 0 0 0 3px #ffffff20;color:var(--frame-ink);font:650 13px/1.3 system-ui,sans-serif;text-decoration:none;cursor:pointer;}
body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__back svg{display:block;flex:none;width:30px;height:34px;fill:none;stroke:var(--frame-accent);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;}
body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__identity{display:block;min-width:0;grid-column:2;grid-row:1;}
body[data-local-lab=true] .world-game-frame[data-world-frame] h1{margin:0 0 7px;padding:0;color:var(--frame-ink);font:500 clamp(24px,2.6vw,36px)/1.12 Georgia,serif;letter-spacing:-.025em;overflow-wrap:normal;}
body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__date{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;margin:0;padding:0;border:0;min-width:0;color:var(--frame-muted);background:none;box-shadow:none;font:550 12px/1.5 system-ui,sans-serif;letter-spacing:0;text-transform:none;}
body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__date :is(strong,b,span){display:inline;font:inherit;color:inherit;letter-spacing:inherit;}
body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__private{display:inline-flex;margin:0 0 0 10px;padding:3px 7px;border:1px solid var(--frame-line);border-radius:6px;background:none;color:var(--frame-muted);font:650 10px/1.4 system-ui,sans-serif;vertical-align:middle;}
body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__tools{display:flex;align-items:center;justify-content:flex-end;gap:13px;grid-column:3;grid-row:1;min-width:0;}
body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__score{display:grid;grid-template-columns:1fr;align-items:center;align-content:center;justify-items:center;gap:2px;width:auto;min-width:75px;min-height:0;height:auto;padding:0 12px 0 0;margin:0;border:0;border-right:1px solid var(--frame-line);border-radius:0;background:none;box-shadow:none;transform:none;color:var(--frame-ink);}
body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__score :is(span,small){display:block;margin:0;padding:0;color:var(--frame-muted);font:550 10px/1.3 system-ui,sans-serif;letter-spacing:0;text-transform:none;}
body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__score strong{display:block;margin:0;padding:0;color:var(--frame-ink);font:650 25px/1.05 Georgia,serif;font-variant-numeric:tabular-nums;}
body[data-local-lab=true] .world-game-frame[data-world-frame] :is(.world-game-frame__info,.lab-gallery-info,.lab-tavern-help){display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:1px solid var(--frame-line);border-radius:50%;background:none;color:var(--frame-accent);box-shadow:none;font:italic 700 23px/1 Georgia,serif;cursor:pointer;}
body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__legacy[hidden]{display:none!important;}
body[data-local-lab=true] .world-game-frame :is(a,button):focus-visible{outline:3px solid var(--frame-accent);outline-offset:3px;}
body[data-local-lab=true] .lab-immersive-main:has([data-world-frame]) .lab-play-layout{display:block;}
body[data-local-lab=true].gallery-interface .site-header .brand .gallery-date{display:block;margin:5px 0 0;padding:0;color:#54736e;font:550 12px/1.4 system-ui,sans-serif;text-align:left;letter-spacing:0;}
body[data-local-lab=true].gallery-interface #home-view .game-card.world-window{background:linear-gradient(140deg,#fffdf5,#efeee1);border-color:#9eb7aa;}
body[data-local-lab=true].gallery-interface #home-view .card-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;}
body[data-local-lab=true].gallery-interface #home-view :is(.daily-badge,.status-pill){display:inline-flex;align-items:center;gap:5px;min-height:25px;padding:4px 9px;border:1px solid #a1b4a4;border-radius:7px;background:#eef2e7;color:#42645d;font:650 10px/1.35 system-ui,sans-serif;letter-spacing:0;}
body[data-local-lab=true].gallery-interface #home-view .status-pill i{display:none;}
body[data-local-lab=true].gallery-interface #home-view .card-title{min-height:2.3em;font-size:clamp(24px,2.1vw,30px);}
body[data-local-lab=true].gallery-interface #home-view .card-description{min-height:4.8em;}
body[data-local-lab=true].gallery-interface #home-view .card-content{display:flex;flex-direction:column;gap:12px;}
body[data-local-lab=true].gallery-interface #home-view .daily-score-summary{margin-top:auto;}
body[data-local-lab=true].gallery-interface #home-view .card-action{margin-top:5px;}
.world-character-mini{display:grid;place-items:center;width:100%;height:100%;}
.world-game-frame [hidden]{display:none!important;}
body[data-local-lab=true].tavern-interface:not(.lab-immersive).is-game-open .hero{display:none!important;}
body[data-local-lab=true].tavern-interface.is-game-open .retour-portail,
body[data-local-lab=true].gallery-interface.game-active .retour-portail{display:none!important;}
.world-character-mini :is(svg,img){display:block;width:100%;height:100%;object-fit:contain;}
.world-character-mini .character__shadow{fill:#243e3830;}
@media(max-width:760px){body[data-local-lab=true] .world-game-frame[data-world-frame]{grid-template-columns:112px minmax(0,1fr);gap:12px;padding:14px 16px;min-height:0;}body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__tools{grid-column:2;grid-row:2;justify-content:flex-start;gap:12px;}body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__back{grid-row:1/3;align-self:stretch;justify-content:center;flex-direction:column;gap:6px;font-size:12px;}body[data-local-lab=true] .world-game-frame[data-world-frame] h1{font-size:25px;}body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__score{display:flex;align-items:baseline;gap:5px;padding-right:12px;}body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__score>span{display:none;}body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__private{margin:5px 0 0 8px;}}
@media(max-width:420px){body[data-local-lab=true] .world-game-frame[data-world-frame]{grid-template-columns:76px minmax(0,1fr);gap:10px;padding:12px;}body[data-local-lab=true] .world-game-frame[data-world-frame] h1{font-size:23px;}body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__back{padding:8px 5px;font-size:10px;}body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__score strong{font-size:23px;}body[data-local-lab=true] .world-game-frame[data-world-frame] .world-game-frame__private{display:block;width:max-content;max-width:100%;margin:5px 0 0;}}

/* Empty architecture only. No actual question, flag, year or answer is rendered. */
body[data-local-lab=true] .gd-preview-layout{position:relative;min-height:440px;isolation:isolate;}
body[data-local-lab=true] .gd-preview-architecture{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:15px;min-height:440px;}
body[data-local-lab=true] .gd-preview-pane{min-width:0;padding:20px;border:1px solid #b3c3b3;border-radius:13px;background:#f1f3e8;}
body[data-local-lab=true] .gd-preview-pane h2{color:#59786e;font:600 19px Georgia,serif;margin:0 0 22px;}
body[data-local-lab=true] .gd-preview-shapes{display:grid;gap:15px;}
body[data-local-lab=true] .gd-preview-shapes span{height:45px;border-radius:8px;background:repeating-linear-gradient(135deg,#c4d2c5 0 9px,#d7e0d3 9px 18px);border:1px solid #b8cab9;}
body[data-local-lab=true] .gd-preview-pane:first-child .gd-preview-shapes--flags{grid-template-columns:repeat(2,minmax(0,1fr));}
body[data-local-lab=true] .gd-preview-pane:first-child .gd-preview-shapes--flags span{height:75px;}
body[data-local-lab=true] .gd-preview-start{position:absolute;inset:0;display:grid;place-items:center;padding:20px;background:#fcfff99c;border-radius:14px;}
body[data-local-lab=true] .gd-preview-start .auberge-button{min-height:54px;padding:15px 25px;font-size:16px;box-shadow:0 12px 28px #244c4333;}
@media(max-width:700px){body[data-local-lab=true] .gd-preview-architecture{grid-template-columns:1fr;gap:10px;min-height:500px;}body[data-local-lab=true] .gd-preview-pane{padding:14px;}body[data-local-lab=true] .gd-preview-pane h2{margin-bottom:10px;font-size:17px;}body[data-local-lab=true] .gd-preview-shapes{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}body[data-local-lab=true] .gd-preview-pane:first-child .gd-preview-shapes--flags{grid-template-columns:repeat(3,minmax(0,1fr));}body[data-local-lab=true] .gd-preview-pane:first-child .gd-preview-shapes--flags span{height:44px;}}

body[data-local-lab=true] .lab-manuscript-illustration{grid-template-rows:minmax(0,1fr);height:clamp(160px,17vw,225px);min-height:0;flex-shrink:0;overflow:hidden;}
body[data-local-lab=true] .lab-manuscript-illustration img{display:block;width:100%;height:100%;min-height:0;max-height:100%;object-fit:contain;}
