/* RiverDIY RiverJam (/jam). Regal blue + gold, dark glass, as the rest of the site. */
#play-app { --pl-paper: #FBF8F0; --pl-gold: var(--gold, #E2C27C); position: relative; }
.pl-card { background: var(--surface); background-image: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1rem, 2.4vw, 1.5rem); }
.pl-card h3 { margin: 0 0 .75rem; font-size: 1.15rem; }
.pl-card + .pl-card { margin-top: 1rem; }
.pl-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.pl-row.end { justify-content: flex-end; }
.pl-grow { flex: 1 1 12rem; min-width: 0; }
.pl-muted { color: var(--muted); font-size: .92rem; }
.pl-input, .pl-select, .pl-textarea { width: 100%; background: rgba(1,31,54,.55); color: var(--text); border: 1px solid var(--border-2); border-radius: 12px; padding: .7rem .9rem; font: inherit; }
.pl-input:focus, .pl-select:focus, .pl-textarea:focus { outline: 2px solid var(--pl-gold); outline-offset: 1px; border-color: transparent; }
.pl-textarea { min-height: 8rem; resize: vertical; line-height: 1.45; }
.pl-label { display: block; font-size: .85rem; color: var(--muted); margin: 0 0 .35rem; }
.pl-check { display: inline-flex; gap: .5rem; align-items: center; font-size: .93rem; color: var(--text-2); cursor: pointer; }
.pl-check input { width: 1.1rem; height: 1.1rem; accent-color: var(--pl-gold); }
.pl-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border-radius: 999px; padding: .62rem 1.1rem; font: 600 .93rem/1.2 var(--font, inherit); cursor: pointer; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); transition: transform .12s, border-color .15s, background .15s; white-space: nowrap; }
.pl-btn:hover { border-color: var(--pl-gold); transform: translateY(-1px); }
.pl-btn:active { transform: scale(.97); }
.pl-btn.gold { background: linear-gradient(180deg, #F0D89E, var(--pl-gold) 55%, #C9A55E); color: #011F36; border-color: rgba(255,255,255,.35); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 10px 26px -12px rgba(226,194,124,.8); }
.pl-btn.big { padding: .9rem 1.6rem; font-size: 1.05rem; }
.pl-btn.sm { padding: .4rem .75rem; font-size: .84rem; }
.pl-btn.danger:hover { border-color: #FF8A80; }
.pl-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.pl-btn:focus-visible { outline: 2px solid var(--pl-gold); outline-offset: 2px; }

/* ---- hub */
.pl-hub { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.pl-avatars { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: .35rem; margin: .5rem 0 0; }
.pl-avatars button { font-size: 1.45rem; line-height: 1; padding: .35rem 0; border-radius: 10px; border: 1px solid transparent; background: rgba(1,31,54,.45); cursor: pointer; }
.pl-avatars button[aria-pressed="true"] { border-color: var(--pl-gold); background: rgba(226,194,124,.18); }
.pl-acts { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: .4rem 0 1rem; }
.pl-act { text-align: left; border: 1px solid var(--border-2); background: rgba(1,31,54,.4); color: var(--text); border-radius: 14px; padding: .8rem .9rem; cursor: pointer; font: inherit; }
.pl-act b { display: block; font-size: .98rem; margin: .25rem 0 .15rem; }
.pl-act span { font-size: .82rem; color: var(--muted); line-height: 1.35; display: block; }
.pl-act .ico { font-size: 1.6rem; }
.pl-act[aria-pressed="true"] { border-color: var(--pl-gold); background: rgba(226,194,124,.14); box-shadow: 0 0 0 1px var(--pl-gold) inset; }
.pl-code-in { text-transform: uppercase; letter-spacing: .3em; font-size: 1.4rem; text-align: center; font-weight: 700; }
.pl-err { color: #FFB4A8; font-size: .92rem; min-height: 1.2em; margin: .5rem 0 0; }

/* ---- room */
.pl-top { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.pl-title { margin: 0; font-size: clamp(1.25rem, 2.6vw, 1.7rem); }
.pl-codepill { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(226,194,124,.45); background: rgba(226,194,124,.1); font-weight: 700; letter-spacing: .16em; color: var(--pl-gold); }
.pl-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pl-tab { border: 1px solid var(--border-2); border-radius: 999px; background: rgba(1,31,54,.4); color: var(--text-2); padding: .5rem .95rem; font: 600 .9rem/1 var(--font, inherit); cursor: pointer; }
.pl-tab[aria-current="true"] { background: rgba(226,194,124,.18); color: #fff; border-color: var(--pl-gold); }
.pl-tab[disabled] { cursor: default; opacity: .6; }
.pl-tab[disabled][aria-current="true"] { opacity: 1; }
.pl-main { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
@media (max-width: 980px) { .pl-main { grid-template-columns: 1fr; } }
.pl-side { display: grid; gap: 1rem; position: sticky; top: 100px; }
@media (max-width: 980px) { .pl-side { position: static; } }
.pl-banner { padding: .6rem .9rem; border-radius: 12px; background: rgba(255,180,168,.12); border: 1px solid rgba(255,180,168,.4); margin-bottom: .8rem; font-size: .93rem; }

/* players */
.pl-players { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow: auto; display: grid; gap: .25rem; }
.pl-players li { display: flex; gap: .55rem; align-items: center; padding: .35rem .45rem; border-radius: 10px; }
.pl-players li.me { background: rgba(226,194,124,.1); }
.pl-players .av { font-size: 1.25rem; width: 1.8rem; text-align: center; }
.pl-players .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-players .pts { font-variant-numeric: tabular-nums; color: var(--pl-gold); font-weight: 700; font-size: .9rem; }
.pl-players .crown { font-size: .85rem; }
.pl-players .tick { color: #7FE3A0; }
.pl-pmenu { display: inline-flex; gap: .15rem; opacity: .55; transition: opacity .15s; }
.pl-players li:hover .pl-pmenu, .pl-pmenu:focus-within { opacity: 1; }
.pl-pmenu button { background: none; border: 1px solid transparent; border-radius: 8px; color: var(--muted); cursor: pointer; font-size: .8rem; padding: .15rem .35rem; line-height: 1; }
.pl-pmenu button:hover { border-color: var(--border-2); color: #fff; }

/* chat */
.pl-chat { display: flex; flex-direction: column; height: 460px; }
@media (max-width: 980px) { .pl-chat { height: 380px; } }
.pl-msgs { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: .35rem; padding-right: .3rem; margin-bottom: .6rem; }
.pl-msg { font-size: .93rem; line-height: 1.4; overflow-wrap: anywhere; }
.pl-msg .who { font-weight: 700; color: var(--accent-2, #8FD0FF); margin-right: .3rem; }
.pl-msg.sys { color: var(--muted); font-size: .86rem; font-style: italic; }
.pl-msg.sys.good { color: #7FE3A0; font-style: normal; font-weight: 600; }
.pl-msg.sys.done { color: var(--pl-gold); font-style: normal; font-weight: 600; }
.pl-msg.secret { opacity: .8; }
.pl-msg.secret::after { content: " (only players who know the word see this)"; font-size: .75rem; color: var(--muted); }
.pl-msg.cheer { display: flex; align-items: center; gap: .5rem; background: rgba(226,194,124,.1); border: 1px solid rgba(226,194,124,.3); border-radius: 12px; padding: .35rem .6rem; }
.pl-msg.cheer .big { font-size: 1.5rem; }
.pl-msg.cheer b { color: var(--pl-gold); }
.pl-emojis { display: flex; flex-wrap: wrap; gap: .15rem; margin-bottom: .45rem; }
.pl-emojis button { font-size: 1.2rem; background: none; border: 0; cursor: pointer; padding: .15rem .2rem; border-radius: 8px; line-height: 1; transition: transform .1s; }
.pl-emojis button:hover { transform: scale(1.25); background: rgba(255,255,255,.08); }
.pl-cheers { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .5rem; }
.pl-cheers button { font-size: .78rem; padding: .3rem .55rem; border-radius: 999px; border: 1px solid rgba(226,194,124,.35); background: rgba(226,194,124,.08); color: var(--text); cursor: pointer; }
.pl-cheers button:hover { background: rgba(226,194,124,.2); }
.pl-send { display: flex; gap: .4rem; }

/* floating reactions + confetti */
.pl-float { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 60; }
.pl-float span { position: absolute; bottom: -3rem; font-size: 2.2rem; animation: pl-rise 3.2s ease-out forwards; filter: drop-shadow(0 4px 8px rgba(0,0,0,.35)); }
.pl-float span small { display: block; font-size: .7rem; text-align: center; color: #fff; background: rgba(1,31,54,.7); border-radius: 6px; padding: 0 .3rem; margin-top: -.2rem; white-space: nowrap; }
@keyframes pl-rise { 0% { transform: translateY(0) scale(.6); opacity: 0; } 12% { opacity: 1; transform: translateY(-12vh) scale(1.1); } 100% { transform: translateY(-85vh) translateX(var(--dx, 0)) scale(1); opacity: 0; } }
.pl-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 61; }
.pl-toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 70; background: #012B4A; border: 1px solid var(--pl-gold); color: #fff; padding: .7rem 1.1rem; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: .95rem; max-width: 90vw; }

/* lobby */
.pl-lobby { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
@media (max-width: 640px) { .pl-lobby { grid-template-columns: 1fr; } }
.pl-bigcode { font-size: clamp(2.2rem, 7vw, 3.6rem); font-weight: 800; letter-spacing: .2em; color: var(--pl-gold); margin: .2rem 0; }
.pl-qr { background: var(--pl-paper); border-radius: 14px; padding: .6rem; width: 168px; height: 168px; image-rendering: pixelated; }

/* recital wheel */
.pl-wheel-wrap { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 1180px) { .pl-wheel-wrap { grid-template-columns: 1fr; } }
.pl-wheel-box { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 1; }
.pl-wheel-box canvas { width: 100%; height: 100%; display: block; }
.pl-pointer { position: absolute; left: 50%; top: -6px; transform: translateX(-50%); width: 0; height: 0; border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 34px solid var(--pl-gold); filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); z-index: 2; }
.pl-hub-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 22%; aspect-ratio: 1; border-radius: 50%; border: 3px solid #fff; background: radial-gradient(circle at 35% 30%, #F6E2B0, var(--pl-gold) 55%, #A98640); color: #011F36; font: 800 clamp(.85rem, 2.4vw, 1.15rem)/1 var(--font, inherit); cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.45); z-index: 2; }
.pl-hub-btn:disabled { cursor: default; filter: grayscale(.4); }
.pl-now { text-align: center; margin-top: 1rem; }
.pl-now .lbl { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pl-now .name { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; color: var(--pl-gold); margin: .15rem 0; animation: pl-pop .6s cubic-bezier(.2, 1.6, .4, 1); }
.pl-now .piece { color: var(--text-2); font-style: italic; }
.pl-now .clock { font-variant-numeric: tabular-nums; font-size: 1.1rem; margin-top: .3rem; }
@keyframes pl-pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.pl-meter { height: 12px; border-radius: 8px; background: rgba(1,31,54,.6); overflow: hidden; margin: .7rem auto; max-width: 360px; border: 1px solid var(--border-2); }
.pl-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7FE3A0, var(--pl-gold), #FF8A65); transition: width .25s; }
.pl-list { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .3rem; max-height: 340px; overflow: auto; }
.pl-list li { display: flex; gap: .5rem; align-items: center; padding: .4rem .55rem; border-radius: 10px; background: rgba(1,31,54,.35); }
.pl-list li .dot { width: .8rem; height: .8rem; border-radius: 50%; flex: none; }
.pl-list li .t { flex: 1; min-width: 0; }
.pl-list li .t small { display: block; color: var(--muted); font-size: .8rem; }
.pl-list li.now { outline: 2px solid var(--pl-gold); }
.pl-list button.x { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.1rem; padding: 0 .3rem; }
.pl-list button.x:hover { color: #FFB4A8; }
.pl-done li { background: rgba(127,227,160,.08); }
.pl-done .n { font-weight: 700; color: var(--pl-gold); width: 1.6rem; }

/* draw and guess */
.pl-board-head { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.pl-mask { font: 700 clamp(1.2rem, 3vw, 1.7rem)/1.2 ui-monospace, Consolas, monospace; letter-spacing: .3em; color: var(--pl-gold); }
.pl-timer { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.3rem; min-width: 3.5rem; text-align: center; padding: .2rem .6rem; border-radius: 10px; background: rgba(1,31,54,.55); }
.pl-timer.low { color: #FF8A80; animation: pl-blink 1s steps(2) infinite; }
@keyframes pl-blink { 50% { opacity: .55; } }
.pl-board { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--pl-paper); box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); touch-action: none; }
.pl-board canvas { width: 100%; height: 100%; display: block; }
.pl-board.can-draw canvas { cursor: crosshair; }
.pl-over { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: rgba(1,31,54,.82); color: #fff; padding: 1rem; }
.pl-over h3 { font-size: 1.5rem; margin: 0 0 .6rem; }
.pl-over .choices { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.pl-tools { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .6rem; }
.pl-swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); cursor: pointer; padding: 0; }
.pl-swatch[aria-pressed="true"] { border-color: var(--pl-gold); box-shadow: 0 0 0 2px var(--pl-gold); }
.pl-size { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-2); background: rgba(1,31,54,.45); cursor: pointer; display: grid; place-items: center; }
.pl-size i { display: block; background: #fff; border-radius: 50%; }
.pl-size[aria-pressed="true"] { border-color: var(--pl-gold); }

/* quiz */
.pl-q { text-align: center; }
.pl-q .qn { color: var(--muted); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.pl-q h3 { font-size: clamp(1.3rem, 3.2vw, 2rem); margin: .4rem 0 1rem; line-height: 1.25; }
.pl-bar { height: 10px; border-radius: 6px; background: rgba(1,31,54,.6); overflow: hidden; margin: 0 auto 1rem; max-width: 520px; }
.pl-bar span { display: block; height: 100%; background: var(--pl-gold); width: 100%; transition: width .2s linear; }
.pl-answers { display: grid; gap: .7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .pl-answers { grid-template-columns: 1fr; } }
.pl-ans { position: relative; display: flex; gap: .7rem; align-items: center; text-align: left; min-height: 4.4rem; padding: .9rem 1rem; border-radius: 14px; border: 2px solid transparent; color: #fff; font: 700 1.05rem/1.3 var(--font, inherit); cursor: pointer; transition: transform .12s, opacity .2s; }
.pl-ans:hover:not([disabled]) { transform: translateY(-2px); }
.pl-ans .shape { font-size: 1.3rem; width: 1.5rem; text-align: center; }
.pl-ans .cnt { margin-left: auto; font-variant-numeric: tabular-nums; background: rgba(0,0,0,.25); border-radius: 8px; padding: .1rem .5rem; }
.pl-ans.a0 { background: #C2413A; } .pl-ans.a1 { background: #1F6FD1; } .pl-ans.a2 { background: #B8860B; } .pl-ans.a3 { background: #2E8B57; }
.pl-ans.mine { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.pl-ans.dim { opacity: .35; }
.pl-ans.right { box-shadow: 0 0 0 4px #7FE3A0; opacity: 1; }
.pl-ans[disabled] { cursor: default; }
.pl-board-list { list-style: none; margin: 0 auto; padding: 0; max-width: 520px; display: grid; gap: .4rem; counter-reset: r; }
.pl-board-list li { display: flex; gap: .7rem; align-items: center; padding: .55rem .8rem; border-radius: 12px; background: rgba(1,31,54,.45); counter-increment: r; }
.pl-board-list li::before { content: counter(r); font-weight: 800; color: var(--pl-gold); width: 1.6rem; }
.pl-board-list li.me { outline: 2px solid var(--pl-gold); }
.pl-board-list li .nm { flex: 1; }
.pl-podium { display: flex; justify-content: center; align-items: flex-end; gap: .6rem; margin: 1rem 0; }
.pl-podium div { width: 30%; max-width: 150px; text-align: center; border-radius: 14px 14px 0 0; background: linear-gradient(180deg, rgba(226,194,124,.35), rgba(226,194,124,.08)); padding: .6rem .4rem; }
.pl-podium .av { font-size: 2rem; }
.pl-podium .p1 { height: 170px; } .pl-podium .p2 { height: 130px; } .pl-podium .p3 { height: 105px; }
.pl-big-msg { text-align: center; padding: 1.5rem 0; }
.pl-big-msg .ico { font-size: 3rem; }

@media (prefers-reduced-motion: reduce) {
  .pl-float span { animation-duration: 1.2s; }
  .pl-now .name { animation: none; }
}

/* page sections */
.pl-feat { padding: 1.4rem 1.5rem; }
.pl-feat h3 { margin: .5rem 0 .4rem; }
.tool-head .trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1rem; padding: 0; list-style: none; color: var(--text-2); font-size: .92rem; }
.tool-head .trust li::before { content: "✓"; color: var(--gold, #E2C27C); font-weight: 700; margin-right: .4rem; }

/* inside a room the page intro steps aside so the game sits at the top */
body.pl-in-room .tool-head { display: none; }
body.pl-in-room #play-app { padding-top: 1.5rem; }

/* RiverJam Cards */
.pl-tiers { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.pl-tiers .pl-act b { font-size: 1.25rem; color: var(--pl-gold); }
.pl-playcard { max-width: 640px; margin: 0 auto; text-align: center; padding: 2rem 1.5rem; border: 2px solid var(--pl-gold); background: linear-gradient(160deg, rgba(1,63,106,.85), rgba(1,31,54,.9)); }
.pl-bigcode { font-size: clamp(2.4rem, 9vw, 3.6rem); font-weight: 800; letter-spacing: .25em; color: var(--pl-gold); margin: .4rem 0 .2rem; padding-left: .25em; }
.pl-cardtier { font-weight: 700; margin-bottom: .8rem; }
.pl-recover { margin-top: 1rem; border-top: 1px solid var(--border-2); padding-top: .8rem; }
.pl-recover summary { cursor: pointer; color: var(--text-2); }
.pl-recover summary::before, .pl-recover summary::after { content: none !important; }
.pl-recover .pl-row { margin-top: .5rem; flex-wrap: nowrap; }
.pl-recover .pl-input { flex: 1; min-width: 0; }

/* ---- coordinator: key, tools, where-we-are, break screen (2026-11-24) */
.pl-stagecol { display: grid; gap: 1rem; min-width: 0; }
.pl-stagecol > div:empty, .pl-pausebox:empty { display: none; }
.pl-coordkey { margin: 1rem auto 0; max-width: 34rem; padding: 1rem 1.1rem; border-radius: 14px; border: 1px dashed rgba(226,194,124,.55); background: rgba(226,194,124,.07); }
.pl-keytext { font: 700 clamp(1.3rem, 4vw, 1.8rem)/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .12em; color: var(--pl-gold); margin: .2rem 0 .5rem; user-select: all; }
.pl-toolcard h3 { margin-top: 0; }
.pl-where { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1rem; margin: .4rem 0 0; font-size: .95rem; }
.pl-where dt { color: var(--muted); }
.pl-where dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.pl-pausebox, .pl-break, .pl-game, .pl-fun { min-width: 0; }
@media (max-width: 560px) { .pl-where { grid-template-columns: 1fr; } .pl-where dd { margin-bottom: .4rem; } }
.pl-break { text-align: center; display: grid; gap: .9rem; }
.pl-break > .pl-toolcard { text-align: left; }
.pl-breakhead { display: flex; align-items: center; justify-content: center; gap: .7rem; flex-wrap: wrap; }
.pl-breakhead h2 { margin: 0; font-size: clamp(1.5rem, 4vw, 2.2rem); color: #fff; }
.pl-breakcup { font-size: 2.6rem; display: inline-block; animation: pl-bob 2.4s ease-in-out infinite; }
@keyframes pl-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(4deg); } }
.pl-breakmsg { font-size: 1.15rem; color: var(--text); margin: 0; }
.pl-breakclock { font: 700 1.25rem/1.2 var(--font, inherit); color: var(--pl-gold); font-variant-numeric: tabular-nums; }
.pl-fun { padding: 1.1rem 1.2rem; border-radius: 16px; border: 1px solid var(--border-2); background: rgba(1,31,54,.45); min-height: 8.5rem; display: grid; align-content: center; gap: .35rem; }
.pl-funico { font-size: 2rem; }
.pl-funq { margin: 0; font-size: 1.12rem; font-weight: 600; color: #fff; }
.pl-funa { margin: 0; font-size: 1.05rem; color: var(--pl-gold); opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; min-height: 1.4em; }
.pl-funa.show { opacity: 1; transform: none; }
.pl-game { padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid var(--border-2); background: rgba(1,31,54,.35); display: grid; gap: .7rem; text-align: left; }
.pl-sky { position: relative; height: 260px; overflow: hidden; border-radius: 12px; background: linear-gradient(180deg, rgba(79,195,247,.14), rgba(1,31,54,.2)); touch-action: manipulation; }
.pl-balloon { position: absolute; bottom: -60px; font-size: 2.3rem; line-height: 1; background: none; border: 0; padding: .2rem; cursor: pointer; filter: hue-rotate(var(--hue)); animation: pl-rise var(--dur) linear forwards; }
.pl-balloon:focus-visible { outline: 2px solid var(--pl-gold); border-radius: 50%; }
.pl-balloon.popped { animation: pl-pop .35s ease-out forwards; filter: none; font-size: 1.4rem; color: var(--pl-gold); font-weight: 800; }
@keyframes pl-rise { from { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-160px) rotate(6deg); } to { transform: translateY(-340px) rotate(-6deg); } }
@keyframes pl-pop { to { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pl-breakcup { animation: none; } .pl-balloon { animation-duration: calc(var(--dur) * 1.8); } }
