
/* Navigation controls share geometry; the game column follows the rendered frame. */
body[data-sport] .cup-play-header{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:90px;height:90px;position:relative;margin:0 auto 12px!important}
body[data-sport]>.cup-sport-title{display:flex!important;width:var(--cup-content-width,390px)!important;max-width:calc(100% - 36px)!important;min-height:52px!important;height:52px!important;margin:0 auto 16px!important;padding:8px 20px!important;font-size:24px!important;flex:none!important}
body[data-game-shape=wide]>.cup-sport-title{width:370px!important}
body[data-sport] :is(.cup-entry-strip,#cup-save-status){width:var(--cup-content-width,calc(100% - 36px))!important;max-width:calc(100% - 36px)!important;margin:0 auto 16px!important;box-sizing:border-box;min-height:32px!important;height:auto!important;border-radius:16px!important;padding:6px 10px!important;gap:7px!important;font-size:10px!important;line-height:1.5!important;flex-wrap:wrap}
body[data-sport] #cup-save-status:empty{display:none!important}
body[data-sport] .cup-entry-strip img{width:20px!important;height:18px!important;object-fit:contain}
body[data-sport] .cup-nav .cup-back{height:50px!important;min-height:50px!important;padding:8px 14px!important;box-shadow:0 3px #d4ad8a!important}
#profile-choice .friend-mypage-link{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:52px;padding:10px 12px!important;box-sizing:border-box;border:2px solid #fff8e9;border-radius:18px;background:linear-gradient(#fffdf6,#f8dec2)!important;box-shadow:inset 0 2px 1px white,0 3px #d5ae88;color:#704830;font-family:inherit!important;font-weight:900!important;font-size:16px!important;line-height:1.35;text-shadow:none}
.social-hero>div{flex:1;min-width:0}.social-hero .social-nav{margin:16px 0 0;align-items:center;gap:10px}.social-hero .social-nav>a,.social-hero #social-edit{min-height:42px;padding:10px 14px;line-height:1.3}
#pong-game .pong-dialog{padding:100px 10% 68px!important;max-height:95%;overflow:auto!important;box-sizing:border-box}#pong-game .pong-dialog h3{font-size:clamp(22px,2.5vw,34px)!important;line-height:1.3;margin:0 0 12px}#pong-game .pong-instruction{margin-top:16px!important;padding:8px 0!important;background:none!important;border:0!important}#pong-game .pong-instruction>strong{color:#79543b!important}#pong-game .pong-dialog p{font-size:14px!important;line-height:1.5!important}
#info-dialog[data-kind=contact] #info-title{background:none!important;padding:12px 40px!important;display:flex;align-items:center;justify-content:center;gap:15px;isolation:isolate}#info-dialog[data-kind=contact] #info-title::before,#info-dialog[data-kind=contact] #info-title::after{content:'';position:absolute;top:0;width:50%;height:100%;background:url('/assets/reference/badminton-heading.png') right center/200% 100% no-repeat;z-index:-1}#info-dialog[data-kind=contact] #info-title::before{left:0;transform:scaleX(-1)}#info-dialog[data-kind=contact] #info-title::after{right:0}#info-dialog[data-kind=contact] .ticket-heading-icon{display:none!important}#info-dialog[data-kind=contact] #info-title-label::before{content:'';display:inline-block;width:48px;height:48px;vertical-align:middle;margin-right:12px;background:url('/assets/mail.svg') center/contain no-repeat}
#cup-header-dialog[data-kind=ticket]{width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 100px);overflow:visible;padding:85px 30px 32px;border:5px solid #ff8069;border-radius:38px;background:#fff7eb;box-shadow:inset 0 -8px #f1d7c2,0 5px #fff0dc;text-align:center}
#cup-header-dialog[data-kind=ticket] h2{position:absolute;left:50%;top:-72px;transform:translateX(-50%);width:min(520px,calc(100% - 36px));height:146.8px;margin:0;padding:12px 85px!important;display:flex;align-items:center;justify-content:center;gap:12px;isolation:isolate;color:white;font-size:28px!important}
#cup-header-dialog[data-kind=ticket] h2::before,#cup-header-dialog[data-kind=ticket] h2::after{content:'';position:absolute;top:0;width:50%;height:100%;background:url('/assets/reference/badminton-heading.png') right center/200% 100% no-repeat;z-index:-1}#cup-header-dialog[data-kind=ticket] h2::before{left:0;transform:scaleX(-1)}#cup-header-dialog[data-kind=ticket] h2::after{right:0}
#cup-header-dialog[data-kind=ticket] .ticket-heading-icon{flex:none;width:165px;height:170px;object-fit:contain;transform:translateY(-4px) scale(1.35)}#cup-header-dialog[data-kind=ticket] h2>span{padding-top:16px;white-space:nowrap}#cup-header-dialog[data-kind=ticket] .cup-dialog-close{right:-10px;top:-8px;width:54px;height:54px;font-size:34px;z-index:2;background:linear-gradient(#ffaea0,#ff6456);border:4px solid #fff7e7;box-shadow:0 3px #bd5944}#cup-header-dialog[data-kind=ticket] p{font-size:14px;line-height:1.8;margin:14px 0}
@media(max-width:700px){body[data-sport] .cup-play-header{height:64px!important;min-height:64px!important}body[data-sport] .cup-nav .cup-back{height:34px!important;min-height:34px!important;padding:4px!important}body[data-sport]>.cup-sport-title{height:42px!important;min-height:42px!important;font-size:18px!important;max-width:calc(100% - 36px)!important;margin-bottom:12px!important}body[data-sport] :is(.cup-entry-strip,#cup-save-status){font-size:9px!important;margin-bottom:12px!important;gap:5px!important}#profile-choice .friend-mypage-link{font-size:14px!important;min-height:48px}.social-hero{gap:14px}.social-hero .social-nav{gap:7px}.social-hero .social-nav>a,.social-hero #social-edit{font-size:10px;padding:9px 10px}#pong-game .pong-dialog{padding:78px 10% 60px!important}#pong-game .pong-dialog h3{font-size:22px!important}#pong-game .pong-dialog p{font-size:12px!important}#pong-game .pong-instruction li{font-size:10px!important}#pong-game .pong-instruction>strong{font-size:12px!important}#pong-game #pong-start{min-height:0!important;width:min(100%,300px)!important;font-size:18px!important}
#cup-header-dialog[data-kind=ticket]{padding:62px 18px 25px;border-radius:28px}#cup-header-dialog[data-kind=ticket] h2{top:-43px;width:min(310px,calc(100% - 16px));height:87.5px;font-size:18px!important;padding:8px 50px!important;gap:7px}#cup-header-dialog[data-kind=ticket] .ticket-heading-icon{width:96px;height:100px;transform:translateY(-2px) scale(1.3)}#cup-header-dialog[data-kind=ticket] h2>span{padding-top:10px}#cup-header-dialog[data-kind=ticket] .cup-dialog-close{width:44px;height:44px;font-size:28px;right:-5px}#cup-header-dialog[data-kind=ticket] p{font-size:11px}
}

.has-friend-invitation{position:relative!important;overflow:visible!important;clip-path:none!important}.has-friend-invitation img,.has-friend-invitation .ref-profile-art{border-radius:50%;overflow:hidden}.has-friend-invitation::after{content:'';display:block;position:absolute;right:0;top:0;width:11px;height:11px;border:2px solid white;box-sizing:border-box;border-radius:50%;background:#f34146;z-index:3;pointer-events:none}@media(max-width:700px){.has-friend-invitation::after{width:9px;height:9px;border-width:1.5px}}

/* Crisp cream plaques: no stretched bitmap ends. */
body .reference-header .ref-season,body .topbar .season,body[data-sport]>.cup-sport-title{background:linear-gradient(180deg,#fffaf1,#fce8d5)!important;border:2px solid #fffdf7!important;border-image:none!important;border-radius:24px!important;box-shadow:0 3px 0 #ebc4a6,inset 0 1px #fff!important;box-sizing:border-box!important;line-height:1.2!important;display:flex;align-items:center;justify-content:center;padding:7px 14px!important;text-shadow:none!important}
body .reference-header .ref-season{width:260px!important;left:50%!important;transform:translateX(-50%);font-size:15px!important;height:42px!important;min-height:42px!important}
#legal-dialog .shared-title,.text-page>.shared-title:not(#about-title),#notice-dialog .shared-title{background:linear-gradient(#ff9280,#ff574f)!important;border:3px solid #ffe5ca!important;border-radius:60px!important;box-shadow:0 4px #d15341,inset 0 2px #ffffff70!important;display:flex;align-items:center;justify-content:center;padding:14px 25px!important;color:#fff!important;text-shadow:0 1px #b94b3c!important;line-height:1.3!important;min-height:75px;height:auto!important;top:-40px}
#legal-dialog .shared-title::before,#legal-dialog .shared-title::after,.text-page>.shared-title:not(#about-title)::before,.text-page>.shared-title:not(#about-title)::after{display:none!important}
@media(max-width:700px){body .reference-header,body .topbar{justify-content:flex-start!important;gap:6px!important}body .reference-header .ref-logo,body .topbar .small-brand{flex-basis:100px!important;width:100px!important;height:48px!important}body .reference-header .ref-season,body .topbar .season{flex:0 1 100px!important;width:100px!important;max-width:100px!important;min-width:48px!important;height:32px!important;min-height:32px!important;padding:5px 6px!important;font-size:9px!important;left:auto!important;transform:none!important;white-space:nowrap!important}body .reference-header .ref-account,body .topbar .top-actions{margin-left:auto!important}body .reference-header .ref-profile,body .cup-account .ref-profile,body .topbar .user-chip{width:28px!important;height:28px!important;flex-basis:28px!important;min-width:28px!important}body .reference-header .ref-ticket,body .cup-account .ref-ticket{width:44px!important;flex-basis:44px!important;padding:0 3px 0 20px!important;height:27px!important;min-height:27px!important}.ticket-count{font-size:17px!important}body .reference-header .ref-language,body .cup-account .ref-language,body .topbar .language{width:72px!important;min-width:72px!important;flex-basis:72px!important;gap:3px!important;padding:5px!important}body .reference-header .ref-language::before,body .cup-account .ref-language::before,body .topbar .language::before{width:13px!important;height:13px!important;flex-basis:13px!important}body[data-sport] .cup-header-logo{width:100px!important;height:48px!important}body[data-sport] .cup-nav{width:132px!important;flex-basis:132px!important}.reference-header .ref-season::before,.reference-header .ref-season::after{display:none!important}#legal-dialog .shared-title,.text-page>.shared-title:not(#about-title){min-height:64px!important;top:-32px;font-size:18px!important;padding:12px 20px!important}}
@media(max-width:360px){body .reference-header .ref-logo,body .topbar .small-brand{width:88px!important;flex-basis:88px!important}body .reference-header .ref-season,body .topbar .season{flex:1 1 48px!important;width:auto!important;font-size:8px!important}body .reference-header .ref-language,body .cup-account .ref-language,body .topbar .language{width:66px!important;min-width:66px!important;flex-basis:66px!important;font-size:8px!important}body[data-sport] .cup-header-logo{width:88px!important}body[data-sport] .cup-nav{width:120px!important;flex-basis:120px!important}}

body[data-sport] .cup-back{gap:5px!important}.cup-back-arrow{display:block;width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}body .ref-language::after,body .topbar .language::after{content:''!important;display:block!important;width:6px!important;height:6px!important;flex:0 0 6px!important;box-sizing:content-box!important;border:solid #172441!important;border-width:0 2px 2px 0!important;transform:rotate(45deg)!important;margin:-3px 0 0 3px!important;background:none!important;position:static!important}#cup-language>span:last-child,.topbar .language .chevron{display:none!important}
@media(max-width:700px){body[data-sport] .cup-header-logo{width:100px!important;flex:0 0 100px!important}body[data-sport] .cup-nav{width:178px!important;flex:0 0 178px!important;gap:4px!important}body[data-sport] .cup-nav .cup-back{width:74px!important;flex:0 0 74px!important;min-width:74px!important;font-size:9px!important;padding:5px!important;gap:3px!important}body[data-sport] .cup-back span{display:inline!important;white-space:nowrap}.cup-back-arrow{width:12px;height:12px}body .ref-language::after,body .topbar .language::after{width:5px!important;height:5px!important;flex-basis:5px!important;border-width:0 1.5px 1.5px 0!important;margin-left:2px!important}body .reference-header .ref-profile.has-friend-invitation,body .topbar .user-chip.has-friend-invitation,body .cup-account .ref-profile.has-friend-invitation{position:relative!important}}
@media(max-width:360px){body[data-sport] .cup-header-logo{width:84px!important;flex-basis:84px!important}body[data-sport] .cup-nav{width:154px!important;flex-basis:154px!important}body[data-sport] .cup-nav .cup-back{width:66px!important;min-width:66px!important;flex-basis:66px!important;font-size:8px!important}}

body[data-sport] .cup-nav{width:auto!important;flex:0 0 auto!important}body[data-sport] .cup-nav .cup-back{height:50px!important;min-height:50px!important;min-width:100px!important;font-size:12px!important;padding:10px 14px!important}body[data-sport] .cup-back span{display:inline!important}@media(max-width:700px){body[data-sport] .cup-nav .cup-back{width:auto!important;flex:0 0 auto!important;min-width:86px!important;height:34px!important;min-height:34px!important;font-size:10px!important;padding:6px 9px!important}}

/* Season belongs to game selection; profile, friends, rankings and legal pages show the brand. */
body .topbar .season{display:none!important}body .topbar{display:flex;align-items:center;justify-content:space-between;min-height:86px;padding:12px 24px;gap:16px}body .topbar .small-brand{display:block;position:static!important;width:180px!important;height:62px!important;flex:0 0 180px!important}body .topbar .small-brand img{display:block;width:100%;height:100%;object-fit:contain}body .topbar .top-actions{margin-left:auto!important;display:flex;align-items:center;gap:12px}@media(max-width:700px){body .topbar .small-brand{width:140px!important;flex-basis:140px!important;height:48px!important}body .topbar .top-actions{gap:8px!important}}

.friend-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;padding:20px 12px}.friend-empty img{display:block;width:120px;height:120px;object-fit:contain}.friend-empty p{margin:0;font-size:14px;line-height:1.5}
body[data-sport]>.cup-sport-title,body[data-sport] :is(.cup-entry-strip,#cup-save-status){max-width:calc(100% - 12px)!important}.cup-entry-strip{flex-wrap:nowrap!important}.cup-entry-strip img{flex:none!important}.cup-entry-strip strong{white-space:nowrap!important}
#cup-game-root :is(#pong-game .ready-panel,.climb-board,.ocean-panel){width:100%!important;max-width:420px!important;max-height:100%!important;aspect-ratio:auto!important;overflow:auto!important;padding:20px 20px 17px!important;box-sizing:border-box!important;border:3px solid #c4f2ff!important;border-radius:27px!important;background:linear-gradient(160deg,#fffdf4f7,#e6fafff5)!important;box-shadow:0 12px 28px #075c8f66,inset 0 0 0 4px #fff8!important;color:#14476e!important;text-align:center!important}.climb-board-content{padding:0!important;margin:0!important;transform:none!important;width:100%!important}.ready-eyebrow{font-size:10px!important;letter-spacing:2px;margin:0!important;color:#488eaf!important}.ready-game-name,#climb-title{font-size:30px!important;line-height:1.25!important;color:#0d639b!important;margin:4px 0 18px!important}.ready-intro{display:flex;align-items:center;justify-content:center;gap:15px;text-align:left;margin:12px 0}.ready-intro>div:last-child{flex:1;min-width:0}.ready-intro p{font-size:12px!important;line-height:1.7!important;margin:6px 0!important;white-space:pre-line;color:#14476e!important}.ready-preview{flex:0 0 36%;aspect-ratio:16/9;position:relative;overflow:hidden;border-radius:14px;background:#dcf3ff;box-shadow:0 3px 9px #0c779533}.ready-preview img{position:absolute;max-width:none;height:auto;object-fit:initial}.ready-preview img[src*=table-tennis]{width:113.86%;left:-7.01%;top:-31.56%}.ready-preview img[src*=climbing]{width:103.72%;left:-1.79%;top:-7.32%}.ready-note{font-size:12px;line-height:1.65;color:#4c7088;margin:13px 0}#climb-best{display:none!important}.ready-bests{display:flex;margin:15px 0;background:#cbeefa69;border-radius:14px;padding:11px 0}.ready-bests>span{width:50%}.ready-bests>span+span{border-left:1px solid #b5d9e9}.ready-bests small{display:block;font-size:10px;color:#6791a5}.ready-bests strong{display:block;font-size:17px;margin-top:5px}.ready-ranking,.ready-back{display:block;margin-top:17px;font-size:12px;color:#1e739d!important;background:none!important;border:0!important;padding:0!important;min-height:0!important}.ready-back{font-size:11px!important;color:#6c92a5!important;margin-top:12px!important}
#pong-game .ready-panel .pong-kicker{display:none!important}#pong-game .ready-panel:has(#pong-instruction:not([hidden])) #pong-title{display:none!important}#pong-game .ready-panel:has(#pong-instruction[hidden]) :is(.ready-game-name,.ready-intro){display:none!important}#pong-game .ready-panel #pong-instruction{margin:13px 0!important;padding:0!important;text-align:center!important;color:#4c7088!important;background:none!important;border:0!important}#pong-instruction>strong{display:none!important}#pong-instruction li{font-size:11px!important;line-height:1.6!important}#pong-instruction li::before{display:none!important}#pong-instruction li:first-child{display:none!important}.climb-board:not([data-state=ready]) :is(.ready-intro,.ready-note){display:none!important}.climb-modal,.pong-overlay{padding:6%!important}
body[data-sport] :is(#pong-start,#climb-start,#ocean-start){position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:380px!important;min-height:0!important;height:auto!important;aspect-ratio:203/53!important;margin:12px auto 0!important;padding:8px 24% 8px 27%!important;border:0!important;border-radius:0!important;background:url('/assets/reference/play.png') center/100% 100% no-repeat!important;box-shadow:none!important;font-family:inherit!important;font-size:clamp(16px,2vw,23px)!important;color:white!important;line-height:1.15!important;text-shadow:0 1px #c94a37!important;overflow:visible!important;white-space:normal!important}body[data-sport] :is(#pong-start,#climb-start,#ocean-start)::before{display:none!important}body[data-sport] :is(#pong-start,#climb-start,#ocean-start)::after{content:'BETA'!important;position:absolute!important;left:74%!important;top:26%!important;width:16.5%!important;height:44%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:none!important;font:bold 8px/1 Arial!important;color:white!important;text-shadow:none!important;transform:none!important;inset-inline-end:auto!important}
@media(max-width:700px){#cup-game-root :is(#pong-game .ready-panel,.climb-board,.ocean-panel){padding:16px 16px 14px!important}.ready-game-name,#climb-title{font-size:27px!important}.ready-intro p{font-size:11px!important}.ready-bests strong{font-size:16px}.cup-entry-strip{gap:5px!important;font-size:8px!important;padding:6px!important}.cup-entry-strip img{width:17px!important;height:16px!important}.friend-empty img{width:105px;height:105px}}

body .ref-account .ref-profile.has-friend-invitation,body .topbar .user-chip.has-friend-invitation,body .cup-account .ref-profile.has-friend-invitation{position:relative!important;inset:auto!important;overflow:visible!important;clip-path:none!important}

#cup-game-root .climb-board.ready-panel{display:block!important;grid-template-columns:none!important;grid-template-rows:none!important;background-image:none!important}#cup-game-root .climb-board.ready-panel .climb-board-content{position:static!important;inset:auto!important;display:block!important;grid-column:auto!important;grid-row:auto!important;padding:0!important;margin:0!important}#cup-game-root #pong-game .ready-panel .ready-intro p{font-size:12px!important;line-height:1.7!important}#cup-game-root #pong-game .ready-panel .ready-eyebrow{font-size:10px!important;letter-spacing:2px!important;line-height:1.4!important}body[data-sport=climbing] .cup-entry-strip{display:flex!important}.friend-empty-invite{color:#237cac;text-decoration:none;border-radius:18px;font-size:14px;font-weight:700}.friend-empty-invite:hover{background:#eaf5fb}.friend-empty-invite:focus-visible{outline:3px solid #1899d7;outline-offset:4px}.friend-empty-invite img{width:130px;height:130px}.friend-empty-invite>span{display:block;padding:10px 16px;background:#e2f2fb;border:2px solid white;border-radius:16px;box-shadow:0 3px #b9d9eb}@media(max-width:700px){#cup-game-root #pong-game .ready-panel .ready-intro p{font-size:11px!important}.friend-empty-invite img{width:115px;height:115px}}

#cup-game-root #pong-game .ready-panel .ready-intro{margin:8px 0!important}#cup-game-root #pong-game .ready-panel .ready-game-name{margin-bottom:12px!important}#cup-game-root #pong-game .ready-panel .ready-bests{margin:12px 0!important}

/* The introduction and ready panel share the approved cream/coral palette. */
#cup-game-root :is(#pong-game .ready-panel,.climb-board,.ocean-panel){border:4px solid #ff8570!important;background:#fffbf1!important;color:#65452e!important;box-shadow:0 6px 20px #50332530!important}
#cup-game-root :is(#pong-game .ready-panel,.climb-board,.ocean-panel) h2{color:#f15d50!important;text-shadow:none!important}
#cup-game-root :is(#pong-game .ready-panel,.climb-board,.ocean-panel) :is(p,.ready-intro p,.ocean-intro p,.ready-note,.ocean-message){color:#65452e!important}
#cup-game-root :is(.ready-bests,.ocean-bests){background:#ffede2!important;color:#65452e!important}#cup-game-root :is(.ready-bests,.ocean-bests) small{color:#9a725c!important}#cup-game-root :is(.ready-bests,.ocean-bests)>span+span{border-left-color:#eccab7!important}#cup-game-root :is(.ready-ranking,.ready-back,.ocean-ranking,.ocean-back){color:#744931!important}
body[data-sport=swimming] .ocean-stage{width:min(calc(100% - 12px),540px,calc((100dvh - 116px)*.5625))!important}
@media(min-width:701px){body .reference-header{height:76px!important;min-height:76px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 260px minmax(0,1fr)!important;align-items:center!important;padding:6px 24px!important;gap:12px;position:relative;box-sizing:border-box}body .reference-header .ref-logo{position:static!important;inset:auto!important;width:180px!important;height:64px!important;grid-column:1;grid-row:1}body .reference-header .ref-season{position:static!important;inset:auto!important;transform:none!important;grid-column:2;grid-row:1;width:260px!important;max-width:100%;height:42px!important;font-size:15px!important}body .reference-header .ref-account{position:static!important;inset:auto!important;display:flex!important;align-items:center!important;justify-self:end;gap:12px!important;grid-column:3;grid-row:1}body .reference-header .ref-profile{width:52px!important;height:52px!important;flex:none!important}body .reference-header .ref-ticket{width:94px!important;height:46px!important;display:flex!important;align-items:center!important;padding:0 10px 0 38px!important;flex:none!important}body .reference-header .ref-language{width:146px!important;height:50px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:8px 12px!important;border-radius:27px!important;background:#fffdf8!important;box-shadow:0 3px #c9d7e6!important;font-size:12px!important;flex:none!important}body .reference-header .ref-language::before{content:''!important;display:block!important;width:22px!important;height:22px!important;flex:0 0 22px!important;background:url('/assets/reference/language-icon.png') center/contain no-repeat!important;position:static!important}}
@media(min-width:701px) and (max-width:1000px){.reference-world{min-height:760px}body .reference-header{grid-template-columns:minmax(0,1fr) 180px minmax(0,1fr)!important;padding:6px 16px!important}body .reference-header .ref-logo{width:145px!important}body .reference-header .ref-season{width:180px!important;font-size:12px!important}body .reference-header .ref-account{gap:8px!important}body .reference-header .ref-profile{width:40px!important;height:40px!important}body .reference-header .ref-ticket{width:75px!important;height:36px!important;padding-left:29px!important}body .reference-header .ref-language{width:108px!important;height:40px!important;font-size:10px!important;gap:5px!important}body .reference-header .ref-language::before{width:18px!important;height:18px!important;flex-basis:18px!important}}

body[data-sport]>.cup-sport-title{color:#f15d50!important;border-color:#ff8570!important;background:#fffbf1!important;box-shadow:0 3px #efb6a0!important;text-shadow:none!important}

body[data-sport]{isolation:isolate}body[data-sport]::before{content:"";position:fixed;inset:0;z-index:-1;background:rgba(30,49,75,.24);pointer-events:none}#cup-game-root :is(.ocean-overlay,.climb-modal,.pong-overlay,.pong-records){background:rgba(28,47,70,.42)!important;backdrop-filter:blur(4px)!important}

#cup-game-root :is(#pong-game .ready-panel,.climb-board,.ocean-panel){padding:6px!important;overflow:hidden!important;max-height:var(--cup-ready-height,100%)!important}
#cup-game-root :is(#pong-game .ready-panel,.climb-board,.ocean-panel) .ready-panel-scroll{display:block!important;position:static!important;inset:auto!important;box-sizing:border-box!important;width:100%!important;max-height:calc(var(--cup-ready-height,90dvh) - 20px)!important;overflow-x:hidden!important;overflow-y:auto!important;padding:14px!important;margin:0!important;border-radius:18px;scrollbar-width:thin;scrollbar-color:#ef8190 #fff0e8;scrollbar-gutter:stable}
.ready-panel-scroll::-webkit-scrollbar,.cup-selection-modal::-webkit-scrollbar{width:7px;height:7px}.ready-panel-scroll::-webkit-scrollbar-track,.cup-selection-modal::-webkit-scrollbar-track{background:#fff0e8;border-radius:10px;margin:8px 0}.ready-panel-scroll::-webkit-scrollbar-thumb,.cup-selection-modal::-webkit-scrollbar-thumb{background:linear-gradient(#ffacb2,#ee7b8a);border:1px solid #fff3ec;border-radius:10px}.ready-panel-scroll::-webkit-scrollbar-button,.cup-selection-modal::-webkit-scrollbar-button{display:none;width:0;height:0}.ready-panel-scroll::-webkit-scrollbar-corner{background:transparent}#cup-game-root #pong-game .ready-panel #pong-instruction,#cup-game-root #pong-game .ready-panel #pong-instruction li{color:#65452e!important}
@media(max-width:700px){#cup-game-root :is(#pong-game .ready-panel,.climb-board,.ocean-panel) .ready-panel-scroll{padding:10px!important}}

.login-season-label{background:linear-gradient(180deg,#fffaf1,#fce8d5)!important;border:2px solid #fffdf7!important;border-image:none!important;border-radius:24px!important;box-shadow:0 3px #ebc4a6,inset 0 1px white!important;box-sizing:border-box;padding:9px 26px!important;line-height:1.2!important;color:#704830!important}@media(max-width:700px){#login-ref-language{display:none!important}.login-reference{padding-top:15px!important;min-height:calc(100dvh - 76px)!important}.login-season-label{min-height:38px!important;font-size:13px!important}}

@media(max-width:700px){body[data-route="/"] .topbar .small-brand{display:none!important}body[data-route="/"] .topbar{justify-content:space-between!important}.topbar .login-header-season{display:flex!important;align-items:center;justify-content:center;width:auto;max-width:calc(100% - 84px);min-height:34px!important;margin:0!important;padding:6px 14px!important;font-size:11px!important;white-space:nowrap!important}.login-brand{align-self:center!important;margin:0 auto!important;left:auto!important;right:auto!important;align-items:center!important;text-align:center}.login-logo{display:block;max-width:100%;object-fit:contain}.login-reference{padding-top:12px!important}}

@media(max-width:700px){html,body{max-width:100%;overflow-x:clip}.login-reference,.reference-world,.social-page{max-width:100%;box-sizing:border-box}}@supports not(overflow-x:clip){@media(max-width:700px){html{overflow-x:hidden}}}
.legal-body p,.legal-page-body p{white-space:pre-line;overflow-wrap:anywhere;line-height:1.75}.legal-body p strong,.legal-page-body p strong{display:inline-block;margin-bottom:6px;color:#76503a}.legal-body,.legal-page-body{scrollbar-width:thin;scrollbar-color:#ef8190 #fff0e8}.legal-body::-webkit-scrollbar,.legal-page-body::-webkit-scrollbar{width:7px}.legal-body::-webkit-scrollbar-thumb,.legal-page-body::-webkit-scrollbar-thumb{background:#ef8190;border-radius:10px}.service-contact-link{display:inline-block;padding:12px 18px;border:2px solid white;border-radius:18px;background:#ffede3;color:#9b5844;text-decoration:none;overflow-wrap:anywhere}

.social-page :is(.social-hero,.social-panel){border-color:#ff8570;background:#fffbf1;box-shadow:0 4px #efb6a0}.social-page :is(h1,h2){color:#f15d50}.social-page .social-rankings article{background:#ffede3;border-color:#ffe0d2;color:#65452e}.social-page .social-rankings small{color:#9a725c}.social-page .social-rankings strong{color:#e46963}.social-page .social-nav a{background:linear-gradient(#fff5ee,#ffe0d2);box-shadow:0 3px #e6b59f;color:#89543e}.social-page #social-edit{background:linear-gradient(#ff9483,#ff655e);color:white;box-shadow:0 3px #d96558}.social-page .friend-empty-invite>span{background:#ffe4d8;color:#9d5644;box-shadow:0 3px #e6b59f}
@media(max-width:700px){.social-rankings{display:flex!important;flex-wrap:nowrap!important;gap:10px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:0 0 10px;max-width:100%;min-width:0;scrollbar-width:thin;scrollbar-color:#ef8190 #fff0e8}.social-rankings article{flex:0 0 145px;min-width:145px;height:166px;box-sizing:border-box;padding:12px 10px;scroll-snap-align:start}.social-rankings h3{font-size:14px;line-height:18px;min-height:36px;height:36px;display:flex;align-items:center;justify-content:center;margin:0 0 3px;overflow:hidden}.social-rankings article>small{font-size:10px;line-height:12px;margin-top:4px}.social-rankings article>strong{height:30px;min-height:30px;line-height:1;margin-top:3px;font-size:20px}.social-rankings article>p{font-size:15px;line-height:20px;margin:3px 0 0}.social-rankings::-webkit-scrollbar{height:6px}.social-rankings::-webkit-scrollbar-track{background:#fff0e8;border-radius:8px}.social-rankings::-webkit-scrollbar-thumb{background:#ef8190;border-radius:8px}}

.friend-action-cancel{background:linear-gradient(#eceef1,#ccd1d8)!important;color:#424b58!important;box-shadow:0 3px #9da6b2!important}.friend-action-reject,.friend-action-remove{background:linear-gradient(#66707c,#3e4752)!important;color:white!important;box-shadow:0 3px #28313b!important}#profile-choice form button{background:linear-gradient(#66707c,#3e4752)!important;color:white!important;text-shadow:none!important;box-shadow:inset 0 2px #ffffff30,0 3px #28313b!important}

#social-search button{background:linear-gradient(#ff9483,#ff655e);color:white;box-shadow:0 3px #d96558;min-height:44px}#social-query{border-color:#f3b4a4;background:#fffdf9;color:#65452e}#social-query::placeholder{color:#a08070;opacity:1}

.friend-invitation-badge{background:#ffede3;color:#975d46}.friend-invitation-badge.incoming{background:#ffe1e8;color:#9f4c66}

.reference-world{max-width:1440px!important;margin-left:auto!important;margin-right:auto!important}

#language-dialog .language-options{margin-top:18px!important}

.ref-club h2{max-width:calc(68.5% - 64px)!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.2}

.reference-islands.islands-entering .ref-island{pointer-events:none}#reference-language::after,#cup-language::after,#language-open::after,#login-ref-language::after{content:none!important;display:none!important}#cup-language>span[aria-hidden],#language-open .chevron{display:none!important}#login-ref-language{background:#fffdf8!important;border-radius:27px!important;box-shadow:0 3px #c9d7e6!important;padding:8px 12px!important;gap:8px!important}

.ref-club{grid-template-columns:clamp(34px,3.7cqw,60px) minmax(0,1fr) auto!important}.ref-club h2{grid-column:2;grid-row:1;max-width:none!important;width:100%;min-width:0;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;align-self:center;line-height:1.2}.ref-club .ranking-state{grid-column:3;grid-row:1;align-self:center}.ref-club ol{grid-column:1/-1;grid-row:2}
#reference-language,#cup-language,#language-open,#login-ref-language{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:8px!important;padding:8px 12px!important;box-sizing:border-box!important}#reference-language::before,#cup-language::before,#language-open::before,#login-ref-language::before{content:''!important;display:block!important;position:static!important;inset:auto!important;transform:none!important;margin:0!important;flex:0 0 22px!important;width:22px!important;height:22px!important;background:url('/assets/reference/language-icon.png') center/contain no-repeat!important}#reference-language-name,#cup-language-name,#language-name,#login-language-name{display:block!important;flex:none!important;line-height:1.2!important;margin:0!important;padding:0!important;text-align:center!important}
@media(max-width:700px){.ref-club{grid-template-columns:35px minmax(0,1fr) auto!important}#reference-language,#cup-language,#language-open,#login-ref-language{gap:5px!important;padding:5px!important}#reference-language::before,#cup-language::before,#language-open::before,#login-ref-language::before{flex-basis:13px!important;width:13px!important;height:13px!important}}

body:not([data-sport]) #menu-toggle{position:fixed!important;inset:auto 20px 20px auto!important;width:96px!important;height:96px!important;min-width:0!important;min-height:0!important;z-index:40!important;overflow:visible!important}body:not([data-sport]) #game-menu{position:fixed!important;right:110px!important;bottom:34px!important;z-index:41!important}@media(max-width:700px){body:not([data-sport]) #menu-toggle{inset:auto 16px 16px auto!important;width:80px!important;height:80px!important}body:not([data-sport]) #game-menu{right:18px!important;bottom:108px!important;max-width:calc(100vw - 36px)!important}}

.menu-logout button{background:linear-gradient(#66707c,#3e4752)!important;border:2px solid #fff8e9!important;border-radius:18px!important;color:white!important;box-shadow:0 3px #28313b!important;text-shadow:none!important}body:not([data-sport]) #game-menu{max-height:calc(100dvh - 64px)!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ef8190 transparent}@media(max-width:700px){body:not([data-sport]) #game-menu{max-height:calc(100dvh - 124px)!important}}
/* Use the same finished circular artwork on every non-game page. */
body:not([data-sport]) #menu-toggle{border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important;background:url('/assets/reference/menu.png') center/contain no-repeat!important}
body:not([data-sport]) #menu-toggle .menu-lines{display:none!important}
body:not([data-sport]) #menu-toggle .menu-caption{position:absolute!important;inset:61% 12% auto!important;height:22%!important;display:flex!important;align-items:center;justify-content:center;font-size:14px!important;line-height:1!important;color:#3a190c!important;text-shadow:none!important;transform:none!important}
body:not([data-sport]) #menu-toggle[aria-expanded=true]{background-image:url('/assets/reference/close.png')!important}
body:not([data-sport]) #menu-toggle[aria-expanded=true] .menu-caption{display:none!important}
@media(max-width:700px){body:not([data-sport]) #menu-toggle .menu-caption{font-size:12px!important}}
