/* GachaMeister simulator: text cut (Claude, 16 Nov 2026, Alex: "simple, easy to use").
   Hides secondary small text only. Nothing is deleted from the markup, so any line can be brought back by removing its rule. */
/* Header */
.site-section{display:none!important}
/* Simulator home (pack counter) */
.counter-category-note,.counter-library,.counter-pack-index,.counter-selected-index,.counter-future,.counter-enter>span,.counter-price small,#lobbySelectedPokemon,#lobbySelectedPokemon+span{display:none!important}
/* Pokémon room */
#edition,#packDescription,.stage-price span,.pedestal-caption,.chase-caption small,.choice-number,.tray-empty,.room-foot>span{display:none!important}
/* Rip page */
.world-opening .w-overline,.world-opening #w-round-value,.world-opening .w-ladder small,.world-opening .w-brand span{display:none!important}
.world-opening .w-round-heading p{opacity:.85}

/* Result panel: one short meta line, centred; tap the card itself for details (Alex, 16 Nov). */
.world-opening .w-result-meta{justify-content:center;gap:10px}
.world-opening .w-result-meta [hidden]{display:none!important}
/* One "What's Inside" button: pool + odds summary together (17 Nov). */
#odds{display:none!important}
.pool-odds{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;padding:12px 16px;margin:0 0 12px;border:1px solid rgba(160,190,255,.22);border-radius:12px;background:rgba(20,40,80,.35);font-size:14px}
.pool-odds b{font-size:17px;margin-right:4px}
.pool-odds button{margin-left:auto;min-height:44px}
@media(max-width:600px){.pool-odds button{margin-left:0;width:100%}}
/* Graded slabs are narrower than raw cards (670x1136): narrow the card so no frame shows. */
.world-opening .w-card-lift.gm-slab{left:15.9%;right:15.9%}
/* ---- 17 Nov publish pass (from the visual audit) ---- */
/* The reveal opens on a clone of the room with ids stripped: hide the same secondary text there. */
[data-gm-id="edition"],[data-gm-id="packDescription"],[data-gm-id="odds"]{display:none!important}
/* Graded packs have no era choice. */

