/* RadioFLR Styr – temaer oven på glass.css. Tema vælges med data-tema på <html> (mork er standard og uden ændringer). */

/* ===== Tema-vælger (den lille glas-slider) ===== */
#tema-vaelger{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom) + 12px);transform:translateX(-50%);z-index:80;
  display:flex;width:228px;height:44px;padding:4px;border-radius:99px;touch-action:none;user-select:none;-webkit-user-select:none;cursor:pointer;outline:none;
  background:linear-gradient(145deg,rgba(255,255,255,.2),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter:blur(22px) saturate(180%);backdrop-filter:blur(22px) saturate(180%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 10px 28px rgba(0,0,0,.35);opacity:.92}
#tema-vaelger:focus-visible{box-shadow:0 0 0 3px var(--orange,#f89011),0 10px 28px rgba(0,0,0,.35)}
#tema-vaelger .tv-tommel{position:absolute;top:4px;left:4px;width:calc((100% - 8px) / 5);height:calc(100% - 8px);border-radius:99px;
  background:linear-gradient(160deg,rgba(255,255,255,.55),rgba(255,255,255,.2));border:1px solid rgba(255,255,255,.7);
  box-shadow:inset 0 1px 0 #fff,0 4px 12px rgba(0,0,0,.3);transition:transform .28s cubic-bezier(.2,.9,.3,1)}
#tema-vaelger.traekker .tv-tommel{transition:transform .1s linear}
#tema-vaelger .tv-prik{position:relative;flex:1;display:grid;place-items:center;pointer-events:none}
#tema-vaelger .tv-prik::before{content:"";width:18px;height:18px;border-radius:50%;background:var(--f);border:1px solid rgba(255,255,255,.7);
  box-shadow:0 1px 4px rgba(0,0,0,.4);transition:transform .2s}
