/* Unpublished home draft. Gameplay/card styles remain in the existing stylesheets. */
body:not(.playing){--room-paper:#e6d0b5;--room-ink:#2b2623;--room-red:#71343d;--room-font:Georgia,'Times New Roman',serif;background:#252321}
body:not(.playing)::before{background:#252321}
body:not(.playing) main{padding:0;max-width:none;min-height:100svh}
body:not(.playing) header{position:absolute;right:18px;top:max(18px,env(safe-area-inset-top));height:44px;z-index:4;width:auto}
body:not(.playing) header .logo{display:none}
body:not(.playing) #settingsButton,body:not(.playing) #rulesButton{width:40px;height:40px;min-height:40px;background:url('./assets/approved/secondary-button-frame.svg') center/100% 100% no-repeat;font:24px/1 Georgia;color:#292421;border:0;border-radius:0;box-shadow:none}
#lobby{height:100svh;position:relative;overflow:hidden}
.approvedHero{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.heroArtwork{position:absolute;inset:0 0 auto;height:calc(100svh - min(51svh,440px) + 20px);background:#1e1c1a url('./assets/observo-mobile-hero.webp') center bottom/contain no-repeat}
.homeWordmark{position:absolute;top:max(10px,env(safe-area-inset-top));left:18px;width:210px;margin:0;z-index:1}
.homeWordmark img{display:block;width:100%;height:auto;object-fit:contain}
.roomSheet{--sheet-height:min(51svh,440px);position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,540px);height:var(--sheet-height);max-height:100%;padding:22px 19px max(20px,env(safe-area-inset-bottom));display:flex;flex-direction:column;isolation:isolate;color:#2b2623;background:url('./assets/warm-sheet-local.webp') center/100% 100% no-repeat;border:0;box-shadow:0 -5px 25px #0c0b0940;border-radius:25px 25px 8px 8px}
.sheetHandle{height:3px;flex:none;margin-bottom:14px;opacity:0}
.roomTabs{display:grid;grid-template-columns:1fr 1fr;gap:0;flex:none;margin:0 -3px 12px}
.roomTabs button{height:44px;min-width:0;background:url('./assets/approved/tab-inactive-frame.svg') center/100% 100% no-repeat;border:0;border-radius:0;color:#292421;font:16px/1.3 Georgia;text-transform:none;box-shadow:none;padding:6px 8px;white-space:nowrap}
.roomTabs button[aria-selected=true]{background-image:url('./assets/approved/tab-active-frame.svg');color:#efddc4}
.roomPane{display:flex;flex-direction:column;flex:1;min-height:0;margin:0}
.roomContent{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:1px 3px 4px;scrollbar-width:thin;scrollbar-color:#a18b73 transparent}
.joinContent{flex:none;display:flex;flex-direction:column;padding:1px 3px 0}.roomPane#joinForm{justify-content:center;gap:8px}
.roomField{height:44px;min-height:44px;margin:0 0 6px;display:flex;align-items:center;position:relative;background:url('./assets/approved/input-frame-with-icon.svg') center/100% 100% no-repeat;color:#2b2623}
.roomField>img{width:20px;height:20px;min-width:20px;flex:0 0 20px;object-fit:contain;padding:0;margin:0 calc((15.6% - 20px)/2);aspect-ratio:1}
.roomSheet .roomField input,.approvedDialog .roomField input{min-width:0;min-height:0;width:100%;height:100%;padding:0 12px!important;background:none!important;border:0!important;border-radius:0;box-shadow:none;color:#302a25;font:16px/1.3 Georgia;outline:0}
.roomSheet .roomField input::placeholder,.approvedDialog .roomField input::placeholder{font:16px/1.3 Georgia;color:#77685b;opacity:1}
.roomField:focus-within{outline:2px solid #8b4d50;outline-offset:1px;border-radius:9px}
.roomField:has(input[aria-invalid=true]){outline:2px solid #8b4d50;outline-offset:1px}
.roomField input:focus-visible{outline:none!important}
.codeField{height:52px;min-height:52px;margin-bottom:0}
.codeField>img{width:20px;height:20px;padding:0}
.passwordField input{padding-right:0!important}
.passwordEye{height:44px;width:40px;min-width:40px;padding:8px 10px 8px 3px;border:0;background:none;box-shadow:none}
.passwordEye{display:grid;place-items:center;padding:0}.passwordEye img{height:20px;width:20px;min-width:20px;object-fit:contain;aspect-ratio:1}
.roomMemory{padding:4px 8px 0}
.roomMemory>div:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:3px}
.roomMemory label{font:16px/1.3 Georgia;display:flex;gap:8px;align-items:center;margin:0;color:#302a25}
.roomMemory label img{height:20px;width:20px;flex:none;object-fit:contain;aspect-ratio:1}
.roomMemory output{font:18px/1.3 Georgia;color:#302a25}
.memoryTrack{position:relative;height:29px}
.memoryTrack::before{content:'';position:absolute;left:0;right:0;top:10px;height:8px;background:#c5b49d;border:1px solid #635144;border-radius:5px}
#memoryFill{position:absolute;left:1px;right:1px;top:11px;height:6px;background:#783d46;transform:scaleX(.4);transform-origin:left;border-radius:4px}
.roomMemory .memoryTrack input[type=range]{appearance:none;position:absolute;left:0;top:10px;width:100%;height:8px;margin:0;background:transparent;border:0;cursor:pointer;box-shadow:none}
.roomMemory input[type=range]::-webkit-slider-thumb{appearance:none;width:24px;height:24px;border:1px solid #6a5547;border-radius:50%;background:#e8d6ba;box-shadow:0 2px 2px #3a292733;cursor:grab}
.roomMemory input[type=range]::-moz-range-thumb{width:24px;height:24px;border:1px solid #6a5547;border-radius:50%;background:#e8d6ba}
.memoryTicks{display:flex;justify-content:space-between;font:13px Georgia;color:#635345}
.formError{font:12px/1.4 Georgia;color:#71323c;min-height:17px;margin:5px 5px 0}
.roomFooter{height:136px;flex:none;padding:0 3px}
.roomButton{width:100%;height:52px;min-height:44px;padding:8px 24px;display:flex;align-items:center;justify-content:center;gap:9px;background:none;border:0;border-radius:0;box-shadow:none;font:20px/1.2 Georgia;text-transform:none;transition:transform 120ms ease-out;color:#f0ddc3}
.roomPrimary{background:url('./assets/ui/paper-grain.svg'),url('./assets/approved/primary-button-frame.svg') center/100% 100% no-repeat;text-shadow:0 1px #391c21}
.roomSecondary{height:52px;background:url('./assets/approved/secondary-button-frame.svg') center/100% 100% no-repeat;color:#2d2723;font-size:16px;gap:8px;padding:8px 17px}
.roomSecondary img{width:24px;height:24px;object-fit:contain;flex:none}
.roomSecondary span{white-space:nowrap}
.roomSecondary img:last-child{width:20px;height:20px;margin-left:auto}
.roomOr{height:32px;margin:0 12px;display:flex;align-items:center;justify-content:center;gap:17px;color:#4f3d30;font:15px Georgia}
.roomOr::before,.roomOr::after{content:'';height:1px;flex:1;background:#86715b}
.createFooter{height:82px;padding-top:3px;position:relative}
.createFooter .roomPrivacy{font:12px/1.4 Georgia;color:#725b49;text-align:center;margin:5px 0 0}
.createFooter .formError{position:absolute;left:3px;right:3px;bottom:0;margin:0;text-align:center;font-size:11px;background:#e8d3b8}
.roomButton:active:not(:disabled){transform:translateY(2px);box-shadow:none}.roomButton:disabled{opacity:.55;cursor:wait}
.roomSheet :focus-visible,.approvedDialog :focus-visible{outline:2px solid #81454d;outline-offset:3px}
.approvedDialog,body:not(.playing) dialog{--room-font:Georgia,serif;--room-ink:#302a25;border:0;border-image:none;background:url('./assets/warm-sheet-local.webp') center/100% 100% no-repeat;color:#302a25;border-radius:20px 20px 6px 6px;box-shadow:0 8px 30px #0d101880;filter:none;padding:30px 24px 28px}
.approvedDialog::before,body:not(.playing) dialog::before{display:none}
.approvedDialog h2,body:not(.playing) dialog h2{font:24px Georgia;text-align:center;background:none;color:#302a25;padding:0 20px 14px}
body:not(.playing) dialog p,body:not(.playing) dialog li{color:#564333}
.roomClose,body:not(.playing) dialog .close{float:right;width:36px;height:36px;min-height:36px;padding:0;margin:-11px -7px 0 8px;background:url('./assets/approved/secondary-button-frame.svg') center/100% 100% no-repeat;border:0;border-radius:0;clip-path:none;color:#302a25;font:24px Georgia}
body:not(.playing) .settingRow span{color:#302a25}body:not(.playing) .settingRow small{color:#715c49}
#publicList{max-height:40svh;overflow:auto;margin:12px 0}
.publicRoom{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px;background:url('./assets/approved/input-frame-with-icon.svg') center/100% 100% no-repeat;margin-bottom:9px}
.publicRoom strong{display:block;font:16px Georgia;overflow-wrap:anywhere}.publicRoom small{display:block;color:#75604e;font:11px Georgia;margin-top:6px}
.publicRoom button{min-height:44px;min-width:60px;border:0;background:#71343d;color:#efddc4;font:16px Georgia;border-radius:4px}
.approvedDialog label{font:14px Georgia;color:#302a25;margin:0 0 9px}.approvedDialog .formError{margin-bottom:8px}
body[data-phase=waiting] .gameScenery{background:url('./assets/profile-hero-local.webp') 42% 40%/cover no-repeat;height:190px}
body[data-phase=waiting] .tableObserver,body[data-phase=waiting] .observerCaption{display:none}
@media(max-height:740px) and (max-width:759px){.roomSheet{--sheet-height:min(62svh,420px);padding-top:18px;padding-bottom:max(16px,env(safe-area-inset-bottom))}.sheetHandle{margin-bottom:8px}.roomTabs{margin-bottom:8px}.roomTabs button{height:44px}.roomField{height:44px;min-height:44px;margin-bottom:6px}.roomMemory{padding-top:0}.roomMemory label,.roomMemory output{font-size:16px}.createFooter{height:76px}.heroArtwork{height:calc(100svh - min(62svh,420px) + 14px)}.homeWordmark{width:170px;left:12px;top:-8px}}
@media(min-width:760px){#lobby{background:#24211e}.heroArtwork{inset:0;height:auto;background-image:url('./assets/profile-hero-local.webp');background-size:cover;background-position:40% center}.homeWordmark{top:0;left:calc(74% - 130px);width:260px}.roomSheet{top:50%;bottom:auto;left:74%;transform:translate(-50%,-50%);width:min(45vw,470px);--sheet-height:min(510px,91svh);padding:29px 25px 27px}.sheetHandle{margin-bottom:14px}.roomTabs{margin-bottom:16px}.roomTabs button{height:48px;font-size:18px}.roomField{height:48px;margin-bottom:12px}.roomContent{padding-top:2px}.roomMemory{padding-top:8px}.createFooter{height:82px}}
@media(hover:hover)and(pointer:fine){.roomButton:hover:not(:disabled){filter:brightness(1.06)}}
@media(prefers-reduced-motion:reduce){.roomButton{transition:none}}
.createFooter .formError:empty{background:transparent}.roomTabs button:focus-visible{outline-offset:2px}
.createFooter:has(.formError:not(:empty)) .roomPrivacy{visibility:hidden}
body[data-phase=waiting] .waiting{background:url('./assets/warm-sheet-local.webp') center/100% 100% no-repeat;border:0;border-image:none;border-radius:15px;box-shadow:none;padding:32px 22px 26px;margin:16px auto 0;max-width:410px}
body[data-phase=waiting] .waiting .orbit{font-size:30px;color:#71343d;margin-top:0}
body[data-phase=waiting] .waiting h2{font:24px/1.2 Georgia;margin:13px 0 9px}
body[data-phase=waiting] .waiting p{font-size:11px;margin:7px 0}.waitingCode{margin:17px 0 12px}.waitingCode>span{display:block;font:10px Georgia;letter-spacing:2px;text-transform:none;color:#725c48}.waitingCode strong{display:block;font:32px Georgia;letter-spacing:5px;margin-top:5px;color:#3d3026}
body[data-phase=waiting] #ready{display:block;width:100%;background:url('./assets/approved/primary-button-frame.svg') center/100% 100% no-repeat;border:0;color:#efddc3;font:21px Georgia;box-shadow:none;margin-top:10px}
#waitInvite{display:block;margin:0 auto;background:none;border:0;min-height:36px;color:#71343d;font:14px Georgia;text-decoration:underline;text-underline-offset:3px}
.publicRoom{background-image:url('./assets/approved/room-row-frame.svg')}
body:not(.playing) #settingsButton,body:not(.playing) #rulesButton{width:44px;height:44px;min-height:44px;background-size:40px 40px}.passwordEye{width:44px;min-width:44px}.roomClose{width:44px;height:44px}

/* Observo home UI: one upright serif and square library glyphs. */
body:not(.playing),body:not(.playing) button,body:not(.playing) input,body:not(.playing) dialog,body[data-phase=waiting] .waiting{font-family:Georgia,serif;font-style:normal;letter-spacing:normal}
body:not(.playing) header .headerTools{display:flex;gap:6px}
body:not(.playing) #settingsButton,body:not(.playing) #rulesButton{display:grid;place-items:center;padding:0}
.headerTools>button>img{display:block;width:22px;height:22px;flex:none;aspect-ratio:1;object-fit:contain}
body:not(.playing) button{transition:transform 120ms ease-out,filter 120ms ease-out}
body:not(.playing) button:active:not(:disabled){transform:translateY(1px)}
body:not(.playing) button:focus-visible{outline:2px solid #81454d;outline-offset:2px}
.roomSheet .roomField input,.approvedDialog .roomField input,.roomSheet .roomField input::placeholder,.approvedDialog .roomField input::placeholder{font:16px/1.3 Georgia,serif;letter-spacing:normal}
.roomMemory .memoryTrack input[type=range]{top:-3px;height:44px;touch-action:pan-y}
.memoryTrack{height:38px}.memoryTrack::before{top:15px}#memoryFill{top:16px}
.memoryTicks{margin-top:-6px;font:12px/1.3 Georgia,serif}.roomMemory>div:first-child{margin-bottom:0}
.roomTabs button{font-style:normal;font-weight:400}.roomButton{font-style:normal}.roomSecondary{font-size:16px}
.approvedDialog p,.approvedDialog label,body:not(.playing) dialog p,body:not(.playing) dialog li{font:14px/1.5 Georgia,serif}
body:not(.playing) dialog h2{font:24px/1.2 Georgia,serif}body:not(.playing) dialog h3{font:18px/1.3 Georgia,serif}
@media(prefers-reduced-motion:reduce){body:not(.playing) button{transition:none}}

body:not(.playing) label,body:not(.playing) output,body:not(.playing) small{font-family:Georgia,serif;font-style:normal}
/* Keep joining steps together; spare sheet height stays below the task. */
.roomPane#joinForm{justify-content:flex-start;padding-top:12px;gap:16px}
.joinContent .formError:empty{display:none}
.joinContent .formError:not(:empty){margin-top:6px}

/* Approved 2026-11-14: left-anchored profile composition and matching paper controls. */
@media(max-width:759px){.heroArtwork{background-image:url('./assets/observo-mobile-profile-v2.webp')}.homeWordmark{left:auto;right:12px;top:clamp(70px,12svh,100px);width:132px}}
.roomField{background-image:none;isolation:isolate}
.roomField::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('./assets/observo-paper-controls-v1.webp') 50% 15.97%/120.376% 487.619% no-repeat;border-radius:3% / 18%}
.roomField::after{content:'';position:absolute;left:15.6%;top:22%;bottom:22%;width:1px;background:#493731;opacity:.6;pointer-events:none}
.roomPrimary,.roomSecondary{background-image:url('./assets/observo-paper-controls-v1.webp');background-size:120.376% 487.619%;background-repeat:no-repeat;border-radius:3% / 18%}
.roomPrimary{background-position:50% 85.38%;color:#f2e1ca;text-shadow:none}
.roomSecondary{background-position:50% 50.37%}
.joinContent .roomField{height:44px;min-height:44px;margin-bottom:6px}
.joinContent .codeField{margin-bottom:0}

.roomField::before{border-radius:0;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%20164%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M36%202L964%202Q995%202%20998%2032L998%20132Q995%20162%20964%20162L36%20162Q3%20162%202%20132L2%2034Q3%203%2036%202Z%22%2F%3E%3C%2Fsvg%3E");mask-size:100% 100%;mask-repeat:no-repeat}

.roomButton{position:relative;isolation:isolate}.roomPrimary,.roomSecondary{background:none;border-radius:0}.roomPrimary::before,.roomSecondary::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:url("./assets/observo-paper-controls-v1.webp");background-size:120.376% 487.619%;background-repeat:no-repeat;mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%20164%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M32%202H968Q984%202%20987%2014Q998%2018%20998%2036V128Q998%20147%20987%20151Q985%20162%20968%20162H32Q15%20162%2013%20151Q2%20147%202%20128V36Q2%2018%2013%2014Q15%202%2032%202Z%22%2F%3E%3C%2Fsvg%3E");mask-size:100% 100%;mask-repeat:no-repeat}.roomPrimary::before{background-position:50% 85.38%}.roomSecondary::before{background-position:50% 50.37%}

/* Keep focus/error rings inside the field; scrolling must never clip them. */
.roomField:focus-within,.roomField:has(input[aria-invalid=true]){outline:2px solid #81454d;outline-offset:-4px;border-radius:10px}
.roomSheet button:focus-visible,.approvedDialog button:focus-visible{outline-offset:-4px;border-radius:9px}

/* Four independent hero layers, fitted to the available hero area. */
.heroScene{position:absolute;inset:0 0 auto;height:calc(100svh - min(51svh,440px) + 20px);overflow:hidden;background:#211f1c}
.heroBackdrop{position:absolute;inset:0;background:url('./assets/observer-backdrop-v1.webp') center/cover no-repeat}
.heroComposition{position:absolute;inset:0}
.heroObserver{position:absolute;left:-6%;bottom:0;width:108%;height:100%;object-fit:contain;object-position:left bottom;max-width:none}
.heroCards{position:absolute;inset:0;pointer-events:none}
.heroCard{position:absolute;display:block;overflow:visible;width:13%;height:auto;animation:observer-orbit 32s linear infinite}
.heroCard-spade{left:3%;top:8%;animation-delay:-7s}
.heroCard-star{right:3%;top:17%;width:12%;animation-delay:-19s}
.heroCard-cup{right:5%;bottom:9%;width:13%;animation-delay:-28s}
.heroComposition .homeWordmark{position:absolute;left:auto;right:3%;top:49%;width:36%;margin:0;z-index:2}
.heroComposition .homeWordmark img{width:100%;height:auto;object-fit:contain}
@keyframes observer-orbit{0%,100%{transform:translate(0,-5px) rotate(-3deg)}25%{transform:translate(7px,0) rotate(0)}50%{transform:translate(0,5px) rotate(3deg)}75%{transform:translate(-7px,0) rotate(0)}}
body.ambientOff .heroCard,body.playing .heroCard{animation-play-state:paused}
body.reduceMotion .heroCard{animation:none;transform:none}
@media(max-height:740px) and (max-width:759px){.heroScene{height:calc(100svh - min(62svh,420px) + 14px)}}
@media(min-width:760px){.heroScene{inset:0;height:100%}.heroComposition{width:55%;right:auto}.heroObserver{left:0;width:100%;object-position:left center}.heroComposition .homeWordmark{top:53%;width:33%;right:1%}.heroCard-spade{left:4%;top:13%;width:11%}.heroCard-star{right:3%;top:12%;width:10%}.heroCard-cup{right:3%;bottom:13%;width:12%}}
@media(prefers-reduced-motion:reduce){.heroCard{animation:none;transform:none}}
@media(max-width:759px){.heroObserver{left:-3%;width:105%;height:90%}.heroCard-spade{left:2%;top:2%;width:11%}.heroComposition .homeWordmark{top:55%}}
/* Anchor logo/cards to a bounded composition, not the height of a tall screen. */
@media(max-width:759px){.heroComposition{top:auto;bottom:0;height:min(100%,110vw)}}

/* Source-matched paper silhouettes retain the whole bezel, excluding only backdrop. */
.roomField::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201276%20210%22%20preserveAspectRatio%3D%22none%22%3E%3Cpolygon%20fill%3D%22white%22%20points%3D%2262%2C2%201232%2C2%201243%2C4%201254%2C8%201259%2C12%201261%2C16%201266%2C24%201270%2C32%201272%2C40%201272%2C150%201270%2C180%201263%2C194%201257%2C200%201247%2C206%201235%2C208%2037%2C208%2030%2C206%2020%2C200%2013%2C194%206%2C180%203%2C150%204%2C100%204%2C60%203%2C40%205%2C32%208%2C24%2014%2C16%2017%2C12%2023%2C8%2034%2C4%22%2F%3E%3C%2Fsvg%3E")}
.roomSecondary::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201276%20210%22%20preserveAspectRatio%3D%22none%22%3E%3Cpolygon%20fill%3D%22white%22%20points%3D%2253%2C2%201219%2C2%201232%2C4%201239%2C8%201244%2C12%201250%2C16%201259%2C24%201266%2C32%201269%2C40%201270%2C60%201271%2C100%201271%2C150%201263%2C180%201247%2C194%201242%2C200%201229%2C206%201203%2C208%20132%2C208%2047%2C206%2034%2C200%2029%2C194%2014%2C180%205%2C150%204%2C100%204%2C60%205%2C40%209%2C32%2016%2C24%2024%2C16%2032%2C12%2035%2C8%2043%2C4%22%2F%3E%3C%2Fsvg%3E")}
.roomPrimary::before{mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201276%20210%22%20preserveAspectRatio%3D%22none%22%3E%3Cpolygon%20fill%3D%22white%22%20points%3D%2244%2C2%201233%2C2%201237%2C4%201242%2C8%201245%2C12%201253%2C16%201259%2C24%201267%2C32%201271%2C40%201271%2C150%201263%2C180%201247%2C194%201242%2C200%201233%2C206%201217%2C208%2080%2C208%2043%2C206%2033%2C200%2026%2C194%2013%2C180%204%2C150%203%2C100%204%2C60%205%2C40%208%2C32%2016%2C24%2022%2C16%2031%2C12%2033%2C8%2039%2C4%22%2F%3E%3C%2Fsvg%3E")}

@media(min-width:760px){.heroObserver{left:-3%;width:110%;height:110%;object-position:left bottom}.heroCard-spade{left:2%;top:1%}}
@media(min-width:760px){.heroObserver{bottom:-8px}}

/* Continuous orbit on the wrapper, gentle independent tilt on each card. */
.heroCardOrbit{position:absolute;width:12%;animation:observer-card-travel 16s linear infinite;pointer-events:none}
.heroCardOrbit .heroCard{position:static;width:100%;height:auto;animation:observer-card-tilt 8s cubic-bezier(0.77,0,0.175,1) infinite alternate}
.heroCardOrbit.heroCard-spade{left:7%;top:6%;width:11%;animation-delay:-3s}
.heroCardOrbit.heroCard-star{right:8%;top:23%;width:12%;animation-duration:19s;animation-delay:-11s;animation-direction:reverse}
.heroCardOrbit.heroCard-cup{right:7%;bottom:12%;width:14%;animation-delay:-8s}
.heroCardOrbit.heroCard-echo-spade{left:4%;bottom:20%;width:10%;animation-duration:21s;animation-delay:-14s;animation-direction:reverse}
.heroCardOrbit.heroCard-echo-star{left:47%;top:4%;width:9%;animation-duration:18s;animation-delay:-6s}
.heroCardOrbit.heroCard-echo-cup{right:3%;top:42%;width:9%;animation-duration:23s;animation-delay:-17s;animation-direction:reverse}
.heroCard-star .heroCard,.heroCard-echo-spade .heroCard{animation-direction:alternate-reverse;animation-delay:-4s}
.heroCard-cup .heroCard,.heroCard-echo-star .heroCard{animation-delay:-6s}
@keyframes observer-card-travel{from{transform:rotate(0deg) translateX(20px) rotate(0deg)}to{transform:rotate(360deg) translateX(20px) rotate(-360deg)}}
@keyframes observer-card-tilt{from{transform:rotate(-12deg)}to{transform:rotate(12deg)}}
body.ambientOff .heroCardOrbit,body.ambientOff .heroCardOrbit .heroCard,body.playing .heroCardOrbit,body.playing .heroCardOrbit .heroCard{animation-play-state:paused}
body.reduceMotion .heroCardOrbit,body.reduceMotion .heroCardOrbit .heroCard{animation:none;transform:none}
@media(min-width:760px){.heroCardOrbit.heroCard-spade{left:5%;top:8%}.heroCardOrbit.heroCard-star{right:8%;top:17%}.heroCardOrbit.heroCard-echo-star{left:46%;top:4%}.heroCardOrbit.heroCard-echo-spade{left:4%;bottom:22%}.heroCardOrbit.heroCard-echo-cup{right:2%;top:39%}}
@media(max-height:740px) and (max-width:759px){.heroCardOrbit{animation-name:observer-card-travel-small}.heroCardOrbit.heroCard-echo-cup{right:6%;top:34%}}
@keyframes observer-card-travel-small{from{transform:rotate(0deg) translateX(14px) rotate(0deg)}to{transform:rotate(360deg) translateX(14px) rotate(-360deg)}}
@media(prefers-reduced-motion:reduce){.heroCardOrbit,.heroCardOrbit .heroCard{animation:none;transform:none}}

/* One shared orbit, with the figure masking cards that travel behind it. */
.heroCards{z-index:1}.heroObserver{z-index:2;pointer-events:none}.heroComposition .homeWordmark{z-index:3}
.heroCards .heroCardOrbit{left:0;top:0;right:auto;bottom:auto;animation:none!important}
.heroCards .heroCardOrbit .heroCard{animation:none!important;transform:none}

/* Invitation / waiting room uses the approved paper and burgundy control materials. */
body[data-phase=waiting]::before{background:#211f1c url('./assets/observer-backdrop-v1.webp') center/cover no-repeat;opacity:1}
body[data-phase=waiting] main{max-width:none;padding:0}
body[data-phase=waiting] .gameScenery,body[data-phase=waiting] .roombar,body[data-phase=waiting] #players{display:none}
body[data-phase=waiting] header{position:absolute;top:max(12px,env(safe-area-inset-top));right:16px;width:auto;padding:0;z-index:5}
body[data-phase=waiting] header>.logo{display:none}
body[data-phase=waiting] .headerTools{display:flex;gap:6px}
body[data-phase=waiting] .headerTools button{width:40px;height:40px;min-height:40px;padding:0;display:grid;place-items:center}
.waitingRoom{position:relative;max-width:500px;margin:0 auto;min-height:100svh;padding:max(12px,env(safe-area-inset-top)) 20px 154px;box-sizing:border-box;font:16px/1.3 Georgia,serif;color:#ead9be}
.waitingTopbar{height:54px;display:flex;align-items:flex-start;gap:16px;padding-right:88px}
.waitingTopbar button{width:84px;height:40px;min-height:40px;padding:0;font:16px Georgia;flex:none}
.waitingTopbar>img{width:104px;height:44px;object-fit:contain}
.waitingRoomHeading{text-align:center;margin:12px 0 22px}
.waitingRoomHeading h2{font:16px/1.3 Georgia;margin:0 0 7px;color:#ead9be;background:none;padding:0;letter-spacing:normal}
#copyRoom{display:flex;align-items:center;justify-content:center;gap:20px;width:100%;height:80px;min-height:80px;padding:0 22px;color:#302a25}
#waitingRoomCode{font:46px/1 Georgia;letter-spacing:5px}
#copyRoom img{width:22px;height:22px;object-fit:contain;flex:none}
#roomCopyStatus{font:13px/1.4 Georgia;margin:10px 0 0;min-height:19px;color:#cbbca7}
.waitingPlayers{display:flex;flex-direction:column;gap:10px}
.waitingPlayer{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:174px;padding:18px 24px;box-sizing:border-box;color:#302a25;background:url('./assets/waiting-paper-card.webp') center/100% 100% no-repeat;border-radius:18px;overflow:hidden}
.waitingPortrait{display:block;width:78px;height:78px;flex:none;object-fit:cover;border:1px solid #6b5545;border-radius:50%}
.waitingPlayer h3{font:19px/1.2 Georgia;margin:9px 0 5px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#302a25}
.waitingPlayer h3 span{font-size:14px;color:#776453}
.waitingPlayerState{font:13px/1.3 Georgia;color:#776453}.waitingPlayerState.isReady{color:#642d34}
.hostBadge{position:absolute;right:18px;top:15px;display:flex;align-items:center;gap:4px;font:12px Georgia;color:#642d34}
.hostBadge img{width:14px;height:14px;object-fit:contain;flex:none}
.emptyPortrait{display:grid;place-items:center;background:#cbbba7;border:1px dashed #796655}.emptyPortrait img{width:30px;height:30px;object-fit:contain}
.waitingVersus{text-align:center;font:17px/1 Georgia;color:#cbbca7;height:17px}
.waitingDock{position:fixed;z-index:4;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,500px);padding:12px 20px max(16px,env(safe-area-inset-bottom));box-sizing:border-box;background:#211f1c;text-align:center}
#waitingStatus{font:13px/1.4 Georgia;margin:0 0 8px;color:#d4c3ac;min-height:18px}
#lobbyReady{width:100%;height:58px;min-height:58px;font:21px Georgia}
#lobbyReady:disabled{opacity:.65;filter:none;cursor:default}
#waitingMemory{font:11px/1.4 Georgia;margin:8px 0 0;color:#b5a68f}
.waitingRoom button:focus-visible{outline:2px solid #bd9891;outline-offset:3px}
@media(max-height:740px){.waitingRoomHeading{margin:4px 0 14px}#copyRoom{height:66px;min-height:66px}.waitingPlayer{min-height:145px;padding:13px 20px}.waitingPortrait{width:64px;height:64px}.waitingPlayer h3{margin-top:6px}.waitingPlayers{gap:7px}}

/* Unified application typography and explicit illustration/sheet stacking. */
:root{--app-font:Georgia,serif;--display:var(--app-font);font-family:var(--app-font)}
body,body button,body input,body select,body textarea,body label,body h1,body h2,body h3,body p,body strong,body small,body span,body output{font-family:var(--app-font);font-style:normal}
.approvedHero{z-index:0;isolation:isolate}.roomSheet{z-index:3}
/* Keep the waiting toolbar in flow so navigation never competes with utilities. */
body[data-phase=waiting] header{top:max(12px,env(safe-area-inset-top));right:max(20px,calc((100vw - 460px)/2));height:44px}
body[data-phase=waiting] .headerTools button,.waitingTopbar .waitingBack{width:44px;height:44px;min-height:44px;background:url('./assets/approved/secondary-button-frame.svg') center/100% 100% no-repeat;border:0;border-radius:0;box-shadow:none;display:grid;place-items:center;padding:0;color:#302a25}
.waitingTopbar{height:54px;padding:0;gap:0;justify-content:flex-start}
.waitingTopbar .waitingBack svg{display:block;width:22px;height:22px;flex:none}
#copyRoom{position:relative;display:grid;grid-template-columns:1fr;place-items:center;padding:0 46px;height:70px;min-height:70px}
#waitingRoomCode{font:normal 34px/1 var(--app-font);letter-spacing:2px;margin:0;text-align:center;width:100%}
#copyRoom>img{position:absolute;right:18px;top:50%;transform:translateY(-50%)}
.waitingPlayer>.emptyPortrait{display:block;object-fit:cover;background:none;border:1px solid #5f5b54}
@media(max-height:740px){#copyRoom{height:62px;min-height:62px}#waitingRoomCode{font-size:30px}}
/* Some legacy gameplay hints had a local system-font override. */
body,body *{font-family:var(--app-font)!important}
#waitingRoomCode{font-variant-numeric:lining-nums tabular-nums}

/* The same glyph-free polygon frame for all waiting-room toolbar controls. */
body[data-phase=waiting] #waitingBack,body[data-phase=waiting] #settingsButton,body[data-phase=waiting] #rulesButton{background-image:url('./assets/ui/icon-settings.svg');background-size:100% 100%;background-position:center;background-repeat:no-repeat;width:44px;height:44px;min-height:44px;flex:none;display:grid;place-items:center;padding:0}
body[data-phase=waiting] #waitingStatus,body[data-phase=waiting] #waitingMemory{display:none}

/* Shared toolbar framing, including home. One icon on one empty polygon. */
body:not(.playing) #settingsButton,body:not(.playing) #rulesButton{background-image:url('./assets/ui/icon-settings.svg');background-size:100% 100%;background-position:center;background-repeat:no-repeat}

/* The matchup emblem bridges the two paper player cards. */
.waitingPlayers{gap:0}
.waitingVersus{position:relative;z-index:2;isolation:isolate;display:grid;place-items:center;flex:none;width:46px;height:38px;margin:-6px auto;color:#f0dec5;font:17px/1 var(--app-font);letter-spacing:.3px;filter:drop-shadow(0 2px 2px #15131070)}
.waitingVersus::before{content:none}
.waitingVersus::after{content:'';position:absolute;inset:0;z-index:-1;background-image:url('./assets/ui/paper-grain.svg'),url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2046%2038%22%3E%3Cpath%20d%3D%22M5%201H41L45%205V33L41%2037H5L1%2033V5Z%22%20fill%3D%22%2366383c%22%20stroke%3D%22%232d2523%22%20stroke-width%3D%221.4%22%2F%3E%3Cpath%20d%3D%22M6%202H40L44%206V32L40%2036H6L2%2032V6Z%22%20fill%3D%22none%22%20stroke%3D%22%23e4cfaf%22%20stroke-width%3D%221%22%2F%3E%3Cpath%20d%3D%22M7%205H39L41%207V31L39%2033H7L5%2031V7Z%22%20fill%3D%22none%22%20stroke%3D%22%23dbc1a0%22%20stroke-width%3D%22.7%22%2F%3E%3Cpath%20d%3D%22M9%203H18M29%2035H37M3%2010V17M43%2022V29%22%20fill%3D%22none%22%20stroke%3D%22%23f1dfc7%22%20stroke-width%3D%22.5%22%20opacity%3D%22.5%22%2F%3E%3C%2Fsvg%3E");background-size:auto,100% 100%;background-repeat:repeat,no-repeat}
.waitingVersus span{display:block;transform:none}


/* Broad atmospheric brushwork stays behind the interface. Transform-only drift. */
body[data-phase=waiting]::before{background:#211f1c}
.waitingAtmosphere{position:fixed;inset:0;overflow:hidden;z-index:-1;pointer-events:none;background:#211f1c}
.waitingAtmosphere i{position:absolute;display:block;inset:-8%;background:url('./assets/observer-backdrop-v1.webp') center/100% 100% no-repeat;animation:waiting-flow 28s ease-in-out infinite alternate;transform-origin:50% 60%}
.waitingAtmosphere i:nth-child(2){inset:22% -9% -18%;opacity:.48;mix-blend-mode:screen;animation:waiting-flow-low 36s ease-in-out infinite alternate;transform-origin:50% 80%}
.waitingRoom{isolation:isolate}
.waitingDock{background:transparent}
#lobbyReady::before{animation:waiting-cta-breathe 4s ease-in-out infinite alternate}
@keyframes waiting-flow{from{transform:translate(-1.5%,1%) scale(1.02)}to{transform:translate(2%,-2%) scale(1.10)}}
@keyframes waiting-flow-low{from{transform:translate(3%,3%) rotate(180deg) scale(1.04)}to{transform:translate(-3%,-2%) rotate(187deg) scale(1.14)}}
@keyframes waiting-cta-breathe{from{opacity:.78}to{opacity:1}}
body.ambientOff .waitingAtmosphere i,body.ambientOff #lobbyReady::before{animation-play-state:paused}
body.reduceMotion .waitingAtmosphere i,body.reduceMotion #lobbyReady::before{animation:none}
@media(prefers-reduced-motion:reduce){.waitingAtmosphere i,#lobbyReady::before{animation:none}}
/* Blend moving artwork edges into the dark canvas rather than expose a rectangle. */
.waitingAtmosphere i:nth-child(2){mask-image:linear-gradient(transparent,#000 20%,#000 78%,transparent)}
/* Reserve the card edges for the overlapping badge, including short phones. */
.waitingPlayer{padding-bottom:24px}
.waitingVersus + .waitingPlayer{padding-top:24px}
/* Public room browsing is intentionally unavailable in this local iteration. */
#browseRooms:disabled{opacity:.48;cursor:default;pointer-events:none;filter:saturate(.25);justify-content:center}

/* Public discovery uses the same ink and paper components as room creation. */
.roomVisibility{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 4px;padding:4px 2px;color:var(--room-ink);cursor:pointer}
.roomVisibility strong{display:block;font-size:16px;font-weight:400}.roomVisibility small{display:block;font-size:12px;line-height:1.4;color:#725b49;margin-top:3px}
.roomVisibility input{appearance:none;flex:none;width:44px;height:26px;min-height:26px;margin:0;padding:3px;background:#c5b49d;border:1px solid #635144;border-radius:20px;cursor:pointer;transition:background .18s}
.roomVisibility input::before{content:'';display:block;width:18px;height:18px;border-radius:50%;background:#efddc4;box-shadow:0 1px 2px #302a2540;transition:transform .18s}
.roomVisibility input:checked{background:#71343d}.roomVisibility input:checked::before{transform:translateX(18px)}
.roomVisibility input:focus-visible{outline:2px solid #71343d;outline-offset:3px}.roomVisibility input:active{filter:brightness(.9)}
.passwordField:has(input:disabled){opacity:.5}
#publicRooms{width:min(92vw,480px);max-height:85svh;overflow:auto;padding:30px 22px 24px;color:#2b2623}
#publicRooms h2{margin:0 40px 12px 0;font:26px var(--app-font,Georgia,serif)}
#publicStatus{font-size:14px;line-height:1.5;margin:0 0 16px;color:#725b49}
#publicList{max-height:48svh;overflow:auto;overscroll-behavior:contain;min-height:70px}
#publicRooms .publicRoom{padding:14px 12px;gap:12px;min-height:80px}
#publicRooms .publicRoom>div{min-width:0;flex:1}#publicRooms .publicRoom button{width:68px;min-width:68px;flex:none;height:44px;min-height:44px;padding:6px;background-color:transparent;border-radius:0}
#publicRooms .publicRoom small{font-size:12px;line-height:1.4}
#publicRooms .roomClose{position:absolute;right:12px;top:12px;width:44px;height:44px;min-height:44px;font-size:28px}
#refreshRooms{width:100%;margin-top:14px}
@media(prefers-reduced-motion:reduce){.roomVisibility input,.roomVisibility input::before{transition:none}}
@media(max-width:759px) and (min-height:741px){.roomSheet{--sheet-height:min(59svh,500px)}}

/* Symmetric dialog corners and the same polygon control as the toolbar. */
.approvedDialog,body:not(.playing) dialog{border:1px solid #635144;border-radius:20px;background:url('./assets/warm-sheet-local.webp') center/140% 140% no-repeat #e6d0b5;box-shadow:inset 0 0 0 6px #e6d0b5,inset 0 0 0 7px #8b4d50,0 8px 30px #0d101880}
body .approvedDialog .roomClose,body:not(.playing) dialog .close{background:url('./assets/ui/icon-settings.svg') center/100% 100% no-repeat;border:0;border-radius:0;clip-path:none;box-shadow:none;color:#302a25;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;margin:0;font:28px/1 var(--app-font);float:none;position:absolute;right:10px;top:10px}
.desktopGate{display:none}
@media(min-width:760px){
 body{background:#252321!important;overflow:hidden}
 body::before,body>main,body>.gameProps{display:none!important}
 body dialog[open],body dialog::backdrop{display:none!important}
 .desktopGate{position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;text-align:center;color:#ead9be;background:#252321 url('./assets/observer-backdrop-v1.webp') center/cover no-repeat}
 .desktopGate>img{width:min(300px,55vw);height:auto;object-fit:contain;margin-bottom:32px}
 .desktopGate h1{font:32px/1.3 var(--app-font);margin:0 0 16px}
 .desktopGate p{font:17px/1.7 var(--app-font);margin:0;color:#cbbca7}
}

/* Public discovery is a full-screen paper page, not a modal overlay. */
body.browsingRooms header{display:none}
body.browsingRooms #lobby{visibility:hidden}
#publicRooms.publicRoomsPage{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:max(20px,env(safe-area-inset-top)) 20px max(20px,env(safe-area-inset-bottom));border:0;border-radius:0;box-shadow:none;z-index:8;display:flex;flex-direction:column;overflow:hidden;isolation:isolate;color:#302a25;background:#e6d0b5 url('./assets/warm-sheet-local.webp') center/140% 140% no-repeat}
#publicRooms.publicRoomsPage[hidden]{display:none}
.publicRoomsPage::before{content:'';position:absolute;inset:8px;border:1px solid #8b4d50;border-radius:20px;pointer-events:none;z-index:-1}
.publicPageHeader{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px;flex:none;padding:4px 0 18px}
#publicRooms .publicPageHeader h2{font:26px/1.2 var(--app-font);padding:0;margin:0;text-align:center;outline:none}
#publicRooms .publicPageHeader button{width:44px;height:44px;min-height:44px;padding:0;margin:0;border:0;border-radius:0;display:grid;place-items:center;background:url('./assets/ui/icon-settings.svg') center/100% 100% no-repeat;color:#302a25;box-shadow:none}
#publicRooms .publicPageHeader button svg{width:22px;height:22px;flex:none}
#publicRooms #publicStatus{flex:none;padding:0 4px;margin:0 0 14px;font:14px/1.5 var(--app-font)}
#publicRooms #publicList{flex:1;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;margin:0;padding:2px 4px 16px;scrollbar-width:thin}
#publicRooms button.publicRoom{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:14px;width:100%;min-height:108px;margin:0 0 14px;padding:20px;border:0;border-radius:0;background:url('./assets/approved/room-row-frame.svg') center/100% 100% no-repeat;color:#302a25;box-shadow:none;transition:transform 120ms ease-out,filter 120ms ease-out;cursor:pointer}
#publicRooms .publicRoom strong{font:20px/1.3 var(--app-font);display:block;overflow-wrap:anywhere}
#publicRooms .publicRoom small{font:13px/1.5 var(--app-font);display:block;margin-top:8px;color:#725b49}
.publicJoin{flex:none;color:#71343d;font-size:16px}
#publicRooms button:active:not(:disabled){transform:scale(.98)}
#publicRooms button:focus-visible{outline:2px solid #71343d;outline-offset:-4px}
@media(min-width:760px){#publicRooms.publicRoomsPage{display:none!important}}
@media(prefers-reduced-motion:reduce){#publicRooms button.publicRoom{transition:none}}
/* Settings controls use the same burgundy ink, with system motion preferences retained. */
#settings .settingRow[hidden]{display:none}
#settings .settingRow{min-height:68px}
#settings .settingRow input[type=checkbox]{appearance:none;position:relative;width:26px;height:26px;min-height:26px;flex:none;margin:0;padding:0;border:1.5px solid #71343d;border-radius:4px;background:#ead9be;cursor:pointer;transition:background 120ms ease-out}
#settings .settingRow input[type=checkbox]:checked{background:#71343d}
#settings .settingRow input[type=checkbox]:checked::after{content:'';position:absolute;left:8px;top:4px;width:6px;height:12px;border:solid #efddc4;border-width:0 2px 2px 0;transform:rotate(45deg)}
#settings .settingRow input:focus-visible,#languageSetting:focus-visible{outline:2px solid #71343d;outline-offset:3px}
#languageSetting{width:135px;min-height:44px;padding:8px;border:1px solid #8b4d50;border-radius:5px;color:#302a25;background:#ead9be;font:16px/1.3 var(--app-font)}
html[lang=zh-CN]{--app-font:Georgia,'Songti SC','Noto Serif CJK SC',serif}
html[lang=zh-CN] .publicPageHeader h2{font-size:24px}
/* Language choices are ink-styled controls instead of the native blue menu. */
.languagePicker{position:relative;min-width:140px}
#languageTrigger{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:44px;width:100%;padding:10px 14px;border:1px solid #8b4d50;border-radius:6px;background:#ead9be;color:#302a25;font:16px/1.3 var(--app-font);box-shadow:none}
#languageOptions{position:absolute;right:0;top:calc(100% + 6px);min-width:170px;padding:5px;background:#ead9be;border:1px solid #8b4d50;border-radius:7px;box-shadow:0 6px 18px #302a2533;z-index:20}
#languageOptions[hidden]{display:none}
#languageOptions button{display:block;min-height:44px;width:100%;text-align:left;padding:10px;border:0;border-radius:4px;background:transparent;color:#302a25;font:16px/1.3 var(--app-font)}
#languageOptions button[aria-selected=true]{background:#71343d;color:#efddc4}
#languageOptions button:hover,#languageOptions button:focus-visible{background:#8b4d50;color:#efddc4;outline:0}
#languageTrigger:focus-visible{outline:2px solid #71343d;outline-offset:3px}
.memoryTicks span{display:flex;align-items:center;gap:3px;font-size:11px;white-space:nowrap}.memoryTicks svg{flex:none;object-fit:contain}
.roomMemory .memoryTrack input[type=range]:focus-visible{outline:none!important}
.roomMemory .memoryTrack:focus-within::before{box-shadow:0 0 0 1px #71343d}
.feedbackSection{border-top:1px solid #8b4d5066;margin-top:24px;padding-top:4px}
.feedbackSection label{display:block;margin:10px 0 8px}
#feedbackMessage{display:block;width:100%;min-height:110px;resize:vertical;padding:12px;background:#ead9be;color:#302a25;border:1px solid #8b4d50;border-radius:7px;font:16px/1.5 var(--app-font)}
#feedbackMessage:focus-visible{outline:2px solid #71343d;outline-offset:2px}
#feedbackSend{width:100%;margin-top:12px}
#feedbackStatus{min-height:22px;color:#71343d;margin:10px 0 0}
.feedbackTrap{display:none}
/* Approved A: one continuous ink frame, two paper-integrated segments. */
.roomTabs{position:relative;isolation:isolate;display:grid;grid-template-columns:1fr 1fr;gap:0;height:50px;margin:0 3px 12px;padding:3px 4px;background:none}
.roomTabs::before{content:'';position:absolute;inset:0;background:url('./assets/approved/room-tabs-unified.svg') center/100% 100% no-repeat;z-index:2;pointer-events:none}
.roomTabs::after{content:'';position:absolute;left:50%;top:4px;bottom:4px;width:1px;background:#302a25;z-index:2;pointer-events:none}
.roomTabs button{height:44px;min-height:44px;min-width:0;padding:6px 10px;border:0;border-radius:0;background:none;box-shadow:none;color:#302a25;font:16px/1.3 var(--app-font)}
.roomTabs button:first-child{clip-path:polygon(4% 0,100% 0,100% 100%,4% 100%,0 82%,0 18%)}
.roomTabs button:last-child{clip-path:polygon(0 0,96% 0,100% 18%,100% 82%,96% 100%,0 100%)}
.roomTabs button[aria-selected=true]{background:#292621;color:#efddc4}
.roomTabs button:focus-visible{outline:2px solid #a78b72;outline-offset:-4px;border-radius:0}
@media(max-width:759px){.roomSheet{padding-top:14px}.sheetHandle{height:3px;margin-bottom:6px}}

/* Set tabs slightly lower while bringing the first field closer. */
.roomTabs{margin-bottom:6px}
.roomPane#joinForm{padding-top:6px}
@media(max-width:759px){.roomSheet{padding-top:22px}}
