@font-face{font-family:__Chakra_Petch_7f3a91;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/c43ef54631c6ad3c-s.woff2) format("woff2");unicode-range:u+02d7,u+0303,u+0331,u+0e01-0e5b,u+200c-200d,u+25cc}@font-face{font-family:__Chakra_Petch_7f3a91;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/48b76bf2200d991e-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__Chakra_Petch_7f3a91;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/29e4af7482351bce-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Chakra_Petch_7f3a91;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/e6fd32ec5acdd27d-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Chakra_Petch_7f3a91;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/8d541ca8617572f0-s.woff2) format("woff2");unicode-range:u+02d7,u+0303,u+0331,u+0e01-0e5b,u+200c-200d,u+25cc}@font-face{font-family:__Chakra_Petch_7f3a91;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/3955bbd902881c26-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__Chakra_Petch_7f3a91;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/f6d84cc3be9d6158-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Chakra_Petch_7f3a91;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/84f090e3b62fb9e3-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Chakra_Petch_Fallback_7f3a91;src:local("Arial");ascent-override:96.77%;descent-override:30.05%;line-gap-override:0.00%;size-adjust:102.51%}.__className_7f3a91{font-family:__Chakra_Petch_7f3a91,__Chakra_Petch_Fallback_7f3a91;font-style:normal}.__variable_7f3a91{--font-body:"__Chakra_Petch_7f3a91","__Chakra_Petch_Fallback_7f3a91"}@font-face{font-family:__Press_Start_2P_6d0c14;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/dbbdd2d89d2ef0ef-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__Press_Start_2P_6d0c14;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/a06229eb79a83cfc-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__Press_Start_2P_6d0c14;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/c9e224327ce7933e-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:__Press_Start_2P_6d0c14;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/d85064eaed4b8683-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Press_Start_2P_6d0c14;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/db234bd00cda6a96-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Press_Start_2P_Fallback_6d0c14;src:local("Arial");ascent-override:44.58%;descent-override:0.00%;line-gap-override:0.00%;size-adjust:224.32%}.__className_6d0c14{font-family:__Press_Start_2P_6d0c14,__Press_Start_2P_Fallback_6d0c14;font-weight:400;font-style:normal}.__variable_6d0c14{--font-title:"__Press_Start_2P_6d0c14","__Press_Start_2P_Fallback_6d0c14"}@font-face{font-family:__Rajdhani_4fe6d1;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/7e5a5c10421db7a0-s.woff2) format("woff2");unicode-range:u+0900-097f,u+1cd0-1cf9,u+200c-200d,u+20a8,u+20b9,u+20f0,u+25cc,u+a830-a839,u+a8e0-a8ff,u+11b00-11b09}@font-face{font-family:__Rajdhani_4fe6d1;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/573cbd3e993edffe-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Rajdhani_4fe6d1;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/4b657decd6407698-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Rajdhani_4fe6d1;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/b009b118a8c58d8c-s.woff2) format("woff2");unicode-range:u+0900-097f,u+1cd0-1cf9,u+200c-200d,u+20a8,u+20b9,u+20f0,u+25cc,u+a830-a839,u+a8e0-a8ff,u+11b00-11b09}@font-face{font-family:__Rajdhani_4fe6d1;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/264c8506a75dd158-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Rajdhani_4fe6d1;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/3d26d2f3aa81a833-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Rajdhani_4fe6d1;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/04971cd00c9d3b68-s.woff2) format("woff2");unicode-range:u+0900-097f,u+1cd0-1cf9,u+200c-200d,u+20a8,u+20b9,u+20f0,u+25cc,u+a830-a839,u+a8e0-a8ff,u+11b00-11b09}@font-face{font-family:__Rajdhani_4fe6d1;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/1a22315a480e72db-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Rajdhani_4fe6d1;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/6e1768769e6f59a2-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Rajdhani_4fe6d1;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/67695be07a46cf4c-s.woff2) format("woff2");unicode-range:u+0900-097f,u+1cd0-1cf9,u+200c-200d,u+20a8,u+20b9,u+20f0,u+25cc,u+a830-a839,u+a8e0-a8ff,u+11b00-11b09}@font-face{font-family:__Rajdhani_4fe6d1;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/bcc69932347c6777-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Rajdhani_4fe6d1;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/ab2e3a11646b0499-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Rajdhani_Fallback_4fe6d1;src:local("Arial");ascent-override:102.12%;descent-override:37.99%;line-gap-override:0.00%;size-adjust:91.07%}.__className_4fe6d1{font-family:__Rajdhani_4fe6d1,__Rajdhani_Fallback_4fe6d1;font-style:normal}.__variable_4fe6d1{--font-game:"__Rajdhani_4fe6d1","__Rajdhani_Fallback_4fe6d1"}:root{--bg-start:#1a1a1a;--bg-end:#2b2b2b;--ink:#f3f4f6;--home-red:#ff1e1e;--home-panel:#0f1116;--home-panel-soft:#141821;--home-text:#efefef;--home-muted:#b6b8bf;--btn-red-border:1px solid #ff2d2d73;--btn-red-bg:linear-gradient(180deg,#ef4444,#b91c1c);--btn-red-text:#f8fafc;--btn-red-shadow-sm:2px 2px 0 #2d0202;--btn-red-shadow-md:3px 3px 0 #2d0202;--btn-padding:0.48rem 0.7rem;--btn-transition:transform 0.18s ease,filter 0.18s ease;--clip-8:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);--clip-10:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);--clip-11:polygon(11px 0,100% 0,100% calc(100% - 11px),calc(100% - 11px) 100%,0 100%,0 11px);--clip-12:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);--clip-14:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px);--clip-16:polygon(16px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 16px);--clip-18:polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px);--clip-24:polygon(24px 0,100% 0,100% calc(100% - 24px),calc(100% - 24px) 100%,0 100%,0 24px);--clip-34:polygon(34px 0,100% 0,100% calc(100% - 34px),calc(100% - 34px) 100%,0 100%,0 34px);--panel-border:2px solid #ff1d1d;--panel-auth-bg:linear-gradient(135deg,#0a0b0feb,#0f1217f5);--panel-auth-shadow:0 0 0 1px #ff1c1c3d inset,12px 12px 0 #78000059;--panel-main-bg:linear-gradient(130deg,#0c0e14eb,#08090df2);--panel-main-shadow:0 0 0 1px #ff1e1e38 inset,14px 12px 0 #ff000040;--panel-game-bg:linear-gradient(130deg,#0a0b10f0,#0e1016fa);--panel-game-shadow:0 0 0 1px #ff18182e inset,12px 12px 0 #6e000047;--panel-profile-shadow:0 0 0 1px #ff181833 inset,12px 12px 0 #6e000057}body,html{overflow-x:hidden}body{font-family:var(--font-body),"Segoe UI","Trebuchet MS",system-ui,sans-serif;min-height:100vh;background:radial-gradient(circle at 15% 12%,#ef44442e,#0000 36%),radial-gradient(circle at 78% 82%,#6b728047,#0000 36%),linear-gradient(135deg,var(--bg-start),var(--bg-end));color:var(--ink)}.font-title,h1,h2,h3{font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;letter-spacing:.03em}.pokemon-lane-bg{pointer-events:none;position:absolute;inset:0;overflow:hidden}.poke-lane-sprite{position:absolute;width:112px;height:112px;opacity:.46;filter:drop-shadow(0 8px 16px rgba(0,0,0,.28));animation-fill-mode:both;animation-timing-function:linear;animation-iteration-count:infinite;will-change:transform}.poke-lane-sprite-image{width:100%;height:100%;object-fit:contain;image-rendering:auto}.poke-lane-sprite.is-left-to-right{left:-220px;animation-name:lane-left-to-right}.poke-lane-sprite.is-right-to-left{left:auto;right:-220px;animation-name:lane-right-to-left}.poke-lane-sprite.is-top-to-bottom{top:-220px;animation-name:lane-top-to-bottom}.poke-lane-sprite.is-bottom-to-top{top:auto;bottom:-220px;animation-name:lane-bottom-to-top}@keyframes lane-left-to-right{0%{transform:translateX(0) scale(1)}to{transform:translateX(calc(100vw + 440px)) scale(1)}}@keyframes lane-right-to-left{0%{transform:translateX(0) scale(1)}to{transform:translateX(calc(-100vw - 440px)) scale(1)}}@keyframes lane-top-to-bottom{0%{transform:translateY(0) scale(1)}to{transform:translateY(calc(100vh + 440px)) scale(1)}}@keyframes lane-bottom-to-top{0%{transform:translateY(0) scale(1)}to{transform:translateY(calc(-100vh - 440px)) scale(1)}}@media (max-width:640px){.poke-lane-sprite{width:102px;height:102px;opacity:.95}}.btn-red{display:inline-flex;align-items:center;justify-content:center;border:var(--btn-red-border);background:var(--btn-red-bg);color:var(--btn-red-text);font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;letter-spacing:.03em;padding:var(--btn-padding);clip-path:var(--clip-10);transition:var(--btn-transition);white-space:nowrap}.btn-red:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.06)}.btn-light{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d2d2d2;background:#ececec;color:#10131a;font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;letter-spacing:.02em;padding:var(--btn-padding);clip-path:var(--clip-10);transition:var(--btn-transition);white-space:nowrap;box-shadow:4px 4px 0 #25272c}.btn-light:hover:not(:disabled){transform:translateY(-1px);filter:brightness(.98)}.btn-ghost{display:inline-flex;align-items:center;justify-content:center;background:#0f172a80;color:var(--home-text);font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;letter-spacing:.02em;padding:var(--btn-padding);clip-path:var(--clip-10);transition:var(--btn-transition);white-space:nowrap;border:1px solid #94a3b859;color:#e5e7eb}.btn-ghost:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.06)}.game-room-action-btn-red,.game-room-btn-red,.lobby-create-btn,.lobby-join-btn,.lobby-reset-btn,.not-found-btn,.profile-avatar-save-btn,.profile-avatar-toggle-btn,.profile-back-btn,.profile-history-ellipsis,.profile-history-page-btn,.profile-history-picker-btn,.profile-history-picker-submit,.profile-security-action{border:var(--btn-red-border);background:var(--btn-red-bg);color:var(--btn-red-text);clip-path:var(--clip-10);transition:var(--btn-transition);padding:var(--btn-padding);white-space:nowrap}@media (max-width:640px){.btn-ghost,.btn-light,.btn-red{font-size:.8rem;padding:.6rem .85rem}}.game-room-action-btn-red,.game-room-btn-red,.home-cta,.lobby-auth-chip,.lobby-create-btn,.lobby-join-btn,.lobby-reset-btn,.not-found-btn,.profile-avatar-cancel-btn,.profile-avatar-save-btn,.profile-avatar-toggle-btn,.profile-back-btn,.profile-history-page-btn,.profile-history-picker-btn,.profile-security-action{padding:var(--btn-padding);white-space:nowrap}.loading-overlay{animation:fadeIn .2s ease-in-out}.loading-container{animation:slideUp .3s cubic-bezier(.4,0,.2,1)}.loading-gif{animation:spin 1s linear infinite;object-fit:contain}.loading-text{letter-spacing:.5px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.auth-landing{background:radial-gradient(circle at 80% 15%,#ff212129,#0000 26%),radial-gradient(circle at 20% 82%,#ffffff0d,#0000 24%),linear-gradient(145deg,#05070b,#130304)}.auth-scene{position:relative;width:min(100%,760px);margin:0 auto;border:var(--panel-border);background:var(--panel-auth-bg);box-shadow:var(--panel-auth-shadow);clip-path:var(--clip-34);overflow:hidden}.auth-card{position:relative;z-index:2;width:100%;padding:1.25rem 0 1.35rem 1.25rem}.auth-tabs-row{display:flex;justify-content:center;margin-bottom:1.1rem}.auth-tabs{display:inline-flex;border:2px solid #ff2121;background:#07090deb;box-shadow:4px 4px 0 #0000006b;clip-path:polygon(14px 0,100% 0,100% 100%,0 100%,0 14px)}.auth-tab{padding:.7rem 1.35rem .62rem;color:#ececec;font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;font-size:.88rem;line-height:1;letter-spacing:.03em;text-transform:none;transition:filter .2s ease}.auth-tab.active{background:#c00;color:#fff}.auth-tab.inactive{color:#d6d6d8}.auth-tab.inactive:hover{filter:brightness(1.15)}.auth-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:0;align-items:start;width:100%}.auth-copy{position:relative;z-index:2;padding-top:.25rem;max-width:390px;margin-inline:auto}.auth-heading{display:block;width:min(100%,330px);text-align:center;border:1px solid var(--home-red);background:#12141be6;color:#f2f2f2;font-style:italic;padding:.55rem 1rem .5rem;clip-path:polygon(12px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);margin-inline:auto}.auth-subtitle{max-width:28ch;color:#c4c7ce;font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;letter-spacing:.04em;line-height:1.55;margin-inline:0;text-align:left}.auth-form{max-width:360px;margin-inline:0}.auth-label{color:#e8e9ee;font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;letter-spacing:.03em}.auth-input{width:100%;border:2px solid var(--home-red);background:linear-gradient(90deg,#23060685,#0b0d12bf);color:#f4f5f8;font-family:var(--font-body),"Segoe UI",system-ui,sans-serif;padding:.65rem .95rem;outline:none;clip-path:var(--clip-14);transition:box-shadow .2s ease,border-color .2s ease}.auth-input:focus{border-color:#ff3d3d;box-shadow:0 0 0 2px #ff3d3d40}.auth-submit{width:100%;border:var(--btn-red-border);background:var(--btn-red-bg);color:var(--btn-red-text);font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;letter-spacing:.04em;padding:.86rem 1rem .8rem;clip-path:var(--clip-14);box-shadow:var(--btn-red-shadow-md);transition:var(--btn-transition)}.auth-submit:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.07)}.auth-submit:disabled{opacity:.6}.auth-error{color:#ff8686;font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif}.auth-art{display:flex;justify-content:flex-end;align-items:center;position:relative;width:320px;min-height:0;padding-top:0;z-index:1;filter:drop-shadow(0 12px 16px rgba(0,0,0,.32))}.auth-pokeball-image{display:block;width:320px;height:auto;image-rendering:pixelated;filter:drop-shadow(0 8px 0 rgba(0,0,0,.45));margin-right:-2px}.auth-starters{display:none}@media (max-width:860px){.auth-card{width:100%}.auth-layout{width:100%;grid-template-columns:minmax(0,1fr) 230px}}@media (max-width:640px){.auth-card{width:100%;padding:1rem .9rem 1.2rem}.auth-tabs-row{justify-content:stretch}.auth-tabs{width:100%}.auth-tab{flex:1 1 0;min-width:0;padding:.62rem .4rem .56rem;text-align:center;font-size:.76rem;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auth-layout{display:grid;grid-template-columns:1fr;gap:.9rem}.auth-heading{width:min(100%,320px)}.auth-subtitle{max-width:100%;font-size:.74rem;line-height:1.65}.auth-label{font-size:.76rem}.auth-input,.auth-submit{font-size:.92rem}.auth-art{position:relative;width:100%;min-height:190px;order:-1;justify-content:flex-end;align-items:center;right:auto;top:auto;bottom:auto}.auth-pokeball-image{width:min(68vw,210px);margin-left:0;margin-right:-.9rem}.auth-starters{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;position:absolute;left:.3rem;top:50%;transform:translateY(-50%)}.auth-starter-sprite{width:90px;height:90px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 3px 6px rgba(0,0,0,.65));transform:translateX(6px)}.auth-starter-sprite--mid{transform:translateX(18px)}}.home-landing{overflow-x:hidden;background:radial-gradient(circle at 78% 50%,#ff00001a,#0000 42%),radial-gradient(circle at 8% 98%,#ff00001f,#0000 36%),linear-gradient(145deg,#06080d,#150304)}.home-main-frame{position:relative;padding:2.5rem 2rem;border:var(--panel-border);background:var(--panel-main-bg);box-shadow:var(--panel-main-shadow);clip-path:polygon(48px 0,100% 0,100% calc(100% - 56px),calc(100% - 56px) 100%,0 100%,0 56px)}.home-logo{display:inline-flex;align-items:center;gap:0;border:1px solid var(--home-red);background:var(--home-panel-soft);padding:.45rem 1rem .4rem;clip-path:polygon(18px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px)}.home-logo-light{color:#f2f2f2;font-style:italic}.home-logo-red{color:var(--home-red);font-style:italic}.home-cta,.home-error-box,.home-rules-copy,.home-rules-title,.home-rules-warning,.home-subtitle{font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;letter-spacing:.05em}.home-subtitle{color:var(--home-muted);text-transform:uppercase;font-size:.95rem;line-height:1.7}.home-rules-box{border:2px solid var(--home-red);background:linear-gradient(130deg,#0c0e14e0,#101218e6);clip-path:var(--clip-24)}.home-rules-title{color:var(--home-text);text-transform:uppercase;font-size:1.05rem}.home-rules-copy{color:#c8c9cf;font-size:.84rem;line-height:1.9}.home-rules-warning{color:var(--home-red);font-size:.84rem}.home-cta{display:inline-flex;align-items:center;justify-content:center;min-width:220px;padding:.95rem 1.4rem .85rem;text-transform:uppercase;font-size:.95rem;line-height:1;border:1px solid #0000;clip-path:var(--clip-16);transition:transform .2s ease,filter .2s ease}.home-cta:hover{transform:translateY(-2px);filter:brightness(1.08)}.home-cta-red{background:linear-gradient(180deg,#ef4444,#b91c1c);border-color:#ff2d2d73;color:#f8f8f8;box-shadow:4px 4px 0 #2d0202}.home-cta-light{background:#ececec;border-color:#d2d2d2;color:#10131a;box-shadow:4px 4px 0 #25272c}.home-error-box{border:1px solid #ff1e1e73;background:#55080873;clip-path:var(--clip-12)}.lobby-auth-menu{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}.lobby-auth-chip{display:inline-flex;align-items:center;justify-content:center;border:1px solid #ff2c2c;font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;font-size:.72rem;letter-spacing:.03em;padding:.48rem .7rem;clip-path:var(--clip-10)}.lobby-auth-chip-light{background:#ececec;color:#111827;border-color:#d2d2d2}.lobby-auth-chip-red{background:var(--btn-red-bg);color:var(--btn-red-text);border-color:#ff2d2d73}.lobby-auth-user{color:#cfd6e0;font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;font-size:.72rem}.lobby-stack{display:grid;gap:1.1rem}.lobby-panel{border:1px solid #ff282857;background:linear-gradient(130deg,#0b0e17db,#070a10f0);clip-path:var(--clip-18);padding:1rem}.lobby-panel-title{color:#ffd0d0;font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;font-size:1.25rem}.lobby-panel-subtitle{color:#c2c8d4}.lobby-filter-box{border:1px solid #ff282847;background:linear-gradient(120deg,#0a0c13d6,#080b12e6);clip-path:var(--clip-14);color:#dbe1ea;box-shadow:inset 0 0 0 1px #ff1e1e29}.lobby-filter-title{color:#ffd0d0;font-size:.78rem}.lobby-filter-title,.lobby-reset-btn{font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif}.lobby-reset-btn{color:#fff5f5;font-size:.68rem;letter-spacing:.04em;text-transform:uppercase;padding:var(--btn-padding);box-shadow:var(--btn-red-shadow-sm)}.lobby-reset-btn:hover{transform:translateY(-1px);filter:brightness(1.07)}.lobby-filter-group-label{color:#8995a7}.lobby-filter-section{border:1px solid #ff232333;border-radius:10px;padding:.6rem;background:linear-gradient(130deg,#070b138c,#05080ea6)}.lobby-filter-option{display:flex;align-items:center;gap:.45rem;border:1px solid #ff2d2d47;background:#050a14a3;border-radius:8px;padding:.34rem .5rem;transition:border-color .2s ease,background-color .2s ease,transform .2s ease;cursor:pointer}.lobby-filter-option:hover{border-color:#ff5f5f73;background:#0c111ec7}.lobby-filter-option:has(input:checked){border-color:#f87171b3;background:linear-gradient(95deg,#550a126b,#0e111ccc);transform:translateY(-1px)}.lobby-check-input{position:absolute;opacity:0;pointer-events:none}.lobby-check-box{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:16px;height:16px;border:1px solid #ff787873;border-radius:4px;background:linear-gradient(180deg,#111827f5,#0a0e17f5);box-shadow:inset 0 0 0 1px #ffffff0f;color:#0000;transition:transform .18s ease,background-color .18s ease,border-color .18s ease}.lobby-check-icon{font-size:.7rem;line-height:1;color:#0000;transform:translateY(-.5px)}.lobby-check-label{color:#dbe1ea;font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;font-size:.74rem;line-height:1.2}.lobby-filter-option:has(.lobby-check-input:checked) .lobby-check-box{border-color:#ffb1b1f2;background:var(--btn-red-bg);transform:translateY(-1px)}.lobby-filter-option:has(.lobby-check-input:checked) .lobby-check-icon{color:#fff5f5}.lobby-filter-option:has(.lobby-check-input:focus-visible){box-shadow:0 0 0 2px #ff565633}.lobby-filter-option.is-row{padding-top:.45rem;padding-bottom:.45rem}.lobby-forms-grid{display:grid;gap:.5rem;grid-template-columns:repeat(2,minmax(0,1fr))}.lobby-count-box{border:1px solid #ff2d2d52;background:linear-gradient(120deg,#060c16b3,#080a10c7);border-radius:8px}.lobby-count-text{color:#dbe1ea;font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;font-size:.72rem}.lobby-count-value{color:#fca5a5;font-weight:700}.lobby-create-btn,.lobby-join-btn{font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;letter-spacing:.04em;padding:var(--btn-padding);clip-path:var(--clip-12);box-shadow:var(--btn-red-shadow-md)}.lobby-create-btn:hover,.lobby-join-btn:hover{transform:translateY(-1px);filter:brightness(1.08)}.lobby-join-input{width:100%;border:1px solid #ff2d2d6b;background:linear-gradient(90deg,#23060685,#0b0d12bf);color:#f4f5f8;border-radius:10px;padding:.62rem .8rem}.site-select{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:100%;border:1px solid #ff2d2d47;background:linear-gradient(90deg,#0a0c12db,#080a10eb);color:#f4f5f8;padding:.56rem .8rem;clip-path:var(--clip-10);box-shadow:inset 0 0 0 1px #ffffff05;color-scheme:dark}.site-select:focus{outline:none;border-color:#ff3d3dcc}.site-select option{background-color:#f8fafc;color:#0f172a}.site-select option:checked,.site-select option:focus,.site-select option:hover{background-color:#dbeafe;color:#0f172a}.site-select.caret-right{background-image:linear-gradient(45deg,#0000 50%,#fff 0),linear-gradient(135deg,#fff 50%,#0000 0);background-position:calc(100% - 1rem) calc(50% - .2rem),calc(100% - .6rem) calc(50% - .2rem);background-size:6px 6px,6px 6px;background-repeat:no-repeat;padding-right:2.2rem}.lobby-join-btn{min-width:180px}.lobby-join-form{display:grid;gap:.8rem;grid-template-columns:minmax(0,1fr) auto;align-items:end}.lobby-join-field-wrap{border:1px solid #ff232333;border-radius:10px;padding:.6rem;background:linear-gradient(130deg,#070b138c,#05080ea6)}@media (max-width:860px){.home-main-frame{padding:1.8rem 1.2rem}.lobby-auth-user{width:100%;order:3}.lobby-forms-grid,.lobby-join-form{grid-template-columns:1fr}.lobby-join-form{align-items:stretch}.lobby-join-form .btn-red{justify-self:start}.lobby-join-btn{width:100%}}@media (max-width:640px){.home-main-frame{padding:1rem .85rem;clip-path:polygon(24px 0,100% 0,100% calc(100% - 30px),calc(100% - 30px) 100%,0 100%,0 30px)}.home-logo{width:100%;justify-content:center;padding:.42rem .8rem .38rem;font-size:.92rem}.home-subtitle{font-size:.76rem;line-height:1.55}.home-rules-box{padding:.85rem}.home-rules-title{font-size:.84rem}.home-error-box,.home-rules-copy,.home-rules-warning{font-size:.72rem;line-height:1.55}.home-cta{width:100%;min-width:0;font-size:.8rem}.home-rules-copy,.home-rules-warning,.home-subtitle{font-size:.72rem;line-height:1.8}.home-nav-row{width:100%;flex-direction:column;align-items:center;gap:.4rem}.home-nav-row .lobby-auth-menu{display:contents}.home-nav-row .lobby-auth-menu form .btn-red{display:block}.lobby-auth-chip{flex:1 1 0;min-width:0;font-size:.68rem;padding:.45rem .55rem}.lobby-stack{gap:.85rem}.lobby-panel{padding:.85rem}.lobby-panel-title{font-size:1rem}.lobby-panel-subtitle{font-size:.76rem;line-height:1.5}.lobby-filter-box,.lobby-filter-section,.lobby-join-field-wrap{padding:.5rem}.lobby-filter-box{padding-inline:.7rem}.lobby-filter-title{font-size:.88rem;line-height:1.25}.lobby-reset-btn{font-size:.8rem;padding:.6rem .85rem}.lobby-filter-option{width:100%;min-width:0;align-items:flex-start}.lobby-filter-option.is-row{min-height:2.7rem}.lobby-check-label{white-space:normal;overflow-wrap:anywhere}.lobby-filter-section .grid{gap:.55rem}.lobby-check-label,.lobby-count-text,.lobby-filter-group-label,.lobby-filter-title{font-size:.68rem}.lobby-check-box{width:14px;height:14px}.lobby-forms-grid,.lobby-join-form{grid-template-columns:1fr}.lobby-join-form{align-items:stretch}.lobby-create-btn,.lobby-join-btn{width:100%;min-width:0;font-size:.8rem;padding:.6rem .85rem}.lobby-join-input{font-size:.84rem}}.room-landing{overflow-x:hidden;background:radial-gradient(circle at 84% 14%,#ff1e1e24,#0000 28%),radial-gradient(circle at 18% 82%,#ffffff0d,#0000 24%),linear-gradient(145deg,#05070b,#130304)}.game-room-shell{color:#eef2ff;font-family:var(--font-body),"Segoe UI",system-ui,sans-serif}.game-room-shell .game-room-action-btn,.game-room-shell .game-room-avatar-fallback,.game-room-shell .game-room-badge,.game-room-shell .game-room-btn,.game-room-shell .game-room-kicker,.game-room-shell .game-room-modal-title,.game-room-shell .game-room-score-chip,.game-room-shell .game-room-side-label,.game-room-shell .game-room-stat-btn{font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;letter-spacing:.03em}.game-room-shell .game-room-chat p,.game-room-shell .game-room-message-card,.game-room-shell .game-room-modal-copy,.game-room-shell .game-room-modal-score,.game-room-shell .game-room-player-column p{font-family:var(--font-game),var(--font-body),system-ui,sans-serif;letter-spacing:.02em;line-height:1.45}.game-room-shell .font-title{font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif}.game-room-center,.game-room-chat,.game-room-filters,.game-room-header,.game-room-intermission,.game-room-modal,.game-room-side-panel,.game-room-solo-cta{border:var(--panel-border);background:var(--panel-game-bg);box-shadow:var(--panel-game-shadow);clip-path:var(--clip-18)}.game-room-chat,.game-room-filters,.game-room-header,.game-room-solo-cta{position:relative;overflow:hidden}.game-room-disconnect-banner{background:linear-gradient(90deg,#7c2d12,#9a3412);border-bottom:2px solid #f97316;font-family:var(--font-title);padding:.45rem 1rem;text-align:center;display:flex;align-items:center;justify-content:center;gap:.6rem}.game-room-disconnect-banner,.game-room-disconnect-label{color:#fed7aa;font-size:.45rem;letter-spacing:.05em}.game-room-disconnect-timer{display:inline-flex;align-items:center;justify-content:center;min-width:2rem;background:#1a0800;color:#fb923c;font-size:.65rem;padding:.2rem .4rem;box-shadow:inset 1px 1px 0 #ff963240,inset -1px -1px 0 #00000080}.game-room-chat:before,.game-room-filters:before,.game-room-header:before,.game-room-intermission:before,.game-room-modal:before,.game-room-player-card:before,.game-room-side-card:before,.game-room-solo-cta:before,.game-room-stats-panel:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at top,#ffffff0a,#0000 55%)}.game-room-header{align-items:center}.game-room-header-layout{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.7rem}.game-room-header-left{justify-self:start}.game-room-header-center{justify-self:center}.game-room-header-right{justify-self:end;display:flex;flex-wrap:wrap;gap:.45rem;justify-content:flex-end}.game-room-header-simple{justify-content:center}.game-room-battle-grid{align-items:stretch}.game-room-player-column{display:grid;align-content:start}.game-room-avatar-frame{width:86px;height:86px;border:2px solid #ef4444;border-radius:999px;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#ffffff24,#0000 55%),#070b13f0;box-shadow:inset 0 0 0 2px #ff232338;overflow:hidden}.game-room-hearts{gap:.5rem}.game-room-heart{font-size:1.05rem;display:inline-block;transition:transform .24s ease,opacity .24s ease,color .24s ease}.game-room-heart.is-empty{color:#64748b;opacity:.3}.game-room-chat-toggle{display:none!important}.game-room-heart.is-filled{color:#ff4861;opacity:1}.game-room-heart.pulse{animation:heart-pulse .7s ease}@keyframes heart-pulse{0%{transform:scale(1)}30%{transform:scale(1.28)}to{transform:scale(1)}}.game-room-heart svg{display:block;width:24px;height:24px;filter:drop-shadow(0 2px 4px rgba(0,0,0,.5))}.game-room-heart.is-empty svg{opacity:.3;filter:drop-shadow(0 2px 4px rgba(0,0,0,.3)) grayscale(.9) brightness(.7)}.game-room-heart.is-filled svg{opacity:1;filter:drop-shadow(0 2px 4px rgba(0,0,0,.6)) drop-shadow(0 0 8px rgba(255,72,97,.6))}.game-room-heart-img{display:block;width:32px;height:32px;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,.5));transition:opacity .24s ease,filter .24s ease}.game-room-heart.is-empty .game-room-heart-img{opacity:.3;filter:drop-shadow(0 2px 4px rgba(0,0,0,.3)) grayscale(.9) brightness(.7)}.game-room-heart.is-filled .game-room-heart-img{opacity:1;filter:drop-shadow(0 2px 4px rgba(0,0,0,.6))}.game-room-heart.is-removed{animation:heart-remove .9s ease forwards}@keyframes heart-remove{0%{transform:scale(1);opacity:1}40%{transform:scale(1.6);opacity:1}to{transform:scale(.6);opacity:0}}.game-room-stat-btn.is-blocked{cursor:not-allowed!important;opacity:.8!important}.game-room-stat-btn.is-blocked:before{left:4px;width:20px;height:20px}.game-room-stat-btn.is-blocked:after{right:4px;width:20px;height:20px}.game-room-stat-btn.is-faded{opacity:.5;pointer-events:none}.game-room-avatar-image{width:100%;height:100%;object-fit:cover}.game-room-avatar-fallback{font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;font-size:.95rem;color:#fee2e2}.game-room-main-grid,.game-room-top-grid{align-items:stretch}.game-room-duel-board{min-height:100%}.game-room-duel-head{align-items:stretch}.game-room-identity-card{display:grid;align-content:center}.game-room-command-deck{align-content:start}.game-room-command-card{height:fit-content}.game-room-blocked-group{border:1px solid #ff2d2d47;background:#050a148f;border-radius:10px;padding:.7rem}.game-room-stat-pick-grid .game-room-stat-btn{min-height:44px}.game-room-utility-grid .game-room-action-btn{width:100%}.game-room-badge,.game-room-block-tag,.game-room-pill,.game-room-score-chip,.game-room-target-chip{display:inline-flex;align-items:center;justify-content:center;border:1px solid #ff2d2d73;background:#0f1219eb;color:#eef2f7;padding:.4rem .7rem;clip-path:polygon(10px 0,100% 0,100% 100%,0 100%,0 10px)}.game-room-badge,.game-room-target-chip{font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase}.game-room-target-chip{border-color:#f871718c;color:#fecaca}.game-room-mini-label,.game-room-section-label,.game-room-side-label,.game-room-status{color:#aeb6c5}.game-room-timer{color:#fecaca}.game-room-filters{padding:.9rem 1rem}.game-room-pill{font-size:.82rem;color:#dbe4ef}.game-room-side-panel{position:relative;overflow:hidden}.game-room-message-card,.game-room-message-input,.game-room-modal,.game-room-player-card,.game-room-side-card,.game-room-stats-panel{border:1px solid #ff2d2d59;background:linear-gradient(120deg,#110c11e6,#0c1017f2);clip-path:var(--clip-14)}.game-room-intermission,.game-room-modal,.game-room-player-card,.game-room-side-card,.game-room-stats-panel{position:relative}.game-room-block-tag{border-color:#f8717161;color:#fecdd3}.game-room-center{border-color:#ff2d2d73;background:linear-gradient(130deg,#06080df5,#0b0d13fa)}.game-room-sprite-wrap{border:2px solid #ef4444;border-radius:999px;background:#03060ceb}.game-room-sprite-inner{border:1px solid #94a3b847;border-radius:999px;background:radial-gradient(circle at top,#ffffff0a,#0000 60%),#010307b8}.game-room-action-btn,.game-room-btn,.game-room-stat-btn{font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;letter-spacing:.03em;transition:transform .18s ease,filter .18s ease,opacity .18s ease;clip-path:var(--clip-12)}.game-room-stat-btn{border-color:#94a3b873;background:linear-gradient(180deg,#f4f4f5,#d4d4d8);color:#111827}.game-room-action-btn:hover:not(:disabled),.game-room-btn:hover:not(:disabled),.game-room-stat-btn:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.06)}.game-room-stat-btn.is-active{border-color:#f87171e6;background:var(--btn-red-bg);color:#fff1f2}.game-room-stat-btn.is-disabled{opacity:.55}.game-room-stat-btn.is-faded{opacity:.33}.game-room-stat-btn.is-blocked{background:linear-gradient(135deg,#8b000080,#50000066)!important;border-color:#dc2626!important;color:#fca5a5!important;position:relative}.game-room-stat-btn.is-blocked:before{left:2px}.game-room-stat-btn.is-blocked:after,.game-room-stat-btn.is-blocked:before{content:"";position:absolute;top:50%;transform:translateY(-50%);width:16px;height:16px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='45' stroke='%23dc2626' stroke-width='8' fill='none'/%3E%3Cline x1='25' y1='75' x2='75' y2='25' stroke='%23dc2626' stroke-width='8'/%3E%3C/svg%3E");background-size:contain;background-repeat:no-repeat;pointer-events:none}.game-room-stat-btn.is-blocked:after{right:2px}.game-room-action-btn,.game-room-btn{border:1px solid #ff2d2d73}.game-room-action-btn-red,.game-room-btn-red{padding:.48rem .7rem;white-space:nowrap}.game-room-action-btn-light,.game-room-btn-light{background:linear-gradient(180deg,#f4f4f5,#d4d4d8);color:#111827}.game-room-action-btn-ghost,.game-room-btn-ghost{background:#0f172a80;color:#e5e7eb;border-color:#94a3b859}.game-room-message-input{color:#f8fafc;background:#090c12f5;border-color:#ff2d2d59}.game-room-message-input::placeholder{color:#94a3b8}.game-room-message-card{color:#e5e7eb}.game-room-overlay{background:#010308b8}.game-room-modal{background:linear-gradient(130deg,#0a0b10fa,#0e1016fa)}.game-room-modal-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.65rem}.game-room-modal-actions .game-room-btn{width:100%}.game-room-kicker,.game-room-modal-copy,.game-room-modal-score,.game-room-modal-title{color:#f8fafc}.game-room-stat-row.is-revealed{border-color:#ff636347;background:#0f172acc}.game-room-stat-row.is-hidden{border-color:#33415580;background:#030712cc}.game-room-solo-cta{color:#fecaca}@media (max-width:960px){.game-room-shell{display:flex;flex-direction:column;gap:.55rem}.game-room-shell>.game-room-header{order:0}.game-room-shell>.game-room-intermission{order:1}.game-room-shell>.game-room-battle-grid{order:2}.game-room-shell>.game-room-side-panel:last-of-type{order:4}.game-room-shell>.game-room-chat{order:5}.game-room-chat,.game-room-shell>.game-room-side-panel:last-of-type{display:none!important}.game-room-main-grid,.game-room-modal-actions,.game-room-top-grid{grid-template-columns:1fr}.game-room-header{padding:.4rem .55rem!important;clip-path:var(--clip-12)}.game-room-header-layout{grid-template-columns:1fr;gap:.25rem}.game-room-header-center,.game-room-header-left,.game-room-header-right{justify-self:start}.game-room-header-right{gap:.25rem;justify-content:flex-start}.game-room-badge,.game-room-score-chip{padding:.2rem .35rem!important;font-size:.55rem!important}.game-room-battle-grid{display:grid;grid-template-columns:1fr;gap:.55rem}.game-room-player-column{display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-areas:"avatar info" "stats stats" "hearts hearts";gap:.45rem .5rem;align-items:start;text-align:left;padding:.55rem!important}.game-room-player-column .game-room-avatar-frame{grid-area:avatar;width:56px!important;height:56px!important;margin:0!important}.game-room-player-column>p:first-of-type{grid-area:info;margin-top:.1rem!important;font-size:.72rem!important}.game-room-player-column>p:nth-of-type(2){grid-area:info;margin-top:1rem!important;font-size:.56rem!important}.game-room-player-buttons{grid-area:stats;grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem;margin-top:0!important}.game-room-stat-btn{padding:.28rem .35rem!important;font-size:.62rem!important;border-radius:.45rem!important;line-height:1;min-height:44px!important}.game-room-hearts{grid-area:hearts;gap:.18rem!important;margin-top:.1rem!important;justify-content:center}.game-room-heart svg,.game-room-heart-img{width:18px!important;height:18px!important}.game-room-center{order:1;padding:.55rem!important}.game-room-sprite-wrap{transform:scale(.82)!important;max-width:88px!important}.game-room-sprite-wrap .game-room-sprite{width:76px!important;height:76px!important}.game-room-stats-panel{padding:.35rem!important}.game-room-stats-panel .mt-4.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem;margin-top:.55rem!important}.game-room-stat-row{padding:.22rem .28rem!important;font-size:.62rem!important}.game-room-stat-row .mb-1{margin-bottom:.1rem!important}.game-room-stat-row .h-2{height:.35rem!important}.game-room-chat{padding:.55rem!important}.game-room-message-row{gap:.35rem!important}.game-room-message-row .game-room-action-btn{width:100%!important;margin-top:0!important}.game-room-message-input{font-size:.68rem!important;padding:.45rem .55rem!important}.game-room-message-card{padding:.35rem .5rem!important;font-size:.62rem!important}.game-room-utility-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.35rem!important}.game-room-action-btn,.game-room-btn{padding:.35rem .45rem!important;font-size:.56rem!important}.game-room-intermission{padding:.5rem!important}.game-room-kicker,.game-room-modal-copy,.game-room-modal-score,.game-room-side-label{font-size:.6rem!important}.game-room-modal-title{font-size:.82rem!important;margin-top:.25rem!important}.game-room-modal-panel{padding:.3rem!important;margin-top:.35rem!important;font-size:.56rem!important}.game-room-modal-actions{gap:.35rem!important;margin-top:.45rem!important}}.profile-landing{overflow-x:hidden;background:radial-gradient(circle at 80% 16%,#ff1e1e24,#0000 28%),radial-gradient(circle at 14% 84%,#ffffff0d,#0000 24%),linear-gradient(145deg,#05070b,#130304)}.profile-frame{border:var(--panel-border);background:var(--panel-game-bg);box-shadow:var(--panel-profile-shadow);clip-path:var(--clip-34);padding:1.35rem}.profile-title{color:#f1f5f9;text-transform:uppercase}.profile-meta{color:#b8bec8}.profile-heading-wrap{flex:1 1 auto;min-width:220px}.profile-identity-wrap{display:flex;align-items:center}.profile-avatar-shell{width:88px;height:88px;border:2px solid #ff3a3a;background:radial-gradient(circle at 35% 30%,#ffffff24,#0000 55%),#080b12f0;border-radius:999px;display:grid;place-items:center;box-shadow:inset 0 0 0 2px #ff232338}.profile-avatar-image{width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 10px 10px rgba(0,0,0,.4))}.profile-trainer-name{display:inline-flex;align-items:center;border:1px solid #ff4f4f94;background:linear-gradient(180deg,#f3414138,#0e1018f2);color:#fff5f5;font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;font-size:.9rem;line-height:1;padding:.44rem .68rem;clip-path:var(--clip-11)}.profile-avatar-card{border:1px solid #ff2d2d73;background:linear-gradient(120deg,#140c10eb,#0b0f15f5);clip-path:var(--clip-16)}.profile-avatar-title{color:#ffd0d0;font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;font-size:.78rem;text-transform:uppercase}.profile-avatar-subtitle{color:#b8bec8}.profile-avatar-grid{display:grid;gap:.52rem;grid-template-columns:repeat(auto-fill,minmax(88px,1fr))}.profile-avatar-search-input{width:100%;border:1px solid #ff2d2d6b;background:linear-gradient(90deg,#23060685,#0b0d12bf);color:#f4f5f8;border-radius:10px;padding:.62rem .8rem;font-size:.92rem}.profile-avatar-search-input::placeholder{color:#9aa3b2}.profile-avatar-option{border:1px solid #ff2d2d52;background:#0a0c14d9;border-radius:10px;padding:.46rem .28rem;display:grid;justify-items:center;gap:.22rem;transition:transform .2s ease,border-color .2s ease,background-color .2s ease}.profile-avatar-option:hover{transform:translateY(-1px);border-color:#f8717199;background:#12141eeb}.profile-avatar-option.is-active{border-color:#f87171d1;background:linear-gradient(145deg,#6212126b,#12141eeb)}.profile-avatar-option-image{width:42px;height:42px;object-fit:contain}.profile-avatar-option-label{color:#d8deea;font-size:.58rem;line-height:1.2}.profile-avatar-option-label,.profile-avatar-save-btn{font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif}.profile-avatar-save-btn{color:#f8f8f8;letter-spacing:.03em;padding:.48rem .7rem;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}.profile-avatar-save-btn:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.06)}.profile-avatar-cancel-btn,.profile-avatar-toggle-btn{color:#f8fafc;font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;letter-spacing:.03em;padding:.48rem .7rem;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}.profile-avatar-toggle-btn{background:var(--btn-red-bg)}.profile-avatar-toggle-btn:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.06)}.profile-avatar-cancel-btn{background:#0f172a80;border-color:#94a3b859}.profile-avatar-feedback{color:#fecaca}.profile-back-btn{padding:var(--btn-padding);min-width:220px;clip-path:var(--clip-12);box-shadow:var(--btn-red-shadow-md)}.profile-stats-grid{margin-top:1.35rem}.profile-stat-card{border:1px solid #ff2d2d73;background:linear-gradient(120deg,#140c10eb,#0b0f15f5);clip-path:var(--clip-16)}.profile-stat-card.is-wins{border-color:#f871718c}.profile-stat-card.is-losses{border-color:#fbbf248c}.profile-stat-card.is-draws{border-color:#ffffff4d}.profile-stat-card.is-points{border-color:#60a5fa8c}.profile-stat-card.is-rate{border-color:#34d3998c}.profile-stat-label{font-size:.72rem;text-transform:uppercase;color:#cbd5e1}.profile-stat-label,.profile-stat-value{font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif}.profile-stat-value{font-size:2.1rem;line-height:1;color:#f8fafc}.profile-history-title{color:#f1f5f9;text-transform:uppercase}.profile-history-pagination{border:1px solid #ff232347;background:linear-gradient(120deg,#0a0c13db,#080b12f0);border-radius:12px;padding:.75rem;box-shadow:inset 0 0 0 1px #ff1e1e24;position:relative;overflow:visible}.profile-history-ellipsis,.profile-history-page-btn,.profile-history-picker-btn{font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;letter-spacing:.04em;font-size:.68rem;padding:.48rem .72rem;clip-path:var(--clip-10);box-shadow:var(--btn-red-shadow-sm);transition:transform .2s ease,filter .2s ease,background .2s ease,color .2s ease}.profile-history-ellipsis:hover,.profile-history-page-btn:hover,.profile-history-picker-btn:hover{transform:translateY(-1px);filter:brightness(1.06)}.profile-history-ellipsis:disabled,.profile-history-page-btn:disabled,.profile-history-picker-btn:disabled{cursor:not-allowed;opacity:.42}.profile-history-page-btn{min-width:2.2rem}.profile-history-page-btn.is-active{background:#ececec;color:#111827;border-color:#d2d2d2}.profile-history-ellipsis{min-width:2.2rem}.profile-history-picker{border:1px solid #ff232338;background:linear-gradient(130deg,#0b0e17f5,#070a10fa);clip-path:var(--clip-14);box-shadow:0 24px 60px #00000073}.profile-history-page-input{width:100%;border:1px solid #ff2d2d6b;background:linear-gradient(90deg,#23060685,#0b0d12bf);color:#f4f5f8;border-radius:10px;padding:.62rem .8rem;font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;font-size:.72rem}.profile-history-page-input:focus{outline:none;border-color:#ff9696cc;box-shadow:0 0 0 2px #ff383829}.profile-history-picker-submit{font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;letter-spacing:.04em;font-size:.68rem;padding:.48rem .72rem;clip-path:var(--clip-10);box-shadow:var(--btn-red-shadow-sm);transition:transform .2s ease,filter .2s ease}.profile-history-picker-submit:hover{transform:translateY(-1px);filter:brightness(1.06)}.profile-history-picker-submit:disabled{cursor:not-allowed;opacity:.42}.profile-history-picker-btn{min-width:2rem;padding:.4rem .5rem}.profile-history-picker .text-slate-400{color:#8995a7}.profile-empty-state,.profile-match-card{border:1px solid #ff222273;background:linear-gradient(120deg,#110c11e6,#0c1017f2);clip-path:var(--clip-14)}.profile-empty-state{color:#c7cfdb}.profile-match-score,.profile-match-title{color:#f8fafc}.profile-match-date,.profile-match-meta{color:#c5c9d1}.profile-security-card{position:relative;border:1px solid #ff2d2d73;background:linear-gradient(120deg,#0c0c10f5,#140c10eb);clip-path:var(--clip-18);box-shadow:inset 0 0 0 1px #ffffff0a,10px 10px 0 #3b070759}.profile-security-card:before{content:"";position:absolute;inset:10px;border:1px solid #ffffff0a;pointer-events:none}.profile-security-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem}.profile-security-kicker{color:#d8dbe3;font-size:.95rem}.profile-security-action{display:inline-flex;align-items:center;justify-content:center;min-width:280px;padding:1rem 1.35rem;border:1px solid #ff4d4d8c;color:#fff;font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;font-size:1.18rem;letter-spacing:.04em;clip-path:var(--clip-16);box-shadow:0 4px 0 #500707b8}.profile-security-action:hover{filter:brightness(1.04)}.profile-security-panel{margin-top:1.1rem;padding:1rem;border:1px solid #ffffff0f;background:linear-gradient(180deg,#0a0a0eb3,#060910d9);clip-path:var(--clip-14)}.profile-security-tabs{display:flex;gap:.4rem;padding-bottom:.6rem;border-bottom:1px solid #ffffff12}.profile-security-tab{padding:.65rem 1rem;border:1px solid #ff2d2d2e;background:#0a0c12b8;color:#c5cad5;font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;clip-path:var(--clip-10)}.profile-security-tab.is-active{background:linear-gradient(180deg,#ef44443d,#b91c1c8c);color:#fff;border-color:#ff5c5ca6}.profile-security-message{border:1px solid #ff2d2d66;background:#0a0c12c2;clip-path:var(--clip-10)}.profile-input{background:linear-gradient(90deg,#23060652,#0b0d128c);border-color:#ff2d2d52;transition:border-color .2s,background-color .2s}.profile-input:focus{background:linear-gradient(90deg,#2306066b,#0b0d12a6);border-color:#ff2d2da6}.profile-security-btn{border:1px solid #ff2d2d73;clip-path:var(--clip-8)}@media (max-width:860px){.profile-frame{padding:1.1rem}}@media (max-width:640px){.profile-back-btn{min-width:100%;font-size:.82rem}.profile-stat-value{font-size:1.7rem}.profile-frame{padding:.85rem;clip-path:polygon(24px 0,100% 0,100% calc(100% - 28px),calc(100% - 28px) 100%,0 100%,0 28px)}.profile-header{flex-direction:column;align-items:stretch;gap:.85rem}.profile-heading-wrap{min-width:0;text-align:center}.profile-title{font-size:.88rem}.profile-trainer-name{width:100%;justify-content:center;font-size:.78rem}.profile-meta{font-size:.68rem;line-height:1.5}.profile-identity-wrap{justify-content:center}.profile-avatar-shell{width:72px;height:72px}.profile-avatar-image{width:58px;height:58px}.profile-avatar-card{padding:.85rem}.profile-avatar-title{font-size:.72rem}.profile-avatar-subtitle{font-size:.68rem;line-height:1.45}.profile-panel-header{flex-direction:column;align-items:stretch;gap:.75rem}.profile-panel-header .btn-ghost,.profile-panel-header .btn-red{width:100%;justify-content:center;white-space:normal;line-height:1.3;text-align:center;font-size:.8rem;padding:.6rem .85rem}.profile-security-tabs-row .profile-avatar-toggle-btn{flex:1 1 0;width:auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-avatar-cancel-btn,.profile-avatar-save-btn,.profile-security-action{width:100%;min-width:0;font-size:.8rem;padding:.6rem .85rem;white-space:normal;overflow-wrap:anywhere;line-height:1.25;text-align:center}.profile-security-tab{white-space:normal;overflow-wrap:anywhere;line-height:1.25;text-align:center}.profile-avatar-search-input,.profile-history-page-input,.profile-input,.site-select{font-size:.84rem}.profile-avatar-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-avatar-option{padding:.42rem .22rem}.profile-avatar-option-label{font-size:.5rem;text-align:center}.profile-security-card{margin-top:1rem}.profile-security-heading{flex-direction:column;align-items:stretch}.profile-security-kicker{font-size:.78rem;line-height:1.45}.profile-security-panel{margin-top:.85rem;padding:.8rem}.profile-security-tabs{flex-direction:column;gap:.45rem}.profile-security-tab{width:100%;padding:.6rem .5rem;font-size:.68rem}.profile-security-message{font-size:.72rem;line-height:1.5}.profile-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.profile-pokedex-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}.profile-pokedex-grid .profile-match-card{width:100%}.profile-stat-card{padding:.85rem}.profile-stat-label{font-size:.66rem}.profile-stat-value{font-size:1.45rem}.profile-history-title{font-size:.8rem}.profile-history-pagination{padding:.6rem}.profile-history-ellipsis,.profile-history-page-btn,.profile-history-picker-btn{font-size:.6rem;padding:.42rem .55rem}.profile-history-picker{width:min(100%,280px)}.profile-warning-note{display:flex;align-items:flex-start;justify-content:center;gap:.45rem;line-height:1.45;text-wrap:balance;font-size:.68rem}.profile-warning-badge{position:relative;flex:0 0 auto;width:1.05rem;height:1.05rem;margin-top:.1rem;border:1px solid #ffc44dd9;background:linear-gradient(180deg,#f59e0b,#b45309);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);box-shadow:0 0 0 1px #00000059,2px 2px 0 #00000052;image-rendering:pixelated}.profile-warning-badge-mark{position:absolute;inset:0;display:grid;place-items:center;color:#fff8dc;font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;font-size:.68rem;line-height:1;text-shadow:0 1px 0 #0000008c}.profile-match-card{align-items:stretch}.profile-match-title{font-size:.74rem}.profile-empty-state,.profile-match-date,.profile-match-meta{font-size:.68rem;line-height:1.45}.profile-match-score{font-size:1rem}.leaderboard-stats{width:100%;text-align:left;justify-content:flex-start}}.not-found-landing{background:radial-gradient(circle at 80% 16%,#ff1e1e24,#0000 28%),radial-gradient(circle at 14% 84%,#ffffff0d,#0000 24%),linear-gradient(145deg,#05070b,#130304)}.not-found-frame{border:var(--panel-border);background:var(--panel-game-bg);box-shadow:var(--panel-profile-shadow);clip-path:var(--clip-34)}.not-found-header{animation:slideDown .8s ease-out}.not-found-code{animation:pulse 2s ease-in-out infinite}.not-found-code-black,.not-found-code-red,.not-found-code-white{font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;letter-spacing:.02em}.not-found-code-red{color:#ef4444}.not-found-code-white{color:#f8fafc;text-shadow:0 0 8px #ffffff2e,0 2px 0 #0000006b}.not-found-code-black{color:#050505;text-shadow:-1px -1px 0 #ffffffd9,1px 1px 0 #ffffffd9,0 0 12px #0000008c}.not-found-title{font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;letter-spacing:.05em}.not-found-pokemon-wrap{width:160px;height:160px;margin:0 auto;border:2px solid #ff3a3a;border-radius:999px;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#ffffff24,#0000 55%),#080b12f0;box-shadow:inset 0 0 0 2px #ff232338;animation:bounce 2s ease-in-out infinite}.not-found-pokemon-image{width:120px;height:120px;object-fit:contain;filter:drop-shadow(0 10px 10px rgba(0,0,0,.4))}.not-found-message{font-style:italic;max-width:32ch;margin-left:auto;margin-right:auto}.not-found-btn{display:inline-flex;align-items:center;justify-content:center;color:#f8f8f8;font-family:var(--font-title),"Trebuchet MS",system-ui,sans-serif;letter-spacing:.03em;padding:.48rem .7rem;transition:var(--btn-transition);text-decoration:none;white-space:nowrap}.not-found-btn:hover{transform:translateY(-1px);filter:brightness(1.06)}.not-found-btn-secondary{background:linear-gradient(180deg,#f0f0f0,#e0e0e0);border-color:#c8c8c880;color:#1a1a1a}.not-found-btn-primary{white-space:nowrap}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.site-footer{padding:.5rem 1rem .65rem;text-align:center}.site-footer-link{font-size:.62rem;color:#94a3b847;text-decoration:none;transition:color .15s ease;letter-spacing:.03em}.site-footer-link:hover{color:#94a3b8a6}.site-footer-sep{margin:0 .5rem;color:#94a3b81f;font-size:.62rem}.legal-landing{background:radial-gradient(ellipse at top,#0f172a 0,#070b12 100%)}.legal-card{background:#0f172ad9;border:1px solid #ffffff14;border-radius:1rem;padding:2rem 2rem 2.5rem;backdrop-filter:blur(12px)}.legal-back-link{display:inline-flex;align-items:center;gap:.35rem;font-size:.75rem;color:#94a3b899;text-decoration:none;transition:color .2s ease}.legal-back-link:before{content:"";display:inline-block;width:.38rem;height:.38rem;border-left:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg) translateY(-1px);flex-shrink:0}.legal-back-link:hover,.legal-title{color:#f97316}.legal-title{font-size:.9rem;letter-spacing:.05em}.legal-meta{font-size:.72rem;color:#94a3b880}.legal-subtitle{font-size:.85rem;color:#cbd5e1b3;line-height:1.6}.legal-section{margin-top:1.75rem}.legal-section p{font-size:.85rem;color:#cbd5e1bf;line-height:1.7}.legal-h2{font-size:.78rem;font-weight:700;color:#e2e8f0;text-transform:uppercase;letter-spacing:.08em;margin-bottom:.6rem}.legal-list{list-style:disc;padding-left:1.25rem;margin-top:.5rem;font-size:.85rem;color:#cbd5e1bf;line-height:1.7}.legal-link{color:#f97316;text-decoration:underline;text-underline-offset:2px}.legal-link:hover{color:#fb923c}.legal-external{color:#94a3b8b3;font-style:italic}.legal-label{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#cbd5e1;margin-bottom:.4rem}.legal-input{width:100%;background:#0f172a99;border:1px solid #ffffff1a;border-radius:.375rem;padding:.5rem .75rem;font-size:.875rem;color:#e2e8f0;outline:none;transition:border-color .2s ease}.legal-input:focus{border-color:#f97316}.legal-textarea{resize:vertical;min-height:8rem}.legal-success-box{background:#10b9811f;border:1px solid #10b9814d;border-radius:.5rem;padding:1rem 1.25rem;color:#6ee7b7;font-size:.875rem}.legal-error-box{background:#ef44441f;border:1px solid #ef44444d;border-radius:.375rem;padding:.75rem 1rem;color:#fca5a5;font-size:.875rem}.profile-toggle-danger{background-color:#000!important;background-image:none!important;border-color:#b91c1c66!important;color:#ef444473!important}.profile-toggle-danger.is-active{border-color:#ef4444bf!important;color:#f87171!important}.danger-zone{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid #ef444426}.danger-zone-title{font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:#ef444499;margin-bottom:.75rem}.btn-danger{font-size:.72rem;padding:.45rem 1rem;background:#0000;border:1px solid #ef444466;border-radius:.375rem;color:#ef4444b3;cursor:pointer;transition:all .2s ease}.btn-danger:hover{background:#ef444414;border-color:#ef4444b3;color:#fca5a5}