/* Party Isle HUD and Party HQ dialog: bright party colours, big readable prompts. */
#party-hud{position:absolute;inset:0;pointer-events:none;z-index:14;font-family:Fredoka,Nunito,"Segoe UI",system-ui,sans-serif;color:#fff}
#party-hud[hidden]{display:none}
#party-hud button{pointer-events:auto;font-family:inherit;cursor:pointer}
#party-hud .pt-top{position:absolute;top:92px;left:50%;transform:translateX(-50%);display:flex;gap:12px;align-items:center;background:rgba(27,36,70,.88);border:3px solid #ffb020;border-radius:16px;padding:5px 16px;box-shadow:0 4px 0 #1b2446;white-space:nowrap}
#party-hud:not(.pt-live) .pt-top{border-color:#b35cff}
#party-hud .pt-top:empty,#party-hud .pt-top[hidden]{display:none}
#party-hud .pt-top b{font-size:17px}
#party-hud .pt-top span{font-size:20px;font-weight:800;color:#ffd24d}
#party-hud .pt-prompt{position:absolute;top:140px;left:50%;transform:translateX(-50%);max-width:min(760px,86vw);background:#fff8e9;color:#1b2446;border:3px solid #1b2446;border-radius:18px;padding:8px 18px;font-size:22px;font-weight:700;text-align:center;box-shadow:0 5px 0 #1b2446}
#party-hud .pt-prompt b{font-size:26px}
#party-hud .pt-prompt em{font-style:normal;display:inline-block;margin-left:10px;background:#ff4d6d;color:#fff;border-radius:10px;padding:0 8px;font-size:20px}
#party-hud .pt-prompt[hidden],#party-hud .pt-me[hidden],#party-hud .pt-center[hidden],#party-hud .pt-card[hidden],#party-hud .pt-palette[hidden]{display:none}
#party-hud .pt-board{position:absolute;right:14px;top:96px;margin:0;padding:6px;list-style:none;background:rgba(27,36,70,.82);border-radius:14px;min-width:170px;max-width:220px}
#party-hud .pt-board:empty{display:none}
#party-hud .pt-board li{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:700;padding:2px 4px;border-radius:8px}
#party-hud .pt-board li.me{background:rgba(255,210,77,.3)}
#party-hud .pt-board i{width:12px;height:12px;border-radius:50%;flex:none;border:2px solid #fff}
#party-hud .pt-board span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#party-hud .pt-board b{color:#ffd24d}
#party-hud .pt-me{position:absolute;left:50%;bottom:92px;transform:translateX(-50%);background:rgba(27,36,70,.85);border-radius:12px;padding:5px 14px;font-weight:700}
#party-hud .pt-center{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:column;align-items:center}
#party-hud .pt-center b{font-size:64px;font-weight:800;color:#ffd24d;text-shadow:0 5px 0 #1b2446,0 0 18px rgba(0,0,0,.35);letter-spacing:.02em}
#party-hud .pt-center small{font-size:20px;font-weight:700;text-shadow:0 2px 0 #1b2446;background:rgba(27,36,70,.7);border-radius:10px;padding:3px 12px;margin-top:6px}
#party-hud .pt-center.pop{animation:pt-pop .4s cubic-bezier(.2,1.6,.4,1)}
@keyframes pt-pop{from{transform:translate(-50%,-50%) scale(.3);opacity:0}to{transform:translate(-50%,-50%) scale(1);opacity:1}}
#party-hud .pt-toast{position:absolute;left:50%;top:60%;transform:translate(-50%,-50%);background:rgba(27,36,70,.92);border-radius:14px;padding:8px 18px;font-size:19px;font-weight:700;opacity:0;transition:opacity .2s;border:3px solid transparent;max-width:80vw;text-align:center}
#party-hud .pt-toast.show{opacity:1}#party-hud .pt-toast.good{border-color:#3fcf6b}#party-hud .pt-toast.bad{border-color:#ff4d6d}
#party-hud .pt-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(520px,86vw);background:#fff8e9;color:#1b2446;border:4px solid var(--c,#b35cff);border-radius:22px;padding:14px 20px;text-align:center;box-shadow:0 6px 0 #1b2446;display:flex;flex-direction:column;gap:6px;animation:pt-pop .35s ease-out}
#party-hud .pt-card small{font-weight:800;letter-spacing:.14em;color:var(--c,#b35cff)}
#party-hud .pt-card b{font-size:30px}
#party-hud .pt-card p{margin:0;font-size:17px}
#party-hud .pt-card span{font-weight:700;font-size:15px;color:#3b2a6b}
#party-hud .pt-rank{margin:4px 0;padding:0;list-style:none;text-align:left;display:grid;gap:3px}
#party-hud .pt-rank li{display:flex;gap:8px;align-items:center;background:#f1ecf9;border-radius:9px;padding:3px 10px;font-weight:700}
#party-hud .pt-rank li.me{background:#ffe9a8}
#party-hud .pt-rank i{width:13px;height:13px;border-radius:50%;flex:none}
#party-hud .pt-rank em{margin-left:auto;font-style:normal;color:#b35cff}
#party-hud .pt-bar{position:absolute;left:14px;bottom:16px;display:flex;gap:8px}
#party-hud .pt-bar button{min-width:52px;height:52px;border-radius:16px;border:3px solid #1b2446;background:#fff8e9;font-size:24px;box-shadow:0 4px 0 #1b2446;padding:0 10px;display:flex;align-items:center;gap:4px;font-weight:800;color:#1b2446}
#party-hud .pt-bar button span{font-size:14px}
#party-hud #pt-bump{background:#ff4d6d;color:#fff;font-size:28px}
#party-hud #pt-bump small{font-size:12px}
#party-hud #pt-bump[hidden]{display:none}
#party-hud .pt-palette{position:absolute;left:14px;bottom:80px;background:rgba(27,36,70,.94);border-radius:16px;padding:8px;display:grid;grid-template-columns:repeat(2,auto);gap:6px;pointer-events:auto;max-width:360px}
#party-hud .pt-palette button{border-radius:12px;border:2px solid #fff;background:#3f7fe8;color:#fff;font-weight:700;font-size:15px;padding:7px 10px}
#party-hud .pt-palette[data-kind=e]{grid-template-columns:repeat(6,auto)}
#party-hud .pt-palette[data-kind=e] button{font-size:24px;background:#fff8e9}
/* Party HQ dialog */
.party-panel{max-width:min(760px,95vw)}
.party-panel .party-body{padding:4px 4px 10px;font-size:16px;line-height:1.45}
.party-panel .pt-lead{font-size:17px}
.party-panel .pt-options{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0}
.party-panel .pt-options label{display:flex;flex-direction:column;font-weight:700;font-size:14px;gap:3px}
.party-panel .pt-options select{font:600 15px/1.2 inherit;padding:6px 8px;border-radius:10px;border:2px solid #1b2446}
.party-panel .pt-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}
.party-panel .pt-go{min-height:54px;border-radius:14px;border:3px solid #1b2446;background:#3fcf6b;color:#0d2b20;font:800 18px/1.2 inherit;box-shadow:0 4px 0 #1b2446;cursor:pointer;width:100%}
.party-panel .pt-go.alt{background:#b35cff;color:#fff}
.party-panel .pt-go:disabled{opacity:.5;cursor:not-allowed}
.party-panel .pt-join{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:6px 0}
.party-panel .pt-join input{font:800 20px/1 inherit;letter-spacing:.2em;text-transform:uppercase;width:130px;padding:6px 10px;border-radius:10px;border:2px solid #1b2446}
.party-panel .pt-join button,.party-panel .pt-report button{border-radius:10px;border:2px solid #1b2446;background:#ffb020;font-weight:800;padding:7px 14px;cursor:pointer}
.party-panel .pt-note{font-size:14px;opacity:.85;min-height:1em}
.party-panel .pt-rooms{display:grid;gap:6px}
.party-panel .pt-rooms button{text-align:left;border-radius:10px;border:2px solid #b35cff;background:#f6efff;padding:7px 12px;font-size:15px;cursor:pointer}
.party-panel .pt-code{font-size:1.3em;letter-spacing:.14em;background:#ffd24d;color:#1b2446;border-radius:10px;padding:0 10px}
.party-panel .pt-players{list-style:none;padding:0;margin:8px 0;display:grid;gap:5px}
.party-panel .pt-players li{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:#f1ecf9;border-radius:10px;padding:6px 10px}
.party-panel .pt-players i{width:14px;height:14px;border-radius:50%}
.party-panel .pt-players span{margin-left:auto;display:flex;gap:5px}
.party-panel .pt-players span button{border-radius:8px;border:1px solid #1b2446;background:#fff;font-size:13px;padding:3px 7px;cursor:pointer}
.party-panel .pt-leave{margin-top:10px;border-radius:10px;border:2px solid #b8342c;background:#fff;color:#b8342c;padding:7px 14px;font-weight:800;cursor:pointer}
.party-panel .pt-howto{margin-top:10px}.party-panel .pt-howto li{margin:4px 0}
/* Phones */
html.touch-play #party-hud .pt-top{top:52px;padding:3px 12px}
html.touch-play #party-hud .pt-top b{font-size:14px}
html.touch-play #party-hud .pt-prompt{top:92px;font-size:16px;padding:5px 12px}
html.touch-play #party-hud .pt-prompt b{font-size:18px}
html.touch-play #party-hud .pt-board{top:auto;bottom:auto;top:52px;right:8px;min-width:120px;max-width:150px;padding:4px;transform:scale(.85);transform-origin:top right}
html.touch-play #party-hud .pt-bar{left:50%;transform:translateX(-50%);bottom:8px}
html.touch-play #party-hud .pt-bar button{height:46px;min-width:46px;font-size:20px}
html.touch-play #party-hud #pt-bump{position:fixed;right:calc(20px + env(safe-area-inset-right));bottom:calc(196px + env(safe-area-inset-bottom));height:78px;min-width:78px;border-radius:50%;flex-direction:column;justify-content:center}
html.touch-play #party-hud .pt-palette{left:50%;transform:translateX(-50%);bottom:62px}
html.touch-play #party-hud .pt-center b{font-size:44px}
html.touch-play #party-hud .pt-card{transform:translate(-50%,-50%) scale(.82)}
html.touch-play body.party-isle :is(#playtest-tracker,#first-task,#current-activity){display:none!important}
html.touch-play #party-hud{z-index:20}
html.touch-play #party-hud .pt-bar{left:0;right:0;transform:none;justify-content:center}
html.touch-play #party-hud #pt-bump{bottom:calc(128px + env(safe-area-inset-bottom));right:calc(26px + env(safe-area-inset-right))}
html.touch-play #party-hud .pt-board{right:auto;left:8px;top:56px;transform:scale(.8);transform-origin:top left}
/* Party Isle 2.0: team chip, Bumper Sumo pop-up question, Answer Dash doors, sentence gaps, game cards */
#party-hud .pt-team{position:absolute;top:134px;left:50%;transform:translateX(-50%);border-radius:12px;padding:3px 14px;font-weight:800;font-size:16px;border:3px solid #1b2446;box-shadow:0 3px 0 #1b2446}
#party-hud .pt-team[hidden],#party-hud .pt-pop[hidden]{display:none}
#party-hud .pt-pop:not([hidden])~.pt-toast{top:74%}
#party-hud .pt-team:not([hidden])~.pt-prompt{top:176px}
#party-hud .pt-prompt small{display:block;font-size:14px;font-weight:700;opacity:.75}
#party-hud .pt-prompt u{text-decoration:none;opacity:.35}
#party-hud .pt-prompt .pt-gap{display:inline-block;background:#ffd24d;border-radius:8px;padding:0 8px;margin:0 2px}
#party-hud .pt-doors{display:flex;gap:8px;justify-content:center;margin-top:5px;flex-wrap:wrap}
#party-hud .pt-doors i{font-style:normal;background:#1b2446;color:#fff;border-radius:10px;padding:2px 10px;font-size:18px}
#party-hud .pt-pop{position:absolute;left:50%;top:140px;transform:translateX(-50%);width:min(560px,92vw);background:#fff8e9;color:#1b2446;border:4px solid #ff4d6d;border-radius:20px;padding:10px 14px 12px;box-shadow:0 6px 0 #1b2446;text-align:center;pointer-events:auto;animation:pt-drop .35s cubic-bezier(.2,1.5,.4,1)}
@keyframes pt-drop{from{transform:translate(-50%,-30px);opacity:0}to{transform:translate(-50%,0);opacity:1}}
#party-hud .pt-pop small{display:block;font-weight:800;letter-spacing:.12em;color:#ff4d6d;font-size:12px}
#party-hud .pt-pop b{display:block;font-size:22px;margin:4px 0 8px;line-height:1.2}
#party-hud .pt-pop-a{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
#party-hud .pt-pop-a button{min-height:50px;border-radius:14px;border:3px solid #1b2446;background:#3f7fe8;color:#fff;font:800 17px/1.1 inherit;box-shadow:0 4px 0 #1b2446;display:flex;align-items:center;justify-content:center;gap:6px;padding:4px 8px}
#party-hud .pt-pop-a button:nth-child(2){background:#b35cff}#party-hud .pt-pop-a button:nth-child(3){background:#ff8a2c}
#party-hud .pt-pop-a kbd{background:#fff8e9;color:#1b2446;border-radius:6px;padding:1px 6px;font:800 13px/1.2 inherit}
#party-hud .pt-pop.done .pt-pop-a button{opacity:.45}
#party-hud .pt-pop .pt-pop-a button.picked{opacity:1;outline:4px solid #ffd24d}
#party-hud .pt-pop .pt-pop-a button.right{opacity:1;background:#3fcf6b;color:#0d2b20}
#party-hud .pt-pop i{display:block;height:8px;border-radius:5px;background:#f1dfe6;margin-top:9px;overflow:hidden}
#party-hud .pt-pop i s{display:block;height:100%;background:#ff4d6d;text-decoration:none;transition:width .1s linear}
.party-panel .pt-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:8px 0}
.party-panel .pt-gcard{position:relative;border-radius:14px;border:3px solid var(--c);background:#fff;padding:8px 6px;display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer;font-family:inherit;color:#1b2446}
.party-panel .pt-gcard i{font-style:normal;font-size:28px}
.party-panel .pt-gcard b{font-size:14px}
.party-panel .pt-gcard small{font-size:11px;opacity:.75;line-height:1.2;text-align:center}
.party-panel .pt-gcard em{position:absolute;top:4px;right:4px;font-style:normal;font-size:9px;font-weight:800;background:#1b2446;color:#fff;border-radius:6px;padding:1px 4px}
.party-panel .pt-gcard.on{background:var(--c);color:#fff;box-shadow:0 3px 0 #1b2446}
.party-panel .pt-players li.ready{background:#dff6e3}
#party-hud .pt-card .pt-teams{font-size:18px;font-weight:800;color:#1b2446}
/* Phones */
html.touch-play #party-hud .pt-team{top:84px;font-size:13px;padding:2px 10px}
html.touch-play #party-hud .pt-team:not([hidden])~.pt-prompt{top:116px}
html.touch-play #party-hud .pt-pop{top:94px;width:min(540px,64vw);padding:4px 10px 7px;border-width:3px}
html.touch-play #party-hud .pt-pop small{font-size:10px}
html.touch-play #party-hud .pt-pop b{font-size:15px;margin:1px 0 5px}
html.touch-play #party-hud .pt-pop-a{gap:6px}
html.touch-play #party-hud .pt-pop-a button{min-height:42px;font-size:14px;border-width:2px;box-shadow:0 3px 0 #1b2446}
html.touch-play #party-hud .pt-pop i{margin-top:6px;height:6px}
html.touch-play #party-hud .pt-pop-a kbd{display:none}
html.touch-play #party-hud .pt-doors i{font-size:14px;padding:1px 7px}
@media (max-width:640px){.party-panel .pt-cards{grid-template-columns:repeat(2,1fr)}}
/* ── Party rewards: Rewards panel, results lines, HUD title and frames, wardrobe wheel ── */
.party-panel .pr-open{display:flex;flex-direction:column;align-items:center;gap:2px;width:100%;margin:0 0 10px;border:3px solid #1b2446;border-radius:16px;background:linear-gradient(90deg,#ff4d6d,#b35cff,#3f7fe8);color:#fff;font:800 20px/1.2 inherit;padding:8px 12px;box-shadow:0 4px 0 #1b2446;cursor:pointer}
.party-panel .pr-open span{font-size:15px;font-weight:700;color:#fff6c8}
.party-panel .pr-top{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.party-panel .pr-top span{background:#1b2446;color:#fff;border-radius:12px;padding:5px 10px;font-weight:700;font-size:15px}
.party-panel .pr-top b{color:#ffd24d}
.party-panel .pr-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.party-panel .pr-tabs button{border:2px solid #1b2446;border-radius:12px;background:#fff;color:#1b2446;font:700 15px/1.2 inherit;padding:6px 10px;cursor:pointer}
.party-panel .pr-tabs button[aria-pressed=true]{background:#ffd24d;box-shadow:0 3px 0 #1b2446}
.party-panel .pr-msg{background:#fff3c4;border-radius:10px;padding:6px 10px;font-weight:700}
.party-panel .pr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px;margin:6px 0 10px}
.party-panel .pr-item{display:flex;flex-direction:column;gap:3px;border:3px solid var(--c);border-radius:14px;background:#fff;padding:8px;color:#1b2446;opacity:.82}
.party-panel .pr-item.have{opacity:1;background:#fffbef;box-shadow:0 3px 0 var(--c)}
.party-panel .pr-item i{font-style:normal;font-size:24px}
.party-panel .pr-item b{font-size:15px}
.party-panel .pr-item small{font-size:12px;line-height:1.3;color:#3b2a6b;flex:1}
.party-panel .pr-item em{font-style:normal;font-size:12px;font-weight:700;color:#6c5a9a;background:#f1ecff;border-radius:8px;padding:4px 6px}
.party-panel .pr-item button{border:2px solid #1b2446;border-radius:10px;background:#3fcf6b;color:#0d2b20;font:800 14px/1.2 inherit;padding:6px;cursor:pointer}
.party-panel .pr-item button.on{background:#ffd24d}
.party-panel .pr-item button:disabled{opacity:.5;cursor:not-allowed}
.party-panel .pr-level{display:flex;flex-direction:column;gap:4px;background:#1b2446;color:#fff;border-radius:14px;padding:10px 14px;margin:0 0 8px}
.party-panel .pr-level b{font-size:22px;color:#ffd24d}
.party-panel .pr-level progress,.party-panel .pr-goal progress{width:100%;height:14px;accent-color:#3fcf6b}
.party-panel .pr-levels{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:5px}
.party-panel .pr-levels li{display:flex;align-items:center;gap:8px;border:2px solid #d9d2f0;border-radius:10px;padding:4px 8px;background:#fff;font-size:13px}
.party-panel .pr-levels li b{flex:none;width:28px;height:28px;border-radius:50%;background:#ece6ff;display:grid;place-items:center;font-size:14px}
.party-panel .pr-levels li span{flex:1}
.party-panel .pr-levels li small{color:#7a70a0;font-size:11px}
.party-panel .pr-levels li.done{border-color:#3fcf6b;background:#effcf2}
.party-panel .pr-levels li.done b{background:#3fcf6b;color:#fff}
.party-panel .pr-goals{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px}
.party-panel .pr-goal{display:flex;flex-direction:column;gap:3px;border:2px solid #d9d2f0;border-radius:12px;background:#fff;padding:8px}
.party-panel .pr-goal.done{border-color:#3fcf6b;background:#effcf2}
.party-panel .pr-goal i{font-style:normal;font-size:24px}
.party-panel .pr-goal small{font-size:12px;color:#3b2a6b}
.party-panel .pr-goal em{font-style:normal;font-size:12px;font-weight:700;color:#6c5a9a}
.party-panel .pr-wins{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-direction:column;gap:6px}
.party-panel .pr-wins li{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border:3px solid #ffc21a;border-radius:12px;background:#fffbef;padding:6px 10px}
.party-panel .pr-wins li b{font-size:16px}
.party-panel .pr-wins li span{flex:1;font-size:14px}
.party-panel .pr-wins li small{font-weight:800;color:#b37b00}
.party-panel .pr-wins li.done{background:#ffe9a8;border-color:#b37b00}
.party-panel .pr-trophies{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:0 0 8px}
.party-panel .pr-trophies div{display:flex;flex-direction:column;align-items:center;border:2px solid #d9d2f0;border-radius:12px;background:#f5f3fb;padding:6px;text-align:center;font-size:12px;opacity:.7}
.party-panel .pr-trophies div.won{border-color:var(--c);background:#fff;opacity:1}
.party-panel .pr-trophies i{font-style:normal;font-size:22px}
.party-panel .pr-trophies span{font-weight:800;color:#b37b00}
#party-hud .pt-card .pt-tix{font-size:17px;font-weight:800;color:#1b2446;background:#ffe9a8;border-radius:10px;padding:3px 10px}
#party-hud .pt-card .pt-got{font-size:14px;font-weight:700;color:#3b2a6b;background:#f1ecff;border-radius:10px;padding:2px 10px}
#party-hud .pt-card .pt-prizes{display:flex;flex-direction:column;gap:4px}
html.touch-play #party-hud .pt-card{max-height:calc(100dvh - 70px);overflow:hidden;gap:3px;padding:8px 14px}
html.touch-play #party-hud .pt-card b{font-size:24px}
html.touch-play #party-hud .pt-card .pt-rank li:nth-child(n+4):not(.me){display:none}
html.touch-play #party-hud .pt-card .pt-prizes{flex-direction:row;flex-wrap:wrap;justify-content:center}
html.touch-play #party-hud .pt-card .pt-got{font-size:12px;padding:1px 7px}
html.touch-play #party-hud .pt-card .pt-tix{font-size:14px;padding:1px 8px}
@media(max-width:600px){.party-panel .pr-trophies{grid-template-columns:repeat(2,1fr)}.party-panel .pr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.party-panel .pr-item small{display:none}}
/* The party title under your level and the frame round it (top of the screen). */
body > header #character-profile{position:relative}
body > header #character-title.party-title{color:#8a4fd8;font-weight:800}
body > header #character-profile[data-frame=stars]{border-color:#ffc21a;box-shadow:0 3px 0 #d79a00}
body > header #character-profile[data-frame=stars]::before,body > header #character-profile[data-frame=stars]::after{content:'★';position:absolute;font-size:13px;color:#ffc21a;text-shadow:0 1px 0 #7a5200}
body > header #character-profile[data-frame=stars]::before{left:-6px;top:-8px}
body > header #character-profile[data-frame=stars]::after{right:-6px;bottom:-8px}
body > header #character-profile[data-frame=neon]{border-color:#20c7c7;box-shadow:0 0 8px #20c7c7,0 0 16px #20c7c788,0 3px 0 #147c7c;animation:party-neon 1.8s ease-in-out infinite}
@keyframes party-neon{50%{box-shadow:0 0 3px #20c7c7,0 0 8px #20c7c755,0 3px 0 #147c7c}}
body > header #character-profile[data-frame=gold]{border:3px solid #ffc21a;background:linear-gradient(180deg,#fff8d8,#ffe9a8);box-shadow:0 3px 0 #b37b00}
body > header #character-profile[data-frame=rainbow]{border:3px solid transparent;background:linear-gradient(var(--ui-paper,#fffaf0),var(--ui-paper,#fffaf0)) padding-box,linear-gradient(90deg,#ff4d6d,#ff8a2c,#ffd24d,#3fcf6b,#3f7fe8,#b35cff) border-box;box-shadow:0 3px 0 #6c3fb0}
/* Wardrobe emote wheel with the Party Isle celebrations (12 moves). */
@media(min-width:601px){.emote-wheel.wide{height:560px}.emote-wheel.wide>button{width:104px;min-height:0;height:80px;padding:6px 4px;gap:1px;transform:translate(-50%,-50%) rotate(var(--angle)) translateY(-225px) rotate(calc(-1 * var(--angle)))}.emote-wheel.wide>button b{font-size:21px}.emote-wheel.wide>button span{font-size:12px}.emote-wheel.wide~.emote-stop{margin:-325px auto 255px}}
.emote-wheel>button.party{border-color:#ff9ab8}
.emote-wheel>button.party:not(:disabled){background:#5b3f7a}

.party-panel .pr-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px}
.party-panel .pr-item{padding:12px;gap:12px}
.pr-item-heading{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;align-items:center}
.pr-item-heading .inventory-art{width:88px;height:88px}
.pr-item-heading>div{min-width:0}
.party-panel .pr-item-heading b{display:block;margin-bottom:6px;overflow-wrap:anywhere}
.party-panel .pr-item-heading small{display:block;line-height:1.4}
.party-panel .pr-item>button{margin-top:auto;min-height:36px}
@media(max-width:600px){.party-panel .pr-grid{grid-template-columns:1fr}.party-panel .pr-item-heading small{display:block}.pr-item-heading{grid-template-columns:80px minmax(0,1fr)}.pr-item-heading .inventory-art{width:80px;height:80px}}
.pr-open.pr-english{background:linear-gradient(90deg,#1b8a4b,#20a7c7,#3f7fe8)}
.pt-slips{color:#ffe27a;font-weight:700}
.party-panel .pr-levels{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:8px}
.party-panel .pr-levels li{padding:10px;align-items:flex-start}
.party-panel .pr-levels li>span,.pr-goal-rewards,.party-panel .pr-wins li>span{display:flex;flex-direction:column;gap:8px;min-width:0}
.pr-reward-prize{display:flex;align-items:center;gap:10px}
.pr-reward-prize .inventory-art{width:64px;height:64px}
.party-panel .pr-levels li .inventory-art,.party-panel .pr-wins li .inventory-art,.party-panel .pr-goal .inventory-art{flex:0 0 64px;width:64px;height:64px}
.pr-reward-prize .inventory-thumbnail{width:64px;height:64px;object-fit:contain}
.party-panel .pr-levels .pr-reward-name b{display:block;width:auto;height:auto;background:none;border-radius:0;font-size:14px}
.pr-reward-name b{display:block}
.pr-reward-name small{display:block;font-size:12px;line-height:1.4}
.party-panel .pr-trophies>div{gap:8px;padding:12px;opacity:1}
.party-panel .pr-trophies .collection-art{width:88px;height:88px;background:linear-gradient(145deg,#f6f8ee,#e3ede5)}
.party-panel .pr-trophies small{line-height:1.4}
@media(max-width:600px){.party-panel .pr-levels{grid-template-columns:1fr}}
/* Quick play, rules, records and room votes (island round 2026-10) */
.pt-quick{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:6px 0 10px}
.pt-quick button{min-height:52px;border-radius:14px;border:3px solid #1b2446;background:#ffd23f;color:#1b2446;font:800 16px/1.15 inherit;box-shadow:0 3px 0 #1b2446;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.pt-quick button small{font:600 12px/1.1 inherit;opacity:.8}
.pt-quick #pt-records{background:#e9f1ff}
.pt-quick button:focus-visible,.pt-vote-row button:focus-visible{outline:3px solid #3f7fe8;outline-offset:2px}
.pt-rules{margin-top:-2px}
.pt-records{display:grid;gap:10px}
.pt-rec-game{border:3px solid var(--c);border-radius:14px;padding:6px 10px;background:#fff}
.pt-rec-game h3{margin:2px 0 6px;font-size:17px}
.pt-rec-game table{width:100%;border-collapse:collapse;font-size:14px}
.pt-rec-game th,.pt-rec-game td{text-align:left;padding:3px 6px;border-bottom:1px solid #e3e8f4}
.pt-rec-game th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;opacity:.7}
.pt-record{font-weight:800;color:#7a4b00}
.pt-record.new{color:#1f7a39}
.pt-variant{font-weight:700}
.pt-votes{border:3px dashed #1b2446;border-radius:14px;padding:8px 10px;margin:8px 0;background:#fffbe9}
.pt-vote-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.pt-vote-row button{border-radius:999px;border:2px solid #1b2446;background:#fff;padding:5px 10px;font:700 13px/1.2 inherit;cursor:pointer}
.pt-vote-row button.on{background:#3fcf6b}
.pt-vote-row em{font-style:normal;background:#1b2446;color:#fff;border-radius:999px;padding:0 6px;margin-left:4px}
@media (max-width:520px){.pt-rec-game table{font-size:12px}.pt-rec-game th:nth-child(5),.pt-rec-game td:nth-child(5){display:none}}
