:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#e7ecf4;background:#0a1018;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at top right,#17263d 0,#0a1018 45%)}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}.shell{width:min(1080px,calc(100% - 2rem));margin:0 auto;padding:3rem 0 5rem}.centered{min-height:100vh;display:grid;place-items:center;align-content:center;gap:1rem}.auth-shell{min-height:100vh;display:grid;place-items:center}.card{background:#121d2de0;border:1px solid #293b53;border-radius:20px;box-shadow:0 20px 70px #00000047}.auth-card{width:min(100%,430px);padding:2.25rem}.eyebrow{color:#6ee7b7;font-size:.71rem;font-weight:800;letter-spacing:.16em}h1,h2,h3,p{margin-top:0}h1{margin-bottom:.35rem;font-size:clamp(2rem,5vw,3.2rem);line-height:1.05;letter-spacing:-.045em}h2{margin-bottom:.4rem;font-size:1.45rem;letter-spacing:-.025em}h3{margin:0;font-size:1.05rem}.lede,.muted{color:#9eafc4;line-height:1.55}.lede{margin-bottom:1.8rem}.stack{display:grid;gap:.65rem}label{color:#cbd6e4;font-size:.88rem;font-weight:650}input{width:100%;border:1px solid #344a65;border-radius:10px;background:#0e1826;color:#f5f8fc;padding:.78rem .9rem;outline:none}input:focus{border-color:#6ee7b7;box-shadow:0 0 0 3px #6ee7b726}button{border:0;border-radius:10px;color:#07130f;background:#6ee7b7;font-weight:800;padding:.78rem 1rem;transition:transform .12s ease,filter .12s ease}button:hover:not(:disabled){filter:brightness(1.07);transform:translateY(-1px)}.button-secondary{border:1px solid #3d5673;color:#dbe7f5;background:#142235;font-size:.85rem;padding:.6rem .8rem}.status{border-radius:10px;margin:.25rem 0 0;padding:.78rem .9rem;font-size:.9rem;line-height:1.45}.status.pending{color:#c5d6ec;background:#152b43;border:1px solid #2d5278}.status.validation{color:#ffd79a;background:#382913;border:1px solid #815a25}.status.unauthenticated,.status.forbidden{color:#ffc0c0;background:#3a1d29;border:1px solid #81394c}.status.conflict{color:#ffe29e;background:#3a3017;border:1px solid #806629}.status.server-error{color:#ffc0c0;background:#3a1d29;border:1px solid #81394c}.topbar,.section-heading,.world-card-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.topbar{margin-bottom:2rem}.session-actions{display:flex;align-items:center;gap:.8rem}.session-user{color:#9eafc4;font-size:.9rem}.create-card{display:grid;grid-template-columns:1fr minmax(300px,.9fr);align-items:center;gap:1.5rem;padding:1.4rem 1.5rem;margin-bottom:3rem}.create-card .muted{margin-bottom:0;font-size:.9rem}.create-form{display:flex;gap:.6rem}.create-form input{min-width:0}.create-form button{white-space:nowrap}.section-heading{margin-bottom:1rem}.world-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.world-card{padding:1.25rem;background:#111e2f;border:1px solid #263b54;border-radius:14px}.world-status{color:#6ee7b7;background:#6ee7b71c;border-radius:999px;padding:.25rem .55rem;font-size:.75rem;font-weight:750}.world-details{display:grid;gap:.8rem;margin:1.25rem 0 0}.world-details div{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;border-top:1px solid #24374e;padding-top:.65rem}dt{color:#8498b0;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em}dd{margin:0;color:#eef4fb;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.86rem;text-align:right;overflow-wrap:anywhere}.empty-state{color:#9eafc4;border:1px dashed #344a65;border-radius:14px;padding:2.5rem 1rem;text-align:center}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.world-enter{width:100%;margin-top:1.2rem}.feature-card{padding:1.3rem;background:#121d2dd1;border:1px solid #293b53;border-radius:16px}.game-shell{max-width:1220px}.game-topbar{align-items:flex-start}.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.game-grid>.market-panel,.game-grid>.transfer-panel{grid-column:1 / -1}.compact-details{display:grid;gap:.65rem;margin:1rem 0 0}.compact-details div{display:flex;justify-content:space-between;gap:1rem;align-items:baseline;border-top:1px solid #24374e;padding-top:.55rem}.compact-details dd{max-width:65%}.data-pill,.state-pill{color:#cfe2fa;border:1px solid #3c5876;background:#14273d;border-radius:999px;padding:.25rem .55rem;font-size:.75rem;font-weight:750;white-space:nowrap}.state-completed{color:#07130f;background:#6ee7b7;border-color:#6ee7b7}.state-expired,.state-cancelled{color:#ffc0c0;background:#3a1d29;border-color:#81394c}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem;margin:1rem 0 0}.metric-grid div{background:#0e1826;border:1px solid #263b54;border-radius:10px;padding:.75rem}.metric-grid dd{margin-top:.4rem;color:#f1f7ff;font-weight:750}.inline-form{display:flex;gap:.6rem;margin:1rem 0}.inline-form input{min-width:0}.market-results,.data-list,.timeline{list-style:none;padding:0;margin:1rem 0 0;display:grid;gap:.65rem}.market-results li,.data-list li{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem;border:1px solid #2b425f;border-radius:10px;background:#0e1826}.market-results small,.data-list small,.timeline small{display:block;color:#8fa4bc;margin-top:.25rem}.status-text{color:#9feac6;font-size:.78rem;font-weight:750}.empty-state.compact{padding:1.2rem .8rem}.action-form{margin-top:1rem;padding:1rem;border:1px solid #2c4561;border-radius:12px;background:#0e1826}.action-form h3{margin-bottom:.8rem}.notice,.preview-card{margin-top:1rem;border-radius:12px;padding:1rem}.negotiation-notice{display:flex;justify-content:space-between;gap:1rem;color:#ffe29e;background:#3a3017;border:1px solid #806629}.preview-card{background:#102b28;border:1px solid #2a7561}.preview-card button{margin-top:1rem}.timeline-block{margin-top:1.3rem;border-top:1px solid #293b53;padding-top:1rem}.timeline{counter-reset:timeline}.timeline li{display:grid;grid-template-columns:minmax(9rem,auto) 1fr;gap:.8rem;align-items:baseline;border-left:2px solid #42617d;padding:.45rem .8rem}.timeline li span{color:#9feac6;font-size:.78rem;font-weight:800}code{color:#cbe6ff;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}@media(max-width:700px){.shell{padding-top:1.5rem}.topbar,.section-heading{align-items:flex-start;flex-direction:column}.session-actions{width:100%;justify-content:space-between}.create-card{grid-template-columns:1fr}.create-form{flex-direction:column}.game-grid,.metric-grid{grid-template-columns:1fr}.inline-form{flex-direction:column}.game-topbar .session-actions{width:100%}}
