@font-face{font-family:LocalSerif;src:local("Noto Serif TC"),local("PMingLiU")}*{box-sizing:border-box}html{background:#f7f5ed;color:#273f37;font-family:system-ui,-apple-system,"Microsoft JhengHei",sans-serif}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:0;color:inherit}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #d18b48;outline-offset:4px}button{touch-action:manipulation}svg{vertical-align:middle}header{height:92px;border-bottom:1px solid #dddfd2;display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100vw - 1200px)/2));gap:20px}.brand{display:flex;gap:12px;align-items:center;background:none;padding:0;text-align:left}.brand-mark{width:43px;height:46px;background:#2e6653;border-radius:50% 48% 48% 25%;color:#f9efc9;display:grid;place-items:center;transform:rotate(12deg)}.brand-mark svg{transform:rotate(-12deg)}.brand strong{display:block;font-size:21px;letter-spacing:2px}.brand small{font-size:9px;letter-spacing:3.5px;color:#7d8e7e}.nav{display:flex;gap:28px;align-items:center}.nav button{background:none;font-size:13px;padding:13px 0;color:#718075}.nav button.active{color:#2c664f;border-bottom:2px solid #2c664f}.save-note{font-size:11px;color:#7b877a;border:1px solid #dfe4d7;padding:8px 13px;border-radius:30px}.container{max-width:1200px;margin:auto;padding:35px 28px 60px}.eyebrow{font-size:10px;letter-spacing:3px;color:#678071;text-transform:uppercase;display:flex;gap:8px;align-items:center}.eyebrow:before{content:'';width:23px;height:1px;background:#739581}.hero{display:grid;grid-template-columns:.95fr 1.05fr;gap:46px;align-items:center;margin-bottom:40px}.hero h1{font-family:LocalSerif,"Noto Serif TC",serif;font-size:47px;font-weight:600;line-height:1.45;letter-spacing:4px;margin:22px 0 16px}.hero h1 em{font-style:normal;color:#428064}.hero p{font-size:13px;line-height:2.1;color:#7b8276;max-width:380px;margin-bottom:27px}.primary{background:#306b53;color:#fff9e8;border-radius:9px;padding:15px 24px;display:inline-flex;align-items:center;justify-content:center;gap:13px;font-size:13px;font-weight:600;box-shadow:0 3px 0 #24533f;transition:background .2s}.primary:hover{background:#245840}.secondary{border:1px solid #d9decc;background:#faf9f2;border-radius:9px;padding:13px 18px;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:9px}.hero-meta{display:flex;gap:23px;margin-top:28px}.hero-meta span{font-size:11px;color:#758174;display:flex;gap:7px;align-items:center}.postcard{position:relative;background:#fffef8;padding:12px 12px 16px;box-shadow:0 12px 35px #54664317;transform:rotate(1.5deg);border:1px solid #e1e0ce;border-radius:3px;margin:15px 10px 5px}.postcard img{width:100%;aspect-ratio:1.65;object-fit:cover;object-position:50% 62%;border-radius:2px;display:block}.postcard-caption{display:flex;justify-content:space-between;padding:14px 10px 0;font-size:12px;color:#657765;letter-spacing:2px}.postcard-caption small{font-size:9px;letter-spacing:2px}.tape{position:absolute;width:104px;height:28px;left:40%;top:-13px;background:#e0ca9399;transform:rotate(-5deg);clip-path:polygon(3% 0,100% 5%,96% 100%,0 91%)}.stamp{position:absolute;right:-12px;top:-16px;width:70px;height:70px;display:grid;place-content:center;text-align:center;border:1px dashed #648d73;border-radius:50%;background:#f3f2e6e8;font-size:10px;line-height:1.8;color:#65836a;transform:rotate(12deg)}.section-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.section-row h2{font-size:19px;font-weight:600;letter-spacing:1px;margin:0}.section-row p{font-size:11px;color:#89917f;margin:6px 0 0}.progress-note{font-size:11px;color:#788775}.progress-track{display:inline-block;width:83px;height:4px;background:#e2e5d5;border-radius:5px;margin-right:9px;vertical-align:middle}.progress-track i{display:block;background:#609274;height:100%;border-radius:5px}.pack-tabs{display:flex;gap:10px;padding-bottom:23px;border-bottom:1px solid #dfe2d5}.pack{flex:1;padding:13px 12px;border:1px solid #e0e3d5;background:transparent;border-radius:9px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:12px;white-space:nowrap}.pack.active{background:#e7eddc;border-color:#6b977c;color:#315c43}.pack small{font-size:9px;color:#899583}.grid-tools{display:flex;gap:14px;align-items:center;justify-content:space-between;margin:24px 0 20px;color:#80907d;font-size:11px}.filters{display:flex;gap:7px;flex-wrap:wrap}.filter{border-radius:25px;padding:7px 12px;font-size:11px;background:none;color:#7c8878}.filter.active{background:#e7eadb;color:#426346}.level-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:22px 16px}.level-card{padding:0;background:none;text-align:left;position:relative}.level-image{position:relative;border-radius:9px;overflow:hidden;background:#e3e9d8;border:1px solid #dadfcd;transition:transform .2s,box-shadow .2s}.level-card:hover .level-image{transform:translateY(-3px);box-shadow:0 8px 20px #415d4c1f}.level-card img{width:100%;aspect-ratio:1.35;display:block;object-fit:cover}.number{position:absolute;top:9px;left:9px;background:#fff9e9e8;min-width:27px;height:25px;border-radius:5px;display:grid;place-content:center;font-size:10px;color:#6b806e;font-weight:700}.done{position:absolute;right:8px;bottom:8px;background:#2f7156;color:white;font-size:10px;padding:4px 8px;border-radius:20px}.level-card h3{font-size:12px;letter-spacing:.5px;margin:11px 0 5px;font-weight:500}.level-card p{font-size:10px;color:#8b9382;margin:0;display:flex;justify-content:space-between}.load-more{display:block;margin:30px auto 0}.footnote{border-top:1px solid #dfe2d5;margin-top:40px;padding-top:18px;display:flex;justify-content:space-between;font-size:10px;color:#8a9584;gap:10px}.footnote button{background:none;color:inherit;font-size:10px;padding:0}.game-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.back{background:none;padding:8px 0;font-size:12px;color:#7c8779;display:flex;align-items:center;gap:9px}.game-title{text-align:center}.game-title h1{font-family:LocalSerif,serif;font-size:27px;letter-spacing:3px;margin:6px 0}.game-title p{color:#8a9383;font-size:11px;margin:5px 0}.round-chip{font-size:11px;border:1px solid #dce2d1;border-radius:25px;padding:8px 13px;color:#71836b}.game-stats{display:flex;justify-content:space-between;align-items:center;background:#eeefe3;border:1px solid #dee4d2;border-radius:10px;padding:14px 20px;margin:22px 0 18px;gap:12px}.spots-count{display:flex;align-items:center;gap:9px;font-size:12px}.dots{display:flex;gap:5px}.dots i{display:block;border:1px solid #a1b195;width:9px;height:9px;border-radius:50%}.dots i.found{background:#3c7758;border-color:#3c7758}.attempts{font-size:12px}.attempts strong{font-size:22px;margin:0 4px;color:#37634b}.attempts.low strong{color:#bd6a4b}.game-actions{display:flex;gap:8px}.icon-button{background:none;border:1px solid #d5ddc8;border-radius:7px;padding:7px;display:flex;gap:5px;align-items:center;font-size:10px}.boards{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:1150px;margin:auto}.boards.vertical{grid-template-columns:1fr;max-width:650px}.board{margin:0;border:7px solid #fffdf5;box-shadow:0 3px 16px #4d674810;border-radius:10px;overflow:hidden}.image-area{position:relative;width:100%;cursor:crosshair;touch-action:manipulation;-webkit-user-select:none;user-select:none}.image-area img{display:block;width:100%;height:auto;pointer-events:none;-webkit-user-drag:none}.board figcaption{padding:8px 7px 3px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:2px;color:#84937d}.marker{position:absolute;border:3px solid #fcf6d8;box-shadow:0 0 0 2px #3d7a58,inset 0 0 0 1px #3d7a58;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;background:#faffd314}.marker b{position:absolute;bottom:-5px;right:-5px;border-radius:50%;width:20px;height:20px;background:#33764f;color:#fff8d6;display:grid;place-content:center;font:600 10px system-ui}.miss{position:absolute;color:#a14432;background:#fff4e1ee;border:1px solid #d59271;border-radius:50%;width:28px;height:28px;text-align:center;line-height:25px;transform:translate(-50%,-50%);pointer-events:none;animation:fadeout .65s forwards}.play-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:23px 0}.play-footer p{font-size:11px;color:#8b9382;margin:0;line-height:1.9}.reward-buttons{display:flex;gap:10px}.reward-buttons .secondary{background:#f0e5c7;border-color:#e3d3aa}.ad-label{font-size:9px;border:1px solid currentColor;padding:1px 4px;border-radius:3px;opacity:.65}.notice{font-size:10px;color:#8f947f;text-align:center;line-height:1.8}.collection-empty{text-align:center;padding:80px 20px;color:#798d78}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#294f41;color:#fff9e7;padding:12px 20px;border-radius:10px;box-shadow:0 3px 20px #1f493033;z-index:20;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;font-size:12px;max-width:90vw;width:max-content}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #dfe3d1;border-radius:18px;background:#fcfaf1;color:#304e40;max-width:440px;width:calc(100vw - 32px);padding:30px;text-align:center;box-shadow:0 20px 80px #223e322b}dialog::backdrop{background:#19382e70;backdrop-filter:blur(4px)}dialog h2{font-family:LocalSerif,serif;letter-spacing:2px;font-size:25px;margin:16px 0}dialog p{font-size:12px;line-height:1.9;color:#7e8977}dialog .modal-buttons{display:flex;flex-direction:column;gap:11px;margin-top:22px}dialog .secondary{box-shadow:none}dialog img{width:100%;border:7px solid white;border-radius:9px}dialog .seal{font-size:36px;color:#679071}dialog .plain{padding:10px;background:none;color:#89947f;font-size:11px}.privacy{text-align:left}.privacy h3{font-size:13px}.privacy p{font-size:11px}.settings-row{display:flex;justify-content:space-between;text-align:left;border-bottom:1px solid #e4e6d8;padding:14px 0;font-size:12px}.settings-row small{color:#899581;font-size:10px}.loading{min-height:80vh;display:grid;place-content:center;color:#637e69;font-size:16px}body.focus-mode header{display:none}body.focus-mode .container{padding-top:12px}.about-card{max-width:650px;margin:40px auto;border:1px solid #e0e3d4;padding:32px;border-radius:15px}.about-card p{font-size:13px;line-height:2;color:#7c8976}@keyframes fadeout{0%,70%{opacity:1}100%{opacity:0}}@media(min-width:1000px){.game-container{max-width:1200px}.boards{max-width:min(1150px,calc((100vh - 325px)*2.4))}.boards.vertical{max-width:620px}}@media(max-width:900px){.hero{gap:25px}.hero h1{font-size:36px}.level-grid{grid-template-columns:repeat(4,1fr)}.save-note{display:none}.pack{font-size:11px;gap:5px;padding:13px 8px}.pack small{display:none}.game-stats{padding:12px}.game-actions .action-text{display:none}}@media(max-width:600px){header{height:73px;padding:0 19px}.brand strong{font-size:17px}.brand small{font-size:8px;letter-spacing:2px}.brand-mark{width:35px;height:38px}.nav{gap:15px}.nav button{font-size:11px}.container{padding:24px 18px 35px}.hero{display:flex;flex-direction:column;gap:20px;align-items:stretch;margin-bottom:34px}.hero h1{font-size:35px;line-height:1.5;margin:15px 0 10px}.hero p{font-size:12px;margin:0 0 19px}.hero-meta{margin-top:21px;gap:17px}.hero-meta span{font-size:10px}.postcard{margin:13px 7px 0}.postcard img{aspect-ratio:1.9}.postcard-caption{padding:12px 3px 0;font-size:10px}.postcard-caption small{font-size:8px}.stamp{width:60px;height:60px;font-size:9px}.section-row h2{font-size:18px}.progress-track{width:38px}.pack-tabs{gap:7px;overflow-x:auto;padding-bottom:16px}.pack{flex:0 0 auto;padding:11px 13px}.level-grid{grid-template-columns:repeat(2,1fr);gap:22px 13px}.grid-tools{align-items:flex-start;gap:5px}.grid-tools>span{padding-top:8px;white-space:nowrap;font-size:10px}.filter{padding:7px 9px;font-size:10px}.footnote{line-height:1.8;flex-wrap:wrap}.game-container{padding:13px 12px 25px}.game-title h1{font-size:20px;letter-spacing:1px}.game-title p{font-size:9px}.round-chip{font-size:10px;padding:7px 9px}.game-top{margin-bottom:12px;gap:8px}.back{font-size:11px}.game-stats{margin:13px 0 12px;flex-wrap:wrap;gap:10px;padding:10px}.spots-count{font-size:11px;gap:6px}.dots{gap:3px}.dots i{width:7px;height:7px}.attempts{font-size:10px}.attempts strong{font-size:19px}.boards{gap:7px}.board{border-width:4px;border-radius:7px}.board figcaption{font-size:8px;padding:6px 2px 2px;letter-spacing:1px}.marker{border-width:2px;box-shadow:0 0 0 1px #3d7a58}.marker b{width:14px;height:14px;font-size:8px}.play-footer{flex-direction:column;margin:17px 0;gap:12px}.reward-buttons{width:100%;justify-content:center}.reward-buttons button{flex:1;padding:12px 8px;font-size:11px}.play-footer p{text-align:center;font-size:10px}.notice{font-size:9px}.game-actions{gap:5px}}@media(max-height:560px) and (orientation:landscape){header{height:53px}.brand strong{font-size:17px}.brand small{display:none}.brand-mark{width:31px;height:33px}.game-container{padding-top:6px;padding-bottom:8px}.game-top{margin-bottom:4px}.game-title h1{font-size:18px;margin:0}.game-title p{display:none}.game-stats{margin:7px 0;padding:6px 12px}.boards{max-width:calc((100vh - 196px)*2.4);gap:12px}.boards.vertical{max-width:450px}.board{border-width:4px}.board figcaption{padding:2px;font-size:8px}.play-footer{margin:8px auto;max-width:900px}.play-footer p{font-size:9px}.reward-buttons button{padding:8px 13px;font-size:10px}.notice{display:none}.attempts strong{font-size:17px}.game-stats .icon-button{padding:4px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
/* Keep the entire pair visible on ordinary portrait phones; focus expands details. */
.nav button,.brand strong{white-space:nowrap}
@media(max-width:600px){.brand small{display:none}.nav{gap:13px}.game-stats{flex-wrap:nowrap}.dots{display:none}.game-actions .icon-button{padding:5px}.game-actions{gap:4px}.boards.vertical{max-width:min(100%,max(200px,calc((100dvh - 390px)*.6)))}body.focus-mode .boards.vertical{max-width:100%}}
@media(max-height:560px) and (orientation:landscape){body.focus-mode .boards:not(.vertical){max-width:calc((100dvh - 145px)*2.4)}}

.qpao-demo-notice{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center;padding:12px 20px;background:#edf1e7;color:#354e3d;font:12px/1.7 Arial,"Microsoft JhengHei",sans-serif}.qpao-demo-notice a{color:inherit;text-decoration:underline;font-weight:600;white-space:nowrap}.qpao-demo-notice span{flex:1;min-width:220px}