/* Slab photos are taller than raw cards: never crop them in the pool, tray or details. */
.pool-card img,.tray-cards img,.detail-content img{object-fit:contain}
/* Ladder labels: readable. */
.world-opening .w-ladder span{color:#d6e2f5;opacity:.62}
/* Phone: the ladder becomes a row of lights above the pack, clear of the card and its name. */
@media (max-width:640px){
  .world-opening .w-ladder{right:auto;left:50%;top:74px;translate:-50% 0;flex-direction:row;gap:12px}
  .world-opening .w-ladder span{font-size:0;column-gap:0;grid-template-columns:16px}
  .world-opening .w-ladder i{width:16px;height:16px}
  /* Tap targets of at least 44px. */
  [data-qty],[data-risk],#about,#sources,#receiptCollection,.close,#riskCompare{min-height:44px;min-width:44px}
  #sources,#receiptCollection{display:inline-flex;align-items:center;font-size:13px}
  label:has(#skip){min-height:44px;display:inline-flex;align-items:center;gap:8px}
  #skip{width:20px;height:20px}
  /* Keep short labels on the two room buttons. */
  #poolButton span,#collection span{display:inline!important;font-size:12px}
}
/* Desktop: keep the hero pack clear of the pack picker on short screens. */
@media (min-width:761px){.hero-pack{width:max(170px,min(clamp(210px,23vw,282px),calc((100vh - 550px)*.62)))!important}}
.world-opening .w-tray-count[hidden]{display:none!important}
/* ---- Phone room (Alex, 17 Nov): one screen, Open always in reach ---- */
@media (max-width:760px){
  #main{padding-bottom:calc(86px + env(safe-area-inset-bottom))!important}
  .room-topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:8px 14px!important;flex-wrap:nowrap!important}
  .room-title{min-width:0!important;gap:0!important}.room-title .room-mark{display:none!important}
  .room-title{flex:1 1 auto!important;overflow:hidden!important}.room-title h1{font-size:14px!important;line-height:1.15!important;white-space:nowrap!important;margin:0!important}
  .room-breadcrumb{font-size:11px!important}
  .room-utilities{display:flex!important;gap:6px!important;flex:none!important}
  .room-utilities button{min-height:40px!important;padding:0 8px!important;gap:5px!important;white-space:nowrap!important;min-width:0!important;width:auto!important}
  .room-utilities button span{display:inline!important;font-size:11.5px!important;white-space:nowrap!important}
  .room-utilities button small{font-size:11px!important}
  #poolButton svg,#collection svg{display:none!important}
  .pack-theatre{display:flex!important;flex-direction:column!important;align-items:center!important;min-height:0!important;height:auto!important;padding:4px 14px 0!important;position:relative!important}
  .pack-identity{position:static!important;display:flex!important;flex-direction:row!important;align-items:baseline!important;justify-content:center!important;gap:10px!important;width:100%!important;text-align:center!important;margin:0!important;padding:0!important;transform:none!important}
  .pack-identity h2{font-size:18px!important;line-height:1.2!important;margin:0!important;white-space:nowrap!important;width:auto!important;max-width:none!important;flex:none!important}.pack-identity>*{flex:none!important;width:auto!important}.pack-identity h2 br{display:none!important}
  .pack-identity .stage-price{margin:0!important}.pack-identity .stage-price strong{font-size:19px!important}
  .pack-identity .stage-odds{display:none!important}
  .pack-pedestal{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;padding:6px 0 10px!important;max-height:none!important}
  .hero-pack{width:clamp(108px,calc((100svh - 580px)*.62),min(68vw,260px))!important}
  .chase-preview{display:none!important}
  .pack-selection{padding:6px 14px 8px!important}.selector-label{display:none!important}
  .pack-picker{gap:6px!important}
  .pack-choice{padding:4px 2px 6px!important;min-height:0!important}
  .pack-choice .mini-foil{width:20px!important;height:auto!important}
  .control-dock{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px 12px!important;margin:0 14px!important;padding:8px 12px 10px!important;width:auto!important;max-width:calc(100vw - 28px)!important;box-sizing:border-box!important}
  .control-dock .dock-field{grid-column:auto!important;grid-row:auto!important;min-width:0!important}
  .control-dock .risk-field{grid-column:1 / -1!important;grid-row:1!important}
  .control-dock .era-field{grid-row:2!important;grid-column:1!important}.control-dock .quantity-field{grid-row:2!important;grid-column:2!important}
  .field-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:0!important;margin:0 0 4px!important}
  #riskCompare{min-height:24px!important;min-width:44px!important;padding:0!important}
  .control-dock .segmented button,.control-dock select{min-height:38px!important}.control-dock .dock-field>span,.control-dock .dock-field>label,.control-dock .field-heading span{font-size:11px!important;margin-bottom:3px!important}
  /* Open bar pinned to the bottom of the screen */
  .open-field{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:40!important;display:flex!important;align-items:center!important;gap:12px!important;margin:0!important;padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;background:linear-gradient(#0b1a3800,#0b1a38f2 30%,#0b1a38)!important;grid-column:auto!important}
  .open-field .rip-button{flex:1!important;min-height:54px!important;margin:0!important}
  .open-meta{flex:none!important;margin:0!important;display:flex!important}
  #roundCost{display:none!important}
  .open-meta label{font-size:12px!important;min-height:44px!important;display:inline-flex!important;align-items:center!important;gap:6px!important}
  .room-bottom{margin:12px 14px 0!important}.room-foot{margin:6px 14px 0!important}
  #rooms.hidden-route~.x{display:none}
}
@media (max-width:760px){
  /* Top bar: one tidy line. Back chevron + room name on the left, two short buttons on the right. */
  .room-title>div{display:flex!important;align-items:center!important;gap:4px!important;min-width:0!important}
  .room-breadcrumb{font-size:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:32px!important;min-height:40px!important;margin:0 0 0 -8px!important}
  .room-breadcrumb svg{width:16px!important;height:16px!important}
  .room-title h1{overflow:hidden!important;text-overflow:ellipsis!important}
  #poolButton span,#collection span{font-size:0!important}
  #poolButton span::after{content:"Inside";font-size:12px}
  #collection span::after{content:"Pulls";font-size:12px}
  /* Open bar: one full-width button, short Quick toggle beside it. */
  .open-field .rip-button{white-space:nowrap!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
  .open-field .rip-button>*{white-space:nowrap!important}
  .open-field .rip-button small,.open-field .rip-button svg{display:none!important}
  .open-meta label{font-size:0!important;gap:6px!important}
  .open-meta label::after{content:"Quick";font-size:12px}
  .room-foot{padding-bottom:8px!important}
}
.choice-mascot{display:none}
@media (max-width:760px){
  /* Pack picker on phones: big mascot face on its pack colour, price underneath. */
  .pack-choice .mini-foil{display:none!important}
  .pack-choice{display:flex!important;flex-direction:column!important;align-items:center!important;gap:4px!important;padding:6px 2px 7px!important;overflow:hidden!important}
  .choice-mascot{display:block!important;width:100%!important;max-width:58px!important;aspect-ratio:1!important;object-fit:cover!important;object-position:50% 12%!important;border-radius:10px!important;background:radial-gradient(circle at 50% 35%,#fff 0%,var(--c) 85%)!important;padding:2px!important;box-sizing:border-box!important}
  .pack-choice .choice-copy b{display:none!important}
  .pack-choice .choice-copy small{font-size:14px!important;font-weight:700!important;color:#fff!important;opacity:1!important}
  .pack-choice[aria-pressed="true"]{outline:2px solid #fff!important;outline-offset:-2px!important}
}
/* 17 Nov (Alex): one pack at a time, no Quick opening, no arrow on the room door. */
.quantity-field,.open-meta label:has(#skip),label:has(#skip){display:none!important}
#pokemonDoor svg{display:none!important}
#pokemonDoor{justify-content:center!important}
@media (max-width:760px){.control-dock .era-field{grid-column:1 / -1!important}.open-meta{display:none!important}}
/* Desktop dock without the Packs column: era | risk | Open (wide, one line). */
@media (min-width:761px){
  .control-dock{grid-template-columns:1fr 1.3fr 1.5fr!important;align-items:end!important}
  .open-field .rip-button{width:100%!important;min-height:52px!important;white-space:nowrap!important;justify-content:center!important;font-size:17px!important}
  .open-meta{justify-content:center!important}
}
/* ---- "Choose your pack" spotlight (Alex, 17 Nov) ----
   On entry the room is dark; a beam lights the heading and the pack picker.
   Picking a pack (or opening) brings the room lights up. */
.gm-dim,.gm-choose{display:none}
#main.gm-choosing .gm-dim,#main.gm-lights-up .gm-dim{display:block;position:absolute;inset:0;z-index:20;pointer-events:none;background:rgba(2,7,20,.84);transition:opacity .9s ease}
@keyframes gm-dim-off{0%{opacity:1}100%{opacity:0}}
#main.gm-choosing .gm-choose{display:block;position:absolute;left:0;right:0;top:0;z-index:22;pointer-events:none;text-align:center}
.gm-choose h2{position:relative;margin:clamp(64px,11vh,120px) auto 0;font-size:clamp(34px,5vw,64px);line-height:1;font-weight:800;letter-spacing:-.02em;color:#fff;text-shadow:0 0 22px rgba(190,220,255,.75),0 0 60px rgba(120,170,255,.45);animation:gm-choose-in .7s ease-out both}
.gm-choose-beam{position:absolute;left:50%;top:-20px;width:min(760px,96vw);height:min(70vh,600px);translate:-50% 0;background:radial-gradient(ellipse 50% 70% at 50% 0%,rgba(205,228,255,.32),rgba(140,185,255,.12) 45%,transparent 75%);clip-path:polygon(38% 0,62% 0,100% 100%,0 100%);animation:gm-beam-in .9s ease-out both}
@keyframes gm-choose-in{0%{opacity:0;transform:translateY(-10px)}100%{opacity:1;transform:none}}
@keyframes gm-beam-in{0%{opacity:0}100%{opacity:1}}
/* The picker sits above the dark, in its own pool of light. */
#main.gm-choosing .pack-selection{position:relative;z-index:21}
#main.gm-choosing .pack-selection::before{content:"";position:absolute;inset:-30px -10px;z-index:-1;border-radius:50%;background:radial-gradient(ellipse at 50% 50%,rgba(150,190,255,.28),transparent 70%);pointer-events:none}
#main.gm-choosing .pack-choice{animation:gm-tile-pulse 1.8s ease-in-out infinite}
#main.gm-choosing .pack-choice:nth-child(2){animation-delay:.12s}#main.gm-choosing .pack-choice:nth-child(3){animation-delay:.24s}#main.gm-choosing .pack-choice:nth-child(4){animation-delay:.36s}#main.gm-choosing .pack-choice:nth-child(5){animation-delay:.48s}
@keyframes gm-tile-pulse{0%,100%{box-shadow:0 0 0 rgba(170,205,255,0)}50%{box-shadow:0 0 18px rgba(170,205,255,.55)}}
/* Lights up: the room flares bright, then settles. */
@keyframes gm-room-on{0%{filter:brightness(.45)}35%{filter:brightness(1.35)}100%{filter:brightness(1)}}
@media (max-width:760px){
  .gm-choose h2{margin-top:clamp(96px,16vh,150px);font-size:34px}
  #main.gm-choosing .open-field{opacity:.35}
}
@media (prefers-reduced-motion:reduce){.gm-choose h2,.gm-choose-beam,#main.gm-choosing .pack-choice,#main.gm-lights-up .pack-theatre{animation:none!important}}
/* v3 (Alex, 17 Nov): after picking, the room STAYS dark with one spotlight on the chosen pack. Lights come up on Open. */
@property --gm-r{syntax:'<percentage>';inherits:false;initial-value:0%}
#main.gm-picked .gm-dim{display:block;position:absolute;inset:0;z-index:20;pointer-events:none;background:rgba(2,7,20,.86);-webkit-mask-image:radial-gradient(ellipse var(--gm-sw,260px) var(--gm-sh,330px) at var(--gm-x,50%) var(--gm-y,40%),transparent calc(var(--gm-r) - 45%),rgba(0,0,0,.58) calc(var(--gm-r) - 12%),#000 var(--gm-r)),radial-gradient(ellipse var(--gm-sw2,0px) var(--gm-sh2,0px) at var(--gm-x2,82%) var(--gm-y2,40%),transparent calc(var(--gm-r) - 50%),rgba(0,0,0,.6) calc(var(--gm-r) - 14%),#000 var(--gm-r));mask-image:radial-gradient(ellipse var(--gm-sw,260px) var(--gm-sh,330px) at var(--gm-x,50%) var(--gm-y,40%),transparent calc(var(--gm-r) - 45%),rgba(0,0,0,.58) calc(var(--gm-r) - 12%),#000 var(--gm-r)),radial-gradient(ellipse var(--gm-sw2,0px) var(--gm-sh2,0px) at var(--gm-x2,82%) var(--gm-y2,40%),transparent calc(var(--gm-r) - 50%),rgba(0,0,0,.6) calc(var(--gm-r) - 14%),#000 var(--gm-r));-webkit-mask-composite:source-in;mask-composite:intersect;animation:gm-spot-in 1.6s cubic-bezier(.4,0,.2,1) forwards}
@keyframes gm-spot-in{0%{--gm-r:0%}100%{--gm-r:100%}}
#main.gm-picked .gm-choose{display:block;position:absolute;left:0;right:0;top:0;z-index:22;pointer-events:none;text-align:center;animation:gm-choose-out .7s ease-in forwards}
@keyframes gm-choose-out{to{opacity:0;transform:translateY(-8px)}}
/* Picker and controls stay lit above the dark so they are easy to use. */
#main.gm-picked :is(.pack-selection,.control-dock){position:relative;z-index:21}
#main.gm-picked .open-field{z-index:41}
#main.gm-picked .pack-arrow{z-index:23}
#main.gm-picked :is(.rl-lamp,.rl-beam){animation:gm-lamp-on 1.4s ease-out both}
@keyframes gm-lamp-on{0%{opacity:0}30%{opacity:.6}38%{opacity:.25}100%{opacity:1}}
/* Open: the dark lifts as the reveal takes over. */
#main.gm-lights-up .gm-dim{display:block;position:absolute;inset:0;z-index:20;pointer-events:none;background:rgba(2,7,20,.86);animation:gm-dim-off 1.1s ease-out forwards}
@keyframes gm-dim-off{to{opacity:0}}
@media (prefers-reduced-motion:reduce){#main.gm-picked :is(.gm-dim,.rl-lamp,.rl-beam,.gm-choose){animation:none!important}#main.gm-picked .gm-dim{--gm-r:100%}#main.gm-picked .gm-choose{display:none}}
/* 17 Nov nitpicks: smooth pack swap, static era on graded packs, a fourth spotlight on "In this pack". */
#heroFoil.gm-swap{animation:gm-swap-pack .5s cubic-bezier(.2,.8,.2,1) both}
@keyframes gm-swap-pack{0%{opacity:0;transform:rotate(-4deg) translateY(18px) scale(.9)}100%{opacity:1;transform:rotate(-4deg)}}
.pack-identity.gm-swap,.chase-preview.gm-swap{animation:gm-swap-text .45s ease-out both}
@keyframes gm-swap-text{0%{opacity:0;translate:0 8px}100%{opacity:1;translate:0 0}}
#eraSelect:disabled{appearance:none;-webkit-appearance:none;background-image:none!important;background:transparent!important;border-color:transparent!important;opacity:1!important;color:#d6e2f5!important;cursor:default;padding-left:0!important;font-weight:600}
@media (min-width:761px){
  .chase-preview{position:relative}
  .chase-preview::before{content:"";position:absolute;left:50%;top:-140px;width:150%;height:calc(100% + 150px);translate:-50% 0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 50% 60% at 50% 0%,rgba(205,228,255,.22),rgba(140,185,255,.08) 55%,transparent 80%);clip-path:polygon(42% 0,58% 0,100% 100%,0 100%)}
  .chase-preview::after{content:"";position:absolute;left:50%;top:-146px;width:34px;height:12px;translate:-50% 0;border-radius:3px 3px 8px 8px;background:linear-gradient(#dfe9f7,#8ea2c0);box-shadow:0 6px 16px 4px rgba(190,220,255,.55);pointer-events:none}
}
/* Embedded in the site page (/pack-simulator/): the site supplies the header. */
.gm-embed .site-header{display:none!important}
.gm-embed .rip-room{height:100dvh!important}
.gm-embed .sim-lobby{min-height:100dvh!important}
@media (max-width:760px){.gm-embed .rip-room{height:auto!important;min-height:100dvh!important}}
/* 17 Nov: the page copy lives on the WordPress page, not inside the app. No nested scrolling when framed. */
.sim-guide{display:none!important}
@media (min-width:761px){html.gm-embed,html.gm-embed body{overflow:hidden!important;height:100dvh}}
/* ---- Site look at the edges (Alex, 17 Nov): Lato, site blue buttons, navy join. The room itself is unchanged. ---- */
body,body *:not(.foil-pack):not(.foil-pack *){font-family:Lato,system-ui,-apple-system,"Segoe UI",sans-serif!important}
h1,h2,.pack-identity h2,.gm-choose h2,.counter-category h2{font-weight:900!important;letter-spacing:0!important}
.rip-button,#pokemonDoor,.counter-enter{background:#215BCE!important;border:0!important;border-radius:6px!important;box-shadow:none!important;color:#fff!important;font-weight:700!important;min-height:48px!important}
.rip-button:hover,#pokemonDoor:hover{background:#1B4DB0!important}
#pokemonDoor *,.rip-button *{color:#fff!important}
/* Framed in the site page: no second title, and the navy band flows into the room. */
.gm-embed .counter-topbar h1{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.gm-embed .counter-topbar{justify-content:flex-end!important;min-height:0!important;padding-top:10px!important;padding-bottom:0!important;border:0!important}
.gm-embed .counter-topbar>div:first-child{display:none!important}
.gm-embed .counter-room::before,.gm-embed .rip-room::before{content:"";position:absolute;left:0;right:0;top:0;height:150px;z-index:0;pointer-events:none;background:linear-gradient(#111D31,rgba(17,29,49,0))}
/* 19 Nov QA: no decorative arrow on How It Works; readable top links on the dark room. */
#lobbyHelp svg{display:none!important}
.counter-topbar a,.counter-topbar button,.lobby-session{color:#d6e2f5!important;opacity:1!important}
@media (max-width:760px){#roomsButton,#prevPack,#nextPack{min-width:44px!important;min-height:44px!important}.control-dock [data-risk],.control-dock select{min-height:44px!important}}
