*{margin:0;padding:0;box-sizing:border-box}body{font-family:SF Mono,Monaco,Inconsolata,Roboto Mono,monospace;line-height:1.6;color:#e4e4e4;background:#1e1e1e;min-height:100vh}.container{max-width:900px;margin:0 auto;padding:20px;min-height:100vh;display:flex;flex-direction:column}.header{background:#2d2d30;padding:20px;border-radius:8px;margin-bottom:20px;border:1px solid #3e3e42;display:flex;justify-content:space-between;align-items:center}.logo{font-size:2.5rem;font-weight:700;color:#4fc3f7}.game-info{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.date{font-size:1.1rem;color:#999;font-weight:500}.attempts{font-size:1rem;color:#e4e4e4;font-weight:600}.game-area{flex:1;display:flex;flex-direction:column;gap:20px}.code-display{background:#252526;border-radius:8px;padding:20px;border:1px solid #3e3e42}.code-header{display:flex;justify-content:center;align-items:center;margin-bottom:15px;padding-bottom:10px;border-bottom:1px solid #3e3e42}.language{background:#007acc;color:#fff;padding:4px 12px;border-radius:4px;font-size:.85rem;font-weight:600;text-transform:uppercase}.difficulty{background:#f39c12;color:#fff;padding:4px 12px;border-radius:4px;font-size:.85rem;font-weight:600;text-transform:capitalize}.hint-section{background:#252526;border-radius:8px;padding:20px;border:1px solid #3e3e42}.hint-controls{display:flex;align-items:center;justify-content:center;gap:15px}.hint-label{color:#999;font-size:.9rem;font-weight:600}.hint-buttons{display:flex;gap:8px}.hint-btn{background:#1e1e1e;color:#999;border:1px solid #3e3e42;padding:6px 12px;border-radius:4px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .3s ease;min-width:32px}.hint-btn:hover{background:#2d2d30;color:#e4e4e4;border-color:#007acc}.hint-btn.active{background:#007acc;color:#fff;border-color:#007acc}.hint-btn:disabled{opacity:.5;cursor:not-allowed;background:#1e1e1e;color:#666}.hint-btn.locked{background:#1a1a1a;color:#555;border-color:#2a2a2a;cursor:not-allowed;position:relative}.hint-btn.locked:before{content:"🔒";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.7rem}.hint-points{color:#4fc3f7;font-size:.9rem;font-weight:600;margin-left:auto}.hint-examples{margin-top:20px;padding:15px;background:#1e1e1e;border:1px solid #3e3e42;border-radius:6px;display:none}.examples-container h4{color:#4fc3f7;margin-bottom:15px;font-size:1rem;font-weight:600}.examples-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px}.example-item{background:#252526;padding:12px;border-radius:4px;border:1px solid #3e3e42}.example-input,.example-output{margin:5px 0;font-size:.9rem}.example-label{color:#999;font-weight:600;display:inline-block;min-width:60px}.example-item code{color:#4fc3f7;background:#1e1e1e;padding:2px 6px;border-radius:3px;font-family:SF Mono,Monaco,Inconsolata,monospace}.code-block{background:#1e1e1e;border:1px solid #3e3e42;border-radius:6px;padding:20px;font-family:SF Mono,Monaco,Inconsolata,Roboto Mono,monospace;font-size:14px;line-height:1.5;overflow-x:auto;white-space:pre-wrap;color:#d4d4d4}.guess-section{background:#252526;border-radius:8px;padding:20px;border:1px solid #3e3e42}.guess-input-container{margin-bottom:15px}.guess-label{display:block;margin-bottom:10px;font-weight:600;color:#e4e4e4;font-size:1.1rem}.guess-input{width:100%;padding:15px;border:1px solid #3e3e42;border-radius:6px;font-size:16px;font-family:inherit;resize:vertical;min-height:80px;transition:border-color .3s ease;background:#1e1e1e;color:#e4e4e4}.guess-input:focus{outline:none;border-color:#007acc;box-shadow:0 0 0 2px #007acc33}.character-count{text-align:right;font-size:.85rem;color:#999;margin-top:5px}.submit-btn{background:#007acc;color:#fff;border:none;padding:15px 30px;border-radius:6px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;width:100%}.submit-btn:hover:not(:disabled){background:#005a9e}.submit-btn:disabled{opacity:.6;cursor:not-allowed;background:#555}.attempts-history{background:#252526;border-radius:8px;padding:20px;border:1px solid #3e3e42}.attempts-history h3{margin-bottom:15px;color:#e4e4e4;border-bottom:1px solid #3e3e42;padding-bottom:10px}.attempt-item{padding:12px;margin-bottom:10px;border-radius:6px;border-left:3px solid #007acc;background:#1e1e1e;display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.attempt-text{flex:1;font-size:.95rem;color:#d4d4d4}.attempt-score{background:#007acc;color:#fff;padding:4px 8px;border-radius:4px;font-weight:600;font-size:.85rem;min-width:60px;text-align:center;display:flex;flex-direction:column}.attempt-score .similarity{font-size:1rem;font-weight:600}.attempt-score .potential-points{font-size:.75rem;opacity:.9;margin-top:2px}.results{background:#252526;border-radius:8px;padding:25px;border:1px solid #3e3e42;text-align:center}.final-score h2{color:#e4e4e4;margin-bottom:15px}.score-display{margin-bottom:20px}.score-label{font-size:1.2rem;color:#999;margin-right:10px}.score-value{font-size:2.5rem;font-weight:700;color:#4fc3f7}.score-breakdown{display:flex;flex-direction:column;align-items:center;gap:8px}.final-score-value{font-size:2.5rem;font-weight:700;color:#4fc3f7}.score-formula{font-size:.9rem;color:#999;font-style:italic}.original-prompt{background:#1e1e1e;border:1px solid #3e3e42;border-radius:6px;padding:20px;margin:20px 0;text-align:left}.original-prompt h4{color:#e4e4e4;margin-bottom:10px;text-align:center}.original-prompt p{font-size:1.1rem;line-height:1.6;color:#d4d4d4;font-style:italic}.share-btn{background:#28a745;color:#fff;border:none;padding:12px 24px;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.share-btn:hover{background:#218838}.footer{background:#2d2d30;padding:15px 20px;border-radius:8px;margin-top:20px;text-align:center;border:1px solid #3e3e42}.footer p{color:#999;font-size:.95rem}.loading-overlay{position:fixed;inset:0;background:#1e1e1ef2;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1000}.loading-spinner{width:50px;height:50px;border:4px solid #3e3e42;border-top:4px solid #4fc3f7;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:20px}.loading-overlay p{color:#e4e4e4;font-size:1.2rem;font-weight:500}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideOut{0%{transform:translate(0);opacity:1}to{transform:translate(100%);opacity:0}}@media (max-width: 768px){.container{padding:15px}.header{flex-direction:column;gap:15px;text-align:center}.game-info{align-items:center}.logo{font-size:2rem}.code-header{flex-direction:column;gap:10px;align-items:flex-start}.code-block{font-size:13px;padding:15px}.attempt-item{flex-direction:column;gap:10px}.attempt-score{align-self:flex-end}.score-value{font-size:2rem}}@media (max-width: 480px){.container{padding:10px}.logo{font-size:1.8rem}.code-block{font-size:12px;padding:12px}.guess-input{font-size:14px}.submit-btn{padding:12px 20px;font-size:1rem}}.hidden{display:none!important}.beta-controls{position:fixed;bottom:10px;right:10px;z-index:100;max-width:250px}.beta-controls details{background:#2d2d30f2;border:1px solid rgba(62,62,66,.8);border-radius:6px;padding:8px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);box-shadow:0 2px 8px #0000004d}.beta-controls summary{cursor:pointer;font-weight:400;color:#888;padding:2px 0;-webkit-user-select:none;user-select:none;outline:none;font-size:12px;opacity:.6}.beta-controls summary:hover{opacity:.9;color:#aaa}.beta-controls-content{margin-top:8px;padding-top:8px;border-top:1px solid rgba(62,62,66,.6);display:flex;flex-direction:column;gap:6px}.beta-btn{padding:4px 8px;border:1px solid #555;border-radius:4px;background:#2d2d30;color:#ccc;cursor:pointer;font-size:11px;font-weight:400;transition:all .2s ease;align-self:flex-start;opacity:.7}.beta-btn:hover{opacity:1;background:#3e3e42;border-color:#666;color:#e4e4e4}.reset-btn:hover{background:#3d3417;border-color:#8b6914;color:#ffc107}.clear-btn:hover{background:#3d1a1a;border-color:#8b2635;color:#f56565}.beta-info{color:#777;font-style:italic;margin-top:4px;font-size:10px;opacity:.6}@media (max-width: 768px){.beta-controls{bottom:5px;right:5px;max-width:200px}.beta-controls-content{gap:4px}.beta-btn{font-size:10px;padding:3px 6px}.beta-controls summary{font-size:11px}}
