:root{color-scheme:dark;font:15px/1.5 "Segoe UI",system-ui,sans-serif;color:#f8f5ff;background:#180d27}*{box-sizing:border-box}body{margin:0}button,a,input,summary{touch-action:manipulation}button,input{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ffcc92;outline-offset:4px}#wallpaper{position:fixed;inset:0;width:100%;height:100%;background:radial-gradient(ellipse at 70% 40%,#a94b67,#472347 40%,#160d27 85%)}.wall-header{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 28px;background:linear-gradient(#100c21aa,transparent)}.wall-header a{color:#fff;text-decoration:none}.wall-header>span{font-weight:700;letter-spacing:.2em;font-size:13px}.wall-header small{display:block;font-size:10px;font-weight:400;letter-spacing:.05em;color:#ddd1e8}.wall-header button,.wall-actions button{background:#ffffff12;border:1px solid #ffffff40;border-radius:8px;padding:10px 15px}.wall-header button:hover,.wall-actions button:hover{background:#ffffff25}.wall-panel{position:relative;z-index:1;width:min(420px,calc(100% - 40px));max-height:calc(100dvh - 110px);overflow:auto;margin:14px 0 24px 28px;padding:25px;background:#140e25df;border:1px solid #ffffff30;border-radius:16px;box-shadow:0 20px 70px #0004;backdrop-filter:blur(22px)}[hidden]{display:none!important}.wall-eyebrow{font-size:10px;letter-spacing:.16em;color:#ffd2ad;margin:0 0 10px}h1{font-size:34px;line-height:1.1;letter-spacing:-.04em;margin:0 0 14px}.wall-intro{font-size:14px;color:#e1d8ec;margin:0 0 22px}.wall-presets{padding:0;margin:0 0 22px;border:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.wall-presets legend{font-weight:600;font-size:13px;margin-bottom:10px}.wall-presets button{padding:6px 6px 9px;border:1px solid #ffffff25;border-radius:9px;background:#ffffff06;font-size:11px}.wall-presets button[aria-pressed=true]{border-color:#ffd2ad;background:#ffd2ad1c;box-shadow:0 0 0 1px #ffd2ad}.preset-art{display:block;height:78px;border-radius:7px;margin-bottom:7px;box-shadow:inset 0 0 0 1px #ffffff22,inset 0 -18px 24px #0004}.silk{background:radial-gradient(ellipse at 18% 80%,#ffc18acc,transparent 42%),radial-gradient(ellipse at 78% 24%,#b54778cc,transparent 46%),repeating-radial-gradient(ellipse at 0 100%,#ea8747,#652350 16%,#2a143c 28%,#ffb07a 40%,#391e51 52%)}.aurora{background:radial-gradient(ellipse at 50% 100%,#123a34,transparent 55%),repeating-linear-gradient(118deg,#071426 0 8%,#1c8a75 18%,#0d3a4a 28%,#7d62c4 42%,#12324a 58%,#49d6b8 72%,#081a35 86%)}.ripple{background:radial-gradient(circle at 50% 55%,#ffffff55,transparent 8%),repeating-radial-gradient(circle at 50% 55%,#10283f 0 7%,#59b5cc 10%,#1a3e58 14%,#c9b6ff 17%,#16324e 22%)}.wall-header-actions{display:flex;gap:8px}.wall-presets{grid-template-columns:repeat(auto-fit,minmax(108px,1fr))}.ember{background:radial-gradient(circle at 50% 60%,#ffd27a,transparent 18%),radial-gradient(circle at 40% 70%,#e23b12,#140604 70%)}.stars{background:radial-gradient(circle at 20% 30%,#fff 0 1px,transparent 2px),radial-gradient(circle at 70% 40%,#d7e4ff 0 1px,transparent 2px),radial-gradient(circle at 40% 75%,#fff 0 1px,transparent 2px),linear-gradient(#07071a,#1a1030)}.oil{background:conic-gradient(from 20deg,#2a0845,#1d4e89,#0f6,#e6c200,#e23b6a,#2a0845)}.ink{background:radial-gradient(circle at 40% 45%,#111 0 18%,transparent 46%),linear-gradient(#e7eef2,#c5d0d8)}.caustic{background:radial-gradient(circle at 30% 40%,#9ff 0 2px,transparent 8px),radial-gradient(circle at 60% 55%,#fff 0 2px,transparent 10px),linear-gradient(#042033,#0a4a62)}.lava{background:radial-gradient(circle at 35% 60%,#ffb347 0 12%,transparent 22%),radial-gradient(circle at 62% 40%,#ff5a1f 0 14%,#3a0610 70%)}.frost{background:linear-gradient(120deg,transparent 40%,#dff 42% 44%,transparent 46%),linear-gradient(20deg,#123,#9cf)}.cells{background:radial-gradient(circle at 30% 40%,#48f 0 28%,transparent 30%),radial-gradient(circle at 70% 60%,#f4a 0 28%,#120818 32%)}.circuit{background:linear-gradient(#063 0 0),repeating-linear-gradient(90deg,transparent 0 10px,#3f3 10px 12px),repeating-linear-gradient(0deg,transparent 0 10px,#3f3 10px 12px)}.kaleido{background:conic-gradient(#f06,#60f,#0ff,#f06,#60f,#0ff,#f06)}.rain{background:repeating-linear-gradient(180deg,#123 0 8px,#8cf 8px 9px)}.spiral{background:conic-gradient(from 40deg,#12081f,#c8d,#12081f,#fc8,#12081f)}.stained{background:conic-gradient(#c33 0 25%,#123 0 2%,#3a7 0 25%,#123 0 2%,#e8c 0 25%,#123 0 2%,#e83 0 25%)}.magnet{background:repeating-radial-gradient(circle at 30% 50%,#123 0 6px,#6cf 7px 8px)}.rise{background:radial-gradient(circle at 40% 80%,#f83 0 6%,transparent 10%),radial-gradient(circle at 60% 40%,#fc6 0 3%,transparent 8%),linear-gradient(#300,#100)}.truchet{background:repeating-linear-gradient(45deg,#123 0 6px,#8ef 6px 8px)}.city{background:linear-gradient(#200818,#05010a),repeating-linear-gradient(90deg,transparent 0 12px,#f3a 12px 13px)}.galaxies{background:radial-gradient(circle at 30% 40%,#fff 0 2px,#a8f 3px 14%,transparent 16%),radial-gradient(circle at 68% 58%,#fff 0 2px,#fc8 3px 12%,#050518 40%)}.wall-actions{flex-wrap:wrap}.wall-actions button{flex:1 1 30%}.wall-sliders{display:grid;gap:9px}.wall-sliders label{display:flex;justify-content:space-between;font-size:13px}.wall-sliders output{font-variant-numeric:tabular-nums;color:#ffd2ad}.wall-sliders input{display:block;width:100%;margin:0 0 10px;accent-color:#ffc695;height:20px;cursor:pointer}.wall-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:10px}.wall-actions button{font-size:12px;flex:1 1 30%}.wall-actions button:first-child{background:#ffd2ad;color:#251527;border-color:#ffd2ad}.wall-status{color:#c9bfd9;font-size:11px;margin:16px 0 0}.wall-explainer{margin-top:18px;border-top:1px solid #ffffff20;padding-top:14px;font-size:12px;color:#d8cee5}.wall-explainer summary{cursor:pointer;color:#f2e8ff}.wall-explainer p{line-height:1.65}@media(max-width:600px){.wall-header{padding:14px 18px;gap:10px}.wall-header small{display:none}.wall-header>span{font-size:11px}.wall-header button{font-size:12px;padding:8px 10px}.wall-header a{font-size:12px}.wall-panel{margin:12px 20px 20px;padding:22px;max-height:calc(100dvh - 94px)}}
:root .wall-header>span{letter-spacing:.1em}
.wall-source-button{width:100%;margin-top:18px;padding:12px 0 0;border:0;border-top:1px solid #ffffff30;background:none;text-align:left;font-size:13px;color:#ffd2ad}
#wall-source-dialog{width:min(900px,calc(100% - 32px));max-height:85dvh;padding:0;border:1px solid #776780;border-radius:14px;background:#171223;color:#f8f5ff;box-shadow:0 30px 100px #0008}
#wall-source-dialog::backdrop{background:#060714b8;backdrop-filter:blur(6px)}
.source-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px;border-bottom:1px solid #ffffff25}
.source-dialog-header h2{font-size:24px;margin:0}.source-dialog-header .wall-eyebrow{margin-bottom:6px}
.source-dialog-header button{background:#ffffff12;border:1px solid #ffffff40;color:white;border-radius:8px;width:44px;height:44px;flex:none}
.source-dialog-body{padding:4px 24px 24px;font-size:14px;line-height:1.7;color:#dfd6eb}
.source-dialog-body h3{color:#ffd2ad;margin:26px 0 6px;font-size:18px}
.source-dialog-body section{border-bottom:1px solid #ffffff18;padding-bottom:12px}
.wall-source-file{border:1px solid #ffffff30;border-radius:8px;padding:12px 14px;margin-top:12px}
.wall-source-file summary{cursor:pointer;color:#fff;font-weight:600}
.wall-source-file a{display:inline-block;margin-top:12px;color:#ffd2ad}
.wall-source-file pre{max-height:45vh;overflow:auto;padding:16px;background:#090b15;border-radius:6px;font:12px/1.65 Consolas,monospace;white-space:pre;tab-size:2}
@media(max-width:600px){.wall-header>span{max-width:150px;font-size:10px}.source-dialog-header,.source-dialog-body{padding:18px}.source-dialog-header h2{font-size:20px}}

.wall-colors{border-top:1px solid #ffffff25;border-bottom:1px solid #ffffff25;padding:12px 0;margin-bottom:20px;font-size:12px}
.wall-colors summary{cursor:pointer;font-size:13px;color:#ffd2ad;margin-bottom:10px}
.wall-colors select{display:block;width:100%;margin:6px 0 10px;padding:9px;background:#21172f;color:#fff;border:1px solid #ffffff40;border-radius:5px;font:inherit}
.wall-colors p{color:#c9bfd9;line-height:1.5}.wall-color-row{display:grid;grid-template-columns:1fr 40px 100px;align-items:center;gap:8px;margin-top:10px}
.wall-color-row input[type=color]{width:40px;height:32px;padding:2px;background:none;border:1px solid #ffffff40;border-radius:4px;cursor:pointer}
.wall-color-row input:not([type=color]){width:100%;min-width:0;padding:7px;background:#0d0c18;color:#fff;border:1px solid #ffffff40;border-radius:4px;font:12px Consolas,monospace}
.wall-color-row input[aria-invalid=true]{border-color:#ff927f}
