/* css/themes-art.css — THE PRO LOOKS, DRESSED (18 Nov 2026).
   Loads after css/themes.css. Each Pro look in js/themes.js gets three things:

   1. --art     the ground: layered gradients, safe as a `background` value.
                The dashboard tiles already read it (dashboard.css, .th-tile).
   2. ornament  two fixed layers behind the form (::before, ::after) that
                carry the drawn motifs and the one slow movement of the look.
                They are masks filled with the look's own colours, so a
                recoloured look keeps its art.
   3. dressing  .th-head, .th-btn, .th-field: the heading, the main button
                and the text fields, per look.

   WIRING (as installed). The form marks its look on <html data-theme>, so the
   page-level rules are scoped to html; the dressing rules also name the form's
   own .h, .ok, .text and .area. Everything else hangs on [data-theme="<id>"]
   (and on each .th-tile). If the form marks its look another way,
   change that selector here and nothing else. Colours come from the tile's
   --tb / --tf / --ta when they exist, else from the catalogue values below.
   Bone and Ink are untouched. Motion stops under prefers-reduced-motion. */

html[data-theme]:not([data-theme="bone"],[data-theme="ink"]){isolation:isolate;background:var(--art)}
html[data-theme]:not([data-theme="bone"],[data-theme="ink"])::before,
html[data-theme]:not([data-theme="bone"],[data-theme="ink"])::after{content:"";position:fixed;z-index:-1;pointer-events:none}
html[data-theme]:not([data-theme="bone"],[data-theme="ink"])::before{inset:var(--o1-in,0);background:var(--o1,none);-webkit-mask:var(--o1-m,none);mask:var(--o1-m,none);
  opacity:var(--o1-op,1);mix-blend-mode:var(--o1-bl,normal);transform-origin:var(--o1-to,50% 50%);
  animation:th-ink 1.3s cubic-bezier(.2,.7,.2,1) both,var(--o1-an,none)}
html[data-theme]:not([data-theme="bone"],[data-theme="ink"])::after{inset:var(--o2-in,0);background:var(--o2,none);-webkit-mask:var(--o2-m,none);mask:var(--o2-m,none);
  opacity:var(--o2-op,1);mix-blend-mode:var(--o2-bl,normal);transform-origin:var(--o2-to,50% 50%);
  animation:th-ink 1.3s .18s cubic-bezier(.2,.7,.2,1) both,var(--o2-an,none)}
