@import url('app-v2.css');
/* Pokémon collection palette shared by the masthead and collection portals. */
:root{--ink:#123f32;--blue:#207352;--muted:#65736e;--line:#e4ebe7;--surface:#fff;background:#fff;color:var(--ink)}
:root {
  --portal-violet-start: #8634d3;
  --portal-violet-end: #6026bb;
  --portal-green-start: #24866c;
  --portal-green-end: #1b5d4b;
  --portal-blue-start: #158cf1;
  --portal-blue-end: #1163db;
}

body{background:#fff;color:var(--ink)}.app-shell{display:block;min-height:100dvh}.workspace{margin:0;width:100%;min-width:0}.main{max-width:1248px;margin:auto;padding:0 28px}.pokemon-header{background:linear-gradient(90deg,var(--portal-violet-end),var(--portal-green-end),var(--portal-blue-end));color:white;border-bottom:3px solid #0003}.header-inner{max-width:1248px;min-height:72px;display:flex;align-items:center;gap:32px;margin:auto;padding:0 28px}.brand{padding:0;gap:11px;color:white}.brand strong{font-size:25px;letter-spacing:-1px}.brand strong>span{color:#ffda3c;font-size:inherit;align-self:auto;margin:0}.brand>small{font-size:9px;letter-spacing:.5px;color:#c5ded3;align-self:center}.pokeball{width:32px;height:32px;flex:none;display:inline-block;position:relative;border:2px solid #162e27;border-radius:50%;background:linear-gradient(#ef554b 0 45%,#20382e 45% 55%,white 55%);box-shadow:0 1px 2px #0002}.pokeball:after{content:'';width:9px;height:9px;background:white;border:2px solid #20382e;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.pokemon-header nav{display:flex;align-self:stretch;margin:auto;gap:12px}.nav-link{padding:0 13px;background:none;color:#e7f0ea;border-radius:0;position:relative;font-size:12px;min-height:68px;justify-content:center;white-space:nowrap}.nav-link:hover{background:#ffffff0c;color:#fff}.nav-link.active{background:transparent;color:#fff;font-weight:800}.nav-link.active:after{content:'';position:absolute;bottom:0;left:6px;right:6px;background:#ffda3c;height:3px;border-radius:3px}.button{font-size:12px;min-height:42px;border-radius:10px;padding:10px 17px}.button.primary{background:#ffda3c;color:#17362b;box-shadow:0 2px 0 #d8b325;border:1px solid #ffde58;font-weight:800}.button.primary:hover{background:#ffe46c;color:#123f32;transform:translateY(-1px)}.button.outline{background:white;color:#344c42;border-color:#d9e2dc}.header-add{flex:none}.header-add .icon{width:18px;height:18px}.collection-hero,.has-items .collection-hero{position:relative;isolation:isolate;height:330px;margin:0 0 18px;border:0;border-radius:0;background:white;overflow:hidden;display:flex;align-items:center}.hero-copy,.has-items .hero-copy{position:relative;z-index:2;padding:0 0 20px 36px;width:49%}.hero-copy h1{font-size:43px;font-weight:800;line-height:1.12;letter-spacing:-1.9px;margin:0 0 14px;color:#104632}.hero-copy p,.has-items .hero-copy p{font-size:17px;color:#5b6662;line-height:1.6;margin:0 0 22px}.hero-button{min-height:44px;font-size:13px}.pokemon-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none}.collection-portals{display:grid;scroll-margin-block-start:8px;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 32px}.collection-portal{position:relative;isolation:isolate;overflow:hidden;text-align:left;border:1px solid #ffffff40;border-radius:13px;min-height:186px;padding:22px 28px;color:white;box-shadow:0 3px 10px #113f3210;transition:transform .18s,box-shadow .18s}.collection-portal:hover{transform:translateY(-3px);box-shadow:0 7px 20px #163d3224}.collection-portal.selected{outline:3px solid #ffda3c;outline-offset:3px}.slab-portal{background:linear-gradient(120deg,var(--portal-violet-start),var(--portal-violet-end))}.sealed-portal{background:linear-gradient(120deg,var(--portal-green-start),var(--portal-green-end))}.funko-portal{background:linear-gradient(120deg,var(--portal-blue-start),var(--portal-blue-end))}.collection-portal:before{content:'';position:absolute;width:250px;height:250px;border:35px solid #ffffff07;border-radius:50%;right:-50px;top:-30px;z-index:-1}.collection-portal:after{content:'';position:absolute;height:90px;left:30%;width:120%;bottom:-65px;background:#ffffff0a;border-radius:50%;transform:rotate(-10deg);z-index:-1}.portal-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start}.portal-copy>strong{font-size:28px;line-height:1.2;letter-spacing:-1px;margin-bottom:9px}.portal-copy>span{font-size:12px;line-height:1.5;max-width:78%}.portal-copy>b{font-size:33px;line-height:1;margin:21px 0 7px}.portal-copy>small{font-size:9px;letter-spacing:1.2px;text-transform:uppercase;font-weight:700}.portal-art{position:absolute;width:108px;height:143px;stroke:#ffffff80;stroke-width:.65;right:53px;bottom:17px;transform:rotate(-11deg);filter:drop-shadow(3px 3px 0 #ffffff20);z-index:0}.sealed-portal .portal-art{transform:rotate(6deg);width:126px;height:134px;right:47px;bottom:18px}.portal-arrow{position:absolute;right:18px;bottom:17px;width:33px;height:33px;padding:9px;border-radius:50%;background:white;color:#2067ce;stroke-width:2.4}.slab-portal .portal-arrow{color:var(--portal-violet-end)}.sealed-portal .portal-arrow{color:var(--portal-green-end)}.collection-surface{border:0;border-radius:0;box-shadow:none;background:white;scroll-margin-top:20px}.collection-head{padding:0 0 17px;align-items:center;gap:20px}.collection-title :is(h1,h2){font-weight:800;font-size:30px;color:#124d3a;letter-spacing:-1.1px;line-height:1.25;margin:0 0 5px}.collection-summary{display:flex;align-items:center;gap:7px;color:#7a8880;font-size:12px}.tools{gap:10px}.search{height:42px;width:300px;border:1px solid #dce3df;border-radius:9px;background:#fff}.search input{font-size:12px;color:#30493e}.search input::placeholder{color:#78867f}.search .icon{width:17px;height:17px;color:#6c7f73}.filter-toggle{font-size:12px;min-height:42px}.toolbar{padding:0 0 13px;border-bottom:1px solid #e4ebe7}.segments{background:transparent;padding:0;gap:8px}.segments button{font-size:12px;padding:8px 19px;min-width:64px;border:0;border-radius:9px;background:#f2f5f3;color:#607168}.segments button.selected{background:#e4f1e9;color:#1b4b37;box-shadow:none;font-weight:800}.view-mode{display:none}.empty{min-height:250px;text-align:center;padding:10px 0 24px;display:flex;align-items:center;flex-direction:column;background:transparent;border:0}.empty>img{width:128px;height:128px;object-fit:contain;margin-bottom:0;filter:drop-shadow(0 4px 1px #35592c0b)}.empty h2{font-size:24px;line-height:1.25;letter-spacing:-.8px;color:#154d38;margin:0 0 8px}.empty p{font-size:12px;color:#7a8780;margin:0 0 16px;line-height:1.6}.empty .button{font-size:12px;min-height:38px;padding:8px 17px}.no-results{min-height:230px}.filter-panel{background:#f6f9f7;border:1px solid #e1e9e3;border-radius:10px;padding:20px;margin-top:15px}.filter-panel label{font-size:12px}.item-grid{padding:22px 0}.item-card{border-color:#e0e9e3;border-radius:15px}.card-cover{background:linear-gradient(145deg,#f1f8f4,#e8f3ec)}.type-label{color:#29734e;background:#e7f5eb}.favorite-button.on{color:#b58b00}.card-content h3{color:#1b4734}.section-head{padding:0 0 18px}.section-head p{color:#718276}.album-grid{padding:20px 0}.album-card{border-color:#deeadf;background:#f7fbf8;border-radius:14px}.album-card>.icon{color:#388752}.albums-surface .empty{padding:30px}.empty-symbol{background:#eaf5ed;color:#398958;border:0}.dialog{color:#1c4030;border-radius:18px}.dialog-header{background:#f3f9f5}.dialog-header h2{color:#174d35}.dialog input:focus,.dialog select:focus,.dialog textarea:focus{border-color:#4e9470;box-shadow:0 0 0 3px #4e947015}.type-choice label:has(input:checked){border-color:#52936a;background:#edf8ef;color:#225b3b}.toast{background:#164d37;color:white}.text-button{color:#286d49}.dialog-footer{background:#fafcfb}footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:15px;padding:18px 0;border-top:1px solid #e0e8e2;font-size:10px;color:#7b887e;margin-top:5px}footer .footer-brand{display:flex;align-items:center;gap:6px;color:#134b36;text-decoration:none;font-size:16px;font-weight:800;letter-spacing:-.5px}.footer-brand>span:last-child{color:#b59210;margin-left:-5px}.footer-brand .pokeball{width:24px;height:24px;margin-right:3px}.footer-brand .pokeball:after{width:6px;height:6px;border-width:1.5px}footer>small{flex-basis:100%;text-align:center;font-size:9px;color:#8c9890}footer .text-button{display:flex;align-items:center;gap:6px;font-size:10px}footer .text-button .icon{width:14px;height:14px}
@media(min-width:1500px){.main,.header-inner{max-width:1380px}.collection-hero,.has-items .collection-hero{height:355px}.hero-copy h1{font-size:48px}.collection-portal{min-height:200px}}
@media(max-width:1050px){.header-inner{gap:14px;padding:0 22px}.brand strong{font-size:22px}.pokemon-header nav{gap:1px}.nav-link{padding:0 9px;font-size:11px}.brand>small{display:none}.main{padding:0 22px}.hero-copy,.has-items .hero-copy{padding-left:18px;width:52%}.hero-copy h1{font-size:36px}.hero-copy p{font-size:14px}.collection-hero,.has-items .collection-hero{height:290px}.portal-art{right:30px;width:90px;height:125px}.portal-copy>strong{font-size:26px}.portal-copy>span{max-width:72%;font-size:11px}.collection-portal{padding:23px;min-height:185px}.collection-title :is(h1,h2){font-size:27px}.search{width:240px}}
@media(max-width:760px){.header-inner{flex-wrap:wrap;justify-content:space-between;gap:0;min-height:112px;padding:13px 20px 0}.brand strong{font-size:22px}.header-add{font-size:11px;min-height:37px;padding:8px 12px}.header-add .icon{width:16px;height:16px}.pokeball{width:28px;height:28px}.pokemon-header nav{flex-basis:100%;order:3;margin:8px 0 0;justify-content:space-between;gap:0;align-self:auto}.nav-link{min-height:45px;padding:0 8px;font-size:11px;flex:1}.main{padding:0 20px}.collection-hero,.has-items .collection-hero{height:300px;margin-bottom:16px}.hero-copy,.has-items .hero-copy{padding:0 0 85px 0;width:57%}.hero-copy h1{font-size:31px;letter-spacing:-1.2px}.hero-copy p,.has-items .hero-copy p{font-size:13px;max-width:210px;margin:0 0 15px}.hero-button{font-size:11px;padding:9px 12px;min-height:39px}.pokemon-scene{width:110%;height:100%;max-width:none;left:-5%;object-position:58% center}.collection-portals{gap:12px;margin-bottom:25px}.collection-portal{padding:20px 18px;min-height:180px}.portal-copy>strong{font-size:23px}.portal-copy>span{font-size:11px;max-width:100%}.portal-copy>b{font-size:29px}.portal-copy>small{font-size:8px;letter-spacing:.5px}.portal-art{opacity:.4;width:85px;height:105px;right:13px;bottom:10px}.sealed-portal .portal-art{width:95px;height:105px;right:12px;bottom:13px}.portal-arrow{width:28px;height:28px;padding:8px;right:12px;bottom:12px}.collection-head{flex-wrap:wrap;align-items:flex-start;padding:0 0 14px;gap:15px}.collection-title{flex:1}.collection-title :is(h1,h2){font-size:27px}.collection-summary{font-size:11px}.tools{width:100%}.search{width:auto;flex:1;height:43px}.search input{font-size:16px;min-width:0}.filter-toggle{min-height:43px;font-size:12px}.toolbar{padding:0 0 13px}.segments button{font-size:12px;min-height:39px}.empty{padding:14px 8px 23px;min-height:280px}.empty h2{font-size:23px}.empty p{font-size:12px;max-width:300px}.empty>img{width:125px;height:125px}.empty .button{min-height:42px}.section-head{flex-wrap:wrap;gap:15px}footer{gap:14px;padding:20px 0;font-size:9px}footer>span{font-size:9px}.footer-brand{flex-basis:100%;justify-content:center}footer .text-button{font-size:10px}.dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}.dialog input,.dialog select,.dialog textarea{font-size:16px}.dialog-header h2{font-size:20px}}
@media(max-width:520px){.hero-copy,.has-items .hero-copy{padding:0 0 145px;width:100%}.collection-hero,.has-items .collection-hero{height:375px;align-items:center}.hero-copy h1{font-size:32px;max-width:100%;letter-spacing:-1.2px}.hero-copy h1 br{display:none}.hero-copy p,.has-items .hero-copy p{font-size:13px;max-width:none;margin-bottom:16px}.pokemon-scene{width:185%;height:255px;inset:auto -3% -12px auto;object-fit:cover;object-position:right bottom}.collection-portal{padding:19px 16px;min-height:174px}.portal-copy>strong{font-size:23px;letter-spacing:-.8px}.portal-copy>span{font-size:10px;max-width:120px;line-height:1.6;min-height:32px}.portal-copy>b{font-size:27px;margin-top:18px}.portal-copy>small{font-size:7px;letter-spacing:.25px}.portal-art{opacity:.3;width:60px;right:15px;bottom:17px}.sealed-portal .portal-art{width:67px;right:12px;bottom:18px}.portal-arrow{width:24px;height:24px;right:10px;bottom:11px;padding:7px}.portal-copy{z-index:1}.collection-title :is(h1,h2){font-size:27px}.collection-summary{font-size:11px}.item-grid{gap:12px}.card-content{padding:13px}.card-content h3{font-size:14px}.card-meta,.card-bottom{font-size:10px}.filter-panel{padding:15px}.empty h2{font-size:22px}.pokemon-header .brand strong{font-size:21px}.header-inner{padding-left:18px;padding-right:18px}.main{padding-left:18px;padding-right:18px}.button:focus-visible{outline-color:#c8a000}.nav-link:focus-visible{outline-color:#ffda3c}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
/* Original artwork composition; every image is served from assets. */
.pokemon-scene{position:absolute;inset:0 0 0 auto;left:auto;width:58%;height:100%;z-index:0;overflow:visible;pointer-events:none}.pokemon{position:absolute;object-fit:contain;filter:drop-shadow(0 12px 5px #264f2912)}.pikachu{width:62%;height:92%;left:18%;top:0;z-index:5;transform:rotate(-5deg)}.bulbasaur{width:49%;height:70%;left:-3%;bottom:6px;z-index:4;transform:rotate(-6deg)}.squirtle{width:45%;height:77%;right:-2%;bottom:10px;z-index:2;transform:rotate(7deg)}.scene-orbit{position:absolute;inset:35px 12% 15px 13%;border-radius:50%;background:radial-gradient(ellipse,#f0f9db,#f8fcefee 55%,#fff0 74%);z-index:0}.scene-ground{position:absolute;bottom:12px;left:0;right:0;height:17px;background:radial-gradient(ellipse,#b3cf7d44,#ffffff00 69%);z-index:1}.scene-leaf{position:absolute;width:13px;height:22px;background:#a4c65d;border-radius:100% 0 100% 0;transform:rotate(25deg);z-index:1}.leaf-one{left:8%;top:25px}.leaf-two{right:7%;top:38px;transform:rotate(70deg);width:10px;height:18px}.leaf-three{left:15%;top:110px;transform:rotate(-20deg);width:9px;height:15px}
@media(max-width:1050px){.pokemon-scene{width:56%}.pikachu{top:10px;height:87%}.bulbasaur{bottom:10px}.squirtle{bottom:12px}}
@media(max-width:760px){.pokemon-scene{width:57%;height:240px;top:auto;bottom:0;right:0;left:auto}.pikachu{width:68%;height:100%;left:15%;top:0}.bulbasaur{left:-5%;width:52%;height:70%;bottom:0}.squirtle{width:49%;height:78%;bottom:2px}.scene-ground{bottom:8px}.leaf-one{top:5px}}
@media(max-width:520px){.pokemon-scene{width:100%;height:215px;inset:auto 0 -1px auto}.pikachu{width:52%;height:105%;left:25%;top:-3px}.bulbasaur{width:43%;height:80%;left:1%;bottom:0}.squirtle{width:39%;height:87%;right:1%;bottom:0}.scene-orbit{inset:20px 10% 0}.scene-ground{bottom:7px}.scene-leaf{width:9px;height:15px}.leaf-one{left:8%;top:20px}.leaf-two{right:10%;top:4px}.leaf-three{display:none}}

.portal-art>.icon{width:100%;height:100%;stroke-width:.65}.portal-arrow{display:flex;align-items:center;justify-content:center}.portal-arrow>.icon{width:15px;height:15px;stroke-width:2.5}.collection-title{display:block}.collection-title :is(h1,h2){margin-bottom:6px}.collection-summary #collection-count{font-size:inherit;color:inherit}

@media(max-width:520px){.hero-copy h1 br{display:initial}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.portal-art>.icon{stroke:#ffffff90;stroke-width:.65}

.purchase-label{font-size:12px;color:#5c7668;margin:12px 0 0}.purchase-label strong{color:#245c3d;font-weight:800}.purchase-label>span{font-size:10px}.form-hint{font-size:11px;color:#718276;line-height:1.6;margin:0}.item-card .card-cover img{object-fit:contain;padding:12px}.item-card .card-cover{aspect-ratio:1 / 1.05}.item-grid{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1000px){.item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-label{font-size:11px}}

/* Fourth starter: added in the foreground; existing characters retain their geometry. */
.charmander{width:35%;height:60%;left:47%;bottom:3px;z-index:6}
@media(max-width:760px){.charmander{width:36%;height:60%;left:47%;bottom:2px}}
@media(max-width:520px){.charmander{width:35%;height:60%;left:47%;bottom:0}}

.page-heading-inset {
  padding: 25px;
}

.page-heading-inset > :is(.collection-head, .section-head) {
  align-items: flex-start;
}

.news-page-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 580px) {
  .page-heading-inset {
    padding: 18px;
  }

  .albums-surface .section-head > .collection-title {
    flex: 0 0 100%;
  }
}

/* Keep the category buttons reachable when the selected collection has few items. */
.collection-portal-results:has(.collection-portal.selected) {
  min-block-size: 100vh;
  min-block-size: 100lvh;
}

.back-to-top.button {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 50%;
}

.back-to-top.button[hidden] {
  display: none;
}

.back-to-top:focus-visible {
  outline: 2px solid #17362b;
  outline-offset: 3px;
}
