.cookie-page{margin:0}.cc-skip{position:absolute;top:-100px;left:12px;z-index:100;background:#fff;padding:12px}.cc-skip:focus{top:10px}
.cookie-game{--ink:#51434c;--muted:#75636d;--green:#396958;--mint:#e1efe6;--pink:#f5e0e5;--line:#e4d8d0;color:var(--ink);background:#fcf8f0;padding:26px 20px 60px;font-family:system-ui,-apple-system,"Noto Sans TC",sans-serif;min-height:75vh}.cookie-game *{box-sizing:border-box}.cookie-game [hidden]{display:none!important}.cookie-game button{font:inherit;color:inherit;cursor:pointer;min-height:44px;border:1px solid #d5c8be;border-radius:12px;background:#fffaf3;padding:9px 14px;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background 140ms,box-shadow 140ms}.cookie-game button:disabled{opacity:.5;cursor:default}.cookie-game button:active:not(:disabled){background:#f1e7dd}.cookie-game :is(button,a,summary):focus-visible{outline:3px solid #517f71;outline-offset:3px}.cookie-game .cc-primary{background:var(--green);color:#fff;border:0;font-weight:700;min-height:48px}.cookie-game .cc-primary:active:not(:disabled){background:#2d5748}.cc-wrap{max-width:1040px;margin:auto}.cc-heading>a{color:var(--green);font-size:13px;text-decoration:none;font-weight:650}.cc-eyebrow{font-size:10px;letter-spacing:.15em;color:var(--green);font-weight:750;margin:16px 0 8px}.cc-heading h1{font-size:clamp(28px,3.6vw,40px);letter-spacing:-.03em;line-height:1.2;margin:0 0 10px}.cc-heading>p:last-child{font-size:14px;color:var(--muted);margin:0 0 23px}.cc-welcome{display:grid;grid-template-columns:1fr 1fr;background:#fffdf9;border:1px solid var(--line);border-radius:26px;overflow:hidden;box-shadow:0 7px 0 #eee5d659}.cc-welcome-art{background:#e9eee4;display:grid;align-content:center;position:relative;overflow:hidden}.cc-welcome-art:before{content:"";width:240px;height:240px;border-radius:50%;background:#f7f0db;position:absolute;left:calc(50% - 120px);top:calc(50% - 120px)}.cc-welcome-art svg{width:100%;position:relative;z-index:1;overflow:visible}.cc-welcome-copy{padding:28px}.cc-dialogue{font-size:13px;line-height:1.9;margin:0 0 18px}.cc-dialogue strong{font-weight:600;color:var(--green)}.cc-welcome h2{font-size:22px;line-height:1.4;margin:0 0 18px}.cc-steps{list-style:none;padding:0;margin:0;counter-reset:step}.cc-steps li{counter-increment:step;position:relative;padding-left:35px;margin:13px 0;font-size:14px;line-height:1.7}.cc-steps li:before{content:counter(step);position:absolute;left:0;top:0;background:#f3e1e6;border-radius:50%;width:25px;height:25px;text-align:center;line-height:25px;font-weight:700}.cc-beginner{background:#e9f0e3;padding:10px 13px;border-radius:10px;font-size:13px}.cc-welcome-actions{display:grid;gap:9px}.cc-welcome-actions>button{width:100%}
.cc-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:25px;align-items:start}.cc-board{background:#fffdf9;border:1px solid var(--line);border-radius:24px;padding:20px;min-width:0;scroll-margin-top:90px}.cc-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.cc-top strong{font-size:13px;white-space:nowrap}.cc-top nav{display:flex;gap:8px}.cc-top nav button{width:44px;height:44px;padding:0;border-radius:50%;font-size:13px}.cc-top nav [aria-current="step"]{background:var(--green);color:white;border-color:var(--green)}.cc-top nav [data-done="true"]{box-shadow:0 0 0 2px #bed6c1}.cc-board>h2{font-size:18px;margin:17px 0 8px}.cc-metrics{display:flex;align-items:center;gap:20px;font-size:12px;color:var(--muted)}.cc-metrics b{font-size:16px;color:var(--ink);margin-left:5px;font-variant-numeric:tabular-nums}.cc-metrics button{margin-left:auto;font-size:12px;border:0;background:#f2ebf7;padding:8px 10px}.cc-jar{height:142px;text-align:center}.cc-jar>svg{width:100%;height:100%;overflow:visible}.cc-lid{transition:transform 280ms ease-out;transform-origin:300px 80px}.cc-open .cc-lid{transform:translateY(-29px) rotate(-6deg)}.cc-rules{font-size:13px;font-weight:650;text-align:center;margin:2px 0 10px}.cc-reveal{font-size:12px;line-height:1.6;background:#f0edfa;border-radius:10px;margin:0 0 14px;padding:9px 11px}.cc-slots{display:flex;gap:10px;justify-content:center}.cc-slots button{position:relative;min-width:0;flex:1;max-width:100px;background:#f8f0e4;border:2px solid #e0d0bc;border-radius:16px;padding:8px 4px 4px}.cc-slot-number{position:absolute;top:5px;left:7px;font-size:11px;font-weight:750;color:#715f4f}.cc-slot-picture{height:60px;display:grid;place-items:center}.cc-slot-picture svg{width:56px;height:56px}.cc-empty{font-size:30px;color:#b2a290;font-weight:500}.cc-slots small{font-size:10px;display:block;line-height:16px;min-height:16px;white-space:nowrap}.cc-slots [aria-pressed="true"]{outline:3px solid var(--green);outline-offset:2px;background:#eaf2e8}.cc-slots [data-locked="true"]{opacity:1;background:#eee8f6;border-color:#d8cce7}.cc-choose{text-align:center;font-size:13px;margin:15px 0 10px;color:var(--green);font-weight:600}.cc-palette{display:flex;gap:8px;justify-content:center}.cc-palette button{flex:1;min-width:0;max-width:90px;border-radius:14px;padding:6px 1px;background:#fff7f2}.cc-palette svg{display:block;width:48px;height:48px;max-width:100%;margin:auto;pointer-events:none}.cc-palette span{font-size:11px;display:block;white-space:nowrap}.cc-palette [aria-pressed="true"]{box-shadow:inset 0 0 0 2px var(--green);background:#edf4eb}.cc-edit-actions{display:flex;justify-content:space-between;align-items:center;margin-top:5px;font-size:12px}.cc-edit-actions button{border:0;background:transparent;padding:5px;font-size:12px}.cc-edit-actions span{color:var(--muted)}.cc-status{font-size:12px;line-height:1.6;min-height:38px;text-align:center;margin:3px 0 8px;color:var(--green)}#cc-submit{width:100%}.cc-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;font-size:11px;color:var(--muted)}.cc-bottom button{border:0;background:transparent;font-size:12px;padding:6px 3px}.cc-bottom span{text-align:right}.cc-save{font-size:12px;color:#845531}.cc-save:empty{display:none}.cc-confirm{border:1px solid #decdb1;border-radius:12px;background:#faf0db;padding:13px;margin-top:10px}.cc-confirm p{font-size:13px;line-height:1.6;margin:0 0 10px}.cc-confirm button{margin-right:8px;margin-top:5px;font-size:13px}.cc-result{text-align:center;background:#eaf2e4;border:1px solid #d2dfc8;border-radius:18px;padding:18px;margin:13px 0}.cc-result h2{font-size:21px;line-height:1.4;margin:0 0 10px}.cc-result>p{font-size:14px;line-height:1.7}.cc-result>.cc-primary{width:100%;margin:14px 0 0}.cc-answer>span{font-size:12px;color:var(--muted)}.cc-answer>div{display:flex;justify-content:center;gap:5px}.cc-result .play-result-guide{text-align:left}.cc-side{display:grid;gap:20px}.cc-notebook{border:1px solid #e4d7bd;background:#fffdf5;border-radius:20px;overflow:hidden;box-shadow:0 5px 0 #eadebe55}.cc-notebook>header{display:flex;align-items:center;gap:12px;background:#f0e5ca;padding:15px 19px}.cc-notebook>header span{font-size:25px;color:#967a4d}.cc-notebook h2{font-size:18px;margin:0}.cc-legend{padding:14px 17px;background:#faf6e9}.cc-legend>span{display:inline-block;font-size:12px;padding:5px 9px;border-radius:8px;margin:0 5px 5px 0;background:#e0ebdf;color:#34594b}.cc-legend>span:nth-child(2){background:#e9e1f1;color:#645274}.cc-legend p{font-size:12px;line-height:1.7;color:var(--muted);margin:4px 0 0}#cc-no-notes{font-size:13px;line-height:1.8;padding:18px;margin:0;color:var(--muted)}#cc-history{list-style:none;margin:0;padding:0 17px}#cc-history li{padding:14px 0;border-bottom:1px dashed #e0d2b5}#cc-history li:last-child{border-bottom:0}.cc-history-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.cc-history-top>strong{font-size:12px;white-space:nowrap}.cc-feedback{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.cc-feedback>span{font-size:11px;border-radius:7px;padding:4px 6px;background:#e5eee1;color:#355b49}.cc-feedback>span+span{background:#eee7f5;color:#665275}.cc-feedback b{font-size:15px;margin:0 2px}.cc-history-icons{display:flex;gap:6px;margin-top:7px}.cc-mini{display:inline-flex;width:47px;height:47px;background:#f9f0e1;border:1px solid #e7d9c3;border-radius:11px;flex-shrink:0}.cc-mini svg{width:100%;height:100%}.cc-tip{padding:18px 20px;background:#f4e4e9;border-radius:17px;font-size:13px}.cc-tip strong{color:#775160}.cc-tip p{margin:8px 0 0;line-height:1.8}.cc-how{margin-top:25px;background:#f4eef8;border:1px solid #e3d8ea;border-radius:18px;padding:0 20px 16px}.cc-how:not([open]){padding-bottom:0}.cc-how summary{cursor:pointer;padding:15px 0;font-weight:650;min-height:48px}.cc-how>p{font-size:13px;line-height:1.8}.cc-how>.cc-primary{width:100%;max-width:420px}.cc-demo{background:#fffaf3;border:1px solid #e7d8cd;border-radius:14px;padding:16px}.cc-demo h3{font-size:17px;margin:0 0 5px}.cc-demo>p{font-size:13px;line-height:1.7}.cc-demo-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.cc-demo-row>span{font-size:12px}.cc-demo-row>div{display:flex;gap:6px}.cc-demo button{background:#e2eee5;font-size:13px}#cc-demo-feedback{color:var(--green);font-weight:650}.cc-fair{font-size:12px;line-height:1.8;color:var(--muted);text-align:center;margin:19px 0 0}
@media(max-width:700px){.cookie-game{padding:17px 12px 40px}.cc-wrap{max-width:460px}.cc-heading h1{font-size:29px}.cc-heading>p:last-child{font-size:13px;margin-bottom:17px}.cc-welcome{display:block}.cc-welcome-art{height:170px}.cc-welcome-art:before{width:155px;height:155px;left:calc(50% - 77px);top:10px}.cc-welcome-art svg{height:166px}.cc-welcome-copy{padding:18px}.cc-welcome h2{font-size:19px;margin-bottom:12px}.cc-dialogue{font-size:12px;margin-bottom:14px}.cc-steps li{font-size:13px;line-height:1.7}.cc-layout{display:block}.cc-board{padding:13px;border-radius:21px}.cc-top nav{gap:8px}.cc-top strong{font-size:12px}.cc-top nav button{width:38px;min-height:44px;height:44px}.cc-board>h2{font-size:17px;margin-top:13px}.cc-metrics{gap:16px}.cc-jar{height:104px}.cc-rules{font-size:12px}.cc-reveal{font-size:12px;margin-bottom:12px;padding:8px 10px}.cc-slot-picture{height:50px}.cc-slot-picture svg{width:47px;height:47px}.cc-slots button{padding-top:10px;border-radius:13px}.cc-choose{font-size:12px;margin:12px 0 8px}.cc-palette span{font-size:10px}.cc-palette svg{width:42px;height:42px}.cc-palette button{min-height:68px}.cc-side{margin-top:18px}.cc-history-top{gap:6px}.cc-feedback>span{font-size:10px}.cc-result{padding:15px 12px}.cc-result h2{font-size:20px}.cc-result>p{font-size:13px}.cc-how{padding-left:15px;padding-right:15px}.cc-demo{padding:12px}.cc-demo-row .cc-mini{width:42px;height:42px}.cc-demo-row>div{gap:4px}.cc-bottom{font-size:10px}}
@media(max-width:350px){.cc-top{flex-wrap:wrap}.cc-top nav{width:100%;justify-content:space-between}.cc-top nav button{width:44px}.cc-slots{gap:8px}.cc-palette{gap:8px}.cc-palette svg{width:38px;height:38px}.cc-palette button{min-width:44px}.cc-palette span{font-size:9px}.cc-demo-row{display:block}.cc-demo-row>div{margin-top:6px}.cc-history-top{align-items:flex-start}.cc-feedback{gap:3px}.cc-feedback>span{padding:4px}.cc-result .play-result-actions{flex-wrap:wrap}}
.cc-welcome-legend{padding:12px;border-radius:12px;background:#f4edf8;font-size:12px;line-height:1.7}.cc-welcome-legend p{margin:5px 0 0}.cc-welcome-legend strong{font-weight:650}
.cc-latest{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;background:#f1edf6;border-radius:10px;padding:8px;font-size:12px;margin-bottom:7px}.cc-latest strong{font-weight:600}.cc-latest span{white-space:nowrap}
@media(prefers-reduced-motion:reduce){.cookie-game button,.cc-lid{transition:none}}
