/* Extensions of Guessname's teal/ivory game system; authentic item and creature art. */
@font-face{font-family:GuessNunito;src:url('assets/fan-guess-fonts/nunito-latin.woff2') format('woff2');font-style:normal;font-weight:400 1000;font-display:swap}
@font-face{font-family:GuessNunito;src:url('assets/fan-guess-fonts/nunito-vietnamese.woff2') format('woff2');font-style:normal;font-weight:400 1000;font-display:swap;unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}
*{box-sizing:border-box}body{margin:0}body.fan-game{font-family:GuessNunito,'Nunito Sans',sans-serif;line-height:1.5}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}a{text-underline-offset:4px}.fan-game ::selection{background:#f2cf77;color:#202e27}.fan-game :focus-visible{outline:3px solid #a45b15;outline-offset:4px}.fan-game [hidden]{display:none!important}.fan-game .shell{width:min(1080px,calc(100% - 32px));padding-bottom:50px}.fan-top{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;color:#fff}.fan-brand{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:900;letter-spacing:.08em;text-decoration:none}.fan-brand img{width:40px;height:40px;object-fit:contain}.fan-language{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:800}.fan-language select{padding:9px 12px;border:1px solid #b5cac1;border-radius:9px;background:#fffdf7;color:#263c33;min-height:42px}.fan-game .section-nav{margin:25px 0 22px}.fan-heading{display:flex;align-items:center;gap:20px;margin:0 0 20px;padding:25px 30px;background:#fff8eb;border-radius:18px}.fan-heading h1{font-size:clamp(28px,4vw,40px);letter-spacing:-.03em;line-height:1.12;margin:0 0 9px;font-weight:900}.fan-heading p{margin:0;color:#58564d;font-size:16px;max-width:64ch}.fan-heading img{width:76px;height:76px;object-fit:contain;margin-left:auto;flex-shrink:0}.fan-board{background:#fffdf6;border-radius:20px;overflow:hidden;box-shadow:0 14px 28px #00000012}.fan-controls{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:18px 24px;border-bottom:1px solid #deded0;background:#f3f0e4;flex-wrap:wrap}.fan-controls label{display:grid;gap:5px;font-size:12px;font-weight:800;color:#4e5c4c}.fan-controls select{min-height:42px;max-width:100%;padding:7px 34px 7px 12px;border:1px solid #b3bdb1;border-radius:8px;background:#fffdf7;color:#273c30;font-weight:800}.control-group{display:flex;gap:16px;flex-wrap:wrap}.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:8px 12px;border:1px solid #afbdb2;background:transparent;border-radius:8px;color:#2c493d;font-size:13px;font-weight:800}.icon-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}.round-strip{display:flex;align-items:center;gap:20px;padding:16px 28px 14px;font-size:13px;color:#4c5b4c}.round-strip strong{font-size:21px;color:#213e30;font-weight:900;font-variant-numeric:tabular-nums}.round-strip #bestText{margin-left:auto;text-align:right}.round-strip p{margin:0}.round-progress{height:4px;background:#e6e8dc}.round-progress span{display:block;height:100%;background:#307449;}.puzzle-layout{display:grid;grid-template-columns:1fr 1fr;min-height:405px}.puzzle-art{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;padding:30px 24px;background:#e5ebd5;color:#2c442b}.puzzle-caption{margin:18px 0 0;text-align:center;font-size:12px;color:#50644c;font-weight:700;max-width:45ch}.craft-scene{display:flex;align-items:center;justify-content:center;gap:17px;width:100%}.craft-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:8px;background:#787c69;box-shadow:0 9px 16px #0000001f}.craft-slot{display:grid;place-items:center;width:clamp(48px,6.1vw,72px);aspect-ratio:1;background:#c4c8b1;box-shadow:inset 2px 2px #6e735f,inset -2px -2px #f6f7e7;position:relative}.craft-slot img{width:77%;height:77%;object-fit:contain;image-rendering:pixelated}.craft-arrow{width:27px;flex-shrink:0;stroke:#4b5e3b;fill:none;stroke-width:2}.craft-output{display:grid;place-items:center;width:75px;aspect-ratio:1;background:#f3f4e6;box-shadow:inset 2px 2px #9da38b,inset -2px -2px #fff;font-size:38px;font-weight:900;color:#79816b}.craft-output img{width:80%;height:80%;object-fit:contain;image-rendering:pixelated}.ingredient-list{width:100%;max-width:360px;margin-top:28px;display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.ingredient-list span{padding:3px 8px;background:#f5f5e6;border-radius:5px;font-size:11px;color:#3d5339;font-weight:700}.puzzle-answer{padding:27px 30px;display:flex;flex-direction:column;justify-content:center;min-width:0}.question-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}.question-line h2{font-size:23px;font-weight:900;line-height:1.2;letter-spacing:-.02em;margin:0}.small-note{color:#5e6759;font-size:12px;margin:0 0 15px}.answer-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.answer-option{display:flex;align-items:center;text-align:left;gap:10px;min-height:76px;padding:10px 12px;background:#faf8ed;border:1px solid #c2c9b9;color:#2d432e;border-radius:11px;transition:background .15s ease-out,border-color .15s ease-out,transform .15s ease-out;font-weight:800;font-size:14px;line-height:1.25}.answer-option img{width:40px;height:40px;object-fit:contain;image-rendering:pixelated;flex-shrink:0}.answer-option:hover:not(:disabled){background:#e9f0dd;border-color:#60835c;transform:translateY(-2px)}.answer-option.is-right{background:#dbeed9;border-color:#3a7c40;color:#21552d}.answer-option.is-wrong{background:#f9e4df;border-color:#af5c4b;color:#7a3427}.answer-option:disabled:not(.is-right):not(.is-wrong){opacity:.6}.name-form{display:grid;gap:10px}.name-form label{font-size:13px;font-weight:800}.fan-input{width:100%;padding:12px 14px;border:1px solid #a9b8a3;border-radius:9px;background:#fff;color:#263e2e;min-height:49px;caret-color:#13734b}.fan-input::placeholder{color:#73796c}.fan-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:47px;padding:11px 22px;border:0;border-radius:9px;background:#246343;color:#fff;font-weight:900;font-size:15px;text-decoration:none}.fan-button:hover:not(:disabled){background:#164b30}.fan-button:disabled{background:#d4dbce;color:#66705e}.fan-button.secondary{border:1px solid #acbca3;background:#fffdf6;color:#315137}.fan-button.secondary:hover{background:#eef3e6}.answer-footer{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-top:20px}.text-button{background:none;border:0;color:#62695b;text-decoration:underline;text-underline-offset:3px;padding:9px 0;font-size:13px}.feedback{margin-top:18px;padding-top:17px;border-top:1px solid #d9dfd1}.feedback h3{margin:0 0 5px;font-size:19px;font-weight:900;color:#285c35}.feedback p{margin:0;color:#4f5949;font-size:14px}.feedback.wrong h3{color:#9b422d}.fan-toast{min-height:22px;margin:9px 0 0;color:#684b1f;font-size:13px}.session-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 25px;background:#f4f1e7;font-size:12px;color:#5a6655}.session-footer p{margin:0}.session-footer a{font-weight:800;color:#325d42}.fan-guide{background:#fffaf0;border-radius:17px;margin-top:24px;padding:28px 32px;color:#384d3d}.fan-guide h2{margin:0 0 13px;font-size:24px;color:#253b2b;letter-spacing:-.02em}.fan-guide h3{margin:23px 0 7px;font-size:17px}.fan-guide p{margin:0 0 11px;max-width:77ch}.fan-guide a{color:#12623e;font-weight:800}.guide-links{display:flex;flex-wrap:wrap;gap:15px;margin-top:18px}.summary{padding:45px 30px;text-align:center;background:#f0f4e4}.summary h2{font-size:32px;letter-spacing:-.025em;margin:0 0 8px}.summary p{max-width:54ch;margin:0 auto 18px;color:#4e6049}.summary-score{font-size:66px;line-height:1.1;color:#2c653e;font-weight:900;font-variant-numeric:tabular-nums;margin:20px 0 8px}.summary-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.share-output{width:min(100%,580px);min-height:105px;margin-top:18px;padding:12px;border:1px solid #a5b69d;border-radius:8px;background:#fff;font:14px/1.6 GuessNunito,sans-serif;color:#2d4432}.summary-list{max-width:640px;margin:28px auto 0;display:grid;gap:6px;text-align:left}.summary-item{display:flex;align-items:center;gap:12px;padding:9px 14px;background:#fffdf5;font-size:13px}.summary-item img{width:35px;height:35px;object-fit:contain}.summary-item strong{margin-left:auto;white-space:nowrap}.pokemon-game .puzzle-art{background:#e4edf2;color:#2f455c}.pokemon-art{width:min(100%,300px);height:280px;object-fit:contain;filter:drop-shadow(0 12px 10px #0000001c)}.pokemon-identity{text-align:center;margin-top:4px}.pokemon-identity .dex-number{font-size:12px;color:#52677a;font-weight:800}.pokemon-identity h2{font-size:29px;letter-spacing:-.025em;margin:3px 0 8px;font-weight:900;color:#233f57}.type-list{display:flex;align-items:center;justify-content:center;gap:7px}.type-list span{background:#f5f9fc;border:1px solid #afbfc9;border-radius:6px;padding:2px 10px;font-size:11px;color:#3a5266;font-weight:800}.pokemon-game .fan-button{background:#2b5677}.pokemon-game .fan-button:hover:not(:disabled){background:#193e5d}.pokemon-game .fan-button.secondary{background:#fffdf6;color:#2b5677}.pokemon-game .round-progress span{background:#386a8e}.stat-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 20px}.stat-field{display:grid;gap:6px}.stat-field span{font-size:11px;letter-spacing:.03em;font-weight:900;color:#3e5770}.stat-field input{width:100%;min-width:0;padding:12px 9px;text-align:center;font-size:25px;font-weight:900;font-variant-numeric:tabular-nums;color:#244968;border:1px solid #aebcc7;border-radius:9px;background:#fff;caret-color:#1c5d8c}.stat-field input::placeholder{color:#587084}.stat-field input:disabled{background:#f2f5f7}.stat-field input.is-right{border-color:#398454;background:#e6f3e7}.stat-field input.is-near{border-color:#ae8b36;background:#f8f0d8}.stat-field small{font-size:11px;color:#4c6652;min-height:16px}.stat-reveal{display:grid;gap:8px;margin-top:15px}.stat-reveal-row{display:grid;grid-template-columns:68px 1fr 31px;gap:10px;align-items:center;font-size:11px;color:#526477}.stat-reveal-track{height:7px;background:#dce5eb;border-radius:3px;overflow:hidden}.stat-reveal-track i{display:block;background:#557da0;height:100%;}.stat-reveal-row strong{text-align:right;font-variant-numeric:tabular-nums;color:#294c6a}.pokemon-game .feedback h3{color:#2b5677}.save-note{display:flex;align-items:center;gap:6px}.save-note svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5}
@media(max-width:900px){.fan-heading{padding:23px}.puzzle-layout{grid-template-columns:1fr 1.08fr}.puzzle-art{padding:26px 17px}.puzzle-answer{padding:24px 22px}.craft-slot{width:54px}.craft-scene{gap:10px}.craft-output{width:58px}.craft-arrow{width:21px}.answer-option{flex-direction:column;text-align:center;gap:5px;font-size:13px}.stat-fields{gap:9px}.pokemon-art{height:260px}}
@media(max-width:650px){.fan-game .shell{width:calc(100% - 22px)}.fan-top{gap:8px}.fan-brand{font-size:12px;gap:8px}.fan-brand img{width:34px;height:34px}.fan-language{font-size:11px;gap:5px}.fan-language select{max-width:120px;padding:8px}.fan-heading{gap:10px;padding:20px;margin-bottom:15px}.fan-heading p{font-size:14px}.fan-heading img{width:55px;height:55px}.fan-heading h1{font-size:28px}.fan-controls{padding:14px 16px;gap:12px}.control-group{gap:12px}.fan-controls select{font-size:12px;padding:7px 25px 7px 8px}.icon-button{font-size:11px}.round-strip{padding:13px 18px;gap:12px;font-size:11px}.round-strip strong{font-size:18px}.puzzle-layout{grid-template-columns:1fr}.puzzle-art{padding:25px 18px}.craft-slot{width:65px}.craft-output{width:68px}.craft-scene{gap:16px}.ingredient-list{margin-top:20px}.puzzle-answer{padding:23px 20px}.answer-option{flex-direction:row;text-align:left;font-size:14px;min-height:70px}.answer-option img{width:35px;height:35px}.question-line h2{font-size:22px}.fan-guide{padding:23px 21px}.session-footer{padding:14px 20px}.summary{padding:32px 20px}.summary h2{font-size:28px}.pokemon-art{height:210px;width:235px}.pokemon-identity h2{font-size:26px}.pokemon-game .puzzle-art{padding:18px}.stat-field input{font-size:25px;min-height:57px}.stat-fields{gap:12px}.fan-toast{font-size:12px}.summary-score{font-size:58px}}
@media(max-width:360px){.craft-slot{width:56px}.craft-output{width:56px}.craft-scene{gap:10px}.answer-option{padding:10px 8px;gap:7px}.answer-option img{width:29px;height:29px}.round-strip{gap:9px}.fan-controls .icon-button{margin-left:auto}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep the shared header legible and the actual task within reach on phones. */
body.fan-game .shell{max-width:1080px}body.fan-game .fan-brand{color:#fff;text-decoration:none}body.fan-game .section-nav{margin:22px 0 20px}body.fan-game .section-nav a{display:grid;place-items:center;text-align:center;text-decoration:none;line-height:1.22}
@media(max-width:650px){body.fan-game .section-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:17px 0 15px}body.fan-game .section-nav a{min-height:47px;padding:6px 4px;font-size:10px}.fan-controls .control-group{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;gap:10px}.fan-controls label,.fan-controls select{min-width:0;width:100%}.fan-controls .icon-button{margin-left:auto}.craft-slot{width:clamp(48px,15vw,60px)}.craft-output{width:60px;flex-shrink:0}.craft-scene{gap:12px}.pokemon-art{height:175px;width:205px}.pokemon-game .puzzle-caption{margin-top:11px}.round-strip #bestText{font-size:10px}}
@media(max-width:360px){.craft-scene{gap:9px}.craft-output{width:52px}.fan-controls select{font-size:11px}}

.pokemon-identity p.dex-number{margin:0 0 9px}

.fan-game input::placeholder{opacity:1}

.pokemon-game .fan-button.secondary:hover:not(:disabled){background:#edf4f9;color:#193e5d}
