.community{max-width:1120px;margin:30px auto 80px;padding:0 24px}.community-header,.community-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.community h1{font-size:clamp(28px,4vw,44px);margin:9px 0}.community h2{font-size:25px;margin:10px 0 16px}.community p{line-height:1.65}.community .panel{padding:28px;margin-bottom:20px}.community-identity{display:flex;align-items:center;gap:18px;margin-top:26px;border-left:3px solid var(--gold,#d3b572)}.community-identity strong{font-size:21px}.community-identity small,.community-person small,.community-room-list small{font-size:12px;color:#b7ab91}.community-identity span,.community-person span,.community-room-list span{display:block;color:#bbc0c3;font-size:13px;margin-top:5px}.community .community-avatar{display:grid;place-items:center;flex:0 0 52px;height:52px;margin:0;color:#e5cc94;background:#38312c;border:1px solid #766344;border-radius:50%;font:26px Georgia,serif}.community-rank{margin-left:auto;text-align:right;display:grid;gap:5px}.community-rank small{letter-spacing:1.5px}.community-tabs{display:flex;gap:6px;border-bottom:1px solid #343b41;padding-bottom:14px;overflow-x:auto}.community-tabs button{white-space:nowrap;border-color:transparent;background:transparent}.community-tabs button.active{background:#443b31;border-color:#b49a66;color:#f0d9a4}.community-status{min-height:1.5em;color:#e4c98e;margin:12px 0}.community-modes{display:grid;grid-template-columns:1fr 1fr;gap:20px}.community-modes .panel{position:relative;display:flex;flex-direction:column;align-items:flex-start;overflow:hidden}.community-modes li{padding:5px 0;color:#bbc0c3}.community-modes button{margin:8px 8px 4px 0}.community-modes small{line-height:1.5;margin-top:12px;color:#bbc0c3}.community-numeral{position:absolute;right:25px;top:12px;font:110px Georgia,serif;color:#d3b5720d;pointer-events:none}.community-unlock{border-left:2px solid #b49a66;padding-left:12px;color:#ddc899}.community-search{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(115deg,#2e2922,#23292e);border-color:#9d865b}.community-section-head>div:last-child{display:flex;flex-wrap:wrap;gap:8px}.community-room-list article,.community-person{display:flex;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid #343b41}.community-person>div:last-child,.community-room-list article>button{margin-left:auto}.community-person>div:last-child{display:flex;flex-wrap:wrap;gap:5px}.community-empty{text-align:center;padding:30px 20px;color:#bbc0c3}.community-empty h3{color:#dfd1b4}.community-code{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:22px}.community-code input{width:210px}.community .community-code label{margin:0}.community-tag{font-family:monospace;letter-spacing:2px;color:#e3c990}.community-check{display:flex;align-items:center;gap:10px;padding:9px 0}.community-check input{width:18px;height:18px}.community-mastery{display:flex;justify-content:space-between;gap:20px;width:100%;padding:12px 0;border-bottom:1px solid #343b41}.community-mastery span{color:#bbc0c3;font-size:13px}.community-table{overflow:auto}.community table{width:100%;border-collapse:collapse;text-align:left}.community td,.community th{padding:16px;border-bottom:1px solid #343b41}.community-result{text-transform:uppercase;min-width:50px;font-size:12px;letter-spacing:1px}.community-result.win{color:#99d7b7}.community-result.loss{color:#e0a6a6}.community-replay-board{display:grid;grid-template-columns:repeat(7,1fr);max-width:580px;margin:10px auto;border:1px solid #6e6150;padding:3px;gap:2px}.replay-cell{position:relative;aspect-ratio:1;display:grid;place-items:center;background:#3b3836;border:1px solid #514b44}.replay-cell img{height:95%;width:auto;max-width:90%;object-fit:contain}.replay-cell small{position:absolute;top:1px;left:2px;font-size:8px}.replay-cell.player-0{border-color:#73cce0}.replay-cell.player-1{border-color:#d88b92}.community-playback{display:flex;align-items:center;gap:10px}.community-playback input{flex:1;width:60px}.community-replay-head small{color:#bbc0c3}.community-lobby-ready{display:flex;justify-content:center;gap:20px;margin:18px}.community-ready{color:#91d9b1}.community button:focus-visible,.community input:focus-visible{outline:2px solid #e0c17d;outline-offset:3px}@media(max-width:700px){.community{padding:0 14px;margin-top:20px}.community-modes{grid-template-columns:1fr}.community .panel{padding:22px}.community-header,.community-section-head{align-items:flex-start}.community-section-head{flex-direction:column}.community-identity{flex-wrap:wrap}.community-rank{margin-left:0;text-align:left;padding-left:70px;width:100%}.community-person{flex-wrap:wrap}.community-person>div:last-child{margin-left:0;width:100%}.community-search{flex-direction:column;align-items:flex-start}.community h2{font-size:22px}}

.community-rank progress{width:100%;height:6px;accent-color:#b9a585}.community-rank small{max-width:290px}.community-rules{margin:20px 0;padding:18px;border:1px solid #b9a58544;border-radius:12px;background:#171a1e}.community-rules summary{cursor:pointer;font-weight:600;color:#dbc5a5}.community-rules p{max-width:75ch;line-height:1.6}.community-rules table{width:100%}.rank-result{display:flex;flex-direction:column;gap:8px;border:1px solid #b9a58555;border-radius:12px;padding:18px;margin:20px 0;background:#171a1e}.rank-result strong{font-size:1.5rem;color:#e8d4b3}.rank-result small{font-size:.8rem;line-height:1.5;color:#bbc0c3}.rank-result progress{width:100%;accent-color:#b9a585}.community-rules td,.community-rules th{padding:8px 12px;text-align:left}

/* The rank is ordinary result text; the engraved insignia and seal are presentation. */
.rank-badge{position:relative;display:inline-grid;place-items:center;isolation:isolate;inline-size:64px;aspect-ratio:1;flex:none;--rank-metal:#d9b885}
.rank-badge[data-tier="bronze"]{--rank-metal:#cf906c}.rank-badge[data-tier="silver"]{--rank-metal:#c1d3e3}
.rank-badge[data-tier="gold"]{--rank-metal:#f2d086}.rank-badge[data-tier="master"]{--rank-metal:#d7b0ed}
.rank-badge[data-tier="grandmaster"]{--rank-metal:#f4b2a2}
.rank-badge::before{content:"";position:absolute;inset:27%;z-index:-1;background:var(--rank-metal);mask:url("/brand/yasa-seal.svg") center / contain no-repeat}
.rank-badge img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 4px #060a0e99)}
.rank-division{position:absolute;inset:auto auto -4% 50%;transform:translateX(-50%);min-width:1.9em;padding:.05em .35em;text-align:center;line-height:1.1;font:bold .72rem Georgia,serif;letter-spacing:.1em;background:#111821;color:var(--rank-metal);border:1px solid var(--rank-metal);border-radius:2px}
.community-rank{position:relative;padding-inline-start:85px}.community-rank>.rank-badge{position:absolute;left:0;top:50%;transform:translateY(-50%)}
.rank-reveal{padding:0;overflow:hidden}.rank-reading{display:grid;gap:.5rem;padding:1rem 1.25rem 1.1rem;text-align:start}
.rank-heading{display:flex;align-items:center;gap:1rem}.rank-heading .rank-badge{width:52px}
.rank-reading .rank-heading>div{display:grid;gap:.12rem}.rank-reading .rank-name{font-family:Georgia,serif;font-size:clamp(1.5rem,3vw,2.2rem);line-height:1.1}
.rank-reading .rank-event{color:#c7c2b9;letter-spacing:.16em;text-transform:uppercase;font-size:.73rem}.rank-reading .rank-route{font-size:.9rem;color:#d4d2d5}
.rank-reading .rank-delta{font-weight:600;font-size:1.05rem;line-height:1.25;color:#e7d2a3}
.rank-reading progress{width:100%;height:7px;accent-color:#cbaa75}.rank-result-foot{display:flex;justify-content:space-between;gap:.5rem;flex-wrap:wrap;border-top:1px solid #8c827045;margin-top:.15rem;padding-top:.55rem}
.rank-reading .rank-shield,.community .rank-shield{color:#bed4e1}.rank-balance{font-variant-numeric:tabular-nums}
.rank-stage{position:relative;isolation:isolate;overflow:hidden;display:grid;place-items:center;aspect-ratio:16/9;width:100%;background:radial-gradient(ellipse at 50% 50%,#374754 0,#1b2933 32%,#101a25 64%,#080e16 100%);border-bottom:1px solid #84725177}
.rank-stage::before{content:"";position:absolute;inset:5px;z-index:-1;border:1px solid #c1ac7c47;outline:1px solid #667a852a;outline-offset:-4px;pointer-events:none}
.rank-stage .rank-aperture{position:absolute;width:34%;max-width:144px;aspect-ratio:1;transform:rotate(45deg);border:1px solid #ccab6d85;box-shadow:0 0 0 6px #0d1820,0 0 0 7px #8296a258,inset 0 0 0 5px #0c121859,inset 0 0 0 6px #dbc18e33;z-index:-1}
.rank-stage .rank-badge{width:clamp(82px,27%,128px);filter:drop-shadow(0 6px 13px #070b10bb)}
.rank-film{pointer-events:none;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}
.rank-reveal[data-transition="demoted"] .rank-stage{background:radial-gradient(ellipse at center,#424851,#232c37 40%,#111923 75%)}
.rank-reveal.is-revealing[data-transition="promoted"] .rank-badge{animation:yasa-rank-ascend 1.65s cubic-bezier(.2,.8,.23,1) both}
.rank-reveal.is-revealing[data-transition="demoted"] .rank-badge{animation:yasa-rank-settle .95s cubic-bezier(.2,.8,.3,1) both}
.rank-reveal.is-revealing[data-transition="promoted"] .rank-reading .rank-name{animation:yasa-rank-letter .9s .15s ease-out both}
@keyframes yasa-rank-ascend{0%{opacity:0;transform:translateY(12px) scale(.65)}22%{opacity:.08}66%{opacity:1;transform:translateY(-3px) scale(1.045)}100%{opacity:1;transform:none}}
@keyframes yasa-rank-settle{from{opacity:.26;transform:translateY(-7px) scale(1.025)}to{opacity:1;transform:none}}
@keyframes yasa-rank-letter{from{opacity:.55;transform:translateY(4px)}to{opacity:1;transform:none}}
html[data-motion="reduced"] .rank-reveal *{animation:none!important}html[data-motion="reduced"] .rank-film{display:none}
@media(prefers-reduced-motion:reduce){.rank-reveal *{animation:none!important}.rank-film{display:none}}
@media(max-width:700px){.community-rank{padding-left:66px}.community-rank>.rank-badge{width:50px}.rank-reading{padding:.9rem 1rem}}
.battle-result.has-rank-result .result-banner.result-yasa{width:54px;height:52px;max-height:54px;margin:0 auto 8px}.battle-result.has-rank-result .result-banner.result-yasa img{width:auto;height:50px}
.has-rank-result .result-objective{margin:0 auto 6px}.has-rank-result .result-objective>.objective-icon{width:28px;height:28px}.has-rank-result #rankedBattleResult{max-width:590px;margin:0 auto}
.rank-badge img[hidden]{display:none}

.game-name-gate{max-width:32rem;margin:0 0 1.3rem}.game-name-form{max-width:30rem;margin:0 0 1.2rem}.game-name-form h2{margin:0 0 1rem}.game-name-form label{display:block;margin-bottom:.35rem}.game-name-form input{width:100%;max-width:25rem}.game-name-form p{font-size:.92rem;line-height:1.5;margin:.6rem 0 1rem}.game-name-form [role=status]:empty{display:none}

.rank-reading .rank-delta[data-direction="down"]{color:#eab8a5}.rank-stage:has(.rank-film) .rank-aperture{visibility:hidden}

@media(min-width:900px){.community-modes.battle-formats{grid-template-columns:repeat(3,minmax(0,1fr))}}
