@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&display=swap');
:root{--purple:#4b2a7b;--violet:#7349a8;--magenta:#b12f7d;--gold:#c99a2e;--ink:#241b2f;--paper:#fbf8f2;--muted:#71697b;--line:#ddd5e5}
*{box-sizing:border-box}html,body{height:auto;min-height:0;overflow:visible;margin:0;padding:0}body{font-family:Montserrat,Arial,sans-serif;color:var(--ink);background:url('https://dcciportal.co.uk/wp-content/uploads/2026/02/Picture1.png') center top/cover no-repeat;padding:22px}.app-shell{max-width:1180px;margin:auto}.brandbar{display:flex;align-items:center;gap:18px;background:rgba(255,255,255,.94);border-radius:24px;padding:18px 24px;margin-bottom:18px;box-shadow:0 10px 30px rgba(54,31,80,.16)}.logo{width:150px}.eyebrow{margin:0;color:var(--magenta);font-weight:800;text-transform:uppercase;letter-spacing:.06em;font-size:.8rem}.brandbar h1{margin:2px 0 0;font-size:clamp(2rem,4vw,3.4rem);color:var(--purple)}.subtitle{margin:0;color:var(--muted);font-weight:700}.card{background:rgba(255,255,255,.96);border-radius:24px;padding:22px;box-shadow:0 10px 30px rgba(54,31,80,.14);border-left:7px solid var(--violet)}.intro{display:flex;align-items:center;gap:20px;margin-bottom:18px}.intro h2,.card h2{color:var(--purple);margin-top:0}.milo{width:120px;max-height:140px;object-fit:contain}.game-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.75fr);gap:18px;align-items:stretch}.game-card,.side-card{min-height:760px}.round-head{display:flex;justify-content:space-between;gap:15px;align-items:center}.round-head span{font-weight:800;color:var(--magenta)}.message{min-height:48px;background:#f4eef8;border-radius:14px;padding:12px 14px;margin:10px 0 16px;font-weight:700}.board{display:grid;gap:7px;justify-content:center;margin:0 auto 18px}.tile{width:54px;height:54px;border:2px solid #afa5bb;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:1.65rem;font-weight:800;text-transform:uppercase;background:white;transition:.2s}.tile.filled{border-color:var(--purple)}.tile.correct{background:var(--purple);color:white;border-color:var(--purple)}.tile.present{background:var(--gold);color:white;border-color:var(--gold)}.tile.absent{background:#756f79;color:white;border-color:#756f79}.keyboard{display:flex;flex-direction:column;gap:7px;align-items:center}.keyrow{display:flex;gap:5px}.key{min-width:40px;height:48px;border:0;border-radius:8px;background:#ebe5ef;color:var(--ink);font-weight:800;cursor:pointer}.key.wide{min-width:72px}.key.correct{background:var(--purple);color:white}.key.present{background:var(--gold);color:white}.key.absent{background:#756f79;color:white}.actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:18px}button{border:0;border-radius:999px;padding:12px 20px;background:linear-gradient(90deg,var(--purple),var(--magenta));color:white;font-weight:800;font-family:inherit;cursor:pointer}.secondary{background:#ece6f1;color:var(--purple)}.progress-track{height:14px;border-radius:999px;background:#ece6f1;overflow:hidden}.progress-track div{height:100%;width:0;background:linear-gradient(90deg,var(--violet),var(--magenta));transition:.3s}.round-list{display:grid;gap:10px;margin:18px 0}.round-item{padding:12px;border-radius:14px;background:#f6f1f8;font-weight:700}.round-item.solved{background:#e8f2e8;color:#245b32}.tip{margin-top:20px;padding:16px;background:#fff4d6;border-radius:16px;line-height:1.5}.bonus{margin-top:18px;text-align:center}.bonus.locked{opacity:.78}.milo-scene-wrap{position:relative;display:inline-block;max-width:100%}.milo-scene-wrap img{width:100%;max-width:900px;border-radius:22px;cursor:crosshair}.scene-message{margin-top:12px;font-weight:800}.complete{margin-top:18px;text-align:center;border-left-color:#35834e}.complete h2{color:#2f7243}
@media(max-width:820px){body{padding:10px}.game-layout{grid-template-columns:1fr}.game-card,.side-card{min-height:0}.intro{align-items:flex-start}.milo{width:90px}.tile{width:44px;height:44px;font-size:1.35rem}.key{min-width:31px;height:43px;font-size:.8rem}.key.wide{min-width:58px}.logo{width:115px}.brandbar{align-items:flex-start}}
