[hidden]{display:none!important}
html:not([data-emanuel-editing="true"]) [data-emanuel-edit]{display:none!important}
html[data-emanuel-skin]{--bg:var(--look-bg);--panel:var(--look-panel);--ink:var(--look-ink);--muted:var(--look-muted);--accent:var(--look-accent);--edge:var(--look-soft)}
html[data-emanuel-skin] body{background:var(--look-bg);color:var(--look-ink)}
html[data-emanuel-skin] .welcome{background:var(--look-soft);color:var(--look-ink)}
html[data-emanuel-skin] .choice{background:var(--look-panel);color:var(--look-ink)}
html[data-emanuel-skin] .eyebrow,html[data-emanuel-skin] .later{color:var(--look-muted)}
html[data-emanuel-skin] .games-home,html[data-emanuel-skin] .cta,html[data-emanuel-skin] .feature-go{background:var(--look-accent);color:var(--look-on-accent);box-shadow:none}
html[data-emanuel-skin] .aquarium-heading a{background:var(--look-panel);color:var(--look-ink)}
html[data-emanuel-skin] .game,html[data-emanuel-skin] .game.feature{background:var(--look-panel);border-color:var(--look-soft);color:var(--look-ink)}
html[data-emanuel-skin] .game.feature{background:linear-gradient(125deg,var(--look-panel),var(--look-soft))}
html[data-emanuel-skin] .game.feature h2{color:var(--look-ink)}
html[data-emanuel-skin] .game.feature p,html[data-emanuel-skin] .number{color:var(--look-muted)}
html[data-emanuel-skin] .go,html[data-emanuel-skin] .badge,html[data-emanuel-skin] .symbol{color:var(--look-accent)}
html[data-emanuel-skin] .go{border-color:var(--look-soft)}
html[data-emanuel-skin] .tile{background:repeating-linear-gradient(45deg,var(--look-panel) 0 10px,var(--look-soft) 10px 20px);border-color:var(--look-soft)}
html[data-emanuel-skin] .tile.face,html[data-emanuel-skin] .tile.found{background:var(--look-panel);border-color:var(--look-accent)}
html[data-emanuel-skin] .tile.found{opacity:.84}
html[data-emanuel-skin="regenboog"] body{background:linear-gradient(135deg,#e4f3ff,#f9e7ef 45%,#fff5d7 70%,#e3f3e6)}
html[data-emanuel-skin="ruimte"] body{background:radial-gradient(ellipse at 85% 10%,#283b64,transparent 55%),#101b39}
html[data-emanuel-skin="sterren"] body{background:radial-gradient(ellipse at 10% 10%,#533d70,transparent 60%),#291d43}
.emanuel-account{color:var(--look-ink,#305547)}
.emanuel-account small{color:var(--look-muted,#576b62)}
.emanuel-account button{background:var(--look-panel,#fffdf5);color:var(--look-ink,#294b40);border-color:var(--look-soft,#c9d4c8)}
.emanuel-modes{display:flex;gap:3px;background:var(--look-soft,#dce8e0);border-radius:14px;padding:3px}
.emanuel-modes button{border:0;background:transparent;min-width:80px}
.emanuel-modes button[aria-pressed="true"]{background:var(--look-accent,#305b48);color:var(--look-on-accent,#fff)}
.emanuel-editor{box-sizing:border-box;background:var(--look-panel,#fffdf5);color:var(--look-ink,#294b40);border:1px solid var(--look-soft,#c9d4c8);border-radius:20px;padding:20px;margin:18px 0;text-align:left;font:15px/1.5 system-ui,sans-serif}
.emanuel-editor h2{font-size:21px;line-height:1.2;margin:0 0 10px;letter-spacing:0;color:inherit}
.emanuel-editor-note{font-size:14px;color:var(--look-muted,#576b62);margin:8px 0 14px}
.emanuel-skin-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.emanuel-editor button{font:inherit;cursor:pointer;touch-action:manipulation;min-height:44px;border:2px solid var(--look-soft,#d4e1db);background:var(--look-panel,#fffdf5);color:var(--look-ink,#294b40);border-radius:12px;padding:8px 10px}
.emanuel-editor button[aria-pressed="true"]{border-color:var(--look-accent,#305b48);box-shadow:0 0 0 1px var(--look-accent,#305b48);font-weight:750}
.emanuel-editor button[aria-pressed="true"]>span:last-child::after{content:' ✓'}
.emanuel-editor button:focus-visible{outline:3px solid var(--look-accent,#305b48);outline-offset:3px}
.emanuel-editor button:disabled{opacity:.6;cursor:wait}
.emanuel-skin{display:flex;flex-direction:column;gap:6px;align-items:stretch;text-align:center}
.emanuel-skin-sample{height:44px;background:var(--sample-bg);border-radius:7px;display:flex;align-items:flex-end;justify-content:space-evenly;padding:7px;border:1px solid var(--sample-soft)}
.emanuel-skin-sample i{display:block;background:var(--sample-panel);height:25px;width:27%;border-radius:4px;border-top:5px solid var(--sample-accent)}
.emanuel-choice-status{min-height:20px;font-size:13px;margin:10px 0 0;color:var(--look-muted,#576b62)}
.emanuel-choice-status.error{color:#b13d32}
html[data-emanuel-skin="nacht"] .error,html[data-emanuel-skin="ruimte"] .error,html[data-emanuel-skin="sterren"] .error{color:#ffbfb2}
.emanuel-colour-group{border:0;padding:0;margin:12px 0;display:flex;gap:8px;flex-wrap:wrap}
.emanuel-colour-group legend{font-weight:700;margin-bottom:8px}
.emanuel-colour{display:flex;align-items:center;gap:8px}
.emanuel-swatch{width:23px;height:23px;flex-shrink:0;border-radius:50%;border:1px solid #0004}
.emanuel-share{background:var(--look-soft,#ecf4ec);color:var(--look-ink,#294b40)}
.emanuel-share button{background:var(--look-panel,#fffdf5);color:var(--look-ink,#294b40);border-color:var(--look-muted,#576b62)}
.emanuel-share-state{color:var(--look-ink,#294b40)}
.tile img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;border-radius:14px;pointer-events:none}
.tile.photo{padding:4px;overflow:hidden}
.tile.photo img{position:absolute;inset:4px;width:calc(100% - 8px);height:calc(100% - 8px)}
.card-source{font:13px/1.4 system-ui,sans-serif;color:var(--look-muted,var(--muted));min-height:1.4em;margin:0 0 14px}
.aquarium-settings{max-width:1120px;margin:12px auto}
.embedded .aquarium-settings{margin:8px;border-radius:12px;padding:12px}
.embedded .emanuel-account{display:none!important}
.embedded .aquarium-settings .emanuel-editor-note{display:none}
.embedded{overflow:auto}
.embedded .tank{height:100vh;height:100dvh}
html[data-emanuel-editing="true"] .embedded .tank{height:clamp(260px,calc(100dvh - 300px),440px)}
.aquarium-save-note{font:13px system-ui,sans-serif;margin:8px 12px;color:var(--look-ink,#294b40)}
html[data-emanuel-editing="true"] .aquarium-frame{height:clamp(570px,62vw,740px)}
html[data-emanuel-editing="true"] .aquarium-frame iframe{overflow:auto}
@media(max-width:650px){.emanuel-skin-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.emanuel-editor{padding:15px}.emanuel-account{justify-content:center;padding:9px 10px;gap:7px 10px}.emanuel-account small{font-size:12px}.emanuel-colour{font-size:13px!important}.emanuel-modes button{padding:8px 12px;min-width:76px}}
@media(prefers-reduced-motion:reduce){.emanuel-editor *{transition:none!important}}
@media print{[data-emanuel-edit],.emanuel-account{display:none!important}}
