/* Hangman · stil (bygger på ../felles/spill.css) */

/* ---------- Startskjerm ---------- */
.start { padding: 24px 16px 48px; }
.start-inner { max-width: 1100px; margin: 0 auto; display: grid; gap: 28px; }
.start h1 { font-size: clamp(30px, 4.4vw, 46px); max-width: 22ch; }
.ingress { font-size: 20px; max-width: 60ch; margin: -12px 0 0; color: var(--dempet); }
.start h2 { font-size: 24px; margin-bottom: 14px; }
.trinnvalg { display: grid; gap: 18px; }
.trinngruppe h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--dempet); margin-bottom: 8px; }
.trinnknapper { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.trinnknapp { text-align: center; justify-content: center; align-content: center; }
.temavalg { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 12px; }
.temaknapp.blandet { border-color: var(--granskog); border-style: dashed; }
.stegnr { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--granskog); color: var(--papir); font-size: 18px; margin-right: 6px; vertical-align: 3px; }
.lenkeknapp { font: inherit; font-weight: 600; color: var(--granskog); background: none; border: none; padding: 8px 0; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.start section { scroll-margin-top: 16px; }
.trinnknapp, .figurknapp, .temaknapp {
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  background: var(--flate); border: 2px solid var(--stein); border-radius: var(--r);
  padding: 12px 14px; min-height: 64px; display: grid; gap: 2px; align-content: start;
}
.trinnknapp:hover, .figurknapp:hover, .temaknapp:hover { border-color: var(--granskog); }
.trinnknapp[aria-pressed="true"], .figurknapp[aria-checked="true"], .temaknapp[aria-pressed="true"] {
  border-color: var(--granskog); background: var(--granskog-lys); box-shadow: inset 0 0 0 2px var(--granskog);
}
.trinn-navn, .figur-navn { font-weight: 600; font-size: 20px; }
.trinn-om, .figur-om { font-size: 14px; color: var(--dempet); line-height: 1.35; }
.figurvalg { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.figur-emoji { font-size: 34px; line-height: 1; margin-bottom: 4px; }
.start-knapper { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Spillflate ---------- */
body.i-spill { display: flex; flex-direction: column; min-height: 100dvh; }
.spill {
  flex: 1; display: grid; gap: 12px 28px;
  padding: 12px max(16px, env(safe-area-inset-left, 0px)) 16px;
  grid-template-columns: 1fr; align-content: start;
  max-width: 1600px; width: 100%; margin: 0 auto;
}
.scene-ramme { position: relative; display: grid; justify-items: center; }
.scene {
  width: 100%; max-height: 40vh; display: block;
  border-radius: 14px; background: var(--himmel); overflow: hidden;
}
.feilteller {
  position: absolute; right: 10px; top: 8px; margin: 0;
  background: var(--flate); color: var(--grafitt); border-radius: 999px; padding: 2px 12px;
  font-weight: 600; font-size: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.ordfelt { display: grid; gap: 14px; align-content: start; min-width: 0; }
.nivaa { margin: 0; color: var(--dempet); font-size: 16px; }
.hint { margin: 0; font-size: 22px; font-weight: 600; color: var(--kobber); }

.ordet {
  --str: clamp(26px, calc((100vw - 48px) / (var(--lengst, 8) * 1.25)), 64px);
  display: flex; flex-wrap: wrap; gap: 10px calc(var(--str) * .8); justify-content: center;
  padding: 8px 0 4px; min-height: calc(var(--str) * 1.6);
}
.ordet[data-lengde="middels"] { --str: clamp(24px, calc((100vw - 48px) / (var(--lengst, 8) * 1.25)), 52px); }
.ordet[data-lengde="lang"] { --str: clamp(22px, calc((100vw - 48px) / (var(--lengst, 8) * 1.25)), 42px); }
.ord { display: inline-flex; gap: calc(var(--str) * .18); white-space: nowrap; }
.rute, .tegn {
  width: calc(var(--str) * .95); height: calc(var(--str) * 1.3);
  display: inline-grid; place-items: end center;
  font-size: var(--str); font-weight: 700; line-height: 1;
}
.rute { border-bottom: max(3px, calc(var(--str) * .08)) solid var(--grafitt); padding-bottom: 2px; }
.rute.ny { animation: poff .35s ease-out; }
.rute.mistet { color: var(--kobber); }
.tegn { width: auto; min-width: calc(var(--str) * .35); padding-bottom: 6px; }
@keyframes poff { from { transform: translateY(8px) scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }

.tastatur { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.tast {
  font: inherit; font-weight: 700; font-size: clamp(20px, 5vw, 30px);
  min-height: 52px; aspect-ratio: 1 / 1; max-height: 84px; width: 100%;
  border-radius: 10px; border: 2px solid var(--stein); background: var(--flate); color: var(--grafitt);
  cursor: pointer; touch-action: manipulation; padding: 0;
}
.tast:hover:not(:disabled) { border-color: var(--granskog); background: var(--granskog-lys); }
.tast:active:not(:disabled) { transform: scale(.95); }
.tast:disabled { cursor: default; }
.tast.riktig { background: var(--granskog); border-color: var(--granskog); color: var(--papir); }
.tast.feil { background: var(--papir); color: var(--dempet); text-decoration: line-through 3px var(--kobber); border-style: dashed; opacity: .75; }
.tast:disabled:not(.riktig):not(.feil) { opacity: .5; }

.feilbokstaver { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 36px; font-size: 17px; }
.fb-etikett { color: var(--dempet); }
.fb { font-weight: 700; color: var(--kobber); border: 2px solid var(--kobber); border-radius: 6px; padding: 0 8px; }
.fb-igjen { margin-left: auto; color: var(--dempet); }
.under-tastatur { display: flex; justify-content: flex-end; }

.resultat {
  border-radius: 14px; padding: 18px; text-align: center; display: grid; gap: 10px;
  background: var(--granskog-lys); border: 2px solid var(--granskog);
}
.resultat.tapte { background: var(--kobber-lys); border-color: var(--kobber); }
.resultat-tittel { margin: 0; font-size: 28px; font-weight: 700; }
.resultat-ord { margin: 0; font-size: clamp(24px, 4vw, 40px); font-weight: 700; letter-spacing: .04em; overflow-wrap: anywhere; }
.resultat-knapper { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Bred skjerm og smartskjerm: figur til venstre, ord og tastatur til høyre */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  .spill { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; align-content: center; }
  .scene { max-height: calc(100dvh - 120px); }
  .ordet { --str: clamp(28px, calc((50vw - 64px) / (var(--lengst, 8) * 1.25)), 72px); }
  .ordet[data-lengde="middels"] { --str: clamp(26px, calc((50vw - 64px) / (var(--lengst, 8) * 1.25)), 60px); }
  .ordet[data-lengde="lang"] { --str: clamp(22px, calc((50vw - 64px) / (var(--lengst, 8) * 1.25)), 48px); }
  .tastatur { grid-template-columns: repeat(8, 1fr); gap: 8px; }
  .tast { font-size: clamp(22px, 2.2vw, 36px); }
}
@media (min-width: 1400px) and (min-aspect-ratio: 5/4) {
  .tastatur { grid-template-columns: repeat(10, 1fr); }
}
@media (max-width: 420px) {
  .tastatur { grid-template-columns: repeat(7, 1fr); gap: 5px; }
  .topp .logo small { display: none; }
}

/* Dialog: eget ord */
.faner { display: flex; gap: 8px; }
.faner [aria-selected="true"] { background: var(--granskog); color: var(--papir); }
.med-knapp { display: flex; gap: 8px; }
.med-knapp input { flex: 1; min-width: 0; letter-spacing: .08em; text-transform: uppercase; }
.feilmelding { color: var(--kobber); font-weight: 600; margin: 0; min-height: 1em; }

/* ---------- Scenene (SVG) ---------- */
.scene .himmel { fill: var(--himmel); }
.scene .natt { fill: #1D2B45; }
.scene .stjerne-himmel circle { fill: #FFF6D8; }
.scene .maane { fill: #F3E9C6; }
.scene .gress { fill: var(--gress); }
.scene .solen { fill: var(--sol); }
.scene .sky ellipse { fill: #FFFFFF; opacity: .9; }
:root[data-theme="dark"] .scene .sky ellipse { opacity: .25; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .scene .sky ellipse { opacity: .25; } }

.scene .s, .scene .s-tynn, .scene .t {
  stroke: var(--mf, var(--figur-strek)); fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.scene .s { stroke-width: 4; }
.scene .s-tynn { stroke: var(--figur-strek); stroke-width: 2; }
.scene .t { stroke-width: 2.2; }
.scene .hode { fill: var(--hode); }
.scene .oyne circle { fill: var(--mf, var(--figur-strek)); }
.scene .kinn circle { fill: #E9867A; opacity: .8; }
.scene .munn, .scene .oyne-lukket, .scene .kinn, .scene .pytt { display: none; }
.scene .mann[data-fjes="nøytral"] .m-nøytral,
.scene .mann[data-fjes="glad"] .m-glad,
.scene .mann[data-fjes="lukket"] .m-glad,
.scene .mann[data-fjes="lei"] .m-lei,
.scene .mann[data-fjes="oi"] .m-oi { display: inline; }
.scene .mann[data-fjes="lukket"] .oyne { display: none; }
.scene .mann[data-fjes="lukket"] .oyne-lukket { display: inline; }
.scene .mann.flau .kinn { display: inline; }
.scene .skjul { display: none; }
.scene .del-skjult { display: none; }

/* Bevegelser for strekmannen */
.scene .ben-v, .scene .ben-h, .scene .arm-v, .scene .arm-h { transform-origin: 0 -24px; }
.scene .arm-v, .scene .arm-h { transform-origin: 0 -46px; }
.scene .loper .ben-v { animation: ben 0.32s ease-in-out infinite alternate; }
.scene .loper .ben-h { animation: ben 0.32s ease-in-out infinite alternate-reverse; }
.scene .loper .arm-v { animation: arm 0.32s ease-in-out infinite alternate; }
.scene .loper .arm-h { animation: arm 0.32s ease-in-out infinite alternate-reverse; }
@keyframes ben { from { transform: rotate(-28deg); } to { transform: rotate(28deg); } }
@keyframes arm { from { transform: rotate(-40deg); } to { transform: rotate(40deg); } }
.scene .vinker .arm-h { animation: vink .3s ease-in-out infinite alternate; }
@keyframes vink { from { transform: rotate(-150deg); } to { transform: rotate(-100deg); } }
.scene .armer-opp .arm-h { transform: rotate(-120deg); }
.scene .armer-opp .arm-v { transform: rotate(120deg); }
.scene .vrir { transform-origin: 0 0; animation: vrir .5s ease-in-out infinite alternate; }
.scene .vrir .ben-v { transform: rotate(-12deg) translateX(6px); }
.scene .vrir .ben-h { transform: rotate(12deg) translateX(-6px); }
.scene .vrir .arm-v { transform: rotate(-30deg); }
.scene .vrir .arm-h { transform: rotate(30deg); }
.scene .vrir-mye { animation-duration: .18s; }
@keyframes vrir { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
.scene .pytt { fill: var(--gul); opacity: .85; }
.scene .pytt-vokser .pytt { display: inline; transform-origin: 0 2px; animation: pytt 1.4s ease-out forwards; }
@keyframes pytt { from { transform: scale(0); } to { transform: scale(1); } }

/* Dinosauren */
.scene .f-dino { fill: var(--dino); }
.scene .f-dino-m { fill: var(--dino-mork); }
.scene .s-dino { stroke: var(--dino-mork); stroke-width: 7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.scene .f-mage { fill: #CFE3B5; }
.scene .f-pigg { fill: var(--sol); }
.scene .f-tann { fill: none; stroke: #FFFFFF; stroke-width: 2; stroke-linejoin: round; }
.scene .f-nese { fill: var(--dino-mork); }
.scene .f-oye { fill: #FFFFFF; stroke: var(--dino-mork); stroke-width: 2; }
.scene .f-pupill { fill: #202824; }
.scene .dino-sover { stroke: #202824; }
.scene .zzz { font: 700 16px var(--font); fill: var(--figur-strek); opacity: .7; }

/* Berg-og-dalbanen */
.scene .s-skinne { stroke: var(--rod); stroke-width: 6; fill: none; stroke-linecap: round; }
.scene .s-stotte { stroke: var(--metall-mork); stroke-width: 4; fill: none; stroke-linecap: round; }
.scene .f-plattform { fill: var(--metall-mork); }
.scene .f-tak { fill: var(--blaa); }
.scene .f-vogn { fill: var(--sol); stroke: #202824; stroke-width: 2; }
.scene .f-hjul { fill: #2B2F33; }

/* Flyet */
.scene .f-rullebane { fill: #6E7377; }
.scene .f-fly { fill: #FFFFFF; stroke: #8E979E; stroke-width: 2; }
.scene .f-hale, .scene .f-stripe { fill: var(--blaa); }
.scene .f-vinge { fill: #B7C0C7; stroke: #8E979E; stroke-width: 2; }
.scene .f-vindu, .scene .f-vindu circle { fill: #7FB3D5; }
.scene .f-dor-aapen { fill: #2B2F33; }
.scene .f-fly-dor { fill: #E8ECEF; stroke: #8E979E; stroke-width: 2; }
.scene .f-trapp { fill: #B7C0C7; }
.scene .logo-tekst { font: 700 11px var(--font); fill: var(--blaa); letter-spacing: .08em; }
.scene .f-koffert { fill: var(--kobber); }

/* Raketten */
.scene .f-rakett { fill: #F4F4F0; stroke: #8E979E; stroke-width: 2; }
.scene .f-rod { fill: var(--rod); }
.scene .f-metall-m { fill: var(--metall-mork); }
.scene .s-tarn { stroke: var(--metall); stroke-width: 4; fill: none; stroke-linecap: round; }
.scene .f-flamme-y { fill: #F29E38; }
.scene .f-flamme-i { fill: #FCE38A; }
.scene .flakker { transform-origin: 300px 270px; animation: flakker .12s ease-in-out infinite alternate; }
@keyframes flakker { from { transform: scaleY(.85); } to { transform: scaleY(1.15); } }
.scene .f-royk { fill: #D7D7D2; }
.scene .f-hode { fill: #FFFFFF; stroke: #202824; stroke-width: 2; }
.scene[data-figur="rakett"] .gress { fill: #4C5B4A; }
.scene[data-figur="rakett"] { --figur-strek: #F1EEE6; --hode: #2A3530; }

/* Tissedoen */
.scene .vegg-bak { fill: var(--vegg); }
.scene .f-gulv { fill: #C9B79C; }
.scene .f-flis { fill: var(--flis); stroke: #C6C6BE; }
.scene .f-porselen { fill: #FFFFFF; stroke: #9AA3A8; stroke-width: 2; }
.scene .f-porselen-m { fill: #E3E7EA; stroke: #9AA3A8; stroke-width: 2; }
.scene .f-vegg { fill: #8DA9B5; }
.scene .f-dor { fill: #A9C4CF; stroke: #6F8C99; stroke-width: 2; }
.scene .f-skilt { fill: var(--blaa); }
.scene .skilt-tekst { font: 700 16px var(--font); fill: #FFFFFF; text-anchor: middle; }
.scene .f-ledig { fill: #3F8A5A; }
.scene .f-opptatt { fill: var(--rod); }
.scene .skilt-liten { font: 700 8.5px var(--font); fill: #FFFFFF; text-anchor: middle; letter-spacing: .04em; }
.scene .s-tiss { stroke: var(--gul); stroke-width: 3; fill: none; stroke-dasharray: 6 5; stroke-linecap: round; }
.scene .renner { animation: renner .3s linear infinite; }
@keyframes renner { to { stroke-dashoffset: -11; } }
.scene .boble-fast rect { fill: #FFFFFF; stroke: #202824; stroke-width: 2; }
.scene .boble-fast text { font: 700 17px var(--font); fill: #202824; text-anchor: middle; }

/* Snakkebobler og lydord */
.scene .boble rect { fill: #FFFFFF; stroke: #202824; stroke-width: 2; }
.scene .boble text { font: 700 18px var(--font); fill: #202824; text-anchor: middle; }
.scene .lydord { font: 800 40px var(--font); fill: var(--sol); stroke: #202824; stroke-width: 2; paint-order: stroke; text-anchor: middle; }
.scene .svimmel text { font: 700 14px var(--font); fill: var(--sol); }
.scene .svimmel .roter { animation: roter 1.2s linear infinite; }
@keyframes roter { to { transform: rotate(360deg); } }

/* ---------- Tilbehør på strekmannen ---------- */
.scene .pysj, .scene .brett, .scene .hjelm, .scene .nattlue { display: none; }
.scene .i-pysj .pysj, .scene .i-pysj .nattlue, .scene .med-brett .brett, .scene .med-hjelm .hjelm { display: inline; }
.scene .pysj rect { fill: #9BB7D9; }
.scene .pysj path { stroke: #FFFFFF; stroke-width: 2; }
.scene .nattlue { fill: #9BB7D9; }
.scene .brett rect { fill: #C9A97A; stroke: #5C4A30; stroke-width: 1.5; }
.scene .brett path { stroke: #5C4A30; stroke-width: 1.2; }
.scene .hjelm { fill: var(--sol); stroke: #202824; stroke-width: 2; }
.scene .blink { animation: blink .6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.scene .rod-tekst { fill: #D2453A !important; }
.scene .lydord-liten { font: 800 26px var(--font); fill: var(--sol); stroke: #202824; stroke-width: 1.5; paint-order: stroke; }

/* Klassisk hangman på tavle */
.scene .tavle { fill: #2E4A3E; }
.scene .kritt path, .scene .kritt circle { fill: none; stroke: #F1EEE6; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.scene .kritt-fjes path { stroke-width: 3; display: none; }
.scene #kritt-mann:not([data-fjes]) .f-nøytral, .scene #kritt-mann[data-fjes="glad"] .f-glad, .scene #kritt-mann[data-fjes="lei"] .f-lei { display: inline; }

/* ---------- Ungdomstrinnet ---------- */
.scene .rom { fill: #E6E2DA; }
.scene .f-bord { fill: #9C8468; }
.scene .f-mobil { fill: #23272B; }
.scene .f-skjerm { fill: #F4F5F7; }
.scene .mob-liten { font: 600 9px var(--font); fill: #202824; }
.scene .mob-liten-l { font: 400 9px var(--font); fill: #55605A; }
.scene .mob-navn { font: 700 12px var(--font); fill: #202824; }
.scene .s-bat { fill: none; stroke: #202824; stroke-width: 1.5; }
.scene .f-bat-pol { fill: #202824; }
.scene .f-bat { fill: #3F8A5A; }
.scene .f-bat-lav { fill: #D2453A; }
.scene .f-chathode { fill: #E3E7EC; }
.scene .chat-inn rect { fill: #E3E7EC; }
.scene .chat-inn text, .scene .chat-ut text { font: 400 9.5px var(--font); fill: #202824; }
.scene .chat-inn circle { fill: #8E979E; }
.scene .chat-ut rect { fill: #4D7EA8; }
.scene .chat-ut text { fill: #FFFFFF; }
.scene .f-varsel { fill: #FFFFFF; stroke: #D2453A; stroke-width: 1.5; }
.scene .mob-varsel { font: 700 10px var(--font); fill: #D2453A; }
.scene .mob-varsel-l { font: 400 9px var(--font); fill: #202824; }
.scene .f-dimme { fill: #000000; opacity: .25; }
.scene .f-svart { fill: #0B0C0D; }
.scene .s-bat-tom { fill: none; stroke: #8E979E; stroke-width: 2; }
.scene .s-kabel { stroke: #F4F5F7; stroke-width: 5; fill: none; }
.scene .f-plugg { fill: #F4F5F7; stroke: #8E979E; }
.scene .f-lyn { fill: #3F8A5A; }

.scene .soverom { fill: #D9DCE6; }
.scene .f-gulvtre { fill: #B08D64; }
.scene .f-vindu-himmel { fill: #F6D9A8; }
.scene .f-vegg-dekk { fill: #D9DCE6; }
.scene .s-ramme { stroke: #FFFFFF; stroke-width: 5; }
.scene .f-dor-rom { fill: #EDE7DC; stroke: #A79C8A; stroke-width: 2; }
.scene .f-lapp { fill: #F7E27A; }
.scene .lapp-tekst { font: 700 10px var(--font); fill: #202824; }
.scene .f-seng { fill: #7A5C43; }
.scene .f-pute { fill: #FFFFFF; stroke: #C9CED3; }
.scene .f-dyne { fill: #6C8EBF; stroke: #4E6E9C; stroke-width: 2; }
.scene .f-nattbord { fill: #8E6E52; }
.scene .f-klokke { fill: #202824; }
.scene .klokke-tekst { font: 700 15px ui-monospace, Menlo, monospace; fill: #FF5A4E; }
.scene .snooze-ord { font: 800 14px var(--font); fill: #4D7EA8; letter-spacing: .1em; }
.scene .f-klasserom { fill: #EFE9DD; }
.scene .f-tavle-k { fill: #2E4A3E; }
.scene .tavle-tekst { font: 700 22px var(--font); fill: #F1EEE6; }
.scene .f-pult { fill: #A98762; }
.scene .zzz { font: 700 16px var(--font); fill: var(--figur-strek); opacity: .7; }

.scene .f-asfalt { fill: #8C9196; }
.scene .f-mur { fill: #B9B3A8; }
.scene .grafitti { font: 900 34px var(--font); fill: #D2453A; stroke: #202824; stroke-width: 2; paint-order: stroke; letter-spacing: .06em; font-style: italic; }
.scene .f-busk { fill: #4F8A4A; }
.scene .f-rampe { fill: #C9A97A; stroke: #8A6E47; stroke-width: 2; }
.scene .s-coping { stroke: #6E7377; stroke-width: 6; stroke-linecap: round; }
.scene .s-rekkverk { stroke: #4C555C; stroke-width: 4; fill: none; stroke-linecap: round; }
.scene .f-brett { fill: #2B2F33; }

.scene .f-avatar { fill: #9CC08A; }
.scene .f-skrivefelt { fill: #FFFFFF; stroke: #C9CED3; }
.scene .mob-skriv { font: 400 9.5px var(--font); fill: #202824; }
.scene .f-send { fill: #4D7EA8; }
.scene .s-send { stroke: #FFFFFF; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.scene .f-hud { fill: #E8B996; stroke: #B98A66; }

.scene .kantine { fill: #EDE8DE; }
.scene .f-flisvegg { fill: #DCE5E2; }
.scene .f-skilt-k { fill: #234B40; }
.scene .skilt-k-tekst { font: 800 16px var(--font); fill: #F8F6F0; letter-spacing: .12em; }
.scene .meny-tekst { font: 600 12px var(--font); fill: #F1EEE6; }
.scene .f-disk { fill: #B9C2C8; }
.scene .f-disk-topp { fill: #8E979E; }
.scene .f-brett-k { fill: #C9CED3; }
.scene .f-pizza { fill: #F2C14E; stroke: #C8553D; stroke-width: 2; stroke-linejoin: round; }
.scene .f-pepperoni { fill: #C8553D; }
.scene .f-skaal { fill: #FFFFFF; stroke: #8E979E; stroke-width: 2; }
.scene .f-suppe { fill: #7FA35A; }
.scene .s-damp { stroke: #A9B3AD; stroke-width: 2; fill: none; stroke-linecap: round; }

/* ---------- Videregående ---------- */
.scene .s-veistripe { stroke: #F1EEE6; stroke-width: 3; stroke-dasharray: 24 18; }
.scene .parkert-bil rect { fill: #A9B3AD; }
.scene .parkert-bil .f-hjul { fill: #2B2F33; }
.scene .f-kjegle { fill: #E8783A; stroke: #FFFFFF; stroke-width: 1.5; }
.scene .f-bil { fill: #3E6A8A; }
.scene .f-bil-m { fill: #2C4E66; }
.scene .f-bilvindu { fill: #CFE3EC; }
.scene .f-hode-bil { fill: #FFFFFF; stroke: #202824; stroke-width: 2; }
.scene .f-lykt { fill: #F7E27A; }
.scene .f-baklykt { fill: #D2453A; }
.scene .f-tskilt { fill: #FFFFFF; stroke: #D2453A; stroke-width: 2; }
.scene .tskilt-tekst { font: 800 9px var(--font); fill: #D2453A; letter-spacing: .08em; }
.scene .f-kort { fill: #F3E3E6; stroke: #B67D8A; stroke-width: 2; }
.scene .f-kort-bilde { fill: #C9CED3; }
.scene .kort-tittel { font: 800 12px var(--font); fill: #7A3B4A; }
.scene .kort-tekst { font: 600 11px var(--font); fill: #202824; }

.scene .f-betong { fill: #A3A6A8; }
.scene .f-tre { fill: #D8B47E; }
.scene .f-tre-m { fill: #B98E58; }
.scene .s-takstol { stroke: #B98E58; stroke-width: 5; fill: none; stroke-linejoin: round; }
.scene .f-undertak { fill: #3A3F44; }
.scene .f-kledning { fill: #C65D45; }
.scene .s-kledning { stroke: #A44C38; stroke-width: 1.5; }
.scene .s-karm { stroke: #FFFFFF; stroke-width: 3; }
.scene .f-dor-hus { fill: #F1EEE6; stroke: #FFFFFF; stroke-width: 2; }
.scene .f-takplate { fill: #3A3F44; }
.scene .s-stang { stroke: #8E979E; stroke-width: 2; }
.scene .f-flagg-r { fill: #BA0C2F; }
.scene .f-flagg-h { fill: #FFFFFF; }
.scene .f-flagg-b { fill: #00205B; }
.scene .s-krans { fill: none; stroke: #3E7A3A; stroke-width: 6; }
.scene .f-avvik { fill: #D2453A; }
.scene .avvik-tekst { font: 800 12px var(--font); fill: #FFFFFF; letter-spacing: .1em; }

.scene .leilighet { fill: #E9E4DA; }
.scene .f-eske { fill: #C9A06A; }
.scene .s-eske { stroke: #8A6E47; stroke-width: 2; }
.scene .eske-tekst { font: 800 11px var(--font); fill: #5C4A30; }
.scene .f-bilde { fill: #CFE3EC; stroke: #5C4A30; stroke-width: 3; }
.scene .s-fjell { stroke: #4E6E5A; stroke-width: 2.5; fill: none; }
.scene .f-bakplate { fill: #D9CBB5; }
.scene .f-plate { fill: #F2EDE4; stroke: #A79C8A; stroke-width: 1.5; }
.scene .f-bok1 { fill: #4D7EA8; } .scene .f-bok2 { fill: #C8553D; } .scene .f-bok3 { fill: #3F8A5A; }
.scene .f-potte { fill: #B26B47; }
.scene .s-plante { stroke: #4F8A4A; stroke-width: 3; fill: none; stroke-linecap: round; }
.scene .f-skrue { fill: #8E979E; stroke: #4C555C; }

.scene .rom-kveld { fill: #3A4152; }
.scene .f-urskive { fill: #F4F5F7; stroke: #202824; stroke-width: 3; }
.scene .ur-tekst { font: 800 15px ui-monospace, Menlo, monospace; fill: #202824; }
.scene .f-pultbord { fill: #8E6E52; }
.scene .f-lampe { fill: none; stroke: #C9CED3; stroke-width: 4; }
.scene .f-lampeskjerm { fill: #F2C14E; }
.scene .f-kopp { fill: #F4F5F7; }
.scene .s-hank { fill: none; stroke: #F4F5F7; stroke-width: 3; }
.scene .f-pc { fill: #2B2F33; }
.scene .f-pc-fot { fill: #4C555C; }
.scene .f-pc-skjerm { fill: #FFFFFF; }
.scene .s-dok { stroke: #A9B3AD; stroke-width: 3; stroke-linecap: round; }
.scene .f-lever { fill: #3F8A5A; }
.scene .pc-liten-h { font: 700 8.5px var(--font); fill: #FFFFFF; }
.scene .f-levert { fill: #3F8A5A; }
.scene .s-hake { stroke: #FFFFFF; stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.scene .f-oppdatering { fill: #1F5FA8; }
.scene .pc-mini { font: 400 7px var(--font); fill: #FFFFFF; }
.scene .f-progress-bg { fill: #6C93C4; }
.scene .f-progress { fill: #FFFFFF; }
.scene[data-figur="innlevering"] { --figur-strek: #F1EEE6; --hode: #3A4152; }

.scene .butikk { fill: #E6E8E4; }
.scene .saldo { font: 800 20px var(--font); fill: #202824; }
.scene .trekk { font: 400 9.5px var(--font); fill: #202824; }
.scene .trekk-belop { font: 700 9.5px var(--font); fill: #D2453A; }
.scene .f-lonn { fill: #3F8A5A; }
.scene .trekk-hvit { font: 700 10px var(--font); fill: #FFFFFF; }
.scene .f-terminal { fill: #2B2F33; }
.scene .f-term-skjerm { fill: #9FB3BF; }
.scene .f-term-ok { fill: #3F8A5A; }
.scene .f-term-nei { fill: #D2453A; }
.scene .term-tekst { font: 700 6.5px var(--font); fill: #FFFFFF; }
.scene .f-vare { fill: #C8553D; } .scene .f-vare2 { fill: #4D7EA8; } .scene .f-vare3 { fill: #F2C14E; }
