@font-face{font-family:Edosz;src:url(./edosz-SQJrlkbd.ttf) format("truetype");font-weight:400;font-style:normal}*,*:before,*:after{box-sizing:border-box}:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;display:flex;justify-content:center;align-items:flex-start;min-width:320px;min-height:100vh;background-color:#242424;background-attachment:fixed}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.page{width:100%;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.top-container{width:100%;display:flex;align-items:flex-start;justify-content:center;padding:2rem 2rem 1.5rem;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:1.5rem;position:relative}.hero{display:flex;flex-direction:column;align-items:center;gap:25px}.title{font-family:Edosz,system-ui,sans-serif;font-size:4rem;font-weight:400;text-align:center;letter-spacing:.08em;background:linear-gradient(135deg,#e8b923,#fff5c0,#e8b923);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;filter:drop-shadow(0 0 18px rgba(232,185,35,.35));margin:0}.subtitle{font-size:.85rem;color:#ffffff73;letter-spacing:.12em;text-transform:uppercase;margin-top:-18px;text-align:center}.guess-form{display:flex;gap:12px;justify-content:center}.guess-input{padding:12px 16px;font-size:1.1rem;width:320px;max-width:90vw;border-radius:8px;border:1px solid #555}.guess-button{padding:12px 20px;font-size:1.1rem;border-radius:8px;border:none;background:#444;color:#fff;cursor:pointer}.guess-input:disabled,.guess-button:disabled{opacity:.5;cursor:not-allowed}.autocomplete-wrapper{position:relative;width:100%;max-width:350px}.autocomplete-box{position:absolute;top:50px;width:100%;background:#222;border:1px solid #444;border-radius:6px;max-height:200px;overflow-y:auto;z-index:10}.autocomplete-item{padding:8px 12px;cursor:pointer;display:flex;align-items:center;gap:12px;border-bottom:1px solid #333}.autocomplete-item:last-child{border-bottom:none}.autocomplete-item:hover{background:#333}.suggestion-img{width:30px;height:30px;object-fit:cover;border-radius:4px;background:#444}.suggestion-img-placeholder{width:30px;height:30px;border-radius:4px;background:#444}.bottom-container{width:100%;display:flex;justify-content:center;margin-top:1rem;margin-bottom:2rem}.results{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;display:flex;justify-content:center;padding:0 1rem;box-sizing:border-box}.table{width:100%;max-width:1600px;margin:0 auto;display:flex;flex-direction:column;gap:12px;background:#ffffff08;border-radius:10px;box-shadow:0 4px 24px #0006;padding:1rem}.header-row,.row{display:grid;grid-template-columns:1.2fr .7fr 1.5fr 1fr 2fr .75fr 1.6fr 1fr 1fr;gap:12px;min-width:0;width:100%}.header-cell,.cell,.character-cell-static{min-width:0;overflow-wrap:break-word;word-break:break-word}.header-cell{background:#ffffff1a;color:#fff;padding:12px;border-radius:6px;font-weight:700;font-size:.85rem;letter-spacing:.05em;text-align:center;display:flex;align-items:center;justify-content:center}.cell{padding:12px;border-radius:6px;display:flex;justify-content:center;align-items:center;min-height:48px;text-align:center;line-height:1.3;background-color:#333;color:#fff;opacity:0;animation:flipReveal 1s linear forwards;backface-visibility:hidden}.cell-text{font-size:.9rem}.color-cell.green{--final-bg: #2e7d32}.color-cell.yellow{--final-bg: #d4a017}.color-cell.red,.color-cell.higher,.color-cell.lower,.color-cell.older,.color-cell.younger{--final-bg: #c62828}.character-cell-static{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px;border-radius:6px;min-height:100px;background-color:#333;color:#fff;opacity:1;animation:revealCharacter .2s ease-out forwards;backface-visibility:hidden}.character-cell-static .character-image,.character-cell-static .character-name{opacity:1}.character-image{width:60px;height:60px;object-fit:cover;border-radius:4px;background:#444}.character-image-placeholder{width:60px;height:60px;border-radius:4px;background:#444}.character-name{font-weight:700;font-size:1rem;text-align:center;word-break:break-word;max-width:100%}.countdown{margin-top:16px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:4px}.countdown-label{font-size:.9rem;opacity:.8}.countdown-time{font-size:1.6rem;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:2px}.table-footer{margin-top:16px;font-size:.85rem;color:#aaa;text-align:center;border-top:1px solid #444;padding-top:8px}.scroll-hint{display:none;margin-top:8px;font-size:.8rem;color:#aaa;text-align:center;font-style:italic}@keyframes flipReveal{0%{transform:perspective(800px) rotateY(180deg);background-color:#333;opacity:0}80%{transform:perspective(800px) rotateY(36deg);background-color:#333;opacity:0}85%{transform:perspective(800px) rotateY(27deg);background-color:var(--final-bg, #333);opacity:1}to{transform:perspective(800px) rotateY(0);background-color:var(--final-bg, #333);opacity:1}}@keyframes revealCharacter{0%{background-color:#333}to{background-color:var(--character-final-bg, #333)}}.celebration,.waiting-message{display:flex;flex-direction:column;align-items:center;gap:20px;margin:20px 0;background:#ffffff0a;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:2rem}.celebration h2{font-size:2.5rem;color:#f9a825;text-shadow:0 0 10px rgba(249,168,37,.5);animation:pulse 1.5s infinite}.celebration p{font-size:1.2rem;color:#fff}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.cell.left-align{justify-content:flex-start!important;padding-left:16px}.list-item{display:flex;align-items:flex-start;gap:6px;text-align:left;width:100%}.bullet{color:#fff;font-size:1.2rem;line-height:1.3;flex-shrink:0}.list-item strong{font-weight:700}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%);background-color:#333;color:#fff;padding:12px 20px;border-radius:8px;box-shadow:0 4px 12px #0000004d;display:flex;align-items:center;gap:12px;z-index:1000;animation:slideUp .3s ease-out}.toast-close{background:none;border:none;color:#fff;font-size:1.4rem;cursor:pointer;padding:0;line-height:1}@keyframes slideUp{0%{opacity:0;transform:translate(-50%,20px)}to{opacity:1;transform:translate(-50%)}}.attempts-counter{position:absolute;top:20px;right:20px;background:#ffffff12;border:1px solid rgba(255,255,255,.15);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#fff;padding:8px 16px;border-radius:20px;font-size:1rem;font-weight:700;display:flex;align-items:center;gap:8px}.debug-button{background:#555;border:none;color:#fff;font-size:1.2rem;cursor:pointer;padding:4px 8px;border-radius:12px;line-height:1;transition:background .2s}.debug-button:hover{background:#777}.surrender-button{padding:10px 22px;font-size:.95rem;border-radius:20px;border:2px solid rgba(198,40,40,.7);background:#c6282814;color:#dc5050;cursor:pointer;font-weight:600;letter-spacing:.04em;opacity:.85;transition:background .2s,color .2s,opacity .2s,transform .1s}.surrender-button:hover{background:#c62828;color:#fff;opacity:1;transform:translateY(-1px)}.surrender-screen{display:flex;flex-direction:column;align-items:center;gap:16px;margin:20px 0;background:#ffffff0a;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:2rem}.surrender-screen h2{font-size:2rem;color:#c62828}.surrender-screen p{font-size:1.1rem;color:#fff}.surrender-character-image{width:120px;height:120px;object-fit:cover;border-radius:8px;border:3px solid #868788}.surrender-character-name{font-size:1.4rem;font-weight:700;color:#fff}.suggestion-text{display:flex;flex-direction:column;gap:2px}.suggestion-alias{font-size:.78rem;color:#aaa;font-style:italic}.difficulty-label{font-size:1rem;color:#c7c7c7;margin:4px 0 2px;text-align:center}.difficulty-selector{display:flex;gap:8px;margin-bottom:12px}.difficulty-btn{padding:10px 20px;font-size:1rem;border-radius:8px;border:2px solid #888;background:transparent;color:#ccc;cursor:pointer;transition:background .2s,color .2s,border-color .2s}.difficulty-btn:hover{border-color:#fff;color:#fff}.difficulty-btn.active{border-color:#e8b923;background:#e8b923;color:#1a1a1a}.difficulty-btn.active[data-difficulty=kiwami]{border-color:#c62828;background:#c62828;color:#fff}.action-bar{display:flex;gap:12px;justify-content:center;align-items:center;padding:.75rem 1rem 0}.hint-button{padding:10px 22px;font-size:.95rem;border-radius:20px;border:2px solid #e8b923;background:#e8b92314;color:#e8b923;cursor:pointer;font-weight:600;letter-spacing:.04em;transition:background .2s,color .2s,transform .1s}.hint-button:disabled{opacity:.5;cursor:not-allowed}.hint-button:hover{background:#e8b923;color:#111;transform:translateY(-1px)}.hints-container{display:flex;flex-direction:column;gap:8px;background:#e8b92314;border:1px solid rgba(232,185,35,.35);border-radius:10px;padding:14px 20px;min-width:260px;max-width:400px;width:100%}.hint-item{display:flex;gap:8px;align-items:baseline;font-size:.95rem}.hint-label{color:#e8b923;font-weight:700;white-space:nowrap}.hint-value{color:#fff}.hints-empty{color:#aaa;font-size:.9rem;text-align:center;margin:0}.hints-area{display:flex;justify-content:center;padding:.5rem 1rem;width:100%}.header-actions{display:flex;justify-content:flex-end;width:100%}.stats-button{background:none;border:none;font-size:1.4rem;cursor:pointer;padding:4px 8px}.stats-modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:100}.stats-modal{background:#1a1a2e;border:1px solid #444;border-radius:12px;padding:2rem;min-width:320px;max-width:90vw;position:relative;color:#fff}.stats-modal-close{position:absolute;top:12px;right:16px;background:none;border:none;color:#aaa;font-size:1.2rem;cursor:pointer}.stats-summary{display:flex;justify-content:space-around;margin:1rem 0 1.5rem}.stats-item{display:flex;flex-direction:column;align-items:center;gap:4px}.stats-item span{font-size:2rem;font-weight:700}.stats-item label{font-size:.75rem;color:#aaa;text-align:center}.stats-distribution{display:flex;flex-direction:column;gap:6px;margin-top:.5rem}.dist-row{display:flex;align-items:center;gap:8px}.dist-label{width:24px;text-align:right;font-size:.9rem}.dist-bar{background:#4a90d9;color:#fff;font-size:.8rem;font-weight:700;padding:2px 6px;border-radius:3px;min-width:2%;transition:width .3s ease}html,body{overflow-x:hidden;max-width:100%}.info-button{position:absolute;top:32px;left:20px;z-index:1;background:none;border:none;font-size:1.4rem;cursor:pointer;padding:4px 8px}.howto-modal{width:min(560px,90vw);max-height:85vh;overflow-y:auto;text-align:left}.howto-modal:focus{outline:none}.howto-modal h2{margin:0 2rem .75rem 0}.howto-modal h3{margin:1.25rem 0 .4rem;font-size:1.05rem;color:#e8b923}.howto-modal p,.howto-modal li{font-size:.95rem;line-height:1.5;color:#ddd}.howto-modal p{margin:.4rem 0}.howto-modal ul{margin:.4rem 0;padding-left:1.2rem}.howto-colors{list-style:none;padding-left:0!important}.howto-swatch{display:inline-block;width:1em;height:1em;border-radius:3px;vertical-align:-.15em}.howto-swatch.green{background:#2e7d32}.howto-swatch.yellow{background:#d4a017}.howto-swatch.red{background:#c62828}@media(hover:none){button,.autocomplete-item{touch-action:manipulation;-webkit-tap-highlight-color:transparent}.hint-button:hover:not(:disabled){background:#e8b92314;color:#e8b923;transform:none}.surrender-button:hover{background:#c6282814;color:#dc5050;transform:none}.difficulty-btn:not(.active):hover{border-color:#888;color:#ccc}.autocomplete-item:hover{background:transparent}.autocomplete-item:active{background:#333}}@media(max-width:900px){body{min-height:100vh;min-height:100dvh}#root,.page,.top-container,.hero,.bottom-container,.results{min-width:0;max-width:100%}#root{padding:.5rem .5rem calc(1rem + env(safe-area-inset-bottom,0px));padding-left:calc(.5rem + env(safe-area-inset-left,0px));padding-right:calc(.5rem + env(safe-area-inset-right,0px))}.page{min-height:0}.top-container{flex-direction:column;align-items:center;padding:.75rem .25rem 1rem;margin-bottom:1rem}.hero{width:100%;gap:14px}.header-actions{justify-content:flex-end}.stats-button,.info-button{min-width:44px;min-height:44px;padding:0;font-size:1.5rem}.info-button{top:1.25rem;left:.75rem}.title{font-size:clamp(3.5rem,22vw,6rem);line-height:1.1;max-width:100%;overflow-wrap:anywhere}.subtitle{font-size:.78rem;letter-spacing:.08em;margin-top:-8px;padding:0 .5rem}.attempts-counter{position:static;margin-top:12px;padding:6px 14px;font-size:.9rem}.difficulty-label{margin:0}.difficulty-selector{width:100%;max-width:420px;gap:6px;margin-bottom:4px}.difficulty-btn{flex:1 1 0;min-width:0;min-height:44px;padding:8px 6px;font-size:.95rem}.autocomplete-wrapper{max-width:100%}.guess-form{gap:8px;width:100%}.guess-input{flex:1 1 auto;min-width:0;width:auto;max-width:none;min-height:62px;padding:14px 18px;font-size:1.35rem;border-radius:12px}.guess-button{flex:0 0 auto;min-height:62px;padding:14px 20px;font-size:1.2rem;border-radius:12px}.autocomplete-box{top:70px;max-height:min(280px,40vh);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;box-shadow:0 8px 24px #00000080;text-align:left}.autocomplete-item{min-height:56px;padding:6px 14px;font-size:1.1rem}.suggestion-img,.suggestion-img-placeholder{width:44px;height:44px;flex-shrink:0}.action-bar{padding-top:.25rem}.hint-button,.surrender-button{min-height:44px}.hints-area{padding:.5rem 0}.hints-container{min-width:0;max-width:100%;padding:12px 14px;text-align:left}.hint-item{flex-wrap:wrap;gap:4px 8px}.celebration,.waiting-message,.surrender-screen{width:100%;gap:14px;padding:1.25rem 1rem;margin:12px 0}.celebration h2{font-size:clamp(1.25rem,6vw,1.7rem);text-align:center;margin:0}.celebration p{font-size:1.05rem}.surrender-screen h2{font-size:1.6rem;margin:0}.surrender-screen p{font-size:1rem;margin:0}.surrender-character-image{width:100px;height:100px}.surrender-character-name{font-size:1.2rem}.celebration .guess-button,.surrender-screen .guess-button,.waiting-message .guess-button{min-height:44px}.countdown-time{font-size:1.4rem}.stats-modal-overlay{align-items:flex-end;padding:0}.stats-modal{min-width:0;width:100%;max-width:100%;max-height:90vh;max-height:90dvh;overflow-y:auto;padding:1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom,0px));border-radius:16px 16px 0 0}.stats-modal h2{font-size:1.25rem;margin:0 2.5rem 0 0}.stats-modal-close{top:6px;right:6px;width:44px;height:44px;padding:0;font-size:1.3rem}.stats-summary{gap:4px}.stats-item span{font-size:1.6rem}.toast{bottom:calc(16px + env(safe-area-inset-bottom,0px));width:calc(100% - 1.5rem);max-width:420px;justify-content:space-between;padding:12px 14px;font-size:.95rem}.toast-close{min-width:32px;min-height:32px}.bottom-container{margin-top:0;margin-bottom:1rem}.results{padding:0;justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scroll-snap-type:none}.table{flex:0 0 auto;width:1400px;min-width:1400px;max-width:none;margin:0}.header-row,.row{min-width:0}.header-cell{padding:12px 6px;letter-spacing:.02em}.header-row>.header-cell:first-child,.character-cell-static{position:sticky;left:0;z-index:2}.header-row>.header-cell:first-child{background:#3d3d3d}.character-cell-static{box-shadow:6px 0 8px -4px #0000008c}.scroll-hint{display:block;order:-1;position:sticky;left:0;width:calc(100vw - 2.5rem);max-width:100%;margin:0 0 -4px;font-size:.8rem}.table-footer{position:sticky;left:0;width:calc(100vw - 2.5rem);max-width:100%;margin-top:4px;font-size:.78rem;line-height:1.4}}@media(max-width:380px){.difficulty-btn{font-size:.85rem}.guess-button{padding:14px;font-size:1.1rem}.guess-input{font-size:1.2rem;padding:14px}}@media(max-width:900px)and (max-height:480px){.stats-modal-overlay{align-items:center}.stats-modal{max-width:480px;border-radius:12px;max-height:94vh;max-height:94dvh}.autocomplete-box{max-height:30vh}}@media(max-width:900px)and (prefers-reduced-motion:reduce){.celebration h2{animation:none}}
