:root{font-family:Manrope,system-ui,sans-serif;color:#1e1831;background:#f5f2ff}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}#app{max-width:560px;min-height:100dvh;margin:auto;padding:28px 16px calc(100px + env(safe-area-inset-bottom));background:radial-gradient(circle at 90% 7%,#e9dfff,transparent 35%),#f5f2ff}.top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.brand{font-size:12px;font-weight:800;letter-spacing:.15em;color:#9565d9;text-transform:uppercase}.top h1{margin:4px 0;font-size:32px;line-height:1.08;letter-spacing:-.05em}.sub{color:#777187;margin:5px 0 0;font-size:14px}.pills{display:flex;gap:7px}.pill{background:#fff;border-radius:99px;padding:10px 11px;font-size:12px;font-weight:800;white-space:nowrap;box-shadow:0 6px 20px #684bad12}.pill b{color:#8c50dd}.card{background:#ffffffdb;border:1px solid #fff;border-radius:24px;box-shadow:0 10px 24px #7c61a61c,0 2px 6px #7c61a60d;padding:18px;margin:13px 0}.hero{background:linear-gradient(125deg,#261a46,#482866 65%,#8242c5);color:white;min-height:184px;position:relative;overflow:hidden;padding:25px}.hero:after{content:'✦';position:absolute;right:25px;top:10px;font-size:120px;color:#bd8aff55;transform:rotate(-15deg)}.hero h2{font-size:25px;line-height:1.05;max-width:180px;margin:12px 0}.hero p{font-size:13px;max-width:190px;opacity:.85}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.07em;color:#a873f1;text-transform:uppercase}.hero .eyebrow{color:#d6aaff}.primary,.soft,.ghost{border:0;border-radius:15px;padding:12px 17px;font-weight:800}.primary{background:linear-gradient(110deg,#7440e5,#b365f2);color:white;box-shadow:0 7px 16px #814ddb35}.hero .primary{background:#fff;color:#251536}.soft{background:#f0e8ff;color:#7035cb}.ghost{background:#fff;color:#302840}.wide{width:100%}.tilegrid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.tile{border:0;min-height:86px;background:#fff;border-radius:20px;box-shadow:0 9px 18px #7c61a61b;padding:12px 5px;color:#251c34;font-size:12px;font-weight:800}.tile .icon{display:block;font-size:28px;margin-bottom:7px}.section{display:flex;align-items:center;justify-content:space-between;margin:28px 2px 12px}.section h2{font-size:21px;letter-spacing:-.04em;margin:0}.section button{border:0;background:none;color:#716b80;font-size:13px}.row{display:flex;gap:10px}.mini{flex:1;text-align:center;min-width:0;padding:19px 8px}.mini .icon{font-size:35px}.mini h3{font-size:14px;margin:8px 0 2px}.mini p{font-size:12px;color:#716b80;margin:0}.seg{display:flex;padding:5px;border-radius:18px;background:#ebe5f8;gap:5px}.seg button{flex:1;border:0;background:transparent;border-radius:14px;padding:12px;color:#6b6378;font-weight:800}.seg button.on{color:white;background:linear-gradient(110deg,#7741e8,#b76cf0);box-shadow:0 5px 14px #824ddb40}.chips{display:flex;gap:8px;overflow:auto;padding:15px 0 5px}.chip{white-space:nowrap;border:0;border-radius:50px;padding:9px 15px;background:#fff;color:#504b59;font-size:12px;font-weight:700}.chip.on{background:#9454e6;color:white}.gamecard{background:linear-gradient(130deg,#34244f,#6b3f9b);color:white;min-width:0;flex:1;border-radius:23px;padding:17px;min-height:157px;text-align:left;border:0}.gamecard .icon{font-size:36px}.gamecard h3{margin:9px 0 3px}.gamecard p{font-size:12px;opacity:.8;margin:0}.listcard{display:flex;align-items:center;gap:13px}.listcard .icon{font-size:28px;background:#f1e8ff;border-radius:16px;padding:11px}.listcard strong{display:block;font-size:14px}.listcard small{display:block;color:#777187;font-size:12px;margin-top:4px}.listcard .arrow{margin-left:auto;color:#8d5bdf;font-size:22px}.banner{background:linear-gradient(115deg,#eee3ff,#eadcff);display:flex;align-items:center;gap:12px}.banner .icon{font-size:33px}.banner strong{font-size:15px}.banner p{font-size:12px;color:#625c6e;margin:3px 0}.bottom{position:fixed;z-index:20;bottom:0;left:50%;transform:translateX(-50%);width:min(560px,100%);display:flex;justify-content:space-around;background:#ffffffed;backdrop-filter:blur(18px);border-radius:25px 25px 0 0;padding:11px 7px calc(11px + env(safe-area-inset-bottom));box-shadow:0 -8px 30px #75669a18}.bottom button{border:0;background:none;color:#817a89;min-width:62px;font-size:10px;font-weight:800}.bottom button span{font-size:24px;display:block;margin-bottom:2px}.bottom button.on{color:#7841d8}.bottom button.on span{filter:drop-shadow(0 4px 8px #8f55d66b)}.empty{text-align:center;padding:31px 17px;color:#756c82}.empty .icon{font-size:40px;display:block;margin-bottom:9px}.profile{display:flex;align-items:center;gap:16px}.avatar{width:67px;height:67px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(140deg,#bc8cff,#6e36ce);color:white;font-size:30px;font-weight:800}.profile h2{margin:0;font-size:21px}.progress{height:9px;background:#e9e2f4;border-radius:20px;overflow:hidden;margin-top:18px}.progress i{display:block;height:100%;background:linear-gradient(90deg,#8045ec,#cc84f2);border-radius:20px}.statgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.stat{text-align:center}.stat b{display:block;font-size:24px;color:#7540d6}.stat span{font-size:12px;color:#756e80}.board{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;max-width:330px;margin:18px auto}.board button{aspect-ratio:1;border:0;border-radius:18px;background:#eee6fa;color:#7746d5;font-size:42px;font-weight:800}.board button.o{color:#e35b92}.board button:disabled{opacity:1}.wordrow{display:flex;justify-content:center;gap:5px;margin:8px 0}.wordrow span{min-width:0;width:38px;height:41px;border-radius:9px;background:#ebe5f5;font-weight:800;display:grid;place-items:center}.wordrow .correct{background:#61c986;color:#fff}.wordrow .present{background:#62a6ec;color:#fff}.wordrow .absent{background:#ed7780;color:#fff}.choice{display:block;width:100%;margin:8px 0;text-align:left;background:#fff;border:1px solid #e8def6;border-radius:16px;padding:15px;font-weight:700;color:#292239}.field{width:100%;border:1px solid #daccef;background:#fff;border-radius:15px;padding:14px;margin:8px 0;outline:none}.muted{color:#756f80;font-size:13px}.error{color:#bd3c64;font-size:13px}details{font-size:13px;color:#625b70}summary{cursor:pointer;font-weight:800}.toast{position:fixed;bottom:95px;left:50%;transform:translateX(-50%);background:#241b35;color:white;padding:12px 17px;border-radius:16px;z-index:30;font-size:13px;white-space:nowrap;box-shadow:0 8px 25px #22173250}@media(max-width:370px){.top h1{font-size:27px}.pill{padding:8px}.tile{font-size:11px}.wordrow span{height:33px}}
