@import "https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap";@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.block{display:block}.flex{display:flex}.hidden{display:none}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.border{border-style:var(--tw-border-style);border-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}.calculator-button{background-color:#fff;border:none;justify-content:center;align-items:center;width:100px;height:100px;display:flex}.calculator-button:hover{cursor:pointer;background-color:#ffffffe1;transition:all 1s}.calculator-button-text{color:purple;justify-content:center;align-items:center;font-size:30px;display:flex}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ds-blue:#6b8bce;--ds-dark-blue:#4a69a5;--ds-hinge:#3a5995;--ds-screen-top:#e8e8d8;--ds-screen-bottom:#f8e090;--ds-green:#78c850;--ds-green-hover:#88d860;--ds-green-border:#489820;--ds-yellow:#f8e870;--ds-red:#f85838;--ds-blue-btn:#88a8e8;--ds-blue-btn-border:#4868a8;background:#2a2a2a;font-family:"Press Start 2P",monospace}*{box-sizing:border-box}body{color:#333;justify-content:center;align-items:center;min-width:320px;min-height:100vh;margin:0;display:flex}#root{justify-content:center;width:100%;display:flex}button,input{font-family:"Press Start 2P",monospace}.pokedex-shell{width:100%;max-width:800px;padding:20px}.pokedex-app{background:var(--ds-blue);border:4px solid #333;border-radius:16px;padding:16px;box-shadow:inset -4px -4px #0003,inset 4px 4px #fff6,0 10px 30px #00000080}.pokedex-screen{position:relative}.pokedex-screen:before{content:"";opacity:0;pointer-events:none;z-index:999;background:#fff;transition:opacity .15s ease-in-out;position:absolute;inset:0}.pokedex-screen.animating:before{opacity:1}.pokedex-screen-top{background:var(--ds-dark-blue);border:4px solid #333;border-radius:8px;grid-template-columns:1fr 1fr;gap:8px;height:380px;padding:8px;display:grid;box-shadow:inset 0 4px 8px #0000004d}.pokedex-detail-panel{background:#f8f8f8;border:4px solid #a8a8a8;border-radius:12px;flex-direction:column;display:flex;position:relative;overflow:hidden}.pokedex-detail-panel.empty{text-align:center;color:#666;justify-content:center;align-items:center;padding:20px;font-size:10px;line-height:1.5}.panel-heading{background:var(--ds-blue);color:#fff;text-align:center;border-bottom:4px solid #a8a8a8;justify-content:space-between;align-items:center;padding:8px;font-size:12px;display:flex}.panel-heading h2{text-transform:uppercase;margin:0;font-size:10px}.panel-counter{color:#333;background:#fff;border-radius:4px;padding:2px 6px;font-size:10px}.pokemon-hero{background:0 0;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:10px;display:flex}.pokemon-illustration{justify-content:center;width:100%;display:flex}.pokemon-illustration-frame{justify-content:center;align-items:center;width:220px;height:180px;display:flex}.pokemon-illustration-frame img{max-width:180px;max-height:180px}.pokemon-hero-copy{width:100%;margin-top:36px;font-size:8px}.pokemon-top-facts{justify-content:space-around;margin-bottom:8px;font-size:8px;display:flex}.pokemon-type-list,.abilities-list{flex-wrap:wrap;justify-content:center;gap:4px;margin-bottom:8px;display:flex}.pokemon-type-chip,.ability-chip{color:#fff;background:#a8a8a8;border-radius:4px;padding:4px 8px;font-size:8px}.pokemon-type-chip{align-items:center;display:inline-flex}.pokedex-right-panel{flex-direction:column;display:flex;overflow:hidden}.pokedex-tabs{z-index:1;gap:4px;margin-bottom:-4px;display:flex;position:relative}.tab-button{color:#333;cursor:pointer;background:#a8b8c8;border:4px solid #a8b8c8;border-bottom:none;border-radius:8px 8px 0 0;outline:none;padding:6px 12px 10px;font-size:8px}.tab-button.active{background:var(--ds-screen-top);color:#333;border-color:#a8b8c8;padding-bottom:14px}.tab-button:not(.active):hover{background:#c8d8e8}.pokedex-grid-panel{background:var(--ds-screen-top);border:4px solid #a8b8c8;border-radius:0 12px 12px;flex-direction:column;flex:1;display:flex;overflow:hidden}.pokemon-grid{flex-direction:column;flex:1;gap:4px;padding:8px;display:flex;overflow-y:auto}.pokemon-grid::-webkit-scrollbar{width:12px}.pokemon-grid::-webkit-scrollbar-track{background:#d8d8c8;border-left:2px solid #a8b8c8}.pokemon-grid::-webkit-scrollbar-thumb{background:var(--ds-red);border:2px solid #333}.pokemon-card{cursor:pointer;text-align:left;background:#f8f8e8;border:2px solid #c8c8b8;border-radius:20px;align-items:center;width:100%;padding:6px 10px;transition:background .1s;display:flex}.pokemon-card:hover{background:#fff}.pokemon-card.selected{background:var(--ds-yellow);border-color:#c8b850}.pokemon-card-dot{background:var(--ds-red);border:2px solid #333;border-radius:50%;width:16px;height:16px;margin-right:8px;position:relative}.pokemon-card-dot:after{content:"";background:#fff;border-radius:50%;width:4px;height:4px;position:absolute;top:2px;left:2px}.pokemon-card-dot.dot-red{background:var(--ds-red)}.pokemon-card-dot.dot-green{background:var(--ds-green)}.pokemon-card-dot.dot-yellow{background:var(--ds-yellow)}.pokemon-card-body{align-items:center;gap:8px;display:flex}.pokemon-card-id{color:#666;margin-right:12px;font-size:10px}.pokemon-card-body h3{color:#333;margin:0;font-size:10px;font-weight:600}.pokemon-card img{display:none}.pokedex-loading-indicator{text-align:center;color:#666;width:100%;padding:12px;font-size:8px}.pokemon-stats-panel{background:var(--ds-screen-top);border:4px solid #a8b8c8;border-radius:0 12px 12px;flex-direction:column;flex:1;gap:16px;padding:12px;display:flex;overflow-y:auto}.pokemon-stats-panel.empty{color:#666;justify-content:center;align-items:center;font-size:10px}.pokemon-stats-panel::-webkit-scrollbar{width:12px}.pokemon-stats-panel::-webkit-scrollbar-track{background:#d8d8c8;border-left:2px solid #a8b8c8}.pokemon-stats-panel::-webkit-scrollbar-thumb{background:var(--ds-red);border:2px solid #333}.dex-section-label{color:#555;border-bottom:2px solid #c8c8b8;margin-bottom:8px;padding-bottom:4px;font-size:8px;display:block}.stats-list{flex-direction:column;gap:8px;display:flex}.stat-bar{flex-direction:column;gap:4px;display:flex}.stat-bar-header{color:#333;justify-content:space-between;font-size:8px;display:flex}.stat-bar-track{background:#d8d8c8;border:2px solid #a8b8c8;border-radius:4px;height:8px;overflow:hidden}.stat-bar-fill{background:var(--ds-blue);border-right:2px solid #333;height:100%}.abilities-list{flex-direction:column;gap:6px;display:flex}.ability-chip-retro{color:#333;background:#f8f8f8;border:2px solid #a8a8a8;border-radius:4px;padding:6px 8px;font-size:8px}.pokedex-hinge{background:var(--ds-hinge);border-top:4px solid #333;border-bottom:4px solid #333;justify-content:center;align-items:center;height:40px;margin:0 -16px;padding:0 20px;display:flex;position:relative}.hinge-content{color:#fff;justify-content:space-between;align-items:center;width:100%;font-size:10px;display:flex}.hinge-stats{gap:30px;display:flex}.hinge-stat{flex-direction:column;align-items:center;gap:4px;display:flex}.hinge-stat span{color:#a8c8f8;font-size:8px}.hinge-quit{align-items:center;gap:8px;display:flex}.hinge-quit span{color:#333;background:#fff;border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;font-size:8px;display:flex}.pokedex-screen-bottom{background:var(--ds-screen-bottom);border:4px solid #333;border-radius:8px;gap:16px;height:380px;margin-top:16px;padding:16px;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 4px 8px #0003}.dex-pokeball-btn{background:linear-gradient(180deg, var(--ds-red) 50%, white 50%);z-index:0;cursor:pointer;border:8px solid #c8a870;border-radius:50%;outline:none;width:280px;height:280px;padding:0;transition:transform .2s cubic-bezier(.175,.885,.32,1.275);position:absolute;top:50%;right:-50px;transform:translateY(-50%)}.dex-pokeball-btn .pokeball-center{background:#fff;border:8px solid #c8a870;border-radius:50%;width:60px;height:60px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.pokedex-bottom-search,.pokedex-bottom-controls{z-index:2;position:relative}.pokedex-toolbar{flex-direction:column;gap:16px;height:100%;display:flex}.search-input-wrapper{border:4px solid var(--ds-green-border);background:#fff;border-radius:8px;padding:8px}.search-input-wrapper input{border:none;outline:none;width:100%;font-size:8px}.ds-green-btn{background:var(--ds-green);border:4px solid var(--ds-green-border);color:#fff;cursor:pointer;text-align:left;border-radius:12px;flex:1;justify-content:space-between;align-items:center;padding:16px;display:flex;box-shadow:inset 2px 2px #fff6}.ds-green-btn:hover:not(:disabled){background:var(--ds-green-hover)}.ds-green-btn:disabled{filter:grayscale();cursor:not-allowed}.btn-text{text-shadow:1px 1px #333;font-size:12px;line-height:1.5}.btn-icon{opacity:.5;font-size:24px}.pokedex-bottom-controls{flex-direction:column;justify-content:center;align-items:center;gap:32px;display:flex}.ds-blue-btn{background:var(--ds-blue-btn);border:4px solid var(--ds-blue-btn-border);cursor:pointer;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;display:flex;box-shadow:inset 2px 2px #fff6,0 4px #0003}.ds-blue-btn:active:not(:disabled){transform:translateY(4px);box-shadow:inset 2px 2px #fff6,0 0 #0003}.ds-blue-btn:disabled{opacity:.5;cursor:not-allowed}.arrow-icon{flex-direction:column;align-items:center;gap:2px;display:flex}.up .arrow-icon:before,.up .arrow-icon:after{content:"";filter:drop-shadow(1px 1px #333);border-bottom:8px solid #fff;border-left:8px solid #0000;border-right:8px solid #0000;width:0;height:0}.down .arrow-icon:before,.down .arrow-icon:after{content:"";filter:drop-shadow(1px 1px #333);border-top:8px solid #fff;border-left:8px solid #0000;border-right:8px solid #0000;width:0;height:0}.dex-status-panel{display:none}.full-view-top{background:var(--ds-screen-top);border-radius:4px;grid-column:1/-1;grid-template-columns:140px 1fr;gap:16px;width:100%;height:100%;padding:16px;display:grid}.full-view-image{background:#fff;border:4px solid #a8b8c8;border-radius:12px;justify-content:center;align-items:center;display:flex;box-shadow:4px 4px #0000001a}.full-view-image img{filter:drop-shadow(2px 2px #0003);width:100px;height:100px;animation:3s ease-in-out infinite floatPokemon}.full-view-stats{flex-direction:column;gap:8px;display:flex}.full-view-header{color:#fff;text-shadow:1px 1px #333;border:4px solid #333;border-radius:8px;justify-content:space-between;align-items:center;padding:8px;display:flex}.full-view-header h2{margin:0;font-size:10px}.full-view-header span{font-size:10px}.full-view-types{gap:8px;display:flex}.full-view-types span{color:#fff;text-shadow:1px 1px #333;border:2px solid #333;border-radius:4px;padding:4px 8px;font-size:8px}.full-view-stats-list{flex-direction:column;gap:4px;padding-right:4px;display:flex;overflow-y:auto}.full-view-bottom{z-index:2;flex-direction:column;grid-column:1/-1;justify-content:space-between;width:100%;height:100%;padding:8px;display:flex;position:relative}.full-view-info{border:4px solid var(--ds-green-border);background:#ffffffb3;border-radius:12px;flex-direction:column;flex:1;gap:12px;padding:16px;display:flex}.metric-box{border-bottom:2px solid #d8d8d8;justify-content:space-between;padding-bottom:4px;display:flex}.metric-box span{color:#666;font-size:8px}.metric-box strong{color:#333;font-size:10px}.abilities-box{flex-direction:column;gap:8px;margin-top:8px;display:flex}.abilities-box span{color:#666;font-size:8px}.full-view-abilities{flex-wrap:wrap;gap:8px;display:flex}.full-view-controls{justify-content:space-between;align-items:center;margin-top:16px;display:flex}.full-view-nav{gap:16px;display:flex}.full-view-controls .ds-green-btn{flex:0 0 160px}@keyframes floatPokemon{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}@media (width<=768px){body{align-items:flex-start}.pokedex-shell{flex-direction:column;height:100dvh;padding:10px;display:flex}.pokedex-app{flex-direction:column;flex:1;height:100%;padding:10px;display:flex}.pokedex-hinge{margin:0 -10px}.pokedex-screen-top{flex:4;height:0;min-height:0;overflow:hidden}.pokedex-screen-bottom{flex:5.5;height:0;min-height:0;margin-top:10px;padding:10px;overflow:hidden}.dex-pokeball-btn,.pokemon-card-id{display:none}.pokemon-card-body{flex:1;min-width:0}.pokemon-card-body h3{white-space:nowrap;text-overflow:ellipsis;width:100%;font-size:8px;font-weight:600;overflow:hidden}.pokemon-illustration-frame{width:100%;height:100px}.pokemon-illustration-frame img{max-width:100px;max-height:100px}.pokemon-hero-copy{margin-top:12px}.panel-heading h2{font-size:8px}.panel-heading{padding:4px}.pokemon-type-chip{padding:2px 4px;font-size:6px}.type-icon-small{width:8px;height:8px}.pokemon-top-facts{margin-bottom:2px;font-size:6px}.pokemon-type-list{margin-bottom:2px}}@media (width<=380px),(height<=700px){.pokedex-shell{padding:6px}.pokedex-app{padding:8px}.pokedex-hinge{margin:0 -8px}.pokedex-screen-top{flex:3.5;padding:4px}.pokedex-screen-bottom{flex:6.5;margin-top:6px;padding:6px}.pokemon-illustration-frame{height:100px}.pokemon-illustration-frame img{max-width:100px;max-height:100px}.pokemon-hero-copy{margin-top:10px}.pokemon-top-facts{margin-bottom:2px;font-size:5px}.pokemon-type-chip{padding:2px 4px;font-size:5px}.type-icon-small{width:6px;height:6px}.panel-heading{padding:4px}.panel-heading h2{font-size:7px}.panel-counter{padding:2px 4px;font-size:7px}.pokemon-card-body h3{font-size:7px;font-weight:600}}.hidden-silhouette{filter:brightness(0)invert(0);opacity:.8;transition:all .5s}.revealed{filter:brightness()invert(0);transition:all .5s;animation:3s ease-in-out infinite floatPokemon}.pokemon-quest-info{background:#fff;border:4px solid #333;border-radius:8px;flex-direction:column;gap:12px;padding:12px;display:flex}.quest-status-title{text-align:center;background:var(--ds-blue);color:#fff;border-radius:4px;padding:6px;font-size:10px}.quest-clue{border-bottom:2px dashed #ddd;justify-content:space-between;align-items:center;padding-bottom:4px;font-size:9px;display:flex}.clue-label{color:#666}.clue-value{font-weight:700}.unknown-type{color:#fff!important;background:#999!important;border-color:#666!important}.quest-abilities{margin-top:8px}.quest-bottom-wrapper{z-index:2;align-items:center;width:100%;height:100%;display:flex;position:relative}.quest-form-container{flex-direction:column;flex:1;justify-content:center;display:flex}.quest-form{background:#ffffff80;border:4px solid #0000001a;border-radius:12px;flex-direction:column;gap:16px;padding:16px;display:flex}.form-group{flex-direction:column;gap:6px;display:flex}.form-group label{color:#333;text-shadow:1px 1px #fffc;font-size:8px}.secret-input-wrapper{cursor:text;background:0 0;border:none;min-height:34px;padding:8px 0;position:relative;overflow:hidden}.secret-input-hidden{color:#0000;caret-color:#0000;z-index:2;cursor:text;background:0 0;border:none;outline:none;width:100%;height:100%;position:absolute;top:0;left:0}.secret-input-display{color:#333;z-index:1;justify-content:flex-start;align-items:center;gap:4px;font-family:"Press Start 2P",monospace;font-size:12px;display:flex;position:relative}.secret-char{text-align:center;text-transform:uppercase;min-width:14px;display:inline-block}.secret-char.guessed-correct{color:#2e7d32;text-shadow:1px 1px #fffc}.id-guesser-wrapper{align-items:center;gap:16px;display:flex}.id-tumbler-group{background:#f8f8f8;border:4px solid #333;border-radius:8px;gap:8px;padding:8px;display:flex}.id-tumbler-col{flex-direction:column;align-items:center;gap:4px;display:flex}.tumbler-btn{background:var(--ds-blue-btn);border:4px solid var(--ds-blue-btn-border);color:#fff;cursor:pointer;border-radius:6px;justify-content:center;align-items:center;width:40px;height:24px;font-size:10px;display:flex;position:relative;box-shadow:inset 2px 2px #fff6,0 2px #0003}.tumbler-btn:active:not(:disabled){transform:translateY(2px);box-shadow:inset 2px 2px #fff6,0 0 #0003}.tumbler-btn:disabled{opacity:.5;cursor:not-allowed}.tumbler-btn:before{content:"";border-left:6px solid #0000;border-right:6px solid #0000;width:0;height:0;position:absolute}.tumbler-btn-up:before{filter:drop-shadow(1px 1px #333);border-bottom:6px solid #fff}.tumbler-btn-down:before{filter:drop-shadow(1px 1px #333);border-top:6px solid #fff}.tumbler-digit{color:#333;background:#fff;border:4px solid #c8c8b8;border-radius:4px;justify-content:center;align-items:center;width:40px;height:48px;font-family:"Press Start 2P",monospace;font-size:18px;display:flex;box-shadow:inset 2px 2px 4px #0000001a}.tumbler-digit.guessed-correct{color:#2e7d32;background:#c8e6c9;border-color:#4caf50}.secret-input-wrapper.guessed-correct .secret-input-display{color:#2e7d32}.form-group select{text-transform:uppercase;background:#fff;border:4px solid #333;border-radius:4px;padding:8px;font-family:"Press Start 2P",monospace;font-size:10px}.form-group select:disabled{cursor:not-allowed;background:#eee}.type-selects-wrapper{align-items:center;gap:12px;display:flex}.type-selects{flex-direction:row;flex:1;gap:8px;display:flex}.custom-type-selector{width:100%;position:relative}.type-selector-btn{cursor:pointer;color:#333;text-transform:uppercase;background:#fff;border:4px solid #333;border-radius:4px;justify-content:center;align-items:center;width:100%;height:32px;padding:0 8px;font-family:"Press Start 2P",monospace;font-size:8px;display:flex}.type-selector-content{justify-content:center;align-items:center;gap:6px;display:flex}.type-icon{filter:drop-shadow(1px 1px #0006);width:12px;height:12px}.type-icon-small{filter:drop-shadow(1px 1px #0006);vertical-align:middle;width:10px;height:10px;margin-right:4px}.type-selector-btn:disabled{cursor:not-allowed;opacity:.8;background:#eee}.type-selector-dropdown{z-index:100;background:#fff;border:2px solid #333;border-radius:4px;flex-direction:column;width:100%;max-height:200px;margin-bottom:4px;display:flex;position:absolute;bottom:100%;left:0;overflow-y:auto;box-shadow:0 -4px 8px #0003}.type-option{cursor:pointer;text-transform:uppercase;border-bottom:1px solid #0000001a;justify-content:center;align-items:center;height:28px;min-height:28px;font-family:"Press Start 2P",monospace;font-size:8px;display:flex}.type-option.empty-option{color:#333;background:#fff}.type-option:hover{filter:brightness(1.1)}.type-option:last-child{border-bottom:none}.btn-check{background:var(--ds-green);border:4px solid var(--ds-green-border);color:#fff;cursor:pointer;text-shadow:1px 1px #333;border-radius:8px;height:100%;margin-left:auto;padding:12px 16px;font-family:"Press Start 2P",monospace;font-size:10px;box-shadow:inset 2px 2px #fff6,0 4px #0003}.btn-check:active:not(:disabled){transform:translateY(4px);box-shadow:inset 2px 2px #fff6,0 0 #0003}.btn-check:hover:not(:disabled){background:var(--ds-green-hover)}.btn-check-correct{color:#2e7d32;text-shadow:none;cursor:default;background:#c8e6c9;border-color:#4caf50;box-shadow:inset 2px 2px #fff9}.btn-green-large{color:#fff;cursor:pointer;text-shadow:2px 2px #0000004d;background:linear-gradient(#a8e063 0%,#4caf50 100%);border:4px solid #333;border-radius:8px;margin-top:8px;padding:16px;font-family:"Press Start 2P",monospace;font-size:10px;transition:all .1s;box-shadow:0 4px #333,inset 0 4px #fff6}.btn-green-large:active{transform:translateY(4px);box-shadow:0 0 #333,inset 0 4px #fff6}.quest-success{text-align:center;background:#fffc;border:4px solid #4caf50;border-radius:12px;flex-direction:column;align-items:center;gap:20px;padding:24px;display:flex}@keyframes subtleGreenPulse{0%,to{background-color:#f8f8f8}50%{background-color:#b5e5a4}}.success-pulse{animation:1.5s ease-in-out infinite subtleGreenPulse!important}@keyframes subtleGreenPulseHeader{0%,to{background-color:var(--ds-blue)}50%{background-color:#388e3c}}.panel-heading.success-pulse{animation:1.5s ease-in-out infinite subtleGreenPulseHeader!important}.quest-success h2{color:#2e7d32;margin:0;font-size:16px;animation:1s infinite pulse}.quest-success p{color:#333;font-size:9px;line-height:1.5}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes shakeError{0%,to{transform:translate(0)}20%{transform:translate(-4px)}40%{transform:translate(4px)}60%{transform:translate(-4px)}80%{transform:translate(4px)}}.shake-error{animation:.4s ease-in-out shakeError;color:#e74c3c!important;border-color:#e74c3c!important}.shake-error select,.shake-error .type-selector-btn{color:#e74c3c!important;border-color:#e74c3c!important}.hinge-filters{align-items:center;gap:8px;display:flex}.hinge-filter-btn{cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;margin:0;padding:0;transition:transform .1s;display:flex}.hinge-filter-btn:hover{transform:scale(1.2)}.hinge-filter-btn.active .pokemon-card-dot{box-shadow:0 0 0 2px #fff,0 0 0 4px #333}.dot-gray{background:#a8a8a8!important}.btn-profile{color:#333;cursor:pointer;background:#ffcb05;border:4px solid #c7a008;border-radius:6px;justify-content:center;align-items:center;width:26px;height:26px;display:flex;box-shadow:inset 2px 2px #fff9,0 2px #0003}.btn-profile:active{transform:translateY(2px);box-shadow:inset 2px 2px #fff9,0 0 #0003}.btn-profile svg{width:18px;height:18px}.hints-sidebar{border-left:2px dashed #0000001a;flex-direction:column;flex:0 0 56px;justify-content:center;align-items:center;gap:12px;margin-left:8px;padding-left:8px;display:flex}.hints-header{flex-direction:column;align-items:center;gap:6px;width:100%;margin-bottom:8px;display:flex}.hints-title{color:#fff;background:var(--ds-blue);text-align:center;border-radius:4px;width:100%;padding:4px 6px;font-family:"Press Start 2P",monospace;font-size:12px}.hints-indicator-container{justify-content:center;gap:3px;display:flex}.hint-dot{background:#ccc;border:2px solid #333;width:10px;height:10px}.hint-dot.active{background:#ffcb05}.hint-timer{color:#fdfdfd;text-shadow:1px 1px #333;text-align:center;margin-top:4px;font-family:"Press Start 2P",monospace;font-size:12px}.hint-item{flex-direction:column;align-items:center;width:100%;display:flex}.hint-btn-square{color:#333;cursor:pointer;background:#ffcb05;border:3px solid #c7a008;border-radius:6px;justify-content:center;align-items:center;width:72px;height:32px;font-family:"Press Start 2P",monospace;font-size:8px;display:flex;box-shadow:inset 2px 2px #fff9,0 2px #0003}.hint-btn-square:active:not(:disabled){transform:translateY(2px);box-shadow:inset 2px 2px #fff9,0 0 #0003}.hint-btn-square:disabled{opacity:.4;cursor:not-allowed;filter:grayscale()}.curtain-overlay{z-index:9999;pointer-events:none;background:#000;width:100%;height:50%;position:absolute;left:0}.curtain-top{top:0;transform:translateY(-100%)}.curtain-bottom{bottom:0;transform:translateY(100%)}@keyframes curtainTopClose{0%{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes curtainBottomClose{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes curtainTopOpen{0%{transform:translateY(0)}to{transform:translateY(-100%)}}@keyframes curtainBottomOpen{0%{transform:translateY(0)}to{transform:translateY(100%)}}.curtains-closing .curtain-top{animation:.4s ease-in forwards curtainTopClose}.curtains-closing .curtain-bottom{animation:.4s ease-in forwards curtainBottomClose}.curtains-opening .curtain-top{animation:.4s ease-out forwards curtainTopOpen}.curtains-opening .curtain-bottom{animation:.4s ease-out forwards curtainBottomOpen}@media (width<=768px){.quest-bottom-wrapper{flex-direction:column;justify-content:center;align-items:stretch;gap:clamp(4px,1.5dvh,12px);height:100%}.quest-form-container{flex-direction:column;flex:none;justify-content:center;min-height:0;display:flex}.quest-form{gap:clamp(4px,1.5dvh,12px);padding:clamp(6px,1.5dvh,12px)}.form-group{gap:clamp(2px,.5dvh,6px)}.form-group label{font-size:clamp(7px,2dvw,9px)}.secret-input-wrapper{min-height:clamp(24px,4dvh,32px);padding:clamp(2px,.5dvh,6px) 0}.secret-input-display{gap:2px;font-size:clamp(9px,2.5dvw,12px)}.secret-char{min-width:clamp(10px,3dvw,14px)}.id-tumbler-group{flex:1;justify-content:space-around;gap:clamp(2px,1dvw,6px);padding:clamp(2px,.8dvh,6px)}.tumbler-btn{width:clamp(26px,7dvw,32px);height:clamp(12px,2.5dvh,18px);font-size:clamp(7px,2dvw,9px)}.tumbler-digit{width:clamp(26px,7dvw,32px);height:clamp(26px,4.5dvh,36px);font-size:clamp(11px,3dvw,14px)}.btn-check{padding:clamp(6px,1dvh,8px) clamp(8px,2dvw,12px);font-size:clamp(7px,2dvw,9px)}.type-selector-btn{height:clamp(22px,3.5dvh,28px);font-size:clamp(7px,2dvw,9px)}.hints-sidebar{border-top:2px dashed #0000001a;border-left:none;flex-flow:wrap;flex:none;justify-content:flex-start;gap:clamp(4px,1dvh,8px);width:100%;margin-top:clamp(0px,.5dvh,4px);margin-left:0;padding-top:clamp(4px,1dvh,10px);padding-left:0}.hints-header{border-bottom:none;flex-direction:row;justify-content:space-between;align-items:center;width:100%;margin-bottom:clamp(2px,.5dvh,4px)}.hints-title{width:auto;padding:clamp(2px,.5dvh,4px) clamp(4px,1dvw,6px);font-size:clamp(8px,2.2dvw,10px)}.hint-timer{width:auto;margin-top:0;font-size:clamp(8px,2.2dvw,10px)}.hints-indicator-container{gap:2px}.hint-dot{width:clamp(6px,1.5dvw,8px);height:clamp(6px,1.5dvw,8px)}.hint-item{flex:0 0 calc(50% - 4px)}.hint-btn-square{width:100%;height:clamp(22px,4dvh,30px);font-size:clamp(6px,1.8dvw,8px)}}.tc-top-screen,.tc-bottom-screen{color:#484848;font-family:"Press Start 2P",monospace;background:repeating-linear-gradient(0deg,#e0f0e8,#e0f0e8 3px,#c8e0d8 3px 6px)!important;border:4px solid #4a6a6a!important;flex-direction:column!important;padding:0!important;display:flex!important}.tc-header{background:#68b0d8;border-bottom:3px solid #4080a8;justify-content:space-between;align-items:center;padding:8px 12px;display:flex}.tc-title{color:#181818;text-shadow:none;background:#5898d0;padding:6px 10px;font-size:12px;font-weight:400}.tc-id{color:#fff;text-shadow:1px 1px #5080a0;margin-right:8px;font-size:12px}.tc-body{flex:1;padding:16px 16px 24px;display:flex;position:relative}.tc-stats{z-index:2;flex-direction:column;flex:1;gap:32px;margin-top:16px;font-size:11px;display:flex}.tc-row{justify-content:space-between;align-items:flex-end;width:200px;display:flex}.tc-label{color:#484848;text-shadow:1px 1px #fffc}.tc-value{color:#282828;text-align:right;text-shadow:1px 1px #fffc}.tc-name-container{border-bottom:3px solid #888;align-items:flex-end;width:120px;padding-bottom:4px;display:flex}.tc-name{color:#282828;text-align:left;flex:1}.tc-star{color:#d0a028;margin-bottom:4px;font-size:10px}.tc-sprite-container{justify-content:center;align-items:center;width:140px;height:140px;display:flex;position:absolute;top:16px;right:16px}.tc-pokeball-bg{box-sizing:border-box;border:16px solid #a0c8b466;border-radius:50%;justify-content:center;align-items:center;width:130px;height:130px;display:flex;position:absolute}.tc-pokeball-bg:before{content:"";background:#a0c8b466;width:100%;height:16px;position:absolute}.tc-pokeball-center{z-index:1;background:0 0;border:10px solid #a0c8b466;border-radius:50%;width:36px;height:36px}.tc-trainer-sprite{z-index:2;height:150px;image-rendering:pixelated;filter:drop-shadow(2px 2px #00000026);position:relative}.tc-bottom-header{text-align:right;color:#68b0d8;text-shadow:1px 1px #fffc;padding:12px 16px;font-size:12px}.tc-bottom-body{background:#ffffffd9;border:3px solid #a8c8c8;border-radius:4px;flex-direction:column;flex:1;gap:18px;margin:0 16px 16px;padding:16px 20px;display:flex;box-shadow:inset 0 0 0 2px #a8c8c84d}.tc-stat-row{border-bottom:3px solid #b8d0c8;justify-content:space-between;padding-bottom:6px;font-size:11px;display:flex}.tc-stat-label{color:#666;text-shadow:1px 1px #fffc}.tc-stat-value{font-weight:700}.tc-red{color:#e83018;text-shadow:1px 1px #fffc}.btn-close-profile{color:#fff;cursor:pointer;background:#d32f2f;border:3px solid #b71c1c;border-radius:6px;justify-content:center;align-items:center;width:26px;height:26px;display:flex;box-shadow:inset 2px 2px #fff9,0 2px #0003}.btn-close-profile:active{transform:translateY(2px);box-shadow:inset 2px 2px #fff9,0 0 #0003}.btn-tc-action{cursor:pointer;text-shadow:1px 1px #333;color:#fff;text-align:center;border-radius:8px;justify-content:center;align-items:center;padding:12px;font-family:"Press Start 2P",monospace;font-size:8px;display:flex;box-shadow:inset 2px 2px #fff6,0 4px #0003}.btn-tc-action:active{transform:translateY(4px);box-shadow:inset 2px 2px #fff6,0 0 #0003}.btn-logout{background:#f89838;border:4px solid #c87828}.btn-delete{background:#d32f2f;border:4px solid #b71c1c}.tc-actions-container{justify-content:center;gap:12px;margin-top:auto;display:flex}@media (width<=768px){.tc-top-screen,.tc-bottom-screen{height:100%;min-height:0}.tc-sprite-container{width:clamp(80px,20dvh,140px);height:clamp(80px,20dvh,140px);top:clamp(8px,2dvh,16px);right:clamp(8px,2dvw,16px)}.tc-pokeball-bg{border-width:clamp(8px,2dvh,16px);width:clamp(70px,18dvh,130px);height:clamp(70px,18dvh,130px)}.tc-pokeball-bg:before{height:clamp(8px,2dvh,16px)}.tc-pokeball-center{border-width:clamp(6px,1.5dvh,10px);width:clamp(20px,5dvh,36px);height:clamp(20px,5dvh,36px)}.tc-trainer-sprite{height:clamp(80px,22dvh,150px)}.tc-stats{gap:clamp(12px,3dvh,32px);margin-top:clamp(8px,2dvh,16px)}.tc-row{width:clamp(120px,40dvw,200px)}.tc-label,.tc-value{font-size:clamp(7px,2dvw,11px)}.tc-name-container{width:clamp(80px,25dvw,120px)}.tc-bottom-body{gap:clamp(10px,2.5dvh,18px);margin:0 clamp(8px,2dvw,16px) clamp(8px,2dvh,16px);padding:clamp(10px,2dvh,16px)}.tc-stat-row{padding-bottom:clamp(4px,1dvh,6px);font-size:clamp(8px,2.5dvw,11px)}.tc-actions-container{gap:clamp(6px,1.5dvw,12px)}.btn-tc-action{padding:clamp(8px,2dvh,12px);font-size:clamp(6px,2dvw,8px)}}.intro-top-screen{background:linear-gradient(#f8fcf8 0% 8%,#e8f4f4 8% 16%,#d8ecec 16% 24%,#c8e4e4 24% 32%,#b8dcdc 32% 40%,#a8d4d4 40% 48%,#98cccc 48% 56%,#88c4c4 56% 65%,#78bca8 65% 72%,#68b49c 72% 79%,#58ac90 79% 86%,#48a484 86% 93%,#389c78 93% 100%);flex-direction:column;justify-content:space-between;align-items:center;padding:0;display:flex;position:relative;overflow:hidden}.professor-scene{flex-direction:column;flex:1;justify-content:center;align-items:center;width:100%;display:flex;position:relative}.professor-sprite{height:240px;image-rendering:pixelated;z-index:2;margin-bottom:-15px;animation:4s ease-in-out infinite floatOak;position:relative}@keyframes floatOak{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.shadow-ellipse{z-index:1;background:radial-gradient(closest-side,#e6fff0e6 0%,#e6fff080 40%,#e6fff000 100%);border-radius:50%;width:240px;height:60px;position:absolute;bottom:0}.dialogue-box{background:#fff;border:6px solid #b0c8f8;border-radius:16px;align-items:flex-start;width:94%;min-height:80px;margin-bottom:8px;padding:12px 16px;display:flex;position:relative;box-shadow:inset 0 0 0 2px #5078c8,0 2px 4px #0003}.dialogue-text{color:#333;white-space:pre-wrap;text-shadow:1px 1px #0000001a;margin:0;font-family:"Press Start 2P",monospace;font-size:11px;line-height:1.8}.dialogue-arrow{border-top:8px solid #f85838;border-left:6px solid #0000;border-right:6px solid #0000;width:0;height:0;animation:.6s infinite bounceArrow;position:absolute;bottom:8px;right:12px}@keyframes bounceArrow{0%,to{transform:translateY(0)}50%{transform:translateY(4px)}}.intro-bottom-screen{background:var(--ds-screen-bottom);justify-content:center;align-items:center;display:flex}.auth-form{background:#ffffffb3;border:4px solid #0003;border-radius:12px;flex-direction:column;gap:16px;width:90%;padding:20px;display:flex}.auth-header{text-align:center;border-bottom:2px dashed #a8a8a8;padding-bottom:8px}.auth-header h2{color:#333;text-shadow:1px 1px #fff;margin:0;font-size:12px}.auth-input-group{flex-direction:column;gap:6px;display:flex}.auth-input-group label{color:#555;text-shadow:1px 1px #fff;font-size:8px}.auth-input-group input{color:#333;text-transform:uppercase;background:#fff;border:4px solid #333;border-radius:6px;padding:10px;font-family:"Press Start 2P",monospace;font-size:10px;box-shadow:inset 2px 2px 4px #0000001a}.auth-input-group input:focus{background:#f0f4ff;border-color:#6b8bce;outline:none}.auth-actions{flex-direction:column;gap:8px;margin-top:8px;display:flex}.btn-auth-primary{background:var(--ds-green);border:4px solid var(--ds-green-border);color:#fff;cursor:pointer;text-shadow:1px 1px #333;text-align:center;border-radius:8px;padding:12px;font-family:"Press Start 2P",monospace;font-size:10px;box-shadow:inset 2px 2px #fff6,0 4px #0003}.btn-auth-primary:active{transform:translateY(4px);box-shadow:inset 2px 2px #fff6,0 0 #0003}.btn-auth-secondary{background:var(--ds-blue-btn);border:4px solid var(--ds-blue-btn-border);color:#fff;cursor:pointer;text-shadow:1px 1px #333;text-align:center;border-radius:8px;padding:10px;font-family:"Press Start 2P",monospace;font-size:8px;box-shadow:inset 2px 2px #fff6,0 4px #0003}.btn-auth-secondary:active{transform:translateY(4px);box-shadow:inset 2px 2px #fff6,0 0 #0003}@media (width<=768px){.intro-top-screen{justify-content:flex-end}.professor-scene{flex:1;min-height:0}.professor-sprite{object-fit:contain;height:clamp(70px,15dvh,140px);margin-bottom:clamp(-10px,-2dvh,-5px)}.shadow-ellipse{width:clamp(80px,20dvh,140px);height:clamp(20px,5dvh,40px)}.dialogue-box{border-width:4px;flex-shrink:0;width:96%;min-height:0;margin-bottom:clamp(4px,1dvh,8px);padding:clamp(6px,1.5dvh,10px)}.dialogue-text{font-size:clamp(8px,3.5vw,11px);line-height:1.5}.auth-form{gap:clamp(8px,2dvh,16px);padding:clamp(12px,3dvh,20px)}.auth-header h2{font-size:clamp(10px,3vw,12px)}.btn-auth-primary{padding:clamp(8px,2dvh,12px);font-size:clamp(8px,2.5vw,10px)}.btn-auth-secondary{padding:clamp(6px,1.5dvh,10px);font-size:clamp(6px,2vw,8px)}}
