@font-face{font-family:Grandstander Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/grandstander-vietnamese-wght-normal-B5nfZGX5.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Grandstander Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/grandstander-latin-ext-wght-normal-CbHBOYCY.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Grandstander Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/grandstander-latin-wght-normal-CQwu0ja0.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-cyrillic-ext-wght-normal-D4X5GqEv.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-cyrillic-wght-normal-CY6AOgYE.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-vietnamese-wght-normal-U01xdrZh.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-latin-ext-wght-normal-CXYtwYOx.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/nunito-latin-wght-normal-BzFMHfZw.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/cormorant-garamond-cyrillic-ext-wght-normal-Bg62sWL9.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/cormorant-garamond-cyrillic-wght-normal-BWCqVJN0.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/cormorant-garamond-vietnamese-wght-normal-CDLFB6hb.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/cormorant-garamond-latin-ext-wght-normal-ltf1AbuM.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/cormorant-garamond-latin-wght-normal-CUoBjw-S.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Figtree Variable;font-style:normal;font-display:swap;font-weight:300 900;src:url(/assets/figtree-latin-ext-wght-normal-DCwSJGxG.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Figtree Variable;font-style:normal;font-display:swap;font-weight:300 900;src:url(/assets/figtree-latin-wght-normal-D_ZTVpCC.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Literata Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/literata-cyrillic-ext-opsz-normal-C5tfwALZ.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Literata Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/literata-cyrillic-opsz-normal-DgmypKXX.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Literata Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/literata-greek-ext-opsz-normal-DGm64vGR.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Literata Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/literata-greek-opsz-normal-DFglUmAd.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Literata Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/literata-vietnamese-opsz-normal-Gqw5JQlq.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Literata Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/literata-latin-ext-opsz-normal-STiTPs0F.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Literata Variable;font-style:normal;font-display:swap;font-weight:200 900;src:url(/assets/literata-latin-opsz-normal-BHZsWIlc.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg:#16245a;--surface:#203272;--raised:#2a3f86;--line:#3d5299;--ink:#f4e8cf;--muted:#b4bfe3;--accent:#ffcf7a;--accent-hover:#ffe0a8;--blue:#2f6fd6;--red:#d23c3c;--yellow:#e6b800;--bless:#8fb6ff;--curse:#ff7f73;--gold:#f2b33d;--display:"Grandstander Variable", "Comic Sans MS", cursive;--body:"Nunito Variable", system-ui, sans-serif;--read:"Literata Variable", Georgia, serif;--ease-sheet:cubic-bezier(.32, .72, 0, 1);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--ink);font-family:var(--body);-webkit-text-size-adjust:100%;margin:0}p,.notice{text-wrap:pretty}a{color:var(--accent)}a:hover{color:var(--accent-hover)}button{font:inherit;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.screen{max-width:480px;min-height:100dvh;padding:24px 16px calc(28px + env(safe-area-inset-bottom));flex-direction:column;gap:20px;margin:0 auto;display:flex}.topbar{justify-content:space-between;align-items:center;gap:12px;min-height:32px;display:flex}.topbar .title{white-space:nowrap;font-family:var(--display);letter-spacing:.02em;font-size:24px;font-weight:700}.topbar .aside{color:var(--muted);text-align:right;align-items:center;gap:14px;font-size:14px;display:flex}.grow{flex-grow:1}.stack{flex-direction:column;gap:10px;display:flex}.muted{color:var(--muted)}.small{font-size:14px;line-height:1.5}.center{text-align:center}.label{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:12px;font-weight:600}.heading{font-family:var(--display);margin:0;font-size:40px;font-weight:700;line-height:1.05}.wordmark-title{margin:0}.wordmark-title img{width:min(100%,340px);height:auto;margin-left:-6px;display:block}.btn{border:1px solid var(--line);min-height:52px;color:var(--ink);cursor:pointer;background:0 0;border-radius:14px;padding:0 16px;font-size:16px;font-weight:600}.btn-danger{border-color:color-mix(in srgb, var(--curse) 55%, transparent);color:var(--curse)}a.btn{justify-content:center;align-items:center;text-decoration:none;display:flex}.btn-primary{background:var(--accent);min-height:56px;color:var(--bg);border:0;font-size:17px}.btn:disabled{cursor:default;background:var(--surface);border:1px solid var(--line);color:var(--muted)}.btn-small{border-radius:12px;min-height:44px;font-size:15px}.link-button{min-height:44px;color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0 4px;font-size:15px;font-weight:600}.link-button.inline{font-size:inherit;padding:0}.topbar a.link-button{align-items:center;text-decoration:none;display:inline-flex}.card{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:16px}.row{justify-content:space-between;align-items:center;gap:12px;display:flex}.divider{background:var(--line);height:1px}.notice{background:var(--raised);border-radius:14px;padding:14px 16px;font-size:15px;line-height:1.45}.tip-slot{grid-template-rows:1fr;transition:grid-template-rows .26s ease-out,opacity .2s ease-out,margin-top .26s ease-out;display:grid}.tip-slot.closing{opacity:0;grid-template-rows:0fr;margin-top:-20px}.tip-fold{min-height:0;overflow:hidden}@media (prefers-reduced-motion:reduce){.tip-slot{transition-duration:1ms}}.tip{flex-direction:column;gap:2px;padding-top:8px;display:flex}.tip-buttons{gap:2px;display:flex}.tip-buttons .kick:disabled{opacity:.3;cursor:default}.tip-texts{display:grid}.tip-texts>div{grid-area:1/1}.tip-texts>.unshown{visibility:hidden}.error{border:1px solid var(--red);color:#f5b4b4;border-radius:12px;padding:12px 14px;font-size:15px}.dot{border-radius:50%;flex-shrink:0;width:10px;height:10px;display:inline-block}.dot.blue{background:var(--blue)}.dot.red{background:var(--red)}.dot.yellow{background:var(--yellow)}.composition{flex-wrap:wrap;gap:14px;font-size:15px;display:flex}.composition span{align-items:center;gap:6px;display:inline-flex}.countdown{font-family:var(--display);color:var(--accent);font-size:40px;font-weight:700;line-height:1}.field{flex-direction:column;gap:8px;display:flex}.field label{font-size:15px;font-weight:600}.input{border:1px solid var(--line);background:var(--surface);height:56px;color:var(--ink);font:500 18px var(--body);border-radius:14px;padding:0 16px}.input:focus{border-color:var(--accent);outline:none}.qr-row{align-items:center;gap:16px;display:flex}.qr{background:var(--ink);border:0;border-radius:16px;flex-shrink:0;padding:12px;line-height:0}button.qr{cursor:zoom-in}.qr-big{padding:16px}.qr-big svg{width:100%;height:auto}.qr-side{flex-direction:column;flex-grow:1;gap:10px;min-width:0;display:flex}.hint{align-items:center;gap:6px;display:flex}.hint svg{flex-shrink:0}.link-input{width:100%;min-width:0;height:40px;color:var(--muted);font:400 14px var(--body);border-radius:10px;padding:0 12px}.chips{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.chips li{box-sizing:border-box;background:var(--surface);border:1px solid var(--line);border-radius:999px;align-items:center;min-height:38px;padding:4px 12px;font-size:15px;display:inline-flex}.pill-list{gap:8px}.pill{scroll-snap-align:start;border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--ink);font:inherit;cursor:pointer;border-radius:999px;flex-shrink:0;align-items:center;gap:6px;padding:8px 14px;font-size:15px;display:inline-flex}.pill.has-note{border-color:var(--accent)}.pill svg{color:var(--accent)}.pill[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 22%, var(--surface))}.pill-color{font-weight:600}.thumbs{grid-template-columns:1fr 1fr;gap:10px;display:grid}.thumbs button{border:1px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;cursor:pointer;border-radius:14px;flex-direction:column;align-items:center;gap:4px;padding:12px;font-weight:600;display:flex}.thumbs button:disabled:not([aria-pressed=true]){opacity:.45}.thumbs button[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 22%, var(--surface))}.notes.feedback{min-height:96px}.feedback-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.notes{border:1px solid var(--line);background:var(--surface);width:100%;min-height:25dvh;color:var(--ink);font:inherit;resize:vertical;border-radius:14px;padding:12px 14px;font-size:16px;line-height:1.45}.notes:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.chips li.kickable{gap:4px;padding-right:4px}.kick{min-width:28px;height:28px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;place-items:center;padding:0 6px;font-size:13px;font-weight:600;display:inline-grid}.split-note{min-height:2.9em;font-size:14px;line-height:1.45}.split-error{color:var(--curse)}.steppers{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.stepper{border:1px solid var(--line);border-radius:14px;flex-direction:column;align-items:center;gap:6px;padding:10px 0;display:flex}.stepper .name{color:var(--muted);align-items:center;gap:6px;font-size:14px;display:flex}.stepper .controls{align-items:center;gap:6px;display:flex}.stepper button{color:var(--ink);border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;width:44px;height:44px;font-size:20px;font-weight:600;display:inline-flex}.stepper button:disabled{color:var(--line);cursor:default}.stepper .value{text-align:center;min-width:18px;font-family:var(--display);font-size:28px;font-weight:700}@media (width<=360px){.stepper button{width:36px}}.hold{border:1px dashed var(--line);background:var(--surface);color:var(--ink);cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:none;-webkit-tap-highlight-color:transparent;border-radius:20px;padding:16px;display:grid}.hold *{pointer-events:none}.hold{isolation:isolate;position:relative;overflow:hidden}.hold-fill{z-index:-1;background:color-mix(in srgb, var(--accent) 24%, var(--surface));transform-origin:0;animation:linear forwards hold-fill;position:absolute;inset:0}@keyframes hold-fill{0%{transform:scaleX(0)}to{transform:scaleX(1)}}.hold .hold-title{font-family:var(--display);font-size:28px;font-weight:700}.hold-face{flex-direction:column;grid-area:1/1;display:flex}.hold-face.unseen{visibility:hidden}.hidden-face{text-align:center;justify-content:center;align-items:center;gap:10px}.hold.hold-spell{text-align:left;border-radius:14px;flex:1;padding:14px 16px}.hold-spell .hold-face{gap:2px}.spell-text{font-size:17px;font-weight:600}.hold.held-spell{border-style:solid;border-color:var(--accent)}.role-face{text-align:left;gap:14px}.hold.held{box-shadow:inset 0 0 0 4px var(--role);border-style:solid;border-color:#0000}.hold .role-face img{object-fit:cover;object-position:center 25%;border-radius:12px;width:100%;height:230px}.role-name{font-family:var(--display);font-size:34px;font-weight:700;line-height:1}.goal{font-size:17px;line-height:1.45}.segmented{background:var(--surface);border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:4px;display:grid}.segmented button{min-height:52px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:12px;font-size:17px;font-weight:600}.segmented button[aria-pressed=true]{background:var(--ink);color:var(--bg);font-weight:700}.targets{border:0;flex-direction:column;gap:8px;margin:0;padding:0;display:flex}.targets legend{margin-bottom:8px}.target{border:1px solid var(--line);cursor:pointer;border-radius:12px;justify-content:space-between;align-items:center;min-height:52px;padding:0 16px;font-size:17px;display:flex}.target.selected{border-color:var(--accent);background:var(--raised);font-weight:600}.target input{width:20px;height:20px;accent-color:var(--accent)}.choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.choices button{border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:12px;min-height:48px;font-size:16px;font-weight:500}.choices button[aria-pressed=true]{background:var(--ink);color:var(--bg);border:0;font-weight:700}.progress{background:var(--line);border-radius:2px;height:4px}.progress div{background:var(--accent);border-radius:2px;height:4px;transition:width .3s}.read-aloud{background:var(--surface);border:1px solid var(--line);border-radius:20px;flex-direction:column;flex-grow:1;justify-content:center;gap:20px;padding:28px 24px;display:flex}.read-aloud p{font-family:var(--display);margin:0;font-size:36px;font-weight:600;line-height:1.15}.witches{margin:0;padding:0;list-style:none}.witch{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:10px 0;display:flex}.witch img{border:3px solid var(--role);object-fit:cover;border-radius:10px;flex-shrink:0;width:52px;height:52px}.witch .who{flex-direction:column;flex-grow:1;gap:2px;min-width:0;display:flex}.witch .who .name{font-size:16px;font-weight:600}.badge{border-radius:999px;flex-shrink:0;padding:4px 10px;font-size:13px;font-weight:700}.badge.won{background:var(--gold);color:var(--bg)}.badge.lost{border:1px solid var(--line);color:var(--muted);font-weight:600}.role-blue{--role:var(--blue)}.role-red{--role:var(--red)}.role-yellow{--role:var(--yellow)}.hero{text-align:center;flex-direction:column;flex-grow:1;justify-content:center;align-items:center;gap:16px;display:flex}.hero h1{font-family:var(--display);margin:0;font-size:64px;font-weight:700;line-height:1}.hero .hat{width:min(62%,240px);height:auto;display:block}.hero .wordmark{width:min(100%,420px);height:auto;display:block}.with-banner{flex-direction:column;min-height:100dvh;display:flex}.with-banner>.screen{flex:1 0 auto;width:100%;min-height:0}.practice-slot{z-index:5;transition:height .32s var(--ease-sheet);flex-shrink:0;position:sticky;top:0;overflow:hidden}@media (prefers-reduced-motion:reduce){.practice-slot{transition:none}}.practice-banner{--tape-orange:#f59e0b;--tape-black:#0d0b12;background:linear-gradient(-45deg, var(--tape-orange) 25%, var(--tape-black) 0 50%, var(--tape-orange) 0 75%, var(--tape-black) 0);color:var(--tape-orange);text-align:center;background-size:28px 28px;justify-content:center;align-items:center;gap:12px;font-size:13px;animation:1.2s linear infinite tape;display:flex}@keyframes tape{0%{background-position:0 0}to{background-position:28px 0}}@media (prefers-reduced-motion:reduce){.practice-banner{animation:none}}.practice-banner>*{margin:calc(10px + env(safe-area-inset-top)) 0 10px}.practice-banner b{background:var(--tape-black);box-shadow:0 0 0 2px var(--tape-black);text-transform:uppercase;letter-spacing:.12em;border-radius:6px;padding:3px 10px;font-weight:800}.switch{border:1px solid var(--line);background:var(--raised);cursor:pointer;border-radius:16px;flex-shrink:0;width:52px;height:32px;padding:0;transition:background .16s ease-out;position:relative}.switch:after{content:"";background:var(--muted);border-radius:50%;width:24px;height:24px;transition:transform .16s ease-out,background .16s ease-out;position:absolute;top:3px;left:3px}.switch[aria-checked=true]{background:var(--accent);border-color:var(--accent)}.switch[aria-checked=true]:after{background:var(--bg);transform:translate(20px)}.switch:disabled{opacity:.6}.toast{left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:10;max-width:448px;margin:0 auto;position:fixed}.toast .error{background:var(--bg)}.has-icon{justify-content:center;align-items:center;gap:6px;display:inline-flex}.has-icon>svg{flex-shrink:0}.sheet-layer{z-index:10;position:fixed;inset:0}.sheet-backdrop{background:#08070ca8;animation:.22s ease-out sheet-fade;position:absolute;inset:0}.sheet.parchment,.rules-paper{--display:"Cormorant Garamond Variable", Georgia, serif;--body:"Figtree Variable", system-ui, sans-serif;font-family:var(--body);--bg:#efe6d3;--surface:#f7f0e1;--raised:#e6dbc4;--line:#d8ccb3;--ink:#2a2233;--muted:#6e6479;--accent:#5b45a8;--accent-hover:#4a3791;--bless:#2456b5;--curse:#a82a2a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.sheet{color:var(--ink);box-sizing:border-box;border:1px solid var(--line);background:var(--bg);width:100%;max-width:480px;max-height:92dvh;transition:transform .22s var(--ease-sheet);animation:sheet-up .32s var(--ease-sheet);border-bottom:0;border-radius:22px 22px 0 0;flex-direction:column;display:flex;position:absolute;bottom:0;left:50%;overflow:hidden;translate:-50%}.sheet-layer.closing .sheet{transform:translateY(100%)}.sheet-layer.closing .sheet-backdrop{opacity:0;transition:opacity .22s ease-out}.sheet-grab{touch-action:none;cursor:grab;padding:8px 16px 4px}.sheet-handle{background:var(--line);border-radius:3px;width:40px;height:5px;margin:0 auto 8px}.sheet-select{cursor:pointer;align-items:center;gap:4px;display:inline-flex;position:relative}.sheet-select select{appearance:none;field-sizing:content;color:inherit;font:inherit;letter-spacing:inherit;cursor:pointer;background:0 0;border:0;margin:0;padding:0 28px 0 0}.sheet-select select:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}.sheet-select option{background:var(--surface);color:var(--ink);font-family:var(--body);font-size:16px}.sheet-select svg{pointer-events:none;color:var(--muted);position:absolute;right:0}.sheet-body{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:transparent transparent;padding:4px 16px calc(32px + env(safe-area-inset-bottom));flex-direction:column;gap:16px;display:flex;overflow-y:auto}.sheet-body:hover{scrollbar-color:var(--line) transparent}@keyframes sheet-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes sheet-fade{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){.sheet,.sheet-backdrop,.sheet-layer.closing .sheet,.sheet-layer.closing .sheet-backdrop{transition:none;animation:none}}.rules{font-size:16.5px;line-height:1.62}.rules h2{font-family:var(--display);margin:28px 0 8px;font-size:26px;font-weight:700}.rules>:first-child{margin-top:0}.spell-word{white-space:nowrap}.spell-bless{color:var(--bless)}.spell-curse{color:var(--curse)}.rules mark{color:inherit;-webkit-box-decoration-break:clone;box-decoration-break:clone;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 60' preserveAspectRatio='none'%3E%3Cpath d='M6 20 L12 48 L19 13 L27 50 L33 12 L40 48 L48 11 L54 50 L61 15 L69 48 L75 14 L82 50 L90 13 L96 48 L103 12 L111 50 L117 11 L124 48 L132 15 L138 50 L145 14 L153 48 L159 13 L166 50 L174 12 L180 48 L187 11 L195 50 L201 15 L208 48 L216 14 L222 50 L229 13 L237 48 L243 12 L250 50 L258 11 L264 48 L271 15 L279 50 L285 14 L292 48 L292 30' fill='none' stroke='%23f2d54f' stroke-width='20' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 50%/100% 100% no-repeat;margin:0 -.2em;padding:.15em .35em}.sheet .rules,.sheet .witch-detail .goal,.rules-paper .rules,.rules-paper .witch-detail .goal{font-family:var(--read);font-optical-sizing:auto}.spell-word svg{vertical-align:-.2em;width:1.1em;height:1.1em;margin-right:.15em}.rules ul,.rules ol{padding-left:20px}.rules li{margin:6px 0}.rules table{font-variant-numeric:lining-nums tabular-nums;border-collapse:collapse;width:100%;font-size:15px}.rules th,.rules td{border-bottom:1px solid var(--line);text-align:left;padding:8px 6px}.rules th{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:12px}.witch-cards{flex-direction:column;gap:16px;display:flex}.scroll-row{position:relative}.scroll-list{scrollbar-width:thin;scrollbar-color:var(--muted) var(--surface);scroll-snap-type:x proximity;gap:6px;padding-bottom:8px;display:flex;overflow-x:scroll}.scroll-list::-webkit-scrollbar{height:6px}.scroll-list::-webkit-scrollbar-track{background:var(--surface);border-radius:3px}.scroll-list::-webkit-scrollbar-thumb{background:var(--muted);border-radius:3px}.witch-list button{scroll-snap-align:start;min-height:44px;color:var(--ink);font:600 12px var(--body);cursor:pointer;background:0 0;border:0;border-radius:10px;flex-direction:column;flex:0 0 76px;align-items:center;gap:4px;padding:6px 2px;display:flex}.witch-list button[aria-pressed=true]{background:var(--surface)}.portrait{box-sizing:border-box;object-fit:cover;border:3px solid;border-radius:10px;width:56px;height:56px}.portrait.blue{border-color:var(--blue)}.portrait.red{border-color:var(--red)}.portrait.yellow{border-color:var(--yellow)}.witch-details{touch-action:pan-y;display:grid}.witch-detail{border:4px solid var(--role);background:var(--surface);border-radius:20px;flex-direction:column;grid-area:1/1;gap:10px;padding:16px;transition:opacity .2s;display:flex}.witch-detail img{aspect-ratio:1;object-fit:cover;border-radius:12px;width:100%;max-height:300px}.witch-detail.unpicked{opacity:0;visibility:hidden;transition:opacity .2s,visibility 0s .2s}@media (prefers-reduced-motion:reduce){.witch-detail,.witch-detail.unpicked{transition:none}}.game-row{border:1px solid var(--line);background:var(--surface);border-radius:14px;align-items:center;gap:12px;padding:12px 16px;display:flex}.game-row a{min-width:0;min-height:44px;color:var(--ink);flex-direction:column;flex-grow:1;justify-content:center;gap:2px;text-decoration:none;display:flex}.game-title{font-size:17px;font-weight:600}.witch-portrait{display:flex;position:relative}.card-step{background:color-mix(in srgb, var(--bg) 88%, transparent);width:44px;height:44px;color:var(--ink);cursor:pointer;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:50%;translate:0 -50%;box-shadow:0 2px 8px #08070c59}.card-step:hover{background:var(--bg)}.card-step:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.card-step.start{left:8px}.card-step.end{right:8px}.chevron{z-index:1;width:44px;color:var(--ink);cursor:pointer;border:0;align-items:center;transition:opacity .15s ease-out;display:flex;position:absolute;top:0;bottom:14px}.chevron.start{background:linear-gradient(to right, var(--bg) 40%, transparent);justify-content:flex-start;left:0}.chevron.end{background:linear-gradient(to left, var(--bg) 40%, transparent);justify-content:flex-end;right:0}.chevron:disabled{opacity:0;pointer-events:none}.credits{color:var(--muted);margin:8px 0 0;font-size:13px}.spell-graph{width:100%;height:auto;display:block;overflow:visible}.spell-arrow{fill:none;stroke-width:2.2px;stroke-linecap:round}.spell-arrow.bless{stroke:var(--bless)}.spell-arrow.curse{stroke:var(--curse)}.arrowhead.bless{fill:var(--bless)}.arrowhead.curse{fill:var(--curse)}.spell-graph .ring{fill:none;stroke-width:3px}.spell-graph .ring.blue{stroke:var(--blue)}.spell-graph .ring.red{stroke:var(--red)}.spell-graph .ring.yellow{stroke:var(--yellow)}.spell-graph .name{fill:var(--ink);font-family:var(--body);text-anchor:middle;stroke:var(--bg);stroke-width:4px;stroke-linejoin:round;paint-order:stroke;font-size:12px}.spell-graph .node{cursor:pointer;outline:none}.spell-graph .node:focus-visible .ring{stroke:var(--accent);stroke-width:5px}.spell-graph .halo{fill:none;stroke:var(--accent);stroke-width:3px;filter:drop-shadow(0 0 6px var(--accent))}.spell-graph .you .name{fill:var(--accent);font-weight:700}.badge-won circle,.badge-cursed circle{stroke:var(--bg);stroke-width:2px}.badge-won circle{fill:var(--gold)}.badge-cursed circle{fill:var(--curse)}.graph-legend{flex-wrap:wrap;justify-content:center;gap:6px 16px;display:flex}.graph-legend span{align-items:center;gap:6px;display:inline-flex}.legend-arrow{border-top:2.5px solid;width:18px;height:0;display:inline-block}.legend-arrow.bless{border-color:var(--bless)}.legend-arrow.curse{border-color:var(--curse)}:root{--grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");--sky-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");--paper-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .32 0 0 0 0 .15 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");--strokes:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004 .03' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .6 0 0 0 0 .75 0 0 0 0 1 0 0 0 .3 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23b)'/%3E%3C/svg%3E");--paper-radius:20px 17px 22px 18px / 18px 22px 17px 20px}body{background:0 0}body:before{content:"";z-index:-1;pointer-events:none;background:var(--sky-grain), var(--strokes), radial-gradient(120% 70% at 50% 0%, #2a45a0 0%, #1b2c63 45%, #131f4a 100%);background-repeat:repeat,no-repeat,no-repeat;background-size:auto,100% 100%,auto;position:fixed;inset:0}.card,.notice,.hold{--bg:#f4e8cf;--surface:#f4e8cf;--raised:#eadbbb;--line:#d6c39c;--ink:#2a2233;--muted:#6f6378;--accent:#5b45a8;--accent-hover:#4a3791;--bless:#2456b5;--curse:#a82a2a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--ink);background:var(--paper-grain), linear-gradient(170deg, #f4e8cf, #eadbbb);border-radius:var(--paper-radius);border-color:#0000;box-shadow:0 5px #0b123066,0 12px 24px #0006}.hold{border:2px dashed #c9b48c}.hold.held{box-shadow:inset 0 0 0 4px var(--role), 0 5px 0 #0b123066, 0 12px 24px #0006}.hold .role-face img{border-radius:14px 12px 16px 13px}.label{font-family:var(--display);letter-spacing:.02em;text-transform:none;color:var(--accent);font-size:16px;font-weight:600}.btn{border:2px solid #fff3;border-radius:16px 14px 17px;font-weight:700}.btn-primary{background:var(--grain), linear-gradient(180deg, #ffd98a, var(--gold));color:#2a2233;font-family:var(--display);border:0;font-size:19px;font-weight:800;box-shadow:0 5px #a8741a,0 10px 18px #0006}.btn-primary:hover{background:var(--grain), linear-gradient(180deg, #ffe3a6, #f6c059)}.btn-primary:active{transform:translateY(3px);box-shadow:0 2px #a8741a,0 6px 12px #0006}.btn:disabled{color:var(--muted);box-shadow:none;background:#ffffff0d;border:2px solid #ffffff1f}.segmented{background:#0e1840aa;border-radius:18px;padding:5px;box-shadow:inset 0 2px 4px #0006}.segmented button{color:var(--muted);border-radius:14px 12px 15px;font-weight:700}.segmented button[aria-pressed=true]{background:var(--paper-grain), #f4e8cf;color:#2a2233;font-weight:800;box-shadow:0 3px #0005}.segmented button.has-icon{flex-direction:column;gap:4px;padding:12px 8px}.segmented button.bless[aria-pressed=true]{background:var(--grain), var(--blue);color:#fff;box-shadow:0 3px #173d80}.segmented button.curse[aria-pressed=true]{background:var(--grain), var(--red);color:#fff;box-shadow:0 3px #7d1f1f}.target{background:#ffffff0d;border:2px solid #ffffff2a;border-radius:14px 12px 15px 13px;font-weight:700}.target.selected{border-color:var(--accent);background:var(--paper-grain), #f4e8cf;color:#2a2233}.target.selected input{accent-color:#5b45a8}.rules-logo img{width:min(100%,320px);height:auto;margin:0 auto;display:block}.rules-nav{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.rules-nav a{color:var(--ink);border-radius:999px;padding:8px 12px;font-size:15px;font-weight:600;text-decoration:none}.rules-nav a[aria-current=page]{color:#2a2233;background:#f4e8cf}.rules-paper{color:var(--ink);background:var(--paper-grain), linear-gradient(170deg, #f4e8cf, #eadbbb);border-radius:var(--paper-radius);flex-direction:column;gap:16px;padding:20px 16px 24px;display:flex;box-shadow:0 5px #0b123066,0 12px 24px #0006}.rules-paper h1{font-family:var(--display);margin:0;font-size:34px;font-weight:700;line-height:1.1}.prerendered{max-width:600px;margin:0 auto;padding:24px 16px}.prerendered img{max-width:100%;height:auto}
