:root { color-scheme: light; --ink: #34392f; --muted: #767c6d; --paper: #f5f0e5; --orange: #ec754a; --line: #deded0; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #2d4a2b; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", sans-serif; }
canvas { display: block; }
/* 戰場游標：粉紅射擊準心，熱點在正中心 */
#c { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round'%3E%3Ccircle cx='16' cy='16' r='9'/%3E%3Cpath d='M16 2v7M16 23v7M2 16h7M23 16h7'/%3E%3C/g%3E%3Cg fill='none' stroke='%23ff4f8b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='16' cy='16' r='9'/%3E%3Cpath d='M16 2v7M16 23v7M2 16h7M23 16h7'/%3E%3C/g%3E%3Ccircle cx='16' cy='16' r='2' fill='%23ff4f8b' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E") 16 16, crosshair; }
button, input { font: inherit; }
button { cursor: pointer; border: 0; transition: transform .15s, background .15s; }
button:hover { transform: translateY(-2px); }
button:active { transform: translateY(1px); }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #487e5e; outline-offset: 4px; }
button:disabled { cursor: default; }
.hidden { display: none !important; }
.lobby-shell { position: fixed; inset: 0; overflow: auto; padding: 0 6%; background: radial-gradient(ellipse at 26% 50%, #e7ead9 0, transparent 52%), var(--paper); }
.lobby-header, .lobby-footer { max-width: 1200px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.lobby-header { height: 116px; border-bottom: 1px solid var(--line); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-size: 18px; font-weight: 900; line-height: .98; letter-spacing: -1px; }
.brand-mark { width: 44px; height: 44px; position: relative; display: grid; place-items: center; background: var(--ink); color: var(--paper); border-radius: 13px 13px 18px 18px; font-size: 35px; line-height: 1; font-family: Georgia, serif; padding-bottom: 10px; }
.brand-mark > span { position: absolute; font-size: 17px; bottom: 0; }
.brand-dot { color: var(--orange); }
.header-label { margin-right: auto; padding-left: 30px; border-left: 1px solid #c9ccbe; color: var(--muted); font-size: 13px; letter-spacing: 2px; }
.quiet-button { color: var(--ink); background: transparent; padding: 10px 0; font-size: 13px; }
.quiet-button > span { margin-left: 12px; }
.lobby-layout { max-width: 1080px; min-height: calc(100svh - 200px); margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: center; gap: 70px; padding: 42px 0; }
.hero { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--muted); }
.little-line { width: 24px; height: 2px; background: var(--orange); }
h1 { margin: 18px 0 12px; font-size: clamp(36px, 4.7vw, 62px); line-height: 1.2; letter-spacing: -2px; font-weight: 900; }
h1 > span { color: var(--orange); }
.hero-copy { color: var(--muted); font-size: 15px; letter-spacing: .6px; margin: 0; }
.cat-stage { height: 300px; position: relative; margin-top: 8px; }
#catPreview { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 2; pointer-events: none; }
.stage-ring { position: absolute; width: 76%; height: 220px; border: 1px solid #d0d6c2; border-radius: 50%; left: 12%; top: 55px; transform: rotate(-12deg); }
.podium { position: absolute; width: 70%; height: 105px; border-radius: 50%; bottom: 27px; left: 15%; background: #ced7b8; box-shadow: 0 15px 0 #b9c3a4, 0 30px 35px -18px #7d8e6570; border-top: 2px solid #e4ead7; }
.stage-caption { position: absolute; z-index: 3; top: 23px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 12px; background: #fffcf0; padding: 8px 14px; border-radius: 20px; box-shadow: 0 3px 10px #34392f08; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #6f9662; }
.stage-spark { position: absolute; color: #93a278; font-size: 38px; }
.spark-one { right: 14%; top: 72px; transform: rotate(10deg); }
.spark-two { left: 10%; bottom: 80px; font-size: 24px; }
.stage-sticker { position: absolute; z-index: 3; right: 4%; bottom: 45px; border: 1px solid #e2bd7b; padding: 10px 14px; background: #f6e4ab; color: #7c673e; transform: rotate(-9deg); border-radius: 4px; font-size: 12px; }
.stage-number { position: absolute; left: 3%; top: 115px; writing-mode: vertical-rl; font-size: 9px; letter-spacing: 2px; color: #8b927f; }
.hero-footer { display: flex; justify-content: space-between; align-items: center; max-width: 470px; color: var(--muted); font-size: 12px; padding-top: 14px; }
.hero-footer > span:last-child { font-size: 24px; }
.launch-card { background: #fffdf7; border: 1px solid #e3e1d5; border-radius: 22px; padding: 30px; box-shadow: 0 18px 45px -20px #46523530; }
.card-heading { display: flex; justify-content: space-between; align-items: center; }
.card-heading .eyebrow { font-size: 10px; letter-spacing: 1.4px; }
.card-paw { font-size: 22px; transform: rotate(-15deg); }
h2 { font-size: 25px; letter-spacing: -.8px; margin: 12px 0 32px; }
.field-label { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 9px; font-weight: 600; }
.field-label > span { color: #969b8f; font-weight: 400; font-size: 10px; letter-spacing: 1px; }
#name { width: 100%; background: #f7f7ef; border: 1px solid #dfE1d5; border-radius: 9px; height: 48px; padding: 0 14px; color: var(--ink); font-size: 14px; }
#name::placeholder { color: #979d8d; }
#name:disabled { opacity: .65; }
.account { margin: 0 0 14px; }
.account #googleBtn { min-height: 32px; }
.profile { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: #f4efe2; font-size: 13px; }
.profile #rpText { color: var(--muted); }
.profile #coinText { font-weight: 700; color: #b0862a; margin-right: auto; }
#accountMsg { margin: 4px 0 0; font-size: 12px; color: #c0563a; min-height: 0; }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; padding: 10px 14px; border-radius: 12px; background: #fbf6e6; font-size: 13px; }
.shop-bar.hidden, .account.hidden, .profile.hidden, #googleBtn.hidden { display: none; }
.end-reward { font-weight: 700; color: #ffd166; min-height: 1.2em; }
.map-pick { border: 0; margin: 4px 0 22px; padding: 0; min-width: 0; }
.map-pick legend { padding: 0; }
.map-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.map-options.two { grid-template-columns: repeat(2, 1fr); }
#teamPick.hidden { display: none; }
.map-options label { position: relative; }
.map-options input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.map-options span { display: block; padding: 9px 2px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-align: center; font-size: 13px; white-space: nowrap; transition: background .15s, border-color .15s; }
.map-options input:checked + span { border-color: var(--orange); background: #fdeee6; color: #b5502b; font-weight: 700; }
.map-options input:focus-visible + span { outline: 3px solid #487e5e; outline-offset: 2px; }
.primary-button { width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 14px 20px; border-radius: 10px; background: var(--orange); color: white; font-size: 16px; font-weight: 700; box-shadow: 0 4px 0 #cb5d37; }
.primary-button:hover { background: #df683f; }
.primary-button > span { font-size: 22px; font-weight: 400; }
.practice-button { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 48px; padding: 12px 16px; margin-top: 15px; background: #eeefe5; color: #535e46; border: 1px solid #e0e4d3; border-radius: 9px; font-size: 13px; }
.practice-button > span { font-size: 10px; color: #818b76; }
.room-create-button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; margin-top: 14px; padding: 11px 16px; border: 1px solid #aab99b; border-radius: 9px; background: #e8eedf; color: #405c3f; font-size: 14px; font-weight: 700; }
.room-create-button > span { font-size: 20px; font-weight: 400; }
.room-browser { margin-top: 20px; }
.room-browser .field-label { margin: 0 0 8px; }
.room-list { display: grid; gap: 6px; max-height: 210px; overflow-y: auto; }
.room-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; width: 100%; padding: 10px 12px; border: 1px solid #dfe1d5; border-radius: 9px; background: #f7f7ef; color: var(--ink); text-align: left; }
.room-item:hover { border-color: #aab99b; background: #eef3e6; }
.room-item.invited { border-color: var(--orange); background: #fbeee4; }
.room-item.current { border: 2px solid var(--orange); background: #fbeee4; cursor: default; }
.room-host { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 700; }
.room-meta { grid-column: 1; font-size: 11px; color: #818b76; }
.room-count { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 13px; font-weight: 700; color: #405c3f; }
.room-empty { margin: 0; padding: 12px; border: 1px dashed #e1e3d8; border-radius: 9px; font-size: 12px; color: #9a9f91; text-align: center; }
.field-error { margin: 6px 0 0; color: #a44c34; font-size: 12px; }
.field-error:empty { display: none; }
.card-note { display: flex; justify-content: center; align-items: center; gap: 8px; color: #8c9282; font-size: 10px; margin-top: 27px; }
.card-note > span { font-size: 18px; }
.lobby-footer { height: 84px; border-top: 1px solid var(--line); color: #929787; font-size: 10px; letter-spacing: 1px; gap: 16px; }
.footer-divider { margin: 0 8px; color: #b5b8ac; }
.lobby-footer > span:last-child > span { color: var(--orange); margin-left: 10px; font-size: 17px; }
.matching-heading { display: flex; align-items: center; justify-content: space-between; }
.matching h3 { margin: 0; font-size: 16px; }
#lobbyCount { font-size: 12px; color: #77895d; }
#lobbyText { color: var(--orange); margin: 10px 0 16px; font-size: 13px; }
.roster { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.roster-slot { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 8px 9px; border-radius: 6px; background: #f2f3eb; font-size: 11px; color: #535e46; }
.roster-slot.self { background: #f8e8d5; color: #a45d32; }
.roster-slot.empty { color: #9a9f91; background: transparent; border: 1px dashed #e1e3d8; padding: 7px 8px; }
.roster-fill { grid-column: 1 / -1; text-align: center; }
.matching-hint { color: var(--muted); font-size: 11px; margin: 12px 0 3px; }
.matching > .quiet-button { width: 100%; margin-top: 8px; text-decoration: underline; text-underline-offset: 4px; }
.matching .primary-button { margin-top: 18px; }
.matching .primary-button:disabled { opacity: .65; transform: none; }
#mute, #music { position: fixed; right: 16px; bottom: 15px; z-index: 10; padding: 8px 10px; border-radius: 50%; font-size: 18px; background: #fffaf0e8; box-shadow: 0 2px 12px #0001; }
#music { right: 64px; }
#music[aria-pressed="false"] { opacity: .45; }
#leave { display: none; position: fixed; right: 112px; bottom: 15px; z-index: 10; width: 39px; height: 39px; padding: 0; border-radius: 50%; font-size: 16px; font-weight: 700; color: #3a2e25; background: #fffaf0e8; box-shadow: 0 2px 12px #0001; }
body.in-match #leave { display: block; }
.leave-dialog { width: min(360px, calc(100% - 32px)); text-align: center; }
.leave-dialog h2 { margin: 0 0 10px; font-size: 21px; }
.leave-dialog p { margin-bottom: 18px; }
.leave-actions { display: flex; gap: 10px; justify-content: center; }
.leave-actions button { flex: 1; margin: 0; justify-content: center; min-height: 46px; padding: 10px 14px; }
.help-dialog { border: 1px solid var(--line); border-radius: 18px; padding: 28px; width: min(440px, calc(100% - 32px)); background: #fffdf7; color: var(--ink); box-shadow: 0 20px 70px #0003; }
.help-dialog::backdrop { background: #29342388; backdrop-filter: blur(4px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; }
.dialog-heading h2 { margin: 0; font-size: 23px; }
.dialog-heading button { padding: 10px; }
.controls { margin: 22px 0; }
.controls > div { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #e8e8dc; font-size: 13px; }
kbd { display: inline-block; border: 1px solid #d9ddce; background: #f0f2e8; padding: 4px 6px; border-radius: 4px; margin-right: 3px; font: inherit; }
.guide-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 6px; }
.guide-modes > div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: #f4efe2; font-size: 13px; }
.guide-modes span { color: var(--muted); font-size: 12px; }
.guide-h { display: flex; align-items: center; gap: 8px; margin: 16px 0 6px; font-size: 13px; }
.guide-h kbd, .guide-key { font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 6px; background: #f4efe2; color: var(--muted); }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; }
.icon-grid figure { margin: 0; display: grid; justify-items: center; gap: 2px; padding: 6px 2px; border-radius: 10px; background: #f8f4e9; }
.icon-grid canvas { width: 40px; height: 40px; }
.icon-grid figcaption { font-size: 11px; color: var(--muted); text-align: center; line-height: 1.2; }
#helpDialog { max-height: calc(100vh - 32px); overflow: auto; }
#helpDialog #gotIt { margin-top: 20px; }
.help-dialog p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-bottom: 24px; }
.overlay { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: #14141e88; }
.panel { background: #fffaf0; color: #3a2e25; border-radius: 18px; padding: 28px 32px; text-align: center; width: min(400px, calc(100% - 32px)); box-shadow: 0 10px 40px #0005; }
.panel p { margin: 6px 0; line-height: 1.6; }
.panel .primary-button { margin: 20px 0 12px; justify-content: center; }
.secondary { font-size: 14px; border-radius: 8px; padding: 10px 14px; margin: 6px 2px 0; background: #e4dfd2; color: #3a2e25; }
.rank { font-size: 44px; font-weight: 700; margin: 4px 0; }
@media (min-width: 1500px) { .lobby-layout { gap: 120px; } }
@media (max-width: 900px) { .lobby-shell { padding: 0 5%; } .lobby-layout { gap: 28px; grid-template-columns: minmax(0, 1fr) 320px; } .launch-card { padding: 24px; } .stage-sticker { right: 0; } .header-label { padding-left: 20px; } }
@media (max-width: 680px) { .lobby-header { height: 84px; gap: 16px; } .brand { font-size: 15px; } .brand-mark { width: 36px; height: 36px; font-size: 29px; } .header-label { display: none; } .lobby-layout { display: flex; flex-direction: column; gap: 22px; padding: 30px 0; } .hero { width: 100%; } h1 { font-size: 42px; } .cat-stage { height: 240px; max-width: 420px; margin: -15px auto 0; } .hero-footer { display: none; } .stage-caption { top: 20px; } .stage-ring { height: 170px; top: 45px; } .podium { height: 80px; bottom: 20px; } .stage-sticker { bottom: 20px; right: 0; } .launch-card { width: 100%; max-width: 420px; } h2 { margin-bottom: 24px; } .lobby-footer { font-size: 9px; height: 75px; padding-bottom: 12px; } .footer-wish { display: none; } }
@media (prefers-reduced-motion: reduce) { button { transition: none; } }

.design-entry { text-align: center; margin-top: 8px; }
.design-button { padding: 10px 20px; border-radius: 20px; border: 1px solid #c6ceba; color: #526344; background: #fafbf3; font-size: 13px; }
.design-button span { margin-left: 14px; }
.design-button:disabled { opacity: .45; transform: none; }
#designStatus { font-size: 12px; color: #985b32; line-height: 1.6; }
#designStatus:empty { display: none; }
.character-dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100svh - 32px); overflow: auto; border: 1px solid var(--line); border-radius: 22px; padding: 28px; background: #fffdf7; color: var(--ink); box-shadow: 0 20px 70px #0003; }
.character-dialog::backdrop { background: #29342388; backdrop-filter: blur(4px); }
.character-dialog .dialog-heading h2 { margin-top: 9px; }
.character-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 26px 0; }
.character-stage { position: relative; min-height: 310px; background: radial-gradient(ellipse at center, #e1e8d4, #eef0e3); border: 1px solid #e1e4d7; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.character-label { position: absolute; top: 20px; color: #849075; font-size: 10px; letter-spacing: 2px; }
.character-platform { position: absolute; width: 80%; height: 80px; bottom: 60px; border-radius: 50%; background: #cad5b4; box-shadow: 0 10px #b5c39f; }
#designPreview { width: 100%; height: 260px; object-fit: contain; position: relative; z-index: 1; }
.appearance-label { position: absolute; bottom: 20px; color: #657656; font-size: 12px; }
.character-options fieldset { padding: 0; border: 0; margin: 0 0 24px; min-width: 0; }
.character-options legend { font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.coat-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.coat-option { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 10px 4px; border: 1px solid #e1e4d7; border-radius: 9px; background: #fafbf5; color: #717a64; font-size: 11px; }
.coat-swatch { display: block; width: 28px; height: 28px; border-radius: 50%; background: var(--coat); box-shadow: inset 0 0 0 1px #0002; }
.coat-option.locked, .accessory-option.locked { color: #b0862a; background: #fbf6e6; }
.coat-option.locked .coat-swatch, .accessory-option.locked canvas { opacity: .55; }
.coat-option[aria-pressed="true"], .accessory-option[aria-pressed="true"] { border-color: #e79068; background: #fff0e4; color: #975735; box-shadow: 0 0 0 1px #e79068; }
.accessory-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.accessory-option { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px 9px; border: 1px solid #e1e4d7; border-radius: 10px; color: #717a64; font-size: 12px; background: #fafbf5; }
.accessory-thumbnail { display: block; width: 36px; height: 36px; }
.coat-option:focus-visible, .accessory-option:focus-visible { outline: 3px solid #657656; outline-offset: 3px; }
.character-options { align-self: center; }
.character-options > .quiet-button { font-size: 11px; color: #858d78; text-decoration: underline; text-underline-offset: 3px; }
.character-actions { border-top: 1px solid #e1e4d7; padding-top: 22px; display: flex; justify-content: flex-end; align-items: center; gap: 24px; }
.character-actions .primary-button { width: 180px; }
@media (max-width: 580px) { .character-dialog { padding: 20px; } .character-layout { grid-template-columns: 1fr; gap: 22px; margin: 20px 0; } .character-stage { min-height: 220px; } #designPreview { height: 210px; } .character-platform { height: 60px; bottom: 35px; width: 65%; } .character-label { top: 12px; } .appearance-label { bottom: 12px; } .character-options fieldset { margin-bottom: 18px; } .coat-options { grid-template-columns: repeat(6, 1fr); gap: 5px; } .coat-option { font-size: 10px; } .coat-swatch { width: 24px; height: 24px; } }

/* 觸控 */
#c { touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
body.touch-device .only-mouse, body:not(.touch-device) .only-touch { display: none; }
#touchButtons { display: none; position: fixed; right: calc(20px + env(safe-area-inset-right)); bottom: calc(66px + env(safe-area-inset-bottom)); z-index: 10; flex-direction: column; align-items: center; gap: 14px; }
body.touch-play #touchButtons { display: flex; }
#touchButtons button { width: 64px; height: 64px; border-radius: 50%; border: 2px solid #ffffff80; background: #0000004d; color: #fff; font-size: 15px; font-weight: 700; touch-action: none; -webkit-user-select: none; user-select: none; }
#touchButtons button:active { background: #ffffff59; }
#touchButtons button.off { opacity: .35; }
#touchButtons button.pulse { animation: pulse .6s ease-in-out infinite alternate; border-color: #d7c7ff; }
@keyframes pulse { to { transform: scale(1.15); background: #d7c7ff66; } }
#touchButtons #touchFire { width: 92px; height: 92px; border-color: #ffb3a0; background: #e8704a8c; font-size: 18px; }
#touchButtons #touchFire:active { background: #e8704ad9; }

/* 手機：開始按鈕要在第一個畫面內 */
@media (max-width: 680px) {
  .hero > .eyebrow, .hero-copy, .stage-number { display: none; }
  .lobby-layout { padding: 16px 0 30px; gap: 14px; }
  h1 { font-size: 32px; margin: 0 0 4px; }
  .cat-stage { height: 170px; margin-top: -10px; }
  .stage-ring { height: 120px; top: 30px; }
  .podium { height: 60px; bottom: 12px; }
  .stage-caption { top: 6px; }
  .stage-sticker, .stage-spark { display: none; }
  .design-entry { margin-top: -6px; }
  .launch-card { padding: 20px; }
  h2 { margin: 8px 0 16px; font-size: 22px; }
  .map-pick { margin-bottom: 14px; }
  #name { margin-bottom: 16px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .lobby-header { height: 60px; }
  .lobby-layout { min-height: 0; padding: 14px 0; gap: 28px; align-items: start; }
  .hero > .eyebrow, .hero-copy, .hero-footer, .stage-number, .stage-sticker { display: none; }
  h1 { font-size: 30px; margin: 0; }
  .cat-stage { height: 170px; }
  .stage-ring { height: 120px; top: 30px; }
  .podium { height: 60px; bottom: 12px; }
  .launch-card { padding: 18px 20px; }
  .card-heading { display: none; }
  h2 { margin: 0 0 12px; font-size: 20px; }
  .map-pick { margin-bottom: 14px; }
  #name { height: 42px; margin-bottom: 12px; }
}

/* 導流回喵盒子 */
.meowbox-link { color: #6f7a63; font-weight: 700; text-decoration: none; }
.meowbox-link:hover { color: var(--orange); }
.end-link { display: inline-block; margin-top: 16px; font-size: 13px; color: #b5603b; }

/* 大廳以房間為主：左邊大塊是房間列表，貓咪預覽縮小放進右邊卡片 */
.hero h1 { font-size: clamp(26px, 2.6vw, 34px); margin: 12px 0 6px; letter-spacing: -1px; }
.hero h1 br { display: none; }
.hero .room-browser { margin-top: 26px; }
.hero .room-browser .field-label { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.hero .room-list { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; max-height: min(56vh, 520px); }
.hero .room-item { padding: 16px 18px; border-radius: 12px; background: #fffdf7; }
.hero .room-item:hover { background: #f3f7ec; }
.hero .room-item.current { background: #fbeee4; }
.room-item.current .room-meta { color: #b5502b; font-weight: 700; }
.hero .room-host { font-size: 16px; }
.hero .room-meta { font-size: 12px; margin-top: 2px; }
.hero .room-count { font-size: 17px; }
.hero .room-empty { grid-column: 1 / -1; padding: 64px 16px; font-size: 14px; border-radius: 12px; background: #fffdf766; }
.lobby-layout { align-items: start; }
.hero { padding-top: 12px; }
.launch-card .cat-stage { height: 130px; margin: -10px 0 0; }
.launch-card .stage-ring, .launch-card .stage-spark, .launch-card .stage-sticker, .launch-card .stage-number { display: none; }
.launch-card .stage-caption { display: none; }
.launch-card .podium { width: 56%; left: 22%; height: 40px; bottom: 14px; box-shadow: 0 7px 0 #b9c3a4; }
.launch-card .design-entry { margin: 0 0 18px; }
.launch-card h2 { margin-bottom: 8px; }
@media (max-width: 680px) {
  .hero .room-list { max-height: 40vh; }
  .hero .room-empty { padding: 24px 12px; }
}