#tema-vaelger .tv-prik.paa::before{transform:scale(1.2)}
@media (prefers-reduced-motion:reduce){#tema-vaelger .tv-tommel{transition:none}}
@media (prefers-reduced-transparency:reduce){#tema-vaelger{background:#1a2f45;-webkit-backdrop-filter:none;backdrop-filter:none}}
/* Plads nederst, så knappen ikke dækker sidens indhold */
body::after{content:"";display:block;height:72px}

/* Login-siden bruger flr2.css uden glas: lad kuglerne ligge bagved og gør formularen læsbar */
.lys-tema{position:fixed}

/* ===== LYS ===== */
html[data-tema="lys"]{color-scheme:light;
  --bg:#eaf1f9;--celle:rgba(255,255,255,.62);--celle2:rgba(255,255,255,.85);--hairline:rgba(10,30,60,.13);
  --tekst:#0b1d33;--tekst2:#41566f;--tekst3:rgba(11,29,51,.72);--orange-lys:#9a4f00;--materiale:rgba(255,255,255,.6);--fyld:rgba(10,30,60,.08);
  --glas-top:rgba(255,255,255,.78);--glas-bund:rgba(255,255,255,.42);--glas-kant:rgba(255,255,255,.95);--glas-lys:#fff;
  --glas-skygge:0 12px 34px rgba(30,60,100,.16),0 2px 8px rgba(30,60,100,.08);--groen:#1b8a3a;--roed:#d4281f}
html[data-tema="lys"]{background:linear-gradient(160deg,#eaf1f9 0%,#dfe9f5 50%,#f4ece1 100%) fixed}
html[data-tema="lys"] body{background:transparent}
html[data-tema="lys"] .top img,html[data-tema="lys"] .login img,html[data-tema="lys"] header img{filter:brightness(.28)}
html[data-tema="lys"] .lys .o1{background:radial-gradient(circle,#ffb04d 0,rgba(255,176,77,0) 68%);opacity:.4}
html[data-tema="lys"] .lys .o2{background:radial-gradient(circle,#6aa9e8 0,rgba(106,169,232,0) 68%);opacity:.45}
html[data-tema="lys"] .lys .o3{background:radial-gradient(circle,#ffd7a8 0,rgba(255,215,168,0) 68%);opacity:.5}
html[data-tema="lys"] .top{background:linear-gradient(180deg,rgba(255,255,255,.7),rgba(255,255,255,.35));border-bottom-color:rgba(10,30,60,.1)}
html[data-tema="lys"] .stor-titel{background:linear-gradient(180deg,#0b1d33,#3b536e);-webkit-background-clip:text;background-clip:text;color:transparent}
html[data-tema="lys"] .gruppe-h{color:#41566f}
html[data-tema="lys"] .nu::after,html[data-tema="lys"] .gruppe::after,html[data-tema="lys"] .karrusel .kort::after{mix-blend-mode:normal;opacity:.5}
html[data-tema="lys"] .tk,html[data-tema="lys"] .karrusel .kort{color:#0b1d33}
html[data-tema="lys"] .tk-stor{background:linear-gradient(160deg,#ffa534,#e07800);color:#0b1d33;border-color:rgba(255,255,255,.9);box-shadow:inset 0 2px 0 rgba(255,255,255,.6),0 10px 26px rgba(224,120,0,.35)}
html[data-tema="lys"] .tk-stop.bekraeft,html[data-tema="lys"] .pille.bekraeft{color:#fff}
html[data-tema="lys"] .bar{background:rgba(10,30,60,.12);box-shadow:inset 0 1px 2px rgba(10,30,60,.18)}
html[data-tema="lys"] .lyttertal,html[data-tema="lys"] .stortal{background:linear-gradient(180deg,#b35900,#8f4a00);-webkit-background-clip:text;background-clip:text;color:transparent;filter:none}
html[data-tema="lys"] .kontakt{background:rgba(10,30,60,.16)}
html[data-tema="lys"] .forgrund{background:#f4f8fd;background-image:linear-gradient(145deg,rgba(255,255,255,.9),rgba(255,255,255,.5))}
html[data-tema="lys"] .tip{background:rgba(255,255,255,.92);color:#0b1d33}
html[data-tema="lys"] .banner{background:rgba(212,40,31,.1);color:#9c1c14;border-color:rgba(212,40,31,.3)}
html[data-tema="lys"] .etiket,html[data-tema="lys"] .pille.or{color:#7a3d00}
html[data-tema="lys"] .pille.or{background:linear-gradient(145deg,rgba(248,144,17,.5),rgba(248,144,17,.25))}
html[data-tema="lys"] .karrusel .kort small{color:#41566f}
html[data-tema="lys"] .graf .gitter{stroke:rgba(10,30,60,.12)}
html[data-tema="lys"] a.celle:active,html[data-tema="lys"] button.celle:active{background:rgba(10,30,60,.07)}
html[data-tema="lys"] .login input{background:rgba(255,255,255,.8)}
html[data-tema="lys"] .login .fejl{color:#c4281f}
html[data-tema="lys"] #tema-vaelger{background:linear-gradient(145deg,rgba(255,255,255,.8),rgba(255,255,255,.5));border-color:rgba(255,255,255,.95);box-shadow:inset 0 1px 0 #fff,0 10px 28px rgba(30,60,100,.25)}
html[data-tema="lys"] #tema-vaelger .tv-tommel{background:linear-gradient(160deg,#fff,rgba(255,255,255,.55));border-color:#fff;box-shadow:0 4px 12px rgba(30,60,100,.25)}

/* ===== FARVET ===== */
html[data-tema="farvet"]{--bg:#07101c;--glas-top:rgba(255,255,255,.22);--glas-bund:rgba(255,255,255,.07);--glas-kant:rgba(255,255,255,.26);--glas-lys:rgba(255,255,255,.55)}
html[data-tema="farvet"]{background:#07101c}
html[data-tema="farvet"] body{background:transparent}
html[data-tema="farvet"] .lys .o1{width:70vmax;height:70vmax;left:-25vmax;top:-20vmax;background:radial-gradient(circle,#ff7a18,rgba(255,122,24,0) 66%);opacity:.75}
html[data-tema="farvet"] .lys .o2{width:80vmax;height:80vmax;right:-35vmax;top:5vh;background:radial-gradient(circle,#1e6fe0,rgba(30,111,224,0) 66%);opacity:.8}
html[data-tema="farvet"] .lys .o3{width:60vmax;height:60vmax;left:-5vw;bottom:-25vmax;background:radial-gradient(circle,#d4328f,rgba(212,50,143,0) 66%);opacity:.55}

html[data-tema="farvet"] .etiket,html[data-tema="aurora"] .etiket{background:rgba(6,18,31,.62);border-color:rgba(255,196,110,.5);color:#ffc46e}

/* ===== AURORA ===== */
html[data-tema="aurora"]{--bg:#04101c;--glas-top:rgba(255,255,255,.17);--glas-bund:rgba(255,255,255,.04);--glas-kant:rgba(255,255,255,.2)}
html[data-tema="aurora"]{background:#04101c}
html[data-tema="aurora"] body{background:transparent}
html[data-tema="aurora"] .lys i{border-radius:40% 60% 55% 45%;filter:blur(48px);mix-blend-mode:screen}
html[data-tema="aurora"] .lys .o1{width:90vmax;height:26vmax;left:-20vmax;top:6vh;right:auto;bottom:auto;background:linear-gradient(90deg,transparent,#00e6a8,#18b5ff,transparent);opacity:.6;animation:tema-a1 18s ease-in-out infinite alternate}
html[data-tema="aurora"] .lys .o2{width:80vmax;height:22vmax;right:-25vmax;left:auto;top:38vh;bottom:auto;background:linear-gradient(90deg,transparent,#a050ff,#ff4fa0,transparent);opacity:.5;animation:tema-a2 24s ease-in-out infinite alternate}
html[data-tema="aurora"] .lys .o3{width:70vmax;height:20vmax;left:-10vmax;bottom:4vh;top:auto;right:auto;background:linear-gradient(90deg,transparent,#f89011,#ffd15c,transparent);opacity:.45;animation:tema-a3 30s ease-in-out infinite alternate}
@keyframes tema-a1{to{transform:translate3d(18vmax,10vh,0) rotate(8deg) scaleY(1.3)}}
@keyframes tema-a2{to{transform:translate3d(-20vmax,-14vh,0) rotate(-10deg) scaleY(1.2)}}
@keyframes tema-a3{to{transform:translate3d(24vmax,-8vh,0) rotate(6deg) scaleY(1.4)}}
@media (prefers-reduced-motion:reduce){html[data-tema="aurora"] .lys i{animation:none!important}}

/* ===== ROLIG: ensfarvet baggrund, glas kun på knapper, faner og små flader ===== */
html[data-tema="rolig"]{--bg:#06121f;--tekst2:rgba(235,240,245,.7)}
html[data-tema="rolig"]{background:#06121f}
html[data-tema="rolig"] body{background:#06121f}
html[data-tema="rolig"] .lys{display:none}
html[data-tema="rolig"] .nu,html[data-tema="rolig"] .gruppe{background:rgba(255,255,255,.04);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;border-color:rgba(255,255,255,.08)}
html[data-tema="rolig"] .nu::before,html[data-tema="rolig"] .nu::after,html[data-tema="rolig"] .gruppe::after,html[data-tema="rolig"] .karrusel .kort::after{display:none}
html[data-tema="rolig"] .top{background:rgba(6,18,31,.8);box-shadow:none}
html[data-tema="rolig"] .pille.or{background:linear-gradient(145deg,#b35900,#8f4a00)}

/* Uden gennemsigtighed bliver lyst glas massivt hvidt */
@media (prefers-reduced-transparency:reduce){
  html[data-tema="lys"] .nu,html[data-tema="lys"] .gruppe,html[data-tema="lys"] .top,html[data-tema="lys"] .segment,html[data-tema="lys"] .pille,html[data-tema="lys"] .tk,html[data-tema="lys"] .karrusel .kort,html[data-tema="lys"] .soegefelt,html[data-tema="lys"] .besked{background:#fff}
}
