:root{color-scheme:light;--bg:#fff;--panel:#fff;--line:#eee7f2;--text:#514559;--muted:#82778a;--accent:#ae4f77;--purple:#ad95d9;--mint:#d2edc8;--pink:#fce9f0;font-family:"Arial Rounded MT Bold","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;font-synthesis:none;line-height:1.6}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);min-width:320px}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #b99bdd;outline-offset:5px}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}h1:focus{outline:none}button svg{width:21px;height:21px;flex-shrink:0}.ambient{position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 0 0,#fff0f6,transparent 40%),radial-gradient(ellipse at 100% 45%,#f3edfd88,transparent 35%)}.site-header{height:90px;max-width:1040px;margin:auto;padding:0 36px;display:flex;align-items:center;justify-content:space-between}.logo{font-size:20px;font-weight:800;letter-spacing:-.7px;display:flex;align-items:center;gap:10px}.logo-dot{color:#be7396;margin-left:-8px}.logo-eyes{background:var(--mint);color:#4d5a4a;font-size:25px;letter-spacing:2px;border-radius:12px;line-height:27px;padding:0 4px 4px 6px;transform:rotate(-9deg)}.help-button{border:0;background:#f5eef9;color:#8d6fa6;width:36px;height:36px;border-radius:50%;font-weight:800}main{max-width:880px;margin:24px auto 64px;padding:0 32px;min-height:65vh}.steps{display:flex;align-items:center;justify-content:center;margin:4px auto 42px;gap:14px}.steps>span{display:flex;align-items:center;gap:8px;font-size:14px;color:#918799;white-space:nowrap}.steps b{background:#f6f1f8;border:0;border-radius:50%;display:grid;place-items:center;width:28px;height:28px;font-size:13px}.steps .current{color:var(--accent);font-weight:750}.steps .current b,.steps .done b{background:#f9dfeb;color:#a24e74}.steps>i{height:2px;background:#eee5f3;width:44px;border-radius:5px}.eyebrow{font-size:14px;font-weight:650;letter-spacing:0;color:#9875ad;display:block}.intro{position:relative;padding:16px 0 42px}.intro h1,.page-heading h1{font-size:52px;letter-spacing:-2px;line-height:1.3;margin-top:15px;font-weight:800}.intro h1>span:first-child,.page-heading h1>span,.play-screen h1>span{color:#a47bc2}.title-mark{display:inline-block;color:#e4aac0;font-size:43px;margin-left:12px;vertical-align:top;transform:rotate(12deg)}.intro p{color:var(--muted);font-size:16px;line-height:1.9;margin-top:17px}.intro p strong{color:#8c6ba2;font-weight:650}.hero-cast{position:absolute;right:8px;top:30px;width:310px;height:220px}.speech{position:absolute;top:0;left:30px;background:#fff0f5;color:#a36d86;padding:8px 15px;border-radius:18px 18px 3px 18px;transform:rotate(-9deg);font-size:14px;font-weight:650}.spark{position:absolute;color:#deb2cc;font-size:36px}.spark-one{right:0;top:2px}.spark-two{bottom:0;left:-20px;font-size:25px;color:#b9a6d4}.setup-panel{padding:28px;border-radius:30px;background:#fff;box-shadow:0 8px 40px #9474ac0a;border:1px solid #f3ecf5}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:10px}.section-title h2{font-size:20px;letter-spacing:-.6px}.section-title>span{font-size:13px;color:#a295ab}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:14px}.mode-card{position:relative;text-align:left;padding:20px;border:2px solid transparent;border-radius:23px;background:#faf6fc;color:var(--text);transition:background .15s,border-color .15s,transform .15s}.mode-card.selected{border-color:#d9b3ca;background:#fff4f8}.mode-icon{display:grid;place-items:center;background:#e7f2df;border-radius:13px;font-size:23px;color:#78966a;font-weight:850;width:39px;height:39px;margin-bottom:14px;transform:rotate(-7deg)}.mode-icon.fool{color:#9270b1;background:#eee4f8;transform:rotate(7deg)}.mode-card strong{display:block;font-size:18px;margin-bottom:5px}.mode-card>span:last-child{font-size:14px;color:var(--muted);word-break:keep-all}.radio-dot{position:absolute;right:17px;top:20px;border:2px solid #dfd2e6;width:18px;height:18px;border-radius:50%}.selected .radio-dot{background:#c783a5;border:4px solid #fff;outline:2px solid #d9a8c2}.settings-row{display:flex;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px dashed #eee4f2;gap:10px}.settings-row label{font-size:16px;font-weight:750}.settings-row p{font-size:14px;color:var(--muted);margin-top:4px}.stepper{display:flex;align-items:center;gap:2px;padding:5px;border-radius:17px;background:#f7f2fa;flex-shrink:0}.stepper button{background:#fff;border:0;border-radius:12px;color:#9f7bb7;font-size:22px;width:33px;height:33px;line-height:1;box-shadow:0 2px 4px #9a80ad0a}.stepper input{width:38px;appearance:textfield;-moz-appearance:textfield;background:transparent;border:0;text-align:center;color:#705d80;font-weight:750;font-size:18px;padding:0}.stepper input::-webkit-inner-spin-button{appearance:none}.button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:58px;border-radius:23px;font-weight:750;font-size:17px;border:0;transition:transform .15s,filter .15s;letter-spacing:-.3px}.button:active:not(:disabled){transform:translateY(2px);box-shadow:none}.primary{background:#f7dce8;color:#87415f;box-shadow:0 5px 0 #edd0de}.primary:hover:not(:disabled){filter:brightness(1.025)}.setup-panel>.button{margin-top:27px}.under-note{text-align:center;font-size:13px;color:var(--muted);margin-top:17px}.site-footer{max-width:1040px;padding:24px 36px;margin:auto;display:flex;justify-content:space-between;color:#a99bad;font-size:13px;gap:10px}.page-heading{padding-bottom:24px}.back{display:block;background:none;border:0;color:#9b7fab;padding:0;margin-bottom:24px;font-size:14px}.page-heading h1{font-size:40px;margin-top:12px}.page-heading p{color:var(--muted);margin-top:13px;font-size:16px}.game-summary{display:flex;align-items:center;gap:9px;margin:0 0 24px;flex-wrap:wrap}.game-summary>span{font-size:14px;color:#92799f;background:#f5eef9;padding:7px 13px;border-radius:20px}.game-summary>span:first-child{color:#a65d80;background:#fcecf3}.topic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.topic-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;color:var(--text);background:#faf5fd;border:2px solid transparent;border-radius:25px;padding:20px 16px;text-align:left;min-height:195px;transition:transform .15s,border-color .15s}.topic-card:nth-child(4n+2){background:#f0f7eb}.topic-card:nth-child(4n+3){background:#fff3e9}.topic-card:nth-child(4n+4){background:#fff0f5}.topic-card.selected{border-color:#c99ebc;box-shadow:0 5px 0 #f2dfeb}.topic-emoji{font-size:34px;margin-bottom:20px;line-height:1}.topic-count{position:absolute;right:13px;top:20px;font-size:12px;color:#9f8ba9}.topic-card strong{font-size:18px}.topic-card>span:nth-last-child(2){font-size:14px;color:#85768e;margin-top:5px;word-break:keep-all;padding-right:5px}.topic-check{position:absolute;right:13px;bottom:12px;font-size:19px;color:#b39abc}.topic-card.selected .topic-check{color:#af648d}.topic-bottom{max-width:440px;margin:26px auto 0}.fair-note{font-size:14px;color:var(--muted);text-align:center;margin:0 0 24px;line-height:1.9}.fair-note>svg{width:17px;height:17px;vertical-align:middle;margin-right:4px;color:#a47bc2}.fair-note>span{font-size:13px}.play-screen{max-width:460px;margin:0 auto;text-align:center}.round-top{display:flex;justify-content:space-between;font-size:14px;color:var(--muted)}.round-top>span:last-child{color:#9a70b7;font-weight:750}.progress{height:7px;background:#f5edf9;border-radius:9px;margin:15px 0 36px;overflow:hidden}.progress span{display:block;background:#d6bee9;height:100%;border-radius:9px;transition:width .2s}.play-screen h1{font-size:34px;font-weight:800;letter-spacing:-1px;line-height:1.45;margin:13px 0}.play-intro{font-size:15px;color:var(--muted);min-height:24px;word-break:keep-all}.secret-card{border:2px solid #eee3f5;background:#fbf7fe;border-radius:30px;margin-top:26px;min-height:285px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 20px;position:relative;overflow:hidden}.secret-card:after{content:"";position:absolute;inset:10px;border:1px dashed #e2d1ed;border-radius:23px;pointer-events:none}.secret-label{font-size:15px;color:var(--muted)}.hidden-word{font-size:33px;letter-spacing:8px;color:#c7b5d5;line-height:1.5}.secret-card p{font-size:14px;color:var(--muted);margin-top:10px;word-break:keep-all}.secret-word{font-size:clamp(27px,7vw,43px);letter-spacing:-1px;color:#758d67;margin:20px 0;word-break:keep-all}.secret-card.revealed{border-color:#d7e8cc;background:#f6faef}.secret-card.revealed:after{border-color:#dce8d1}.liar-card.revealed{border-color:#e1cee9;background:#faf1fd}.liar-card .secret-word{color:#ae7dbb;font-size:70px;line-height:1}.liar-card .secret-label{color:#a471b3;font-size:22px;font-weight:750}.card-controls{margin-top:24px}.privacy-note{font-size:14px;color:var(--muted);display:flex;justify-content:center;align-items:center;gap:7px;margin:22px 0}.privacy-note svg{width:16px;height:16px}.hide-guide{font-size:14px;line-height:1.9;color:#8d779a;margin-bottom:14px}.hide-guide>span{display:block;font-size:24px;color:#c48ba7;line-height:1.2;margin-top:5px}.discussion{min-height:calc(100dvh - 80px);padding:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:52px}.discussion-art{display:flex;align-items:flex-end;justify-content:center;height:175px;margin:0;width:100%}.discussion-art .purple{margin-left:-6px;height:165px;width:145px}.discussion h1{font-size:32px;color:#8d70a9;letter-spacing:-.8px;line-height:1.7;margin:0;font-weight:750}.discussion>.button{margin-top:16px;max-width:400px}.screen-discussion{margin:0 auto;min-height:100dvh;display:grid;align-items:center}body:has(.screen-discussion) .site-header,body:has(.screen-discussion) .site-footer{display:none}.result-screen{padding-top:20px}.result-stamp{margin:30px auto 20px}.result-seats{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:26px 0}.result-seats>span{background:#f4eafa;color:#9771ad;border-radius:24px;padding:13px 20px;font-size:15px}.result-seats strong{font-size:28px;margin-right:4px}.answer-box{border:1px solid #e7eddf;border-radius:26px;margin-bottom:23px;display:flex;justify-content:space-around;background:#f6faef;overflow:hidden}.answer-box>div{padding:23px 10px;flex:1}.answer-box>div+div{border-left:1px dashed #e2d3ec;background:#f7effb}.answer-box span{display:block;font-size:14px;color:var(--muted)}.answer-box strong{font-size:25px;color:#758d67;display:block;margin-top:8px}.answer-box>div+div strong{color:#9b77b3}.result-screen>p{font-size:15px;color:var(--muted);line-height:1.9}.result-screen>.button{margin-top:28px}.result-screen>.secondary{margin-top:14px}.secondary{background:#f4edf9;color:#8e71a4;box-shadow:0 4px 0 #e9deef}dialog{background:#fff;color:var(--text);border:0;box-shadow:0 20px 90px #9e7ba52b;border-radius:30px;max-width:490px;width:calc(100% - 32px);padding:30px;max-height:85dvh}dialog::backdrop{background:#a18cac33;backdrop-filter:blur(5px)}dialog h2{font-size:26px;margin-top:12px;color:#9672ac}dialog ol{padding-left:22px;color:#807087;font-size:15px}dialog li{padding:8px 0}.close-button{float:right;background:#f7f0fa;width:32px;height:32px;border-radius:50%;color:#a38aaf;border:0;font-size:24px;line-height:1}.tip{background:#faf5fd;border-radius:20px;padding:18px;font-size:14px}.tip strong{color:#a076b7}.tip p{color:#887690;margin:5px 0 16px}.tip p:last-child{margin-bottom:0}.muted{color:var(--muted);font-size:14px;margin-top:17px}
@media(min-width:760px){.screen-setup{max-width:820px}.setup-panel{max-width:720px;margin:auto}.intro{margin:0 25px}.mode-card{padding:20px 23px}.screen-topics{max-width:960px}}
@media(max-width:600px){.site-header{height:76px;padding:0 23px}.logo{font-size:19px}.logo-eyes{font-size:21px;line-height:24px}main{margin:12px auto 38px;padding:0 22px;min-height:70vh}.steps{gap:8px;margin:6px 0 29px}.steps>span{font-size:13px;gap:6px}.steps>i{width:15px}.steps b{width:24px;height:24px;font-size:12px}.intro{padding:10px 0 31px}.intro .eyebrow{font-size:14px}.intro h1{font-size:41px;letter-spacing:-1.8px;margin-top:15px}.title-mark{font-size:32px;margin-left:9px}.intro p{font-size:14px;margin-top:16px;line-height:1.9;max-width:205px}.hero-cast{width:150px;height:145px;right:0;top:87px;transform:scale(.78);transform-origin:bottom right}.speech{top:4px;left:12px;font-size:12px;padding:5px 9px}.spark-one{top:-20px;right:5px;font-size:24px}.spark-two{font-size:18px;left:-13px;bottom:0}.setup-panel{padding:22px 17px;border-radius:29px}.section-title h2{font-size:19px}.section-title>span{font-size:12px}.mode-card{padding:17px 12px;border-radius:22px}.mode-card strong{font-size:17px}.mode-card>span:last-child{font-size:14px}.mode-icon{width:34px;height:34px;font-size:21px;margin-bottom:14px}.radio-dot{width:15px;height:15px;right:13px;top:19px}.settings-row{padding:19px 0;align-items:center}.settings-row>div:first-child{min-width:0}.settings-row label{font-size:15px}.settings-row p{font-size:13px;word-break:keep-all}.stepper{padding:4px;gap:0}.stepper button{width:30px;height:32px}.stepper input{width:30px;font-size:18px}.button{font-size:16px;min-height:56px}.site-footer{padding:21px 23px;font-size:12px}.page-heading h1{font-size:34px;letter-spacing:-1px}.page-heading p{font-size:14px}.game-summary{gap:6px}.game-summary>span{font-size:13px;padding:6px 10px}.topic-grid{grid-template-columns:repeat(2,1fr);gap:12px}.topic-card{padding:19px 13px;min-height:195px}.topic-emoji{font-size:31px;margin-bottom:19px}.topic-card strong{font-size:17px}.topic-card>span:nth-last-child(2){font-size:14px}.topic-count{font-size:11px;right:10px;top:20px}.topic-check{font-size:16px;right:12px;bottom:10px}.topic-bottom{margin-top:25px}.screen-cards,.screen-discussion,.screen-result{padding:0 24px}.progress{margin-bottom:29px}.play-screen h1{font-size:29px}.play-intro{font-size:14px}.secret-card{min-height:260px;margin-top:23px}.secret-word{font-size:34px}.discussion{min-height:100dvh;gap:46px;padding:55px 0}.discussion h1{font-size:29px}.discussion-art{height:170px}.discussion>.button{margin-top:20px}.screen-discussion{margin:0 auto}.result-screen{padding-top:18px}.result-screen>p{font-size:14px}}
@media(max-width:350px){.intro h1{font-size:36px}.intro p{max-width:170px;font-size:13px}.hero-cast{transform:scale(.65);right:-3px}.steps{gap:5px}.steps>span{font-size:12px;gap:4px}.steps>i{width:9px}.section-title>span{display:none}.mode-card{padding:15px 10px}.mode-card>span:last-child{font-size:13px}.settings-row p{font-size:12px}.stepper button{width:26px}.stepper input{width:27px}.topic-count{font-size:10px}.topic-card{min-height:210px}.discussion h1{font-size:27px}.discussion-art{transform:scale(.9)}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.fox-mascot{display:block;width:256px;height:256px;object-fit:contain;filter:drop-shadow(0 8px 14px #bba1cb12)}.hero-cast{width:250px;height:240px;top:4px;right:5px;display:grid;place-items:center}.hero-cast .fox-mascot{width:215px;height:215px}.hero-cast .speech{left:0;top:10px;z-index:1}.hero-cast .spark-one{right:0;top:18px}.fox-mascot.small{width:118px;height:118px;margin:0 auto 16px}.discussion-art{height:250px;align-items:center}.discussion-art .fox-mascot{width:250px;height:250px}.discussion{gap:30px}.result-stamp .fox-mascot{width:135px;height:135px;margin:0 auto}.logo-eyes{padding:0;width:38px;height:38px;background:#fcf0f6;border-radius:50%;display:grid;place-items:center;transform:rotate(-7deg)}.logo-eyes img{width:35px;height:35px;object-fit:contain}
@media(max-width:600px){.hero-cast{width:145px;height:160px;top:85px;right:-6px;transform:none}.hero-cast .fox-mascot{width:137px;height:137px}.hero-cast .speech{top:0;left:0;font-size:11px}.hero-cast .spark-one{top:-8px;right:-4px;font-size:21px}.hero-cast .spark-two{left:0;bottom:0}.discussion{gap:30px}.discussion-art{height:240px}.discussion-art .fox-mascot{width:240px;height:240px}}
@media(max-width:350px){.hero-cast{width:115px;right:-2px;top:95px}.hero-cast .fox-mascot{width:115px;height:115px}.intro p{max-width:170px}.discussion-art{transform:none}.discussion-art .fox-mascot{width:220px;height:220px}}
@font-face{font-family:Jua;src:url('./fonts/Jua-Regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
:root{font-family:Jua,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;line-height:1.65}
button,input{font-family:inherit}.site-header{height:64px}.logo-eyes{width:42px;height:42px;background:#fff5f9}.logo-eyes img{width:40px;height:40px}.help-button{background:#f4ecfb;font-size:21px}.intro{display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 0 14px;margin:0;position:relative}.intro .eyebrow{font-size:19px;color:#a485b6;letter-spacing:.3px}.intro h1{font-size:60px;line-height:1.25;letter-spacing:2px;color:#8c659e;margin:8px 0 0;font-weight:400;text-shadow:2px 3px 0 #f7e9f3}.hero-cast{position:relative;inset:auto;display:grid;place-items:center;width:180px;height:178px;transform:none;margin:4px auto 0}.hero-cast .fox-mascot{width:176px;height:176px}.steps{margin:0 auto 26px}.steps>span{font-size:16px}.steps b{background:#f9f0f7;border-radius:45% 55% 52% 48%;font-size:14px;font-weight:400}.steps .current b{background:#f7deeb;box-shadow:0 3px 0 #f2d7e5}.steps>i{background:none;border-top:3px dotted #e9dbea;height:auto}.setup-panel{background:none;border:0;border-radius:0;box-shadow:none;padding:0 12px}.section-title{justify-content:center;margin:7px 0 21px}.section-title h2{font-size:23px;font-weight:400;color:#9a7aa7}.mode-grid{gap:18px;margin-bottom:24px}.mode-card{border:2px solid #edddeb;background:#fff5f9;border-radius:30px 38px 29px 36px/35px 29px 36px 30px;padding:22px 19px;box-shadow:0 6px 0 #f6e8f1;position:relative}.mode-card:nth-child(2){background:#f7f0fe;border-color:#e7d9f2;border-radius:38px 28px 37px 29px/28px 38px 28px 36px;box-shadow:0 6px 0 #eee4f7}.mode-card.selected{background:#fff0f7;border:2px dashed #d79aba;box-shadow:0 6px 0 #f3dce8}.mode-card.selected:after{content:'♥';position:absolute;bottom:-13px;right:22px;font-size:24px;line-height:1;color:#d394b5;background:#fff;padding:0 5px;border-radius:50%}.mode-icon{background:none!important;transform:rotate(-7deg);font-size:34px;width:45px;height:45px;margin-bottom:10px}.mode-icon.fool{transform:rotate(8deg)}.mode-card strong{font-size:23px;font-weight:400}.mode-card>span:last-child{font-size:16px;word-break:keep-all}.radio-dot{width:18px;height:18px;border:2px solid #e4cddd}.selected .radio-dot{outline-color:#d89cba;background:#cb8fae}.settings-row{background:#fff7f3;border:1px solid #f5e7df;border-radius:28px 35px 31px 22px/30px 24px 30px 28px;padding:20px 21px;margin:19px 0;position:relative;box-shadow:0 4px 0 #f9ede5}.settings-row:nth-of-type(3){background:#f3f8ef;border-color:#e4eedc;box-shadow:0 4px 0 #eaf2e3;border-radius:34px 23px 31px 27px/25px 34px 26px 32px}.settings-row:before{content:'';position:absolute;bottom:-8px;left:27px;width:15px;height:15px;background:inherit;border-right:1px solid #f0e3d9;border-bottom:1px solid #f0e3d9;transform:rotate(40deg);border-radius:0 0 5px 0}.settings-row label{font-weight:400;font-size:19px;color:#8d718b}.settings-row p{font-size:15px;color:#9a8698}.stepper{background:#ffffffad;border-radius:19px;padding:4px;border:1px solid #eee1ec}.stepper button{color:#ac87b3;border-radius:12px;background:#f9f0fa;width:35px;height:35px;font-size:24px;box-shadow:none}.stepper input{font-size:22px;font-weight:400;color:#916f9e}.button{border-radius:25px 31px 26px 29px/29px 25px 30px 25px;font-weight:400;font-size:22px;min-height:61px}.primary{background:#f7dce9;color:#9c5b7f;box-shadow:0 5px 0 #edd0df}.secondary{border-radius:28px 23px 29px 24px;box-shadow:0 4px 0 #e9ddf1}.setup-panel>.button{margin-top:29px}.page-heading h1,.play-screen h1{font-weight:400;letter-spacing:0}.page-heading .eyebrow{font-size:18px}.page-heading h1{font-size:43px}.page-heading p{font-size:17px}.topic-grid{gap:20px 17px;padding-top:5px}.topic-card{background:#fbf3ff;border:2px solid #eadcf1;border-radius:30px 36px 25px 33px/34px 26px 34px 26px;box-shadow:0 5px 0 #f1e7f6;min-height:205px;padding:22px 17px;position:relative;overflow:visible}.topic-card:nth-child(4n+2){border-color:#e3ecd9;box-shadow:0 5px 0 #eaf1e2;border-radius:35px 27px 33px 25px/27px 36px 26px 34px}.topic-card:nth-child(4n+3){border-color:#f2e2d5;box-shadow:0 5px 0 #f8ebdf}.topic-card:nth-child(4n+4){border-color:#f1dde8;box-shadow:0 5px 0 #f7e5ee}.topic-card:before{content:'';position:absolute;left:calc(50% - 17px);top:-7px;width:34px;height:13px;background:#e9dcf49e;border-radius:4px;transform:rotate(-7deg)}.topic-card:nth-child(2n):before{background:#e4edceaa;transform:rotate(7deg)}.topic-card:nth-child(4n):before{background:#f5d9e5b3}.topic-card.selected{border:2px dashed #c995b9;box-shadow:0 5px 0 #ead1e3}.topic-card strong{font-size:23px;font-weight:400}.topic-emoji{font-size:37px}.topic-count{font-size:13px;color:#a28daf}.topic-card>span:nth-last-child(2){font-size:16px;color:#9a879f;word-break:keep-all}.topic-check{color:#b997c4}.game-summary>span{border-radius:45% 30% 40% 28%/35% 40% 30% 38%;font-size:16px;padding:6px 13px}.secret-card{border:2px solid #e7d8f0;border-radius:36px 44px 33px 40px/40px 32px 43px 34px;background:#fcf7ff;box-shadow:0 7px 0 #f2e9f8;overflow:visible}.secret-card:after{inset:12px;border-radius:27px 35px 26px 31px/32px 25px 35px 27px;border:1px dashed #e2cde9}.secret-card:before{content:'✿';position:absolute;top:-19px;left:23px;font-size:33px;color:#d2b5e3;background:#fff;border-radius:50%;padding:0 3px;line-height:1.1;z-index:1}.secret-card.revealed{box-shadow:0 7px 0 #eaf0df}.secret-card.liar-card{box-shadow:0 7px 0 #efe0f6}.secret-label{font-size:18px}.secret-word{font-weight:400;font-size:45px;letter-spacing:1px}.secret-card p{font-size:16px}.play-intro{font-size:17px}.play-screen .eyebrow{font-size:17px}.play-screen h1{font-size:36px}.hide-guide{font-size:16px;color:#997aa9}.privacy-note{font-size:16px}.under-note{font-size:15px}.discussion h1{font-size:35px;font-weight:400;color:#9b78b1;line-height:1.65}.discussion>.button{font-size:23px}.answer-box{border:2px dashed #dce6d1;border-radius:29px 38px 31px 36px/35px 29px 37px 28px;box-shadow:0 5px 0 #edf2e5}.answer-box strong{font-size:29px;font-weight:400}.answer-box span{font-size:17px}.result-seats>span{border-radius:25px 31px 22px 29px;font-size:18px}.result-seats strong{font-weight:400}.result-screen>p{font-size:17px}dialog{border:3px solid #f2e6f5;border-radius:32px 40px 30px 38px/39px 31px 40px 30px}dialog h2{font-size:30px;font-weight:400}dialog ol{font-size:17px}.tip{border:1px dashed #e2cdea;border-radius:25px 30px 23px 28px;font-size:16px}.tip strong{font-weight:400}.muted{font-size:15px}
@media(max-width:600px){.site-header{height:58px}main{margin-top:0}.steps{margin-bottom:22px;gap:7px}.steps>span{font-size:14px;gap:5px}.steps>i{width:14px}.intro .eyebrow{font-size:18px}.intro h1{font-size:48px;letter-spacing:1px;margin-top:5px}.hero-cast{position:relative;inset:auto;width:155px;height:151px;transform:none;margin-top:4px}.hero-cast .fox-mascot{width:151px;height:151px}.setup-panel{padding:0 3px}.section-title{margin:7px 0 18px}.section-title h2{font-size:21px}.mode-grid{gap:15px;margin-bottom:22px}.mode-card{padding:20px 14px;min-height:177px}.mode-card strong{font-size:22px}.mode-card>span:last-child{font-size:15px}.mode-icon{font-size:34px;width:40px;height:40px}.settings-row{padding:18px 15px;margin:19px 0}.settings-row label{font-size:18px}.settings-row p{font-size:14px}.stepper{padding:4px}.stepper button{width:29px;height:33px}.stepper input{width:28px;font-size:21px}.button{font-size:21px;min-height:59px}.topic-grid{gap:20px 14px}.topic-card{min-height:208px;padding:22px 13px 25px}.topic-card strong{font-size:21px}.topic-card>span:nth-last-child(2){font-size:15px}.topic-count{font-size:12px;top:19px;right:10px}.topic-emoji{font-size:31px;margin-bottom:22px}.page-heading h1{font-size:37px}.page-heading p{font-size:16px}.game-summary>span{font-size:14px;padding:6px 10px}.play-screen h1{font-size:33px}.play-intro{font-size:16px}.secret-label{font-size:17px}.secret-word{font-size:39px}.secret-card p{font-size:15px}.discussion h1{font-size:32px}.discussion>.button{font-size:23px}.result-screen>p{font-size:16px}.answer-box strong{font-size:26px}.answer-box span{font-size:16px}}
@media(max-width:350px){.steps>span{font-size:12px}.steps>i{width:9px}.intro h1{font-size:44px}.intro .eyebrow{font-size:16px}.hero-cast{width:135px;height:135px;top:auto;right:auto;transform:none}.hero-cast .fox-mascot{width:132px;height:132px}.settings-row{padding:17px 11px}.settings-row p{font-size:13px}.settings-row label{font-size:16px}.mode-card{padding:18px 11px}.mode-card strong{font-size:20px}.topic-card strong{font-size:19px}.topic-card>span:nth-last-child(2){font-size:14px}.topic-count{font-size:11px}}

.mode-icon,.mode-icon.fool{width:78px;height:78px;transform:none;margin:0 0 10px}.mode-icon img{display:block;width:100%;height:100%;object-fit:contain}.mode-card{min-height:218px}
@media(max-width:600px){.mode-icon,.mode-icon.fool{width:72px;height:72px;margin-bottom:10px}.mode-card{min-height:224px}}

.mode-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}
.topic-grid{grid-template-columns:repeat(3,1fr)}.topic-card{align-items:center;justify-content:center;text-align:center;min-height:168px;padding:23px 12px;gap:12px}.topic-card .topic-emoji{margin:0;line-height:1;font-size:36px}.topic-card strong{font-size:27px;line-height:1.4;margin:0}.topic-card.selected:after{content:'♥';position:absolute;right:14px;bottom:9px;color:#c98ead;font-size:19px;line-height:1}.topic-bottom{display:grid;gap:14px;max-width:360px;margin-top:30px}.topic-bottom .button{min-height:52px;font-size:20px}.round-actions{display:flex;justify-content:space-between;gap:14px;margin:26px 3px 0}.round-actions button{border:1px solid #eadfec;background:#faf5fc;color:#a18bab;border-radius:15px 20px 16px 19px;font:inherit;font-size:15px;min-height:38px;padding:7px 17px;flex:1}.round-actions button:last-child{background:#fff4f7;border-color:#f0dfe8;color:#b38b9e}.screen-cards .progress{margin-bottom:26px}.screen-cards .card-controls{margin-top:29px}.screen-cards .secret-card{min-height:270px}.screen-cards .hide-guide{font-size:16px}.screen-cards .hidden-word{margin-top:3px}
@media(max-width:600px){.topic-grid{grid-template-columns:repeat(2,1fr);gap:21px 14px}.topic-card{min-height:154px;gap:11px;padding:20px 10px}.topic-card strong{font-size:25px}.topic-card .topic-emoji{font-size:32px;margin:0}.topic-bottom{max-width:310px}.topic-bottom .button{min-height:50px;font-size:19px}.round-actions button{font-size:14px;padding:7px 9px}.screen-cards .secret-card{min-height:265px}.screen-cards .hide-guide{font-size:15px}}
@media(max-width:350px){.topic-card strong{font-size:22px}.topic-card{min-height:145px}.round-actions{gap:9px}.round-actions button{font-size:13px}.screen-cards .hide-guide{font-size:14px}}

.topic-card>span.topic-emoji{font-size:36px;margin:0;padding:0;color:inherit}
@media(max-width:600px){.topic-card>span.topic-emoji{font-size:32px}}
@media(min-width:760px){.topic-grid{grid-template-columns:repeat(4,1fr)}}
.create-words{background:#f3f8ef;color:#8da37c;border:1px dashed #d8e6cd;box-shadow:0 4px 0 #e7efdf}.word-editor{max-width:560px;margin:auto;text-align:center}.word-editor h1{font-size:37px;color:#9773ae;font-weight:400;margin-bottom:8px}.editor-mode{display:inline-block;padding:5px 16px;background:#f5ebfa;border-radius:18px;color:#a17cb5;font-size:17px}.editor-intro{font-size:18px;color:#a18aa9;line-height:1.8;margin:20px 0 25px}.word-label{display:block;text-align:left;color:#9b7bac;font-size:18px;margin-bottom:10px}.word-editor textarea,.pair-row input{font:inherit;font-size:19px;color:#866a96;background:#fffbfd;border:2px solid #ecdff1;outline-offset:3px;border-radius:21px;padding:15px 18px;width:100%;box-sizing:border-box}.word-editor textarea{resize:vertical;min-height:230px;max-height:60dvh;line-height:1.9}.word-editor textarea::placeholder,.pair-row input::placeholder{color:#c9b7d0}.word-editor>.button{margin-top:15px}.pair-labels{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-right:30px;font-size:18px;color:#a184b1;margin:0 0 12px}.pair-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 25px;gap:10px;align-items:center;margin:13px 0}.pair-row input{padding:14px 12px;font-size:18px;min-width:0;border-radius:19px 23px 18px 22px}.pair-row input:nth-child(2){background:#fff6fa;border-color:#f0dce8}.remove-pair{font:inherit;color:#b89ac4;border:0;background:#f5edf9;border-radius:50%;width:25px;height:25px;font-size:21px;line-height:1}.add-pair{background:#f6f0fa;color:#a58ab5;border:1px dashed #e1cfea;font-size:18px;min-height:46px;margin-top:20px}.custom-note{font-size:14px;color:#b19dbb;line-height:1.8;margin:15px 0 0;text-align:center}.editor-error{color:#b45f83;font-size:16px;min-height:27px;margin-top:15px}.word-editor .secondary{font-size:19px;min-height:52px}.round-actions button:disabled{opacity:.4;cursor:default}.custom-note+.button{margin-top:15px}
@media(max-width:600px){.word-editor h1{font-size:33px}.editor-intro{font-size:16px}.pair-labels{font-size:16px;gap:8px}.pair-row{gap:8px}.pair-row input{font-size:17px;padding:13px 10px}.word-editor textarea{font-size:18px}.editor-error{font-size:15px}.create-words{font-size:19px}}
.secret-card .secret-word{max-width:100%;overflow-wrap:anywhere;word-break:normal;line-height:1.4}.answer-box>div{min-width:0}.answer-box strong{max-width:100%;overflow-wrap:anywhere;word-break:normal}

.pair-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.pair-labels{padding-right:0}

.custom-word-input{display:block;width:100%;font:inherit;font-size:22px;color:#866a96;background:#fffbfd;border:2px solid #ecdff1;outline-offset:3px;border-radius:23px 28px 21px 26px;padding:20px;box-sizing:border-box}.custom-word-input::placeholder{font-size:17px;color:#c9b7d0}.word-editor .editor-error{margin-top:12px}

.header-actions{display:flex;align-items:center;gap:7px}.header-actions[hidden]{display:none}.header-actions button{font:inherit;font-size:12px;min-height:30px;padding:5px 13px;border:1px solid #eaddf0;color:#a184b1;background:#f9f2fc;border-radius:13px 17px 12px 16px;line-height:1.5}.header-actions button:last-child{background:#fff3f8;border-color:#efdee8;color:#b58a9e}.header-actions button:disabled{opacity:.4;cursor:default}body:has(.screen-discussion) .site-header{display:flex}.screen-discussion{min-height:calc(100dvh - 90px)}.discussion{min-height:calc(100dvh - 90px)}
@media(max-width:600px){.header-actions{gap:6px}.header-actions button{font-size:12px;min-height:30px;padding:5px 11px}.screen-discussion,.discussion{min-height:calc(100dvh - 58px)}}
/* Each stage fits one phone viewport. Content remains visible; no vertical overflow is hidden. */
:root{--phone-header:clamp(32px,5.2dvh,44px);--phone-gap:clamp(6px,1.15dvh,10px);--phone-control:clamp(40px,6.5dvh,54px)}
body{height:100dvh;min-height:0;padding-top:env(safe-area-inset-top,0px);overflow-x:hidden}
.site-header{height:var(--phone-header);max-width:520px;padding:0 18px;justify-content:flex-end;margin:0 auto}
.site-header[hidden],body:has(.screen-discussion) .site-header[hidden]{display:none}
main{max-width:520px;height:calc(100dvh - var(--phone-header) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));min-height:0;margin:0 auto;padding:8px 18px 12px;box-sizing:border-box}
body:has(.site-header[hidden]) main{height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));padding-top:clamp(12px,2.5dvh,23px)}
.screen-setup{display:grid;grid-template-rows:auto minmax(0,1fr);gap:var(--phone-gap)}
.intro{margin:0;padding:0;gap:0}.intro .eyebrow{font-size:clamp(13px,2.1dvh,17px);line-height:1.4}.intro h1{font-size:clamp(34px,5.8dvh,47px);line-height:1.2;letter-spacing:1px;margin:4px 0 0}.hero-cast{position:relative;inset:auto;transform:none;width:clamp(65px,13.4dvh,112px);height:clamp(65px,13.4dvh,112px);margin:5px auto 0}.hero-cast .fox-mascot{width:100%;height:100%}
.setup-panel{min-height:0;display:grid;grid-template-rows:auto minmax(100px,1fr) auto auto auto;gap:var(--phone-gap);padding:0 3px 5px;max-width:100%;width:100%}.section-title{margin:0;min-height:0}.section-title h2{font-size:clamp(18px,2.6dvh,21px);line-height:1.3}.mode-grid{margin:0;gap:12px;min-height:0}.mode-card{min-height:0;padding:clamp(10px,1.8dvh,16px) 12px;justify-content:center;align-items:center;text-align:center}.mode-icon,.mode-icon.fool{width:clamp(40px,7.6dvh,65px);height:clamp(40px,7.6dvh,65px);margin:0 0 5px}.mode-card strong{font-size:clamp(18px,2.7dvh,22px);line-height:1.4;margin:0 0 3px}.mode-card>span:last-child{font-size:clamp(12px,1.8dvh,15px);line-height:1.5}.radio-dot{top:12px;right:12px;width:14px;height:14px}.mode-card.selected:after{font-size:19px;bottom:-10px;right:18px}.settings-row{margin:0;padding:clamp(8px,1.4dvh,12px) 12px;min-height:clamp(50px,7.7dvh,66px);gap:8px}.settings-row label{font-size:clamp(14px,2.1dvh,18px);line-height:1.4}.settings-row p{font-size:clamp(11px,1.7dvh,14px);line-height:1.5;margin-top:2px}.settings-row:before{width:11px;height:11px;bottom:-6px;left:23px}.stepper{padding:3px}.stepper button{width:clamp(25px,4dvh,32px);height:clamp(26px,4dvh,32px);font-size:21px}.stepper input{width:28px;font-size:20px}.button,.setup-panel>.button{min-height:0;height:var(--phone-control);font-size:clamp(18px,2.6dvh,21px);margin:0;line-height:1.3;flex-shrink:0}
.screen-topics{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:var(--phone-gap)}.page-heading{padding:0}.page-heading h1{font-size:clamp(24px,4dvh,33px);line-height:1.2;margin:0}.game-summary{margin:0;gap:6px;min-height:0}.game-summary>span{font-size:clamp(11px,1.8dvh,14px);padding:3px 9px;line-height:1.5}.topic-grid{min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:clamp(8px,1.5dvh,13px);padding:4px 0 5px}.topic-card{min-height:0;padding:5px 7px;gap:clamp(2px,.7dvh,5px);border-radius:23px 28px 21px 27px/27px 21px 28px 22px}.topic-card>span.topic-emoji{font-size:clamp(20px,3.4dvh,28px);line-height:1;margin:0;padding:0}.topic-card strong{font-size:clamp(18px,2.7dvh,23px);line-height:1.3;word-break:keep-all}.topic-card:before{width:26px;height:10px;left:calc(50% - 13px);top:-5px}.topic-card.selected:after{font-size:14px;right:8px;bottom:7px}.topic-bottom{margin:0 auto;max-width:360px;width:100%;gap:clamp(6px,1dvh,9px)}.topic-bottom .button{height:clamp(36px,5.6dvh,46px);min-height:0;font-size:clamp(16px,2.4dvh,19px)}
.screen-cards .play-screen{height:100%;min-height:0;display:flex;flex-direction:column;gap:0;max-width:460px}.round-top{font-size:clamp(12px,1.8dvh,15px);line-height:1.5;flex-shrink:0}.progress,.screen-cards .progress{height:5px;margin:8px 0 10px;flex-shrink:0}.screen-cards h1{font-size:clamp(25px,4dvh,33px);line-height:1.3;margin:3px 0 11px;flex-shrink:0}.screen-cards .secret-card{flex:1;min-height:0;max-height:none;margin:6px 0 0;padding:16px 18px;overflow:visible}.secret-card .fox-mascot.small{width:clamp(65px,14dvh,110px);height:clamp(65px,14dvh,110px);margin:0 auto 9px}.hidden-word{font-size:clamp(23px,4.3dvh,33px);line-height:1.5}.secret-card .secret-word{font-size:clamp(25px,5dvh,40px);line-height:1.35;margin:10px 0;overflow-wrap:anywhere;word-break:normal}.secret-label{font-size:clamp(14px,2.2dvh,18px)}.liar-card .secret-label{font-size:clamp(20px,3dvh,24px)}.liar-card .secret-word{font-size:clamp(48px,9dvh,70px);line-height:1}.screen-cards .card-controls{margin:clamp(10px,2.5dvh,20px) 0 5px;flex-shrink:0}.screen-cards .hide-guide{font-size:clamp(12px,1.9dvh,15px);line-height:1.55;margin:0 0 8px}.hide-guide>span{font-size:20px;margin:2px 0 0;line-height:1}.custom-note{font-size:clamp(11px,1.7dvh,13px);line-height:1.5;margin:7px 0 0;flex-shrink:0}
.screen-discussion{display:block;min-height:0}.discussion{height:100%;min-height:0;gap:clamp(22px,4dvh,38px);padding:0;justify-content:center}.discussion-art{height:clamp(130px,30dvh,240px);transform:none}.discussion-art .fox-mascot{width:clamp(130px,30dvh,240px);height:clamp(130px,30dvh,240px)}.discussion h1{font-size:clamp(26px,4.1dvh,34px);line-height:1.6;margin:0}.discussion>.button{font-size:clamp(19px,2.7dvh,23px);margin:4px 0 0}
.screen-result .result-screen{height:100%;padding:0;display:flex;flex-direction:column;justify-content:center;gap:var(--phone-gap);min-height:0}.result-screen>.eyebrow{font-size:clamp(12px,1.9dvh,16px);line-height:1.3}.result-stamp{margin:0;flex-shrink:0}.result-stamp .fox-mascot{width:clamp(45px,10dvh,84px);height:clamp(45px,10dvh,84px);margin:0 auto}.result-screen h1{font-size:clamp(22px,3.5dvh,29px);line-height:1.3;margin:0;flex-shrink:0}.result-seats{margin:0;gap:6px;flex-shrink:0}.result-seats>span{font-size:clamp(12px,1.9dvh,16px);padding:4px 10px;line-height:1.5}.result-seats strong{font-size:clamp(19px,2.8dvh,24px);margin-right:2px}.answer-box{margin:0;flex-shrink:0;border-radius:23px 29px 23px 28px}.answer-box>div{padding:clamp(6px,1.4dvh,12px) 7px;min-width:0}.answer-box span{font-size:clamp(12px,1.8dvh,15px);line-height:1.4}.answer-box strong{font-size:clamp(17px,2.9dvh,24px);margin-top:3px;line-height:1.35}.result-screen>p{font-size:clamp(12px,1.8dvh,15px);line-height:1.6}.result-screen>.button,.result-screen>.secondary{margin:0;height:clamp(36px,5.8dvh,48px);min-height:0;font-size:clamp(17px,2.4dvh,20px)}.result-screen>.under-note{font-size:clamp(11px,1.6dvh,13px);margin:0;line-height:1.4}
.screen-editor{display:block}.word-editor{height:100%;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:var(--phone-gap)}.word-editor h1{font-size:clamp(26px,4.2dvh,34px);line-height:1.3;margin:0}.editor-mode{align-self:center;font-size:clamp(14px,2dvh,17px);padding:3px 13px;line-height:1.5}.editor-intro{font-size:clamp(14px,2.1dvh,17px);line-height:1.6;margin:4px 0 8px}.word-label{font-size:clamp(15px,2.2dvh,18px);margin:0;line-height:1.4}.custom-word-input{height:clamp(43px,7.2dvh,60px);padding:10px 16px;font-size:clamp(18px,2.6dvh,22px)}.custom-word-input::placeholder{font-size:clamp(14px,2dvh,17px)}.pair-labels{font-size:clamp(14px,2.1dvh,17px);margin:0;padding:0;line-height:1.4}.pair-row{margin:0;gap:10px}.pair-row input{height:clamp(43px,7.2dvh,60px);padding:10px 12px;font-size:clamp(17px,2.6dvh,21px)}.editor-error,.word-editor .editor-error{min-height:0;font-size:clamp(12px,1.9dvh,15px);line-height:1.4;margin:0}.editor-error:empty{display:none}.word-editor>.button,.word-editor>.secondary{margin:0;height:var(--phone-control);min-height:0;font-size:clamp(18px,2.6dvh,21px)}.word-editor>.custom-note{margin:1px 0 0}
@media(max-height:650px){.result-stamp{display:none}.result-screen .answer-box strong{font-size:17px}.result-screen>.under-note{font-size:11px}.mode-card{padding:8px 10px}.mode-card>span:last-child{font-size:12px}.settings-row p{font-size:11px}}
@media(max-height:520px){.word-editor .editor-intro,.word-editor>.custom-note{display:none}.word-editor h1{font-size:24px}.word-editor{gap:6px}.word-editor .custom-word-input,.pair-row input{height:38px}.word-editor>.button,.word-editor>.secondary{height:35px;font-size:17px}.editor-mode{font-size:13px;padding:2px 10px}}


.screen-setup,.screen-topics,.screen-cards,.screen-editor,.screen-discussion,.screen-result{max-width:520px}


.header-actions button[data-action="setup"]{background:#f9f2fc;border-color:#eaddf0;color:#a184b1}

.screen-topics .topic-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}.screen-topics .topic-bottom{display:block}.screen-topics .topic-card{gap:clamp(2px,.55dvh,5px);padding:4px 7px}.screen-topics .topic-card>span.topic-emoji{font-size:clamp(18px,3.1dvh,26px)}.screen-topics .topic-card strong{font-size:clamp(16px,2.4dvh,21px)}.screen-topics .create-topic{background:#f0f7eb;border-color:#e3ecd9;box-shadow:0 5px 0 #eaf1e2}.screen-topics .create-topic strong{font-size:clamp(16px,2.4dvh,21px)}

.result-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;width:100%;flex-shrink:0}.result-actions .button{margin:0;min-height:0;height:clamp(36px,5.8dvh,48px);font-size:clamp(16px,2.4dvh,20px)}

/* Larger names within the existing nine-topic grid; other typography stays unchanged. */
.screen-topics .topic-card{min-width:0;padding:6px 4px}
.screen-topics .topic-card strong{font-size:clamp(21px,3.12dvh,27px);line-height:1.2;max-width:100%;word-break:keep-all;overflow-wrap:anywhere;letter-spacing:-.5px}
