:root{--bg: #0f1218;--bg-dot: #1c212b;--surface: #171b23;--surface-2: #1f2430;--surface-raised: #1f2532;--surface-sunken: #151a22;--surface-hero: #1a1f29;--nav-bg: #12161d;--placeholder: #222835;--avatar: #2b3345;--border: #2a3140;--border-soft: #222835;--border-dash: #2f3646;--border-nav: #252b37;--ring-idle: #4a5366;--text: #eef0f4;--text-menu: #c9ceda;--muted: #a3abba;--faint: #7d8698;--nav-idle: #8b93a3;--accent: #c8f25a;--accent-hover: #ddf78f;--on-accent: #141a05;--accent-soft: rgba(200, 242, 90, .12);--accent-softer: rgba(200, 242, 90, .1);--accent-row: rgba(200, 242, 90, .06);--danger: #ff8a8a;--danger-soft: rgba(255, 138, 138, .14);--warn: #ffc845;--warn-soft: rgba(255, 200, 69, .14);--on-warn: #1a1405;--info: #4fb3ff;--holo: linear-gradient(125deg, #c8f25a 0%, #4fb3ff 50%, #b18cff 100%);--font-display: "Bai Jamjuree", system-ui, sans-serif;--font-body: "IBM Plex Sans Thai", system-ui, sans-serif;--screen-max: 480px;--nav-height: 76px}*,*:before,*:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-body);-webkit-font-smoothing:antialiased}a{color:var(--accent);text-decoration:none}a:hover{color:var(--accent-hover)}button{font:inherit;cursor:pointer}h1,h2,p,dl,dd,ol{margin:0}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.screen{position:relative;width:100%;max-width:var(--screen-max);min-height:100dvh;margin:0 auto;padding-bottom:96px;background:var(--bg);display:flex;flex-direction:column}.screen--dotted{background-image:radial-gradient(var(--bg-dot) 1px,transparent 1px);background-size:18px 18px}.screen--modal{height:100dvh;min-height:600px;padding-bottom:0}.display{font-family:var(--font-display);font-weight:700}.muted{color:var(--muted)}.section{padding:0 20px;display:flex;flex-direction:column;gap:12px}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.section-head--center{align-items:center}.section-title{font-family:var(--font-display);font-size:20px;font-weight:700}.section-link{font-size:14px;font-weight:500}.section-note{font-size:12px;color:var(--muted)}.page-title{font-family:var(--font-display);font-weight:700;line-height:1.2}.card{border-radius:16px;background:var(--surface);border:1px solid var(--border);color:var(--text)}a.card:hover{color:var(--text)}.list-card{border-radius:16px;background:var(--surface);border:1px solid var(--border);overflow:hidden;padding:0;list-style:none}.list-card>.list-row{border-bottom:1px solid var(--border-soft)}a.list-row,a.list-row:hover{color:var(--text)}.hscroll{display:flex;padding:0 20px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}.hscroll::-webkit-scrollbar{display:none}.icon-btn{position:relative;flex:none;width:44px;height:44px;padding:0;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);display:flex;align-items:center;justify-content:center}.icon-btn:hover{color:var(--text)}.icon-btn--ghost{border:0;background:transparent}.icon-btn--scrim{border:0;background:#0f1218d9}.search{display:flex;align-items:center;gap:10px;height:50px;padding:0 14px;background:var(--surface);border:1px solid var(--border);border-radius:12px;color:var(--muted)}.search:focus-within{border-color:var(--accent)}.search input{flex:1;min-width:0;background:transparent;border:0;outline:none;color:var(--text);font:inherit;font-size:15px}.search input::placeholder{color:var(--muted)}.avatar{flex:none;position:relative;background:var(--avatar);color:var(--text);display:flex;align-items:center;justify-content:center;font-weight:600}.avatar--display{font-family:var(--font-display);font-weight:700}.game-tag{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:600}.game-tag__dot{width:6px;height:6px;border-radius:50%;background:currentColor}.tag-row{display:flex;flex-wrap:wrap;gap:6px}.status-chip{flex:none;padding:3px 8px;border-radius:6px;font-size:12px;font-weight:600;white-space:nowrap}.status-chip--accent{background:var(--accent-soft);color:var(--accent)}.status-chip--warn{background:var(--warn-soft);color:var(--warn)}.status-chip--danger{background:var(--danger-soft);color:var(--danger)}.status-chip--neutral{background:var(--placeholder);color:var(--muted)}.live-badge{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:var(--danger-soft);color:var(--danger);font-family:var(--font-display);font-weight:700;letter-spacing:.06em}.live-badge__dot{border-radius:50%;background:var(--danger)}.live-badge__dot--pulse{animation:ds-pulse 1.4s ease-in-out infinite}@keyframes ds-pulse{0%,to{opacity:1}50%{opacity:.35}}@media (prefers-reduced-motion: reduce){.live-badge__dot--pulse{animation:none}}.progress{border-radius:999px;overflow:hidden}.progress__bar{height:100%;border-radius:999px;background:var(--accent)}.btn{border:0;background:var(--accent);color:var(--on-accent);font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px}a.btn:hover{color:var(--on-accent)}.btn--outline{border:1px solid var(--border);background:transparent;color:var(--text);font-weight:400}a.btn--outline:hover{color:var(--text)}.btn--surface{border:1px solid var(--border);background:var(--surface);color:var(--text)}.stripes{background-color:var(--placeholder);background-image:repeating-linear-gradient(45deg,var(--border) 0 6px,transparent 6px 12px)}.trend{width:34px;flex:none;display:flex;align-items:center;gap:3px;font-size:12px;font-weight:600}.trend--up{color:var(--accent)}.trend--down{color:var(--danger)}.trend--same{color:var(--faint)}.trend--new{color:var(--info)}.rank-row{display:flex;align-items:center;gap:12px;padding:12px 16px}.rank-row__no{width:22px;font-family:var(--font-display);font-size:18px;font-weight:700}.rank-row__no--first{color:var(--accent)}.rank-row__who{flex:1;min-width:0;display:flex;flex-direction:column}.rank-row__name{font-size:15px;font-weight:600}.rank-row__gym{font-size:12px;color:var(--muted)}.rank-row__pts{width:40px;text-align:right;font-family:var(--font-display);font-size:17px;font-weight:700}.rank-row--dense{padding:11px 16px}.rank-row--dense .rank-row__no{width:24px;font-size:17px}.rank-row--dense .rank-row__pts{width:36px;font-size:16px}.bottom-nav{position:fixed;left:50%;bottom:0;transform:translate(-50%);width:100%;max-width:var(--screen-max);height:calc(var(--nav-height) + env(safe-area-inset-bottom,0px));padding:8px 6px calc(14px + env(safe-area-inset-bottom,0px));background:var(--nav-bg);border-top:1px solid var(--border-nav);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));z-index:20}.bottom-nav__item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--nav-idle);font-size:11px;font-weight:500}.bottom-nav__item:hover{color:var(--text)}.bottom-nav__item.is-active,.bottom-nav__item.is-active:hover{color:var(--accent);font-weight:600}.logo{display:flex;align-items:center;gap:8px;color:var(--text)}.logo:hover{color:var(--text)}.logo__word{font-family:var(--font-display);font-weight:700}.logo__word span{color:var(--accent)}.home{gap:26px}.home__header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px 0}.home__actions{display:flex;align-items:center;gap:8px}.home__unread{position:absolute;top:9px;right:10px;width:8px;height:8px;border-radius:50%;background:var(--accent)}.home__me,.home__me:hover{width:44px;height:44px;border-radius:12px;background:var(--avatar);color:var(--text);display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-weight:700;font-size:16px}.home__hero{padding:0 20px;display:flex;flex-direction:column;gap:14px}.home__title{font-size:30px}.home__games{gap:8px}.game-chip{flex:none;height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:14px;display:flex;align-items:center;gap:8px}.game-chip[aria-pressed=true]{border-color:var(--accent);background:var(--accent);color:var(--on-accent);font-weight:600}.game-chip:first-child{padding:0 16px}.game-chip__dot{width:8px;height:8px;border-radius:50%}.game-chip[aria-pressed=true] .game-chip__dot{background:var(--on-accent)!important}.home__block{display:flex;flex-direction:column;gap:12px}.home__pad{padding:0 20px}.home__events{gap:12px}.home__empty{margin:0 20px;padding:20px 16px;border-radius:16px;background:var(--surface-sunken);border:1px dashed var(--border-dash);font-size:14px;color:var(--muted);text-align:center}.event-card{flex:none;width:264px;padding:16px;display:flex;flex-direction:column;gap:12px}.event-card__top{display:flex;align-items:center;justify-content:space-between}.event-card__when{font-family:var(--font-display);font-size:13px;font-weight:600}.event-card__body{display:flex;flex-direction:column;gap:4px}.event-card__title{font-size:17px;font-weight:600;line-height:1.35}.event-card__gym{font-size:13px;color:var(--muted)}.event-card__foot{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:10px;border-top:1px dashed var(--border-dash);font-size:13px;color:var(--muted)}.event-card__foot strong{color:var(--text);font-weight:600}.leader-card{display:block;padding:2px;border-radius:18px;background:var(--holo);color:var(--text)}.leader-card:hover{color:var(--text)}.leader-card__inner{border-radius:16px;background:#161a22;padding:18px;display:flex;flex-direction:column;gap:14px}.leader-card__top{display:flex;align-items:center;justify-content:space-between}.leader-card__label{font-family:var(--font-display);font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--accent)}.leader-card__main{display:flex;align-items:center;gap:14px}.leader-card__cup{position:absolute;bottom:-6px;right:-6px;width:26px;height:26px;border-radius:50%;background:var(--accent);color:var(--on-accent);display:flex;align-items:center;justify-content:center}.leader-card__who{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.leader-card__name{font-size:20px;font-weight:600}.leader-card__handle{font-size:13px;color:var(--muted)}.leader-card__score{text-align:right}.leader-card__pts{font-family:var(--font-display);font-size:28px;font-weight:700;line-height:1}.home__all-ranks{display:flex;align-items:center;justify-content:center;gap:6px;height:48px;font-size:14px;font-weight:500}.home__news{display:flex;flex-direction:column;gap:10px}.news-card{display:flex;gap:14px;padding:12px;border-radius:14px}.news-card__thumb{flex:none;width:72px;height:72px;border-radius:10px}.news-card__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.news-card__meta{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:600}.news-card__title{font-size:15px;font-weight:500;line-height:1.4}.gyms{gap:16px}.gyms__header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 0}.gyms__title{font-size:26px}.gyms__pad{padding:0 20px}.view-switch{display:flex;padding:3px;border-radius:12px;background:var(--surface);border:1px solid var(--border)}.view-switch button{height:38px;padding:0 12px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:13px;font-weight:500;display:flex;align-items:center;gap:6px}.view-switch button[aria-pressed=true]{background:var(--avatar);color:var(--text);font-weight:600}.gyms__filters{display:flex;flex-wrap:wrap;gap:8px;padding:0 20px}.filter{height:40px;padding:0 12px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:13px;display:flex;align-items:center;gap:6px}.filter[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent);font-weight:600}.gyms__map{position:relative;margin:0 20px;height:250px;border-radius:16px;overflow:hidden;background:var(--surface-sunken);border:1px solid var(--border)}.gyms__map svg{display:block;width:100%;height:100%}.gyms__map-label{position:absolute;left:12px;top:12px;padding:6px 10px;border-radius:8px;background:#0f1218e6;font-size:12px}.gyms__locate{position:absolute;right:12px;bottom:12px}.gyms__count{display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:13px;color:var(--muted)}.gyms__count strong{color:var(--text)}.gyms__count button{height:36px;padding:0 4px;border:0;background:transparent;color:var(--accent);font-size:13px;font-weight:500}.gyms__list{display:flex;flex-direction:column;gap:12px;padding:0 20px}.gym-card{display:flex;flex-direction:column;gap:12px;padding:16px}.gym-card__top{display:flex;gap:12px;align-items:flex-start}.gym-card__thumb{flex:none;width:52px;height:52px;border-radius:12px}.gym-card__info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.gym-card__name{font-size:17px;font-weight:600}.gym-card__area{font-size:13px;color:var(--muted)}.gym-card__open{font-size:13px;font-weight:500;color:var(--accent)}.gym-card__open.is-closed{color:var(--danger)}.gym-card__chevron{flex:none;margin-top:4px;color:var(--faint)}.gym-card__facts{display:flex;flex-wrap:wrap;gap:14px;font-size:12px;color:var(--muted)}.gym-card__facts span{display:flex;align-items:center;gap:5px}.gym-card__next{display:flex;align-items:center;gap:8px;padding-top:10px;border-top:1px dashed var(--border-dash);font-size:13px}.gym-card__next svg{flex:none;color:var(--accent)}.gym-card__next-text{font-weight:500}.gym{gap:24px}.gym__hero{position:relative;height:180px;background-color:var(--surface-hero);background-image:repeating-linear-gradient(135deg,var(--placeholder) 0 10px,transparent 10px 20px)}.gym__hero-label{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:12px;color:var(--muted);padding:4px 10px;border-radius:6px;background:#0f1218d9}.gym__hero-actions{position:absolute;top:14px;left:16px;right:16px;display:flex;justify-content:space-between}.gym__intro{margin-top:-8px}.gym__meta{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.gym__title{font-size:28px}.gym__cta{display:flex;gap:10px}.gym__cta-btn{flex:1;height:48px;border-radius:12px;font-size:15px;font-weight:600}.gym__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gym__fact{padding:12px 14px;border-radius:12px;background:var(--surface);border:1px solid var(--border)}.gym__fact dt,.gym__fact-note{font-size:12px;color:var(--muted)}.gym__fact-value{margin-top:2px;font-size:15px;font-weight:600}.gym__fact-value.is-positive{color:var(--accent)}.gym__contacts{padding:0 20px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.gym__contact,.gym__contact:hover{height:64px;border-radius:12px;background:var(--surface);border:1px solid var(--border);color:var(--text);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px}.schedule-row{display:flex;align-items:center;gap:14px;padding:12px 16px}.schedule-row.is-today{background:var(--accent-row)}.schedule-row__when{flex:none;width:44px;display:flex;flex-direction:column;align-items:center}.schedule-row__day{font-family:var(--font-display);font-size:15px;font-weight:700}.schedule-row.is-today .schedule-row__day{color:var(--accent)}.schedule-row__time{font-size:12px;color:var(--muted)}.schedule-row__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.schedule-row__title{font-size:15px;font-weight:500}.schedule-row__game{font-size:12px;font-weight:600}.schedule-row__game span{color:var(--muted);font-weight:400}.schedule-row__fee{font-size:13px;font-weight:600}.gym__block{display:flex;flex-direction:column;gap:12px}.gym__block-title{padding:0 20px}.gym__leaders{gap:10px}.leader-tile{flex:none;width:150px;padding:14px;border-top-width:3px;border-top-style:solid;display:flex;flex-direction:column;gap:10px}.leader-tile__game{font-size:12px;font-weight:600}.leader-tile__who{display:flex;flex-direction:column}.leader-tile__name{font-size:15px;font-weight:600}.gym__rank-filter{height:36px;padding:0 10px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:12px;display:flex;align-items:center;gap:4px}.gym-rank{display:flex;align-items:center;gap:12px;padding:11px 16px}.gym-rank__no{width:20px;font-family:var(--font-display);font-size:17px;font-weight:700}.gym-rank__no.is-first{color:var(--accent)}.gym-rank__name{flex:1;font-size:15px;font-weight:500}.gym-rank__name span{font-size:12px;color:var(--muted);font-weight:400}.gym-rank__pts{font-family:var(--font-display);font-size:16px;font-weight:700}.event{gap:20px}.event__header{padding:14px 20px 0;display:flex;flex-direction:column;gap:12px}.event__bar{display:flex;align-items:center;justify-content:space-between}.event__back{margin-left:-10px}.event__live{padding:5px 10px;font-size:13px}.event__live .live-badge__dot{width:8px;height:8px}.event__heading{display:flex;flex-direction:column;gap:6px}.event__tag{align-self:flex-start}.event__title{font-size:26px}.event__meta{font-size:13px;color:var(--muted)}.event__tabs{display:flex;gap:4px;padding:0 20px;border-bottom:1px solid var(--border-soft);overflow-x:auto;scrollbar-width:none}.event__tabs::-webkit-scrollbar{display:none}.event__tabs button{flex:none;height:44px;padding:0 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-size:14px}.event__tabs button[aria-selected=true]{border-bottom-color:var(--accent);color:var(--text);font-weight:600}.my-match{margin:0 20px;padding:18px;border-radius:18px;background:var(--surface);border:1px solid var(--accent);display:flex;flex-direction:column;gap:16px}.my-match__top{display:flex;align-items:center;justify-content:space-between;font-size:13px}.my-match__label{font-family:var(--font-display);font-weight:700;letter-spacing:.08em;color:var(--accent)}.my-match__clock{display:flex;align-items:center;gap:5px;font-weight:500}.my-match__report{height:56px;border-radius:14px;font-size:17px}.versus{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;text-align:center}.versus__player{display:flex;flex-direction:column;align-items:center;gap:6px}.versus__name{font-size:15px;font-weight:600}.versus__vs{font-family:var(--font-display);font-size:18px;font-weight:700;color:var(--faint)}.event__progress{gap:8px}.event__progress-head{display:flex;justify-content:space-between;font-size:13px}.event__progress-head strong{font-weight:600}.event__progress-track{height:8px;background:var(--placeholder)}.event__h2{font-size:19px}.pairing{display:flex;align-items:center;gap:12px;padding:12px 14px}.pairing__table{flex:none;width:30px;height:30px;border-radius:8px;background:var(--placeholder);display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-size:13px;font-weight:700;color:var(--muted)}.pairing__players{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:14px}.pairing__player.is-winner{font-weight:600}.pairing__player.is-loser{color:var(--muted)}.pairing__won{margin-left:8px}.pairing__status{padding:4px 8px}.standings__row{display:grid;grid-template-columns:28px 1fr 84px 48px;gap:8px;align-items:center;padding:10px 14px;font-size:14px}.standings__row--head{font-size:12px;color:var(--muted)}.standings__row.is-me{background:var(--accent-row)}.standings__name{font-weight:500}.standings__pts{text-align:right}.deck-policy{margin:0 20px;padding:14px;border-radius:14px;background:var(--surface-sunken);border:1px dashed var(--border-dash);display:flex;gap:12px;font-size:13px;color:var(--muted);line-height:1.5}.deck-policy svg{flex:none;margin-top:1px;color:var(--text)}.deck-policy strong{color:var(--text);font-weight:600}.result__header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px}.result__context{font-size:14px;color:var(--muted)}.result__spacer{width:44px}.result__body{flex:1;display:flex;flex-direction:column;padding:8px 20px calc(24px + env(safe-area-inset-bottom,0px));gap:20px}.result__intro{display:flex;flex-direction:column;gap:6px}.result__title{font-size:32px;line-height:normal}.result__lead{font-size:14px;color:var(--muted);line-height:1.5}.result__grow{flex:1}.result__options{display:flex;flex-direction:column;gap:12px}.result-option{height:84px;padding:0 18px;border-radius:18px;border:2px solid var(--border);background:var(--surface);color:var(--text);display:flex;align-items:center;gap:14px;text-align:left}.result-option[aria-checked=true]{border-color:var(--accent);background:var(--accent-softer)}.result-option__text{flex:1;display:flex;flex-direction:column;gap:2px}.result-option__label{font-size:19px;font-weight:600}.result-option__sub{font-size:13px;color:var(--muted)}.result-option__ring{flex:none;width:28px;height:28px;border-radius:50%;border:2px solid var(--ring-idle);display:flex;align-items:center;justify-content:center;color:var(--on-accent)}.result-option__ring svg{opacity:0}.result-option[aria-checked=true] .result-option__ring{border-color:var(--accent);background:var(--accent)}.result-option[aria-checked=true] .result-option__ring svg{opacity:1}.result__send{height:60px;border-radius:16px;font-size:18px}.result__send:disabled{background:var(--placeholder);color:var(--faint);cursor:not-allowed}.result__done{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;gap:18px;text-align:center}.result__done--tight{gap:16px}.result__halo{width:96px;height:96px;border-radius:50%;background:#c8f25a24;display:flex;align-items:center;justify-content:center}.result__badge{width:64px;height:64px;border-radius:50%;background:var(--accent);color:var(--on-accent);display:flex;align-items:center;justify-content:center}.result__badge--danger{background:#ff8a8a29;color:var(--danger)}.result__done-title{font-size:26px;line-height:normal}.result__done-title--lg{font-size:28px}.result__done-text{font-size:15px;color:var(--muted);line-height:1.6}.result__done-text strong{color:var(--text)}.result__hint{padding:10px 14px;border-radius:12px;background:var(--surface);border:1px solid var(--border);font-size:13px;color:var(--muted)}.result__actions{align-self:stretch;display:flex;flex-direction:column;gap:10px;margin-top:12px}.result__actions--inline{margin-top:0}.result__primary{height:56px;border-radius:16px;font-size:17px}.result__secondary{height:52px;border-radius:16px;font-size:15px}.result__stretch{align-self:stretch;margin-top:12px}.confirm-card{padding:22px 18px;border-radius:20px;background:var(--surface);border:1px solid var(--border);display:flex;flex-direction:column;gap:18px}.confirm-card__player{gap:8px}.confirm-card__name{font-size:16px;font-weight:600}.confirm-card__pill{padding:3px 10px;border-radius:999px;background:var(--placeholder);color:var(--muted);font-size:12px;font-weight:600}.confirm-card__pill.is-win{background:var(--accent);color:var(--on-accent);font-weight:700}.confirm-card__note{padding-top:14px;border-top:1px dashed var(--border-dash);font-size:14px;color:var(--muted);text-align:center;line-height:1.5}.confirm-card__note strong{color:var(--accent)}.confirm__yes{height:64px;border-radius:16px;font-size:19px}.confirm__no{color:var(--danger);font-weight:500}.rankings{gap:18px;padding-bottom:180px}.rankings__header{padding:16px 20px 0;display:flex;flex-direction:column;gap:14px}.rankings__title{font-size:28px;line-height:normal}.period-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:4px;border-radius:14px;background:var(--surface);border:1px solid var(--border)}.period-switch button{height:42px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:15px}.period-switch button[aria-selected=true]{background:var(--accent);color:var(--on-accent);font-weight:600}.rankings__filters{display:flex;gap:8px;padding:0 20px}.rankings__select{flex:1;height:44px;padding:0 12px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:14px;display:flex;align-items:center;justify-content:space-between}.rankings__select-game{display:flex;align-items:center;gap:8px}.rankings__select-dot{width:8px;height:8px;border-radius:50%}.rankings__reset{margin:0 20px;padding:10px 14px;border-radius:12px;background:var(--surface-sunken);border:1px dashed var(--border-dash);display:flex;justify-content:space-between;gap:12px;font-size:13px}.rankings__reset strong{font-weight:600}.podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:10px;padding:8px 20px 0}.podium__spot,.podium__spot:hover{display:block;padding:1px;border-radius:18px;background:var(--border);color:var(--text)}.podium__spot.is-first{padding:2px;background:var(--holo)}.podium__card{border-radius:16px;background:var(--surface);padding:14px 8px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;text-align:center}.podium__label{font-family:var(--font-display);font-size:13px;font-weight:700;color:var(--muted)}.podium__spot.is-first .podium__label{color:var(--accent)}.podium__name{font-size:15px;font-weight:600}.podium__gym{font-size:11px;color:var(--muted);line-height:1.3}.podium__pts{font-family:var(--font-display);font-size:22px;font-weight:700;line-height:1}.rankings__list{margin:0 20px}.my-rank,.my-rank:hover{position:fixed;left:50%;bottom:calc(88px + env(safe-area-inset-bottom,0px));transform:translate(-50%);width:calc(100% - 24px);max-width:calc(var(--screen-max) - 24px);padding:12px 14px;border-radius:16px;background:var(--surface-raised);border:1px solid var(--accent);color:var(--text);display:flex;flex-direction:column;gap:8px;box-shadow:0 10px 30px #00000073;z-index:10}.my-rank__top{display:flex;align-items:center;gap:12px}.my-rank__top .trend{width:auto}.my-rank__no{font-family:var(--font-display);font-size:18px;font-weight:700;color:var(--accent)}.my-rank__text{flex:1;font-size:14px;font-weight:600}.my-rank__track{height:6px;background:var(--border)}.profile{gap:22px}.profile__header{display:flex;justify-content:flex-end;gap:8px;padding:14px 16px 0}.profile__identity{padding:0 20px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}.profile__avatar-ring{padding:3px;border-radius:26px;background:var(--holo)}.profile__badge{margin-top:-20px;position:relative;padding:4px 10px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-family:var(--font-display);font-size:11px;font-weight:700;letter-spacing:.08em}.profile__name{margin-top:4px;font-size:28px;line-height:normal}.profile__handle{font-size:14px;color:var(--muted)}.profile__games{justify-content:center}.profile__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.profile__stat{padding:12px 8px;border-radius:14px;background:var(--surface);border:1px solid var(--border);text-align:center;display:flex;flex-direction:column-reverse;gap:2px}.profile__stat dt{font-size:12px;color:var(--muted)}.profile__stat dd{font-family:var(--font-display);font-size:24px;font-weight:700}.profile__stat dd.is-accent{color:var(--accent)}.profile__badge-count{font-size:13px;color:var(--muted)}.profile__badges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.badge-tile{padding:14px 6px;border-radius:14px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;font-size:12px;font-weight:500;line-height:1.35}.badge-progress{padding:12px 14px;border-radius:14px;display:flex;align-items:center;gap:12px}.badge-progress svg{flex:none}.badge-progress__body{flex:1;display:flex;flex-direction:column;gap:6px}.badge-progress__head{display:flex;justify-content:space-between;font-size:14px}.badge-progress__head span:first-child{font-weight:500}.badge-progress__track{height:6px;background:var(--border)}.history-row{display:flex;align-items:center;gap:12px;padding:12px 14px}.history-row__rank{flex:none;width:46px;text-align:center;display:flex;flex-direction:column}.history-row__place{font-family:var(--font-display);font-size:18px;font-weight:700}.history-row__place.is-first{color:var(--accent)}.history-row__of{font-size:11px;color:var(--muted)}.history-row__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.history-row__title{font-size:14px;font-weight:500}.history-row__pts{font-family:var(--font-display);font-size:15px;font-weight:700;color:var(--accent)}.shop{min-height:100dvh;display:flex;flex-wrap:wrap}.shop__side{flex:1 1 248px;max-width:100%;padding:22px 16px;background:var(--nav-bg);border-right:1px solid var(--border-soft);display:flex;flex-direction:column;gap:22px}.shop__logo{padding:0 6px}.shop__logo-tag{font-size:11px;color:var(--muted);padding:2px 6px;border:1px solid var(--border);border-radius:6px}.shop__switcher{height:52px;padding:0 12px;border-radius:12px;border:1px solid var(--border);background:var(--surface);color:var(--text);display:flex;align-items:center;gap:10px;text-align:left}.shop__switcher-thumb{flex:none;width:32px;height:32px;border-radius:8px;background-color:var(--placeholder);background-image:repeating-linear-gradient(45deg,var(--border) 0 5px,transparent 5px 10px)}.shop__switcher-text{flex:1;min-width:0;display:flex;flex-direction:column}.shop__switcher-text span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop__switcher-text span:first-child{font-size:14px;font-weight:600}.shop__switcher-text span:last-child{font-size:11px;color:var(--muted)}.shop__menu{display:flex;flex-direction:column;gap:2px}.shop__menu a{height:44px;padding:0 12px;border-radius:10px;color:var(--text-menu);font-size:14px;display:flex;align-items:center;justify-content:space-between}.shop__menu a:hover{background:var(--surface)}.shop__menu a[aria-current=page]{background:var(--surface-raised);color:var(--accent);font-weight:600}.shop__menu-count{min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--warn);color:var(--on-warn);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}.shop__main{flex:999 1 560px;min-width:0;padding:28px 32px 40px;display:flex;flex-direction:column;gap:22px}.shop__top{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px}.shop__heading{display:flex;flex-direction:column;gap:4px}.shop__heading span{font-size:13px;color:var(--muted)}.shop__heading h1{font-size:30px;line-height:normal}.shop__top-actions{display:flex;gap:10px}.shop__edit{height:46px;padding:0 16px;border-radius:12px;font-size:14px;font-weight:500}.shop__create{height:46px;padding:0 18px;border-radius:12px;font-size:14px}.shop-live{padding:22px;border-radius:18px;background:var(--surface);border:1px solid var(--accent);display:flex;flex-direction:column;gap:18px}.shop-live__top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.shop-live__heading{display:flex;flex-direction:column;gap:6px}.shop-live__heading h2{font-size:22px}.shop-live__meta{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600}.shop-live__badge{padding:4px 9px}.shop-live__badge .live-badge__dot{width:7px;height:7px}.shop-live__actions{display:flex;flex-wrap:wrap;gap:8px}.shop-live__actions button{height:44px;padding:0 14px;border-radius:10px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font-size:14px}.shop-live__actions button:disabled{border-color:var(--border);background:var(--border);color:var(--muted);font-weight:600;cursor:not-allowed}.shop-live__stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:10px}.shop-live__stats>div{padding:14px;border-radius:12px;background:var(--surface-2);display:flex;flex-direction:column-reverse;gap:2px}.shop-live__stats dt{font-size:12px;color:var(--muted)}.shop-live__stats dd{font-family:var(--font-display);font-size:26px;font-weight:700}.shop-live__stats dd.is-warn{color:var(--warn)}.shop-live__stats dd span{font-size:15px;color:var(--muted)}.shop__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(380px,100%),1fr));gap:22px;align-items:start}.shop__col{display:flex;flex-direction:column;gap:22px;min-width:0}.shop-panel{min-width:0;padding:20px;border-radius:18px;background:var(--surface);border:1px solid var(--border);display:flex;flex-direction:column;gap:14px}.shop-panel--tight{gap:10px}.shop-panel h2{font-size:18px}.shop-panel__title-gap{margin-bottom:4px}.shop-panel__head{display:flex;align-items:center;justify-content:space-between}.shop-panel__note{font-size:12px;color:var(--muted);line-height:1.5}.issue{padding:14px;border-radius:12px;background:var(--surface-2);display:flex;flex-direction:column;gap:10px}.issue__meta{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}.issue__text{font-size:15px;font-weight:500}.issue__actions{display:flex;gap:8px}.issue__actions .btn{height:40px;padding:0 14px;border-radius:10px;font-size:13px}.shop-table-wrap{overflow-x:auto}.shop-table{width:100%;min-width:380px;border-collapse:collapse;font-size:14px}.shop-table th{padding:8px 6px;color:var(--muted);font-size:12px;font-weight:500;text-align:left}.shop-table td{padding:10px 6px}.shop-table tbody tr{border-top:1px solid var(--border-soft)}.shop-table__day{font-family:var(--font-display);font-weight:600;white-space:nowrap}.shop-table__title{display:block;font-weight:500}.shop-table__game{font-size:12px}.shop-table__reg{white-space:nowrap}.shop-field{display:flex;flex-direction:column;gap:8px}.shop-field>span{font-size:13px;color:var(--muted)}.segmented{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.segmented button{height:42px;border-radius:10px;border:1px solid var(--border);background:var(--surface-2);color:var(--text);font-size:14px}.segmented button[aria-checked=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent);font-weight:600}
