:root { --ink:#211d40; --muted:#625e78; --purple:#5b44d6; --purple-dark:#41309f; --pale:#f1efff; --line:#e8e6f3; --paper:#fafaff; --green:#16804a; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:"DM Sans",Arial,sans-serif; line-height:1.5; }
button,textarea { font:inherit; }
button { -webkit-tap-highlight-color:transparent; }
.shell { width:min(960px,calc(100% - 32px)); margin:auto; }
.topbar { display:flex; align-items:center; justify-content:space-between; min-height:75px; }
.logo { width:146px; height:auto; }
.back-link { color:var(--purple-dark); font-size:.92rem; font-weight:700; text-decoration:none; }
.back-link:hover { text-decoration:underline; }
.hero-wrap { overflow:hidden; background:radial-gradient(circle at 93% 0,#d7f6e6,transparent 35%),linear-gradient(135deg,#f1efff,#fff 58%,#f4fcf8); }
.hero { padding:34px 0 54px; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; padding:7px 12px; border:1px solid #d3ccfb; border-radius:999px; background:#fff; color:var(--purple-dark); font-size:.85rem; font-weight:700; }
.eyebrow::before { content:""; width:8px; height:8px; border-radius:50%; background:#48bb7b; box-shadow:0 0 0 4px #dff6e9; }
h1,h2,h3 { font-family:Outfit,Arial,sans-serif; line-height:1.08; letter-spacing:-.03em; }
h1 { max-width:680px; margin:18px 0 14px; font-size:clamp(2.6rem,9vw,4.2rem); }
h1 em { color:var(--purple); font-style:normal; }
.lead { max-width:600px; margin:0; color:var(--muted); font-size:1.08rem; }
.steps { display:flex; flex-wrap:wrap; gap:10px; margin-top:27px; }
.step { display:flex; align-items:center; gap:8px; padding:9px 12px; border:1px solid #dfdcf0; border-radius:12px; background:rgba(255,255,255,.78); color:#4f4a66; font-size:.91rem; font-weight:600; }
.step b { display:grid; place-items:center; width:22px; height:22px; border-radius:50%; background:var(--purple); color:#fff; font-size:.78rem; }
main { padding:54px 0 72px; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:22px; }
.section-kicker { margin:0 0 6px; color:var(--purple); font-size:.83rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
h2 { margin:0; font-size:clamp(1.8rem,5vw,2.45rem); }
.game-count { margin:0 0 3px; color:var(--muted); font-size:.9rem; }
#library { display:grid; gap:13px; }
.accordion { border:1px solid var(--line); border-radius:18px; background:#fff; overflow:hidden; box-shadow:0 5px 15px rgba(43,34,91,.035); }
.accordion-title { display:flex; align-items:center; justify-content:space-between; width:100%; padding:19px 20px; border:0; background:#fff; color:var(--ink); cursor:pointer; font-weight:700; text-align:left; }
.accordion-title:hover { background:#fcfbff; }
.accordion-title[aria-expanded="true"] { color:var(--purple-dark); background:#f7f5ff; }
.accordion-label { display:flex; align-items:center; gap:11px; }
.type-icon { display:grid; place-items:center; width:34px; height:34px; border-radius:11px; background:#eae7ff; font-size:17px; }
.chevron { color:var(--purple); font-size:1.35rem; transition:transform .2s; }
.accordion-title[aria-expanded="true"] .chevron { transform:rotate(180deg); }
.accordion-content { display:none; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; padding:0 14px 15px; }
.accordion-content.active { display:grid; }
.game-card { display:block; width:100%; min-height:94px; padding:15px; border:1px solid #e8e6f3; border-radius:14px; background:#fff; color:var(--ink); cursor:pointer; text-align:left; transition:border-color .2s,box-shadow .2s,transform .2s; }
.game-card:hover,.game-card:focus-visible { border-color:#a99df2; box-shadow:0 7px 17px rgba(67,48,171,.11); outline:0; transform:translateY(-1px); }
.game-card.selected { border-color:var(--purple); background:#f5f3ff; }
.game-name { display:block; font-weight:700; line-height:1.25; }
.tags { display:flex; flex-wrap:wrap; gap:5px; margin-top:9px; }
.tag { padding:3px 7px; border-radius:999px; background:#f0eff7; color:#6a657c; font-size:.72rem; line-height:1.2; }
.loading,.error { padding:24px; border-radius:16px; background:#fff; color:var(--muted); text-align:center; }
.error { color:#9a3140; border:1px solid #f2c7ce; }
.selected-panel { margin-top:45px; padding:26px; border:1px solid #dbd6fa; border-radius:24px; background:linear-gradient(135deg,#f4f2ff,#fff); box-shadow:0 13px 28px rgba(55,42,128,.08); }
.selected-top { display:flex; justify-content:space-between; gap:18px; align-items:center; margin-bottom:17px; }
.selected-label { margin:0 0 4px; color:var(--purple); font-size:.8rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
.selected-title { margin:0; font-size:1.48rem; }
.copy { display:inline-flex; flex:none; align-items:center; justify-content:center; gap:8px; min-height:47px; padding:10px 16px; border:0; border-radius:13px; background:var(--purple); color:#fff; cursor:pointer; font-weight:700; box-shadow:0 8px 18px rgba(91,68,214,.23); transition:background .2s,transform .2s; }
.copy:hover { background:var(--purple-dark); transform:translateY(-1px); }
.copy:disabled { opacity:.55; cursor:not-allowed; box-shadow:none; transform:none; }
textarea { display:block; width:100%; min-height:250px; padding:16px; resize:vertical; border:1px solid #dcd9eb; border-radius:15px; outline:0; background:#fff; color:#39344f; font-size:.94rem; line-height:1.55; }
textarea:focus { border-color:#9d91ed; box-shadow:0 0 0 4px rgba(91,68,214,.1); }
.info { min-height:24px; margin:11px 2px 0; color:var(--muted); font-size:.9rem; }
.info.success { color:var(--green); font-weight:700; }
footer { padding:31px 0 40px; border-top:1px solid var(--line); background:#fff; }
.footer-content { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.footer-logo { width:138px; }
.footer-links { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:9px 20px; color:var(--muted); font-size:.87rem; }
.footer-links a { text-decoration:none; }
.footer-links a:hover { color:var(--purple); }
@media (max-width:620px) { .topbar { min-height:65px; } .logo { width:127px; } .back-link { font-size:.83rem; } .hero { padding:26px 0 43px; } .lead { font-size:1rem; } main { padding:39px 0 54px; } .section-heading { align-items:flex-start; flex-direction:column; gap:6px; } .accordion-title { padding:16px; } .accordion-content { grid-template-columns:1fr; padding:0 11px 12px; } .game-card { min-height:82px; } .selected-panel { margin-top:32px; padding:18px; border-radius:19px; } .selected-top { align-items:stretch; flex-direction:column; gap:13px; } .copy { width:100%; } textarea { min-height:230px; } .footer-content { align-items:flex-start; flex-direction:column; } .footer-links { justify-content:flex-start; } }
.button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:52px; padding:12px 20px; border-radius:14px; font-weight:700; text-decoration:none; transition:transform .2s,box-shadow .2s,background .2s; }
.button:hover { transform:translateY(-2px); }
.button-play { color:#fff; background:var(--purple); box-shadow:0 10px 22px rgba(91,68,214,.25); }
.button-play:hover { background:var(--purple-dark); box-shadow:0 13px 28px rgba(91,68,214,.32); }
  