/* TOMRI SKJERM – kontrollrom for digital skilting.
   Én ting skiller seg ut: skjermveggen. Resten er stille og disiplinert. */
:root {
  --paper: #EEF1F3;      /* kjølig lys bakgrunn */
  --panel: #FFFFFF;
  --ink: #18232E;        /* dyp skifer */
  --ink-2: #4A5866;
  --muted: #74818E;
  --rule: #D8DEE3;
  --cobalt: #2B4ACB;     /* handlinger */
  --cobalt-soft: #E6EBFB;
  --signal: #0F7B6C;     /* spiller / tilkoblet */
  --signal-soft: #DDF0EC;
  --amber: #C77C02;      /* venter */
  --amber-soft: #FBEFD9;
  --fault: #B4232C;      /* feil / frakoblet */
  --fault-soft: #F8E1E2;
  --bezel: #000000;      /* bare skjermrammene er ekte svarte */
  --display: "Bahnschrift", "DIN Alternate", "D-DIN", "Roboto Condensed", "Arial Narrow", sans-serif;
  --text: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r-s: 4px; --r-m: 8px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--paper); color: var(--ink); font: 14px/1.5 var(--text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, .num, .rail, .btn, .tab { font-family: var(--display); }
h1 { font-size: 28px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
h2 { font-size: 18px; font-weight: 600; margin: 0; }
h3 { font-size: 15px; font-weight: 600; margin: 0 0 8px; color: var(--ink-2); }
p { margin: 0 0 8px; }
a { color: var(--cobalt); }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ------------------------------------------------ fjernkontroll */
.rc { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 16px; align-items: start; }
/* Hele skjermbildet skal alltid synes: skaleres ned til bredden og til vinduets høyde, uansett format */
.rc-frame { background: var(--bezel); border-radius: var(--r-m); display: flex; align-items: center; justify-content: center;
  min-height: 220px; overflow: hidden; position: relative; }
/* Boksen har skjermens faktiske format (settes i JS); bildet strekkes til den (object-fit: fill) og kan roteres */
.rc-box { position: relative; overflow: hidden; }
.rc-box img { position: absolute; left: 50%; top: 50%; object-fit: fill; transform-origin: center; }
.rc-frame:fullscreen { border-radius: 0; }
.rc-full { position: absolute; top: 8px; right: 8px; opacity: .75; }
.rc-full:hover { opacity: 1; }
.rc-frame img:not([src]) { display: none; }
.rc-frame p { color: #9FB0BE; position: absolute; inset: 0; display: grid; place-items: center; margin: 0; }
/* Ekte Samsung-fjernkontroll (knappebilder over et fjernkontroll-bilde) – se block nederst i fila */
/* «Flyter» med når man scroller, så den holder seg øverst og ikke tar så mye plass under */
.rc-pad { display: flex; flex-direction: column; align-items: center; padding-top: 14px;
  position: sticky; top: 16px; align-self: start; }
.rc-pad > p, .rc-pad > .row { align-self: stretch; text-align: center; }
.remote_control .rc-key:focus-visible { outline: 2px solid #35b1e7; outline-offset: 1px; }
.rc.rc-inactive .remote_control { opacity: .45; }
.rc.rc-inactive .remote_control .rc-key { pointer-events: none; cursor: default; }
@media (max-width: 1100px) { .rc { grid-template-columns: 1fr; } .rc-pad { position: static; max-height: none; } }

/* ------------------------------------------------ innlogging */
.login { min-height: 100%; display: grid; place-items: center; padding: 24px;
  background: linear-gradient(var(--paper), var(--paper)) padding-box; }
.login-card { width: min(360px, 100%); background: var(--panel); border: 1px solid var(--rule);
  border-radius: var(--r-m); padding: 32px; display: grid; gap: 14px; }
.login-card h1 { font-size: 26px; text-align: center; }
.login-card label { display: grid; gap: 4px; font-weight: 600; font-size: 13px; }
.login-error { color: var(--fault); min-height: 1.2em; margin: 0; }
/* Logo: logo-lys.png på lys bakgrunn (innlogging), logo-mork.png på mørk bakgrunn (menyen) */
.login-logo { display: block; width: 114px; height: auto; justify-self: center; margin: 0 auto; }

/* ------------------------------------------------ skall */
.shell { display: grid; grid-template-columns: 200px 1fr; min-height: 100vh; }
.rail { background: var(--ink); color: #C9D2DA; display: flex; flex-direction: column; padding: 18px 10px;
  gap: 2px; position: sticky; top: 0; height: 100vh; }
.rail a { color: inherit; text-decoration: none; padding: 8px 12px; border-radius: var(--r-s); font-size: 15px; }
.rail a:hover { background: rgba(255,255,255,.06); color: #fff; }
.rail a.active { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 3px 0 0 var(--signal); }
/* NRK core-icons: følger tekstfargen (currentColor) */
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: none; }
.rail a[data-nav] { display: flex; align-items: center; gap: 11px; }
.rail a[data-nav] .ico { width: 20px; height: 20px; opacity: .8; }
.rail a[data-nav].active .ico, .rail a[data-nav]:hover .ico { opacity: 1; }
.rail .brand { font-size: 17px; font-weight: 700; color: #fff; padding: 4px 12px 18px; display: grid; gap: 10px; justify-items: center; text-align: center; }
.brand-logo { display: block; width: 71px; height: auto; }
/* Egen kontorlogo: bredden settes i JS til teksten «TOMRI SKJERM»; her holder vi høyden i tømme */
.brand-logo.custom { height: auto; max-height: 96px; object-fit: contain; }
.rail .brand:hover { background: none; }
.rail-foot { margin-top: auto; display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); }
.linkish { background: none; border: 0; color: #9FB0BE; text-align: left; padding: 6px 12px; cursor: pointer;
  font: 13px var(--text); border-radius: var(--r-s); }
.linkish:hover { color: #fff; }
main { padding: 28px 32px 64px; min-width: 0; outline: none; }
.page-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head .grow { flex: 1; }
.page-head p { margin: 4px 0 0; }

/* ------------------------------------------------ knapper og skjema */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--rule); background: var(--panel);
  color: var(--ink); padding: 7px 14px; border-radius: var(--r-s); font-size: 14px; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--ink-2); }
.btn.primary { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.btn.primary:hover { background: #2240b4; }
.btn.danger { color: var(--fault); }
.btn.danger:hover { border-color: var(--fault); }
.btn.small { padding: 4px 10px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: default; }
/* NRK core-design-knapper – gjelder ALLE knapper unntatt fjernkontrollen (.rc-key) */
.btn:not(.rc-key) { background: transparent; border: 1px solid #b6b3b4; color: #131317; padding: 10px 20px;
  border-radius: 4px; font-weight: 700; letter-spacing: .01em; }
.btn:not(.rc-key):hover:not(:disabled) { background: rgba(12,54,108,.06); border-color: #8f8c8d; }
.btn:not(.rc-key):focus-visible, .btn:not(.rc-key):active:not(:disabled) { outline: none; box-shadow: 0 0 0 3px #35b1e7; }
.btn.primary:not(.rc-key) { background: #b2cff5; border-color: #b2cff5; color: #012738; }
.btn.primary:not(.rc-key):hover:not(:disabled) { background: #a2c4f1; border-color: #a2c4f1; }
.btn.secondary:not(.rc-key) { background: #0c366c; border-color: #0c366c; color: #d4eefc; }
.btn.secondary:not(.rc-key):hover:not(:disabled) { background: #0a2e5c; border-color: #0a2e5c; }
.btn.danger:not(.rc-key) { background: transparent; border-color: #d9a7aa; color: var(--fault); }
.btn.danger:not(.rc-key):hover:not(:disabled) { background: var(--fault-soft); border-color: var(--fault); }
.btn.small:not(.rc-key) { padding: 6px 13px; font-size: 13px; }
.btn:not(.rc-key):disabled { background: #eef5ff; border-color: #eef5ff; color: rgba(19,19,23,.77); cursor: not-allowed; opacity: 1; }
.btn:not(.rc-key) .ico { width: 18px; height: 18px; }
.icon-btn { background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px 8px; }
input, select, textarea { font: inherit; color: inherit; border: 1px solid var(--rule); border-radius: var(--r-s);
  padding: 7px 9px; background: #fff; min-width: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--cobalt); outline: none; box-shadow: 0 0 0 3px var(--cobalt-soft); }
input[type=checkbox] { accent-color: var(--cobalt); }
input[type=color] { width: 100%; height: 38px; padding: 3px; cursor: pointer; }
input[type=range] { accent-color: var(--cobalt); padding: 0; border: 0; }
.field { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { font-weight: 400; color: var(--ink); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.search { width: 240px; }
.seg { display: inline-flex; border: 1px solid var(--rule); border-radius: var(--r-s); overflow: hidden; }
.seg button { border: 0; background: var(--panel); padding: 6px 12px; cursor: pointer; font: 13px var(--display); color: var(--ink-2); }
.seg button + button { border-left: 1px solid var(--rule); }
.seg button[aria-pressed=true] { background: var(--ink); color: #fff; }
.days { display: inline-flex; gap: 4px; }
.days label { display: inline-grid; place-items: center; width: 38px; height: 30px; border: 1px solid var(--rule);
  border-radius: var(--r-s); cursor: pointer; font: 13px var(--display); background: #fff; }
.days input { position: absolute; opacity: 0; pointer-events: none; }
.days label:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.days label:has(input:focus-visible) { outline: 2px solid var(--cobalt); outline-offset: 2px; }

/* ------------------------------------------------ flater */
.panel { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-m); padding: 18px 20px; }
.panel + .panel { margin-top: 16px; }
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.panel-head h2 { flex: 1; }
.split { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: start; }
.columns { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
.empty { padding: 36px 16px; text-align: center; color: var(--muted); }
.empty strong { display: block; color: var(--ink); font-family: var(--display); font-size: 16px; margin-bottom: 4px; }

table { width: 100%; border-collapse: collapse; }
th { text-align: left; font: 600 12.5px var(--text); color: var(--muted); padding: 6px 10px; border-bottom: 1px solid var(--rule); }
td { padding: 9px 10px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tr.click { cursor: pointer; }
tr.click:hover td { background: #F6F8F9; }
td.actions { text-align: right; white-space: nowrap; }

/* status */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.led { width: 8px; height: 8px; border-radius: 50%; background: #9AA6B1; flex: none; }
.led.on { background: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
.led.wait { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.led.off { background: var(--fault); box-shadow: 0 0 0 3px var(--fault-soft); }
.chip { display: inline-block; padding: 1px 8px; border-radius: 99px; background: #E9EDF0; color: var(--ink-2); font-size: 12px; margin: 1px 2px 1px 0; }
.chip.ok { background: var(--signal-soft); color: var(--signal); }
.chip.wait { background: var(--amber-soft); color: #8a5600; }
.chip.bad { background: var(--fault-soft); color: var(--fault); }

/* ------------------------------------------------ skjermveggen */
.wall-group + .wall-group { margin-top: 26px; }
.wall-group h3 { display: flex; gap: 10px; align-items: baseline; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(166px, 1fr)); gap: 18px 14px; }
.unit { cursor: pointer; text-align: left; background: none; border: 0; padding: 0; font: inherit; color: inherit; }
.unit:focus-visible { outline: none; }
.unit:focus-visible .bezel { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.bezel { position: relative; aspect-ratio: var(--ar, 16 / 9); background: var(--bezel); border-radius: 5px; padding: 6px 6px 11px;
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 6px 14px -8px rgba(24,35,46,.55); transition: transform .15s; }
.unit:hover .bezel { transform: translateY(-2px); }
.unit.portrait .bezel { width: 56%; margin: 0 auto; }   /* stående skjerm: smalere, så raden ikke blir for høy */
.glass { position: absolute; inset: 6px 6px 11px; overflow: hidden; border-radius: 1px; background: #0c1116;
  display: grid; place-items: center; color: #8695A3; font: 12px var(--display); text-align: center; padding: 6px; }
/* Bare bakgrunns-innholdet (direkte barn) dekker hele glasset – ikke de nestede ikon-PNG-ene */
.glass > img, .glass > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.glass .cap { position: relative; z-index: 1; }
/* Stort, midtstilt inngangs-ikon som fyller skjermkortet */
.srcbig { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  text-align: center; font: 800 14px var(--display); letter-spacing: .03em; text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,.65); background: rgba(9,13,18,.62); }
.srcbig .srcsvg { width: 46%; max-width: 76px; height: auto; filter: drop-shadow(0 2px 5px rgba(0,0,0,.5)); }
/* Alle PNG-ikoner er like store, kvadratiske lerret – samme boks gir lik visuell størrelse og midtstilling */
.srcbig .srcpng { width: 50%; max-width: 104px; aspect-ratio: 1 / 1; height: auto; object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.5)); }
.srcbig.magic { color: #34D399; }    /* MagicInfo = grønn */
.srcbig.ext { color: #F6C35A; }       /* ekstern inngang = gul */
.srcbig.offline { color: #eca2a6; }   /* frakoblet = rødlig */
.srcbig.off { color: #9aa0a8; }       /* panel av = dempet */
/* Bare selve inngangs-ikonet dempes når skjermen er av/frakoblet – ikke tilstands-ikonet */
.unit.offline .srcbig.magic, .unit.offline .srcbig.ext { opacity: .5; filter: grayscale(.5); }
.unit.off .srcbig.magic, .unit.off .srcbig.ext { opacity: .3; }
/* Lite statusmerke nederst (frakoblet/av) ved siden av det store ikonet */
.glass-status { position: absolute; bottom: 4px; left: 0; right: 0; z-index: 3; text-align: center;
  font: 600 10px var(--display); color: #e7ced0; background: rgba(0,0,0,.4); padding: 1px 0; }
.glass .ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: rgba(0,0,0,.65); color: #fff;
  font-size: 10px; white-space: nowrap; overflow: hidden; padding: 1px 0; }
.glass .ticker span { display: inline-block; padding-left: 100%; animation: tick 14s linear infinite; }
@keyframes tick { to { transform: translateX(-100%); } }
/* Hold musepekeren over kortet -> detaljer (status, tidsplan, spilleliste nå) */
/* Vises over skjermen, top-justert kompakt nøkkel/verdi-tabell, så alle radene – inkl. IP og
   MAC – får plass inne i skjermen uten å dekke navnet under. */
.glass-info { position: absolute; inset: 0; z-index: 6; display: grid; align-content: center; gap: 3px;
  padding: 5px 8px; border-radius: 5px; background: rgba(6,10,14,.95); backdrop-filter: blur(3px);
  opacity: 0; transform: scale(1.02); pointer-events: none; overflow: hidden;
  transition: opacity .14s ease, transform .14s ease; }
.unit:hover .glass-info, .unit:focus-visible .glass-info { opacity: 1; transform: none; }
.glass-info dl { margin: 0; width: 100%; display: grid; grid-template-columns: max-content minmax(0, 1fr);
  gap: 1px 8px; align-content: start; align-items: baseline; }
.glass-info .gi-net { margin-top: 3px; padding-top: 3px; border-top: 1px solid rgba(255,255,255,.09); }
.glass-info dt { font: 700 7.5px var(--display); letter-spacing: .03em; text-transform: uppercase; color: #8097ac; white-space: nowrap; }
.glass-info dd { margin: 0; min-width: 0; font: 600 9.5px var(--display); line-height: 1.22; color: #eaf1f8;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.glass-info dd.mono { font-family: Consolas, ui-monospace, monospace; font-size: 9px; letter-spacing: -.2px; }
.glass-info dd.st-live { color: #52e0a6; } .glass-info dd.st-offline { color: #ff9a9f; }
.glass-info dd.st-off { color: #c3cad3; } .glass-info dd.st-pending, .glass-info dd.st-limited { color: #f3c969; }
.unit.off .glass { background: #050607; }
/* Frakoblet skjerm: tydelig rød ramme, rødt lys og dempet bilde */
.unit.offline .bezel { box-shadow: 0 0 0 2px var(--fault), 0 6px 14px -8px rgba(180,35,44,.5); opacity: .9; }
.unit.offline .power-led { background: var(--fault); box-shadow: 0 0 5px 1px var(--fault); }
.unit.offline .unit-meta b { color: var(--fault); }
.unit.offline .glass > img { filter: grayscale(1) brightness(.3); }  /* bare bakgrunns-innhold, ikke tilstands-ikonet */
.unit.offline .glass { background: #140a0b; }
/* Inngang-tekst i liste-visningen */
.small.src-magic { color: #0F7B6C; font-weight: 600; }
/* Lagrings-framdriftssøyle */
.storagebar { margin-top: 4px; }
.storagebar .track { height: 7px; border-radius: 999px; background: var(--rule); overflow: hidden; }
.storagebar .fill { height: 100%; background: var(--cobalt); border-radius: 999px; transition: width .3s; }
.storagebar .fill.warn { background: var(--amber); }
.storagebar .fill.over { background: var(--fault); }
.storagebox { margin-top: 14px; padding: 12px; border: 1px solid var(--rule); border-radius: var(--r-m); }
.kpi .storagebar { margin-top: 8px; }
/* Stablet server-søyle: hvert kontor sin farge + fellesinnhold/annet/ledig */
.serverbar .track.multi { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--rule); }
.serverbar .track.multi .seg { height: 100%; min-width: 2px; }
.barlegend { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.barlegend li { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.barlegend li b { color: var(--ink); font-weight: 600; }
.barlegend i, .swatch { width: 11px; height: 11px; border-radius: 3px; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.swatch { display: inline-block; vertical-align: -1px; margin-right: 7px; }
/* «Alle kontor»: gruppert liste pr. kontor */
.office-group { margin-bottom: 16px; }
.alle-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.alle-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0;
  border-radius: var(--r-s); padding: 8px 10px; cursor: pointer; color: inherit; font: inherit; }
.alle-item:hover { background: var(--cobalt-soft); }
.alle-item .grow { display: flex; align-items: baseline; gap: 8px; min-width: 0; flex: 1; }
.alle-item .grow b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alle-item .ico { width: 18px; height: 18px; color: var(--muted); flex: none; }
/* Forhåndsvisning av spillelistens retning (en liten «skjerm») */
.pl-preview { display: flex; align-items: center; gap: 8px; }
.pl-screen { background: #0c1116; border-radius: 3px; overflow: hidden; display: grid; place-items: center;
  box-shadow: 0 0 0 3px var(--bezel); color: #8695A3; }
.pl-screen.landscape { width: 92px; aspect-ratio: 16 / 9; }
.pl-screen.portrait { height: 92px; aspect-ratio: 9 / 16; }
.pl-screen img { width: 100%; height: 100%; object-fit: cover; }
/* Under-mapper (felles) rykkes inn */
.folders .subfolder { padding-left: 26px; font-size: 13px; }
.unit.pending .bezel { box-shadow: 0 0 0 3px var(--amber); }
.unit.limited .bezel { box-shadow: 0 0 0 3px var(--amber); }
.unit.limited .power-led { background: var(--amber); }
.power-led { position: absolute; right: 9px; bottom: 3px; width: 5px; height: 3px; border-radius: 1px; background: #2a2f35; }
.unit.live .power-led { background: #39d39a; box-shadow: 0 0 6px #39d39a; }
.unit.pending .power-led { background: var(--amber); }
.unit.offline .power-led { background: #6d2328; }
.unit-meta { padding: 9px 2px 0; display: grid; gap: 1px; }
.unit-meta b { font: 600 14.5px var(--display); }
.unit-meta span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ------------------------------------------------ oversikt */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; background: var(--panel);
  border: 1px solid var(--rule); border-radius: var(--r-m); margin-bottom: 20px; }
.kpi { padding: 14px 18px; border-left: 1px solid var(--rule); }
.kpi:first-child { border-left: 0; }
.kpi .num { font-size: 30px; font-weight: 600; line-height: 1.1; display: block; }
.kpi a { color: inherit; text-decoration: none; }
.kpi .lbl { color: var(--muted); font-size: 13px; }
.alerts { list-style: none; margin: 0; padding: 0; }
.alerts li { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.alerts li:last-child { border-bottom: 0; }
.activity { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.activity li { padding: 6px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 8px; }
.activity time { color: var(--muted); min-width: 72px; }

/* ------------------------------------------------ dashbord (statusfliser + diagrammer) */
.stat-tiles { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 20px;
  border-radius: var(--r-m); color: #fff; text-decoration: none; min-height: 70px; }
div.stat.has-pop { cursor: default; }
.stat.has-pop:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* Hover-panel med hvilke skjermer flisen gjelder */
.stat-pop { position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; min-width: 230px; max-width: 340px;
  background: var(--panel); color: var(--ink); border: 1px solid var(--rule); border-radius: var(--r-m);
  box-shadow: 0 14px 34px -12px rgba(24,35,46,.5); padding: 8px; max-height: 340px; overflow: auto;
  opacity: 0; transform: translateY(-5px); pointer-events: none; transition: opacity .12s ease, transform .12s ease; }
.stat.has-pop:hover .stat-pop, .stat.has-pop:focus-within .stat-pop, .stat.has-pop:focus-visible .stat-pop { opacity: 1; transform: none; pointer-events: auto; }
.stat-tiles .stat:nth-child(n+3) .stat-pop { left: auto; right: 0; }   /* Feil/Advarsel åpner mot venstre */
.stat-pop .sp-head { font: 600 11px var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 2px 6px 6px; }
.stat-pop ul { list-style: none; margin: 0; padding: 0; }
.stat-pop li { display: flex; justify-content: space-between; gap: 14px; padding: 5px 6px; border-radius: 4px; font-size: 13px; }
.stat-pop li + li { border-top: 1px solid var(--rule); }
.stat-pop li b { font-weight: 600; color: var(--ink); }
.stat-pop li span { color: var(--muted); white-space: nowrap; }
.stat .s-left { display: grid; gap: 2px; }
.stat .s-lbl { font: 600 17px var(--display); letter-spacing: .01em; }
.stat .s-note { font-size: 12px; font-weight: 500; opacity: .85; }
.stat .s-num { font: 600 36px var(--display); line-height: 1; display: flex; align-items: baseline; }
.stat .s-num small { font-size: 15px; opacity: .82; font-weight: 500; margin-left: 2px; }
.stat.ok { background: var(--signal); }
.stat.idle { background: #6b7684; }
.stat.error { background: var(--fault); }
.stat.warn { background: var(--amber); }
a.stat { transition: filter .12s, transform .12s; }
a.stat:hover { filter: brightness(1.06); transform: translateY(-1px); }
@media (max-width: 760px) { .stat-tiles { grid-template-columns: repeat(2, 1fr); } }

.charts { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; margin-bottom: 20px; align-items: stretch; }
@media (max-width: 1100px) { .charts { grid-template-columns: 1fr; } }
.charts .panel { margin: 0; }
.chart-bars { display: flex; align-items: flex-end; gap: 26px; min-height: 182px; padding: 20px 4px 0; overflow-x: auto; }
.chart-group { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.chart-group .bars { display: flex; align-items: flex-end; gap: 9px; height: 150px; }
.chart-group .bar { width: 26px; border-radius: 3px 3px 0 0; position: relative; min-height: 3px; }
.chart-group .bar b { position: absolute; top: -17px; left: -4px; right: -4px; text-align: center; font: 600 12px var(--display); color: var(--ink-2); }
.chart-group .glabel { font-size: 12.5px; color: var(--muted); max-width: 90px; text-align: center; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; font-size: 12.5px; color: var(--ink-2); }
.legend span { white-space: nowrap; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.donut-wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 6px; }
.donut { position: relative; width: 124px; height: 124px; border-radius: 50%; flex: none; }
.donut-hole { position: absolute; inset: 23px; background: var(--panel); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; font: 600 26px var(--display); color: var(--ink); }
.donut-hole small { font-size: 11px; font-weight: 500; color: var(--muted); }
.donut-legend { flex-direction: column; gap: 7px; margin: 0; }
.empty-chart { color: var(--muted); font-size: 13px; padding: 30px 0; text-align: center; }

/* ------------------------------------------------ skjermdetaljer */
.device-hero .glass-info { display: none; }   /* detaljsiden viser alt under – ikke dekk forhåndsvisningen */
.device-hero { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 24px; align-items: start; }
.device-hero .unit { cursor: default; display: block; width: 100%; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--rule); margin: 22px 0 16px; }
.tab { background: none; border: 0; padding: 8px 14px; cursor: pointer; font-size: 14.5px; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab[aria-selected=true] { color: var(--ink); border-bottom-color: var(--ink); }
.control-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.control { border: 1px solid var(--rule); border-radius: var(--r-m); padding: 14px; background: var(--panel); display: grid; gap: 10px; align-content: start; }
.mono { font-family: Consolas, ui-monospace, monospace; font-size: 12.5px; }
.scroll { max-height: 420px; overflow: auto; }

/* ------------------------------------------------ innhold */
.folders { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.folders button { width: 100%; text-align: left; background: none; border: 0; padding: 7px 10px; border-radius: var(--r-s);
  cursor: pointer; font: 14px var(--text); display: flex; justify-content: space-between; color: var(--ink); }
.folders button:hover { background: #E3E8EC; }
.folders button[aria-current=true] { background: var(--ink); color: #fff; }
/* Rad med mappe + endre/slett-handlinger (vises ved hover/fokus) */
.folders li.frow { position: relative; display: flex; align-items: center; }
.folders li.frow > button[data-folder] { flex: 1; min-width: 0; }
.folder-actions { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: inline-flex; gap: 1px;
  opacity: 0; transition: opacity .12s; }
.folders li.frow:hover .folder-actions, .folder-actions:focus-within { opacity: 1; }
.folder-edit { width: auto; background: #E3E8EC; border: 0; padding: 4px; border-radius: var(--r-s); cursor: pointer;
  color: var(--ink-2); display: inline-flex; }
.folder-edit:hover { background: #cfd6dc; color: var(--ink); }
.folder-edit.del:hover { background: var(--fault-soft); color: var(--fault); }
.folder-edit .ico { width: 15px; height: 15px; }
/* Type-filter (flervalg) over innholdsrutenettet */
.filterbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 16px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--rule);
  border-radius: 999px; background: #fff; color: var(--ink-2); font: 600 13px var(--display); cursor: pointer; }
.fchip .ico { width: 15px; height: 15px; opacity: .7; }
.fchip:hover { border-color: var(--muted); }
.fchip.on { background: var(--cobalt-soft); border-color: var(--cobalt); color: var(--cobalt); }
.fchip.on .ico { opacity: 1; }
.fchip.clear { border-style: dashed; color: var(--muted); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.thumb { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-m); overflow: hidden; cursor: pointer;
  text-align: left; padding: 0; font: inherit; color: inherit; }
.thumb:hover { border-color: var(--ink-2); }
.thumb.selected { border-color: var(--cobalt); box-shadow: 0 0 0 2px var(--cobalt); }
.thumb .pic { position: relative; aspect-ratio: 16 / 9; background: #1d252d; display: grid; place-items: center; color: #8a98a6; font: 13px var(--display); overflow: hidden; }
.thumb .pic img { width: 100%; height: 100%; object-fit: contain; }   /* contain: stående 9:16 vises helt, ikke croppet til toppen */
/* Stående bilde: vis som en tydelig vertikal plakat i den mørke boksen, så 9:16 er lett å kjenne igjen */
.thumb .pic img.ori-portrait, .crow .cthumb img.ori-portrait, .pl-item .mini img.ori-portrait {
  width: auto; height: 100%; max-width: 100%; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
/* Type-merke oppe til venstre på hvert kort – rask oversikt over hva innholdet er */
.typebadge { position: absolute; top: 6px; left: 6px; z-index: 2; padding: 2px 7px; border-radius: 999px;
  font: 600 11px var(--display); color: #fff; background: rgba(15,20,26,.72); backdrop-filter: blur(2px); letter-spacing: .02em; }
.typebadge[data-k="Video"] { background: rgba(122,76,194,.92); }
.typebadge[data-k="Bilde"] { background: rgba(15,123,108,.92); }
.typebadge[data-k="Nettside"] { background: rgba(31,127,168,.92); }
.typebadge[data-k="Presentasjon"] { background: rgba(184,106,0,.92); }
.typebadge[data-k="Nettside-oppsett"] { background: rgba(90,58,140,.92); }
.typebadge[data-k="NRK"] { background: rgba(197,47,47,.92); }
/* Avspillings-trekant midt på video-thumbnails */
.playbadge { position: absolute; inset: 0; margin: auto; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(15,20,26,.55); color: #fff; pointer-events: none; }
.playbadge .ico { width: 20px; height: 20px; margin-left: 2px; }
.icon-btn .ico { width: 20px; height: 20px; }
.thumb .meta { padding: 8px 10px; display: grid; gap: 2px; }

/* Orientering (16:9 / 9:16) */
.oribadge { position: absolute; bottom: 6px; left: 6px; z-index: 2; padding: 1px 6px; border-radius: 999px;
  background: rgba(15,20,26,.72); color: #fff; font: 11px var(--display); letter-spacing: .3px; }
.chip.ori { background: #e4e9ee; color: var(--ink-2); }
.chip.tiz { background: var(--amber-soft); color: #8a5600; }
.chip.yt { background: #fde2e1; color: #9b1c17; }                 /* YouTube-status */
.chip.yt-downloading, .chip.yt-queued { background: var(--amber-soft); color: #8a5600; }
.chip.yt-error { background: #fde2e1; color: #9b1c17; font-weight: 600; }
.chip.wv { background: #efe6fb; color: #6b3fa0; }                  /* nett-innhold som video for eldre skjermer */
.chip.wv-rendering { background: var(--amber-soft); color: #8a5600; }
.chip.wv-error { background: #fde2e1; color: #9b1c17; font-weight: 600; }
.oribadge.tiz { left: auto; right: 6px; background: rgba(138,86,0,.82); }
.filterbar .grow { flex: 1; }
.viewseg button { display: inline-flex; align-items: center; padding: 5px 9px; }
.viewseg .ico { width: 16px; height: 16px; }

/* Innhold som liste (liten thumbnail + tittel) – alternativ til rutenett */
.clist { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.clist li { display: flex; align-items: stretch; gap: 6px; }
.crow { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer;
  border: 1px solid var(--rule); border-radius: var(--r-s); background: var(--panel); padding: 6px 10px 6px 6px; }
.crow:hover { border-color: var(--muted); }
.crow.selected { border-color: var(--cobalt); background: var(--cobalt-soft); }
.crow .cthumb { position: relative; flex: none; width: 72px; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden;
  background: #1d252d; display: grid; place-items: center; color: #8a98a6; font: 11px var(--display); }
.crow .cthumb img { width: 100%; height: 100%; object-fit: contain; }
.crow .cthumb .playbadge { width: 24px; height: 24px; }
.crow .cthumb .playbadge .ico { width: 12px; height: 12px; }
.crow .cinfo { flex: 1; min-width: 0; display: grid; gap: 1px; }
.crow .cinfo b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow .cbadges { flex: none; display: flex; align-items: center; gap: 4px; }
.addbtn { flex: none; align-self: center; font-size: 18px; line-height: 1; padding: 0 12px; }
.thumb .meta b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Kontor-velger i topplinjen */
.officeswitch { display: grid; gap: 3px; margin: 2px 2px 12px; font-size: 11px; letter-spacing: .02em; color: #8795a2; }
/* Dempet nedtrekk som smelter inn i den mørke sidebaren i stedet for en hvit boks */
.officeswitch select { width: 100%; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-color: rgba(255,255,255,.05); color: #D3DBE2; border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-s); padding: 6px 26px 6px 10px; font: inherit; font-size: 13.5px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238795a2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 9px center; }
.officeswitch select:hover { background-color: rgba(255,255,255,.09); border-color: rgba(255,255,255,.16); }
.officeswitch select:focus-visible { outline: 2px solid var(--signal); outline-offset: 1px; }
.officeswitch option { background: var(--ink); color: #e7edf2; }   /* native liste: også mørk, ikke hvit */
/* Avkrysningsliste (f.eks. kontor på en bruker) */
.checklist { display: grid; gap: 6px; margin-top: 6px; max-height: 180px; overflow: auto;
  border: 1px solid var(--rule); border-radius: var(--r-s); padding: 8px; }
.scope-tree { max-height: 260px; }
.scope-tree .scope-org { margin-top: 4px; padding-top: 6px; border-top: 1px solid var(--rule); }
.scope-tree .scope-org:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.region-head b { font-size: 1.02em; }
.dropzone { border: 2px dashed var(--rule); border-radius: var(--r-m); padding: 22px; text-align: center; color: var(--muted); }
.dropzone.over { border-color: var(--cobalt); background: var(--cobalt-soft); color: var(--cobalt); }

/* ------------------------------------------------ spilleliste-editor */
.pl-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pl-item { display: grid; grid-template-columns: 28px 64px 1fr 110px auto; gap: 10px; align-items: center;
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-s); padding: 6px 8px; }
.pl-item.dragging { opacity: .4; }
.pl-item .grip { cursor: grab; color: var(--muted); text-align: center; user-select: none; font-size: 16px; }
.pl-item .mini { aspect-ratio: 16/9; background: #1d252d; border-radius: 2px; overflow: hidden; }
.pl-item .mini img { width: 100%; height: 100%; object-fit: contain; }
.pl-item.missing { border-color: var(--fault); }
.pl-total { font: 600 15px var(--display); }

/* ------------------------------------------------ uke-tidslinje */
.week { display: grid; grid-template-columns: 44px repeat(7, 1fr); border: 1px solid var(--rule); border-radius: var(--r-m);
  background: var(--panel); overflow: hidden; }
.week .dh { font: 600 13px var(--display); text-align: center; padding: 6px 0; border-bottom: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.week .hours { position: relative; height: 480px; }
.week .hours span { position: absolute; right: 6px; font-size: 11px; color: var(--muted); transform: translateY(-50%); }
.week .day { position: relative; height: 480px; border-left: 1px solid var(--rule);
  background-image: linear-gradient(var(--rule) 1px, transparent 1px); background-size: 100% 60px; }
.week .now { position: absolute; left: 0; right: 0; height: 2px; background: var(--fault); z-index: 3; }
.week .blk { position: absolute; left: 3px; right: 3px; border-radius: 3px; padding: 3px 5px; font-size: 11.5px; color: #fff;
  overflow: hidden; cursor: pointer; border: 1px solid rgba(0,0,0,.15); line-height: 1.25;
  white-space: nowrap; text-overflow: ellipsis; }
.week .blk small { display: block; opacity: .85; }
/* Møte (generert inngangsbytte-luke): skravert, over vanlige luker */
.week .blk.meet { cursor: default; z-index: 2; color: #fff; padding: 1px 4px; font-size: 10.5px;
  background: repeating-linear-gradient(135deg, #b45309 0 6px, #92400e 6px 12px); border-color: rgba(0,0,0,.3); }
.meetpanel { margin-top: 16px; }
.meetpanel h3 .small { font-weight: 400; margin-left: 6px; }
.meetrow { display: grid; grid-template-columns: minmax(140px, 2fr) minmax(110px, 1fr) 80px 80px; gap: 8px; align-items: end;
  padding: 10px 0; border-top: 1px solid var(--rule); }
.meetrow .meetinfo { grid-column: 1 / 4; align-self: center; }
.meetrow .btn { justify-self: end; }
#meets > .btn { margin-top: 8px; }
@media (max-width: 640px) { .meetrow { grid-template-columns: 1fr 1fr; } .meetrow .meetinfo { grid-column: 1 / 2; } }
.slot { border: 1px solid var(--rule); border-radius: var(--r-m); background: var(--panel); overflow: hidden; }
.slot + .slot { margin-top: 10px; }
.slot.open { box-shadow: inset 0 0 0 1px var(--rule); }
.slot .swatch { border-radius: 3px; margin: 0; }
.slot-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; user-select: none; }
.slot-head:hover { background: var(--paper); }
.slot-head:focus-visible { outline: 2px solid var(--cobalt); outline-offset: -2px; }
.slot-sum { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.slot-sum b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot-sum .muted { font-size: 12px; }
.slot .chev { opacity: .6; font-size: 12px; flex: none; }
.slot.closed .slot-body { display: none; }
.slot-body { padding: 0 14px 14px; }
.slot-fields { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 10px; align-items: end; }
.slot-content { display: grid; gap: 10px; padding: 10px; border: 1px dashed var(--rule); border-radius: var(--r-s); background: var(--paper); }

/* ------------------------------------------------ melding */
.msg-preview { position: relative; aspect-ratio: 16 / 5; background: #1d252d url() center / cover; border-radius: var(--r-m); overflow: hidden; }
.msg-preview .band { position: absolute; left: 0; right: 0; padding: 6px 0; white-space: nowrap; overflow: hidden; }
.msg-preview .band span { display: inline-block; padding-left: 100%; animation: tick 12s linear infinite; }

/* ------------------------------------------------ modal og toast */
.modal { position: fixed; inset: 0; background: rgba(24,35,46,.45); display: grid; place-items: center; z-index: 50; padding: 20px; }
.modal-card { background: var(--panel); border-radius: var(--r-m); width: min(560px, 100%); max-height: 90vh; display: flex; flex-direction: column;
  box-shadow: 0 24px 60px -20px rgba(24,35,46,.5); }
.modal-card.wide { width: min(880px, 100%); }
.modal-card header { display: flex; align-items: center; padding: 16px 20px 0; }
.modal-card header h2 { flex: 1; }
.modal-body { padding: 16px 20px; overflow: auto; display: grid; gap: 14px; }
.modal-card footer { padding: 0 20px 18px; display: flex; gap: 10px; justify-content: flex-end; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: var(--r-s); opacity: 0; transition: .2s; z-index: 60; pointer-events: none; max-width: 90vw; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--fault); }

@media (max-width: 1100px) {
  .columns, .device-hero { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .slot-fields { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .rail { position: static; height: auto; flex-direction: row; flex-wrap: wrap; padding: 8px; }
  .rail .brand { padding: 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .brand-logo { width: 32px; }
  .rail-foot { margin: 0; border: 0; padding: 0; display: flex; }
  main { padding: 18px 14px 48px; }
  .split, .grid2, .grid3 { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .search { width: 100%; }
  .pl-item { grid-template-columns: 24px 48px 1fr; }
  .pl-item > :nth-child(n+4) { grid-column: 3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .glass .ticker span, .msg-preview .band span { padding-left: 0; }
}

/* Nettsider og presentasjoner */
.linkpic { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; width:100%; height:100%;
  padding:8px; box-sizing:border-box; text-align:center; color:#fff; background:#2B4ACB; font-size:12px; overflow:hidden; }
.linkpic.gslides { background:#B86A00; }
.linkpic.dynamic { background:#9d2222; }
.linkpic.layout { background:#394b59; }
.linkpic.stream { background:#1f7a5a; }
.linkpic.dksl { background:#5a3a8c; }   /* nettside-oppsett (DKSL) */
.linkpic.youtube { background:#c4302b; }   /* YouTube */
.linkpic.app { background:#1d3557; }        /* opplastet .wgt-app */
.linkpic .appicon { width:52%; max-height:62%; object-fit:contain; border-radius:10px; }
.appthumb { width:44px; height:44px; border-radius:9px; object-fit:contain; background:#1d3557; display:inline-flex;
  align-items:center; justify-content:center; color:#fff; flex:0 0 auto; }
.appthumb svg { width:22px; height:22px; fill:currentColor; }
.apppick { display:grid; grid-template-columns:repeat(auto-fill, minmax(104px, 1fr)); gap:8px; }
.apppick button { display:flex; flex-direction:column; align-items:center; gap:6px; padding:10px 6px; border:1px solid var(--rule);
  border-radius:10px; background:transparent; cursor:pointer; font:inherit; font-size:12px; text-align:center; color:inherit; }
/* Widget-velger (popup): større fliser med navn + kort forklaring */
.wpick { grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:10px; margin-bottom:6px; }
.wpick button { padding:14px 8px; gap:6px; }
.wpick button b { font-size:13px; font-weight:600; }
.wpick button .small { line-height:1.3; }
.wpick button:hover { border-color:var(--cobalt); }
.wpick-h { margin:4px 0 8px; font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:var(--muted, #6b7280); font-weight:600; }
.wpick-h + .wpick + .wpick-h { margin-top:16px; }
.wsym { line-height:1; }
.apppick button[aria-pressed="true"] { border-color:var(--cobalt); box-shadow:0 0 0 2px var(--cobalt) inset; background:var(--cobalt-soft); }
/* Av/på-bryter (app-innstillinger av typen checkbox/boolean) */
.toggle { display:inline-flex; align-items:center; gap:8px; cursor:pointer; user-select:none; }
.toggle input { position:absolute; opacity:0; width:1px; height:1px; }
.toggle-track { position:relative; width:36px; height:20px; border-radius:999px; background:var(--rule); transition:background .15s; flex:0 0 auto; }
.toggle-track::after { content:""; position:absolute; top:2px; left:2px; width:16px; height:16px; border-radius:50%; background:#fff;
  box-shadow:0 1px 2px rgba(0,0,0,.3); transition:transform .15s; }
.toggle input:checked + .toggle-track { background:var(--cobalt); }
.toggle input:checked + .toggle-track::after { transform:translateX(16px); }
.toggle input:focus-visible + .toggle-track { outline:2px solid var(--cobalt); outline-offset:2px; }
.toggle-text::after { content:" · Av"; color:var(--muted); }
.toggle input:checked ~ .toggle-text::after { content:" · På"; color:var(--cobalt); font-weight:600; }
@media (prefers-reduced-motion: reduce) { .toggle-track, .toggle-track::after { transition:none; } }
.dk-addsite { display:flex; gap:6px; margin-top:8px; align-items:center; }
.dk-addsite input { flex:1; min-width:0; }
.linkpic .pic-ico svg { width:26px; height:26px; fill:currentColor; opacity:.95; }
/* Oppsett (layout) forhåndsvisning */
.lay-stage { position:relative; width:100%; aspect-ratio:16/9; border-radius:6px; overflow:hidden; box-shadow:inset 0 0 0 1px rgba(255,255,255,.12); }
.lay-stage.portrait { aspect-ratio:9/16; max-width:220px; margin:0 auto; }
.lay-reg { position:absolute; overflow:hidden; box-shadow:inset 0 0 0 1px rgba(255,255,255,.35); display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.04); }
.lay-reg img { width:100%; height:100%; object-fit:cover; }
.lay-reg .lab { color:#cfd8e3; font-size:12px; padding:4px; text-align:center; }
.lay-reg .rn { position:absolute; top:4px; left:4px; background:rgba(15,20,26,.7); color:#fff; font:600 11px var(--display); border-radius:99px; padding:0 6px; }
.lay-stage { touch-action:none; }
.lay-reg { cursor:move; }
.lay-reg.sel { box-shadow:inset 0 0 0 2px var(--cobalt); z-index:2; }
.lay-h { position:absolute; width:12px; height:12px; background:var(--cobalt); border:2px solid #fff; border-radius:3px; z-index:3; display:none; }
.lay-reg.sel .lay-h { display:block; }   /* dra-håndtak bare på valgt sone */
.lay-h.nw { top:-6px; left:-6px; cursor:nwse-resize; } .lay-h.ne { top:-6px; right:-6px; cursor:nesw-resize; }
.lay-h.sw { bottom:-6px; left:-6px; cursor:nesw-resize; } .lay-h.se { bottom:-6px; right:-6px; cursor:nwse-resize; }
.lay-rp.sel { box-shadow:inset 0 0 0 2px var(--cobalt); }
/* Mal-knapper med diagram-forhåndsvisning */
.malrow { display:flex; gap:8px; flex-wrap:wrap; margin-top:8px; }
.malbtn { position:relative; display:flex; flex-direction:column; align-items:center; gap:5px; padding:6px; border:1px solid var(--rule); border-radius:var(--r-s); background:var(--panel); cursor:pointer; width:86px; }
.malbtn:hover { border-color:var(--cobalt); }
.malbtn > span:not(.maldel) { font-size:11px; color:var(--ink-2); text-align:center; line-height:1.15; }
.preset-mini { position:relative; display:block; width:70px; height:39px; background:#1d252d; border-radius:3px; overflow:hidden; }
.preset-mini span { position:absolute; box-shadow:inset 0 0 0 1px rgba(255,255,255,.4); background:rgba(255,255,255,.08); }
.maldel { position:absolute; top:-7px; right:-7px; width:19px; height:19px; border-radius:50%; background:var(--fault); color:#fff; display:flex; align-items:center; justify-content:center; font-size:13px; }
.maldel:hover { filter:brightness(1.1); }
/* Layout-editor: kontroller på full bredde, så forhåndsvisning 2/3 + soner 1/3 */
.lay-controls { display:flex; gap:16px; align-items:flex-end; flex-wrap:wrap; }
.lay-controls .field { flex:1; min-width:160px; }
.lay-split { display:grid; grid-template-columns:2fr 1fr; gap:16px; align-items:start; }
@media (max-width:900px) { .lay-split { grid-template-columns:1fr; } }
.lay-rp { padding:0; overflow:hidden; }
.lay-rp-head { display:flex; align-items:center; gap:8px; padding:10px 12px; cursor:pointer; }
.lay-rp-head .grow { flex:1; min-width:0; }
.lay-rp-head:hover { background:var(--paper); }
.lay-rp .chev { opacity:.6; font-size:12px; width:12px; }
.lay-rp-body { padding:0 12px 12px; display:grid; gap:8px; }
.lay-rp.open { box-shadow:inset 0 0 0 2px var(--cobalt); }
.lay-mini { position:relative; width:100%; height:100%; }
.lay-mini.portrait { max-width:60%; margin:0 auto; }
.lay-mini span { position:absolute; display:flex; align-items:center; justify-content:center; color:#cfd8e3; font-size:11px; box-shadow:inset 0 0 0 1px rgba(255,255,255,.3); }
.lay-rp { padding:12px; }
/* S Player-generasjon («Sx»): grønn = nyere, gul = mellom, grå = eldre/ukjent */
.chip.gen-new { background:var(--signal-soft); color:var(--signal); }
.chip.gen-mid { background:var(--amber-soft); color:#8a5600; }
.chip.gen-old, .chip.gen-unknown { background:#e4e9ee; color:var(--ink-2); }
/* Ekstern avspillerboks (SBB/set-back box) – egen farge så typen skiller seg ut */
.chip.box { background:#efe6fb; color:#6b3fa0; font-weight:600; }
.dynpick { width:100%; display:flex; gap:10px; align-items:center; }
.dynpick.sel { outline:2px solid var(--cobalt); outline-offset:-2px; }
.dynpick .mini img { display:block; }
.linkpic b { font-size:13px; }
.linkpic span { opacity:.85; word-break:break-all; }
.linkerr { color:#c62f2f; }

/* Navnet: TOMRI i rødt og fet, SKJERM i vanlig vekt og samme farge som teksten rundt */
.logo { font-weight: 400; letter-spacing: .04em; color: inherit; white-space: nowrap; }
.logo b { font-weight: 800; color: #E3262F; }

/* ============================================================
   Ekte MagicInfo/Samsung-fjernkontroll – knappebilder (fra original RM Server)
   DOM: .remote_area > .remote_control > .gr_power|.gr_number > *Btn
   ============================================================ */
.remote_area{display:flex;justify-content:center;align-items:center}
.remote_area .remote_control{width:150px;height:650px;margin-bottom:20px;padding:30px 0 0 12px;background:url(/static/remote/remotecontrol_bg.png) no-repeat}
.remote_area .remote_control .gr_power{display:flex;width:120px;margin-bottom:9px}
.remote_area .remote_control .gr_number{width:123px;display:flex}
.remote_area .remote_control .gr_func{width:120px;margin-bottom:3px}
.remote_area .remote_control .gr_func .volume{display:flex}
.remote_area .remote_control .gr_func .channel{position:relative;float:right;width:38px;height:71px}
.remote_area .remote_control .gr_func .channel .up{position:absolute;left:0;top:0}
.remote_area .remote_control .gr_func .channel .down{position:absolute;left:0;bottom:0}
.remote_area .remote_control .gr_func a.frL{margin-right:3px}
.remote_area .remote_control .gr_func a.mgb11{display:inline-block;margin-bottom:11px}
.remote_area .remote_control .gr_func2{width:120px;margin-bottom:9px}
.remote_area .remote_control .gr_func2 a{display:inline-block;margin:0 -1px 3px 0}
.remote_area .remote_control .gr_func2 a.mgr0{display:inline-block;margin-right:-2px}
.remote_area .remote_control .gr_func2 a.func1{margin:4px 1px 0 0}
.remote_area .remote_control .gr_func2 a.func2{margin:4px -3px 0 2px}
.remote_area .remote_control .gr_func3{display:flex}
.remote_area .remote_control .powerBtn.disable{background:url(/static/remote/remocon/remotecontrol_btn_power_pre.png) no-repeat;width:36px;height:36px;cursor:pointer}
.remote_area .remote_control .powerOffBtn.disable{background:url(/static/remote/remocon/remotecontrol_btn_poweroff_pre.png) no-repeat;width:36px;height:36px;margin-left:40px;cursor:pointer}
.remote_area .remote_control .oneBtn{background:url(/static/remote/remocon/remotecontrol_btn_1_nor.png) no-repeat;width:40px;height:28px;cursor:pointer}
.remote_area .remote_control .oneBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_1_pre.png) no-repeat}
.remote_area .remote_control .oneBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_1_sel.png) no-repeat}
.remote_area .remote_control .twoBtn{background:url(/static/remote/remocon/remotecontrol_btn_2_nor.png) no-repeat;width:40px;height:28px;cursor:pointer}
.remote_area .remote_control .twoBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_2_pre.png) no-repeat}
.remote_area .remote_control .twoBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_2_sel.png) no-repeat}
.remote_area .remote_control .threeBtn{background:url(/static/remote/remocon/remotecontrol_btn_3_nor.png) no-repeat;width:40px;height:28px;cursor:pointer}
.remote_area .remote_control .threeBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_3_pre.png) no-repeat}
.remote_area .remote_control .threeBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_3_sel.png) no-repeat}
.remote_area .remote_control .fourBtn{background:url(/static/remote/remocon/remotecontrol_btn_4_nor.png) no-repeat;width:40px;height:28px;cursor:pointer}
.remote_area .remote_control .fourBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_4_pre.png) no-repeat}
.remote_area .remote_control .fourBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_4_sel.png) no-repeat}
.remote_area .remote_control .fiveBtn{background:url(/static/remote/remocon/remotecontrol_btn_5_nor.png) no-repeat;width:40px;height:28px;cursor:pointer}
.remote_area .remote_control .fiveBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_5_pre.png) no-repeat}
.remote_area .remote_control .fiveBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_5_sel.png) no-repeat}
.remote_area .remote_control .sixBtn{background:url(/static/remote/remocon/remotecontrol_btn_6_nor.png) no-repeat;width:40px;height:28px;cursor:pointer}
.remote_area .remote_control .sixBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_6_pre.png) no-repeat}
.remote_area .remote_control .sixBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_6_sel.png) no-repeat}
.remote_area .remote_control .sevenBtn{background:url(/static/remote/remocon/remotecontrol_btn_7_nor.png) no-repeat;width:40px;height:28px;cursor:pointer}
.remote_area .remote_control .sevenBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_7_pre.png) no-repeat}
.remote_area .remote_control .sevenBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_7_sel.png) no-repeat}
.remote_area .remote_control .eightBtn{background:url(/static/remote/remocon/remotecontrol_btn_8_nor.png) no-repeat;width:40px;height:28px;cursor:pointer}
.remote_area .remote_control .eightBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_8_pre.png) no-repeat}
.remote_area .remote_control .eightBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_8_sel.png) no-repeat}
.remote_area .remote_control .nineBtn{background:url(/static/remote/remocon/remotecontrol_btn_9_nor.png) no-repeat;width:40px;height:28px;cursor:pointer}
.remote_area .remote_control .nineBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_9_pre.png) no-repeat}
.remote_area .remote_control .nineBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_9_sel.png) no-repeat}
.remote_area .remote_control .zeroBtn{background:url(/static/remote/remocon/remotecontrol_btn_0_nor.png) no-repeat;width:40px;height:28px;cursor:pointer}
.remote_area .remote_control .zeroBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_0_pre.png) no-repeat}
.remote_area .remote_control .zeroBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_0_sel.png) no-repeat}
.remote_area .remote_control .delBtn{background:url(/static/remote/remocon/remotecontrol_btn_del_nor.png) no-repeat;width:40px;height:28px;cursor:pointer}
.remote_area .remote_control .delBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_del_pre.png) no-repeat}
.remote_area .remote_control .delBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_del_sel.png) no-repeat}
.remote_area .remote_control .channelListBtn{background:url(/static/remote/remocon/remotecontrol_btn_chlist_nor.png) no-repeat;width:40px;height:28px;cursor:pointer}
.remote_area .remote_control .channelListBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_chlist_pre.png) no-repeat}
.remote_area .remote_control .channelListBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_chlist_sel.png) no-repeat}
.remote_area .remote_control .volumeUpBtn{background:url(/static/remote/remocon/remotecontrol_btn_volup_nor.png) no-repeat;width:40px;height:33px;cursor:pointer}
.remote_area .remote_control .volumeUpBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_volup_pre.png) no-repeat}
.remote_area .remote_control .volumeUpBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_volup_sel.png) no-repeat}
.remote_area .remote_control .muteBtn{background:url(/static/remote/remocon/remotecontrol_btn_mute_nor.png) no-repeat;width:40px;height:33px;cursor:pointer}
.remote_area .remote_control .muteBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_mute_pre.png) no-repeat}
.remote_area .remote_control .muteBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_mute_sel.png) no-repeat}
.remote_area .remote_control .channelUpBtn{background:url(/static/remote/remocon/remotecontrol_btn_chup_nor.png) no-repeat;width:40px;height:33px;cursor:pointer}
.remote_area .remote_control .channelUpBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_chup_pre.png) no-repeat}
.remote_area .remote_control .channelUpBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_chup_sel.png) no-repeat}
.remote_area .remote_control .volumeDownBtn{background:url(/static/remote/remocon/remotecontrol_btn_voldown_nor.png) no-repeat;width:40px;height:33px;cursor:pointer}
.remote_area .remote_control .volumeDownBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_voldown_pre.png) no-repeat}
.remote_area .remote_control .volumeDownBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_voldown_sel.png) no-repeat}
.remote_area .remote_control .sourceBtn{background:url(/static/remote/remocon/remotecontrol_btn_source_nor.png) no-repeat;width:40px;height:33px;cursor:pointer}
.remote_area .remote_control .sourceBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_source_pre.png) no-repeat}
.remote_area .remote_control .sourceBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_source_sel.png) no-repeat}
.remote_area .remote_control .channelDownBtn{background:url(/static/remote/remocon/remotecontrol_btn_chdown_nor.png) no-repeat;width:40px;height:33px;cursor:pointer}
.remote_area .remote_control .channelDownBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_chdown_pre.png) no-repeat}
.remote_area .remote_control .channelDownBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_chdown_sel.png) no-repeat}
.remote_area .remote_control .menuBtn{background:url(/static/remote/remocon/remotecontrol_btn_menu_nor.png) no-repeat;width:40px;height:33px;cursor:pointer}
.remote_area .remote_control .menuBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_menu_pre.png) no-repeat}
.remote_area .remote_control .menuBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_menu_sel.png) no-repeat}
.remote_area .remote_control .homeBtn{background:url(/static/remote/remocon/remotecontrol_btn_home_nor.png) no-repeat;width:40px;height:33px;cursor:pointer}
.remote_area .remote_control .homeBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_home_pre.png) no-repeat}
.remote_area .remote_control .homeBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_home_sel.png) no-repeat}
.remote_area .remote_control .misBtn{background:url(/static/remote/remocon/remotecontrol_btn_magicinfo_nor.png) no-repeat;width:40px;height:33px;cursor:pointer}
.remote_area .remote_control .misBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_magicinfo_pre.png) no-repeat}
.remote_area .remote_control .misBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_magicinfo_sel.png) no-repeat}
.remote_area .remote_control .toolBtn{background:url(/static/remote/remocon/remotecontrol_btn_tools_nor.png) no-repeat;width:42px;height:33px;cursor:pointer}
.remote_area .remote_control .toolBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_tools_pre.png) no-repeat}
.remote_area .remote_control .toolBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_tools_sel.png) no-repeat}
.remote_area .remote_control .upBtn{background:url(/static/remote/remocon/remotecontrol_btn_drt_up_nor.png) no-repeat;width:40px;height:33px;cursor:pointer}
.remote_area .remote_control .upBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_drt_up_pre.png) no-repeat}
.remote_area .remote_control .upBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_drt_up_sel.png) no-repeat}
.remote_area .remote_control .infoBtn{background:url(/static/remote/remocon/remotecontrol_btn_info_nor.png) no-repeat;width:40px;height:33px;cursor:pointer}
.remote_area .remote_control .infoBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_info_pre.png) no-repeat}
.remote_area .remote_control .infoBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_info_sel.png) no-repeat}
.remote_area .remote_control .leftBtn{background:url(/static/remote/remocon/remotecontrol_btn_drt_left_nor.png) no-repeat;width:43px;height:33px;cursor:pointer}
.remote_area .remote_control .leftBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_drt_left_pre.png) no-repeat}
.remote_area .remote_control .leftBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_drt_left_sel.png) no-repeat}
.remote_area .remote_control .okBtn{background:url(/static/remote/remocon/remotecontrol_btn_drt_ok_nor.png) no-repeat;width:38px;height:33px;cursor:pointer}
.remote_area .remote_control .okBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_drt_ok_pre.png) no-repeat}
.remote_area .remote_control .okBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_drt_ok_sel.png) no-repeat}
.remote_area .remote_control .rightBtn{background:url(/static/remote/remocon/remotecontrol_btn_drt_right_nor.png) no-repeat;width:40px;height:33px;cursor:pointer}
.remote_area .remote_control .rightBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_drt_right_pre.png) no-repeat}
.remote_area .remote_control .rightBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_drt_right_sel.png) no-repeat}
.remote_area .remote_control .returnBtn{background:url(/static/remote/remocon/remotecontrol_btn_return_nor.png) no-repeat;width:43px;height:35px;cursor:pointer}
.remote_area .remote_control .returnBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_return_pre.png) no-repeat}
.remote_area .remote_control .returnBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_return_sel.png) no-repeat}
.remote_area .remote_control .downBtn{background:url(/static/remote/remocon/remotecontrol_btn_down_nor.png) no-repeat;width:40px;height:42px;cursor:pointer}
.remote_area .remote_control .downBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_down_pre.png) no-repeat}
.remote_area .remote_control .downBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_down_sel.png) no-repeat}
.remote_area .remote_control .exitBtn{background:url(/static/remote/remocon/remotecontrol_btn_exit_nor.png) no-repeat;width:40px;height:35px;cursor:pointer}
.remote_area .remote_control .exitBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_exit_pre.png) no-repeat}
.remote_area .remote_control .exitBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_exit_sel.png) no-repeat}
.remote_area .remote_control .aBtn.disable{background:url(/static/remote/remocon/remotecontrol_btn_a_pre.png) no-repeat;width:28px;height:24px;cursor:pointer}
.remote_area .remote_control .bBtn.disable{background:url(/static/remote/remocon/remotecontrol_btn_b_pre.png) no-repeat;width:28px;height:24px;cursor:pointer}
.remote_area .remote_control .cBtn.disable{background:url(/static/remote/remocon/remotecontrol_btn_c_pre.png) no-repeat;width:28px;height:24px;cursor:pointer}
.remote_area .remote_control .dBtn.disable{background:url(/static/remote/remocon/remotecontrol_btn_d_pre.png) no-repeat;width:28px;height:24px;cursor:pointer}
.remote_area .remote_control .setBtn.disable{background:url(/static/remote/remocon/remotecontrol_btn_set_pre.png) no-repeat;width:28px;height:24px;cursor:pointer}
.remote_area .remote_control .unsetBtn.disable{background:url(/static/remote/remocon/remotecontrol_btn_unset_pre.png) no-repeat;width:28px;height:24px;cursor:pointer}
.remote_area .remote_control .lockBtn{background:url(/static/remote/remocon/remotecontrol_btn_lock_nor.png) no-repeat;width:28px;height:24px;cursor:pointer}
.remote_area .remote_control .lockBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_lock_pre.png) no-repeat}
.remote_area .remote_control .lockBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_lock_sel.png) no-repeat}
.remote_area .remote_control .stopBtn{background:url(/static/remote/remocon/remotecontrol_btn_stop_nor.png) no-repeat;width:28px;height:24px;cursor:pointer}
.remote_area .remote_control .stopBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_stop_pre.png) no-repeat}
.remote_area .remote_control .stopBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_stop_sel.png) no-repeat}
.remote_area .remote_control .playBtn{background:url(/static/remote/remocon/remotecontrol_btn_play_nor.png) no-repeat;width:28px;height:24px;cursor:pointer}
.remote_area .remote_control .playBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_play_pre.png) no-repeat}
.remote_area .remote_control .playBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_play_sel.png) no-repeat}
.remote_area .remote_control .rewardBtn{background:url(/static/remote/remocon/remotecontrol_btn_rew_nor.png) no-repeat;width:28px;height:24px;cursor:pointer}
.remote_area .remote_control .rewardBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_rew_pre.png) no-repeat}
.remote_area .remote_control .rewardBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_rew_sel.png) no-repeat}
.remote_area .remote_control .pauseBtn{background:url(/static/remote/remocon/remotecontrol_btn_pause_nor.png) no-repeat;width:28px;height:24px;cursor:pointer}
.remote_area .remote_control .pauseBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_pause_pre.png) no-repeat}
.remote_area .remote_control .pauseBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_pause_sel.png) no-repeat}
.remote_area .remote_control .fastBtn{background:url(/static/remote/remocon/remotecontrol_btn_prev_nor.png) no-repeat;width:28px;height:24px;cursor:pointer}
.remote_area .remote_control .fastBtn:hover{background:url(/static/remote/remocon/remotecontrol_btn_prev_pre.png) no-repeat}
.remote_area .remote_control .fastBtn:active{background:url(/static/remote/remocon/remotecontrol_btn_prev_sel.png) no-repeat}