:root{font-family:Hiragino Sans,Noto Sans CJK JP,Yu Gothic,Meiryo,sans-serif;color:#262039;background:#faf8f3;font-synthesis:none;--ink: #262039;--muted: #625b70;--purple: #6941cf;--line: #e7e0ed}*{box-sizing:border-box}html{scroll-padding-top:24px}body{margin:0;min-width:280px}#root{display:flex;flex-direction:column;min-height:100svh}button,input{font:inherit}button{color:inherit;cursor:pointer}a{color:inherit}:focus-visible{outline:3px solid #6941cf;outline-offset:4px}main:focus{outline:none}h1,h2,h3,p{margin:0}.site-header{background:#fffdf9;border-bottom:1px solid #eee8e3}.header-inner,.container,.footer-inner{width:min(100% - 32px,1160px);margin-inline:auto}.header-inner,.footer-inner,nav{display:flex;align-items:center;justify-content:space-between}.header-inner{min-height:68px;gap:10px}nav{gap:clamp(10px,3vw,30px)}.brand,.help-button,.back-button,.icon-button{display:inline-flex;align-items:center;gap:8px}.brand{border:0;padding:0;background:transparent;font-weight:900;font-size:24px;letter-spacing:-.06em;white-space:nowrap}.brand-icon{display:grid;place-items:center;background:#d8f881;border:1.5px solid var(--ink);border-radius:11px;width:35px;height:35px;transform:rotate(-7deg)}.brand-dot{color:var(--purple)}.nav-games{font-weight:700;font-size:13px;text-decoration:none}.nav-games:hover{text-decoration:underline}.help-button{border:1px solid var(--line);border-radius:999px;background:#fff;padding:8px 12px;min-height:44px;font-size:13px;font-weight:700}.container{flex:1;padding-top:24px;padding-bottom:44px}.hero{overflow:hidden;background:#e9e0ff;border:1px solid #ded0f7;border-radius:26px;isolation:isolate}.hero-copy{padding:29px 21px 14px;position:relative;z-index:1}.eyebrow{display:inline-flex;align-items:center;gap:7px;color:#5430a3;background:#f7f2ff;border:1px solid #d9c7fa;border-radius:999px;font-size:11px;font-weight:800;padding:6px 10px}.hero h1{font-size:clamp(28px,7.4vw,59px);line-height:1.24;letter-spacing:-.08em;font-weight:900;margin:16px 0}.hero h1 span{color:#6236c7}.hero-description{font-size:14px;line-height:1.9;color:#4f4461}.desktop-break{display:none}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:21px}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:10px 14px;min-height:48px;border:1.5px solid var(--ink);border-radius:12px;font-size:14px;font-weight:800;box-shadow:0 3px 0 var(--ink);transition:transform .15s,box-shadow .15s}.button:hover{transform:translateY(-2px);box-shadow:0 5px 0 var(--ink)}.button:active{transform:translateY(2px);box-shadow:0 1px 0 var(--ink)}.primary{background:var(--purple);color:#fff}.secondary{background:#d8f881}.hero-art{display:grid;place-items:center}.hero-art img{width:100%;max-width:520px;height:auto;display:block;-webkit-mask-image:radial-gradient(ellipse 78% 74%,black 66%,transparent 100%);mask-image:radial-gradient(ellipse 78% 74%,black 66%,transparent 100%)}.demo-note{display:flex;align-items:center;flex-wrap:wrap;gap:6px 9px;background:#fff7dd;border:1px solid #f0e3ba;border-radius:12px;margin-top:16px;padding:10px 13px;font-size:12px;color:#615026}.demo-note strong{color:#493a1b}.catalog{margin-top:29px}.section-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}.section-icon,.game-icon,.avatar{display:inline-grid;flex:none;place-items:center}.section-icon{width:43px;height:43px;border-radius:13px;background:#eadeff;color:#562db4}.section-heading h2{font-size:23px;font-weight:900;letter-spacing:-.045em}.section-heading p{margin-top:3px;font-size:13px;color:var(--muted)}.game-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr))}.game-card{display:block;text-align:left;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 2px #eee8ef;padding:15px;min-width:0}.card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;color:var(--purple)}.game-icon{width:45px;height:45px;border-radius:13px;color:var(--ink);margin-bottom:11px}.lilac{background:#e9ddff}.lime{background:#e4f7ae}.peach{background:#ffe4cc}.blue{background:#d7eeff}.pink{background:#ffddec}.game-card h3{font-size:15px;font-weight:900;line-height:1.45;overflow-wrap:anywhere}.game-card p{margin-top:6px;font-size:12px;color:var(--muted);line-height:1.72}.mode-tags{margin-top:10px;display:flex;flex-wrap:wrap;gap:5px}.mode-tags span,.tag{background:#f4f0f8;color:#5f4c77;font-size:10px;font-weight:750;border-radius:20px;padding:3px 7px}.selectable{transition:border-color .15s,background .15s}.selectable:hover,.selectable[aria-pressed=true]{border-color:var(--purple);background:#faf6ff}.back-button{min-height:44px;padding:0 4px;border:0;background:none;font-size:13px;font-weight:750;margin:10px 0}.panel{max-width:550px;padding:clamp(18px,5vw,32px);margin-inline:auto;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 3px #eee8ef}.panel h1{font-size:clamp(22px,5vw,31px);margin-bottom:12px}.panel p,dialog p,dialog ol{font-size:14px;line-height:1.75;color:var(--muted)}.panel form{display:grid;gap:11px;margin-top:16px}.panel .button{width:fit-content;margin-top:6px}.panel label,legend{font-weight:750;font-size:14px}.panel input:not([type=radio]){width:100%;padding:11px;border:1px solid #b8acc7;border-radius:9px;color:var(--ink);min-height:46px}.panel .error{color:#a42e3c}.switcher{display:flex;flex-wrap:wrap;gap:5px;background:#f4effb;border-radius:12px;padding:4px}.switcher button{flex:1 1 130px;border:1px solid transparent;min-height:44px;border-radius:9px;background:transparent;font-size:14px;font-weight:750}.switcher button[aria-pressed=true]{background:#fff;border-color:var(--line);color:#542da9}.room-code{font-family:ui-monospace,monospace;letter-spacing:.1em;color:#542da9;margin-left:6px}.members{padding:0;list-style:none;display:grid;gap:8px}.members li{display:flex;align-items:center;gap:10px;border-radius:12px;padding:10px;background:#faf8fb}.avatar{width:35px;height:35px;border-radius:11px}.member-name{flex:1;overflow-wrap:anywhere}.tag{flex:none}.selection{margin:20px auto 0}.selection h2{margin-bottom:6px;font-size:20px}.selection fieldset{margin:14px 0 0;padding:8px 10px;border:1px solid var(--line);border-radius:10px}.mode-options{display:flex;flex-wrap:wrap;gap:4px 12px}.mode-options label{display:inline-flex;align-items:center;min-height:44px;gap:7px;cursor:pointer}.mode-options input{accent-color:var(--purple)}.selection .selection-note{margin-top:14px;background:#fff7dd;border-radius:8px;padding:8px 10px}.site-footer{border-top:1px solid #ece6e1}.footer-inner{min-height:67px;color:var(--muted)}.footer-brand{font-size:17px;font-weight:900;color:var(--ink)}dialog{width:min(100% - 32px,480px);border:1px solid var(--line);border-radius:20px;padding:21px;color:var(--ink)}dialog::backdrop{background:#21173488}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.icon-button{justify-content:center;width:44px;height:44px;background:#f4effb;border:0;border-radius:12px}dialog ol{padding-left:22px}@media(min-width:800px){.header-inner,.container,.footer-inner{width:min(100% - 80px,1160px)}.container{padding-top:32px}.hero{display:grid;grid-template-columns:1fr .98fr;min-height:365px;border-radius:30px}.hero-copy{padding:43px 0 43px clamp(30px,4.5vw,65px);align-self:center}.hero-art{padding:8px 19px 8px 0}.hero-art img{max-width:none}.hero h1{font-size:clamp(36px,4.65vw,61px)}.hero-description{font-size:15px}.desktop-break{display:initial}.button{padding-inline:19px}.game-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.game-card{padding:17px}.catalog{margin-top:32px}}@media(max-width:350px){.nav-games{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important}}
