.pye{--ac:#A15C07;--ac2:#FDE7C2;--acg:linear-gradient(90deg,#A15C07,#D97706 50%,#F59E0B)}
.pye [hidden]{display:none!important}
.ghero{position:relative;text-align:center;padding:5svh 0 18px}
.game{position:relative;background:#fff;border-radius:28px;padding:16px;box-shadow:0 1px 2px rgba(14,17,22,.05),0 20px 50px rgba(161,92,7,.16);overflow:hidden}
.gtop{margin-bottom:12px}
.ghud{display:flex;justify-content:space-between;gap:6px;font-size:12px;font-weight:800;color:var(--ink2);white-space:nowrap}.ghud b{font-size:16px;font-variant-numeric:tabular-nums}
.il{margin:0 0 10px;font-size:13px;font-weight:800;color:#7C2D12;line-height:1.7}
.doc{margin-top:10px;padding:12px 14px;border-radius:16px;border:2px solid #E2E8F0;background:#fff}
.doc.wk{border-color:#FFF7ED;background:#FFF7ED}
.doc h4{margin:0 0 6px;font-size:14px;font-weight:900}
.doc ul{margin:0;padding:0;list-style:none}.doc li{display:grid;grid-template-columns:1.8em 1fr;gap:6px;padding:5px 0;border-top:1px dashed rgba(15,23,42,.1);font-size:13px;line-height:1.65;font-weight:600;color:var(--ink)}.doc li:first-child{border-top:0}
.doc li b{font-size:11.5px;color:var(--ink2);padding-top:1px}
.doc mark{background:linear-gradient(transparent 55%,#FED7AA 55%);color:inherit;font-weight:800}
.intro .go{display:block;width:100%;margin-top:14px;height:56px;border:0;border-radius:999px;background:linear-gradient(90deg,#A15C07,#D97706);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(161,92,7,.3)}
.aiad{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:10px 12px;border-radius:18px;background:#FFF7ED;border:1px solid #FED7AA}
.aiad .av{flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-size:26px;line-height:1;background:#fff;box-shadow:0 0 0 2px #FED7AA}
.aiad div{min-width:0}.aiad small{font-size:11px;font-weight:800;color:#A15C07}
.aiad p{margin:4px 0 0;font-size:13.5px;line-height:1.65;font-weight:700;color:#2A1A0A}
.aiput{margin-top:8px;padding:8px 14px;border:0;border-radius:99px;background:#A15C07;color:#fff;font:inherit;font-size:13px;font-weight:900;cursor:pointer;touch-action:manipulation}.aiput:disabled{opacity:.4;cursor:default}
.go2{display:block;width:100%;margin-top:14px;padding:14px;border:0;border-radius:16px;background:linear-gradient(90deg,#B45309,#F59E0B);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer;touch-action:manipulation;box-shadow:0 8px 20px rgba(217,119,6,.28)}
.go2:disabled{background:#E2E8F0;color:#94A3B8;cursor:default;box-shadow:none}
.res{margin-top:12px;border-radius:16px;padding:14px;font-size:13px;line-height:1.75;animation:pop .35s}
.res.right{background:#F0FDF4}.res.wrong{background:#FEF2F2}.res.half{background:#FFFBEB}
.res>b{display:block;font-size:16px;line-height:1.55}.res.right>b{color:#16A34A}.res.wrong>b{color:#DC2626}.res.half>b{color:#B45309}
.res .nx{display:block;width:100%;margin-top:12px;height:52px;border:0;border-radius:999px;background:var(--ink);color:#fff;font:inherit;font-size:16px;font-weight:900;cursor:pointer}
.res,.nx{scroll-margin-bottom:110px}
.hint{margin:10px 0 0;text-align:center;font-size:11px;color:var(--mut);line-height:1.6}
.fx{position:absolute;left:50%;top:22%;transform:translateX(-50%);z-index:6;font-size:clamp(18px,6vw,26px);font-weight:900;white-space:nowrap;pointer-events:none;text-shadow:0 2px 0 #fff,0 4px 14px rgba(0,0,0,.15);animation:fx 1.3s var(--ease) forwards}
.fx.A{color:#16A34A}.fx.B{color:#A15C07}.fx.C{color:#DC2626}
@keyframes fx{0%{opacity:0;transform:translate(-50%,10px) scale(.7)}25%{opacity:1;transform:translate(-50%,0) scale(1.08)}75%{opacity:1}100%{opacity:0;transform:translate(-50%,-24px)}}
.end{margin-top:4px;animation:pop .4s var(--ease)}
.rvw{display:grid;grid-template-columns:28px 1fr;gap:4px 10px;padding:14px 0;border-bottom:1px solid #F1F5F9}.rvw:last-child{border-bottom:0}.rvw .mk{font-size:18px}.rvw b{font-size:13.5px;line-height:1.6}
.rvw p{grid-column:2;margin:0;font-size:12.5px;color:var(--ink2);line-height:1.75}.rvw p.q{font-size:13.5px;font-weight:700;color:#2A1A0A;margin:4px 0}
.tips{margin:0;padding-left:1.3em;color:#C9CCD6;font-size:14px;line-height:1.8}.tips li{margin:0 0 12px}.tips b{display:block;color:#fff}
.mt0{margin:0 0 10px;font-size:13px;color:var(--ink2);line-height:1.75}
.ctap{color:#C9CCD6;font-size:14px;margin:0 0 16px;line-height:1.75}.cta-c h3{color:var(--ac2)}
/* はじめの説明（顔の目安） */
/* はじめの説明（点数の目安） */
.pye-kd{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}
.pye-kd p{margin:0;padding:8px 10px;border-radius:12px;background:#FFFBF5;border:1px solid #F5E1C4;font-size:12px;font-weight:700;line-height:1.5;color:#44403C}
.pye-kd span{display:block;font-size:18px;line-height:1.2}.pye-kd b{display:block;font-size:12.5px;font-weight:900;color:#2A1A0A}
.pye-tip{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:#FFFBEB;font-size:12.5px;font-weight:700;line-height:1.7;color:#78350F}
/* その期のできごと */
.pye-qt{padding:12px 14px;border-radius:18px;background:#2A1A0A;color:#FDE7C2}.pye-qt>b{display:block;font-size:16px;font-weight:900;color:#fff;line-height:1.5}
.pye-qt p{margin:6px 0 0;font-size:13.5px;line-height:1.75;font-weight:700}.pye-qt p b{color:#FCD34D;font-weight:900}
/* 円グラフ */
.pye-pw0{position:relative;max-width:340px;margin:10px auto 0}
.pye-pw0 svg.pye-pie{display:block;width:100%!important;height:auto!important;stroke:none!important;fill:none!important;overflow:visible;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
.pye-sl{stroke:#fff!important;stroke-width:2.5px;stroke-linejoin:round;transition:opacity .2s}
.pye-sl.pye-rv{opacity:.85}
.pye-pie text{fill:#1C1917;stroke:none;text-anchor:middle;pointer-events:none}
.pye-le{font-size:19px}
.pye-lv{font-size:13px;font-weight:900;fill:#fff!important;paint-order:stroke;stroke:rgba(0,0,0,.35)!important;stroke-width:2.5px;stroke-linejoin:round}
.pye-ct1{font-size:12px;font-weight:800;fill:#78716C!important}
.pye-ct2{font-size:24px;font-weight:900;fill:#2A1A0A!important}
.pye-h{cursor:grab;outline:none}
.pye-hl{stroke:#2A1A0A!important;stroke-width:2px;stroke-dasharray:3 3}
.pye-hz{fill:transparent!important;stroke:none!important}
.pye-hk{fill:#fff!important;stroke:#A15C07!important;stroke-width:3.5px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.25));transition:r .15s}
.pye-hd{fill:#A15C07!important;stroke:none!important}
.pye-h:hover .pye-hk,.pye-h:focus-visible .pye-hk,.pye-h.pye-act .pye-hk{fill:#FEF3C7!important;stroke:#2A1A0A!important;r:14px}
.pye-h:focus-visible .pye-hl{stroke:#A15C07!important;stroke-width:3px}
.pye-h.pye-act{cursor:grabbing}
.pye-pie.pye-lock .pye-h{cursor:default}.pye-pie.pye-lock .pye-hk{fill:#E7E5E4!important;stroke:#A8A29E!important}.pye-pie.pye-lock .pye-hd{fill:#A8A29E!important}
.pye-pie.pye-hit{animation:pyehit .75s var(--ease)}
.pye-pie.pye-ok{animation:pyeok .45s var(--ease)}
@keyframes pyehit{0%,100%{transform:none}15%{transform:translateX(-7px) rotate(-2deg)}35%{transform:translateX(6px) rotate(2deg)}55%{transform:translateX(-4px)}75%{transform:translateX(3px)}}
@keyframes pyeok{0%{transform:scale(1)}40%{transform:scale(1.04)}100%{transform:scale(1)}}
.pye-dh{position:absolute;left:50%;bottom:-4px;transform:translateX(-50%);margin:0;padding:5px 12px;border-radius:99px;background:rgba(42,26,10,.88);color:#fff;font-size:12px;font-weight:800;white-space:nowrap;pointer-events:none;transition:opacity .3s}
.pye-dh.pye-hide{opacity:0}
/* カード */
.pye-list{margin:16px 0 0;padding:0;list-style:none;display:grid;gap:6px}
.pye-row{padding:8px 10px;border-radius:14px;background:#FAFAF9;border:2px solid #E7E5E4;border-left:6px solid var(--c)}
.pye-row.pye-rrv{background:#F5F5F4;border-style:dashed;border-left-style:solid}
.pye-rt{display:flex;align-items:center;gap:6px;min-width:0}
.pye-dot{flex:none;font-size:20px;line-height:1}
.pye-nm{flex:1;min-width:0;font-size:14.5px;font-weight:900;color:#1C1917;line-height:1.3}
.pye-ctl{flex:none;display:flex;align-items:center;gap:4px}
.pye-am{min-width:58px;text-align:center;font-size:17px;font-weight:900;color:var(--c);font-variant-numeric:tabular-nums;white-space:nowrap}
.pye-pm{width:42px;height:44px;border:2px solid #E7E5E4;border-radius:12px;background:#fff;color:#44403C;font:inherit;font-size:20px;font-weight:900;line-height:1;cursor:pointer;touch-action:manipulation}
.pye-pm:disabled{opacity:.35;cursor:default}
.pye-memo{margin:4px 0 0;font-size:12.5px;font-weight:700;line-height:1.65;color:#44403C}.pye-memo b{color:#9A3412;font-weight:900}
.pye-rs{margin:6px 0 0;padding:5px 9px;border-radius:10px;font-size:12.5px;font-weight:800;line-height:1.55}
.pye-rs.pye-ok{background:#DCFCE7;color:#166534}.pye-rs.pye-ws{background:#FEF3C7;color:#92400E}.pye-rs.pye-sh{background:#FEE2E2;color:#991B1B}
/* その期の結果 */
.pye-sur{margin:8px 0 0;padding:8px 10px;border-radius:12px;background:#fff;font-weight:700;line-height:1.65}
.pye-sur.pye-sgood{box-shadow:inset 0 0 0 2px #86EFAC}.pye-sur.pye-sbad{box-shadow:inset 0 0 0 2px #FCA5A5}
.pye-brk{margin:8px 0 0;font-weight:800;color:#44403C}
.pye-rai{margin:4px 0 0;font-size:12.5px;font-weight:700;color:#78716C}
.pye-why{margin:6px 0 0;font-size:11.5px;color:var(--mut);line-height:1.6}
/* 1年の記録 */
.pye-hs{margin-top:14px;padding-top:12px;border-top:1px dashed #E7E5E4}
.pye-hst{margin:0 0 8px;font-size:12.5px;font-weight:800;color:#57534E}
.pye-hl{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.pye-hl li{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 2px;border-radius:12px;background:#FAFAF9;border:2px solid #E7E5E4;text-align:center;min-width:0}
.pye-hl i{display:block;width:34px;height:34px;border-radius:50%;background:#E7E5E4;-webkit-mask:radial-gradient(circle,transparent 7px,#000 7.5px);mask:radial-gradient(circle,transparent 7px,#000 7.5px)}
.pye-hl small{font-size:10.5px;font-weight:800;color:#57534E;line-height:1.3;white-space:nowrap}
.pye-hl b{font-size:12.5px;font-weight:900;color:#1C1917}
.pye-hl .pye-hg{background:#F0FDF4;border-color:#BBF7D0}.pye-hl .pye-hm{background:#FFFBEB;border-color:#FDE68A}.pye-hl .pye-hb{background:#FEF2F2;border-color:#FECACA}
.pye-hl .pye-hnow{border-color:#A15C07;background:#FFF7ED}
/* 結果画面 */
.pye-ty{margin:14px 0 4px;padding:16px 14px;border-radius:20px;background:#2A1A0A;color:#FDE7C2;text-align:center}
.pye-tyl{margin:0;font-size:12px;font-weight:800;color:#FCD9A8}
.pye-tyn{margin:4px 0 0;font-size:22px;font-weight:900;color:#fff;line-height:1.4}.pye-tyn span{margin-right:6px}
.pye-tyd{margin:6px 0 0;font-size:13px;font-weight:700;line-height:1.7}
.pye-kp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;padding-top:12px;border-top:1px dashed rgba(253,231,194,.25)}
.pye-kp>div{min-width:0;padding:10px 6px;border-radius:14px;background:rgba(255,255,255,.07)}
.pye-kp small{display:block;font-size:11.5px;font-weight:800;line-height:1.45;color:#FCD9A8}
.pye-kp b{display:block;margin-top:4px;font-size:clamp(26px,8.4vw,38px);font-weight:900;line-height:1.1;color:#FCD34D;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.pye-kp div+div b{color:#FB923C;font-size:clamp(36px,12vw,50px)}
.pye-kp b i{margin-left:2px;font-style:normal;font-size:.42em}
.pye-kp em{display:block;margin-top:4px;font-style:normal;font-size:11px;font-weight:700;color:#FDE7C2;line-height:1.5}
.pye-ai{margin:10px 0 0;font-size:12px;font-weight:700;line-height:1.6;color:#FCD9A8}.pye-ai b{color:#fff}
/* ふりかえり */
.pye-pw{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:12px}
.pye-pb{margin:0;padding:8px 4px;border-radius:14px;background:#FAFAF9;border:1px solid #E7E5E4;text-align:center;min-width:0}
.pye-pb figcaption{font-size:11px;font-weight:800;color:#57534E;line-height:1.35}.pye-pb figcaption b{display:block;font-size:16px;color:#1C1917}
.pye-pr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;justify-items:center;margin-top:6px}
.pye-pr span{display:flex;flex-direction:column;align-items:center}
.pye-pr i{display:block;width:30px;height:30px;border-radius:50%;-webkit-mask:radial-gradient(circle,transparent 6px,#000 6.5px);mask:radial-gradient(circle,transparent 6px,#000 6.5px)}
.pye-pr small{font-size:10px;line-height:1.2}
.pye-pbs{display:block;margin-top:4px;font-size:10.5px;font-weight:800;color:#92400E;line-height:1.35}
.pye-rvh{margin:4px 0 4px;font-size:12.5px;font-weight:900;color:#1C1917}
.pye-lg{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 6px;font-size:11px;font-weight:800}
.pye-lg span{padding:2px 8px;border-radius:99px}
.pye-lg .pye-ok,.pye-tb td.pye-ok{background:#DCFCE7;color:#166534}.pye-lg .pye-ws,.pye-tb td.pye-ws{background:#FEF3C7;color:#92400E}.pye-lg .pye-sh,.pye-tb td.pye-sh{background:#FEE2E2;color:#991B1B}
.pye-tbw{overflow-x:auto;margin-bottom:6px}
.pye-tb{width:100%;border-collapse:separate;border-spacing:3px;font-size:12px;table-layout:fixed}
.pye-tb th{font-size:11px;font-weight:800;color:#57534E;line-height:1.3;text-align:center;padding:2px}
.pye-tb thead th small{display:block;font-size:9.5px;white-space:nowrap}
.pye-tb tbody th{text-align:left;font-size:11px;width:30%;overflow-wrap:anywhere}
.pye-tb tbody th i{display:inline-block;width:8px;height:8px;margin-right:3px;border-radius:2px;vertical-align:middle}
.pye-tb td{padding:4px 2px;border-radius:8px;text-align:center;line-height:1.25}
.pye-tb td b{display:block;font-size:13px;font-weight:900;font-variant-numeric:tabular-nums}
.pye-tb td small{display:block;font-size:9.5px;font-weight:700;opacity:.85;white-space:nowrap}
@media(max-width:360px){.game{padding:12px}.ghud{gap:4px;font-size:10.5px;letter-spacing:-.02em}.ghud b{font-size:14px}.pye-nm{font-size:13px}.pye-am{min-width:50px;font-size:15.5px}.pye-pm{width:40px}.pye-dot{font-size:17px}.pye-kp div+div b{font-size:34px}.pye-tb td small{font-size:8.5px}.pye-hl small{font-size:9.5px}}
@media(prefers-reduced-motion:reduce){.res,.end{animation:none}.pye-pie.pye-hit,.pye-pie.pye-ok{animation:none}.pye-sl,.pye-hk{transition:none}}
