/* Seven local visual systems from the approved design proposal. */
@font-face{font-family:PartyOpen;src:url("/fonts/open-regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:PartyOpen;src:url("/fonts/open-bold.woff2") format("woff2");font-weight:600 900;font-style:normal;font-display:swap}
@font-face{font-family:PartyNoto;src:url("/fonts/noto-regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:PartyNoto;src:url("/fonts/noto-bold.woff2") format("woff2");font-weight:600 900;font-style:normal;font-display:swap}
@font-face{font-family:PartySerif;src:url("/fonts/serif-regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:PartySerif;src:url("/fonts/serif-bold.woff2") format("woff2");font-weight:600 900;font-style:normal;font-display:swap}
@font-face{font-family:PartyMono;src:url("/fonts/mono-regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:PartyMono;src:url("/fonts/mono-bold.woff2") format("woff2");font-weight:600 900;font-style:normal;font-display:swap}
@font-face{font-family:PartyCondensed;src:url("/fonts/condensed-bold.woff2") format("woff2");font-weight:600 900;font-style:normal;font-display:swap}
html[data-theme="1"]{color-scheme:light;--bg:#fff8ef;--paper:#fffdf8;--ink:#39483f;--muted:#626a5e;--brand:#a84934;--onbrand:#fffdf8;--accent:#da6d52;--soft:#f5e4d6;--line:#c5bcaa;--good:#28543d;--error:#a3233d;--font-body:PartyOpen,system-ui,sans-serif;--font-head:PartyOpen,system-ui,sans-serif;--card-radius:23px;--control-radius:18px;--secret-radius:29px}
html[data-theme="2"]{color-scheme:dark;--bg:#101413;--paper:#1b211e;--ink:#f3f7e9;--muted:#b0bbae;--brand:#d7ff58;--onbrand:#101413;--accent:#a793ff;--soft:#283125;--line:#58644f;--good:#a6e9b6;--error:#ffacbd;--font-body:PartyNoto,system-ui,sans-serif;--font-head:PartyCondensed,PartyNoto,sans-serif;--card-radius:14px;--control-radius:10px;--secret-radius:4px}
html[data-theme="3"]{color-scheme:light;--bg:#f4eedd;--paper:#faf6e9;--ink:#243a54;--muted:#6c6252;--brand:#243a54;--onbrand:#faf6e9;--accent:#b24e39;--soft:#ebe2cd;--line:#aaa08b;--good:#27523b;--error:#a12e34;--font-body:PartyOpen,system-ui,sans-serif;--font-head:PartySerif,Georgia,serif;--card-radius:2px;--control-radius:2px;--secret-radius:0px}
html[data-theme="4"]{color-scheme:light;--bg:#fff56b;--paper:#fffdf4;--ink:#171717;--muted:#514c40;--brand:#3759e5;--onbrand:#fffdf4;--accent:#ff7cb6;--soft:#ffb7d4;--line:#171717;--good:#1c4a36;--error:#922638;--font-body:PartyNoto,system-ui,sans-serif;--font-head:PartyCondensed,PartyNoto,sans-serif;--card-radius:0px;--control-radius:0px;--secret-radius:0px}
html[data-theme="5"]{color-scheme:light;--bg:#ffffff;--paper:#ffffff;--ink:#181b20;--muted:#636b78;--brand:#1d4ed8;--onbrand:#ffffff;--accent:#1d4ed8;--soft:#eef3ff;--line:#bfc6d0;--good:#23543a;--error:#a1263c;--font-body:PartyNoto,system-ui,sans-serif;--font-head:PartyNoto,system-ui,sans-serif;--card-radius:6px;--control-radius:7px;--secret-radius:0px}
html[data-theme="6"]{color-scheme:dark;--bg:#15172b;--paper:#24263f;--ink:#f3eddf;--muted:#bbb6d2;--brand:#65e7cb;--onbrand:#15172b;--accent:#f7bf57;--soft:#2b3543;--line:#80799c;--good:#a1e9b3;--error:#ffafbf;--font-body:PartyMono,ui-monospace,monospace;--font-head:PartyMono,ui-monospace,monospace;--card-radius:0px;--control-radius:0px;--secret-radius:0px}
html[data-theme="7"]{color-scheme:light;--bg:#eef1ff;--paper:#fbfaff;--ink:#3c355b;--muted:#6b607d;--brand:#715cb8;--onbrand:#ffffff;--accent:#8874d8;--soft:#e5dff6;--line:#bcb1d1;--good:#285241;--error:#a22647;--font-body:PartyNoto,system-ui,sans-serif;--font-head:PartyNoto,system-ui,sans-serif;--card-radius:27px;--control-radius:24px;--secret-radius:32px}
html{background:var(--bg);color:var(--ink)}
body{background:var(--bg);color:var(--ink);font-family:var(--font-body);min-height:100vh}
.shell{position:relative}
h1,h2,h3,.brand,.secret strong,.timer,.code{font-family:var(--font-head)}
.card,.friend{border-radius:var(--card-radius)}
.button,.input{border-radius:var(--control-radius)}
.secret{border-radius:var(--secret-radius);position:relative;isolation:isolate;overflow:hidden}
.secret>*{position:relative;z-index:1}
.notice,.status-offline{color:var(--error)}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline-color:var(--brand)}
.top{align-items:flex-start;gap:12px;position:relative}
.top .brand{white-space:nowrap;line-height:1.4}
.top-meta{display:flex;flex-direction:column;align-items:flex-end;gap:7px;min-width:0}
.top-meta>small{font-size:11px;line-height:1.45;max-width:230px}
.game-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:210px;isolation:isolate}
.game-card .number{font-size:11px;margin-bottom:11px;display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.game-new{font-size:10px;border:1px solid var(--line);border-radius:20px;padding:1px 6px}
.game-icon{display:block;width:34px;height:34px;margin-bottom:13px;color:var(--brand);flex-shrink:0}
.game-icon svg{display:block;width:100%;height:100%}
.game-copy{display:block;min-width:0}
.game-card h3{line-height:1.25}
.game-card p{line-height:1.5}
.style-picker{margin:0;position:relative;z-index:50}
.style-trigger{list-style:none;display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:var(--control-radius);background:var(--paper);color:var(--ink);font-family:var(--font-body);font-size:12px;cursor:pointer;white-space:nowrap}
.style-trigger::-webkit-details-marker{display:none}
.style-trigger>svg{width:18px;height:18px;flex-shrink:0}
.style-picker[open]>.style-trigger{border-color:var(--brand)}
.style-panel{position:absolute;top:calc(100% + 10px);right:0;width:min(440px,calc(100vw - 24px));max-height:min(72vh,660px);overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:max(10px,var(--card-radius));padding:18px;background:var(--paper);color:var(--ink);box-shadow:0 18px 60px #0003;text-align:left}
.style-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:-18px;margin:-18px -18px 0;padding:14px 18px 9px;background:var(--paper);z-index:2;border-bottom:1px solid var(--line)}
.style-panel-head h2{font-family:var(--font-body);font-size:22px;letter-spacing:-.4px;margin:0}
.style-panel-head .button{min-height:44px}
.style-panel>.muted{margin:12px 0}
.style-options{display:grid;gap:8px}
.style-option{width:100%;display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);text-align:left;font-family:var(--font-body);font-size:13px;min-height:76px}
.style-option[aria-pressed="true"]{border-color:var(--brand);outline:1px solid var(--brand);outline-offset:0}
.style-option-copy{display:block;flex:1;min-width:0;overflow-wrap:anywhere;text-align:left}
.style-option-copy strong{display:block;text-align:left;font-family:var(--font-body);font-size:13px;line-height:1.4}
.style-option-copy small{display:block;text-align:left;color:var(--muted);font-size:12px;line-height:1.45;margin-top:4px}
.style-check{font-size:19px;color:var(--brand);width:17px;flex-shrink:0;visibility:hidden}
.style-option[aria-pressed="true"] .style-check{visibility:visible}
.style-preview{display:flex;flex-direction:column;gap:3px;background:var(--preview-bg);border:1px solid var(--preview-border);border-radius:var(--preview-radius);padding:5px;width:44px;height:56px;flex-shrink:0}
.style-preview-mark{display:block;text-align:center;background:var(--preview-soft);border-radius:var(--preview-radius);font-family:var(--preview-font);font-size:21px;font-weight:700;line-height:25px;color:var(--preview-ink)}
.style-preview i{display:block;width:100%;background:var(--preview-brand);height:5px;border-radius:var(--preview-radius)}
.style-option[data-style-option="1"]{--preview-bg:#fff8ef;--preview-soft:#f5e4d6;--preview-brand:#da6d52;--preview-ink:#a84934;--preview-border:#c5bcaa;--preview-radius:6px;--preview-font:PartyOpen}
.style-option[data-style-option="2"]{--preview-bg:#101413;--preview-soft:#283125;--preview-brand:#d7ff58;--preview-ink:#d7ff58;--preview-border:#58644f;--preview-radius:2px;--preview-font:PartyCondensed}
.style-option[data-style-option="3"]{--preview-bg:#f4eedd;--preview-soft:#faf6e9;--preview-brand:#243a54;--preview-ink:#b24e39;--preview-border:#aaa08b;--preview-radius:0px;--preview-font:PartySerif}
.style-option[data-style-option="4"]{--preview-bg:#fff56b;--preview-soft:#ff7cb6;--preview-brand:#3759e5;--preview-ink:#171717;--preview-border:#171717;--preview-radius:0px;--preview-font:PartyCondensed}
.style-option[data-style-option="5"]{--preview-bg:#ffffff;--preview-soft:#ffffff;--preview-brand:#1d4ed8;--preview-ink:#181b20;--preview-border:#bfc6d0;--preview-radius:1px;--preview-font:PartyNoto}
.style-option[data-style-option="6"]{--preview-bg:#15172b;--preview-soft:#24263f;--preview-brand:#65e7cb;--preview-ink:#65e7cb;--preview-border:#80799c;--preview-radius:0px;--preview-font:PartyMono}
.style-option[data-style-option="7"]{--preview-bg:#eef1ff;--preview-soft:#e5dff6;--preview-brand:#8874d8;--preview-ink:#715cb8;--preview-border:#bcb1d1;--preview-radius:8px;--preview-font:PartyNoto}
.style-help{font-size:12px;margin:13px 0 0!important}
html[data-theme="1"] .game-card:nth-child(3n+2){background:#edf0e4}
html[data-theme="1"] .game-card:nth-child(3n){background:#f8e7dc}
html[data-theme="1"] .person:nth-child(2) .avatar{background:#e4ebdd;color:#3f5a3d}
html[data-theme="1"] .person:nth-child(3) .avatar{background:#f3e4b7;color:#6b5223}
html[data-theme="1"] .secret{border:0}
html[data-theme="1"] .secret:before{content:"";position:absolute;width:150px;height:150px;background:#f0cfb8;border-radius:50%;left:-80px;top:-70px;z-index:0}
html[data-theme="1"] .secret:after{content:"";position:absolute;width:85px;height:85px;background:#e9c8aa;border-radius:50%;right:-40px;bottom:-30px;z-index:0}
html[data-theme="1"] .timer{padding:7px 11px;background:#e9ead8;color:#425840;border-radius:30px}
html[data-theme="2"] h1,html[data-theme="2"] .brand{text-transform:uppercase}
html[data-theme="2"] .brand{letter-spacing:.3px}
html[data-theme="2"] .game-card:first-child{grid-column:span 3;background:var(--brand);color:var(--onbrand);padding-right:130px;min-height:180px}
html[data-theme="2"] .game-card:first-child h3{font-size:34px}
html[data-theme="2"] .game-card:first-child :is(.number,p,small,.game-icon){color:var(--onbrand)}
html[data-theme="2"] .game-card:first-child .game-icon{position:absolute;right:25px;top:40px;width:75px;height:75px}
html[data-theme="2"] .game-card:first-child .game-new{border-color:var(--onbrand)}
html[data-theme="2"] .game-card:nth-child(3n) .game-icon{color:var(--accent)}
html[data-theme="2"] .secret{border-color:#849d42;background:#1c251a}
html[data-theme="2"] .friend{border-radius:4px;background:transparent;border-color:#58644f}
html[data-theme="2"] .friend strong{color:var(--brand)}
html[data-theme="2"] .friend:nth-child(2n) strong{color:#c5baff}
html[data-theme="2"] .timer{padding:6px 10px;border:1px solid var(--brand);border-radius:3px}
html[data-theme="2"] :is(.pill,.avatar,.code){border-radius:4px}
html[data-theme="3"] h1,html[data-theme="3"] h2,html[data-theme="3"] h3,html[data-theme="3"] .brand{font-weight:400}
html[data-theme="3"] .top{border-bottom:2px solid var(--ink)}
html[data-theme="3"] .grid{display:block;border-top:1px solid var(--ink)}
html[data-theme="3"] .game-card{display:grid;grid-template-columns:40px 1fr;gap:16px;align-items:center;width:100%;min-height:100px;padding:19px 5px;border:0;border-bottom:1px solid var(--line);background:transparent}
html[data-theme="3"] .game-card .game-icon,html[data-theme="3"] .game-new{display:none}
html[data-theme="3"] .game-card .number{margin:0;align-self:start;color:var(--accent);font-family:PartyMono,monospace;font-size:14px;padding-top:4px}
html[data-theme="3"] .game-card h3{font-size:24px}
html[data-theme="3"] .game-card p{margin-bottom:7px}
html[data-theme="3"] .avatar{border:1px solid var(--ink);border-radius:0;background:transparent;color:var(--ink);font-family:var(--font-head)}
html[data-theme="3"] .pill{border:1px solid var(--accent);color:var(--accent);background:transparent;border-radius:0}
html[data-theme="3"] .timer{font-family:PartyMono,monospace;border:1px solid var(--accent);color:var(--accent);padding:6px 10px;font-size:21px}
html[data-theme="3"] .secret{border:1px solid var(--ink);background:var(--paper)}
html[data-theme="3"] .secret .unknown{font-weight:400;font-size:108px;color:var(--accent)}
html[data-theme="3"] .note{border:1px dashed var(--muted);border-radius:0}
html[data-theme="3"] .friend{border:0;border-bottom:1px solid var(--line);background:transparent;padding:14px 0}
html[data-theme="3"] .input{border-color:var(--muted)}
html[data-theme="4"] h1,html[data-theme="4"] .brand{text-transform:uppercase}
html[data-theme="4"] :is(.card,.button,.input,.secret,.friend){border:2px solid var(--ink)}
html[data-theme="4"] .game-card{box-shadow:5px 5px 0 var(--ink);margin-bottom:5px}
html[data-theme="4"] .game-card:nth-child(3n+2){background:#ffb7d4}
html[data-theme="4"] .game-card:nth-child(3n){background:#b4c5ff}
html[data-theme="4"] .game-card .number,html[data-theme="4"] .game-icon{color:var(--ink)}
html[data-theme="4"] .avatar{border:2px solid var(--ink);border-radius:0;background:#ff7cb6;color:var(--ink)}
html[data-theme="4"] .pill{background:var(--ink);color:#fff56b;border-radius:0}
html[data-theme="4"] .timer{padding:5px 10px;background:var(--ink);color:#fff56b;transform:rotate(3deg)}
html[data-theme="4"] .secret{background:#ff7cb6;border-width:3px}
html[data-theme="4"] .secret .unknown{color:var(--ink);transform:rotate(-7deg);font-size:110px}
html[data-theme="4"] .note{border:2px solid var(--ink);border-radius:0}
html[data-theme="4"] .top{border-bottom:2px solid var(--ink)}
html[data-theme="4"] .game-card:hover{border-color:var(--ink);transform:translateY(-2px)}
html[data-theme="5"] h1,html[data-theme="5"] h2,html[data-theme="5"] h3,html[data-theme="5"] .brand{font-weight:400}
html[data-theme="5"] .grid{display:block;border-top:1px solid var(--line)}
html[data-theme="5"] .game-card{display:grid;grid-template-columns:32px 1fr;align-items:center;gap:18px;width:100%;min-height:98px;padding:19px 24px 19px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
html[data-theme="5"] .game-card .number{display:none}
html[data-theme="5"] .game-card .game-icon{width:25px;height:25px;margin:0;color:var(--ink)}
html[data-theme="5"] .game-card h3{font-size:21px}
html[data-theme="5"] .game-card p{margin-bottom:7px}
html[data-theme="5"] .game-card:after{content:"›";position:absolute;right:2px;top:25px;font-size:26px;color:var(--muted)}
html[data-theme="5"] .avatar{background:#f3f4f6;color:#535a66}
html[data-theme="5"] .pill{background:transparent;padding:0}
html[data-theme="5"] .secret{border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--paper)}
html[data-theme="5"] .secret .unknown{font-size:106px;font-weight:400;color:var(--ink)}
html[data-theme="5"] .friend{border:0;background:#f3f5f8;border-radius:5px}
html[data-theme="5"] .note{background:#f2f5fb}
html[data-theme="5"] .timer{font-weight:400;padding:5px 10px;background:var(--soft);border-radius:5px}
html[data-theme="6"] body{background-color:var(--bg);background-image:linear-gradient(#302b4b55 1px,transparent 1px),linear-gradient(90deg,#302b4b55 1px,transparent 1px);background-size:24px 24px}
html[data-theme="6"] .brand{text-transform:uppercase;font-size:18px;letter-spacing:0}
html[data-theme="6"] h1,html[data-theme="6"] h2,html[data-theme="6"] h3{text-transform:uppercase;letter-spacing:-.6px}
html[data-theme="6"] h1{font-size:clamp(30px,5.8vw,50px)}
html[data-theme="6"] h2{font-size:25px}
html[data-theme="6"] .eyebrow{color:var(--accent);letter-spacing:.3px}
html[data-theme="6"] .grid{display:block}
html[data-theme="6"] .game-card{display:grid;grid-template-columns:33px 1fr;align-items:center;gap:16px;min-height:100px;width:100%;padding:18px;border:1px solid var(--brand);margin-bottom:12px;background:var(--paper)}
html[data-theme="6"] .game-card:nth-child(2n){border-color:#a599e9}
html[data-theme="6"] .game-card .number{display:none}
html[data-theme="6"] .game-card .game-icon{width:28px;height:28px;margin:0}
html[data-theme="6"] .game-card h3{font-size:19px}
html[data-theme="6"] .game-card:after{content:"";width:5px;height:5px;background:var(--accent);position:absolute;bottom:6px;right:6px}
html[data-theme="6"] .game-card p{font-size:12px;margin-bottom:7px}
html[data-theme="6"] .button{border-width:2px;font-size:13px}
html[data-theme="6"] .button.quiet{border-color:transparent}
html[data-theme="6"] .timer{font-family:var(--font-body);color:var(--accent);border:2px solid var(--accent);padding:6px 10px;font-size:20px}
html[data-theme="6"] .secret{border:3px double var(--brand);background:var(--paper)}
html[data-theme="6"] .secret .unknown{font-size:100px;color:var(--brand);text-shadow:4px 4px 0 #15172b}
html[data-theme="6"] .secret small{color:var(--muted)}
html[data-theme="6"] .pill{border-radius:0;color:var(--accent);background:#373148}
html[data-theme="6"] .avatar{border-radius:0;border:1px solid var(--brand);background:var(--paper)}
html[data-theme="6"] .person{border-bottom-style:dashed}
html[data-theme="6"] .note{border:1px solid var(--line);border-radius:0}
html[data-theme="7"] body{background:radial-gradient(circle at 95% 20%,#f3c9c3 0,transparent 30%),radial-gradient(circle at 5% 85%,#bfe1d3 0,transparent 30%),linear-gradient(150deg,#eef1ff,#f5e4e9 55%,#e1eee9);background-attachment:fixed}
html[data-theme="7"] :is(.card,.friend,.input){background:#ffffffe0;border:1px solid #ffffff}
html[data-theme="7"] .game-card{background:linear-gradient(140deg,#ffffffef,#ffffff95);border-color:#fff}
html[data-theme="7"] .game-icon{width:40px;height:40px;padding:5px;background:#eee7ff;border:1px solid white;border-radius:12px}
html[data-theme="7"] .game-card:nth-child(3n+2) .game-icon{background:#fde3dc;color:#9a5647}
html[data-theme="7"] .game-card:nth-child(3n) .game-icon{background:#d9eee6;color:#406f60}
html[data-theme="7"] .primary{background:linear-gradient(130deg,#7961bd,#6856ad);border-color:#8874d8}
html[data-theme="7"] .avatar{border:2px solid white;border-radius:14px;background:linear-gradient(145deg,#f9dccd,#dfc1f3);color:#68466b}
html[data-theme="7"] .person:nth-child(2) .avatar{background:linear-gradient(145deg,#d4efe3,#b8d2e9);color:#3b5e65}
html[data-theme="7"] .person:nth-child(3) .avatar{background:linear-gradient(145deg,#f5dfc1,#e6becc);color:#79524d}
html[data-theme="7"] .secret{background:linear-gradient(135deg,#ffffffed,#d9cef0);border-color:#fff}
html[data-theme="7"] .secret:before{content:"";position:absolute;width:168px;height:168px;right:-45px;top:25px;background:radial-gradient(circle at 35% 25%,#fff5e4,#ecb8b3 55%,#d4b2d0);border-radius:50%;opacity:.7;z-index:0}
html[data-theme="7"] .secret:after{content:"";position:absolute;width:105px;height:105px;left:-25px;top:60px;background:radial-gradient(circle at 35% 25%,#f2fff9,#b5dfd3 55%,#a2b8cf);border-radius:50%;opacity:.7;z-index:0}
html[data-theme="7"] .timer{background:#ffffffc9;border:1px solid #fff;border-radius:30px;padding:6px 12px}
html[data-theme="7"] .pill{background:#ffffffb0}
html[data-theme="7"] .style-panel,html[data-theme="7"] .style-panel-head{background:#fbfaff}
@media(max-width:420px){
 .top .brand{font-size:18px}
 .top-meta>small{max-width:145px;font-size:10px}
 .style-trigger{padding:8px 10px;font-size:12px}
 .game-card{min-height:200px}
 .game-card h3{font-size:18px}
 .game-card .game-icon{width:30px;height:30px}
 html[data-theme="2"] .game-card:first-child{padding-right:100px;min-height:190px}
 html[data-theme="2"] .game-card:first-child .game-icon{width:58px;height:58px;right:16px;top:55px}
 html[data-theme="2"] .game-card:first-child h3{font-size:30px}
 html[data-theme="6"] .top .brand{font-size:16px}
 html[data-theme="6"] .style-trigger{font-size:11px}
 .style-panel{padding:14px}
 .style-panel-head{top:-14px;margin:-14px -14px 0;padding:12px 14px 8px}
}
@media(prefers-reduced-motion:reduce){.game-card{transition:none}}
@media(forced-colors:active){.style-option[aria-pressed="true"]{outline:2px solid Highlight}.style-check{color:Highlight}.game-icon{forced-color-adjust:auto}}


html[data-theme="1"] .secret .unknown{font-size:104px;color:var(--brand)}
html[data-theme="2"] .secret strong{color:var(--brand)}
html[data-theme="2"] .secret .unknown{font-size:104px}
html[data-theme="7"] .secret .unknown{font-size:104px;color:var(--brand)}
@media(max-width:760px){html[data-theme="2"] .game-card:first-child{grid-column:span 2}}

@media(max-height:540px){.style-panel{position:fixed;top:12px;bottom:12px;left:12px;right:12px;width:auto;max-width:440px;max-height:none;margin-inline:auto}}
