
.ll-srclist{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.ll-srclink{display:inline-flex;flex-direction:column;gap:1px;padding:7px 12px;border-radius:12px;border:1px solid color-mix(in oklab,var(--cream) 16%,transparent);background:color-mix(in oklab,var(--brand) 7%,transparent);color:var(--cream)!important;text-decoration:none!important;font-size:13px;line-height:1.2;max-width:240px;transition:transform .2s,background .2s,box-shadow .2s;animation:ll-pop .35s ease both}
.ll-srclink:hover{transform:translateY(-3px);background:color-mix(in oklab,var(--brand) 16%,transparent);box-shadow:0 8px 20px -10px var(--brand)}
.ll-srcname{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ll-srcdom{font-size:11px;opacity:.6}
.ll-srcmore{background:var(--brand);color:#fff!important;justify-content:center}
@keyframes ll-pop{from{opacity:0;transform:translateY(6px) scale(.96)}to{opacity:1;transform:none}}

/* Levande motiv: bilden är alltid stilla; separata, diskreta lager skapar rörelse. */
.theme-scene{position:fixed;inset:-18px;z-index:-3;pointer-events:none;overflow:hidden;opacity:0;transition:opacity .45s ease;background-position:center;background-size:cover;filter:blur(6px) saturate(.82)}
.theme-scene::before{content:"";position:absolute;inset:0;background:var(--scene-wash,transparent)}
.theme-motion{position:absolute;inset:0;overflow:hidden}
.theme-motion i{position:absolute;display:block;font-style:normal;will-change:transform,opacity}
html[data-theme-kind="space"] .theme-scene,html[data-theme-kind="snow"] .theme-scene,html[data-theme-kind="hawaii"] .theme-scene{opacity:1}
html[data-theme-kind="space"] .theme-scene{background-image:url("/assets/images/6e2d7eb110096a1c.webp");--scene-wash:linear-gradient(rgba(8,16,35,.5),rgba(8,16,35,.62))}
html[data-theme-kind="snow"] .theme-scene{background-image:url("/assets/images/df7133d9904e7a4a.webp");--scene-wash:linear-gradient(rgba(239,248,255,.67),rgba(224,240,250,.75))}
html[data-theme-kind="hawaii"] .theme-scene{background-image:url("/assets/images/121488cb5b1e1d9a.webp");--scene-wash:linear-gradient(rgba(228,250,247,.63),rgba(224,247,243,.73))}
html[data-theme-kind="space"] .theme-motion .shoot,html[data-theme-kind="space"] .theme-motion .orbit{display:none}
html[data-theme-kind="space"] .theme-motion .spark{width:5px;height:5px;border-radius:50%;background:#fff3b2;box-shadow:0 0 12px 4px rgba(255,232,133,.5);animation:ll-twinkle 2.8s ease-in-out infinite}
html[data-theme-kind="space"] .theme-motion .s1{left:21%;top:22%}html[data-theme-kind="space"] .theme-motion .s2{left:45%;top:12%;animation-delay:-.8s}html[data-theme-kind="space"] .theme-motion .s3{left:79%;top:34%;animation-delay:-1.7s;width:3px;height:3px}html[data-theme-kind="space"] .theme-motion .s4{left:65%;top:70%;animation-delay:-2.2s}html[data-theme-kind="space"] .theme-motion .s5{left:12%;top:67%;animation-delay:-1.2s;width:4px;height:4px}
html[data-theme-kind="snow"] .theme-motion .flake{top:-8%;color:rgba(255,255,255,.9);font-size:15px;text-shadow:0 1px 5px rgba(24,91,137,.25);animation:ll-snow 9s linear infinite}
html[data-theme-kind="snow"] .theme-motion .f1{left:8%}.theme-motion .f2{left:21%;animation-delay:-3s!important;font-size:9px!important}.theme-motion .f3{left:34%;animation-delay:-6s!important;font-size:13px!important}.theme-motion .f4{left:48%;animation-delay:-1.5s!important;font-size:8px!important}.theme-motion .f5{left:61%;animation-delay:-4.5s!important;font-size:11px!important}.theme-motion .f6{left:73%;animation-delay:-7s!important;font-size:7px!important}.theme-motion .f7{left:84%;animation-delay:-2.2s!important;font-size:12px!important}.theme-motion .f8{left:94%;animation-delay:-5.4s!important;font-size:9px!important}
html[data-theme-kind="snow"] .theme-motion .bird{display:none}
html[data-theme-kind="hawaii"] .theme-motion .bird{left:-10%;top:17%;font-size:22px;color:rgba(255,255,255,.62);filter:blur(2px);text-shadow:0 0 9px rgba(255,255,255,.45);animation:ll-bird 14s ease-in-out infinite}
html[data-theme-kind="hawaii"] .theme-motion .b2{top:29%;font-size:16px;animation-delay:-5s;animation-duration:18s}html[data-theme-kind="hawaii"] .theme-motion .b3{top:9%;font-size:13px;animation-delay:-9s;animation-duration:21s}
@keyframes ll-twinkle{0%,100%{opacity:.25;transform:scale(.7)}50%{opacity:1;transform:scale(1.5)}}
@keyframes ll-snow{0%{transform:translate3d(0,-8vh,0) rotate(0);opacity:0}10%{opacity:.9}100%{transform:translate3d(10vw,112vh,0) rotate(300deg);opacity:.15}}
@keyframes ll-bird{0%{transform:translate3d(-5vw,0,0) rotate(-4deg);opacity:0}8%{opacity:.75}45%{transform:translate3d(58vw,-35px,0) rotate(4deg)}90%{opacity:.75}100%{transform:translate3d(120vw,12px,0) rotate(-3deg);opacity:0}}
@keyframes ll-smoke{0%{transform:translate3d(0,20px,0) scale(.65);opacity:0}25%{opacity:.48}100%{transform:translate3d(18px,-120px,0) scale(1.8);opacity:0}}
@keyframes ll-dolphin{0%,100%{transform:translateY(18px) rotate(-8deg);opacity:.35}45%{transform:translateY(-26px) rotate(8deg);opacity:.8}60%{transform:translateY(-18px) rotate(4deg);opacity:.75}}
html[data-theme-kind="space"] .subject-shelf,html[data-theme-kind="space"] .focus,html[data-theme-kind="space"] .panel{background:rgba(9,23,43,.78);border-color:rgba(193,224,255,.2);box-shadow:0 18px 50px rgba(0,0,0,.2);backdrop-filter:blur(16px)}
html[data-theme-kind="space"] header,html[data-theme-kind="space"] .shelf-head{border-color:color-mix(in oklab,var(--accent) 26%,transparent)}
html[data-theme-kind="space"] .card,html[data-theme-kind="space"] .lv,html[data-theme-kind="space"] .opt{background:color-mix(in oklab,var(--paper) 76%,transparent);border-color:color-mix(in oklab,var(--accent) 24%,transparent)}
html[data-theme-kind="space"] button.primary,html[data-theme-kind="space"] .card.no{box-shadow:0 8px 28px color-mix(in oklab,var(--brand) 25%,transparent)}
html[data-theme-kind="snow"] .subject-shelf,html[data-theme-kind="snow"] .focus,html[data-theme-kind="snow"] .panel,html[data-theme-kind="hawaii"] .subject-shelf,html[data-theme-kind="hawaii"] .focus,html[data-theme-kind="hawaii"] .panel{background:rgba(251,253,252,.82);border-color:rgba(255,255,255,.72);box-shadow:0 18px 50px rgba(30,75,85,.13);backdrop-filter:blur(16px)}
html[data-theme-kind="space"] .sheet,html[data-theme-kind="space"] .pcard,html[data-theme-kind="space"] .calc{background:rgba(8,21,40,.96)}
html[data-theme-kind="snow"] .sheet,html[data-theme-kind="snow"] .pcard,html[data-theme-kind="snow"] .calc,html[data-theme-kind="hawaii"] .sheet,html[data-theme-kind="hawaii"] .pcard,html[data-theme-kind="hawaii"] .calc{background:rgba(251,253,252,.97)}
#themes{display:none!important}
.theme-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.theme-choice{position:relative;border:2px solid transparent;border-radius:14px;padding:0;overflow:hidden;background:var(--ink);color:var(--cream);cursor:pointer;text-align:left;font:inherit;min-height:88px}
.theme-choice.on{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in oklab,var(--brand) 18%,transparent)}
.theme-choice .thumb{height:58px;background-position:center;background-size:cover}
.theme-choice .theme-label{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;font-size:12px;font-weight:800;background:color-mix(in oklab,var(--paper) 90%,transparent)}
.theme-choice.on .theme-label::after{content:"✓";color:var(--brand)}
@media(max-width:520px){.theme-choice-grid{grid-template-columns:1fr 1fr}.theme-choice{min-height:80px}.theme-choice .thumb{height:50px}}
@media(prefers-reduced-motion:reduce){.theme-motion{display:none}}
