/* Third edition, November 2026. Wallpapers are CSS, so they stay sharp at any size and a few of them move.
   Motion is a slow transform or a sliding pattern. It stops in Lite mode, after the page goes idle, and when the
   visitor asks for less motion. */
@keyframes tm3-pan {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-3.2%, -3.6%, 0); }
}

.tm-holo {
  --t-bg: #070814; --t-card: rgba(16, 20, 44, .72); --t-card-solid: #12162c; --t-ink: #f3f6ff; --t-muted: #b9c3de;
  --t-line: rgba(110, 243, 255, .28); --t-accent: #6ef3ff; --t-accent-ink: #04161c; --t-accent2: #ff73c7;
  --t-theirs: rgba(255, 255, 255, .08); --t-danger: #ff6b8a; --t-admin: #ffd166; --t-scheme: dark;
  --t-display: "Audiowide", system-ui, sans-serif; --t-display-weight: 400; --t-h1: 20px; --t-h1-track: .04em;
  --t-tech: "Chakra Petch", system-ui, sans-serif; --t-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-tabfont: "Inter", system-ui, sans-serif; --t-sec: #b9f6ff; --t-link: #6ef3ff;
  --t-wall:
    radial-gradient(ellipse 42% 34% at 16% 22%, rgba(110, 243, 255, .55), transparent 68%),
    radial-gradient(ellipse 36% 32% at 84% 16%, rgba(255, 115, 199, .48), transparent 66%),
    radial-gradient(ellipse 34% 28% at 72% 82%, rgba(255, 214, 120, .3), transparent 70%),
    radial-gradient(ellipse 28% 24% at 24% 78%, rgba(150, 130, 255, .38), transparent 70%),
    linear-gradient(rgba(110, 243, 255, .16) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(110, 243, 255, .12) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(165deg, #070814 0%, #10183a 48%, #1c0c28 100%);
  --t-wall-wide: var(--t-wall);
  --t-veil: linear-gradient(180deg, rgba(7, 8, 20, .5) 0%, rgba(7, 8, 20, .74) 46%, rgba(7, 8, 20, .9) 100%);
  --t-veil-wide: radial-gradient(ellipse 130% 150% at 50% 42%, rgba(7, 8, 20, .86), rgba(7, 8, 20, .7) 58%, rgba(7, 8, 20, .42));
  --t-header: linear-gradient(180deg, rgba(7, 8, 20, .9), rgba(7, 8, 20, .55));
  --t-title: linear-gradient(100deg, #f4feff 0%, #6ef3ff 38%, #ff73c7 72%, #ffe08a 100%);
  --t-btn: linear-gradient(135deg, #bff9ff, #6ef3ff 42%, #ff73c7); --t-btn-ink: #04161c; --t-btn-radius: 8px; --t-radius: 14px;
  --t-mine: linear-gradient(135deg, #2a3ec4, #1a2478); --t-mine-ink: #ffffff;
  --t-tabs: rgba(7, 8, 20, .78); --t-sheet: rgba(8, 10, 24, .96); --t-input: rgba(4, 6, 16, .55);
  --t-pattern: linear-gradient(rgba(110, 243, 255, .4) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 243, 255, .3) 1px, transparent 1px);
  --t-pattern-size: 18px 18px;
  --t-card-shadow: 0 0 0 1px rgba(110, 243, 255, .28), 0 18px 40px rgba(0, 0, 0, .4);
}
.tm-holo .card {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--t-card), var(--t-card)) padding-box,
    linear-gradient(120deg, #6ef3ff, #ff73c7, #ffe08a) border-box;
}

.tm-sakura {
  --t-bg: #160910; --t-card: rgba(42, 16, 30, .74); --t-card-solid: #2a121c; --t-ink: #fff5f8; --t-muted: #e7b7c6;
  --t-line: rgba(255, 170, 196, .24); --t-accent: #ff8aaf; --t-accent-ink: #3a1020; --t-accent2: #ffd0e0;
  --t-theirs: rgba(255, 255, 255, .08); --t-danger: #ff5d73; --t-admin: #ffd166; --t-scheme: dark;
  --t-display: "Fraunces", Georgia, serif; --t-display-weight: 560; --t-h1: 30px; --t-h1-track: -.01em;
  --t-tech: "Inter", system-ui, sans-serif; --t-body: "Inter", system-ui, sans-serif; --t-tabfont: "Inter", system-ui, sans-serif;
  --t-sec: #ffc2d4; --t-link: #ffb3c9;
  --t-wall:
    radial-gradient(ellipse 8px 4px at 30px 24px, rgba(255, 190, 210, .95), transparent 70%) 0 0 / 210px 250px,
    radial-gradient(ellipse 6px 3px at 70px 110px, rgba(255, 226, 232, .85), transparent 70%) 0 0 / 260px 300px,
    radial-gradient(ellipse 11px 5px at 40px 70px, rgba(255, 150, 180, .6), transparent 70%) 20px 40px / 320px 280px,
    radial-gradient(ellipse 7px 4px at 90px 40px, rgba(255, 210, 220, .8), transparent 70%) 0 0 / 180px 220px,
    radial-gradient(ellipse 48% 34% at 86% 0%, rgba(255, 120, 160, .28), transparent 70%),
    radial-gradient(ellipse 42% 40% at 0% 100%, rgba(120, 20, 60, .45), transparent 72%),
    linear-gradient(180deg, #24101a 0%, #160910 52%, #0c0610 100%);
  --t-wall-wide: var(--t-wall);
  --t-veil: linear-gradient(180deg, rgba(22, 9, 16, .48) 0%, rgba(22, 9, 16, .72) 46%, rgba(22, 9, 16, .9) 100%);
  --t-veil-wide: radial-gradient(ellipse 130% 150% at 50% 42%, rgba(22, 9, 16, .86), rgba(22, 9, 16, .68) 58%, rgba(22, 9, 16, .4));
  --t-header: linear-gradient(180deg, rgba(22, 9, 16, .9), rgba(22, 9, 16, .55));
  --t-title: linear-gradient(180deg, #fff8fb 10%, #ffb3c9 100%);
  --t-btn: linear-gradient(180deg, #ffd0de, #ff8aaf); --t-btn-ink: #3a1020; --t-btn-radius: 999px; --t-radius: 22px;
  --t-mine: linear-gradient(135deg, #b43b68, #7a2448); --t-mine-ink: #fff5f8;
  --t-tabs: rgba(22, 9, 16, .78); --t-sheet: rgba(22, 9, 16, .96); --t-input: rgba(10, 4, 8, .5);
  --t-pattern: radial-gradient(ellipse 5px 3px at 8px 6px, rgba(255, 190, 210, .8), transparent 70%);
  --t-pattern-size: 22px 18px;
  --t-card-shadow: 0 16px 40px rgba(40, 0, 20, .35);
}

.tm-noir {
  --t-bg: #0e0e0e; --t-card: #1a1a1a; --t-card-solid: #1c1c1c; --t-ink: #f6f1e6; --t-muted: #cfc6b6;
  --t-line: rgba(246, 241, 230, .18); --t-accent: #ff5148; --t-accent-ink: #1a0504; --t-accent2: #f6f1e6;
  --t-theirs: rgba(246, 241, 230, .08); --t-danger: #ff5148; --t-admin: #e2b657; --t-scheme: dark;
  --t-display: "Instrument Serif", Georgia, serif; --t-display-weight: 400; --t-h1: 34px; --t-h1-track: 0;
  --t-tech: "Inter", system-ui, sans-serif; --t-body: "Inter", system-ui, sans-serif; --t-tabfont: "Inter", system-ui, sans-serif;
  --t-sec: #e4dccd; --t-link: #ff5148;
  --t-wall:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 7px),
    radial-gradient(ellipse at 50% 30%, transparent 20%, rgba(0, 0, 0, .72) 100%),
    linear-gradient(180deg, #1c1c1c, #0a0a0a 70%);
  --t-wall-wide: var(--t-wall);
  --t-veil: linear-gradient(180deg, rgba(14, 14, 14, .35), rgba(14, 14, 14, .72));
  --t-veil-wide: radial-gradient(ellipse 90% 110% at 50% 40%, rgba(0, 0, 0, .55), rgba(0, 0, 0, .2) 70%, transparent);
  --t-header: linear-gradient(180deg, rgba(14, 14, 14, .94), rgba(14, 14, 14, .7));
  --t-title: linear-gradient(180deg, #fffaf1, #e7e0d2);
  --t-btn: linear-gradient(180deg, #f7f3ea, #d9d3c4); --t-btn-ink: #161616; --t-btn-radius: 2px; --t-radius: 2px;
  --t-mine: #f6f1e6; --t-mine-ink: #161616;
  --t-tabs: rgba(12, 12, 12, .94); --t-sheet: rgba(16, 16, 16, .98); --t-input: #101010;
  --t-blur: none; --t-pattern: repeating-linear-gradient(180deg, rgba(255, 255, 255, .2) 0 1px, transparent 1px 6px);
  --t-card-shadow: none;
}
.tm-noir .card, .tm-noir .sheet { border-color: rgba(246, 241, 230, .2); }
.tm-noir .btn { letter-spacing: .04em; box-shadow: none; }
.tm-noir ::selection { background: #ff5148; color: #1a0504; }

.tm-biolume {
  --t-bg: #021116; --t-card: rgba(6, 32, 40, .72); --t-card-solid: #07242c; --t-ink: #e7fff8; --t-muted: #a9d8cc;
  --t-line: rgba(61, 255, 226, .22); --t-accent: #3dffe2; --t-accent-ink: #021614; --t-accent2: #d2b4ff;
  --t-theirs: rgba(255, 255, 255, .07); --t-danger: #ff7a8a; --t-admin: #ffd166; --t-scheme: dark;
  --t-display: "Orbitron", system-ui, sans-serif; --t-display-weight: 700; --t-h1: 22px; --t-h1-track: .05em;
  --t-tech: "Chakra Petch", system-ui, sans-serif; --t-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-tabfont: "Inter", system-ui, sans-serif; --t-sec: #b8fff2; --t-link: #3dffe2;
  --t-wall:
    radial-gradient(1.5px 1.5px at 20px 30px, #d8fff6, transparent) 0 0 / 150px 170px,
    radial-gradient(1.8px 1.8px at 80px 90px, #e4d4ff, transparent) 0 0 / 190px 210px,
    radial-gradient(2.2px 2.2px at 40px 120px, rgba(61, 255, 226, .95), transparent) 0 0 / 230px 250px,
    radial-gradient(1.2px 1.2px at 120px 40px, #ffffff, transparent) 0 0 / 260px 200px,
    radial-gradient(ellipse 36% 30% at 22% 38%, rgba(61, 255, 226, .3), transparent 70%),
    radial-gradient(ellipse 32% 28% at 78% 66%, rgba(180, 120, 255, .28), transparent 70%),
    linear-gradient(180deg, #01080c, #042028 58%, #01060a);
  --t-wall-wide: var(--t-wall);
  --t-veil: linear-gradient(180deg, rgba(2, 17, 22, .5), rgba(2, 17, 22, .78) 50%, rgba(2, 17, 22, .92));
  --t-veil-wide: radial-gradient(ellipse 130% 150% at 50% 42%, rgba(2, 17, 22, .86), rgba(2, 17, 22, .68) 58%, rgba(2, 17, 22, .4));
  --t-header: linear-gradient(180deg, rgba(2, 17, 22, .9), rgba(2, 17, 22, .55));
  --t-title: linear-gradient(100deg, #f3fffc 0%, #3dffe2 48%, #d2b4ff 100%);
  --t-btn: linear-gradient(135deg, #c8fff4, #3dffe2 55%, #d2b4ff); --t-btn-ink: #021614; --t-btn-radius: 8px; --t-radius: 16px;
  --t-mine: linear-gradient(135deg, #0e6e74, #0a3e4a); --t-mine-ink: #e7fff8;
  --t-tabs: rgba(2, 14, 18, .8); --t-sheet: rgba(2, 16, 22, .96); --t-input: rgba(0, 8, 10, .55);
  --t-pattern: radial-gradient(1.6px 1.6px at 6px 6px, rgba(61, 255, 226, .9), transparent);
  --t-pattern-size: 16px 16px;
  --t-card-shadow: 0 0 0 1px rgba(61, 255, 226, .2), 0 0 28px rgba(61, 255, 226, .08), 0 16px 40px rgba(0, 0, 0, .4);
}

.tm-deco {
  --t-bg: #100e0a; --t-card: rgba(28, 24, 16, .8); --t-card-solid: #1c1810; --t-ink: #fbf4e4; --t-muted: #d9cbb0;
  --t-line: rgba(228, 192, 106, .32); --t-accent: #e4c06a; --t-accent-ink: #1c1406; --t-accent2: #fff1c9;
  --t-theirs: rgba(255, 244, 220, .07); --t-danger: #e15b4a; --t-admin: #e4c06a; --t-scheme: dark;
  --t-display: "Cinzel Decorative", Georgia, serif; --t-display-weight: 700; --t-h1: 20px; --t-h1-track: .02em;
  --t-tech: "Inter", system-ui, sans-serif; --t-body: "Inter", system-ui, sans-serif; --t-tabfont: "Inter", system-ui, sans-serif;
  --t-sec: #f0dca8; --t-link: #e4c06a;
  --t-wall:
    radial-gradient(ellipse 90% 46% at 50% 118%, rgba(228, 192, 106, .22), transparent 70%),
    repeating-conic-gradient(from -90deg at 50% 128%, rgba(228, 192, 106, .5) 0 1.1deg, transparent 1.1deg 8deg),
    linear-gradient(90deg, transparent 0 12%, rgba(228, 192, 106, .35) 12% 12.4%, transparent 12.4% 87.6%, rgba(228, 192, 106, .35) 87.6% 88%, transparent 88%),
    linear-gradient(180deg, #0c0a08 0%, #1a140e 62%, #0c0a08);
  --t-wall-wide: var(--t-wall);
  --t-veil: linear-gradient(180deg, rgba(16, 14, 10, .55), rgba(16, 14, 10, .8) 48%, rgba(16, 14, 10, .92));
  --t-veil-wide: radial-gradient(ellipse 130% 150% at 50% 40%, rgba(16, 14, 10, .86), rgba(16, 14, 10, .68) 58%, rgba(16, 14, 10, .4));
  --t-header: linear-gradient(180deg, rgba(16, 14, 10, .92), rgba(16, 14, 10, .6));
  --t-title: linear-gradient(180deg, #fff6d8 0%, #e4c06a 70%, #a8843c 100%);
  --t-btn: linear-gradient(180deg, #f8e7b8, #e4c06a 55%, #b8903e); --t-btn-ink: #1c1406; --t-btn-radius: 2px; --t-radius: 2px;
  --t-mine: linear-gradient(135deg, #7a5c1c, #4a3810); --t-mine-ink: #fff8e6;
  --t-tabs: rgba(14, 12, 8, .9); --t-sheet: rgba(16, 14, 10, .97); --t-input: rgba(8, 6, 4, .55);
  --t-pattern: repeating-linear-gradient(90deg, rgba(228, 192, 106, .45) 0 1px, transparent 1px 10px);
  --t-card-shadow: inset 0 0 0 1px rgba(228, 192, 106, .55), inset 0 0 0 5px rgba(228, 192, 106, .1), 0 16px 40px rgba(0, 0, 0, .4);
}

.tm-voltage {
  --t-bg: #0b0d09; --t-card: rgba(20, 26, 14, .82); --t-card-solid: #161c10; --t-ink: #f4ffe6; --t-muted: #c9dba8;
  --t-line: rgba(228, 255, 90, .28); --t-accent: #e4ff5a; --t-accent-ink: #141800; --t-accent2: #3ef0ff;
  --t-theirs: rgba(255, 255, 255, .07); --t-danger: #ff5d5d; --t-admin: #e4ff5a; --t-scheme: dark;
  --t-display: "Russo One", system-ui, sans-serif; --t-display-weight: 400; --t-h1: 24px; --t-h1-track: .02em;
  --t-tech: "Chakra Petch", system-ui, sans-serif; --t-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --t-tabfont: "Inter", system-ui, sans-serif; --t-sec: #e8ff9a; --t-link: #e4ff5a;
  --t-wall:
    repeating-linear-gradient(118deg, transparent 0 22px, rgba(228, 255, 90, .18) 22px 23px, transparent 23px 46px) 0 0 / 100% 100%,
    repeating-linear-gradient(118deg, transparent 0 88px, rgba(62, 240, 255, .16) 88px 90px) 0 0 / 100% 100%,
    radial-gradient(ellipse 55% 42% at 80% 110%, rgba(228, 255, 90, .2), transparent 70%),
    linear-gradient(180deg, #090b08, #141a0e 68%, #080a07);
  --t-wall-wide: var(--t-wall);
  --t-veil: linear-gradient(180deg, rgba(11, 13, 9, .55), rgba(11, 13, 9, .8) 50%, rgba(11, 13, 9, .92));
  --t-veil-wide: radial-gradient(ellipse 130% 150% at 50% 42%, rgba(11, 13, 9, .86), rgba(11, 13, 9, .68) 58%, rgba(11, 13, 9, .4));
  --t-header: linear-gradient(180deg, rgba(11, 13, 9, .92), rgba(11, 13, 9, .58));
  --t-title: linear-gradient(90deg, #f7ffd0 0%, #e4ff5a 46%, #3ef0ff 100%);
  --t-btn: linear-gradient(180deg, #f4ff9a, #d2ee3a); --t-btn-ink: #141800; --t-btn-radius: 3px; --t-radius: 4px;
  --t-mine: linear-gradient(135deg, #3d6810, #243f08); --t-mine-ink: #f4ffe6;
  --t-tabs: rgba(10, 12, 8, .9); --t-sheet: rgba(12, 14, 10, .97); --t-input: rgba(4, 6, 2, .6);
  --t-pattern: repeating-linear-gradient(118deg, transparent 0 10px, rgba(228, 255, 90, .55) 10px 11px);
  --t-card-shadow: 4px 4px 0 #070806, 0 0 0 1px rgba(228, 255, 90, .35);
}
.tm-voltage .btn { box-shadow: 3px 3px 0 #070806; }
.tm-voltage .btn:active { transform: translate(2px, 2px); box-shadow: none; }

.tm-prism {
  --t-bg: #f2f4fb; --t-card: rgba(255, 255, 255, .78); --t-card-solid: #ffffff; --t-ink: #16192a; --t-muted: #3e4760;
  --t-line: #d5daea; --t-accent: #3a2fd0; --t-accent-ink: #ffffff; --t-accent2: #c2185b;
  --t-theirs: #e7ebf6; --t-danger: #c4233a; --t-admin: #9a6700; --t-scheme: light;
  --t-display: "Space Grotesk", system-ui, sans-serif; --t-display-weight: 600; --t-h1: 26px; --t-h1-track: -.02em;
  --t-tech: "Inter", system-ui, sans-serif; --t-body: "Inter", system-ui, sans-serif; --t-tabfont: "Inter", system-ui, sans-serif;
  --t-sec: #3a2fd0; --t-link: #3a2fd0;
  --t-wall:
    radial-gradient(ellipse 42% 36% at 10% 0%, rgba(255, 70, 140, .34), transparent 70%),
    radial-gradient(ellipse 40% 38% at 96% 6%, rgba(70, 80, 255, .28), transparent 70%),
    radial-gradient(ellipse 36% 32% at 78% 100%, rgba(30, 200, 230, .26), transparent 70%),
    radial-gradient(ellipse 30% 26% at 8% 92%, rgba(255, 186, 70, .22), transparent 70%),
    linear-gradient(180deg, #f7f8fd, #e8ecf6);
  --t-wall-wide: var(--t-wall);
  --t-veil: linear-gradient(180deg, rgba(242, 244, 251, .35), rgba(242, 244, 251, .78) 50%, rgba(242, 244, 251, .92));
  --t-veil-wide: radial-gradient(ellipse 130% 150% at 50% 42%, rgba(242, 244, 251, .9), rgba(242, 244, 251, .72) 58%, rgba(242, 244, 251, .38));
  --t-header: linear-gradient(180deg, rgba(247, 248, 253, .94), rgba(247, 248, 253, .7));
  --t-title: linear-gradient(100deg, #16192a 0%, #3a2fd0 55%, #c2185b 100%);
  --t-btn: linear-gradient(180deg, #5b50e4, #2d24b0); --t-btn-ink: #ffffff; --t-btn-radius: 12px; --t-radius: 18px;
  --t-mine: linear-gradient(135deg, #4a3fe0, #2a22a8); --t-mine-ink: #ffffff;
  --t-tabs: rgba(255, 255, 255, .86); --t-sheet: rgba(255, 255, 255, .98); --t-input: #ffffff;
  --t-pattern: radial-gradient(circle at 30% 30%, rgba(58, 47, 208, .16), transparent 60%), radial-gradient(circle at 70% 70%, rgba(194, 24, 91, .12), transparent 60%);
  --t-card-shadow: 0 10px 30px rgba(40, 50, 100, .08), inset 0 1px 0 #ffffff;
}
.tm-prism .th-sw i { box-shadow: 0 0 0 1px rgba(20, 24, 40, .18); }

.tm-koi {
  --t-bg: #071418; --t-card: rgba(12, 36, 42, .74); --t-card-solid: #10262c; --t-ink: #f8f3e8; --t-muted: #d5c8b0;
  --t-line: rgba(255, 176, 110, .24); --t-accent: #ff8d3a; --t-accent-ink: #1c0e04; --t-accent2: #f6e2b8;
  --t-theirs: rgba(255, 255, 255, .07); --t-danger: #ff6d6d; --t-admin: #f0c36a; --t-scheme: dark;
  --t-display: "Fraunces", Georgia, serif; --t-display-weight: 560; --t-h1: 30px; --t-h1-track: -.01em;
  --t-tech: "Inter", system-ui, sans-serif; --t-body: "Inter", system-ui, sans-serif; --t-tabfont: "Inter", system-ui, sans-serif;
  --t-sec: #ffd0a8; --t-link: #ff8d3a;
  --t-wall:
    repeating-radial-gradient(circle at 40px 40px, transparent 0 26px, rgba(246, 226, 184, .2) 26px 28px) 0 0 / 170px 170px,
    repeating-radial-gradient(circle at 30px 30px, transparent 0 34px, rgba(90, 210, 210, .14) 34px 36px) 0 0 / 220px 220px,
    radial-gradient(ellipse 16% 9% at 30% 46%, #ff8d3a, #ff8d3a 42%, transparent 72%),
    radial-gradient(ellipse 12% 7% at 64% 58%, #f6e2b8, #f6e2b8 40%, transparent 70%),
    radial-gradient(ellipse 8% 5% at 46% 32%, rgba(255, 141, 58, .75), transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(8, 60, 70, .55), transparent 70%),
    linear-gradient(180deg, #041016, #0c2830 55%, #071418);
  --t-wall-wide: var(--t-wall);
  --t-veil: linear-gradient(180deg, rgba(7, 20, 24, .5), rgba(7, 20, 24, .76) 48%, rgba(7, 20, 24, .92));
  --t-veil-wide: radial-gradient(ellipse 130% 150% at 50% 42%, rgba(7, 20, 24, .86), rgba(7, 20, 24, .68) 58%, rgba(7, 20, 24, .4));
  --t-header: linear-gradient(180deg, rgba(7, 20, 24, .9), rgba(7, 20, 24, .55));
  --t-title: linear-gradient(180deg, #fff8ee 8%, #ffb067 100%);
  --t-btn: linear-gradient(180deg, #ffc48a, #ff8d3a); --t-btn-ink: #1c0e04; --t-btn-radius: 999px; --t-radius: 20px;
  --t-mine: linear-gradient(135deg, #c45e18, #a84310); --t-mine-ink: #fff8f2;
  --t-tabs: rgba(6, 18, 22, .82); --t-sheet: rgba(7, 18, 22, .96); --t-input: rgba(2, 10, 12, .55);
  --t-pattern: repeating-radial-gradient(circle at 0 100%, transparent 0 8px, rgba(255, 176, 110, .35) 8px 9px);
  --t-card-shadow: 0 16px 40px rgba(0, 10, 16, .4);
}

.tm-rose {
  --t-bg: #0c0a10; --t-card: rgba(24, 18, 30, .78); --t-card-solid: #18141e; --t-ink: #f8f2e6; --t-muted: #d8cbb8;
  --t-line: rgba(240, 200, 106, .28); --t-accent: #f0c86a; --t-accent-ink: #1c1406; --t-accent2: #ff8b98;
  --t-theirs: rgba(255, 255, 255, .07); --t-danger: #ff6d7a; --t-admin: #f0c86a; --t-scheme: dark;
  --t-display: "Cormorant Garamond", Georgia, serif; --t-display-weight: 600; --t-h1: 34px; --t-h1-track: .01em;
  --t-tech: "Inter", system-ui, sans-serif; --t-body: "Inter", system-ui, sans-serif; --t-tabfont: "Inter", system-ui, sans-serif;
  --t-sec: #f0d7a4; --t-link: #f0c86a;
  --t-wall:
    repeating-linear-gradient(0deg, transparent 0 78px, rgba(6, 4, 10, .92) 78px 81px),
    repeating-linear-gradient(90deg, transparent 0 92px, rgba(6, 4, 10, .92) 92px 95px),
    conic-gradient(from 18deg at 50% 38%, #d64566 0 40deg, #3b6fe0 40deg 82deg, #1fa878 82deg 124deg, #e8b045 124deg 166deg, #a04ec8 166deg 210deg, #d64566 210deg 250deg, #2a92b4 250deg 300deg, #e08a3a 300deg 340deg, #3d9a62 340deg 360deg);
  --t-wall-wide: var(--t-wall);
  --t-veil: linear-gradient(180deg, rgba(12, 10, 16, .58), rgba(12, 10, 16, .8) 46%, rgba(12, 10, 16, .92));
  --t-veil-wide: radial-gradient(ellipse 130% 150% at 50% 42%, rgba(12, 10, 16, .86), rgba(12, 10, 16, .68) 58%, rgba(12, 10, 16, .38));
  --t-header: linear-gradient(180deg, rgba(12, 10, 16, .92), rgba(12, 10, 16, .58));
  --t-title: linear-gradient(180deg, #fff6e4 10%, #f0c86a 100%);
  --t-btn: linear-gradient(180deg, #f8e2a8, #e0b456); --t-btn-ink: #1c1406; --t-btn-radius: 4px; --t-radius: 6px;
  --t-mine: linear-gradient(135deg, #8e284c, #5c1834); --t-mine-ink: #fff5f6;
  --t-tabs: rgba(12, 10, 16, .86); --t-sheet: rgba(12, 10, 16, .97); --t-input: rgba(6, 4, 10, .55);
  --t-pattern: linear-gradient(rgba(240, 200, 106, .45) 1px, transparent 1px), linear-gradient(90deg, rgba(240, 200, 106, .35) 1px, transparent 1px);
  --t-pattern-size: 16px 16px;
  --t-card-shadow: inset 0 0 0 1px rgba(240, 200, 106, .4), 0 16px 40px rgba(0, 0, 0, .45);
}

/* Living wallpapers. The page pans under the content. Lite mode, an idle page, and reduced-motion leave it still. */
:is(.tm-holo, .tm-sakura, .tm-biolume, .tm-voltage, .tm-koi, .tm-prism) body::before {
  inset: -14%;
  animation: tm3-pan 34s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
  :is(.tm-holo, .tm-sakura, .tm-biolume, .tm-voltage, .tm-koi, .tm-prism) body::before { animation: none; }
}
html.lite:is(.tm-holo, .tm-sakura, .tm-biolume, .tm-voltage, .tm-koi, .tm-prism) body::before { animation: none; }
html.idle:is(.tm-holo, .tm-sakura, .tm-biolume, .tm-voltage, .tm-koi, .tm-prism) body::before { animation-play-state: paused; }

/* Phones: busy wallpapers stay behind the text, same rule as Arcade, CRT and Comic. */
@media (max-width: 600px) {
  :is(.tm-holo, .tm-sakura, .tm-biolume, .tm-deco, .tm-voltage, .tm-koi, .tm-rose) { --t-card: var(--t-card-solid); }
}

/* Shared third-edition type and the line-icon dock. */
:is(.tm-holo, .tm-sakura, .tm-noir, .tm-biolume, .tm-deco, .tm-voltage, .tm-prism, .tm-koi, .tm-rose) body { -webkit-font-smoothing: antialiased; }
:is(.tm-sakura, .tm-noir, .tm-deco, .tm-prism, .tm-koi, .tm-rose) header.top h1,
:is(.tm-sakura, .tm-noir, .tm-deco, .tm-prism, .tm-koi, .tm-rose) .appban .ab-name { filter: none; text-shadow: none; }
:is(.tm-holo, .tm-sakura, .tm-noir, .tm-biolume, .tm-deco, .tm-voltage, .tm-prism, .tm-koi, .tm-rose) .section-title {
  font-family: var(--t-display); font-weight: var(--t-display-weight); font-size: calc(var(--t-h1) * .72);
  letter-spacing: var(--t-h1-track); text-transform: none; color: var(--t-ink);
}
.tm-holo .section-title, .tm-deco .section-title { font-size: 18px; }
:is(.tm-holo, .tm-sakura, .tm-noir, .tm-biolume, .tm-deco, .tm-voltage, .tm-prism, .tm-koi, .tm-rose) .appban .ab-name {
  font-size: calc(var(--t-h1) * 1.15); letter-spacing: var(--t-h1-track); line-height: 1.05;
}
:is(.tm-holo, .tm-sakura, .tm-noir, .tm-biolume, .tm-deco, .tm-voltage, .tm-prism, .tm-koi, .tm-rose) #tabs {
  border-top: 1px solid var(--t-line);
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
}
:is(.tm-holo, .tm-sakura, .tm-noir, .tm-biolume, .tm-deco, .tm-voltage, .tm-prism, .tm-koi, .tm-rose) #tabs a {
  font-weight: 500; letter-spacing: .01em; color: color-mix(in srgb, var(--t-ink) 58%, transparent);
}
:is(.tm-holo, .tm-sakura, .tm-noir, .tm-biolume, .tm-deco, .tm-voltage, .tm-prism, .tm-koi, .tm-rose) #tabs a .ic {
  border-radius: 0; box-shadow: none; filter: none; opacity: 1; background: currentColor; transform: none;
  -webkit-mask: var(--icm) center / contain no-repeat; mask: var(--icm) center / contain no-repeat;
  width: 23px; height: 23px; margin: 3px 0 4px;
}
:is(.tm-holo, .tm-sakura, .tm-noir, .tm-biolume, .tm-deco, .tm-voltage, .tm-prism, .tm-koi, .tm-rose) #tabs a.on { color: var(--t-accent); }
:is(.tm-holo, .tm-sakura, .tm-noir, .tm-biolume, .tm-deco, .tm-voltage, .tm-prism, .tm-koi, .tm-rose) #tabs a.on .ic { transform: none; box-shadow: none; }
:is(.tm-holo, .tm-sakura, .tm-noir, .tm-biolume, .tm-deco, .tm-voltage, .tm-prism, .tm-koi, .tm-rose) #tabs a.on::after {
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; bottom: 3px; background: var(--t-accent);
}
:is(.tm-holo, .tm-sakura, .tm-noir, .tm-biolume, .tm-deco, .tm-voltage, .tm-prism, .tm-koi, .tm-rose) .appban .ab-ic {
  background: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t-accent) 55%, transparent); border-radius: 50%; position: relative;
}
:is(.tm-holo, .tm-sakura, .tm-noir, .tm-biolume, .tm-deco, .tm-voltage, .tm-prism, .tm-koi, .tm-rose) .appban .ab-ic::after {
  content: ""; position: absolute; inset: 26%; background: var(--t-accent);
  -webkit-mask: var(--icm) center / contain no-repeat; mask: var(--icm) center / contain no-repeat;
}
:is(.tm-holo, .tm-sakura, .tm-noir, .tm-biolume, .tm-deco, .tm-voltage, .tm-prism, .tm-koi, .tm-rose) #app > header.top h1::before {
  background: var(--t-accent); box-shadow: none; border-radius: 0;
  -webkit-mask: var(--icm) center / 76% no-repeat; mask: var(--icm) center / 76% no-repeat;
}
.tm-prism #tabs { background: rgba(255, 255, 255, .82); border-top-color: rgba(22, 25, 42, .1); box-shadow: 0 -12px 30px rgba(40, 50, 90, .08); }
.tm-prism #tabs a { color: #4a5368; }
.tm-prism #tabs a.on { color: var(--t-accent); }
.tm-prism .appban .ab-tag { text-shadow: none; }
@media (min-width: 901px) {
  :is(.tm-holo, .tm-sakura, .tm-noir, .tm-biolume, .tm-deco, .tm-voltage, .tm-prism, .tm-koi, .tm-rose) #tabs {
    left: 50%; right: auto; transform: translateX(-50%); bottom: 12px; width: min(1040px, calc(100% - 24px));
    border-radius: 22px; border: 1px solid var(--t-line); padding: 2px 8px;
  }
  :is(.tm-holo, .tm-sakura, .tm-noir, .tm-biolume, .tm-deco, .tm-voltage, .tm-prism, .tm-koi, .tm-rose) #app { padding-bottom: 120px; }
}
@media (max-width: 900px) {
  :is(.tm-holo, .tm-sakura, .tm-noir, .tm-biolume, .tm-deco, .tm-voltage, .tm-prism, .tm-koi, .tm-rose) #tabs a .ic { width: 21px; height: 21px; margin: 2px 0 3px; }
}
html.lite:is(.tm-holo, .tm-sakura, .tm-noir, .tm-biolume, .tm-deco, .tm-voltage, .tm-prism, .tm-koi, .tm-rose) #tabs {
  -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--t-bg);
}

.th-e3 .th-prev { height: 250px; }
:is(.tm-holo, .tm-sakura, .tm-noir, .tm-biolume, .tm-deco, .tm-voltage, .tm-prism, .tm-koi, .tm-rose).th-card .th-ban small,
.th-card:is(.tm-holo, .tm-sakura, .tm-noir, .tm-biolume, .tm-deco, .tm-voltage, .tm-prism, .tm-koi, .tm-rose) .th-ban small {
  text-transform: none; letter-spacing: .02em;
}