[data-theme]{--th-grain:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 .46 0 0 0 -.17'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");--th-spark:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><path d='M40 33Q40 44 51 44Q40 44 40 55Q40 44 29 44Q40 44 40 33Z M168 110Q168 118 176 118Q168 118 168 126Q168 118 160 118Q168 118 168 110Z M96 184Q96 190 102 190Q96 190 96 196Q96 190 90 190Q96 190 96 184Z M214 172Q214 176 218 176Q214 176 214 180Q214 176 210 176Q214 176 214 172Z M132 36Q132 40 136 40Q132 40 132 44Q132 40 128 40Q132 40 132 36Z'/><circle cx='30' cy='150' r='1.6'/><circle cx='120' cy='96' r='1.2'/><circle cx='200' cy='30' r='1.4'/><circle cx='84' cy='20' r='1'/><circle cx='176' cy='206' r='1.3'/></svg>");--th-contour:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'><g fill='none' stroke='%23000' stroke-linejoin='round'><path stroke-width='1.1' d='M36 0 34 12 32 26 30 41 32 56 38 65 45 71 56 77 68 80 82 82 94 83 105 82 120 80 131 77 142 73 154 68 161 64 172 57 180 52 190 45 199 39 206 33 215 26 224 19 232 11 240 5M506 48 495 50 484 54 473 60 465 67 458 75 452 82 446 93 442 102 439 113 435 128 433 139 432 154 432 169 434 184 437 195 441 206 446 214 454 223 461 230 471 236 480 241 491 245 505 248 518 248 529 246 540 241 548 235 555 225 560 218 565 206 570 195 574 186 578 175 581 164 585 152 589 139 591 128 594 116 596 101 594 86 589 77 581 70 572 64 562 59 551 55 540 52 525 49 514 48M600 341 589 340 578 344 570 351 564 360 559 371 555 383 553 394 551 405 549 420 549 435 551 450 554 461 558 473 562 481 570 491 577 499 585 505 592 510M0 515 11 520 22 525 30 530 38 538 41 551 40 566 38 581 37 592M246 600 255 592 262 586 270 579 278 572 285 565 292 557 299 548 304 536 304 525 300 516 292 509 281 504 266 503 251 503 236 505 225 508 212 510 199 513 188 515 173 517 161 518 146 520 131 521 120 522 105 522 94 521 79 518 70 514 64 505 61 491 60 476 60 465 59 450 57 435 55 424 53 411 49 399 45 389 40 379 34 369 26 360 19 352 11 347 0 341M535 0 521 3 510 6 499 9 488 13 476 18 468 23 458 30 451 38 446 45 439 56 435 66 431 75 428 87 424 101 421 112 419 124 417 139 416 152 416 165 416 176 418 191 420 202 424 214 430 225 435 233 442 242 450 249 459 255 469 261 478 266 488 271 499 277 507 281 518 288 525 295 532 304 535 315 536 330 535 345 533 360 532 371 530 386 528 398 526 412 525 426 524 439 524 454 525 468 527 480 529 491 532 503 537 514 542 525 548 536 552 544 557 555 561 566 560 581 555 590 545 596 535 600M0 187 4 176 9 165 15 154 20 146 26 138 34 130 43 124 53 119 64 115 75 112 89 109 101 106 112 103 124 99 135 94 145 90 154 86 165 79 173 75 184 68 191 62 200 56 210 49 218 43 225 37 235 30 244 23 251 18 260 11 270 5M600 294 593 285 588 278 585 266 584 251 586 240 589 225 591 214 595 202 599 191M277 600 285 595 295 589 304 583 312 578 322 571 330 565 338 558 345 549 350 540 352 525 349 511 345 502 338 493 330 486 321 480 311 476 297 473 285 472 274 473 259 475 248 478 236 481 225 484 210 488 199 490 188 492 173 494 161 495 149 495 135 493 124 491 112 485 105 479 98 471 92 461 87 450 83 439 80 428 77 416 73 405 69 394 65 383 60 372 56 364 50 352 45 345 38 335 30 326 23 319 16 311 9 304 2 296M327 19 341 17 356 18 368 22 375 27 383 36 387 45 390 57 392 71 392 86 392 101 392 116 391 131 390 146 389 158 389 172 389 188 390 202 391 214 394 228 397 240 401 251 405 259 412 269 420 278 427 285 435 292 442 298 450 304 459 311 466 319 473 327 478 338 482 349 484 360 485 375 484 390 482 401 480 412 476 425 473 435 467 446 461 456 454 464 446 469 431 472 418 469 409 465 398 459 389 454 379 447 371 442 360 436 352 431 341 427 330 424 315 421 300 421 285 424 274 426 262 430 251 434 240 437 229 441 218 445 206 448 193 450 180 451 165 450 154 447 144 442 135 436 128 428 122 420 116 411 111 401 106 390 101 380 97 371 92 360 87 349 82 341 77 330 71 319 67 311 61 300 56 291 51 281 47 270 43 259 41 248 40 232 41 220 45 206 49 196 54 188 60 179 68 170 75 164 83 158 94 151 101 146 112 140 122 135 131 130 142 124 150 120 161 113 169 108 179 101 188 95 195 90 206 82 214 77 221 71 232 64 240 58 249 53 259 46 267 41 278 36 289 31 299 26 311 23 322 20M307 41 319 40 334 40 345 42 356 49 364 56 368 64 373 75 375 86 377 101 378 116 378 131 377 146 377 161 376 176 376 191 376 206 377 221 379 236 381 248 383 259 387 270 393 281 398 289 405 299 412 307 420 314 428 321 435 329 442 337 447 345 452 356 455 368 455 382 452 394 447 405 442 412 431 420 420 422 405 420 394 416 385 412 375 408 364 403 352 399 341 396 326 394 311 395 296 397 285 400 274 404 262 408 251 412 240 416 230 420 218 424 206 427 195 428 180 429 169 427 158 423 148 416 140 409 134 401 128 392 122 383 116 372 112 364 106 352 101 342 97 334 91 322 86 312 82 304 77 292 72 281 68 270 65 259 63 248 63 232 64 221 68 210 73 199 79 190 86 181 94 174 101 168 110 161 120 154 128 150 139 142 146 138 156 131 165 125 173 120 184 112 191 107 199 101 210 94 218 88 226 82 236 75 244 70 254 64 262 59 274 53 284 49 294 45 307 41M291 79 304 77 316 79 326 83 335 90 341 99 345 109 349 122 350 135 351 150 351 165 350 180 349 195 348 206 347 221 345 236 344 248 342 262 340 274 338 285 334 297 329 308 322 317 315 325 308 331 299 338 289 344 281 349 270 355 261 360 251 365 240 370 229 375 218 378 206 380 191 380 180 378 169 372 161 367 154 359 146 350 140 341 135 333 129 322 124 312 120 304 115 292 111 281 108 270 105 255 105 240 108 225 112 214 117 206 124 196 131 188 139 180 146 173 154 167 161 161 170 154 179 146 188 140 195 134 204 128 214 120 221 114 229 109 240 102 248 97 259 91 268 86 278 82 291 79M286 98 300 97 311 100 319 105 326 114 331 124 334 135 336 150 337 165 336 180 335 195 333 206 331 221 329 232 326 244 322 256 319 267 314 278 308 289 302 296 296 304 289 311 280 319 270 326 262 331 252 338 244 342 232 347 221 350 210 353 195 352 184 349 175 345 166 338 158 330 153 322 146 313 141 304 136 292 132 281 128 270 127 259 126 244 128 232 132 221 138 210 143 202 150 193 158 185 165 177 173 170 180 164 188 157 196 150 205 142 214 136 221 130 230 124 240 117 248 113 259 107 270 102 281 98M266 146 278 146 287 150 294 158 298 169 299 184 297 199 295 210 291 221 286 232 281 241 274 251 268 259 260 266 251 273 244 278 232 283 221 286 206 285 197 281 189 274 184 266 179 255 178 240 180 229 185 218 191 206 196 199 202 191 210 183 218 175 225 169 235 161 244 156 254 150 266 146'/><path stroke-width='2.6' d='M83 0 81 11 82 26 86 36 94 45 101 49 113 53 128 53 139 50 150 46 161 41 169 37 179 30 188 23 195 17 202 10 210 3M495 86 485 90 476 96 469 104 463 112 458 123 454 135 452 146 451 161 453 176 458 187 462 195 469 203 479 210 489 214 502 215 514 213 525 207 532 201 540 191 544 184 549 173 552 161 555 146 555 135 554 124 550 112 544 102 536 95 528 90 518 86 502 85M600 400 592 405 588 416 589 430 593 439M0 445 11 442 17 431 16 416 11 406 4 401M213 600 219 592 225 585 232 574 237 566 237 551 229 544 218 542 202 541 188 542 173 544 161 546 150 548 137 551 126 555 116 559 105 566 97 573 91 581 86 591M418 0 417 15 416 30 415 41 413 56 412 68 410 82 408 94 407 109 405 122 404 135 403 150 402 165 402 180 403 195 405 206 409 221 412 231 417 240 424 250 431 259 439 266 446 272 454 278 464 285 473 291 480 296 488 304 495 311 502 322 506 334 508 345 509 360 509 375 507 390 506 401 504 416 502 428 499 442 498 454 495 469 493 480 491 492 489 506 486 518 481 529 476 537 469 546 461 551 450 557 439 561 428 563 419 559 414 548 410 536 405 526 400 518 394 507 388 499 381 491 375 484 367 476 358 469 349 462 341 457 330 452 319 448 305 446 292 446 281 447 268 450 255 454 244 457 232 460 221 464 210 467 199 470 184 472 173 473 161 473 146 470 135 466 128 461 119 454 112 446 106 435 101 425 97 416 93 405 89 394 84 383 79 371 75 362 70 352 64 341 60 334 53 322 48 315 41 305 36 296 30 287 25 278 20 266 17 255 15 240 16 225 19 210 22 199 26 188 30 180 37 169 43 161 51 154 60 146 68 142 79 136 89 131 98 128 109 123 120 118 131 113 141 109 150 104 161 98 169 93 179 86 188 81 196 75 206 68 214 62 222 56 232 49 240 43 248 38 259 30 266 26 278 19 285 15 296 9 308 4 318 0M318 600 327 596 338 592 350 589 363 585 375 582 386 579 398 577 412 577 416 585 418 600M300 60 311 59 326 60 337 64 345 70 352 79 356 86 360 98 363 112 364 124 365 139 364 154 364 169 364 180 363 195 362 210 362 225 362 240 363 255 364 270 365 281 367 296 369 308 371 322 370 338 364 346 352 352 341 355 330 359 319 362 308 366 296 370 285 375 276 379 266 383 255 388 244 393 232 397 221 401 210 404 199 405 184 405 173 402 162 398 154 391 146 384 139 375 134 368 128 357 123 349 117 338 112 329 108 319 102 308 98 297 94 287 90 276 86 262 85 251 84 236 86 225 90 213 96 202 101 194 109 186 116 178 124 172 132 165 142 158 150 152 158 146 168 139 176 133 184 127 194 120 202 113 210 108 219 101 229 95 236 89 247 82 255 78 266 72 276 68 286 64 300 60M273 120 285 118 296 120 308 127 313 135 317 146 320 158 320 173 319 188 318 199 315 214 312 225 308 236 304 248 300 256 294 266 289 274 281 283 274 291 266 297 258 304 248 310 238 315 229 319 214 322 199 322 188 318 178 311 170 304 164 296 158 285 154 275 150 262 149 251 150 240 154 226 158 217 164 206 169 199 176 190 184 182 191 174 199 167 206 161 215 154 224 146 232 140 240 135 251 129 262 124 273 120'/></g></svg>")}

/* the entrance: the art inks in from the top of the page, once */
@keyframes th-ink{from{clip-path:circle(0 at 50% 0)}to{clip-path:circle(160% at 50% 0)}}
/* the slow movements; each look picks at most one per layer */
@keyframes th-drift1{to{transform:translate(var(--o1-dx,0),var(--o1-dy,0))}}
@keyframes th-drift2{to{transform:translate(var(--o2-dx,0),var(--o2-dy,0))}}
@keyframes th-twinkle{0%,100%{opacity:var(--tw-lo,.25)}50%{opacity:var(--tw-hi,.9)}}
@keyframes th-sway{from{transform:rotate(var(--sw-a,-2deg))}to{transform:rotate(var(--sw-b,2deg))}}
@keyframes th-spin{to{transform:rotate(1turn)}}
@keyframes th-sweep{from{transform:translateY(-100%)}to{transform:translateY(100%)}}
@keyframes th-foil{0%,55%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
@media (prefers-reduced-motion:reduce){
  html[data-theme]:not([data-theme="bone"],[data-theme="ink"])::before,
  html[data-theme]:not([data-theme="bone"],[data-theme="ink"])::after{animation:none}
}

/* ════ ACID — cyber-sigil: thorn sigil, scanlines, a slow CRT sweep ════ */
[data-theme="acid"]{--th-b:var(--tb,#0a0f0b);--th-f:var(--tf,#e8f4e9);--th-a:var(--ta,#5cf07a);
  --art:repeating-linear-gradient(0deg,color-mix(in srgb,var(--th-a) 9%,transparent) 0 1px,transparent 1px 4px),
    radial-gradient(120% 55% at 50% -8%,color-mix(in srgb,var(--th-a) 42%,transparent),transparent 62%),
    radial-gradient(90% 40% at 50% 108%,color-mix(in srgb,var(--th-a) 16%,transparent),transparent 70%),var(--th-b);
  --o1:var(--th-a);--o1-op:.4;
  --o1-m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='300' viewBox='0 0 400 300'><g transform='translate(200 4)'><path d='M0 0C7 70 7 130 0 292C-7 130 -7 70 0 0Z'/><g id='h'><path d='M3 112C70 102 122 62 198 10C146 84 92 120 3 128Z'/><path d='M3 142C62 152 122 172 172 246C112 202 62 178 3 160Z'/><path d='M62 94C92 60 82 30 50 12C102 24 120 62 86 92Z'/><path d='M54 176C72 212 62 252 30 280C86 260 102 214 74 178Z'/><path d='M112 68C142 76 162 96 170 128C148 104 130 94 110 84Z'/><path d='M128 128C160 132 184 150 196 178C172 160 150 152 126 142Z'/></g><use href='%23h' transform='scale(-1 1)'/><circle cx='0' cy='135' r='13' fill='none' stroke='%23000' stroke-width='3'/></g></svg>") 50% 14px/min(96%,430px) auto no-repeat,url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='300' viewBox='0 0 400 300'><g transform='translate(200 4)'><path d='M0 0C7 70 7 130 0 292C-7 130 -7 70 0 0Z'/><g id='h'><path d='M3 112C70 102 122 62 198 10C146 84 92 120 3 128Z'/><path d='M3 142C62 152 122 172 172 246C112 202 62 178 3 160Z'/><path d='M62 94C92 60 82 30 50 12C102 24 120 62 86 92Z'/><path d='M54 176C72 212 62 252 30 280C86 260 102 214 74 178Z'/><path d='M112 68C142 76 162 96 170 128C148 104 130 94 110 84Z'/><path d='M128 128C160 132 184 150 196 178C172 160 150 152 126 142Z'/></g><use href='%23h' transform='scale(-1 1)'/><circle cx='0' cy='135' r='13' fill='none' stroke='%23000' stroke-width='3'/></g></svg>") 50% calc(100% + 150px)/min(70%,300px) auto no-repeat;
  --o2:linear-gradient(180deg,transparent 46%,color-mix(in srgb,var(--th-a) 14%,transparent) 50%,transparent 54%);--o2-an:th-sweep 7s linear infinite}

/* ════ GOLD — studio noir: deco sunburst, a double gilt frame, foil catching the light ════ */
[data-theme="gold"]{--th-b:var(--tb,#101014);--th-f:var(--tf,#f4efe2);--th-a:var(--ta,#e8c46a);
  --art:var(--th-grain),
    linear-gradient(var(--th-a),var(--th-a)) 10px 10px/calc(100% - 20px) 1px no-repeat,
    linear-gradient(var(--th-a),var(--th-a)) 10px calc(100% - 10px)/calc(100% - 20px) 1px no-repeat,
    linear-gradient(var(--th-a),var(--th-a)) 10px 10px/1px calc(100% - 20px) no-repeat,
    linear-gradient(var(--th-a),var(--th-a)) calc(100% - 10px) 10px/1px calc(100% - 20px) no-repeat,
    linear-gradient(color-mix(in srgb,var(--th-a) 45%,transparent),color-mix(in srgb,var(--th-a) 45%,transparent)) 15px 15px/calc(100% - 30px) 1px no-repeat,
    linear-gradient(color-mix(in srgb,var(--th-a) 45%,transparent),color-mix(in srgb,var(--th-a) 45%,transparent)) 15px calc(100% - 15px)/calc(100% - 30px) 1px no-repeat,
    linear-gradient(color-mix(in srgb,var(--th-a) 45%,transparent),color-mix(in srgb,var(--th-a) 45%,transparent)) 15px 15px/1px calc(100% - 30px) no-repeat,
    linear-gradient(color-mix(in srgb,var(--th-a) 45%,transparent),color-mix(in srgb,var(--th-a) 45%,transparent)) calc(100% - 15px) 15px/1px calc(100% - 30px) no-repeat,
    radial-gradient(95% 50% at 50% 0,color-mix(in srgb,var(--th-a) 24%,transparent),transparent 70%),
    radial-gradient(130% 90% at 50% 35%,transparent 50%,#000 130%),var(--th-b);
  --o1:repeating-conic-gradient(from -90deg at 50% 0,var(--th-a) 0 .5deg,transparent .5deg 5deg);--o1-op:.5;
  --o1-m:radial-gradient(circle at 50% 0,#000 0,rgba(0,0,0,.5) 26%,transparent 58%);
  --o2:linear-gradient(112deg,transparent 42%,rgba(255,236,186,.2) 50%,transparent 58%);--o2-an:th-foil 8s ease-in-out infinite}

/* ════ OLD SCHOOL — a flash sheet on the parlour wall: line plate in ink, colour plate a hair off register ════ */
[data-theme="oldsch"]{--th-b:var(--tb,#fff7eb);--th-f:var(--tf,#1d2a44);--th-a:var(--ta,#c8402e);
  --art:var(--th-grain),
    linear-gradient(var(--th-f),var(--th-f)) 0 0/100% 7px no-repeat,
    linear-gradient(var(--th-f),var(--th-f)) 0 100%/100% 7px no-repeat,
    linear-gradient(var(--th-a),var(--th-a)) 0 11px/100% 2px no-repeat,
    linear-gradient(var(--th-a),var(--th-a)) 0 calc(100% - 11px)/100% 2px no-repeat,
    radial-gradient(70% 45% at 0 0,rgba(176,120,48,.26),transparent 70%),
    radial-gradient(60% 40% at 100% 100%,rgba(176,120,48,.3),transparent 70%),
    radial-gradient(40% 25% at 85% 12%,rgba(200,150,70,.16),transparent 70%),var(--th-b);
  --o1:var(--th-a);--o1-op:.26;--o1-in:4px -4px -4px 4px;--o1-m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'><path d='M62 62L62.0,26.0L70.2,50.7Z'/><path d='M62 62L96.2,50.9L75.3,66.3Z'/><path d='M62 62L83.2,91.1L62.0,76.0Z'/><path d='M62 62L40.8,91.1L48.7,66.3Z'/><path d='M62 62L27.8,50.9L53.8,50.7Z'/><path d='M222 108C176 76 190 30 222 54C254 30 268 76 222 108Z'/><path transform='translate(150 150) rotate(8)' d='M9 -36L-15 5H-1L-9 36L15 -7H1Z'/><g transform='translate(74 222) rotate(32)'><rect x='-24' y='18' width='48' height='8' rx='4'/><circle cx='0' cy='59' r='6.5'/></g></svg>") 20px 30px/300px;
  --o2:var(--th-f);--o2-op:.3;--o2-m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'><g fill='none' stroke='%23000' stroke-width='3.4' stroke-linejoin='round' stroke-linecap='round'><polygon points='62.0,26.0 70.2,50.7 96.2,50.9 75.3,66.3 83.2,91.1 62.0,76.0 40.8,91.1 48.7,66.3 27.8,50.9 53.8,50.7'/><path d='M222 108C176 76 190 30 222 54C254 30 268 76 222 108Z'/><g transform='translate(74 222) rotate(32)'><path d='M0 -58L10 18H-10Z'/><path d='M0 -40V14'/><rect x='-24' y='18' width='48' height='8' rx='4'/><rect x='-5.5' y='26' width='11' height='26' rx='2'/><circle cx='0' cy='59' r='6.5'/></g><g transform='translate(228 218) rotate(-12)'><circle cx='0' cy='-42' r='8'/><path d='M0 -34V40M-17 -20H17M-32 8C-32 36-10 40 0 40C10 40 32 36 32 8M-32 8l-9 12M-32 8l11 8M32 8l9 12M32 8l-11 8'/></g><path transform='translate(150 150) rotate(8)' d='M9 -36L-15 5H-1L-9 36L15 -7H1Z'/><g transform='translate(146 34) rotate(-14)'><rect x='-17' y='-17' width='34' height='34' rx='6'/></g></g><g transform='translate(146 34) rotate(-14)'><circle cx='-8' cy='-8' r='3'/><circle cx='8' cy='8' r='3'/><circle cx='0' cy='0' r='3'/></g><circle cx='118' cy='96' r='2.6'/><circle cx='128' cy='104' r='2.6'/><circle cx='118' cy='112' r='2.6'/><circle cx='20' cy='140' r='2.6'/><circle cx='282' cy='150' r='2.6'/><circle cx='150' cy='262' r='2.6'/><circle cx='160' cy='270' r='2.6'/><circle cx='286' cy='20' r='2.6'/><circle cx='24' cy='286' r='2.6'/><path d='M262 119Q262 128 271 128Q262 128 262 137Q262 128 253 128Q262 128 262 119ZM34 179Q34 186 41 186Q34 186 34 193Q34 186 27 186Q34 186 34 179ZM196 154Q196 160 202 160Q196 160 196 166Q196 160 190 160Q196 160 196 154Z'/></svg>") 20px 30px/300px}

/* ════ HAZE — smoke: two veils drifting across a low coral sun ════ */
[data-theme="haze"]{--th-b:var(--tb,#0f213e);--th-f:var(--tf,#f0eaf6);--th-a:var(--ta,#ff6b6b);
  --art:var(--th-grain),
    radial-gradient(75% 50% at 12% 102%,color-mix(in srgb,var(--th-a) 60%,transparent),transparent 70%),
    radial-gradient(65% 45% at 100% 6%,rgba(124,92,230,.6),transparent 70%),
    radial-gradient(55% 35% at 45% 45%,rgba(38,140,170,.32),transparent 75%),var(--th-b);
  --o1:var(--th-a);--o1-op:.34;--o1-in:-600px 0 0 -600px;--o1-m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'><filter id='f' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.004 .009' numOctaves='3' seed='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3.2 0 0 0 -1.35'/></filter><rect width='600' height='600' filter='url(%23f)'/></svg>") 0 0/600px;--o1-dx:600px;--o1-dy:600px;--o1-an:th-drift1 70s linear infinite;
  --o2:var(--th-f);--o2-op:.2;--o2-in:0 -600px -600px 0;--o2-m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'><filter id='f' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.004 .009' numOctaves='3' seed='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3.2 0 0 0 -1.35'/></filter><rect width='600' height='600' filter='url(%23f)'/></svg>") 140px 260px/600px;--o2-dx:-600px;--o2-dy:-600px;--o2-an:th-drift2 110s linear infinite}

/* ════ AGATE — a geode slice: banded rings, druzy glints ════ */
[data-theme="agate"]{--th-b:var(--tb,#0b1f16);--th-f:var(--tf,#e9fff1);--th-a:var(--ta,#b8ff5c);
  --art:repeating-radial-gradient(ellipse 150% 95% at 12% 112%,transparent 0 9px,color-mix(in srgb,var(--th-a) 13%,transparent) 9px 10px,transparent 10px 23px,color-mix(in srgb,var(--th-f) 9%,transparent) 23px 26px,transparent 26px 31px),
    radial-gradient(80% 50% at 12% 105%,color-mix(in srgb,var(--th-a) 34%,transparent),transparent 70%),
    radial-gradient(60% 40% at 100% 0,rgba(40,170,150,.38),transparent 72%),var(--th-b);
  --o1:linear-gradient(200deg,var(--th-a),rgba(64,220,190,.9));--o1-op:.5;--o1-m:var(--th-contour) 30% 0/840px;
  --o2:var(--th-f);--o2-m:var(--th-spark) 0 0/240px;--tw-lo:.12;--tw-hi:.75;--o2-an:th-twinkle 4.5s ease-in-out infinite}

/* ════ BLOCKS — cut paper: big shapes, hard edges, a pinwheel that never stops ════ */
[data-theme="blocks"]{--th-b:var(--tb,#6d28d9);--th-f:var(--tf,#ffffff);--th-a:var(--ta,#ffe14d);
  --art:radial-gradient(circle at 100% 0,var(--th-a) 0 21%,transparent 21.3%),
    radial-gradient(circle at 0 62%,#ff5fa2 0 17%,transparent 17.3%),
    linear-gradient(164deg,transparent 0 80%,#38e1ff 80% 84.5%,#2a0f6e 84.5% 100%),var(--th-b);
  --o1:radial-gradient(var(--th-f) 2.4px,transparent 2.9px) 0 0/16px 16px;
  --o1-m:linear-gradient(#000,#000) 22px 96px/112px 80px no-repeat,linear-gradient(#000,#000) right 26px bottom 150px/96px 96px no-repeat;
  --o2:conic-gradient(#ff5fa2 0 25%,#2a0f6e 0 50%,#38e1ff 0 75%,var(--th-f) 0);
  --o2-in:calc(100% - 128px) -44px -44px calc(100% - 128px);--o2-m:radial-gradient(circle,#000 70%,transparent 70.5%);--o2-an:th-spin 22s linear infinite}

/* ════ GRID — stencil paper: graph rules, registration marks, a plotter head stepping down the sheet ════ */
[data-theme="grid"]{--th-b:var(--tb,#e4ecd0);--th-f:var(--tf,#142011);--th-a:var(--ta,#1f6b3a);
  --art:linear-gradient(color-mix(in srgb,var(--th-a) 30%,transparent) 1px,transparent 1px) 0 0/40px 40px,
    linear-gradient(90deg,color-mix(in srgb,var(--th-a) 30%,transparent) 1px,transparent 1px) 0 0/40px 40px,
    linear-gradient(color-mix(in srgb,var(--th-a) 11%,transparent) 1px,transparent 1px) 0 0/8px 8px,
    linear-gradient(90deg,color-mix(in srgb,var(--th-a) 11%,transparent) 1px,transparent 1px) 0 0/8px 8px,
    radial-gradient(120% 80% at 50% 30%,transparent 50%,color-mix(in srgb,var(--th-a) 20%,transparent) 120%),var(--th-b);
  --o1:var(--th-a);--o1-op:.85;
  --o1-m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><g fill='none' stroke='%23000' stroke-width='1.3'><circle cx='20' cy='20' r='9'/><path d='M20 2V38M2 20H38'/></g></svg>") 12px 12px/40px no-repeat,url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><g fill='none' stroke='%23000' stroke-width='1.3'><circle cx='20' cy='20' r='9'/><path d='M20 2V38M2 20H38'/></g></svg>") right 12px top 12px/40px no-repeat,url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><g fill='none' stroke='%23000' stroke-width='1.3'><circle cx='20' cy='20' r='9'/><path d='M20 2V38M2 20H38'/></g></svg>") 12px calc(100% - 12px)/40px no-repeat,url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><g fill='none' stroke='%23000' stroke-width='1.3'><circle cx='20' cy='20' r='9'/><path d='M20 2V38M2 20H38'/></g></svg>") right 12px bottom 12px/40px no-repeat,
    repeating-linear-gradient(180deg,#000 0 1px,transparent 1px 8px) 0 64px/6px calc(100% - 128px) no-repeat,
    repeating-linear-gradient(180deg,#000 0 1px,transparent 1px 40px) 0 64px/13px calc(100% - 128px) no-repeat;
  --o2:linear-gradient(180deg,transparent calc(50% - 1px),color-mix(in srgb,var(--th-a) 70%,transparent) calc(50% - 1px) calc(50% + 1px),transparent calc(50% + 1px));--o2-an:th-sweep 12s steps(30) infinite}

/* ════ GROOVE — seventies: rainbow arcs, a slow sunburst, a stripe that rolls ════ */
[data-theme="groove"]{--th-b:var(--tb,#2a1b3d);--th-f:var(--tf,#fff4ea);--th-a:var(--ta,#ffd166);
  --art:radial-gradient(circle at 0 100%,var(--th-b) 0 9%,#ff7a59 9% 15%,var(--th-a) 15% 21%,#f25c9a 21% 27%,#8a5be0 27% 33%,transparent 33.3%),
    radial-gradient(circle at 100% 0,var(--th-b) 0 6%,#8a5be0 6% 10%,#f25c9a 10% 14%,var(--th-a) 14% 18%,#ff7a59 18% 22%,transparent 22.3%),
    radial-gradient(70% 50% at 50% 45%,rgba(242,92,154,.2),transparent 75%),var(--th-b);
  --o1:repeating-conic-gradient(var(--th-a) 0 5deg,transparent 5deg 10deg);--o1-op:.07;--o1-in:-60% -80%;--o1-an:th-spin 160s linear infinite;
  --o2:linear-gradient(90deg,#f25c9a,var(--th-a),#ff7a59,#8a5be0,#f25c9a);--o2-op:.5;--o2-in:0 -240px 0 0;
  --o2-m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='88' viewBox='0 0 240 88'><g fill='none' stroke='%23000' stroke-width='2'><path d='M0 20Q60 -6 120 20T240 20'/><path d='M0 44Q60 18 120 44T240 44' stroke-width='5'/><path d='M0 68Q60 42 120 68T240 68'/></g></svg>") 0 58%/240px 88px repeat-x;--o2-dx:-240px;--o2-an:th-drift2 14s linear infinite}

/* ════ ASTRID — fine-line celestial: constellations, moon phases, stars that breathe ════ */
[data-theme="astrid"]{--th-b:var(--tb,#0e1012);--th-f:var(--tf,#e6edf3);--th-a:var(--ta,#9fd3ff);
  --art:radial-gradient(color-mix(in srgb,var(--th-f) 70%,transparent) .7px,transparent 1.1px) 7px 11px/61px 67px,
    radial-gradient(color-mix(in srgb,var(--th-a) 60%,transparent) .6px,transparent 1px) 31px 43px/97px 83px,
    radial-gradient(color-mix(in srgb,var(--th-f) 40%,transparent) .5px,transparent .9px) 19px 5px/37px 41px,
    radial-gradient(70% 45% at 80% 8%,color-mix(in srgb,var(--th-a) 22%,transparent),transparent 70%),
    radial-gradient(60% 40% at 0 100%,rgba(120,100,220,.22),transparent 70%),var(--th-b);
  --o1:var(--th-a);--o1-op:.75;
  --o1-m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='32' viewBox='0 0 200 32'><g fill='none' stroke='%23000' stroke-width='1.2'><circle cx='16' cy='16' r='9'/><circle cx='184' cy='16' r='9'/><path d='M34 16H38M162 16H166'/></g><path d='M58 7A9 9 0 0 1 58 25A5.5 9 0 0 0 58 7Z'/><circle cx='100' cy='16' r='10'/><path d='M142 7A9 9 0 0 0 142 25A5.5 9 0 0 1 142 7Z'/></svg>") 50% 16px/190px auto no-repeat,url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='224' height='220' viewBox='0 0 224 220'><g fill='none' stroke='%23000' stroke-width='1.1'><path d='M18 150L70 112L118 128L160 70L206 44M118 128L134 178L92 200'/><circle cx='160' cy='70' r='9' stroke-dasharray='2 3'/></g><g><circle cx='18' cy='150' r='3'/><circle cx='70' cy='112' r='4'/><circle cx='118' cy='128' r='3'/><circle cx='160' cy='70' r='4.5'/><circle cx='206' cy='44' r='3'/><circle cx='134' cy='178' r='3.4'/><circle cx='92' cy='200' r='2.6'/></g><path d='M40 31Q40 40 49 40Q40 40 40 49Q40 40 31 40Q40 40 40 31ZM196 143Q196 150 203 150Q196 150 196 157Q196 150 189 150Q196 150 196 143Z'/></svg>") right -30px top 150px/200px auto no-repeat,url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='224' height='220' viewBox='0 0 224 220'><g fill='none' stroke='%23000' stroke-width='1.1'><path d='M18 150L70 112L118 128L160 70L206 44M118 128L134 178L92 200'/><circle cx='160' cy='70' r='9' stroke-dasharray='2 3'/></g><g><circle cx='18' cy='150' r='3'/><circle cx='70' cy='112' r='4'/><circle cx='118' cy='128' r='3'/><circle cx='160' cy='70' r='4.5'/><circle cx='206' cy='44' r='3'/><circle cx='134' cy='178' r='3.4'/><circle cx='92' cy='200' r='2.6'/></g><path d='M40 31Q40 40 49 40Q40 40 40 49Q40 40 31 40Q40 40 40 31ZM196 143Q196 150 203 150Q196 150 196 157Q196 150 189 150Q196 150 196 143Z'/></svg>") left -30px bottom 70px/240px auto no-repeat;
  --o2:var(--th-f);--o2-m:var(--th-spark) 60px 20px/240px;--tw-lo:.1;--tw-hi:.7;--o2-an:th-twinkle 5s ease-in-out infinite}

/* ════ BLOOM — botanical: line flowers leaning in from two corners ════ */
[data-theme="bloom"]{--th-b:var(--tb,#5b2dd6);--th-f:var(--tf,#ffffff);--th-a:var(--ta,#ffd6e8);
  --art:radial-gradient(60% 40% at 100% 100%,rgba(255,120,190,.6),transparent 72%),
    radial-gradient(55% 38% at 0 0,rgba(255,170,120,.42),transparent 72%),
    radial-gradient(80% 50% at 50% 50%,rgba(140,90,255,.5),transparent 80%),var(--th-b);
  --o1:var(--th-a);--o1-op:.8;--o1-to:100% 100%;--sw-a:-1.6deg;--sw-b:1.8deg;
  --o1-m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'><g fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(0 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(36 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(72 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(108 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(144 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(180 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(216 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(252 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(288 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(324 150 150)'/><path d='M150 132V96' transform='rotate(18 150 150)'/><path d='M150 132V96' transform='rotate(54 150 150)'/><path d='M150 132V96' transform='rotate(90 150 150)'/><path d='M150 132V96' transform='rotate(126 150 150)'/><path d='M150 132V96' transform='rotate(162 150 150)'/><path d='M150 132V96' transform='rotate(198 150 150)'/><path d='M150 132V96' transform='rotate(234 150 150)'/><path d='M150 132V96' transform='rotate(270 150 150)'/><path d='M150 132V96' transform='rotate(306 150 150)'/><path d='M150 132V96' transform='rotate(342 150 150)'/><circle cx='150' cy='150' r='17'/></g><circle cx='150' cy='150' r='6'/></svg>") right -110px bottom -110px/360px no-repeat,url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'><g fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(0 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(36 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(72 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(108 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(144 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(180 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(216 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(252 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(288 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(324 150 150)'/><path d='M150 132V96' transform='rotate(18 150 150)'/><path d='M150 132V96' transform='rotate(54 150 150)'/><path d='M150 132V96' transform='rotate(90 150 150)'/><path d='M150 132V96' transform='rotate(126 150 150)'/><path d='M150 132V96' transform='rotate(162 150 150)'/><path d='M150 132V96' transform='rotate(198 150 150)'/><path d='M150 132V96' transform='rotate(234 150 150)'/><path d='M150 132V96' transform='rotate(270 150 150)'/><path d='M150 132V96' transform='rotate(306 150 150)'/><path d='M150 132V96' transform='rotate(342 150 150)'/><circle cx='150' cy='150' r='17'/></g><circle cx='150' cy='150' r='6'/></svg>") right 150px bottom -86px/200px no-repeat,url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'><g fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(0 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(36 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(72 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(108 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(144 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(180 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(216 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(252 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(288 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(324 150 150)'/><path d='M150 132V96' transform='rotate(18 150 150)'/><path d='M150 132V96' transform='rotate(54 150 150)'/><path d='M150 132V96' transform='rotate(90 150 150)'/><path d='M150 132V96' transform='rotate(126 150 150)'/><path d='M150 132V96' transform='rotate(162 150 150)'/><path d='M150 132V96' transform='rotate(198 150 150)'/><path d='M150 132V96' transform='rotate(234 150 150)'/><path d='M150 132V96' transform='rotate(270 150 150)'/><path d='M150 132V96' transform='rotate(306 150 150)'/><path d='M150 132V96' transform='rotate(342 150 150)'/><circle cx='150' cy='150' r='17'/></g><circle cx='150' cy='150' r='6'/></svg>") right -64px bottom 190px/150px no-repeat;
  --o1-an:th-sway 7s ease-in-out infinite alternate;
  --o2:var(--th-f);--o2-op:.6;--o2-to:0 0;
  --o2-m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'><g fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(0 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(36 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(72 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(108 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(144 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(180 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(216 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(252 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(288 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(324 150 150)'/><path d='M150 132V96' transform='rotate(18 150 150)'/><path d='M150 132V96' transform='rotate(54 150 150)'/><path d='M150 132V96' transform='rotate(90 150 150)'/><path d='M150 132V96' transform='rotate(126 150 150)'/><path d='M150 132V96' transform='rotate(162 150 150)'/><path d='M150 132V96' transform='rotate(198 150 150)'/><path d='M150 132V96' transform='rotate(234 150 150)'/><path d='M150 132V96' transform='rotate(270 150 150)'/><path d='M150 132V96' transform='rotate(306 150 150)'/><path d='M150 132V96' transform='rotate(342 150 150)'/><circle cx='150' cy='150' r='17'/></g><circle cx='150' cy='150' r='6'/></svg>") left -120px top -120px/320px no-repeat,url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'><g fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(0 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(36 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(72 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(108 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(144 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(180 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(216 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(252 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(288 150 150)'/><ellipse cx='150' cy='84' rx='25' ry='62' transform='rotate(324 150 150)'/><path d='M150 132V96' transform='rotate(18 150 150)'/><path d='M150 132V96' transform='rotate(54 150 150)'/><path d='M150 132V96' transform='rotate(90 150 150)'/><path d='M150 132V96' transform='rotate(126 150 150)'/><path d='M150 132V96' transform='rotate(162 150 150)'/><path d='M150 132V96' transform='rotate(198 150 150)'/><path d='M150 132V96' transform='rotate(234 150 150)'/><path d='M150 132V96' transform='rotate(270 150 150)'/><path d='M150 132V96' transform='rotate(306 150 150)'/><path d='M150 132V96' transform='rotate(342 150 150)'/><circle cx='150' cy='150' r='17'/></g><circle cx='150' cy='150' r='6'/></svg>") left 140px top -70px/150px no-repeat;
  --o2-an:th-sway 9s ease-in-out infinite alternate-reverse}

/* ════ LAKE — irezumi water: seigaiha rising from the foot of the page, two swells rolling over it ════ */
[data-theme="lake"]{--th-b:var(--tb,#0b2544);--th-f:var(--tf,#e8f1ff);--th-a:var(--ta,#6fc3ff);
  --sg:color-mix(in srgb,var(--th-a) 42%,var(--th-b));
  --art:linear-gradient(180deg,var(--th-b) 0,color-mix(in srgb,var(--th-b) 88%,transparent) 30%,color-mix(in srgb,var(--th-b) 30%,transparent) 78%,transparent 100%),
    radial-gradient(circle at 100% 150%,var(--th-b) 24%,var(--sg) 24%,var(--sg) 28%,var(--th-b) 28%,var(--th-b) 36%,var(--sg) 36%,var(--sg) 40%,transparent 40%) 0 0/72px 36px,
    radial-gradient(circle at 0 150%,var(--th-b) 24%,var(--sg) 24%,var(--sg) 28%,var(--th-b) 28%,var(--th-b) 36%,var(--sg) 36%,var(--sg) 40%,transparent 40%) 0 0/72px 36px,
    radial-gradient(circle at 50% 100%,var(--sg) 10%,var(--th-b) 10%,var(--th-b) 23%,var(--sg) 23%,var(--sg) 30%,var(--th-b) 30%,var(--th-b) 43%,var(--sg) 43%,var(--sg) 50%,var(--th-b) 50%,var(--th-b) 63%,var(--sg) 63%,var(--sg) 71%,transparent 71%) 0 0/72px 36px,
    radial-gradient(circle at 100% 50%,var(--sg) 5%,var(--th-b) 5%,var(--th-b) 15%,var(--sg) 15%,var(--sg) 20%,var(--th-b) 20%,var(--th-b) 29%,var(--sg) 29%,var(--sg) 34%,var(--th-b) 34%,var(--th-b) 44%,var(--sg) 44%,var(--sg) 49%,transparent 49%) 0 0/72px 36px,
    radial-gradient(circle at 0 50%,var(--sg) 5%,var(--th-b) 5%,var(--th-b) 15%,var(--sg) 15%,var(--sg) 20%,var(--th-b) 20%,var(--th-b) 29%,var(--sg) 29%,var(--sg) 34%,var(--th-b) 34%,var(--th-b) 44%,var(--sg) 44%,var(--sg) 49%,transparent 49%) 0 0/72px 36px,var(--th-b);
  --o1:linear-gradient(180deg,color-mix(in srgb,var(--th-a) 70%,transparent),color-mix(in srgb,var(--th-a) 20%,transparent));--o1-op:.5;--o1-in:0 -400px 0 0;--o1-m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='90' viewBox='0 0 400 90'><path d='M0 40Q50 0 100 40T200 40T300 40T400 40V90H0Z'/></svg>") 0 100%/400px 90px repeat-x;--o1-dx:-400px;--o1-an:th-drift1 16s linear infinite;
  --o2:var(--th-f);--o2-op:.16;--o2-in:0 0 0 -400px;--o2-m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='90' viewBox='0 0 400 90'><path d='M0 40Q50 0 100 40T200 40T300 40T400 40V90H0Z'/></svg>") 130px 100%/400px 56px repeat-x;--o2-dx:400px;--o2-an:th-drift2 25s linear infinite}

/* ════ MINERAL — fine line: survey contours on warm paper, one pressed sprig ════ */
[data-theme="mineral"]{--th-b:var(--tb,#f3ebdd);--th-f:var(--tf,#15100c);--th-a:var(--ta,#8a3814);
  --art:var(--th-grain),
    radial-gradient(80% 50% at 100% 0,color-mix(in srgb,var(--th-a) 16%,transparent),transparent 70%),
    radial-gradient(70% 45% at 0 100%,rgba(120,140,96,.24),transparent 72%),var(--th-b);
  --o1:var(--th-a);--o1-op:.24;--o1-m:var(--th-contour) 120px 60px/560px;
  --o2:var(--th-f);--o2-op:.28;--o2-m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><g fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'><path d='M10 190C60 150 110 90 150 10'/><path d='M0 0C14 -22 44 -26 62 -10C44 6 14 10 0 0ZM0 0L62 -10' transform='translate(40 164) rotate(-70)'/><path d='M0 0C14 -22 44 -26 62 -10C44 6 14 10 0 0ZM0 0L62 -10' transform='translate(48 158) rotate(10)'/><path d='M0 0C14 -22 44 -26 62 -10C44 6 14 10 0 0ZM0 0L62 -10' transform='translate(82 118) rotate(-80)'/><path d='M0 0C14 -22 44 -26 62 -10C44 6 14 10 0 0ZM0 0L62 -10' transform='translate(90 110) rotate(0)'/><path d='M0 0C14 -22 44 -26 62 -10C44 6 14 10 0 0ZM0 0L62 -10' transform='translate(118 68) rotate(-88)'/><path d='M0 0C14 -22 44 -26 62 -10C44 6 14 10 0 0ZM0 0L62 -10' transform='translate(126 58) rotate(-8)'/></g></svg>") right -10px bottom -8px/170px no-repeat}

/* ════ TWILIGHT — dusk: last light on the horizon, a ridge line, the first stars ════ */
[data-theme="twilight"]{--th-b:var(--tb,#2a1246);--th-f:var(--tf,#fff0f8);--th-a:var(--ta,#ffb3d9);
  --art:radial-gradient(70% 26% at 50% 100%,#ffc38a,transparent 72%),
    linear-gradient(180deg,transparent 30%,rgba(214,70,150,.5) 74%,rgba(255,138,92,.82) 100%),
    radial-gradient(60% 35% at 80% 0,rgba(90,70,220,.5),transparent 72%),var(--th-b);
  --o1:var(--th-f);--o1-m:var(--th-spark) 0 0/240px 240px repeat-x,var(--th-spark) 120px 200px/240px 240px repeat-x;--tw-lo:.2;--tw-hi:.85;--o1-an:th-twinkle 4s ease-in-out infinite;
  --o2:linear-gradient(0deg,#12061f 0 90px,#3a1650 200px);--o2-m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='170' viewBox='0 0 600 170'><path d='M0 170V92L58 50L112 88L172 28L242 98L300 60L362 104L430 38L498 94L556 62L600 92V170Z'/></svg>") 0 100%/600px 150px repeat-x,url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='170' viewBox='0 0 600 170'><path d='M0 170V70C60 40 120 30 190 62C250 88 300 40 370 34C450 28 520 80 600 70V170Z'/></svg>") 210px 100%/600px 118px repeat-x;--o2-op:.92}

/* ════ ENCORE — the gig poster: halftone rising from the pit, one spot swinging over the crowd ════ */
[data-theme="encore"]{--th-b:var(--tb,#0a0a0a);--th-f:var(--tf,#f2efe9);--th-a:var(--ta,#e63946);
  --art:var(--th-grain),
    conic-gradient(from 148deg at 12% -6%,transparent 0 6deg,rgba(255,255,255,.07) 6deg 24deg,transparent 24deg),
    conic-gradient(from 176deg at 92% -6%,transparent 0 6deg,color-mix(in srgb,var(--th-a) 36%,transparent) 6deg 26deg,transparent 26deg),
    radial-gradient(90% 40% at 50% 104%,color-mix(in srgb,var(--th-a) 45%,transparent),transparent 70%),var(--th-b);
  --o1:radial-gradient(var(--th-a) 3.3px,transparent 3.8px) 0 0/11px 11px,radial-gradient(var(--th-a) 3.3px,transparent 3.8px) 5.5px 5.5px/11px 11px;
  --o1-m:linear-gradient(180deg,transparent 52%,rgba(0,0,0,.25) 72%,#000 100%);--o1-op:.8;
  --o2:conic-gradient(from 170deg at 50% 0,transparent 0 2deg,rgba(255,255,255,.1) 2deg 18deg,transparent 18deg);--o2-in:-10% -40% 0;--o2-to:50% 0;
  --sw-a:-24deg;--sw-b:24deg;--o2-an:th-sway 6.5s ease-in-out infinite alternate}

/* ════ ON AIR — the studio lamp: rays off the sign, rings going out, the lamp breathing ════ */
[data-theme="onair"]{--th-b:var(--tb,#a60f1a);--th-f:var(--tf,#fff8f0);--th-a:var(--ta,#ffd60a);
  --art:repeating-conic-gradient(from -5deg at 50% 0,rgba(0,0,0,.2) 0 5deg,transparent 5deg 10deg),
    radial-gradient(70% 34% at 50% 0,color-mix(in srgb,var(--th-a) 50%,transparent),transparent 72%),
    radial-gradient(120% 80% at 50% 30%,transparent 55%,rgba(40,0,6,.6) 125%),var(--th-b);
  --o1:repeating-radial-gradient(circle at 50% 0,transparent 0 34px,var(--th-a) 34px 36px);--o1-m:radial-gradient(circle at 50% 0,#000 0,transparent 62%);
  --tw-lo:.16;--tw-hi:.6;--o1-an:th-twinkle 2.6s ease-in-out infinite;
  --o2:radial-gradient(46% 16% at 50% 0,var(--th-a),transparent 72%);--o2-bl:screen;--tw-lo:.16;--o2-an:th-twinkle 2.6s ease-in-out infinite}

/* ════ SWEAT — riso gym flyer: speed stripes, a halftone burst, drops coming down ════ */
[data-theme="sweat"]{--th-b:var(--tb,#1f4fd1);--th-f:var(--tf,#ffffff);--th-a:var(--ta,#ffe066);
  --art:linear-gradient(167deg,transparent 0 84%,var(--th-a) 84% 89%,transparent 89% 91%,#0c1f5c 91% 100%),
    repeating-linear-gradient(113deg,transparent 0 44px,rgba(255,255,255,.085) 44px 58px),
    radial-gradient(70% 45% at 0 0,rgba(90,160,255,.55),transparent 72%),var(--th-b);
  --o1:var(--th-f);--o1-op:.26;--o1-in:-230px 0 0;--o1-m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='230' viewBox='0 0 180 230'><path d='M0 -15C8 -3 10 4 10 8A10 10 0 1 1 -10 8C-10 4 -8 -3 0 -15Z' transform='translate(26 30) scale(1)'/><path d='M0 -15C8 -3 10 4 10 8A10 10 0 1 1 -10 8C-10 4 -8 -3 0 -15Z' transform='translate(96 110) scale(0.7)'/><path d='M0 -15C8 -3 10 4 10 8A10 10 0 1 1 -10 8C-10 4 -8 -3 0 -15Z' transform='translate(140 44) scale(0.5)'/><path d='M0 -15C8 -3 10 4 10 8A10 10 0 1 1 -10 8C-10 4 -8 -3 0 -15Z' transform='translate(60 170) scale(0.55)'/><path d='M0 -15C8 -3 10 4 10 8A10 10 0 1 1 -10 8C-10 4 -8 -3 0 -15Z' transform='translate(150 190) scale(0.9)'/></svg>") 0 0/180px 230px;--o1-dy:230px;--o1-an:th-drift1 5s linear infinite;
  --o2:radial-gradient(var(--th-a) 3px,transparent 3.5px) 0 0/10px 10px;--o2-m:radial-gradient(circle at 100% 0,#000 0 90px,transparent 190px);--o2-op:.9}

/* ════ BREEZE — soft: ribbons crossing the page, petals on the wind ════ */
[data-theme="breeze"]{--th-b:var(--tb,#f6c6d5);--th-f:var(--tf,#4a1a2b);--th-a:var(--ta,#9b0f41);
  --art:radial-gradient(70% 45% at 0 0,rgba(255,255,255,.75),transparent 72%),
    radial-gradient(70% 45% at 100% 100%,rgba(255,170,140,.6),transparent 72%),
    radial-gradient(50% 30% at 85% 20%,rgba(200,150,255,.34),transparent 72%),var(--th-b);
  --o1:var(--th-a);--o1-op:.32;--o1-in:0 -720px 0 0;--o1-m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='720' height='200' viewBox='0 0 720 200'><g fill='none' stroke='%23000' stroke-linecap='round'><path d='M0 70C120 10 240 130 360 70S600 130 720 70' stroke-width='1.4'/><path d='M0 84C120 30 240 150 360 84S600 140 720 84' stroke-width='.9'/><path d='M0 100C120 54 240 168 360 100S600 150 720 100' stroke-width='2.2'/><path d='M0 122C120 84 240 180 360 122S600 164 720 122' stroke-width='.8'/></g></svg>") 0 16%/720px 200px repeat-x,url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='720' height='200' viewBox='0 0 720 200'><g fill='none' stroke='%23000' stroke-linecap='round'><path d='M0 70C120 10 240 130 360 70S600 130 720 70' stroke-width='1.4'/><path d='M0 84C120 30 240 150 360 84S600 140 720 84' stroke-width='.9'/><path d='M0 100C120 54 240 168 360 100S600 150 720 100' stroke-width='2.2'/><path d='M0 122C120 84 240 180 360 122S600 164 720 122' stroke-width='.8'/></g></svg>") 300px 82%/720px 160px repeat-x;--o1-dx:-720px;--o1-an:th-drift1 46s linear infinite;
  --o2:linear-gradient(160deg,#fff,var(--th-a));--o2-op:.5;--o2-in:-260px 0 0 -240px;--o2-m:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='260' viewBox='0 0 240 260'><path d='M0 -13C9 -6 9 6 0 13C-9 6 -9 -6 0 -13Z' transform='translate(30 36) rotate(30) scale(1)'/><path d='M0 -13C9 -6 9 6 0 13C-9 6 -9 -6 0 -13Z' transform='translate(150 70) rotate(-40) scale(0.8)'/><path d='M0 -13C9 -6 9 6 0 13C-9 6 -9 -6 0 -13Z' transform='translate(96 150) rotate(70) scale(1.1)'/><path d='M0 -13C9 -6 9 6 0 13C-9 6 -9 -6 0 -13Z' transform='translate(210 190) rotate(15) scale(0.7)'/><path d='M0 -13C9 -6 9 6 0 13C-9 6 -9 -6 0 -13Z' transform='translate(40 220) rotate(-20) scale(0.6)'/><path d='M0 -13C9 -6 9 6 0 13C-9 6 -9 -6 0 -13Z' transform='translate(190 20) rotate(80) scale(0.5)'/></svg>") 0 0/240px 260px;--o2-dx:240px;--o2-dy:260px;--o2-an:th-drift2 26s linear infinite}

/* ════ DRESSING — the heading, the main button, the fields. Put these three
   classes on the form's own elements (or rename them here to match). ════ */
[data-theme="acid"] .th-head,html[data-theme="acid"] body:not(.view-home) .h{text-shadow:0 0 22px color-mix(in srgb,var(--th-a) 70%,transparent);letter-spacing:-.02em}
[data-theme="acid"] .th-btn,html[data-theme="acid"] body:not(.view-home) .ok{border:1px solid var(--th-a);border-radius:0;background:color-mix(in srgb,var(--th-a) 10%,transparent);color:var(--th-a);text-transform:uppercase;letter-spacing:.14em;
  box-shadow:0 0 22px -6px var(--th-a),inset 0 0 14px -6px var(--th-a);clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px)}
[data-theme="acid"] .th-field,html[data-theme="acid"] body:not(.view-home) .text,html[data-theme="acid"] body:not(.view-home) .area{border:1px dashed color-mix(in srgb,var(--th-a) 70%,transparent);border-radius:0;background:color-mix(in srgb,var(--th-a) 6%,transparent)}

[data-theme="gold"] .th-head,html[data-theme="gold"] body:not(.view-home) .h{text-transform:uppercase;letter-spacing:.16em;color:transparent;
  background:linear-gradient(100deg,#b8893a,#f8e7ab 38%,#d9ad58 55%,#8f6a28 78%,#f1d68c);-webkit-background-clip:text;background-clip:text}
[data-theme="gold"] .th-btn,html[data-theme="gold"] body:not(.view-home) .ok{border:0;border-radius:0;color:#1a1408;text-transform:uppercase;letter-spacing:.2em;
  background:linear-gradient(110deg,#b8893a,#f6e3a1 42%,#c99a45 62%,#8a6424);box-shadow:0 0 0 3px var(--th-b),0 0 0 4px var(--th-a)}
[data-theme="gold"] .th-field,html[data-theme="gold"] body:not(.view-home) .text,html[data-theme="gold"] body:not(.view-home) .area{border:0;border-bottom:1px solid var(--th-a);border-radius:0;background:transparent}

[data-theme="oldsch"] .th-head,html[data-theme="oldsch"] body:not(.view-home) .h{text-shadow:2.5px 2.5px 0 var(--th-a);letter-spacing:.04em}
[data-theme="oldsch"] .th-btn,html[data-theme="oldsch"] body:not(.view-home) .ok{background:var(--th-a);color:#fff7eb;border:2.5px solid var(--th-f);border-radius:6px;box-shadow:5px 5px 0 var(--th-f);text-transform:uppercase;letter-spacing:.1em}
[data-theme="oldsch"] .th-btn:active,html[data-theme="oldsch"] body:not(.view-home) .ok:active{transform:translate(3px,3px);box-shadow:2px 2px 0 var(--th-f)}
[data-theme="oldsch"] .th-field,html[data-theme="oldsch"] body:not(.view-home) .text,html[data-theme="oldsch"] body:not(.view-home) .area{background:#fffdf7;border:2.5px solid var(--th-f);border-radius:4px;box-shadow:4px 4px 0 var(--th-f)}

[data-theme="haze"] .th-head,html[data-theme="haze"] body:not(.view-home) .h{font-style:italic}
[data-theme="haze"] .th-btn,html[data-theme="haze"] body:not(.view-home) .ok{border:0;background:linear-gradient(100deg,var(--th-a),#ff9bb5);color:#2a0d1c;box-shadow:0 12px 34px -12px var(--th-a)}
[data-theme="haze"] .th-field,html[data-theme="haze"] body:not(.view-home) .text,html[data-theme="haze"] body:not(.view-home) .area{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);border-radius:16px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}

[data-theme="agate"] .th-head,html[data-theme="agate"] body:not(.view-home) .h{font-style:italic}
[data-theme="agate"] .th-btn,html[data-theme="agate"] body:not(.view-home) .ok{border:0;background:linear-gradient(180deg,#d7ff9c,var(--th-a));color:#0b1f16;box-shadow:inset 0 -3px 0 rgba(11,31,22,.22),0 10px 30px -14px var(--th-a)}
[data-theme="agate"] .th-field,html[data-theme="agate"] body:not(.view-home) .text,html[data-theme="agate"] body:not(.view-home) .area{background:rgba(11,31,22,.55);border:1px solid color-mix(in srgb,var(--th-a) 36%,transparent);border-radius:14px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}

[data-theme="blocks"] .th-head,html[data-theme="blocks"] body:not(.view-home) .h{text-shadow:3px 3px 0 #2a0f6e}
[data-theme="blocks"] .th-btn,html[data-theme="blocks"] body:not(.view-home) .ok{background:var(--th-a);color:#2a0f6e;border:3px solid #2a0f6e;border-radius:14px;box-shadow:6px 6px 0 #2a0f6e}
[data-theme="blocks"] .th-btn:active,html[data-theme="blocks"] body:not(.view-home) .ok:active{transform:translate(4px,4px);box-shadow:2px 2px 0 #2a0f6e}
[data-theme="blocks"] .th-field,html[data-theme="blocks"] body:not(.view-home) .text,html[data-theme="blocks"] body:not(.view-home) .area{background:#fff;color:#2a0f6e;border:3px solid #2a0f6e;border-radius:14px;box-shadow:5px 5px 0 #ff5fa2}

[data-theme="grid"] .th-head,html[data-theme="grid"] body:not(.view-home) .h{letter-spacing:-.04em}
[data-theme="grid"] .th-btn,html[data-theme="grid"] body:not(.view-home) .ok{background:var(--th-b);color:var(--th-a);border:1.5px solid var(--th-a);border-radius:0;text-transform:uppercase;letter-spacing:.1em;box-shadow:4px 4px 0 color-mix(in srgb,var(--th-a) 30%,transparent)}
[data-theme="grid"] .th-field,html[data-theme="grid"] body:not(.view-home) .text,html[data-theme="grid"] body:not(.view-home) .area{background:rgba(255,255,255,.62);border:1px dashed var(--th-a);border-radius:0}

[data-theme="groove"] .th-head,html[data-theme="groove"] body:not(.view-home) .h{text-shadow:2px 2px 0 #f25c9a,4px 4px 0 #8a5be0}
[data-theme="groove"] .th-btn,html[data-theme="groove"] body:not(.view-home) .ok{border:0;background:var(--th-a);color:#2a1b3d;box-shadow:0 4px 0 #ff7a59,0 8px 0 #f25c9a,0 12px 0 #8a5be0}
[data-theme="groove"] .th-field,html[data-theme="groove"] body:not(.view-home) .text,html[data-theme="groove"] body:not(.view-home) .area{background:rgba(255,244,234,.08);border:2px solid color-mix(in srgb,var(--th-a) 60%,transparent);border-radius:20px}

[data-theme="astrid"] .th-head,html[data-theme="astrid"] body:not(.view-home) .h{font-style:italic;font-weight:400}
[data-theme="astrid"] .th-btn,html[data-theme="astrid"] body:not(.view-home) .ok{background:transparent;color:var(--th-a);border:1px solid var(--th-a);border-radius:999px;text-transform:uppercase;letter-spacing:.24em;font-size:.78em;box-shadow:0 0 24px -8px var(--th-a)}
[data-theme="astrid"] .th-field,html[data-theme="astrid"] body:not(.view-home) .text,html[data-theme="astrid"] body:not(.view-home) .area{border:0;border-bottom:1px solid color-mix(in srgb,var(--th-a) 60%,transparent);border-radius:0;background:transparent}

[data-theme="bloom"] .th-btn,html[data-theme="bloom"] body:not(.view-home) .ok{border:0;background:var(--th-a);color:#3a1790;box-shadow:0 14px 34px -12px rgba(255,150,200,.9)}
[data-theme="bloom"] .th-field,html[data-theme="bloom"] body:not(.view-home) .text,html[data-theme="bloom"] body:not(.view-home) .area{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.34);border-radius:22px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}

[data-theme="lake"] .th-head,html[data-theme="lake"] body:not(.view-home) .h{letter-spacing:.02em}
[data-theme="lake"] .th-btn,html[data-theme="lake"] body:not(.view-home) .ok{border:0;background:var(--th-a);color:#06203c;box-shadow:inset 0 -4px 0 rgba(6,32,60,.24)}
[data-theme="lake"] .th-field,html[data-theme="lake"] body:not(.view-home) .text,html[data-theme="lake"] body:not(.view-home) .area{background:rgba(6,24,46,.6);border:1px solid color-mix(in srgb,var(--th-a) 40%,transparent);border-radius:12px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}

[data-theme="mineral"] .th-head,html[data-theme="mineral"] body:not(.view-home) .h{font-style:italic;font-weight:700}
[data-theme="mineral"] .th-btn,html[data-theme="mineral"] body:not(.view-home) .ok{background:transparent;color:var(--th-f);border:1px solid var(--th-f);border-radius:0;text-transform:uppercase;letter-spacing:.2em;font-size:.78em}
[data-theme="mineral"] .th-field,html[data-theme="mineral"] body:not(.view-home) .text,html[data-theme="mineral"] body:not(.view-home) .area{border:0;border-bottom:1px solid color-mix(in srgb,var(--th-f) 50%,transparent);border-radius:0;background:transparent}

[data-theme="twilight"] .th-btn,html[data-theme="twilight"] body:not(.view-home) .ok{border:0;background:linear-gradient(100deg,var(--th-a),#ffc38a);color:#2a1246;box-shadow:0 12px 34px -12px var(--th-a)}
[data-theme="twilight"] .th-field,html[data-theme="twilight"] body:not(.view-home) .text,html[data-theme="twilight"] body:not(.view-home) .area{background:rgba(42,18,70,.5);border:1px solid rgba(255,179,217,.36);border-radius:18px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}

[data-theme="encore"] .th-head,html[data-theme="encore"] body:not(.view-home) .h{text-transform:uppercase;letter-spacing:.04em;text-shadow:3px 3px 0 var(--th-a)}
[data-theme="encore"] .th-btn,html[data-theme="encore"] body:not(.view-home) .ok{border:0;border-radius:0;background:var(--th-a);color:#fff;text-transform:uppercase;letter-spacing:.16em;transform:skewX(-7deg);box-shadow:5px 5px 0 var(--th-f)}
[data-theme="encore"] .th-field,html[data-theme="encore"] body:not(.view-home) .text,html[data-theme="encore"] body:not(.view-home) .area{background:#141414;border:1px solid #343434;border-left:4px solid var(--th-a);border-radius:0}

[data-theme="onair"] .th-head,html[data-theme="onair"] body:not(.view-home) .h{text-transform:uppercase;letter-spacing:.06em;text-shadow:0 3px 0 rgba(40,0,6,.4)}
[data-theme="onair"] .th-btn,html[data-theme="onair"] body:not(.view-home) .ok{border:0;border-radius:4px;background:var(--th-a);color:#2a0206;text-transform:uppercase;letter-spacing:.16em;box-shadow:0 0 0 4px var(--th-b),0 0 0 6px var(--th-a),0 0 34px 0 color-mix(in srgb,var(--th-a) 60%,transparent)}
[data-theme="onair"] .th-field,html[data-theme="onair"] body:not(.view-home) .text,html[data-theme="onair"] body:not(.view-home) .area{background:rgba(40,0,6,.34);border:2px solid color-mix(in srgb,var(--th-a) 70%,transparent);border-radius:4px}

[data-theme="sweat"] .th-head,html[data-theme="sweat"] body:not(.view-home) .h{text-transform:uppercase;font-style:italic;text-shadow:3px 3px 0 #0c1f5c}
[data-theme="sweat"] .th-btn,html[data-theme="sweat"] body:not(.view-home) .ok{background:var(--th-a);color:#0c1f5c;border:3px solid #0c1f5c;border-radius:10px;box-shadow:5px 5px 0 #0c1f5c;text-transform:uppercase;font-style:italic;letter-spacing:.04em}
[data-theme="sweat"] .th-btn:active,html[data-theme="sweat"] body:not(.view-home) .ok:active{transform:translate(3px,3px);box-shadow:2px 2px 0 #0c1f5c}
[data-theme="sweat"] .th-field,html[data-theme="sweat"] body:not(.view-home) .text,html[data-theme="sweat"] body:not(.view-home) .area{background:#fff;color:#0c1f5c;border:3px solid #0c1f5c;border-radius:10px}

[data-theme="breeze"] .th-head,html[data-theme="breeze"] body:not(.view-home) .h{font-style:italic}
[data-theme="breeze"] .th-btn,html[data-theme="breeze"] body:not(.view-home) .ok{border:0;background:var(--th-a);color:#fff3f6;box-shadow:0 12px 28px -12px var(--th-a)}
[data-theme="breeze"] .th-field,html[data-theme="breeze"] body:not(.view-home) .text,html[data-theme="breeze"] body:not(.view-home) .area{background:rgba(255,255,255,.6);border:1px solid color-mix(in srgb,var(--th-a) 28%,transparent);border-radius:22px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}

/* ════ FITTED TO THE FORM (18 Nov 2026). The form sets each word of a
   question heading in its own clipped box (.h .m > .c) for the word-by-word
   entrance, so two things need saying again per word. ════ */
/* room for a slant or a hard shadow, so the word's box does not shear it off */
html[data-art] body:not(.view-home) .h .m{padding:0 .16em .14em 0;margin:0 -.16em -.14em 0}
/* Gold's foil is a background clipped to the text; it has to be on the word itself */
html[data-theme="gold"] body:not(.view-home) .h .c{color:transparent;
  background:linear-gradient(100deg,#b8893a,#f8e7ab 38%,#d9ad58 55%,#8f6a28 78%,#f1d68c);-webkit-background-clip:text;background-clip:text}
html[data-theme="gold"] body:not(.view-home) .h .req{color:var(--th-a)}

/* MINERAL, readable (18 Nov 2026, founder): the small grey text sank into the
   paper and its contour lines. Near-black ink, the quiet text four fifths of
   the way to it, everything a weight heavier, and the lines drawn fainter
   above. !important because client.js writes --dim and --line on the body. */
html[data-theme="mineral"] body:not(.view-home){font-weight:500;
  --dim:color-mix(in srgb,var(--th-f) 82%,var(--th-b)) !important;
  --line:color-mix(in srgb,var(--th-f) 36%,var(--th-b)) !important}
html[data-theme="mineral"] body:not(.view-home) .ok{border-width:1.5px;font-weight:700}
html[data-theme="mineral"] body:not(.view-home) .idcard-name{font-weight:700}
html[data-theme="mineral"] body:not(.view-home) .opt,html[data-theme="mineral"] body:not(.view-home) .opt *{font-weight:500}
