.effect-text{white-space:pre-line}.ring-hp{left:80%;top:4%;width:13%;height:5%}.ring-stage{left:4%;top:4%;width:16%;height:5%}.ring-energy{left:91%;top:4%;width:6%;height:5%}.ring-retreat{left:63%;top:90%;width:27%;height:4%}.dot-hp{background:#e56161}.dot-stage{background:#e8b852}.dot-energy{background:#58c9ad}.dot-retreat{background:#75a4e8}#candidates{display:flex;flex-wrap:wrap;gap:.5rem}#candidates p{flex-basis:100%}

/* Pokémon collection: bright fields, familiar companions and a clear reading surface. */
:root{--pk-ink:#172c45;--pk-muted:#587080;--pk-red:#d73f37;--pk-yellow:#ffda63;--pk-green:#287365;--pk-line:#dbe4e1}
body,body.playing{background:#f6f7f2;color:var(--pk-ink);color-scheme:light}
body{background-image:radial-gradient(circle at 100% 0,#e8f0e7 0,transparent 550px);font-family:Inter,'Segoe UI',sans-serif}
body .topbar{height:74px;padding-inline:28px;background:var(--pk-ink);color:#fff;border-bottom:1px solid #32475b}
.brand-ball{width:42px;height:42px;flex-shrink:0;filter:drop-shadow(0 2px 3px #0003)}
.topbar .brand{gap:12px;letter-spacing:.5px;color:#fff}.topbar .brand small{color:#bccfdc;letter-spacing:1.1px}.topbar .local-label{color:#ccdae5}
.topbar .secondary,.topbar .icon-button{color:#fff;background:#ffffff0c;border:1px solid #ffffff40}
.topbar .secondary:hover,.topbar .icon-button:hover{background:#ffffff20}
body .sidebar{background:#fffef9;border-right:1px solid var(--pk-line);padding:26px 20px;min-width:0}
.nav-label{color:#748278;font-size:11px;letter-spacing:1.8px}.nav-button{min-height:48px;font-weight:600;border-radius:10px;color:#4b616a}.nav-button.active{background:#e9f1e8;color:#225d4f;box-shadow:inset 3px 0 #348874}.nav-button:hover:not(.active){background:#f0f3ed}.nav-button b{background:#d6e8dd;color:#225d4f}
.set-progress{position:relative;border:1px solid #d8e5d3;background:#edf4e6;border-radius:15px;padding:20px;margin-top:24px;overflow:hidden}.set-progress:after{content:'';position:absolute;width:90px;height:90px;right:-45px;top:-45px;border:14px solid #d7e6ce;border-radius:50%;pointer-events:none}.set-progress h3{font-size:22px}.set-progress .eyebrow{color:#447557}.set-progress progress{accent-color:#39876c;height:6px}.set-progress .text-button{color:#23674e}
.pokemon-sidebar-friends{display:flex;justify-content:center;align-items:end;gap:0;margin:22px -8px 0;overflow:hidden}.pokemon-sidebar-friends img{width:35%;height:auto;filter:drop-shadow(0 5px 3px #16382f16)}.pokemon-sidebar-friends img:nth-child(2){transform:translateY(-6px)}
.sidebar-bottom{border-top:1px solid var(--pk-line);margin-top:8px}.sidebar-bottom p{color:#365e4e;font-weight:650}.sidebar-bottom small{color:#66786d}
body main{min-width:0;max-width:1500px;padding:26px 32px}.mobile-bar{color:#677b7c;font-size:12px;margin-bottom:16px}
.primary{background:var(--pk-red);border-color:var(--pk-red);color:white;box-shadow:0 3px 0 #962a24;min-height:44px}.primary:hover{background:#bd352e}.primary:disabled{box-shadow:none}.secondary{background:#fff;color:var(--pk-ink);border:1px solid #c9d7d7;min-height:44px}.secondary:hover{background:#f1f5ef}.text-button{color:#28695c}.dark-button{background:var(--pk-ink)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #c58500;outline-offset:3px}
input,select,textarea{accent-color:#378471}input:focus,select:focus,textarea:focus{outline-color:#52917e}
.pokemon-hero{isolation:isolate;position:relative;overflow:hidden;display:flex;align-items:center;min-height:250px;border:1px solid #e0dac1;border-radius:22px;padding:34px!important;margin:0 0 24px;background:#fff0b4}
.pokemon-hero:before{content:'';position:absolute;width:280px;height:280px;right:5%;top:-110px;border:45px solid #fff9dc;border-radius:50%;z-index:-1;pointer-events:none}
.pokemon-hero>div:not(.pokemon-hero-art){position:relative;z-index:2;max-width:52%;min-width:0}.pokemon-hero h1{font-size:clamp(28px,3.1vw,43px);font-weight:800;line-height:1.08;letter-spacing:-1.5px;max-width:410px;margin:12px 0}.pokemon-hero p{font-size:15px;line-height:1.6;max-width:360px;color:#4f5c53}.pokemon-hero .eyebrow{font-size:10px;letter-spacing:1.5px;color:#857336}
.pokemon-hero-art{position:absolute!important;right:8px;bottom:0;width:47%;height:230px;display:flex;align-items:flex-end;justify-content:center;pointer-events:none;z-index:1}.pokemon-hero-art img{object-fit:contain;position:relative;width:42%;height:auto;max-height:205px;margin-left:-10%;filter:drop-shadow(0 9px 4px #3c531d16)}.pokemon-hero-art img:first-child{margin-left:0;transform:translateY(7px)}.pokemon-hero-art img:nth-child(2){z-index:2;transform:translateY(4px)}.pokemon-hero-art img:last-child{width:50%;z-index:3;transform:translateY(-5px)}
.scan-hero{padding-bottom:72px!important}.scan-hero .language-choice{position:absolute;left:34px;bottom:18px;z-index:3;width:auto;min-width:0;display:flex;align-items:center;gap:9px;font-size:12px;color:#526454}.scan-hero .language-choice select{background:#fffdf2;border-color:#d9ce96;width:112px;min-height:40px;font-size:14px;padding:8px}
.scan-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0 0 20px}.scan-steps li{position:relative;min-height:112px;padding:16px 12px 13px 74px;border:1px solid #dce7d9;border-radius:15px;background:#fffef9;box-shadow:0 3px 9px #203a2206}.scan-steps img{position:absolute;left:7px;bottom:6px;width:68px;height:68px;object-fit:contain;filter:drop-shadow(0 4px 3px #17342918);pointer-events:none}.scan-steps strong,.scan-steps span{display:block}.scan-steps strong{font-size:14px;color:#285a4a;margin:2px 0 5px}.scan-steps span{font-size:12px;line-height:1.35;color:#687d72}
.album-hero{background:#e4f0e4;border-color:#cddfcf}.album-hero:before{border-color:#f3faed}.album-hero .eyebrow{color:#427352}.album-hero>.primary{position:absolute;left:34px;bottom:22px;z-index:2}.album-hero>div:not(.pokemon-hero-art){align-self:flex-start}.album-hero{padding-bottom:80px!important}.album-cast img:nth-child(2){width:54%;z-index:1}.album-cast img:first-child{z-index:2}
.catalog-hero{background:#e7eaf8;border-color:#d5d9ee}.catalog-hero:before{border-color:#f2f1ff}.catalog-hero .eyebrow{color:#676899}.catalog-cast img:nth-child(2){width:46%;transform:translateY(3px)}
.game-hero{background:#e8f1f8;border-color:#cfdfeb}.game-hero:before{border-color:#f3f9fc}.game-hero .eyebrow{color:#47748d}.game-cast img:nth-child(1){width:48%;z-index:3}.game-cast img:nth-child(2){z-index:2}.collection-guide{display:flex;align-items:center;gap:12px;max-width:620px;margin:-5px 0 18px;padding:8px 14px 8px 8px;border-radius:15px;background:#f3f7ed;color:#4a6659}.collection-guide img{flex:0 0 68px;width:68px;height:68px;object-fit:contain;filter:drop-shadow(0 4px 3px #17342918);pointer-events:none}.collection-guide p{margin:0;font-size:13px;line-height:1.45}.collection-guide strong{color:#285a4a}.catalog-guide{background:#f1f2fb;color:#5a6183}.catalog-guide strong{color:#4b5183}
#scan-view.showing-card>.pokemon-hero{min-height:72px;padding:15px 22px!important;margin-bottom:15px;background:#edf2e8}.showing-card .pokemon-hero-art,.showing-card .pokemon-hero:before,.showing-card .pokemon-hero .eyebrow{display:none}.showing-card .pokemon-hero h1{font-size:24px;letter-spacing:-.5px;margin:0}.showing-card .pokemon-hero>div:not(.pokemon-hero-art){max-width:65%}.showing-card .scan-hero .language-choice{position:static;margin-left:auto;display:block;line-height:1.4}
.capture-panel,.code-panel,.detail-panel{background:#fffefb;border-color:#dce4dd;box-shadow:0 4px 16px #203a2205}.photo-stage{background:radial-gradient(circle,#e6f1e4 0,#f2f6ef 68%)}.scan-mark{background:#e4ede3;color:#52836a}.capture-top{color:#64806b}.capture-note{color:#597362}.code-panel{border-radius:14px}.album-card{background:#fffefa;border-color:#dce2d5;border-radius:14px;overflow:hidden;box-shadow:0 3px 8px #2d422207}.tile-info,.tile-bottom{background:#fffefa}.tile-photo{background:#ecf0e8}.tile-status{background:#f2f5ed;color:#557348}.album-card.owned .tile-status{background:#daf0dd;color:#216a39}.catalog-toolbar{gap:10px}.wide-search,#catalog-set{background:#fffefb;border-color:#ccd9d0}
.translation-panel{padding:18px;border:1px solid #d3e3d5;border-radius:15px;background:#eff6ec;margin-block:16px}.translation-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.translation-toolbar h3{margin:0;font-size:17px}.translation-toolbar button{min-height:40px}.translation-status{color:#3c684e;font-size:13px;line-height:1.5}.translation-pending{background:#fff6db;border-color:#e7d697}.translation-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.translation-panel [aria-pressed=true]{background:#245c4c;color:#fff;border-color:#245c4c}
.translation-panel h4{margin:0 0 12px;font-size:17px}.translation-toolbar{justify-content:flex-start}.translation-toolbar button{padding:8px 16px;border:1px solid #bbcec2;border-radius:9px;background:#fff;color:var(--pk-ink)}.pokemon-arena .eyebrow,.pokemon-play-home .eyebrow{color:#bfdae4}

/* Game navigation stays in the document flow: never over the main navigation. */
body.playing .shell{display:block;min-height:calc(100vh - 74px)}body.playing .sidebar{padding:7px 28px;border-right:0;border-bottom:1px solid var(--pk-line);background:#fffef9}.playing .sidebar nav{display:flex;max-width:1280px;margin:auto;gap:8px}.playing .nav-button{flex:0 1 190px;font-size:13px;min-height:42px;justify-content:center}.playing .nav-button.active{box-shadow:inset 0 -3px #dd453d;background:#fbeae1;color:#972f28}.playing .nav-label,.playing .set-progress,.playing .pokemon-sidebar-friends,.playing .sidebar-bottom{display:none}
body.playing main{padding:20px 28px;max-width:1280px;margin-inline:auto}.playing .mobile-bar{display:none}.playing #game-view>.page-title{margin:0 0 15px;align-items:center}.playing #game-view>.page-title h1{font-size:22px;font-weight:750;letter-spacing:-.5px;margin:0}.playing #game-view>.page-title p{font-size:13px;color:#667d72;margin:6px 0 0}.playing .game-hero{min-height:150px;padding:22px 26px!important}.playing .game-hero .pokemon-hero-art{height:145px}.playing .game-hero>div:not(.pokemon-hero-art){max-width:60%}
#game-content{container-type:inline-size;container-name:lesson;min-width:0}.game-modes{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}.game-modes button{min-height:42px;padding:9px 15px;border-radius:10px;font-size:13px;box-shadow:none}.game-modes button[aria-pressed=true]{background:#213f4f;border-color:#213f4f;color:white}.game-extra{position:static;display:block;width:fit-content;max-width:100%;margin:0 0 14px;color:#567164;font-size:12px}.game-extra summary{padding:6px 2px;cursor:pointer;min-height:32px}.game-extra[open]{width:100%;padding:8px 12px;border:1px solid #d9e2d7;background:#edf3e9;border-radius:10px}.game-extra .game-modes{margin:5px 0}
.owned-deck-builder{background:#fffef9;border:1px solid var(--pk-line);padding:24px;border-radius:20px}.owned-deck-builder>label{display:block;margin-top:14px;font-size:13px;font-weight:650}.owned-deck-builder>label input,.owned-deck-builder>label select{display:block;width:100%;margin-top:6px;background:white;min-height:44px;padding:10px;border:1px solid #ccd9d1;border-radius:8px}.deck-quantity button{width:44px;min-height:44px}.deck-empty{background:#f2f6ec;color:#537555}.phase-list{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.phase-list span{border:1px solid #879b90;border-radius:6px;padding:5px 8px;font-size:13px}.phase-list [aria-current]{background:#e4f2d6;color:#294b31}
.tutor-panel,.tutor-tools{background:#fffef9;border-color:#dce4d7}.tutor-panel{border-top:4px solid #6ca280}.tutor-tools{border-top:4px solid #e7c54d}.tutor-tools button{min-height:44px;border:1px solid #c8d8cc;padding:8px 12px;border-radius:8px;background:#eef4e9;color:#345844}.tutor-tools pre{font-size:13px;line-height:1.6;color:#355a43}.tutor-panel h2:before{content:'';display:inline-block;width:42px;height:42px;vertical-align:middle;background:url('/assets/pokemon/characters/lucario.png') center/contain no-repeat;margin-right:7px}
footer{color:#6c7d74;border-color:#dce4d9}footer a{color:#356b57}.music-toggle{background:#213f4f;color:white;border-color:#516773}.music-toggle:not([aria-expanded=true]){opacity:.86}
@media(min-width:1500px){body main{padding:32px 42px}.pokemon-hero{min-height:270px}.pokemon-hero-art{height:250px}.pokemon-hero-art img{max-height:235px}}
@media(max-width:1050px){body main{padding:22px}.pokemon-hero{padding:26px!important;min-height:260px}.pokemon-hero h1{font-size:34px}.pokemon-hero-art{width:48%;right:-8px}.pokemon-hero-art img{max-height:170px}.scan-hero{padding-bottom:75px!important}.scan-hero .language-choice{left:26px}.album-hero{padding-bottom:82px!important}.album-hero>.primary{left:26px}}
@media(max-width:700px){body .topbar{height:62px;padding:9px 14px;gap:10px}.brand-ball{width:35px;height:35px}.topbar .brand{gap:8px;font-size:17px}.topbar .brand small{font-size:8px;letter-spacing:.7px}.topbar .secondary{padding:8px 10px;font-size:12px}.topbar .icon-button{width:36px;height:36px}.topbar .local-label{display:none}body .sidebar,body.playing .sidebar{position:sticky;top:0;z-index:8;padding:5px 9px;border-bottom:1px solid var(--pk-line)}.sidebar nav,.playing .sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.nav-button,.playing .nav-button{min-width:0;min-height:46px;padding:7px 3px;font-size:11px;line-height:1.25;text-align:center;justify-content:center;box-shadow:none}.nav-button.active{box-shadow:inset 0 -3px #39876c}.pokemon-sidebar-friends{display:none}body main,body.playing main{padding:16px 12px}.mobile-bar{font-size:10px}.pokemon-hero{min-height:320px;align-items:start;display:block;padding:23px!important;border-radius:17px;margin-bottom:18px}.pokemon-hero>div:not(.pokemon-hero-art){max-width:100%}.pokemon-hero h1{font-size:32px;letter-spacing:-1px;margin:8px 0}.pokemon-hero p{max-width:285px;font-size:13px;line-height:1.45;margin:6px 0}.pokemon-hero .eyebrow{font-size:9px;letter-spacing:1px}.pokemon-hero-art{height:154px;width:78%;max-width:345px;right:-5px;bottom:0}.pokemon-hero-art img{max-height:145px;width:42%}.scan-hero .language-choice{left:23px;bottom:21px;display:grid;gap:4px;font-size:10px}.scan-hero .language-choice select{width:98px;font-size:12px;min-height:36px}.scan-hero .pokemon-hero-art{width:70%;right:-4px}.album-hero{min-height:330px;padding-bottom:160px!important}.album-hero>.primary{left:23px;bottom:20px;max-width:135px;font-size:12px;padding:9px 12px}.album-hero .pokemon-hero-art{width:69%}.catalog-hero{min-height:315px}.catalog-hero .pokemon-hero-art{width:88%}#scan-view.showing-card>.pokemon-hero{display:flex;gap:10px;min-height:72px;padding:14px!important}.showing-card .pokemon-hero h1{font-size:22px}.showing-card .scan-hero .language-choice{font-size:10px}.showing-card .scan-hero .language-choice select{min-height:38px}.playing #game-view>.page-title h1{font-size:20px}.playing #game-view>.page-title p{font-size:12px}.game-modes{gap:5px}.game-modes button{font-size:12px;padding:8px 10px;min-height:42px;flex:1}.game-extra{margin-bottom:10px}.game-extra .game-modes button{flex:1}.owned-deck-builder{padding:15px}.translation-panel{padding:14px}.music-toggle{bottom:12px;right:12px;min-height:38px;font-size:12px}}
@media(max-width:700px){.scan-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:15px}.scan-steps li{min-height:92px;padding:12px 8px 10px 54px;border-radius:12px}.scan-steps img{left:2px;bottom:4px;width:54px;height:54px}.scan-steps strong{font-size:12px;margin:0 0 3px}.scan-steps span{font-size:10px}.collection-guide{margin:-3px 0 14px;padding:6px 10px 6px 5px;gap:8px}.collection-guide img{flex-basis:52px;width:52px;height:52px}.collection-guide p{font-size:11px;line-height:1.35}.playing .game-hero{display:block;min-height:238px;padding:18px!important}.playing .game-hero>div:not(.pokemon-hero-art){max-width:100%}.playing .game-hero .pokemon-hero-art{height:118px;width:76%}.playing .game-hero .pokemon-hero-art img{max-height:112px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.pokemon-hero-art img{animation:none!important}}
@media(max-width:700px){body:not(.playing) .mobile-bar{margin-bottom:8px;line-height:1.2}.scan-hero{min-height:190px;padding:16px 17px 51px!important}.scan-hero .pokemon-hero-copy{max-width:61%!important}.scan-hero h1{font-size:26px;line-height:1.02;letter-spacing:-.8px;margin:5px 0}.scan-hero p{max-width:205px;font-size:12px;line-height:1.3;margin:4px 0}.scan-hero .eyebrow{font-size:8px;letter-spacing:.8px}.scan-hero .pokemon-hero-art{width:43%;height:104px;right:-2px;bottom:0}.scan-hero .pokemon-hero-art img{max-height:100px}.scan-hero .language-choice{left:17px;bottom:9px;display:flex;align-items:center;gap:6px;font-size:10px}.scan-hero .language-choice select{width:94px;min-height:31px;padding:5px 7px;font-size:11px}.scan-steps{gap:7px;margin-bottom:12px}.scan-steps li{min-height:68px;padding:7px 5px 6px 47px}.scan-steps img{left:1px;bottom:2px;width:45px;height:45px}.scan-steps strong{font-size:12px;line-height:1.1;margin:0 0 3px}.scan-steps span{font-size:12px;line-height:1.15}}
@media(max-width:700px){#photo-stage:has(.empty-camera){height:120px;min-height:120px}.empty-camera{padding:8px 12px}.empty-camera .scan-mark{display:none}.empty-camera h2{margin:0 0 4px;font-size:16px}.empty-camera p{font-size:12px;line-height:1.35}}
