:root{--ink:#543525;--deep:#39261d;--cream:#fff3dc;--paper:#f6e6c9;--orange:#ec7138;--green:#70866b;--line:#d3b995;--shadow:0 5px 0 #bd9c73;--serif:'STKaiti','KaiTi','Songti SC',serif}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:'Microsoft YaHei','PingFang SC',system-ui,sans-serif;background:#ece1d0;background-image:radial-gradient(ellipse at 10% 10%,#fbf4e6 0,transparent 60%),radial-gradient(ellipse at 90% 85%,#d0b99b 0,transparent 60%);min-height:100vh}button,input,select{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible{outline:3px solid #58a8a0;outline-offset:3px}button:active:not(:disabled){transform:translateY(2px)}[hidden]{display:none!important}.workspace{display:grid;grid-template-columns:270px 416px 232px;gap:54px;justify-content:center;align-items:center;min-height:100vh;padding:28px}.guide{align-self:center}.edition{font-size:10px;letter-spacing:1.6px;font-weight:700;color:#8f745b}.edition i{display:inline-block;width:6px;height:6px;border-radius:100%;background:#74936f;margin-right:8px}.guide h1{font:700 54px/1.2 var(--serif);letter-spacing:5px;margin:28px 0 18px}.guide h1 span{color:var(--orange)}.intro{font-size:14px;line-height:1.9;letter-spacing:2px;color:#9b7f66}.hairline{height:1px;background:#cebca6;width:54px;margin:30px 0}.guide-label{font-size:10px;letter-spacing:2px;color:#967a60;margin-bottom:12px}.route{display:flex;width:100%;align-items:center;text-align:left;padding:15px 14px;border-bottom:1px solid #d8c7b1;gap:15px;transition:.2s}.route b{font-family:Georgia,serif;font-size:18px;color:#b39a7c}.route span{font-size:14px;font-weight:700}.route small{display:block;font-size:10px;font-weight:400;color:#a1876c;margin-top:5px}.route em{font-style:normal;margin-left:auto;color:#b59a7c}.route.active{background:#fff6e7;border:1px solid #d9c6a7;border-radius:12px;box-shadow:0 6px 18px #7457350b}.route.active b{color:var(--orange)}.guide-bottom{margin-top:24px;display:flex;flex-wrap:wrap;gap:8px}.quiet{font-size:11px;padding:7px 0;color:#91755a}.guide-bottom .quiet:first-child{width:100%;text-align:left}.guide-bottom .quiet:last-child{margin-left:12px}.phone{position:relative;width:416px;height:852px;background:var(--cream);border:7px solid #513829;border-radius:44px;box-shadow:0 25px 65px #593b3630,0 3px 0 #a18467,inset 0 0 0 1px #c4a383;display:flex;flex-direction:column;overflow:hidden}.statusbar{height:26px;flex:none;padding:7px 22px 0;background:var(--deep);color:#ffe5bb;font-size:10px;display:flex;justify-content:space-between}.island{width:91px;height:14px;background:#241810;border-radius:10px;margin-top:-4px}.topbar{height:64px;padding:10px 14px;display:flex;align-items:center;gap:9px;flex:none;background:linear-gradient(#57392a,#412a1f);color:var(--cream);box-shadow:0 2px 5px #40271933;z-index:5}.avatar{width:37px;height:37px;border:2px solid #d8b274;border-radius:13px;background:#b76b40;font-family:var(--serif);font-size:23px;box-shadow:inset 0 0 0 3px #e3b87355}.identity{line-height:1.5;min-width:98px}.identity b{display:block;font-size:11px}.identity small{font-size:8px;color:#c9b08e}.wallet{margin-left:auto;display:flex;gap:7px;font-size:11px}.wallet span,.wallet button{background:#2d2018;border:1px solid #7d5e3d;padding:7px 8px;border-radius:9px;color:#efd0a1}.wallet b{font-weight:600}.screen{position:relative;flex:1;overflow:auto;overflow-x:hidden;min-height:0;scrollbar-width:thin;scrollbar-color:#cfb591 transparent;background:#f5e7d1}.bottomnav{height:67px;flex:none;display:grid;grid-template-columns:repeat(4,1fr);padding:6px 8px 9px;background:linear-gradient(#563d2c,#3c2a1f);border-top:3px solid #8c633d;z-index:8}.bottomnav button{font-size:10px;color:#c5aa84;border-radius:12px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:2px}.bottomnav span{font-size:23px;line-height:1}.bottomnav .active{color:#432a1e;background:linear-gradient(#ffecc5,#dcb882);box-shadow:0 2px 0 #25160c}.notes{align-self:center}.notes-mark{font-size:11px;letter-spacing:3px;margin-bottom:27px;color:#887159}.note-paper{position:relative;background:#fff8e9;padding:27px 21px 16px;box-shadow:0 6px 18px #6c4d3610;transform:rotate(2deg);border:1px solid #e4d2b4}.tape{position:absolute;width:70px;height:19px;background:#d7b57777;top:-11px;left:75px;transform:rotate(-5deg)}.tiny{font-size:9px;letter-spacing:1px;color:#a48b6c}.note-paper h2{font:700 22px/1.4 var(--serif);margin:14px 0 13px}.note-paper p{font-size:12px;line-height:1.9;color:#967d65}.ink-icons{text-align:center;color:#b8a17e;letter-spacing:12px;margin-top:22px}.session{display:grid;grid-template-columns:1fr auto;gap:15px 10px;font-size:10px;padding:30px 9px;border-bottom:1px solid #cdb89d;color:#92775e}.session b{color:#684b34}.prototype-note{font-size:10px;line-height:1.9;color:#a18b74;padding:15px 9px}.home{min-height:100%;position:relative;display:flex;flex-direction:column}.room{height:330px;position:relative;overflow:hidden;flex:none;background:#dbc49c}.room-back{position:absolute;inset:0}.room-back svg{width:100%;height:100%;object-fit:cover}.room-label{position:absolute;left:18px;top:15px;z-index:1;display:flex;flex-direction:column;gap:4px;color:#fff3d6;text-shadow:0 2px 4px #563e2d}.room-label b{font:700 21px var(--serif);letter-spacing:3px}.room-label small{font-size:9px;letter-spacing:2px}.weather{position:absolute;right:16px;top:18px;padding:5px 9px;border-radius:20px;background:#7d5e4188;color:#ffe7ad;font-size:9px}.carpet{position:absolute;bottom:15px;left:9%;width:82%;height:95px;background:repeating-radial-gradient(ellipse,#a76840 0 7px,#bc8353 8px 14px);border:5px solid #e5b778;border-radius:50%;transform:rotate(-5deg);box-shadow:0 6px 10px #51302044}.home-creature{position:absolute;bottom:38px;width:150px;height:135px;left:125px;z-index:2;animation:bob 3.7s ease-in-out infinite}.home-creature.left{left:25px;width:104px;height:95px;bottom:30px;animation-delay:.5s;transform:rotate(-9deg)}.home-creature.right{left:auto;right:13px;width:111px;height:100px;bottom:34px;animation-delay:1s}.art{display:inline-flex;align-items:center;justify-content:center;position:relative}.art svg{width:100%;height:100%;overflow:visible;filter:drop-shadow(0 4px 2px #502e1822)}.home-bubble{position:absolute;top:123px;left:97px;padding:10px 15px;background:#fff5d9;border:1px solid #bd966b;border-radius:16px 16px 16px 3px;font-size:11px;box-shadow:0 4px 0 #825a3322;z-index:3;transform:rotate(-3deg)}.home-bubble::after{content:'✦';color:#d3a355;margin-left:8px}.home-content{padding:14px 18px 18px;flex:1;position:relative;background:#f6e9d4;border-top:3px solid #d4b58d}.patrol-card{background:#fff9ee;border:1px solid #ddc9ab;border-radius:15px;padding:12px 13px;margin-bottom:15px;box-shadow:0 3px 0 #e4ceb0}.between{display:flex;justify-content:space-between;align-items:center;gap:8px}.title-small{font-size:11px;font-weight:700}.muted{font-size:10px;color:#a08970}.stamps{display:flex;justify-content:space-between;margin-top:10px}.stamp{width:40px;height:40px;border:1px dashed #d8c0a0;background:#f4e8d3;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative;font-family:Georgia,serif;font-size:18px;color:#c4aa86}.stamp.done{background:#e9eee0;color:#70826a;border:1px solid #b5c3a2}.stamp.current{color:#c46b37;border:2px solid #d89750;background:#fff1cd}.stamp small{position:absolute;bottom:-5px;font-size:7px;background:#f2d29e;padding:1px 4px;border-radius:4px;color:#765030;white-space:nowrap}.primary{width:100%;padding:14px 16px;font-weight:800;font-size:16px;color:#fff4db;border:2px solid #8e4324;border-radius:16px;background:linear-gradient(#fb964b,#e86b31);box-shadow:inset 0 2px 0 #ffc487,0 5px 0 #a04c2c,0 7px 13px #a94a2322;text-shadow:0 1px 0 #9c472c}.primary small{font-size:9px;display:block;margin-top:3px;font-weight:400;letter-spacing:1px;color:#ffdbb1}.secondary{padding:10px 13px;background:linear-gradient(#fff9ec,#efdbb9);border:1px solid #c4a47b;border-radius:11px;box-shadow:0 3px 0 #c4a47b;font-size:11px;font-weight:700}.tertiary{padding:9px 12px;border:1px solid #d4c1a6;border-radius:10px;font-size:10px;color:#8d745d;background:#fff7e8}.action-row{display:flex;gap:10px;margin-top:13px}.action-row>*{flex:1}.banner{display:flex;align-items:center;gap:10px;padding:11px 13px;background:#efe4ce;border:1px solid #d8c2a0;border-radius:12px;margin-top:14px;text-align:left;width:100%;font-size:10px}.banner .big{font-size:22px}.banner b{display:block;font-size:11px;margin-bottom:3px}.banner .arrow{margin-left:auto;font-size:18px}.page{padding:18px 16px 22px}.page-head{margin:0 0 14px;display:flex;align-items:center;justify-content:space-between}.page-head h2{font:700 24px var(--serif);letter-spacing:2px;margin:0 0 5px}.back{width:30px;height:30px;border:1px solid #ccb18a;background:#fbefda;border-radius:50%;font-size:17px}.pill{font-size:9px;padding:5px 9px;border-radius:20px;background:#ebe0ca;color:#927858;border:1px solid #d7c2a2;white-space:nowrap}.green{background:#e4eadb;color:#6c805f;border-color:#b9c6a9}.orange{background:#fbe0bd;color:#ad6538;border-color:#e3b883}.section-title{font-size:12px;font-weight:700;margin:19px 0 11px;display:flex;justify-content:space-between;align-items:center}.scroll-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.spirit-card{position:relative;display:flex;flex-direction:column;align-items:center;padding:9px 5px 11px;border:1px solid #dac6a8;border-radius:14px;background:#fff7e8;box-shadow:0 3px 0 #e0c8a7}.spirit-card .art{height:65px;width:77px}.spirit-card strong{font-size:10px;margin-top:7px}.spirit-card small{font-size:8px;color:#a28867;margin-top:5px}.spirit-card.locked{background:#e8dcc7;opacity:.66}.spirit-card.locked .art{filter:grayscale(.8)}.badge{position:absolute;top:5px;left:5px;background:#e9c57e;color:#6e492b;font-size:7px;border-radius:4px;padding:2px 4px;z-index:2}.wardrobe-banner{background:#e2e7d5;display:flex;gap:12px;align-items:center;padding:13px;border:1px solid #b7c4a5;border-radius:15px}.wardrobe-banner .art{width:78px;height:70px}.wardrobe-banner b{font-size:14px;display:block}.wardrobe-banner p{font-size:10px;line-height:1.6;color:#7c8768;margin:6px 0}.wardrobe-banner button{font-size:10px;padding:7px 12px;background:#fff9e9;border:1px solid #bac4a7;border-radius:10px}.shop{border:1px solid #ccb28b;background:#fff4df;border-radius:15px;overflow:hidden;margin-bottom:14px;box-shadow:0 4px 0 #d6bc93}.awning{height:25px;background:repeating-linear-gradient(90deg,var(--awning,#ba6351) 0 24px,#f7e5bd 24px 48px);border-bottom:3px solid #83513c;box-shadow:inset 0 3px 0 #ffffff33;border-radius:14px 14px 7px 7px}.shop-main{padding:12px}.shop-name{font-size:14px;font-weight:800}.shop-rate{font:700 18px Georgia,serif;color:#a56c38}.shop-rate small{font:9px system-ui;color:#a68b6c}.employees{display:flex;gap:7px;margin:12px 0}.employee{flex:1;min-width:0;background:#f5e7ce;border:1px solid #d9c19d;border-radius:10px;display:flex;flex-direction:column;align-items:center;padding:6px 2px;font-size:9px}.employee .art{width:56px;height:48px}.employee small{font-size:8px;color:#a78c68}.employee .empty{font-size:28px;height:48px;line-height:48px;color:#bea17a}.shop-bottom{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#8f775b;border-top:1px dashed #dbc6a5;padding-top:9px;gap:5px}.mini-btn{font-size:9px;padding:6px 9px;background:#eee1c8;border:1px solid #ccb18c;border-radius:7px}.tray{background:linear-gradient(135deg,#76543a,#4d3425);border:2px solid #b38a57;border-radius:14px;color:#ffedc7;padding:14px;display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.tray b{font:700 25px Georgia,serif}.tray small{display:block;color:#d0b58c;font-size:9px;margin-top:4px}.tray button{background:#efc47d;border:1px solid #ffda9b;border-radius:10px;padding:10px 12px;font-size:11px;color:#69452c;font-weight:700}.friend-stand{border:1px dashed #bbab87;border-radius:13px;background:#e9e6d1;padding:13px;margin-bottom:13px}.friend-stand b{font-size:12px}.friend-stand p{font-size:10px;color:#8b8466;line-height:1.6}.helper{background:#f2d3aa;border-radius:6px;padding:4px 7px;font-size:8px}.friend-card{border:1px solid #ddc9aa;background:#fff7e8;padding:12px;border-radius:13px;margin:9px 0;display:flex;gap:10px;align-items:center}.friend-avatar{width:43px;height:43px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#d8ddc7;font-family:var(--serif);font-size:22px}.friend-card b{font-size:12px}.friend-card p{font-size:9px;line-height:1.6;margin:4px 0;color:#9c8366}.friend-card button{margin-left:auto}.claw-banner{height:145px;background:#68857c;border:2px solid #4d655f;border-radius:16px;position:relative;overflow:hidden;color:#fff4da;padding:18px;margin:12px 0}.claw-banner h3{font:700 25px var(--serif);letter-spacing:3px;margin:0 0 9px}.claw-banner p{font-size:10px;color:#d4e2d4}.claw-banner .art{position:absolute;right:12px;bottom:8px;width:110px;height:100px;transform:rotate(10deg)}.claw-banner button{background:#f9e6bc;border:1px solid #efc586;color:#5b5941;border-radius:20px;padding:7px 12px;font-size:10px}.meter{height:7px;background:#e3d3b7;border-radius:10px;overflow:hidden;margin:8px 0}.meter i{display:block;height:100%;width:0;background:#819773;border-radius:10px;transition:width .3s}.log{border-bottom:1px solid #e2d1b7;padding:11px 0;font-size:10px;line-height:1.7;color:#947a61}.log b{color:#6e5039}.log small{display:block;font-size:8px;color:#b19b80}.match-page{padding:14px 13px 18px;min-height:100%;background:radial-gradient(ellipse at 50% 40%,#a97b4a,#6d4d34);color:#fff0d0}.game-top{display:flex;align-items:center;gap:9px}.game-top .back{background:#f7e4be}.game-top b{font-size:13px}.game-top small{display:block;font-size:9px;color:#d4ba91;margin-top:3px}.game-top .art{width:47px;height:42px;margin-left:auto}.combo-bar{display:flex;justify-content:space-between;align-items:center;padding:12px 8px 8px}.combo-value{color:#ffd886;font-weight:900;font-size:24px;font-family:Georgia,serif}.combo-value small{font-size:10px;margin-left:5px}.ammo{font:700 26px Georgia,serif;color:#fff5db}.ammo small{font:10px system-ui}.combo-timer{height:4px;background:#533a29;margin:0 8px;border-radius:5px;overflow:hidden}.combo-timer i{display:block;height:100%;background:#f6bf63;transition:width .1s linear}.board{height:355px;position:relative;max-width:350px;margin:8px auto 0;background:repeating-linear-gradient(0deg,#805a3b55 0 2px,transparent 2px 50px);border-radius:50%;border:8px solid #a5794d;box-shadow:inset 0 0 0 3px #69472e,inset 0 0 25px #583e2f55,0 5px 0 #4d3425}.tile{position:absolute;width:62px;height:68px;border:2px solid #66472d;border-radius:12px;background:linear-gradient(#fff8e7,#efdbb8);box-shadow:inset 0 2px 0 #fff,0 5px 0 #b69b75,0 7px 0 #4e3422,0 9px 8px #3b231944;transition:filter .2s,transform .15s;display:flex;align-items:center;justify-content:center}.tile .art{width:53px;height:52px;pointer-events:none}.tile.covered{filter:brightness(.66);cursor:not-allowed}.tile.selected{visibility:hidden}.tile.hint{outline:3px solid #83d4ba;box-shadow:0 0 14px #b9fce7,0 6px 0 #617c61}.slots{display:flex;justify-content:center;gap:12px;padding:12px 0 7px;margin:8px 15px;background:#442f22;border:2px solid #b18a56;border-radius:14px}.slot{width:57px;height:57px;background:#2b211b88;border:1px dashed #8c7150;border-radius:10px;display:flex;align-items:center;justify-content:center}.slot.filled{background:#f2e0be;border:1px solid #dec5a0}.slot .art{width:48px;height:48px}.game-tip{text-align:center;font-size:9px;color:#dbc29b;margin:8px 0}.match-page .action-row{margin:11px 12px 0}.machine-page{padding:14px 13px;background:linear-gradient(#647d70,#394d43);min-height:100%;color:#f6e8bf}.machine-stats{display:flex;justify-content:space-between;gap:8px;margin:10px 0}.machine-stat{background:#253e3388;border:1px solid #91a38355;border-radius:10px;padding:7px 10px;flex:1;font-size:9px;color:#becbb4}.machine-stat b{font-size:19px;color:#fff0bf;font-family:Georgia,serif;display:block;margin-top:3px}.machine-frame{position:relative;padding:7px;background:linear-gradient(90deg,#a87d48,#e2bc78 8%,#b98b50 15%,#b98b50 85%,#edcc91 93%,#a87d48);border:2px solid #4b3727;border-radius:80px 80px 24px 24px;box-shadow:0 5px 0 #2a382f}.machine-frame canvas{width:100%;height:390px;display:block;border-radius:72px 72px 17px 17px;background:#1e342d}.machine-prompt{font-size:11px;text-align:center;height:24px;margin-top:12px;color:#fde3a7;font-weight:700}.fire{touch-action:none;user-select:none;-webkit-user-select:none;letter-spacing:3px;padding:14px;margin-top:3px}.fire.held{filter:brightness(1.15);transform:translateY(3px);box-shadow:0 2px 0 #8e4324}.shieldbar{height:6px;background:#36483d;border-radius:4px;margin-top:7px;overflow:hidden}.shieldbar i{display:block;height:100%;background:#b9d4b2;transition:width .15s}.claw-page{min-height:100%;padding:16px;background:#e9e5ce}.claw-cabinet{margin-top:14px;border:8px solid #679587;border-radius:24px 24px 18px 18px;background:#c5ddd0;box-shadow:0 6px 0 #426f61,inset 0 0 0 2px #426f61;overflow:hidden}.claw-sign{background:#f4d995;color:#77603b;text-align:center;font:700 24px var(--serif);letter-spacing:5px;padding:13px 3px;border-bottom:5px solid #527c6c}.claw-glass{position:relative;height:330px;background:linear-gradient(120deg,#ebf6e9aa 0 12%,#b4d2c455 13% 18%,#d4e5d2aa 19%);overflow:hidden;box-shadow:inset 0 0 18px #517f6822}.claw-glass:after{content:'';position:absolute;inset:0;pointer-events:none;border:3px solid #ffffff66;border-radius:0 0 10px 10px}.claw-arm{position:absolute;top:0;width:55px;height:100px;transform:translateX(-50%);z-index:5;transition:top .65s ease-in-out}.claw-arm:before{content:'';position:absolute;left:26px;width:3px;height:370px;bottom:78px;background:#8e9381}.claw-arm svg{width:55px;height:70px;position:absolute;bottom:0;filter:drop-shadow(0 4px 2px #0002)}.claw-toy{position:absolute;bottom:18px;width:90px;text-align:center;transition:.7s;z-index:2}.claw-toy .art{width:85px;height:88px;animation:bob 4s infinite}.claw-toy small{display:block;font-size:8px;background:#f5edce;border:1px solid #abc2a9;border-radius:10px;margin:0 3px;padding:3px}.claw-toy.lifted{transform:translateY(-150px)}.claw-floor{position:absolute;bottom:0;background:#82aa8d;width:100%;height:40px;border-top:3px solid #668f73}.claw-controls{background:#78a493;padding:13px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:3px solid #466f60}.claw-controls small{color:#f1f5d8;font-size:10px;line-height:1.7}.claw-controls button{width:125px;background:linear-gradient(#ffe5a0,#e7b765);border:2px solid #79613d;border-radius:35px;padding:12px;color:#6b5030;font-weight:800;box-shadow:0 4px 0 #806b46}.modal{position:absolute;inset:26px 0 0;z-index:30;background:#291f19a6;backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:21px}.dialog{width:100%;max-height:94%;overflow:auto;scrollbar-width:thin;background:#fff1d9;border:3px solid #8e6a46;border-radius:23px;box-shadow:0 7px 0 #32231b44,0 20px 35px #21190e44;padding:20px;position:relative;animation:pop .2s}.dialog .close{position:absolute;right:10px;top:8px;width:29px;height:29px;border-radius:50%;font-size:20px;color:#aa8c6d;background:#ead8b9;z-index:2}.dialog h2{font:700 25px var(--serif);text-align:center;letter-spacing:2px;margin:7px 0 10px}.dialog p{font-size:11px;line-height:1.8;color:#9b7f62}.dialog .hero-art{width:140px;height:130px;margin:8px auto;display:flex;position:relative}.dialog .primary{font-size:13px;padding:12px}.dialog .hero-art:before{content:'';position:absolute;width:130px;height:130px;background:radial-gradient(#f5d58b99,transparent 72%);border-radius:50%}.reward-row{display:flex;justify-content:center;gap:12px;margin:18px 0}.reward{padding:10px 15px;border:1px solid #dcc39c;background:#f8e5c1;border-radius:11px;text-align:center;font-size:13px;font-weight:700}.reward small{display:block;font-size:8px;font-weight:400;margin-top:5px;color:#ab8c61}.subtle{text-align:center;font-size:9px!important;color:#aa8d6d!important}.dialog .list{max-height:350px;overflow:auto}.picker{display:flex;gap:9px;align-items:center;padding:8px;border:1px solid #dfc8a6;border-radius:11px;margin:7px 0;background:#fff8e9;width:100%;text-align:left}.picker .art{width:49px;height:47px;flex:none}.picker b{font-size:11px;display:block}.picker small{font-size:9px;color:#a28968;display:block;line-height:1.7;margin-top:3px}.picker .delta{margin-left:auto;font-size:12px;color:#6e8b61;white-space:nowrap}.photo{position:relative;background:#fffdf5;border:1px solid #e0d2b6;padding:10px 10px 25px;transform:rotate(-3deg);margin:16px 5px 20px;box-shadow:0 5px 12px #7a5c3422;text-align:center}.photo-scene{background:linear-gradient(#bccbbb,#e4d3a4);display:flex;justify-content:center;padding:20px 10px 8px}.photo-scene .art{width:108px;height:105px}.photo p{font-family:var(--serif);color:#8b765c;margin:9px 0 0;font-size:13px}.ad-screen{background:#e8e2cb;padding:22px 15px;text-align:center;border-radius:14px;border:1px solid #d5c6a3;margin:18px 0}.ad-screen .art{width:100px;height:90px}.ad-countdown{font:700 35px Georgia,serif;color:#c88a49;margin:10px}.dress-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.dress-item{padding:12px 7px;text-align:center;background:#f6e4c5;border:1px solid #d2b68c;border-radius:12px}.dress-item b{display:block;font-size:11px;margin:7px 0}.dress-item .hat-icon{font-size:32px}.accessory{position:absolute;top:-8px;left:50%;transform:translateX(-50%) rotate(-9deg);font-size:28px;z-index:3;filter:drop-shadow(0 2px 1px #50341f44)}.accessory.side{top:45%;left:87%;font-size:24px}.toast{position:absolute;left:50%;bottom:87px;transform:translate(-50%,15px);opacity:0;transition:.2s;background:#3d2e23ed;color:#ffedcc;border:1px solid #9b7d52;border-radius:15px;padding:12px 17px;font-size:11px;max-width:88%;width:max-content;z-index:50;pointer-events:none;text-align:center;line-height:1.5}.toast.show{opacity:1;transform:translate(-50%,0)}.trial-scene{position:relative;height:115px;background:#e2dec2;border-radius:13px;overflow:hidden;margin:18px 0;border-bottom:9px solid #bd9d75}.trial-scene .art{position:absolute;bottom:8px;left:-60px;width:60px;height:65px;animation:walk 4s linear infinite}.trial-scene .art:nth-child(2){animation-delay:1s}.trial-scene .art:nth-child(3){animation-delay:2s}.trial-scene .sign{position:absolute;top:15px;right:20px;font-size:13px;padding:8px;background:#f1d8a7;border:2px solid #aa7a49;border-radius:9px}.switcher{display:flex;gap:7px;margin:13px 0}.switcher button{flex:1;border:1px solid #d4bc96;border-radius:20px;padding:8px;font-size:10px;background:#f8eddb}.switcher .active{background:#77573b;color:#ffe4ba}.empty-note{text-align:center;padding:30px 10px;font-size:12px;color:#9d8367}.save-indicator{font-size:8px;color:#baaa92;text-align:center;margin-top:14px}@keyframes bob{50%{translate:0 -5px}}@keyframes pop{from{transform:scale(.94);opacity:0}to{transform:scale(1);opacity:1}}@keyframes walk{to{left:110%}}@media(max-width:1160px){.workspace{grid-template-columns:230px 416px;gap:32px}.notes{display:none}}@media(max-width:740px){body{background:#3d2a1d}.workspace{display:block;padding:0}.guide,.notes{display:none}.phone{border:0;border-radius:0;width:100%;max-width:480px;height:100dvh;min-height:640px;margin:0 auto;box-shadow:none}.statusbar{display:none}.topbar{padding-top:max(10px,env(safe-area-inset-top));height:64px}.bottomnav{padding-bottom:max(9px,env(safe-area-inset-bottom));height:69px}.modal{inset:0}.room{height:clamp(260px,38vh,340px)}.board{transform-origin:top center}.machine-frame canvas{height:clamp(320px,47vh,430px)}}@media(max-height:780px) and (min-width:741px){.workspace{align-items:start}.phone{height:830px}.guide,.notes{align-self:start;margin-top:50px}}@media(prefers-reduced-motion:reduce){.home-creature,.claw-toy .art{animation:none}.dialog{animation:none}}
.art{width:100%;height:100%}.hero-art>.art,.home-creature>.art{width:100%;height:100%}.wardrobe-banner>.art{flex:none}.board{width:350px;max-width:none;left:50%;margin-left:-175px;transform-origin:top center}.slot .art,.tile .art,.game-top .art{flex:none}.modal .hero-art .art{position:relative}.identity{flex:none}.machine-page .game-top>.art{margin-left:auto}.screen:has(.machine-page){background:#3a5145}.screen:has(.match-page){background:#735238}.dialog .list .picker:last-child{margin-bottom:3px}.page-head .muted{display:block;line-height:1.6}.phone .bottomnav button[data-go="partners"] span{transform:rotate(45deg)}
@media(max-width:370px){.identity{min-width:82px}.identity b{font-size:10px}.wallet{gap:4px}.wallet span,.wallet button{padding:6px}.topbar{gap:6px}.room-label b{font-size:19px}.home-creature{left:100px}.home-creature.right{right:0}.home-bubble{left:74px}.home-content{padding-left:14px;padding-right:14px}.stamps .stamp{width:37px;height:37px}}


/* v13.1 keeps the original paper, wood and sage palette. */
:root{color-scheme:light}body{font-size:16px}.workspace{grid-template-columns:250px 428px 230px;gap:40px;padding:24px}.phone{width:428px;height:min(880px,calc(100vh - 48px));min-height:700px}.edition,.guide-label,.notes-mark{font-size:13px}.guide h1{font-size:52px;margin:20px 0 16px}.intro{font-size:16px;color:#80664e}.route{padding:12px}.route span{font-size:16px}.route small{font-size:12px;color:#80684e;line-height:1.5}.quiet{font-size:13px;color:#74593f}.review-tools{border-top:1px solid #cdb99d;margin-top:20px;padding-top:16px}.review-tools label{display:block;font-size:13px;margin-bottom:8px}.review-tools select{width:100%;padding:10px 30px 10px 12px;background:#fff6e7;border:1px solid #bea27c;border-radius:9px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='10'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%23684b34' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;font-size:14px}.review-tools .action-row{gap:6px}.review-tools .tertiary{font-size:12px;padding:8px 4px}.review-note{font-size:14px;line-height:1.7;padding:18px 8px 0}.review-note p{color:#7c644f;font-size:13px}.note-paper p{font-size:14px;color:#80684e;line-height:1.85}.note-paper h2{font-size:25px}.tiny,.session,.prototype-note{font-size:12px;color:#80684e;letter-spacing:0}.session{padding:23px 8px;gap:16px 6px}.topbar{padding:10px 12px}.identity{min-width:98px}.identity b{font-size:13px}.identity small{font-size:11px}.wallet{gap:5px;font-size:13px}.wallet span,.wallet button{padding:7px 6px}.bottomnav{height:70px}.bottomnav button{font-size:13px}.muted,.subtle,.game-tip{font-size:12px;line-height:1.6;color:#81674d}.title-small,.section-title{font-size:14px}.pill{font-size:12px}.secondary,.tertiary{font-size:14px}.mini-btn{font-size:12px;min-height:32px}.primary{font-size:17px}.primary small{font-size:12px}.dialog p{font-size:14px;line-height:1.8}.dialog{padding:22px 18px;scrollbar-width:thin}.dialog .close{width:34px;height:34px;line-height:34px}.dialog .subtle{font-size:12px}.dialog h2{padding:0 16px}.page{padding:17px 15px 24px}.page-head h2{font-size:26px}.page-head .back,.game-top .back{width:38px;height:38px;flex-shrink:0}.home-creature,.claw-toy .art{animation:none!important}.home-bubble{display:none}.room{height:290px}.room-label b{font-size:23px}.room-label small,.weather{font-size:12px}.home-creature{left:128px;bottom:32px}.home-creature.left{bottom:28px}.home-content{padding:15px}.stamp small{font-size:10px;bottom:-8px}.patrol-card{padding:13px 12px 17px}.banner{font-size:12px}.banner b{font-size:14px}.home .action-row .secondary{font-size:14px}.text-bubble{position:absolute;bottom:90px;left:28px;right:28px;z-index:19;background:#fff9e9;color:#5e3f2b;border:1px solid #c5a880;border-radius:16px;padding:12px 16px;font-size:14px;text-align:center;pointer-events:none;box-shadow:0 4px 10px #593b3620}.toast{font-size:14px;line-height:1.6;max-width:90%;z-index:60}.art .accessory{position:absolute;width:45%;height:38%;left:29%;top:-5%;font-size:0;filter:none}.art .accessory.side{width:37%;height:48%;left:auto;right:-8%;top:49%}.art .accessory svg{width:100%;height:100%;filter:drop-shadow(0 1px 1px #56351e33)}.art.tier2>svg{filter:drop-shadow(0 4px 2px #502e1822) brightness(1.04)}.art.tier3>svg{filter:drop-shadow(0 0 3px #d4ae6d66)}.empty-state{text-align:center;padding:30px 12px;line-height:1.8}.empty-state .art{width:130px;height:130px}.empty-state p{font-size:14px;color:#80684e}.yard-scene{position:relative;padding:18px 14px 26px;background:radial-gradient(ellipse at 5% 20%,#b3c69c 0 6%,transparent 7%),radial-gradient(ellipse at 95% 55%,#b3c69c 0 7%,transparent 8%),linear-gradient(90deg,#d7dfbd 0 8%,#efdfbf 8% 92%,#d7dfbd 92%);border-radius:20px;margin-top:14px;border:1px solid #b5bf9f}.yard-scene:before{content:'';position:absolute;left:49%;top:0;bottom:0;border-left:6px dotted #bdad8a55;pointer-events:none}.yard-sign{position:relative;text-align:center;font:700 20px var(--serif);padding:4px 0 15px;letter-spacing:3px}.yard-shop{position:relative;background:#fff2d8;border:2px solid #b89a71;border-radius:15px;box-shadow:0 4px 0 #b89a7144;margin-bottom:20px;overflow:hidden}.yard-shop .awning{height:19px}.shop-entry{padding:10px 12px;width:100%;text-align:left;display:block}.shop-entry h3{margin:0;font-size:16px}.shop-entry .muted{font-size:12px}.shop-porch{display:flex;justify-content:center;gap:24px;align-items:flex-end;padding:3px 12px 9px;border-bottom:10px solid #a58055;background:linear-gradient(#eddfbf,#f9efda)}.shop-porch .art{width:62px;height:57px}.shop-porch .empty-place{height:57px;width:62px;border:1px dashed #bfaa85;border-radius:10px;display:grid;place-content:center;color:#a08a68}.shop-porch button{padding:0}.shop-ribbon{padding:8px 10px;display:flex;justify-content:space-between;align-items:center;font-size:12px;gap:7px}.tray{margin-bottom:12px}.tray small{font-size:12px;color:#e4cfaa}.tray button{font-size:14px}.ad-link{border:1px solid #c5ab86;border-radius:8px;padding:8px;font-size:12px;background:#faedcf;white-space:nowrap}.ad-label{display:inline-block;font-size:11px;border:1px solid currentColor;border-radius:4px;padding:0 3px;margin-right:4px;opacity:.8}.yard-tip{padding:10px 12px;border-radius:10px;background:#e4ead9;border:1px solid #b7c3a4;font-size:13px;line-height:1.7;margin:12px 0}.spare-list{padding:12px;background:#e9dfca;border:1px dashed #c1ad8d;border-radius:13px;margin:17px 0}.spare-item{display:flex;justify-content:space-between;align-items:center;font-size:14px;padding:10px 0;border-bottom:1px solid #d5c3a5}.spare-item:last-child{border:0}.stats-three{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:14px 0}.stats-three>div{background:#eddec1;border-radius:10px;padding:10px 3px;text-align:center;font-size:12px}.stats-three b{display:block;font-size:18px;margin:4px 0}.employees .employee{font-size:12px;min-width:0;overflow:hidden}.employees .employee b{font-size:12px}.employees .employee small{font-size:11px}.employees{gap:5px}.list .picker{font-size:14px;min-height:70px}.picker small{font-size:12px!important;line-height:1.5}.picker .art{flex-shrink:0}.spirit-card strong{font-size:12px}.spirit-card small{font-size:11px}.spirit-card .art{width:78px;height:74px}.badge{font-size:10px}.wardrobe-banner p,.wardrobe-banner button{font-size:12px}.wardrobe-banner .art{flex-shrink:0}.switcher button{font-size:13px}.wardrobe-stage{position:relative;border:2px solid #b49b78;border-radius:22px;background:radial-gradient(ellipse at 50% 45%,#fff6df 0 40%,#e2d3b8 74%);height:218px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:inset 0 0 0 5px #fff5dd}.wardrobe-stage .art{width:142px;height:135px}.wardrobe-stage strong{font-family:var(--serif);font-size:20px;margin-top:12px}.wardrobe-stage .stage-prompt{font-size:12px;color:#80674e;margin-top:5px}.outfit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.outfit-card{display:flex;flex-direction:column;align-items:center;padding:11px 4px 10px;border:1px solid #c9b18d;background:#fff6e5;border-radius:13px;min-height:130px;text-align:center}.outfit-card.selected{border:2px solid #a86a42;background:#f9e0b9;box-shadow:0 3px 0 #c1905d}.outfit-card svg{width:54px;height:49px}.outfit-card b{font-size:12px;line-height:1.7;margin-top:7px}.outfit-card small{font-size:11px;color:#80674e}.wardrobe-cta{position:sticky;bottom:-24px;margin:16px -15px -24px;padding:12px 15px 17px;background:#fff2dcf5;backdrop-filter:blur(8px);border-top:1px solid #c9b18d}.wardrobe-cta p{font-size:12px;margin:0 0 8px}.avatar-strip{display:flex;overflow:auto;gap:9px;margin:13px 0;padding:5px 0 8px}.avatar-option{flex-shrink:0;width:65px;border:1px solid #d0b897;border-radius:12px;padding:5px;background:#f9ebd1;font-size:11px}.avatar-option .art{width:50px;height:49px}.avatar-option.selected{border:2px solid #9c704b;background:#f7dba6}.friend-card p{font-size:12px}.friend-card b{font-size:15px}.friend-card .friend-avatar{flex-shrink:0}.friend-card .mini-btn{margin-left:auto}.claw-banner{height:166px}.claw-banner p,.claw-banner button{font-size:13px}.claw-banner button{padding:8px 14px}.friend-stand p{font-size:13px}.friend-stand b{font-size:14px}.claw-toy small{font-size:11px;min-height:38px;line-height:1.5}.claw-controls small{font-size:13px}.claw-glass{height:285px}.claw-controls button{font-size:16px}.claw-cabinet{margin-bottom:18px}.game-top b{font-size:15px}.game-top small{font-size:12px}.game-tip{color:#efdbb8}.match-page{padding-top:13px}.board{height:322px;width:350px;max-width:100%;border-width:6px;margin-top:10px}.tile{width:46px;height:53px;border-radius:10px}.tile .art{width:39px;height:40px}.slots{gap:10px}.slot{width:55px;height:52px}.combo-value small,.ammo small{font-size:12px}.machine-stat{font-size:12px}.machine-prompt{font-size:14px;height:38px;line-height:1.45;margin-top:10px}.machine-frame canvas{height:auto;aspect-ratio:350/390}.machine-page .game-tip{font-size:12px}.game-top .art{flex-shrink:0}.reward small{font-size:12px}.reward{font-size:24px}.small-table{width:100%;border-collapse:collapse;margin:12px 0;font-size:12px}.small-table td,.small-table th{text-align:left;padding:8px 4px;border-bottom:1px solid #d9c29f}.spec-block{text-align:left;font-size:14px;line-height:1.8;border-top:1px dashed #c8ad83;margin-top:16px;padding-top:14px}.spec-block h3{font-size:16px;margin:0 0 7px}.spec-block ul{padding-left:20px;margin:6px 0}.screen:focus{outline:none}.mobile-review{display:none}.no-motion *{animation:none!important}body:has(.modal:not([hidden])) .phone{isolation:isolate}@media(max-width:1120px){.workspace{grid-template-columns:220px 428px;gap:24px}.notes{display:none}}@media(max-width:760px){body{background:#f5e7d1}.workspace{display:block;padding:0;min-height:100dvh}.guide,.notes{display:none}.phone{border:0;border-radius:0;width:min(100%,480px);height:100dvh;min-height:560px;margin:auto;box-shadow:none}.statusbar{display:none}.topbar{height:67px}.modal{inset:0}.mobile-review{display:inline-block}.page-head h2{font-size:25px}.room{height:270px}}@media(max-height:780px) and (min-width:761px){.phone{height:735px;min-height:735px}.workspace{align-items:start}.guide{align-self:start;padding-top:18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
:is(.note-paper h2){text-wrap:balance}.machine-page{height:100%;min-height:0;display:flex;flex-direction:column}.machine-page .game-top,.machine-page .machine-stats,.machine-page .machine-prompt,.machine-page .fire,.machine-page .game-tip{flex:none}.machine-frame{flex:1;min-height:150px;max-height:400px;overflow:hidden}.machine-frame canvas{height:100%;width:100%;object-fit:contain;aspect-ratio:auto}.machine-page .game-tip{margin:9px 0 0}.game-top small{max-width:250px}.notes-mark{margin-bottom:22px}@media(min-width:761px){.workspace{padding:16px 24px;align-items:center}.phone{height:calc(100dvh - 32px);max-height:880px;min-height:620px}.guide{align-self:center}.room{height:255px}}@media(max-width:400px){.identity{min-width:90px}.identity b{font-size:12px}.identity small{font-size:10px}.wallet{font-size:12px}.topbar{padding:9px}.page{padding-left:12px;padding-right:12px}.wardrobe-cta{margin-left:-12px;margin-right:-12px}.shop-porch{gap:20px}.machine-page .game-top small{font-size:11px}}

@media(min-width:761px){.workspace{align-items:start}.phone{position:sticky;top:16px;align-self:start}.guide{align-self:start;padding-top:15px}.notes{align-self:start;padding-top:32px}}
.match-page .secondary,.match-page .back,.machine-page .back{color:#543525;text-shadow:none}.tile .art{width:83%;height:83%}.match-page .combo-value{font-size:26px}.match-page .ammo{font-size:26px}
.art.creature-17 .accessory:not(.side){left:55%;top:17%;width:36%;height:32%}.art.creature-15 .accessory:not(.side){top:9%}.art.creature-1 .accessory:not(.side){left:13%;top:25%;width:38%;height:34%}
.wardrobe-stage{height:164px;display:grid;grid-template-columns:125px 1fr;grid-template-rows:1fr 1fr;column-gap:10px;padding:13px;text-align:left}.wardrobe-stage .art{width:125px;height:125px;grid-row:1/3;grid-column:1}.wardrobe-stage strong{grid-column:2;align-self:end;font-size:21px;margin:0 0 5px}.wardrobe-stage .stage-prompt{grid-column:2;align-self:start;line-height:1.7}.avatar-option{width:62px;padding:4px 2px}.avatar-option .art{width:44px;height:42px}.avatar-strip{margin:9px 0;padding-bottom:5px}.wardrobe-cta .primary{padding:11px}.wardrobe-cta .quiet{padding-bottom:0}

/* Shared courtyard choreography; no character-specific animation assets. */
.rank-entry{display:flex;align-items:center;gap:4px;flex-shrink:0;border:1px solid #b49b74;border-radius:12px;padding:9px 10px;background:#efe0bc;font-size:12px;color:#65482d}.rank-entry span{font-size:18px}.yard-page .page-head{align-items:center;margin-bottom:14px}.yard-page .page-head h2{font-size:25px}.warm-tray{display:flex;align-items:center;gap:12px;background:#73513b;color:#fff0ce;border-radius:15px;padding:12px 13px;box-shadow:0 4px 0 #e1c9a5}.tray-basket{font-size:36px;color:#dec38e;transform:rotate(-10deg)}.warm-tray small{font-size:11px;color:#ead6b5;display:block}.warm-tray b{font-size:25px;line-height:1.4;letter-spacing:1px}.warm-tray em{font-size:12px;font-weight:400;font-style:normal;letter-spacing:0}.warm-tray button{margin-left:auto;padding:10px 14px;background:#f5d395;color:#624029;border-radius:10px;font-size:14px;box-shadow:0 3px 0 #4c3627}.yard-whisper{display:flex;gap:8px;justify-content:space-between;align-items:center;font-size:11px;line-height:1.7;margin:13px 0;color:#7d674e}.yard-whisper button{flex-shrink:0;border-bottom:1px solid #ab8965;color:#68492e;padding:4px 0;font-size:11px}
.living-yard{position:relative;isolation:isolate;overflow:hidden;border:1px solid #b6b99a;border-radius:22px;background:radial-gradient(ellipse at 10% 9%,#c0cfa8 0 8%,transparent 8.3%),radial-gradient(ellipse at 0% 72%,#bbc9a2 0 13%,transparent 13.3%),linear-gradient(90deg,#d6dcb9,#e5dfb9 55%,#d8d9b4);padding:77px 0 58px;box-shadow:inset 0 0 0 5px #f0e7c466}.yard-path{position:absolute;right:8%;top:0;bottom:0;width:22%;background:repeating-linear-gradient(170deg,transparent 0 44px,#c1b18b55 45px 47px,transparent 48px 87px),#dfd1ac;border-left:4px solid #b1a88780;border-right:4px solid #b1a88780;transform:skewY(-2deg)}.yard-path:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(88deg,transparent 0 39px,#b8a57f44 40px 41px,transparent 42px 73px)}.yard-gate{position:absolute;top:0;left:5%;right:6%;height:73px;z-index:4}.gate-roof{position:absolute;top:16px;left:4%;right:0;background:#738470;border:2px solid #596c58;border-radius:40% 40% 7px 7px / 10px 10px 5px 5px;text-align:center;color:#fff0d0;padding:11px 9px 8px;font-family:var(--serif);font-size:15px;letter-spacing:2px;box-shadow:0 5px 0 #a18d65}.gate-post{position:absolute;top:42px;height:33px;width:9px;background:#a98257;border:1px solid #775a3c}.gate-post.left{left:10%}.gate-post.right{right:6%}.gate-lantern{position:absolute;top:47px;width:21px;height:27px;border-radius:35%;background:#c57e59;color:#f9e8bb;border:1px solid #9d6746;font:13px var(--serif);text-align:center;padding-top:4px;transform-origin:50% -8px;animation:lantern-drift 4.8s ease-in-out infinite;box-shadow:0 0 11px #edc87999}.gate-lantern:after{content:'';position:absolute;top:100%;left:9px;height:7px;border-left:2px solid #a06d48}.gate-lantern.left{left:19%}.gate-lantern.right{right:15%;animation-delay:-2s}.garden-tree{position:absolute;width:54px;height:69px;border-radius:45%;background:radial-gradient(ellipse at 35% 30%,#9eaf85 0 32%,transparent 34%),radial-gradient(ellipse at 70% 45%,#849b73 0 40%,transparent 42%),radial-gradient(ellipse at 30% 70%,#7d956d 0 35%,transparent 37%);filter:drop-shadow(3px 5px 1px #7d815b33)}.tree-one{left:-17px;top:64px;transform:rotate(-10deg)}.tree-two{right:-23px;bottom:90px;transform:scale(1.3)}.garden-pond{position:absolute;left:-15px;bottom:40px;width:100px;height:42px;background:#a5c0b2;border:6px solid #bcb892;border-radius:50%;transform:rotate(-15deg)}.garden-pond span{display:block;width:24px;height:14px;border-radius:50%;background:#7f9976;position:absolute;left:38px;top:6px;box-shadow:16px 9px 0 #92a581}.yard-shopline{padding:6px 0 0}.courtyard-row{position:relative;min-height:186px;padding:0 0 20px 7%;}.courtyard-row:nth-child(even){padding-left:5%}.courtyard-shop{width:73%;position:relative;z-index:2;background:#f8e8c7;border:2px solid #95734e;border-radius:8px 8px 12px 12px;box-shadow:3px 6px 0 #9f926b55;transform:rotate(-1deg)}.courtyard-row:nth-child(even) .courtyard-shop{transform:rotate(1deg)}.shop-eaves{height:24px;background:repeating-linear-gradient(90deg,var(--shop-color) 0 23px,#f4e4c4 24px 42px);border-bottom:3px solid #95734e;border-radius:7px 7px 3px 3px;position:relative;box-shadow:0 3px 0 #7c5b3920}.shop-eaves span{position:absolute;right:7px;top:-7px;font-size:10px;background:#f4dda8;border:1px solid #a37f52;writing-mode:vertical-rl;padding:4px 3px;border-radius:3px;z-index:3}.courtyard-title{display:flex;width:100%;align-items:center;justify-content:space-between;padding:9px 9px 5px;text-align:left;gap:5px}.courtyard-title strong{font-family:var(--serif);font-size:16px;color:#67442d}.courtyard-title small{font-size:9px;color:#8d6e4b;white-space:nowrap}.shop-interior{position:relative;display:flex;justify-content:space-around;align-items:end;height:58px;margin:0 8px;background:linear-gradient(#b29b77,#e3c793);border:2px solid #a28159;border-bottom:0;border-radius:5px 5px 0 0;padding:4px 2px 0;box-shadow:inset 0 8px 6px #60452622}.shop-window{position:absolute;width:32px;height:30px;left:calc(50% - 16px);top:3px;background:linear-gradient(90deg,transparent 47%,#9e8159 48% 54%,transparent 55%),linear-gradient(transparent 46%,#9e8159 47% 54%,transparent 55%),#f0d994;border:3px solid #9e8159;border-radius:3px;opacity:.6}.shop-lamp{position:absolute;right:10px;top:0;width:13px;height:10px;background:#f5d98b;border-radius:0 0 50% 50%;box-shadow:0 8px 18px 9px #f4db8a44}.working-spirit{position:relative;width:32%;height:54px;padding:0;display:grid;place-items:end center;z-index:2}.working-spirit .art{width:54px;height:52px;filter:drop-shadow(1px 2px 0 #65462922)}.empty-stool{width:28px;height:20px;background:#bba17c;border:1px dashed #795a3c;border-radius:4px;display:grid;place-items:center;color:#fff0cc;font-size:16px}.shop-counter{position:relative;z-index:3;height:37px;margin:0 -5px -3px;background:linear-gradient(#b78a58 0 7px,#e0c395 8px);border:2px solid #9b754d;border-radius:3px 3px 7px 7px;display:flex;align-items:center;justify-content:space-around;gap:3px;padding:7px 6px 2px}.counter-props{width:67px;flex-shrink:0;align-self:end;margin-bottom:4px}.counter-props svg{display:block;width:100%;height:24px}.counter-quote{font-size:10px;color:#775633;letter-spacing:.5px}.door-mat{position:absolute;right:21%;top:128px;font-size:8px;letter-spacing:2px;background:#bea775;color:#78653e;border:1px solid #a89164;padding:5px 6px;transform:rotate(-8deg);border-radius:50%;z-index:1}.shop-steam{position:absolute;left:8px;top:5px;z-index:4;pointer-events:none}.shop-steam i{position:absolute;width:6px;height:20px;border-left:3px solid #fff6dccc;border-radius:50%;animation:steam-rise 3.4s ease-out infinite}.shop-steam i:nth-child(2){left:11px;animation-delay:-1.2s}.shop-steam i:nth-child(3){left:20px;animation-delay:-2.4s}.yard-tail{position:absolute;bottom:16px;right:22%;font-size:9px;color:#7f805d}.bench{position:absolute;bottom:21px;left:0;width:60px;height:12px;background:#b39468;border:2px solid #8c734e;border-radius:3px;transform:rotate(-4deg)}.bench:before,.bench:after{content:'';position:absolute;top:10px;height:9px;border-left:4px solid #8c734e}.bench:before{left:4px}.bench:after{right:4px}.yard-life{position:absolute;inset:0;z-index:5;pointer-events:none;overflow:hidden}.yard-customer{position:absolute;top:0;left:0;width:46px;height:52px;will-change:transform;transform:translate(-100px,-100px);pointer-events:none}.customer-body{position:relative;display:block;width:46px;height:48px;transform-origin:50% 95%}.customer-body .art{width:46px;height:46px;filter:drop-shadow(0 2px 0 #8c7d5922)}.customer-shadow{position:absolute;width:31px;height:9px;background:#736d4f33;border-radius:50%;bottom:0;left:8px}.customer-parcel{position:absolute;right:-3px;bottom:4px;width:14px;height:13px;font-size:20px;line-height:10px;color:#936744;background:#e9c997;border-radius:3px;transform:rotate(-12deg)}.yard-customer:nth-child(even) .customer-parcel{display:none}.stand-nook{border:1px dashed #bba37b;padding:15px;border-radius:14px;margin-top:17px;background:#eee4ce}.stand-nook-title{font:700 17px var(--serif)}.stand-nook p{font-size:12px;line-height:1.7;color:#81684c}.stand-nook .secondary{width:100%;font-size:13px;padding:10px}.yard-bottom-actions{margin-top:14px}.yard-bottom-actions .secondary{font-size:13px}
.neighbor-card{padding:14px;border:1px solid #d2b995;border-radius:15px;background:#fff5e3;margin:12px 0;box-shadow:0 3px 0 #d9c5a433}.neighbor-overview{display:flex;align-items:center;gap:12px}.friend-avatar{width:43px;height:43px;flex-shrink:0;border:1px solid #b99e77;display:grid;place-items:center;border-radius:14px;font:700 21px var(--serif);color:#6e5438}.neighbor-overview h3{font-size:16px;margin:0}.neighbor-overview h3 span{font-size:10px;font-weight:400;margin-left:10px;color:#978368}.neighbor-overview p{font-size:11px;color:#826a50;margin:5px 0 0}.neighbor-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.neighbor-actions button{font-size:13px;padding:10px 4px;border-radius:10px}.invite-button{background:#789076;color:#fff7e6;box-shadow:0 3px 0 #5f735d}.invite-button:disabled{background:#d4d7c2;box-shadow:none;color:#7d856b}.visit-welcome{display:flex;align-items:center;gap:12px;background:#eadfc6;padding:12px;border-radius:13px;margin:10px 0 15px}.visit-welcome p{font-size:13px;line-height:1.7;margin:0}.visit-welcome p span{font-size:11px;color:#846d51}.visit-page .page-head{gap:9px;justify-content:flex-start}.visit-page .page-head h2{font-size:23px}.visit-footer{position:sticky;bottom:-24px;z-index:8;background:#fff3dcf5;backdrop-filter:blur(8px);border-top:1px solid #cdb48e;padding:9px 15px 16px;margin:16px -15px -24px}.visit-footer p{font-size:11px;color:#80684c;margin:2px 0 8px;text-align:center}.visit-footer .primary{font-size:15px;padding:10px}.visit-footer .primary small{font-size:10px}.visit-footer .secondary{font-size:12px;padding:10px}.invite-explain{padding:5px 13px;background:#e7e7d1;border-radius:12px}.invite-explain p{font-size:13px;margin:8px 0}
.ranking-page .page-head{gap:9px;justify-content:flex-start}.ranking-page .page-head h2{font-size:24px}.ranking-page .page-head .muted{font-size:10px;white-space:nowrap}.rule-link{margin-left:auto;font-size:12px;color:#836445;text-decoration:underline;flex-shrink:0}.rank-tabs{display:grid;grid-template-columns:1fr 1fr;background:#e7d7b8;border-radius:12px;padding:4px;margin:18px 0 16px;border:1px solid #cdb389}.rank-tabs button{padding:11px 5px;color:#8b6d4d;font-size:14px;border-radius:9px}.rank-tabs button.active{background:#74523b;color:#fff1ce;box-shadow:0 2px 0 #543b28}.rank-intro{display:flex;align-items:center;gap:14px;margin:10px 0 17px}.rank-emblem{font-size:34px;color:#ac8049;width:47px;height:47px;display:grid;place-items:center;border:1px dashed #b99b69;border-radius:50%;background:#f3e3be}.rank-intro strong{font:700 17px var(--serif)}.rank-intro p{font-size:11px;color:#877154;margin:5px 0 0;line-height:1.5}.rank-scopes{display:flex;align-items:center;gap:5px;margin:14px 0}.rank-scopes button{font-size:11px;padding:7px 8px;border-radius:7px;color:#8b7556}.rank-scopes button.active{background:#d4dfc6;color:#536b4b;border:1px solid #a7b59b}.rank-scopes .region-choice{margin-left:auto;border-bottom:1px solid #b69b75;border-radius:0;padding:5px 1px;color:#765938}.rank-table-heading{display:flex;justify-content:space-between;font-size:10px;color:#937b5c;padding:2px 4px 9px}.ranking-list{border:1px solid #cdb997;border-radius:14px;overflow:hidden;background:#fff4df}.ranking-row{display:flex;align-items:center;gap:9px;text-align:left;width:100%;padding:14px 10px;border-bottom:1px solid #e6d4b6;min-height:72px}.ranking-row:last-child{border:0}.rank-number{width:20px;flex-shrink:0;color:#9c8568;font-size:15px;text-align:center;font-family:var(--serif)}.rank-number.place-1,.rank-number.place-2,.rank-number.place-3{width:24px;height:27px;clip-path:polygon(0 0,100% 0,100% 75%,50% 100%,0 75%);background:#b88e4d;color:#fff3cf;padding-top:2px}.rank-number.place-2{background:#9ba993}.rank-number.place-3{background:#b89072}.rank-avatar{width:34px;height:34px;display:grid;place-items:center;flex-shrink:0;border-radius:11px;font:700 17px var(--serif);color:#795b3e;border:1px solid #b9a67f55}.rank-name{min-width:0}.rank-name b{display:block;font-size:14px}.rank-name em{font-size:8px;font-style:normal;color:#758266;margin-left:6px;border:1px solid #b7bf9f;border-radius:3px;padding:1px 3px;vertical-align:middle;white-space:nowrap}.rank-name small{display:block;font-size:9px;line-height:1.6;color:#967e60;margin-top:3px}.rank-score{font-size:17px;letter-spacing:.3px;color:#8c633c;margin-left:auto;white-space:nowrap}.ranking-row.my-rank{background:#e6ead6;box-shadow:inset 3px 0 #8c9d76}.rank-footnote{font-size:10px;color:#978265;line-height:1.8;padding:3px 5px}.ranking-self{display:flex;align-items:center;gap:12px;position:sticky;bottom:-24px;z-index:8;background:#71543c;color:#fff0d1;margin:17px -15px -24px;padding:13px 15px 17px;box-shadow:0 -4px 12px #75563918}.ranking-self>div:first-child{border-right:1px solid #b69b7266;padding-right:13px}.ranking-self small{display:block;font-size:9px;color:#e2cfac;line-height:1.8}.ranking-self b{display:block;font-size:24px;line-height:1.2}.ranking-self strong{font-size:13px}.ranking-self .mini-btn{margin-left:auto;color:#684b32;background:#f2dbad;flex-shrink:0;padding:6px 9px}.region-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.region-form select{padding:12px 8px;border:1px solid #bea37a;border-radius:9px;background:#fff3da;color:#6a4e31;font-size:14px}
@keyframes lantern-drift{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}@keyframes steam-rise{0%{transform:translateY(9px) scale(.8);opacity:0}20%{opacity:.8}100%{transform:translate(3px,-16px) scale(1.3);opacity:0}}
.ranking-self,.visit-footer{bottom:0}.region-label{display:block;text-align:left;font-size:13px;margin:14px 0;color:#7b6246}.region-label select{display:block;width:100%;padding:12px;margin-top:6px;border:1px solid #bda17a;border-radius:9px;background:#fff3dc;color:#684c32;font-size:15px}
@media(min-width:761px){.guide .route{padding:9px 12px}.guide h1{font-size:47px;margin:14px 0}.guide .intro{margin:8px 0}.guide .hairline{margin:18px 0}.review-tools{margin-top:14px;padding-top:12px}.guide-bottom{margin-top:14px}}@media(max-width:400px){.yard-page .page-head h2{font-size:23px}.yard-whisper{font-size:10px;gap:5px}.courtyard-title strong{font-size:15px}.counter-quote{font-size:9px}.ranking-row{gap:7px;padding-left:8px;padding-right:8px}.rank-name b{font-size:13px}.rank-score{font-size:16px}.visit-footer,.ranking-self{margin-left:-12px;margin-right:-12px}.ranking-self{padding-left:12px;padding-right:12px;gap:8px}.ranking-self>div:first-child{padding-right:8px}}

/* v13.3: more legible actions, same warm paper / wood / sage art direction. */
.match-page .board{left:0;transform:none}.match-page .slot-hint,.match-page .pair-feedback{font-size:13px}
.match-page #matchStatus{background:#60452e;border:1px solid #b2966955;border-radius:10px;padding:8px}.match-page .rhythm-track{background:#52604e;color:#f0e8cb;font-size:12px}.match-page .slot-hint,.match-page .pair-feedback{color:#fff0cc}.match-page .match-progress>span:last-child{color:#e5d3ad}.match-page .match-help{color:#e5d3ad}
.sound-switch{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex-shrink:0;min-height:34px;padding:6px 9px;border:1px solid #c4ac81;border-radius:10px;background:#f4e3bf;color:#6b4d33;font-size:13px;white-space:nowrap}.sound-switch[aria-pressed=false]{background:#e7ddcb;color:#8c7960}.patrol-flow{display:flex;align-items:center;gap:8px;margin:10px 0 13px;font-size:13px;color:#806347}.patrol-flow>span{white-space:nowrap}.patrol-flow b{font-size:10px;display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#dcc79e;color:#6e5135;margin-right:4px}.patrol-flow i{font-style:normal;color:#b49d7c}.patrol-flow .sound-switch{margin-left:auto;font-size:11px;padding:5px 6px}.neighbor-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#e7d7b9;border:1px solid #cdb48c;padding:4px;border-radius:12px;margin:18px 0 8px}.neighbor-tabs button{font-size:14px;padding:10px 4px;border-radius:9px;color:#886b4f}.neighbor-tabs button.active{background:#fff6e4;color:#6e4d32;box-shadow:0 2px 4px #876a4320;font-weight:700}.neighbor-explain{font-size:12px;color:#81684d;line-height:1.7;margin:8px 2px 12px}.bookmark{margin-left:auto;align-self:center;padding:8px;font-size:25px;line-height:1;color:#9c7c4b;min-width:40px;min-height:40px}.bookmark[aria-pressed=true]{color:#b5823f}.neighbor-overview h3{font-size:17px}.neighbor-overview p{font-size:12px}.neighbor-overview h3 span{font-size:11px}.neighbor-actions button{font-size:14px;min-height:42px}.favorite-empty{text-align:center;border:1px dashed #c1aa84;border-radius:16px;padding:24px 12px;background:#f7ebd4}.favorite-empty .art{width:80px;height:75px}.favorite-empty h3{font-family:var(--serif);font-size:20px;margin:12px 0}.favorite-empty p{font-size:13px;line-height:1.8;color:#8a7156}.favorite-empty .secondary{margin-top:8px}.visit-footer p{font-size:12px;line-height:1.6}.visit-footer .secondary{font-size:14px}.next-step{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #b8c19e;background:#e8ecd8;border-radius:12px;margin:13px 0 16px;box-shadow:0 3px 0 #c9cfb333}.next-step b{font-size:13px;line-height:1.5;color:#5d6b4e;display:block}.next-step p{font-size:12px;color:#84906d;margin:5px 0 0;line-height:1.5}.next-step button{flex-shrink:0;padding:9px 10px;color:#fff9e8;background:#7d8d70;border-radius:9px;font-size:12px;box-shadow:0 2px 0 #5e6e52}.capacity-summary{padding:14px;margin:14px 0;background:#e8ead5;border:1px solid #b4bc99;border-radius:13px;text-align:left}.capacity-summary>b{font-size:17px;color:#60704f}.capacity-summary p{font-size:13px;margin:7px 0;color:#7c7757;line-height:1.7}.capacity-summary small{font-size:12px;color:#87765c}.capacity-track{height:7px;border-radius:6px;background:#cdd2b9;overflow:hidden;margin:12px 0 9px}.capacity-track i{height:100%;display:block;border-radius:6px;background:#95a57b}.capacity-summary.busy{background:#f5e5c6;border-color:#d0ac74}.capacity-summary.busy>b{color:#a27844}.capacity-summary.busy .capacity-track i{background:#c99c5c}.economy-fold{font-size:13px;border:1px solid #d7c19c;background:#f8edd7;border-radius:10px;margin:12px 0;padding:10px 12px;text-align:left}.economy-fold summary{cursor:pointer;color:#806244}.economy-fold p{font-size:13px}.clear-rules{padding-left:21px;font-size:14px;line-height:1.8}.clear-rules li{padding:4px 0 8px}.warm-tray button{font-size:14px}.courtyard-title small{font-size:10px}
.match-page{height:100%;min-height:0;padding:12px 14px 14px;display:flex;flex-direction:column;gap:0;overflow:auto}.match-page>*{flex:none}.match-page .game-top{min-height:43px;gap:9px;margin:0 0 10px}.match-page .game-top>div{flex:1;min-width:0}.match-page .game-top b{font-size:17px}.match-page .game-top small{font-size:12px}.match-page .game-top .sound-switch,.machine-page .game-top .sound-switch{font-size:12px;background:#ebd7ad;border:1px solid #b39870;color:#6a4b31}.game-top .back{min-width:35px;width:35px;height:35px}.rhythm-track{display:flex;align-items:center;justify-content:center;gap:10px;padding:8px 10px;background:#76846b30;border:1px solid #a3b18b44;border-radius:10px;margin-bottom:8px;color:#dacb9f;font-size:11px;min-height:34px}.beat-dots{display:flex;align-items:center;gap:6px}.beat-dot{width:7px;height:7px;background:#988761;border:1px solid #b9a776;border-radius:50%;transition:background .08s,box-shadow .08s,transform .08s}.beat-dot.lit{background:#ffe0a0;box-shadow:0 0 8px #eeca8070;transform:scale(1.25)}.rhythm-track.silent .beat-dot{background:#807866;box-shadow:none;transform:none}.rhythm-track.silent{color:#bcac89}.match-page .combo-bar{margin:0 0 6px;padding:0 4px;align-items:center;min-height:38px}.match-page .combo-value,.match-page .ammo{font-size:27px;display:flex;align-items:baseline;gap:6px}.match-page .combo-value small,.match-page .ammo small{font-size:12px}.match-page .combo-timer{margin:0 2px 8px;height:4px;background:#39291e;border-radius:5px}.match-progress{display:flex;justify-content:space-between;gap:8px;color:#e9d5ae;font-size:12px;line-height:1.7}.match-progress>span:last-child{font-size:11px;color:#c9b590}.pair-progress{position:relative;height:5px;background:#3b2a1e;border-radius:5px;margin:5px 0 7px}.pair-progress>i{position:absolute;left:0;height:5px;background:#9ba97d;border-radius:5px;transition:width .15s}.pair-progress>span{position:absolute;top:-2px;height:9px;border-left:1px solid #e0cd9e88}.ammo-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.ammo-steps>span{background:#583b29;border:1px solid #80614466;color:#c4ae85;font-size:11px;text-align:center;padding:4px 3px;border-radius:6px}.ammo-steps b{font-size:12px;margin-left:4px}.ammo-steps .current{border-color:#c2a46a;background:#80623c;color:#ffe6b0}.match-help{font-size:11px;color:#c3ad85;margin:6px 1px 1px;display:flex;justify-content:space-between;align-items:center;line-height:1.6}.match-help button{font-size:11px;text-decoration:underline;color:#dec69b;padding:3px 5px}.match-page .board{flex:1 1 0;min-height:180px;max-height:324px;height:auto;width:100%;margin:7px auto 9px;border-width:5px;overflow:visible}.match-page .slots{gap:8px;margin:0 auto;width:100%;justify-content:center;padding:5px 0;border:1px solid transparent;border-radius:12px;transition:background .15s,border-color .15s}.match-page .slot{height:44px;width:52px;flex-shrink:0;border-radius:9px}.match-page .slot .art{width:39px;height:39px}.match-page .slots.near-full{border-color:#c8a05a;background:#c8944820}.slot-hint{color:#d8c49b;text-align:center;font-size:12px;line-height:1.6;margin:4px 0 0;min-height:19px}.pair-feedback{font-size:12px;text-align:center;color:#e8d6ae;margin:5px 0 8px;line-height:1.5;min-height:18px}.match-page .action-row{margin:0;gap:8px}.match-page .action-row .secondary{font-size:13px;padding:10px 6px;min-height:40px}.tile.pair-ready{border:2px solid #7caa90;box-shadow:0 0 0 3px #a9ceae55,0 4px 0 #705437;filter:brightness(1.08)}.tile.covered{opacity:.68;filter:brightness(.65);cursor:pointer;box-shadow:inset 3px -5px 8px #3a251b77}.covered-mark{position:absolute;right:1px;bottom:1px;background:#6e563e;color:#eee0bf;font-size:9px;padding:1px 3px;border-radius:4px;line-height:1.2;pointer-events:none}.tile.hint{outline:3px solid #dfba72!important;outline-offset:2px}.machine-page .game-top>div{flex:1;min-width:0}.burst-guide{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:6px 2px 9px;font-size:11px;color:#cdb88e;flex:none!important}.burst-dots{display:grid;grid-template-columns:repeat(6,5px);gap:4px}.burst-dots i{width:5px;height:5px;background:#765d3b;border-radius:50%;transition:background .1s}.burst-dots i.charged{background:#f1cc7a;box-shadow:0 0 3px #f6cf7b99}.burst-guide.active{color:#ffe4a4}.machine-page .fire{font-size:17px}
@media(max-width:400px){.patrol-flow{font-size:12px;gap:5px}.patrol-flow .sound-switch{font-size:11px}.match-page{padding-left:12px;padding-right:12px}.match-progress{font-size:11px}.match-progress>span:last-child{font-size:10px}.next-step{gap:7px}.next-step b{font-size:12px}.next-step p{font-size:11px}.next-step button{padding:9px 8px;font-size:11px}.neighbor-explain{font-size:11px}}
@media(max-height:720px){.match-page{padding-top:8px;padding-bottom:9px}.match-page .game-top{margin-bottom:7px;min-height:36px}.rhythm-track{min-height:28px;padding:5px 7px;margin-bottom:5px}.match-page .combo-bar{min-height:30px}.match-page .combo-value,.match-page .ammo{font-size:23px}.match-page .board{min-height:156px;margin-top:4px;margin-bottom:4px}.match-page .slot{height:36px;width:46px}.match-page .slot .art{width:33px;height:33px}.match-page .action-row .secondary{padding:7px 4px;min-height:34px}.pair-feedback{margin:3px 0 5px}.match-help{margin-top:3px}.match-page .game-top b{font-size:15px}.match-page .game-top small{font-size:11px}}
@media(max-height:720px){.match-page .ammo-steps{display:none}.match-page .rhythm-track{min-height:22px;padding:3px 7px}.match-page #matchStatus{padding:5px 8px}.match-page .slot-hint,.match-page .pair-feedback{font-size:12px}.match-page .pair-progress{margin-bottom:3px}}

/* Extend the paper, sage and warm wood palette already established. */
.gift-console{border:1px solid #b4936a;border-radius:17px;overflow:hidden;background:#f7ebd2;box-shadow:0 4px 0 #dbc6a344;margin-bottom:18px}.gift-top{display:flex;justify-content:space-between;align-items:center;padding:14px 15px;background:#73513b;color:#fff0ce}.gift-top small{display:block;font-size:11px;color:#ead6b5}.gift-top b{font-size:30px;display:flex;align-items:baseline;gap:7px}.gift-top em{font:11px var(--sans);font-style:normal;letter-spacing:0}.gift-top button{padding:11px 14px;border-radius:10px;background:#f5d395;color:#624029;box-shadow:0 3px 0 #4c3627;font-weight:700;font-size:14px}.gift-insights{display:grid;grid-template-columns:1fr 1fr;padding:11px 10px;border-bottom:1px dashed #d6c19a;gap:0}.gift-insights button{display:flex;flex-direction:column;text-align:left;padding:0 6px;gap:5px;min-width:0}.gift-insights button+button{border-left:1px solid #decba9;padding-left:14px}.gift-insights span{font-size:10px;color:#987d59}.gift-insights b{font:700 14px var(--serif);color:#765133;white-space:nowrap}.gift-insights small{font-size:10px;color:#917556;line-height:1.5}.gift-insights .needs-care b,.gift-insights .needs-care small{color:#a16b44}.gift-insights .all-good b{color:#687957}.horn-desk{display:flex;align-items:center;gap:8px;padding:11px 14px 7px}.horn-illustration{display:grid;place-items:center;width:29px;height:29px;background:#d9b875;color:#79542f;border:2px solid #9f7a47;border-radius:7px;font-size:28px;transform:rotate(-12deg);flex-shrink:0}.horn-desk>div{flex:1}.horn-desk b{display:block;font-size:12px}.horn-desk small{display:block;font-size:10px;color:#987c58;margin-top:5px}.horn-desk button{background:#e7d7b5;border:1px solid #bea072;border-radius:8px;padding:8px;font-size:11px;white-space:nowrap}.horn-desk button:disabled{opacity:.5}.gift-console-links{display:flex;gap:12px;align-items:center;padding:7px 15px 10px;color:#9c8261;font-size:10px}.gift-console-links button{font-size:11px;color:#8b6a48;padding:3px 0}.gift-console-links>span{margin-left:auto}.horn-result{font-size:11px;line-height:1.6;background:#e4e9ce;color:#6d7952;margin:5px 12px 2px;padding:8px;border-radius:7px}.shop-operation{display:flex;justify-content:space-between;align-items:center;width:100%;padding:7px 6px 6px;background:#e8e7cc;color:#677450;border-radius:0 0 9px 9px;font-size:10px;gap:3px}.shop-operation b{font-weight:500;white-space:nowrap}.shop-operation span{font-size:9px;color:#8b7855}.shop-operation.missing,.shop-operation.busy,.shop-operation.full{background:#f1dfba;color:#a16c3e}.courtyard-row{min-height:208px}.shop-bunting{position:absolute;left:8px;top:-4px;color:#cf805c;text-shadow:12px 1px #dcb75f;font-size:16px;letter-spacing:6px;z-index:3}.shop-level-3 .shop-lamp{box-shadow:0 8px 18px 10px #f4db8a88}.shop-level-3 .shop-eaves{box-shadow:0 3px 0 #7c5b3920,0 7px 12px #e9c76a33}.contribution-list{margin:13px 0}.contribution-row{display:grid;grid-template-columns:1fr auto;gap:7px 12px;margin:12px 0;font-size:12px;color:#816446}.contribution-row b{font-size:12px}.contribution-row i{grid-column:1/-1;height:5px;background:linear-gradient(90deg,#9aa783 var(--share),#e7dcc3 var(--share));border-radius:4px}.contribution-row.extra i{background:linear-gradient(90deg,#cba263 var(--share),#e7dcc3 var(--share))}.receipt-leader{padding:10px;background:#e8ecd8;border-radius:9px;color:#6d7957;font-size:13px;line-height:1.7}.receipt-next .next-step{margin-bottom:12px}.horn-preview{background:#efe1bd;border-radius:14px;text-align:center;padding:18px;color:#977041;font-size:42px}.horn-preview b{display:block;font:700 23px var(--serif);color:#765033;margin:6px 0}.horn-preview span{font-size:12px;display:block}.neighbor-tabs{grid-template-columns:1fr 1.3fr 1.2fr;gap:3px}.neighbor-tabs button{font-size:12px;padding:10px 2px}.invitation-entry{display:flex;align-items:center;gap:9px;border:1px solid #b8bf9c;background:#e8ebd6;border-radius:13px;padding:12px;margin-top:15px}.invitation-entry>div{flex:1}.invitation-entry b{font:700 16px var(--serif);color:#687550}.invitation-entry p{font-size:11px;margin:5px 0 0;color:#88916f;line-height:1.6}.invitation-entry button{background:#7c8d6f;color:#fff2d8;padding:8px 10px;border-radius:9px;font-size:12px;line-height:1.5;box-shadow:0 2px 0 #667855;flex-shrink:0}.source-badges{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 10px}.source-badges span{background:#e4e9d6;border:1px solid #c8cfaf;color:#75815b;border-radius:5px;padding:3px 6px;font-size:10px}.source-badges .inviter-source{background:#f0ddba;border-color:#dbc093;color:#9a794b}.neighbor-peek{display:flex;align-items:center;gap:9px;width:100%;background:#ede4cf;border-radius:10px;padding:5px 10px;margin:8px 0 11px;text-align:left;color:#7b6247}.peek-portrait .art{width:47px;height:47px}.neighbor-peek>span:nth-child(2){flex:1}.neighbor-peek b{display:block;font:700 14px var(--serif)}.neighbor-peek small{display:block;font-size:10px;margin-top:4px;color:#98805e}.neighbor-peek>span:last-child{font-size:23px}.invite-channel{display:flex;gap:7px;margin-bottom:14px}.invite-channel button{flex:1;border:1px solid #c3b08b;background:#e9ddc1;border-radius:9px;padding:10px 5px;font-size:13px;color:#856a4c}.invite-channel .selected{background:#7d8e70;border-color:#6b7d60;color:#fff2d4}.share-preview{text-align:center;background:radial-gradient(ellipse at 50% 40%,#efe6c5,#d8dec1);border:1px solid #b7c09e;border-radius:16px;padding:20px 12px}.share-preview .art{width:105px;height:105px;display:block;margin:0 auto 10px}.share-preview small{display:block;font-size:11px;color:#86916d}.share-preview h3{font:700 23px var(--serif);margin:10px 0;color:#6b7855}.share-preview p{font-size:12px;color:#898367;line-height:1.8}.share-preview>span{font-size:10px;display:inline-block;background:#f6edcf;padding:5px 9px;border-radius:5px;color:#927c57}.local-demo-note{border:1px dashed #c7b693;background:#f3ead6;border-radius:11px;padding:12px;margin-top:14px}.local-demo-note>b{font-size:12px;color:#967e5b}.local-demo-note p{font-size:11px;color:#9b8869;line-height:1.7}.local-demo-note button{width:100%;font-size:12px}.visit-feature{position:relative;background:radial-gradient(ellipse at 25% 75%,#fbefd1 0 25%,transparent 26%),linear-gradient(135deg,var(--visit-color),#eee2bd);border:1px solid #b5b99a;border-radius:18px;padding:17px 15px 13px;min-height:265px;overflow:hidden;box-shadow:0 3px 0 #c6bd9a44}.feature-kicker{font-size:10px;letter-spacing:1px;color:#7b8362}.visit-feature h3{font:700 24px var(--serif);letter-spacing:1px;margin:9px 0 7px;color:#657453;line-height:1.35}.visit-feature>p{font-size:11px;color:#86906f;margin:0}.feature-creature{width:48%;height:157px;padding:15px 0 0;display:inline-flex;flex-direction:column;align-items:center;justify-content:end;vertical-align:bottom}.feature-creature .art{width:119px;height:112px;filter:drop-shadow(2px 8px 1px #8b886022);animation:feature-breathe 4s ease-in-out infinite}.feature-creature>span:last-child{font-size:10px;color:#84775a;display:block;margin-top:8px;background:#f6e9c3;border-radius:8px;padding:5px 9px;white-space:nowrap}.feature-shop-sign{display:inline-flex;flex-direction:column;justify-content:center;width:49%;padding:12px 10px;background:#f4e3bb;border:1px solid #ba9970;box-shadow:2px 3px 0 #c7b48a;border-radius:8px;transform:rotate(2deg);vertical-align:bottom;margin-bottom:14px}.feature-shop-sign small{font-size:10px;color:#a5875f}.feature-shop-sign b{font:700 17px var(--serif);color:#805d3c;margin-top:6px}.feature-shop-sign>span{font-size:9px;color:#ac926e;margin-top:7px}.feature-shop-sign button{font-size:12px;color:#9d653f;text-align:left;border-top:1px dashed #c9ae83;margin-top:10px;padding-top:9px}.inspiration-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0 19px}.inspiration-actions>button{display:flex;align-items:center;gap:5px;text-align:left;border:1px solid #c9b48e;border-radius:12px;background:#f4e7c8;padding:9px 7px;color:#826344;min-height:73px}.inspiration-actions>button>svg,.inspiration-actions .art{width:40px;height:43px;flex-shrink:0}.inspiration-actions b{font-size:12px;display:block;line-height:1.5}.inspiration-actions small{font-size:9px;display:block;margin-top:4px;color:#a08764;line-height:1.6}.inspiration-actions i{margin-left:auto;font-style:normal}.visit-scene-heading{margin:15px 2px 12px}.visit-scene-heading b{font:700 16px var(--serif);color:#7e674a}.visit-scene-heading span{font-size:11px;color:#9c8564;display:block;margin-top:6px}.look-compare{display:flex;align-items:center;justify-content:space-around;background:#e7e7cc;border-radius:14px;padding:20px 8px}.look-compare>div{display:flex;flex-direction:column;align-items:center;width:45%}.look-compare .art{width:100px;height:100px}.look-compare small{font-size:10px;line-height:1.6;color:#8c7956;text-align:center;margin-top:10px}.look-compare>span{color:#a18b67}.look-items button{width:100%;display:flex;align-items:center;gap:12px;border:1px solid #cdb993;border-radius:10px;padding:10px;margin-top:9px;text-align:left;background:#f4e7cc;color:#866744}.look-items svg{width:47px;height:42px}.look-items b{font-size:13px}.look-items small{display:block;font-size:11px;color:#9d855f;margin-top:5px}.look-items i{margin-left:auto;font-style:normal}.inspire-shop-preview{background:#dce0bd;border-radius:13px;padding:22px 4px 0;overflow:hidden}.inspire-shop-preview .courtyard-shop{width:88%}.inspire-shop-preview .courtyard-row{min-height:177px}.wide{width:100%;margin-top:10px}.visit-page .visit-footer{position:static}.visit-page .page-head h2{font-size:24px}@keyframes feature-breathe{50%{transform:translateY(-4px) rotate(2deg)}}@media(prefers-reduced-motion:reduce){.feature-creature .art{animation:none}}@media(max-width:380px){.gift-insights b{font-size:13px}.gift-insights small{font-size:9px}.feature-shop-sign b{font-size:15px}.visit-feature h3{font-size:22px}.inspiration-actions b{font-size:11px}.inspiration-actions>button{gap:4px;padding:8px 5px}.inspiration-actions>button>svg,.inspiration-actions .art{width:32px}.neighbor-tabs button{font-size:11px}}

/* Legible operating cues at phone widths. */
.gift-top em{font-family:inherit;font-size:12px;font-weight:400;font-style:normal}.gift-top small,.gift-insights span,.gift-insights small,.horn-desk small,.gift-console-links,.source-badges span,.invitation-entry p,.neighbor-peek small,.feature-kicker,.visit-feature>p,.feature-creature>span:last-child,.feature-shop-sign small,.feature-shop-sign>span,.inspiration-actions small,.visit-scene-heading span,.shop-operation,.shop-operation span{font-size:12px;line-height:1.6}.gift-insights small{color:#806442}.gift-insights b{font-size:14px}.horn-desk small,.gift-console-links,.neighbor-peek small{color:#846745}.horn-desk button,.gift-console-links button,.neighbor-tabs button{font-size:12px}.horn-desk b,.invitation-entry button,.feature-shop-sign button,.inspiration-actions b{font-size:14px}.shop-operation span{font-size:11px}.shop-operation{padding:7px 6px}.feature-shop-sign>span{font-size:11px}.inspiration-actions{grid-template-columns:1fr}.inspiration-actions>button{min-height:66px;padding:8px 11px;gap:10px}.inspiration-actions>button>svg,.inspiration-actions .art{width:47px;height:44px}.inspiration-actions small{font-size:12px}.visit-feature{padding-bottom:16px}.feature-shop-sign{margin-bottom:10px}.feature-creature{height:163px}.invitation-entry button{font-size:13px}.neighbor-tabs{margin-top:14px}.source-badges span{font-size:11px}.look-compare small{font-size:12px}.look-items small{font-size:12px}.local-demo-note p{font-size:12px}.horn-desk .ad-label{font-size:10px}.neighbor-overview p{line-height:1.7}.gift-console{margin-bottom:15px}@media(max-width:380px){.gift-insights small{font-size:11px}.gift-insights b{font-size:13px}.gift-insights button+button{padding-left:10px}.horn-desk{padding-left:11px;padding-right:11px}.horn-desk small{font-size:11px}.gift-top em{font-size:11px}}

/* Preserve the existing warm paper and illustration language, reduce competing headings. */
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;margin:-1px;padding:0;border:0}
.wardrobe-page .avatar-option{display:flex;flex-direction:column;align-items:center;gap:4px;width:76px;padding:7px 5px}.wardrobe-page .avatar-option>span:last-child{display:block;white-space:nowrap;font-size:12px;line-height:1.5}.wardrobe-page .wardrobe-cta{bottom:0;margin-bottom:0;padding-bottom:12px}.wardrobe-page{padding-bottom:0}
.focused-home .patron-room{height:290px;margin:0;position:relative;overflow:hidden}.patron-room .room-back{opacity:.88}.patron-room .room-back:after{content:'';position:absolute;inset:0;background:linear-gradient(#fff0d516,transparent 60%,#f6e6c944)}.patron-room-label{position:absolute;top:17px;left:18px;z-index:3;display:flex;flex-direction:column;gap:5px;color:#8d7256}.patron-room-label>span{font-size:12px}.patron-room-label>b{font:700 18px var(--serif);color:#6c4b32}.patron-info{position:absolute;right:16px;top:18px;z-index:4;border-bottom:1px solid #b79e79;padding:3px 0;font-size:12px;color:#846d50}.patron-room .carpet{left:50%;bottom:62px;width:210px;height:42px;transform:translateX(-50%);opacity:.8}#patronStage{position:absolute;left:0;right:0;top:56px;bottom:12px;z-index:3;display:flex;justify-content:center}.patron-center{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;width:100%;max-width:340px;padding:0 10px 5px;gap:7px;overflow:visible}.patron-body{display:block;position:relative;width:137px;height:136px;filter:drop-shadow(0 8px 2px #6f452826)}.patron-body .art{width:100%;height:100%}.patron-reward{display:flex;align-items:center;justify-content:center;gap:7px;background:#efe1bd;border:1px solid #b8a17b;color:#7d6c49;font-size:14px;line-height:1.5;border-radius:20px;padding:7px 17px;box-shadow:0 3px 0 #ab8a6022;min-width:178px;max-width:100%}.patron-center.ready .patron-reward{background:#f5ce83;border-color:#bd8846;color:#80502a;font-weight:700;box-shadow:0 3px 0 #ae7d43;font-size:16px}.patron-center>small{font-size:12px;line-height:1.5;color:#856f50;text-shadow:0 1px #fff0d5}.patron-center.ready .patron-body{animation:patron-bob 4s ease-in-out infinite}.patron-sparks{position:absolute;top:8px;left:50%;width:200px;height:135px;transform:translateX(-50%);pointer-events:none}.patron-sparks i{position:absolute;font-size:22px;font-style:normal;color:#d7a549;text-shadow:0 2px #fff1c2;left:8px;top:33px;animation:star-gather 4s ease-in-out infinite}.patron-sparks i:nth-child(2){left:auto;right:9px;top:14px;animation-delay:-1.3s;font-size:16px}.patron-sparks i:nth-child(3){left:auto;right:0;top:78px;animation-delay:-2.7s;font-size:24px}.patron-center.unbound .patron-sparks,.patron-center.rest .patron-sparks{display:none}.patron-center.rest .patron-body{filter:drop-shadow(0 8px 2px #6f452826)}.patron-progress{display:block;width:94px;height:4px;border-radius:3px;background:#c2b49577;overflow:hidden}.patron-progress i{display:block;height:100%;background:#9aab7c;min-width:4px;border-radius:3px}.focused-home .home-content{padding:14px 15px 20px}.patrol-primary{font-size:20px;padding:15px 14px}.patrol-primary>span{font-size:14px;font-weight:400;color:#fff0d3}.patrol-secondary{display:flex;align-items:center;justify-content:space-between;min-height:43px;padding:6px 2px 3px;color:#7d6548}.patrol-secondary>button:first-child{font-size:14px;padding:7px 0}.patrol-secondary small{font-size:12px;color:#947b59}.patrol-secondary .patrol-help{font-size:12px;color:#917c5b;padding:7px 0;border-bottom:1px solid #cdbb9d}.patrol-secondary>span{font-size:12px;color:#8a7455;line-height:1.7}.patrol-strip{display:flex;width:100%;align-items:center;justify-content:space-between;gap:8px;background:#eadab9;border:1px solid #c9b48b;border-radius:10px;padding:12px 10px;margin:9px 0 12px;color:#876b45;text-align:left}.patrol-strip>span:first-child{font-size:12px;white-space:nowrap}.patrol-strip b{font-size:13px;color:#78542d;margin-left:3px}.patrol-strip small{font-size:12px;white-space:nowrap;color:#927247}.patrol-dots{display:flex;gap:5px;flex-shrink:0}.patrol-dots i{display:block;width:8px;height:8px;border-radius:50%;background:#d3bd94;border:1px solid #ba9b6c}.patrol-dots i.done{background:#a4ae81;border-color:#7c8f66}.patrol-dots i.current{background:#f3c47b;border-color:#b98a4c;box-shadow:0 0 0 2px #fff0cc}.home-yard-link{display:flex;align-items:center;gap:8px;width:100%;padding:10px 3px;color:#7d7956;text-align:left;border-top:1px solid #d9c8a8}.home-yard-link>span:first-child{font-size:24px;color:#8e9e72}.home-yard-link b{font:700 15px var(--serif)}.home-yard-link small{font-size:12px;margin-left:auto;color:#907650}.home-yard-link>span:last-child{font-size:19px;color:#b29873}.partners-page{padding-top:12px}.partners-toolbar{display:flex;align-items:center;gap:8px;min-height:38px}.partners-toolbar>span{font-size:13px;color:#8b7356;white-space:nowrap}.partners-toolbar>span>b{font-size:18px;color:#745238;font-weight:600;margin-left:3px}.partners-toolbar small{font-size:12px;font-weight:400}.tier-help{color:#ad8342;font-size:14px;padding:8px 2px;white-space:nowrap}.wardrobe-entry{margin-left:auto;display:inline-flex;gap:4px;align-items:center;padding:9px 11px;font-size:14px;border:1px solid #a4af8b;border-radius:10px;background:#e1e7ce;color:#677651;white-space:nowrap}.wardrobe-entry small{color:#7b8763}.unbound-hint{font-size:12px;color:#917b5c;line-height:1.7;margin:7px 0}.partners-page .switcher{margin:11px 0 13px}.partners-page .switcher button{font-size:14px;padding:9px}.partner-grid{gap:10px 8px;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.partner-card{min-width:0;border:1px solid #cbb493;border-radius:14px;background:#fff3da;padding:8px 5px 10px;min-height:162px;display:flex;align-items:center;flex-direction:column;box-shadow:0 3px 0 #d3b78c55;text-align:center;position:relative}.partner-card-head{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:22px;gap:3px;margin-bottom:7px}.job-chip{display:inline-block;font-size:11px;line-height:1.5;padding:2px 5px;color:#718064;background:#e4e9d6;border-radius:5px;white-space:nowrap}.patron-chip{font-size:10px;color:#a47737;white-space:nowrap;background:#f5dfb4;border-radius:4px;padding:2px 4px;line-height:1.5}.partner-card .art{width:77px;height:73px;flex-shrink:0;margin-bottom:5px}.partner-card strong{font-size:13px;line-height:1.6;color:#755036;white-space:nowrap;display:block}.tier-stars{display:flex;justify-content:center;align-items:center;gap:3px;font-size:18px;line-height:1.4;letter-spacing:0;margin-top:4px;white-space:nowrap;font-family:Arial,sans-serif}.tier-stars .lit{color:#bb8438;text-shadow:0 1px #ffe5aa}.tier-stars .unlit{color:#c6b798}.partner-card.locked{opacity:1;background:#eae2d0;border-style:dashed}.partner-card.locked .art{opacity:.35;filter:grayscale(.7)}.partner-card.locked strong{color:#9a886c}.partner-card.locked .job-chip{background:#dddcc8;color:#8b917a}.not-met{font-size:12px;color:#a08d70;line-height:1.8;margin-top:4px}.partner-detail-portrait{display:flex;flex-direction:column;align-items:center;padding:4px 0 6px}.partner-detail-portrait>.art{width:128px;height:116px}.partner-detail-portrait .tier-stars{font-size:26px;gap:5px;margin-top:9px}.bond-progress{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;color:#886b46;margin:10px 0 16px;padding:10px 12px;background:#f2e4c7;border-radius:10px;font-size:13px}.bond-progress small{font-size:12px;color:#9d8158}.bond-progress i{height:5px;flex:0 0 100%;background:linear-gradient(90deg,#bc9658 var(--bond),#ddceae var(--bond));border-radius:3px}.partner-job{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:12px;background:#e6ead7;border-radius:11px;border:1px solid #c5cbaf;font-size:13px}.partner-job>span{color:#8b9677;font-size:12px}.partner-job b{color:#697a56}.partner-job small{flex:0 0 100%;font-size:12px;color:#7b8868;line-height:1.6}.dialog .skill-summary{font-size:14px;margin:13px 2px 7px;color:#856343}.partner-details{font-size:12px;color:#9a805c;margin:8px 0 17px}.partner-details summary{padding:4px 0;cursor:pointer}.partner-details p{font-size:12px!important}.tier-explainer{display:flex;gap:7px;margin:17px 0}.tier-explainer>div{flex:1;display:flex;flex-direction:column;align-items:center;background:#f1dfb9;padding:14px 3px;border-radius:11px;gap:8px}.tier-explainer span{font-size:22px;color:#b47f35;white-space:nowrap}.tier-explainer b{font-size:13px;color:#97754b}.patrol-rewards{display:flex;gap:12px}.patrol-rewards>div{flex:1;display:flex;justify-content:center;align-items:center;gap:12px;padding:20px 8px;border-radius:12px;background:#eedcba}.patrol-rewards b{font-size:14px}.patrol-rewards strong{font-size:22px;color:#b47f35}.patron-rules p{margin:13px 0!important;color:#907654;font-size:13px!important}.patron-rules b{color:#79563b;font-size:14px}.wardrobe-page .page-head{margin-bottom:12px}.wardrobe-page .page-head h2{font-size:21px}.wardrobe-page .wardrobe-stage{height:185px}.wardrobe-page .wardrobe-stage .art{width:115px;height:109px}.wardrobe-page .wardrobe-stage strong{font-size:18px;margin-top:8px}.wardrobe-page .outfit-card{min-height:119px;padding-top:9px}.page-head h2,.yard-page .page-head h2,.visit-page .page-head h2{font-size:22px}.claw-banner{height:112px;padding:15px 16px!important}.claw-banner h3{font-size:20px;margin:0 0 7px}.claw-banner p{display:none}.claw-banner>.art{width:94px;height:89px;right:14px;bottom:0}.claw-banner button{font-size:13px;padding:7px 12px}.invitation-entry b{font-size:15px}.invitation-entry p{font-size:12px}.neighbor-explain{font-size:12px}.page-head{margin-bottom:14px}.patron-room .room-back svg{width:100%;height:100%;object-fit:cover}@keyframes patron-bob{50%{transform:translateY(-4px)}}@keyframes star-gather{0%,100%{opacity:.25;transform:translateY(5px) scale(.8)}50%{opacity:1;transform:translateY(-7px) scale(1)}}@media(max-width:400px){.focused-home .home-content{padding-left:12px;padding-right:12px}.partner-grid{gap:9px 7px}.partners-toolbar{gap:6px}.wardrobe-entry{padding:9px 8px}.partners-toolbar>span{font-size:12px}.partner-card{padding-left:4px;padding-right:4px}.partner-card strong{font-size:12px}.job-chip{font-size:11px;padding:2px 4px}.patrol-strip{gap:5px;padding-left:8px;padding-right:8px}.patrol-dots{gap:4px}.patrol-strip small{font-size:11px}}@media(max-height:740px){.focused-home .patron-room{height:238px}#patronStage{top:47px;bottom:8px}.patron-body{width:112px;height:108px}.patron-center{gap:5px}.patron-room .carpet{bottom:56px}.patron-room-label{top:12px}.patron-info{top:13px}.patron-reward{padding:6px 16px}.focused-home .home-content{padding-top:11px}.patrol-primary{padding:13px}.patrol-strip{padding-top:10px;padding-bottom:10px;margin-top:7px;margin-bottom:9px}}@media(prefers-reduced-motion:reduce){.patron-center.ready .patron-body,.patron-sparks i{animation:none!important}}

.patron-room-label{left:12px;top:12px;padding:7px 11px;border-radius:10px;background:#fff0d5e8;border:1px solid #d5ba90a8;box-shadow:0 2px 5px #84644512;gap:3px}.patron-room-label>span{font-size:11px;color:#947c5c}.patron-room-label>b{font-size:16px;color:#745137}.patron-info{top:15px;right:13px;padding:6px 9px;border:1px solid #d4bd9780;border-radius:8px;background:#fff0d5ce;color:#8c7353}.partner-card strong{font-size:14px}.partner-card .job-chip{font-size:12px}.partner-card .tier-stars{font-size:20px}@media(max-width:400px){.partner-card strong{font-size:14px}.patron-room-label{top:11px}.patron-room-label>b{font-size:16px}}

/* === Information Hierarchy Refinement: Highlight Key Info, Quiet Non-Essential Noise === */
.workspace{grid-template-columns:218px 414px 210px;gap:24px;padding:14px 28px}
@media(min-width:761px){.guide{padding-top:6px}.guide h1{font-size:40px;margin:8px 0}.guide .intro{font-size:14px;line-height:1.7;margin:6px 0}.guide .hairline{margin:12px 0}.guide-label{margin-bottom:8px;font-size:11.5px}.guide .route{padding:7px 10px;gap:11px}.guide .route span{font-size:14.5px}.guide .route small{font-size:11px;margin-top:2px}.review-tools{margin-top:10px;padding-top:10px}.review-tools select{padding:8px 28px 8px 10px;font-size:13px}.guide-bottom{margin-top:8px;gap:4px 10px}.guide-bottom .quiet{padding:4px 0;font-size:12px}.notes{padding-top:12px}.notes-mark{margin-bottom:12px;font-size:12px}.note-paper{padding:20px 17px 13px}.note-paper h2{font-size:21px;margin:10px 0}.note-paper p{font-size:12.5px;line-height:1.75}.ink-icons{margin-top:12px;letter-spacing:6px;white-space:nowrap}.session{padding:15px 6px;gap:10px 6px}.review-note{padding-top:12px}.review-note p{font-size:12px;line-height:1.65;margin:6px 0}.prototype-note{padding:8px 6px;font-size:11px;line-height:1.7}}
.edition i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#74936f;margin-right:7px;vertical-align:middle}

/* 1. Courtyard Page: No useless top H2, compact high-signal console, side-by-side tail square buttons */
.yard-page{padding-top:12px;padding-bottom:18px}
.yard-empty-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.rank-inline{font-size:12px;color:#785a3c;font-weight:700;padding:4px 8px;border-radius:999px;background:#efe1c2;border:1px solid #ceb48b}
.refined-console{margin-bottom:12px;border-radius:15px;box-shadow:0 3px 0 #dbc6a355}
.refined-console .gift-top{padding:11px 13px}
.refined-console .gift-top small{font-size:11px;color:#dec9a6;letter-spacing:.2px}
.refined-console .gift-top b{font-size:28px;line-height:1.15;margin-top:2px;color:#fff6de}
.refined-console .gift-top em{font-size:12px;color:#e4cfb0}
.refined-console .gift-top button{padding:9px 14px;font-size:13.5px;border-radius:10px}
.compact-insights{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 11px;border-bottom:1px solid #e5d4b3;background:#fbf2df}
.compact-insights .insight-alert{flex:1;min-width:0;display:flex;flex-direction:row;align-items:center;gap:7px;padding:0;text-align:left}
.status-dot{width:8px;height:8px;border-radius:50%;background:#7d946d;flex-shrink:0}
.insight-alert.needs-care .status-dot{background:#d9793b;box-shadow:0 0 0 3px #f3cfb3}
.alert-main{min-width:0;display:flex;flex-direction:column;gap:1px}
.compact-insights .insight-alert b{font:700 13px var(--sans, system-ui);color:#5d412a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.compact-insights .insight-alert.needs-care b{color:#a85729}
.compact-insights .insight-alert small{font-size:11px;color:#8e7557;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.horn-compact{flex-shrink:0;border-left:1px solid #e2cfa9;padding-left:8px}
.horn-pill{display:flex;flex-direction:column;align-items:flex-end;gap:1px;padding:5px 9px;border-radius:9px;background:#efe0be;border:1px solid #c9ae80;color:#5f432a}
.horn-pill b{font-size:12px;display:inline-flex;align-items:center;gap:4px}
.horn-pill .horn-tag{font-size:9.5px;padding:0 4px;border-radius:4px;background:#d8c196;color:#66492e;font-weight:600}
.horn-pill small{font-size:10px;color:#856846;white-space:nowrap}
.refined-console .gift-console-links{padding:5px 12px 7px;gap:12px;background:#f4e6ca}
.refined-console .gift-console-links button{font-size:11px;color:#876b4c}
.refined-console .gift-console-links .rank-inline{margin-left:auto;padding:2px 8px;font-size:11px;background:#e8d7b4}
.refined-console .horn-result{margin:4px 10px;padding:5px 9px;font-size:11px}

/* Courtyard visual hierarchy: spotlight spirits & status, quiet labels */
.living-yard{padding:66px 0 44px}
.yard-gate{height:64px}
.gate-roof{top:12px;padding:8px 9px 6px;font-size:13px;letter-spacing:1.2px}
.gate-post{top:35px;height:29px}
.gate-lantern{top:39px;width:19px;height:24px;font-size:11px;padding-top:3px}
.courtyard-row{min-height:188px;padding-bottom:14px}
.shop-eaves span{writing-mode:horizontal-tb;white-space:nowrap;padding:2px 6px;top:-6px;right:8px;font-size:10px;font-weight:700;border-radius:4px;line-height:1.3}
.courtyard-title{padding:7px 9px 4px}
.courtyard-title strong{font-size:15.5px}
.courtyard-title small{font-size:10.5px;color:#987c5a}
.empty-stool{width:38px;height:34px;background:#f9e6be;border:1.5px dashed #b97a45;border-radius:7px;color:#a55e2c;font-size:14px;font-weight:700;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.empty-stool small{font-size:8.5px;font-weight:600;margin-top:1px}
.counter-quote{font-size:10px;color:#8a6b48;opacity:.85}
.door-mat{opacity:.55;font-size:7.5px;padding:3px 5px}
.yard-tail{bottom:10px;font-size:8.5px;opacity:.65}
.shop-operation{padding:6px 8px;font-size:11.5px}
.shop-operation b{font-weight:700}
.shop-operation.missing,.shop-operation.busy,.shop-operation.full{background:#f7dfc0;color:#9d582a;border-top:1px solid #dfbe93}

/* Side-by-side Square Buttons at Courtyard Tail */
.yard-tail-squares{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.yard-sq-btn{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;text-align:left;min-height:108px;padding:12px 13px;border-radius:16px;border:1.5px solid #c5ab82;background:linear-gradient(180deg,#fff9ec,#efe0c2);box-shadow:0 4px 0 #cbb28b;transition:transform .12s}
.yard-sq-btn .sq-top{display:flex;width:100%;align-items:center;justify-content:space-between;gap:6px}
.yard-sq-btn .sq-icon{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;font-style:normal;font-size:15px;background:#e5d5b5;color:#684c31;border:1px solid #cbb38b}
.yard-sq-btn .sq-tag{font-style:normal;font-size:10.5px;padding:2px 6px;border-radius:999px;background:#e6dec9;color:#786549;font-weight:600}
.yard-sq-btn strong{font:700 16px var(--serif);color:#4f3622;margin-top:7px;display:block}
.yard-sq-btn small{font-size:11px;color:#876e51;line-height:1.35;margin-top:2px;display:block}
.yard-sq-btn.stand-sq.has-stand{background:linear-gradient(180deg,#f2f5e7,#e1e8ce);border-color:#a8b693;box-shadow:0 3px 0 #b3bfa0}
.yard-sq-btn.stand-sq.has-stand .sq-icon{background:#d2dec1;color:#4f6646;border-color:#a8b896}
.yard-sq-btn.stand-sq.has-stand .sq-tag{background:#738968;color:#fff7e6}
.yard-sq-btn.shop-sq.can-afford{background:linear-gradient(180deg,#fff5e2,#f9deb2);border-color:#cf9355;box-shadow:0 3px 0 #c99259}
.yard-sq-btn.shop-sq.can-afford .sq-icon{background:#f2c98b;color:#7c441d;border-color:#cf9658}
.yard-sq-btn.shop-sq.can-afford .sq-tag{background:#de7438;color:#fff6e5}
.yard-sq-btn.shop-sq.can-afford strong{color:#7a3d19}
.compact-spares{margin:11px 0 0;padding:9px 11px;border-radius:12px}
.compact-spares .spare-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}
.compact-spares .spare-head b{font-size:12.5px}
.compact-spares .spare-head span{font-size:10.5px;color:#8c7558}
.compact-spares .spare-item{padding:6px 0;font-size:13px}
.compact-spares .spare-item small{font-size:11px;color:#8b7255;margin-left:4px}

/* 2. Home & Partners & Wardrobe Refinements */
.patron-room-label{left:12px;top:11px;padding:5px 9px;border-radius:9px;background:#fff4dfcc;backdrop-filter:blur(3px);border:1px solid #d5ba9077;box-shadow:none;gap:1px}
.patron-room-label>span{font-size:10px;color:#8e7556}
.patron-room-label>b{font-size:14.5px}
.patron-info{top:12px;right:12px;padding:4px 8px;font-size:11px;background:#fff4dfaa;border-color:#d4bd9766}
.patron-center:not(.ready) .patron-reward{background:#f4e8cde6;border-color:#c9b48f;color:#786346;font-size:13px;padding:5px 14px;box-shadow:none}
.patrol-primary{padding:13px 14px;font-size:18.5px;border-radius:14px}
.patrol-secondary>button:first-child{padding:5px 11px;border-radius:999px;background:#efe2c6;border:1px solid #cbb289;font-size:12.5px;font-weight:700;color:#62462d}
.home-yard-link small{font-weight:700;color:#9b5d2e}
.partners-page .job-chip{font-size:10.5px;padding:1px 5px;background:#eaeadd;color:#79836c}
.compact-subhead{margin-bottom:10px;gap:8px;justify-content:flex-start}
.compact-subhead h2{font-size:19px!important;margin:0}
.compact-subhead .back{width:32px;height:32px;font-size:16px}
.frag-pill{margin-left:auto;font-size:11.5px;padding:4px 9px;border-radius:999px;background:#e5ebd6;border:1px solid #b5c2a2;color:#596a49}
.wardrobe-page .wardrobe-stage{height:152px;padding:10px 12px}
.wardrobe-page .wardrobe-stage .art{width:104px;height:100px}
.wardrobe-page .wardrobe-cta{padding:9px 15px 12px}
.wardrobe-cta .cta-meta{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#866d50;margin-bottom:6px}
.wardrobe-cta .cta-meta .quiet{padding:0;font-size:11px;text-decoration:underline}

/* 3. Social & Visit & Ranking Page Refinements */
.social-page{padding-top:12px}
.social-topbar{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.social-topbar .neighbor-tabs{flex:1;margin:0;padding:3px}
.social-topbar .neighbor-tabs button{padding:7px 4px;font-size:12px}
.compact-rank{padding:7px 9px;font-size:11.5px;border-radius:10px}
.compact-rank span{font-size:14px}
.compact-stand{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 11px;margin-bottom:10px}
.compact-stand .stand-info b{display:block;font-size:13px;color:#5a442c}
.compact-stand .stand-info small{font-size:11px;color:#7d785b}
.compact-stand .stand-btns{display:flex;gap:6px;flex-shrink:0}
.mini-btn.accent{background:#e9c37e;border-color:#bf9654;color:#5b3c22;font-weight:700}
.social-topbar .neighbor-tabs{grid-template-columns:1fr 1.15fr 1.15fr}
.social-quick-pair{display:grid;grid-template-columns:1.2fr 1fr;gap:8px;margin-bottom:11px}
.claw-card-btn{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;padding:10px 12px;min-height:68px;border-radius:14px;background:#68857c;border:1.5px solid #4d655f;box-shadow:0 2px 0 #4d655f44;color:#fff4da;text-align:left}
.claw-card-copy{z-index:2;display:flex;flex-direction:column;gap:4px}
.claw-card-copy b{font:700 15px var(--serif);letter-spacing:1px}
.claw-card-copy small{font-size:10.5px;color:#e8f3e8;background:#4c685f;padding:1px 7px;border-radius:999px;width:fit-content}
.claw-card-btn .art{position:absolute;right:5px;bottom:-5px;width:54px;height:52px;transform:rotate(8deg);opacity:.96}
.compact-invite-tile{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0;padding:10px 11px;min-height:68px;border-radius:14px;background:#e8ebd6;border:1.5px solid #b8c19e;box-shadow:0 2px 0 #c5ceb055;text-align:left;width:100%}
.compact-invite-tile .inv-copy{display:flex;flex-direction:column;gap:3px;z-index:2}
.compact-invite-tile b{font:700 15px var(--serif);color:#505f3d}
.compact-invite-tile small{font-size:10.5px;color:#788362;white-space:nowrap}
.inv-post-svg{width:36px;height:36px;flex-shrink:0;opacity:.92;transform:rotate(-5deg)}
.neighbor-list{display:flex;flex-direction:column;gap:8px}
.doorplate-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px 9px 11px;margin:0;border-radius:14px;background:#fff7e6;border:1px solid #d5be99;box-shadow:0 2px 0 #dec9a855;transition:background .14s,border-color .14s}
.doorplate-row:hover{background:#fffaf0;border-color:#c6a87d}
.neighbor-body-tap{flex:1;min-width:0;display:flex;align-items:center;gap:10px;text-align:left;padding:0}
.neighbor-illust{position:relative;width:46px;height:46px;flex-shrink:0;border-radius:13px;background:var(--c,#e5dec9);border:1px solid #bda47e88;padding:5px 4px 2px;display:grid;place-items:center}
.neighbor-illust .art{width:100%;height:100%}
.owner-seal{position:absolute;right:-4px;bottom:-3px;z-index:4;width:18px;height:18px;border-radius:6px;background:#6d4e35;color:#fff2d6;font:700 10px/16px var(--serif);text-align:center;font-style:normal;border:1.5px solid #fff7e6;box-shadow:0 1px 2px #422a1833}
.neighbor-meta{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.neighbor-meta h3{font-size:15px;margin:0;display:flex;align-items:center;gap:5px;color:#4c3420;line-height:1.25}
.src-pill{font-style:normal;font-size:9.5px;font-weight:500;padding:1px 5px;border-radius:4px;background:#e6ebd8;color:#6c7856;border:1px solid #c8d0b2;white-space:nowrap}
.src-pill.warm{background:#f4e0bf;color:#916b3c;border-color:#dcbf92}
.neighbor-meta p{font-size:11.5px;color:#8a7155;margin:0;display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.neighbor-meta p b{color:#6a4d32;font-weight:600;overflow:hidden;text-overflow:ellipsis}
.visit-cue{font-size:10.5px;color:#9e815e;flex-shrink:0}
.neighbor-side-acts{display:flex;align-items:center;gap:4px;flex-shrink:0}
.invite-pill{height:30px;padding:0 11px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap;transition:transform .1s}
.invite-pill.ready{background:#e6efdc;color:#4a6345;border:1px solid #a8bc9b;box-shadow:0 2px 0 #c7d4bc88}.invite-pill.ready:hover{background:#dce9cf}
.invite-pill.muted-pill{background:#ebe1cd;color:#8e7b61;border:1px solid #d5c4a6;font-weight:500;font-size:11px;padding:0 9px;opacity:.85}
.slim-star{padding:0;width:28px;height:28px;min-width:28px;min-height:28px;display:grid;place-items:center;font-size:19px;color:#b19468;border-radius:50%;margin:0}
.slim-star[aria-pressed=true]{color:#c58632}

.head-bookmark{margin-left:auto;font-size:12px!important;min-height:30px!important;min-width:auto!important;padding:4px 9px!important;border-radius:999px;background:#f3e4c4;border:1px solid #cbb188}
.refined-feature{min-height:210px;padding:13px 13px 11px}
.refined-feature h3{font-size:20px;margin:0 0 4px}
.refined-feature>p{font-size:11px;margin-bottom:4px}
.refined-feature .feature-creature{height:138px;padding-top:6px}
.refined-feature .feature-creature .art{width:104px;height:98px}
.two-col-inspire{grid-template-columns:1fr 1fr!important;gap:8px;margin:9px 0 12px}
.two-col-inspire>button{min-height:54px;padding:7px 9px;gap:7px}
.two-col-inspire>button>svg,.two-col-inspire .art{width:36px;height:36px}
.two-col-inspire b{font-size:12.5px}
.two-col-inspire small{font-size:10.5px;margin-top:1px}
.visit-scene-heading{margin:8px 2px 8px}
.visit-scene-heading span{font-size:11px;color:#8e7657;margin:0}
.visit-footer .primary{padding:9px;font-size:14px}

.ranking-page .rank-tabs{margin:10px 0}
.ranking-page .rank-tabs button{padding:8px 5px;font-size:13px}
.ranking-page .rank-scopes{margin:8px 0 10px}
.ranking-page .ranking-row{min-height:52px;padding:9px 10px}
.ranking-page .rank-avatar{width:30px;height:30px;font-size:14px;border-radius:9px}
.ranking-page .rank-name b{font-size:13.5px}
.ranking-page .rank-name small{font-size:10.5px;margin-top:1px}
.ranking-page .rank-score{font-size:16px;font-weight:700}
.ranking-page .ranking-self{padding:10px 14px 13px;margin-top:10px}
.ranking-page .ranking-self b{font-size:20px}

/* 4. Match-2, Candy Machine, Claw & Shop Modal Hierarchy */
.inline-rhythm{display:inline-flex;align-items:center;gap:6px;margin:2px 0 0;padding:0;min-height:0;background:none!important;border:0!important;font-size:10.5px!important;color:#d6c39d!important}
.inline-rhythm .beat-dot{width:6px;height:6px}
.match-page #matchStatus{padding:6px 9px;margin-bottom:2px}
.match-progress{align-items:center;font-size:11.5px}
.half-note{font-size:10px;color:#cbb792;font-weight:400}
.tier-pills{display:inline-flex;align-items:center;gap:4px}
.tier-pills i{font-style:normal;font-size:10px;padding:1px 5px;border-radius:4px;background:#4c3424;color:#bda682;border:1px solid #75563d}
.tier-pills i.current{background:#87663d;color:#ffe7b3;border-color:#cda96d;font-weight:700}
.tier-pills button{font-size:10.5px;width:17px;height:17px;border-radius:50%;background:#4c3424;color:#dec79e;border:1px solid #856648;display:inline-grid;place-items:center;margin-left:2px}
.match-page .slot-hint{color:#ffd88e;font-weight:700;font-size:11.5px;min-height:0;margin:3px 0 0}
.match-page .pair-feedback{margin:4px 0 7px;font-size:11.5px}
.machine-page .machine-prompt{height:26px;margin-top:7px;font-size:13.5px}
.machine-page .fire{padding:11px 14px;font-size:16px}
.claw-sign{font-size:20px;padding:10px 4px}
.claw-sign span{font-size:11px;font-family:var(--sans, system-ui);letter-spacing:1px;font-weight:600;background:#e8c777;padding:2px 6px;border-radius:999px;vertical-align:middle}
.shop-modal-meta{display:flex;justify-content:center;align-items:center;gap:10px;margin:2px 0 10px}
.shop-modal-rate{font-size:12px;color:#7e6143}
.shop-modal-rate b{font-size:17px;color:#9d5f2c;font-family:Georgia,serif}
.employee.is-empty{border-style:dashed;border-color:#c68953;background:#fbf0d9}
.employee.is-empty b{color:#a85d2a}
.shop-quiet-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 12px;padding:8px 10px;border-radius:10px;background:#f3e5c8;font-size:11px;color:#886e4f}
.shop-quiet-facts span{display:block;font-size:10px;color:#9b8162}
.shop-quiet-facts b{display:block;font-size:11.5px;color:#63482e;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shop-quiet-facts b.lit{color:#5d754c}


.phone:has(.lively-match) .topbar,.phone:has(.lively-machine) .topbar{display:none}
.lively-match{height:100%;min-height:620px;display:flex;flex-direction:column;padding:12px 12px 15px;background:radial-gradient(ellipse at 40% 35%,#a97e51,#705035 76%);gap:0}.lively-match .game-top{flex:none;min-height:40px}.lively-match .game-top b{font-size:14px}.lively-match .sound-switch{font-size:12px;min-height:34px;padding:7px 8px;margin-left:auto}.lively-match .inline-rhythm{font-size:11px!important;gap:7px}.lively-match .inline-rhythm .beat-dot{width:7px;height:7px}.lively-match .beat-dot.lit{background:#f7d290;box-shadow:0 0 7px #f5d79c;transform:scale(1.2)}.play-score{flex:none;display:flex;justify-content:space-between;align-items:center;padding:8px 5px 5px}.play-score .combo-value{display:flex;align-items:baseline;gap:5px;font-size:27px}.play-score .combo-value>span:first-child,.play-score .ammo>span{display:inline-block}.play-score .combo-value small{font-size:12px;margin:0;font-family:inherit}.play-score .combo-tier{font:11px 'Microsoft YaHei',sans-serif;color:#d9bc8e;margin-left:4px;padding:3px 5px;border:1px solid #b38b5455;border-radius:6px;background:#6d4d2f}.play-score .ammo{font-size:26px}.play-score .ammo small{font-size:12px;margin-left:5px}.lively-match .combo-timer{height:3px;margin:1px 6px 2px;flex:none}.lively-match #matchStatus{padding:4px 5px 6px;margin:0;flex:none}.lively-match .match-progress{font-size:12px;line-height:1.5;margin:0}.lively-match .match-progress button{font-size:12px;color:#e6cd9f;padding:2px 3px}.lively-match .pair-progress{height:3px;margin:3px 0 0;background:#6a4b32}.lively-match .pair-progress i{background:#aabb8c}.match-table{position:relative;flex:1;min-height:300px;background:radial-gradient(ellipse at 50% 45%,#c4986466,#855f3f66),repeating-linear-gradient(8deg,transparent 0 45px,#9a704c55 46px 47px);border:1px solid #b58d5c80;border-radius:28px;box-shadow:inset 0 0 30px #593c2733,inset 0 0 0 4px #ba945d22;isolation:isolate;margin:2px 0 4px;overflow:visible}.scatter-board.board{position:absolute;inset:0;left:0;top:0;width:100%;height:100%;max-width:none;border:0;border-radius:24px;margin:0;transform:none;background:none;box-shadow:none;overflow:visible}.lively-match .big-tile{width:68px;height:76px;border:1.6px solid #715438;border-radius:12px;background:linear-gradient(150deg,#fff7e5,var(--tile-tint));box-shadow:inset 0 2px #fffaf0,0 4px #c4a479,0 6px #745031,2px 10px 9px #3c28182e;transform:rotate(var(--tilt));padding:4px;transition:filter .16s,box-shadow .14s;touch-action:manipulation}.lively-match .big-tile .art{width:94%;height:92%;pointer-events:none}.lively-match .big-tile.covered{filter:brightness(.64) saturate(.65);box-shadow:0 4px #a58359,0 6px #604126}.lively-match .big-tile.pair-ready{outline:3px solid #a3ceab;outline-offset:1px;box-shadow:0 4px #a5b48a,0 6px #536f53,0 0 13px #ccf0b877}.lively-match .big-tile.hint{outline:3px solid #ffe2a4;box-shadow:0 0 20px #ffdc91,0 5px #7d6a42}.lively-match .big-tile:active:not(.covered){transform:rotate(var(--tilt)) scale(.94)}.tile-corner{position:absolute;top:4px;left:6px;font-size:8px;color:#bfaa75;opacity:.65;pointer-events:none}.covered-mark{font-size:9px;bottom:5px;right:5px;background:#675438bb}.table-leaf{position:absolute;width:28px;height:65px;opacity:.4;border-radius:90% 0 90% 0;background:#b2b483;z-index:-1;pointer-events:none}.leaf-left{left:-9px;top:24%;transform:rotate(-28deg)}.leaf-right{right:-8px;bottom:20%;transform:rotate(155deg)}.match-bottom{flex:none;position:relative}.lively-match .slots{margin:7px 2px 0;padding:7px 0;gap:12px;background:#4c3627;border:1px solid #b58c59;box-shadow:inset 0 2px 8px #39271955;border-radius:15px}.lively-match .slot{width:55px;height:51px;border-radius:10px}.lively-match .slot .art{width:45px;height:45px}.lively-match .slot.filled{box-shadow:inset 0 2px #fff2d4,0 2px #a78a61}.lively-match .pair-feedback{font-size:13px;line-height:20px;min-height:20px;margin:6px 0;text-align:center;color:#eed6ac}.lively-match .slot-hint{position:absolute;left:0;right:0;bottom:48px;z-index:2;background:#715035;color:#ffdf9e;font-size:12px;line-height:20px;margin:0;text-align:center}.lively-match .action-row{margin:6px 1px 0;gap:10px}.lively-match .action-row button{font-size:13px;min-height:36px;padding:8px 10px;box-shadow:0 2px #ac8554}.tile-flight{position:absolute;z-index:55;display:flex;justify-content:center;align-items:center;pointer-events:none;background:#fff0ce;border:1px solid #bd9762;border-radius:12px;color:#9b5f2d;font-size:24px;box-shadow:0 3px #b18c59}.tile-flight>.art{width:90%;height:90%}.tile-flight>span:not(.art){font-size:17px}.lively-machine{height:100%;min-height:610px;display:flex;flex-direction:column;padding:12px 12px 14px;background:linear-gradient(#668476,#344f43)}.lively-machine .game-top{min-height:41px;flex:none}.lively-machine .game-top b{font-size:15px}.lively-machine .game-top small{font-size:11px}.lively-machine .sound-switch{margin-left:auto;font-size:12px;min-height:34px;padding:7px 8px}.lively-machine .machine-stats{margin:8px 0 7px;gap:7px;flex:none}.lively-machine .machine-stat{font-size:11px;padding:6px 9px;position:relative;background:#294f4366;border-color:#9bac8766}.lively-machine .machine-stat b{font-size:22px;margin-top:2px}.lively-machine .shieldbar{height:3px;margin-top:4px}.candy-mechanism{flex:none;display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:5px 4px 9px;font-size:11px;color:#d0dcc2}.candy-mechanism b{font-size:13px;color:#f1dca9}.candy-mechanism small{font-size:11px;color:#bdd1b9;margin-left:auto}.lively-machine .machine-frame{flex:1;min-height:290px;max-height:none;padding:6px;border-radius:36px 36px 22px 22px;overflow:hidden;box-shadow:0 4px #263c30;background:linear-gradient(90deg,#9b7546,#e5c78c 7%,#aa8756 13%,#aa8756 87%,#e5c78c 93%,#9b7546)}.lively-machine .machine-frame canvas{width:100%;height:100%;object-fit:contain;border-radius:28px 28px 15px 15px;background:#28473b;aspect-ratio:auto}.lively-machine .machine-prompt{flex:none;line-height:21px;height:25px;margin:8px 0 2px;font-size:13px;color:#eadbb8}.lively-machine .machine-prompt.warning{color:#ffce8c;font-weight:800}.lively-machine .burst-guide{flex:none;margin:2px 0 8px;padding:5px 8px;min-height:28px;font-size:11px}.lively-machine .burst-dots{gap:3px}.lively-machine .burst-dots i{width:6px;height:6px}.lively-machine .fire{flex:none;margin:0;font-size:19px;padding:11px 10px;min-height:59px;touch-action:none;user-select:none}.lively-machine .fire small{font-size:11px;margin-top:3px;letter-spacing:0}.lively-machine .fire.dodge-window{background:linear-gradient(#ebbb74,#c18b4a);border-color:#896738;box-shadow:inset 0 2px #f8d79d,0 4px #7b5936;color:#fff2d0}.lively-machine .fire.held{filter:brightness(1.12)}@media(max-width:400px){.lively-match{padding:10px 10px 13px}.lively-match .game-top{gap:7px}.lively-match .game-top b{font-size:13px}.play-score .combo-tier{font-size:10px}.candy-mechanism{gap:5px}.candy-mechanism small{font-size:10px}.lively-machine{padding:10px 10px 12px}}@media(max-height:670px){.lively-match{min-height:610px}.match-table{min-height:285px}.lively-match .play-score{padding-top:5px;padding-bottom:3px}.lively-match .slots{padding-top:6px;padding-bottom:6px}.lively-machine .machine-stats{margin-top:6px;margin-bottom:4px}.lively-machine .machine-frame{min-height:280px}.lively-machine .fire{min-height:54px;padding-top:9px;padding-bottom:9px}.lively-machine .machine-prompt{margin-top:6px}.lively-machine .burst-guide{margin-bottom:5px}}

/* Keep the playfield full width and undo legacy compact-game sizing. */
.lively-match .scatter-board{max-height:none;min-height:0}.lively-match #matchStatus{background:none;border:0;border-radius:0;padding:3px 5px 6px}.lively-match .game-top{margin-bottom:3px}.lively-match .action-row .secondary{min-height:38px;padding:8px 6px}.lively-match .slot-hint{margin:0;min-height:20px}.lively-match .inline-rhythm{padding:0!important;min-height:16px!important}.lively-match .match-table{margin-bottom:5px}
@media(max-width:760px){.workspace:has(.lively-match),.workspace:has(.lively-machine){padding:0;min-height:100dvh}.phone:has(.lively-match),.phone:has(.lively-machine){width:100%;height:100dvh;margin:0 auto;min-height:0}.lively-match,.lively-machine{min-height:0}.lively-match .match-table{min-height:180px}.lively-machine .machine-frame{min-height:180px}}

.lively-match .match-table{overflow:hidden}


.rank-discovery{margin:0 0 13px}.rank-discovery-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.rank-discovery-head h2{display:flex;align-items:center;gap:5px;margin:0;font-size:16px;letter-spacing:1px}.rank-discovery-head svg{width:26px;height:26px}.rank-discovery-head>small{font-size:11px;color:#8a7256}.rank-discovery-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.rank-discovery-grid>button{text-align:left;padding:12px 12px 10px;border:1px solid #bead87;border-radius:15px;box-shadow:0 3px #d4c5a6;min-width:0;position:relative;overflow:hidden}.rank-discovery-grid>button:after{content:'✦';position:absolute;font-size:63px;right:-10px;top:4px;opacity:.07;pointer-events:none}.rank-discovery-grid .qi-door{background:linear-gradient(120deg,#e7ecd8,#ccd8b8);color:#4e654c}.rank-discovery-grid .gift-door{background:linear-gradient(120deg,#fae7bd,#efd09a);color:#805d37}.rank-discovery-grid button>span{font-size:13px;font-weight:700}.rank-discovery-grid button>b{display:block;font-size:14px;margin:8px 0 7px;line-height:1.25;white-space:nowrap}.rank-discovery-grid button>b strong{font-size:26px;font-family:var(--serif);margin-left:2px}.rank-discovery-grid button>small{display:flex;justify-content:space-between;align-items:center;font-size:11px;gap:3px}.rank-discovery-grid i{font-style:normal;border-bottom:1px solid currentColor;white-space:nowrap}.social-refined .social-quick-pair{grid-template-columns:1fr 1.12fr;margin:10px 0 13px;gap:8px}.quiz-invite-tile{position:relative;background:linear-gradient(120deg,#efe2c4,#e7d8ad);border:1px solid #c7ad80;border-radius:14px;min-height:96px;padding:10px 9px!important;display:flex;align-items:flex-start;overflow:hidden;box-shadow:0 2px #d4c1a0;text-align:left}.quiz-invite-tile .inv-copy{position:relative;z-index:2;white-space:normal;display:flex;flex-direction:column;gap:5px}.quiz-invite-tile .inv-copy>b{font-size:13px;color:#795530;margin:0}.quiz-invite-tile .inv-copy>small{font-size:10.5px;color:#8c7759;margin:0}.quiz-invite-art{position:absolute;right:6px;bottom:-4px}.quiz-invite-art>.art{width:59px!important;height:54px!important;opacity:.95}.quiz-invite-art>i{position:absolute;right:1px;top:-5px;border-radius:9px 9px 9px 1px;padding:2px 7px;background:#fff7e1;color:#a07d42;font-weight:bold;font-size:14px;font-style:normal;border:1px solid #cdb48a}.social-refined .claw-card-btn{min-height:96px}.social-refined .claw-card-copy b{font-size:13px}.social-refined .claw-card-copy small{font-size:11px}.relation-tabs{margin-bottom:5px!important;gap:6px}.relation-tabs .neighbor-tabs{grid-template-columns:1fr 1.3fr 1.1fr}.relation-tabs .neighbor-tabs button{font-size:12px;padding:9px 2px;white-space:nowrap}.relation-tabs .neighbor-tabs small{font-size:10px;opacity:.7;margin-left:2px}.relation-help{border:1px solid #c5b18c;color:#886e4d;border-radius:50%;width:25px;height:25px;flex-shrink:0;font-size:13px}.social-refined .relation-summary{font-size:11.5px;line-height:1.55;margin:6px 2px 10px;color:#8a7358}.social-refined .neighbor-side-acts{flex-direction:column;gap:5px;width:65px}.social-refined .follow-button{width:64px;height:25px;min-width:0;padding:2px 3px;font-size:11.5px;line-height:20px;border:1px solid #c3c9ad;color:#627551;background:#f1f2e1;border-radius:8px;box-shadow:none}.social-refined .follow-button.following{border-color:transparent;background:transparent;color:#a28d70}.social-refined .doorplate-row{padding:9px 8px;gap:5px}.social-refined .neighbor-body-tap{min-width:0;flex:1;gap:8px}.social-refined .neighbor-illust{width:55px;height:60px;flex:0 0 55px}.social-refined .neighbor-illust .art{width:53px;height:54px}.social-refined .neighbor-meta h3{font-size:14px;gap:3px;flex-wrap:wrap}.social-refined .neighbor-meta .src-pill{font-size:9.5px;padding:2px 4px;margin-left:2px}.social-refined .neighbor-meta p{font-size:11px}.social-refined .neighbor-meta p b{font-size:11.5px}.social-refined .visit-cue{font-size:10px}.relation-explainer section{padding:11px 0;border-bottom:1px dashed #d7c4a3}.relation-explainer section:first-child{padding-top:0}.relation-explainer section:last-child{border-bottom:0}.relation-explainer b{font-size:15px}.relation-explainer p{font-size:13px;margin:7px 0}.relation-explainer small{font-size:11px;color:#917e60;line-height:1.6;display:block}.quiz-share-preview{padding:17px 12px!important;position:relative;overflow:hidden;background:radial-gradient(ellipse at 30% 20%,#fff5db,#ecdbb9)}.quiz-share-preview>small{font-size:11px}.quiz-share-art{position:relative;display:flex;justify-content:center;width:155px;margin:10px auto 0}.quiz-share-art>.art{width:103px!important;height:98px!important}.quiz-share-art>span:not(.art){position:absolute;right:-5px;top:12px;padding:6px 9px;border:1px solid #c7ae87;background:#fff7e4;border-radius:15px 15px 15px 2px;font-size:12px;transform:rotate(7deg)}.quiz-share-preview h3{font-size:20px;line-height:1.5;margin:9px 0}.quiz-share-preview p{font-size:12px;line-height:1.7;margin:8px 0 12px}.quiz-share-preview>span{display:inline-block;background:#7f9167;color:#fff9e6;border:1px solid #65764d;border-radius:19px;padding:7px 19px;font-size:13px}.share-relation-note{font-size:12px!important;line-height:1.6!important}.invite-quiz-progress{display:flex;gap:6px;margin:5px 0 22px}.invite-quiz-progress i{height:5px;flex:1;background:#ded0b4;border-radius:5px}.invite-quiz-progress .done{background:#9da97d}.invite-question{font-size:19px;line-height:1.7;margin:0 0 20px}.invite-quiz-result{text-align:center;padding:6px}.invite-quiz-result>small{font-size:12px;color:#927856}.invite-quiz-result>.art{display:block;margin:12px auto;width:140px;height:145px}.invite-quiz-result h3{font-size:23px;margin:7px 0}.invite-quiz-result p{font-size:13px}.rank-home-strip{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:8px 0 10px;border:1px solid #bfa77b;border-radius:11px;background:#f1e0bc;overflow:hidden;box-shadow:0 2px #ddc8a1}.rank-home-strip button{display:flex;align-items:center;text-align:left;padding:7px 8px;gap:6px;min-width:0;min-height:50px}.rank-home-strip button+button{border-left:1px solid #c5af8866;justify-content:space-between}.rank-home-strip svg{width:27px;height:30px;flex:none}.rank-home-strip span{font-size:11px;color:#8e7452;line-height:1.5}.rank-home-strip b{display:block;font-size:12px;font-weight:700;color:#76512e}.rank-home-strip i{font-size:10px;font-style:normal;color:#957947}.rank-yard-strip{width:100%;display:flex;align-items:center;gap:8px;padding:10px 0 0;border-top:1px dashed #b9a17866;margin-top:9px;text-align:left;color:inherit}.rank-yard-strip svg{width:30px;height:33px;flex:none}.rank-yard-strip span{flex:1}.rank-yard-strip b{display:block;font-size:13px}.rank-yard-strip small{display:block;font-size:11px;margin-top:3px;opacity:.75}.rank-yard-strip strong{font-family:var(--serif);font-size:20px;color:#79512a}.ranking-refined .compact-subhead h2{font-size:22px;letter-spacing:1px}.ranking-refined .compact-subhead .muted{font-size:10.5px}.ranking-refined .rank-tabs{margin:13px 0 12px}.ranking-refined .rank-tabs button{padding:10px 3px;font-size:14px;font-weight:bold}.rank-standing{border:1px solid #b4bc95;border-radius:17px;padding:14px 14px 0;background:linear-gradient(130deg,#e9ecd4,#d4dfbd);margin-bottom:13px;overflow:hidden;color:#4b6448;box-shadow:0 3px #c5cdad}.gift-standing{background:linear-gradient(130deg,#fae9c8,#edd09f);border-color:#c6a46a;color:#7c5930;box-shadow:0 3px #d9bd8c}.rank-standing-main{display:flex;align-items:center;justify-content:space-between}.rank-standing-main>svg{width:61px;height:61px;transform:rotate(6deg);opacity:.8}.rank-standing-main small{font-size:12px}.standing-number{font-family:var(--serif);font-size:19px;line-height:1.15;margin:7px 0 8px;letter-spacing:1px}.standing-number strong{font-size:43px;font-weight:700;margin:0 5px}.standing-metrics{display:flex;align-items:flex-end;gap:16px;padding-bottom:12px}.standing-metrics>span{font-size:10px;line-height:1.6}.standing-metrics b{display:block;font-size:22px;font-family:var(--serif);white-space:nowrap}.standing-metrics b small{font:10px sans-serif;margin-left:4px}.standing-cta{margin-left:auto;border-radius:9px;padding:8px 9px;border:1px solid #899a6e;background:#f7fae9;color:#536842;font-size:12px;white-space:nowrap;box-shadow:0 2px #b6c398}.gift-standing .standing-cta{border-color:#b79a67;background:#fff5dc;color:#805a2d;box-shadow:0 2px #d6bb8f}.rank-gap{border-top:1px solid #7b8f6240;margin:0 -14px;padding:9px 14px;font-size:11px;background:#ffffff28;line-height:1.6}.ranking-refined .rank-table-heading{margin:15px 0 8px;align-items:center}.ranking-refined .rank-table-heading b{font-size:14px}.ranking-refined .rank-table-heading span{font-size:10.5px}.ranking-refined .ranking-row{min-height:61px;padding:10px 9px}.ranking-refined .ranking-row.podium-row{min-height:69px}.ranking-refined .podium-row.place-1{background:linear-gradient(90deg,#f3dfb5,#fff4df 80%)}.ranking-refined .podium-row.my-rank{box-shadow:inset 4px 0 #8c9d76}.ranking-refined .rank-number{width:26px;flex:0 0 26px;font-family:var(--serif)}.rank-medal{display:grid;place-items:center;font-style:normal;font-size:19px;font-weight:bold;width:25px;height:28px;border:1px solid #bd9861;border-radius:50% 50% 42% 42%;background:#f0d398;color:#85622f;box-shadow:0 2px #bda573}.place-2 .rank-medal{background:#e2dfd0;border-color:#b9b5a0;color:#7b7c6c;box-shadow:0 2px #b7b09b}.place-3 .rank-medal{background:#e6c6ac;border-color:#c6a586;color:#916446;box-shadow:0 2px #c4a082}.ranking-refined .rank-avatar{width:34px;height:35px;flex:0 0 34px;font-size:15px}.ranking-refined .rank-name b{font-size:14px}.ranking-refined .rank-name small{font-size:10.5px}.ranking-refined .rank-score{font-size:19px}.ranking-refined .rank-footnote{font-size:11px;line-height:1.7;margin-bottom:6px}.rank-demo-note{font-size:10px;color:#a28d71;margin:0 0 8px;line-height:1.7}
@media(max-width:400px){.rank-discovery-grid{gap:7px}.rank-discovery-grid>button{padding:11px 10px 9px}.rank-discovery-grid button>b strong{font-size:24px}.social-refined .neighbor-meta .src-pill{font-size:9px}.ranking-refined .standing-metrics{gap:10px}.ranking-refined .standing-cta{padding:7px;font-size:11px}.ranking-refined .rank-score{font-size:17px}.rank-home-strip button{padding:7px 6px;gap:4px}.rank-home-strip b{font-size:11.5px}}
@media(max-width:760px){.workspace:has(.social-refined),.workspace:has(.ranking-refined){padding:0;min-height:100dvh}.phone:has(.social-refined),.phone:has(.ranking-refined){width:100%;height:100dvh;margin:0 auto;min-height:0}}

.social-refined .quiz-invite-tile{margin:0;height:100%}

.rank-yard-strip{padding:10px 10px 11px}


.patrol-strip.patrol-bags{display:block;padding:7px 8px 8px;margin:8px 0 10px;background:linear-gradient(125deg,#f4e7c8,#e9d7b3);border:1px solid #c8ac7e;border-radius:12px;box-shadow:0 2px #ddc59d}.bag-progress-head{width:100%;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 2px 7px;text-align:left;color:#896a43}.bag-progress-head>span:first-child{font-size:11px;white-space:nowrap}.bag-progress-head b{font-size:12px;margin-left:3px}.bag-progress-head>small{font-size:10px;white-space:nowrap}.bag-progress-head .patrol-dots{gap:5px}.patrol-bag-pair{display:grid;grid-template-columns:1fr 1.2fr;gap:7px}.milestone-bag{position:relative;display:flex;align-items:center;gap:5px;padding:5px 6px;min-height:48px;background:#fff6df;border:1px solid #d2bb94;border-radius:9px;text-align:left;min-width:0;color:#80613a;box-shadow:0 2px #d9c7a6}.fortune-bag-art{display:block;width:34px;height:37px;flex:0 0 34px}.milestone-bag>span{min-width:0;flex:1;line-height:1.45}.milestone-bag b{font-size:12px;display:block;font-weight:700;white-space:nowrap;margin:0}.milestone-bag small{font-size:9.5px;display:block;margin-top:2px;color:#a28a62;white-space:nowrap}.milestone-bag small em{font-style:normal;border:1px solid currentColor;border-radius:3px;padding:0 2px;font-size:8px;line-height:1.1;display:inline-block;margin-right:1px}.milestone-bag.bag-ready{background:linear-gradient(#fbe2aa,#f0c77f);border-color:#b78a47;box-shadow:0 2px #ba914e}.milestone-bag.bag-ready small{color:#92612c;font-weight:700}.milestone-bag.bag-collected{background:#ecedda;border-color:#bdc5a1;box-shadow:0 2px #c5ccad}.milestone-bag.bag-collected small{color:#7d8c66}.bag-ready-dot{position:absolute;right:4px;top:4px;width:6px;height:6px;background:#d88443;border:1px solid #fff2d1;border-radius:50%;box-shadow:0 0 0 2px #e2a35233}.bag-detail-art>.fortune-bag-art{width:98px;height:105px;margin:12px auto 4px}.bag-detail-amount{text-align:center;font:700 40px var(--serif);color:#946334}.bag-detail-amount small{font-size:13px;margin-left:7px;font-weight:normal}.bag-detail-copy{text-align:center;font-size:13px!important;line-height:1.8!important}.bag-double-preview{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px 12px;background:#f0e1bf;border:1px dashed #c5a573;padding:12px 8px;border-radius:12px;margin:13px 0;font-size:12px;color:#8f7046}.bag-double-preview b{font-size:23px;font-family:var(--serif)}.bag-double-preview i{font-size:17px;font-style:normal;color:#b49b70}.bag-double-preview small{font-size:11px;width:100%;text-align:center}.bag-video-cta{margin-top:12px;font-size:17px!important}.bag-video-cta small{display:block;font-size:12px;margin-top:3px;letter-spacing:0}.bag-opportunity-note{text-align:center;font-size:10.5px!important;color:#9b8463;line-height:1.5!important;margin:8px 0 10px!important}.bag-result-content .hero-art{margin:4px 0 0;height:103px}.bag-result-content .hero-art .art{width:108px;height:103px}.result-quote{text-align:center}.bag-result-content .result-quote{font-size:12px;margin:8px 0 10px;line-height:1.6}.bag-result-content .reward-row{margin:10px 0}.bag-result-content .reward{font-size:24px;padding:10px}.bag-result-content .reward small{font-size:11px}.result-fortune{display:flex;align-items:center;justify-content:center;gap:10px;padding:9px 12px;background:#e9ecd6;border:1px solid #bdc49e;border-radius:13px;margin:12px 0 10px;color:#65744f;text-align:left}.result-fortune .fortune-bag-art{width:41px;height:44px;flex:0 0 41px}.result-fortune b{font-size:14px;display:block}.result-fortune small{font-size:11px;display:block;margin-top:5px;color:#8b946e}.result-fortune.big-fortune{background:#f4e1bb;border-color:#d3b17b;color:#8c622f}.result-fortune.big-fortune small{color:#a48351}.bag-result-content .action-row{margin-top:12px}.bag-result-content .action-row button{font-size:14px;padding:11px 6px}.bag-claimed-receipt{text-align:center;font-size:12px!important;color:#798a58;background:#edf0dc;border-radius:8px;padding:8px;margin:8px 0 10px}.bag-review-actions{margin-top:12px;padding-top:12px;border-top:1px dashed #ccb38d}.bag-review-actions p{font-size:12px}.bag-review-actions .secondary{font-size:12px}
@media(max-width:400px){.patrol-strip.patrol-bags{padding:6px}.patrol-bag-pair{gap:5px;grid-template-columns:1fr 1.25fr}.milestone-bag{gap:3px;padding:5px 4px}.milestone-bag .fortune-bag-art{width:29px;height:34px;flex-basis:29px}.milestone-bag b{font-size:11px}.milestone-bag small{font-size:9px}.bag-progress-head .patrol-dots{gap:4px}.bag-progress-head>small{font-size:9px}.bag-progress-head>span:first-child{font-size:10px}.bag-progress-head b{font-size:11px}.bag-progress-head{gap:4px}}

.bag-ad-tag{display:inline-block;font-size:8px;font-weight:400;font-style:normal;border:1px solid #b98b4d;border-radius:3px;padding:0 2px;margin-right:3px;vertical-align:1px}.milestone-bag.bag-ready:not(.bag-collected) b{color:#8d561d;font-size:12px}


.patrol-strip.patrol-bags.compact-fortune{display:flex;align-items:center;gap:8px;height:45px;padding:4px 8px;margin:8px 0 9px;border-radius:10px}.compact-patrol-label{flex:none;text-align:left;min-width:49px;padding:2px 0;color:#8b6d43;line-height:1.4}.compact-patrol-label span{display:block;font-size:10px}.compact-patrol-label b{display:block;font-size:13px;margin:0}.fortune-track{flex:1;min-width:0;display:grid;grid-template-columns:repeat(5,1fr);gap:4px;align-items:center;position:relative;height:36px}.fortune-track:before{content:'';position:absolute;left:9%;right:9%;top:17px;height:2px;background:#cdb68e;opacity:.65}.fortune-node{position:relative;display:flex;justify-content:center;align-items:center;min-width:0;z-index:1;height:35px;background:transparent;overflow:visible}.plain-node i{font-size:8px;font-style:normal;display:grid;place-items:center;width:12px;height:12px;border-radius:50%;background:#dfcda9;color:#a38a61;border:1px solid #c1a271}.plain-node.done i{background:#a9b88a;border-color:#839362;color:#fff9e9}.plain-node.current i{background:#f5cf88;box-shadow:0 0 0 2px #fff2d2}.gift-node{padding:1px 5px 4px;border-radius:8px;min-height:35px}.gift-node>.fortune-bag-art{width:26px;height:29px;flex:0 0 26px;filter:drop-shadow(0 1px #bb975c55)}.gift-node>small{position:absolute;right:2px;bottom:-1px;font-size:8px;padding:0 2px;background:#eee0bf;color:#9a7b4f;border-radius:3px;line-height:11px}.gift-node.done{background:#e4e8cf}.gift-node.ready{background:#f7d99c;box-shadow:inset 0 0 0 1px #c49b58}.node-tick{position:absolute;right:2px;bottom:0;font-size:10px;font-weight:bold;color:#68834f;background:#f4f5dc;line-height:12px;border-radius:50%;width:12px;height:12px;text-align:center}.node-tag.video-tag{position:absolute;right:-2px;top:-5px;font-size:8px;line-height:12px;padding:1px 4px;background:#cb8a46;color:#fff7df;border-radius:6px 6px 6px 0;box-shadow:0 1px #ae743b;white-space:nowrap}.growth-showcase{width:100%;display:block;border:1px solid #c3ba94;border-radius:14px;background:linear-gradient(125deg,#f8edd1,#e9e5c9);padding:9px 10px 7px;margin:9px 0 11px;box-shadow:0 2px #d7c9a6;text-align:left}.growth-showcase-title{display:flex;justify-content:space-between;align-items:center;gap:5px}.growth-showcase-title b{font-size:13px;color:#80603e}.growth-showcase-title small{font-size:10px;color:#9b8161}.growth-showcase-stages{display:flex;align-items:center;justify-content:space-around;gap:4px;margin-top:5px}.showcase-stage{display:flex;flex-direction:column;align-items:center;min-width:0;flex:1;padding:3px 0 2px;border-radius:10px}.showcase-stage.current{background:#fcf5e3;border:1px solid #c7b384;padding-top:2px;padding-bottom:1px}.showcase-stage>.growth-art{width:70px;height:67px}.showcase-stage>span:not(.art){font-size:13px;color:#bb9551;letter-spacing:2px;margin-top:2px;line-height:16px}.showcase-stage>small{font-size:9px;color:#9b8766;line-height:15px}.growth-showcase-stages>i{font-style:normal;color:#b89d6f;font-size:17px;flex:none}.growth-art>svg{filter:none!important}.growth-art.growth-2>svg{filter:drop-shadow(0 2px 1px #72855320)!important}.growth-art.growth-3>svg{filter:drop-shadow(0 3px 1px #b1894626)!important}.partner-card.growth-card-2{background:linear-gradient(#f7f3dc,#e8edd8);border-color:#b6bf99;box-shadow:0 3px #b7c29b60}.partner-card.growth-card-3{background:linear-gradient(#fff4d2,#efd8a6);border-color:#bc9556;box-shadow:0 3px #c9a56b80}.growth-card-3 .job-chip{background:#eadab6;color:#92713e}.growth-portrait{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:2px auto 9px;min-height:172px;border-radius:18px;background:radial-gradient(ellipse at 50% 55%,#fff7e2,#e8ddc2);border:1px solid #d5c3a2}.growth-portrait.stage-2{background:radial-gradient(ellipse at 50% 55%,#faf9e7,#dce5c8);border-color:#b7c59b}.growth-portrait.stage-3{background:radial-gradient(ellipse at 50% 55%,#fff7da,#efd59f);border-color:#c7a363}.growth-portrait>.growth-art{width:148px;height:139px;margin:4px 0 0}.growth-preview-state{font-size:11px;color:#9b8059;margin:2px 0 10px;padding:3px 10px;border:1px solid #c9b58788;background:#fff5dc88;border-radius:10px}.growth-stage-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.growth-stage-picker button{border:1px solid #d1be9a;background:#f7ecd4;border-radius:9px;padding:7px 3px;color:#a78d63}.growth-stage-picker b{display:block;font-size:16px;letter-spacing:1px}.growth-stage-picker small{display:block;font-size:10px;margin-top:2px}.growth-stage-picker .selected{border-color:#ad8d55;background:#f4dfac;color:#8f692f;box-shadow:0 2px #c6a56a}.growth-caption{text-align:center;font-size:12px!important;color:#947447;line-height:1.5!important;margin:10px 0 12px!important}.growth-detail+.bond-progress{margin-top:9px}.bond-progress>span .tier-stars{display:inline-flex;font-size:12px;vertical-align:0;gap:1px}.growth-detail~.partner-job{margin:10px 0}.growth-detail~.partner-details{margin-bottom:11px}.growth-detail~.action-row button{font-size:14px}.growth-detail~.action-row .primary small{font-size:10px}.customer-bubble{position:absolute;right:-3px;bottom:54px;width:112px;box-sizing:border-box;padding:7px 9px;background:#fff9e9f5;color:#806043;border:1px solid #bda17a;border-radius:11px 11px 2px 11px;box-shadow:0 3px 5px #71543822;font-size:11px;line-height:1.5;text-align:left;opacity:0;transform:translateY(5px);transition:opacity .22s,transform .22s;pointer-events:none;white-space:normal;word-break:break-all}.customer-bubble:after{content:'';position:absolute;right:8px;bottom:-5px;width:7px;height:7px;background:#fff9e9;border-right:1px solid #bda17a;border-bottom:1px solid #bda17a;transform:skewY(30deg)}.yard-customer.is-talking{z-index:3}.yard-customer.is-talking .customer-bubble{opacity:1;transform:translateY(0)}
@media(max-width:400px){.patrol-strip.patrol-bags.compact-fortune{gap:5px;padding:4px 7px}.fortune-track{gap:2px}.compact-patrol-label{min-width:44px}.compact-patrol-label b{font-size:12px}.growth-showcase{padding:8px 7px 7px}.growth-showcase-title b{font-size:12px}.growth-showcase-title small{font-size:9px}.showcase-stage>.growth-art{width:61px;height:61px}.growth-showcase-stages{gap:3px}.growth-stage-picker b{font-size:15px}.growth-portrait{min-height:156px}.growth-portrait>.growth-art{width:139px;height:128px}}


/* === 《妖怪请留步》视觉设计定稿手册全局样式升级（莫兰迪陶木色板 × 柿红点睛 × 无框骨瓷二消 × 青瓷糖果机） === */
:root {
  --ink: #463529;
  --deep: #36281F;
  --cream: #F8F4EC;
  --bone: #FAF6F0;
  --paper: #EFE8DC;
  --orange: #C85238;
  --persimmon: #C85238;
  --green: #8FA394;
  --celadon: #8FA394;
  --mist-blue: #6C8496;
  --oat: #DDD1BE;
  --walnut: #6A422B;
  --champagne: #C8AD7E;
  --line: #D5C7B2;
  --shadow: 0 4px 0 #C4B49C;
}

body {
  color: var(--ink);
  background: #EAE3D6;
  background-image: radial-gradient(ellipse at 15% 12%, #F6F1E8 0, transparent 58%), radial-gradient(ellipse at 88% 85%, #DDD1BE 0, transparent 58%);
}

.guide h1 span { color: var(--persimmon); }
.route.active { background: #FAF6F0; border-color: #D5C7B2; }
.route.active b { color: var(--persimmon); }
.edition i { background: var(--celadon); }

.phone {
  background: var(--cream);
  border-color: #564234;
  box-shadow: 0 24px 60px rgba(62, 44, 30, 0.22), 0 2px 0 #9E8972, inset 0 0 0 1px #C8B7A2;
}
.statusbar { background: #3D2E24; color: #EDE2D0; }
.topbar {
  background: linear-gradient(180deg, #574335, #463529);
  color: var(--cream);
}
.avatar {
  background: var(--persimmon);
  border-color: var(--champagne);
  color: #FAF6F0;
  box-shadow: none;
}
.wallet span, .wallet button {
  background: #35271E;
  border-color: #7A624E;
  color: #EFE4D2;
}
.screen { background: #F3EDE2; }
.bottomnav {
  background: linear-gradient(180deg, #554133, #423227);
  border-top: 2px solid #7D644E;
}
.bottomnav button { color: #CBBBA4; }
.bottomnav .active {
  color: #463529;
  background: linear-gradient(180deg, #FAF6F0, #E6DAC8);
  box-shadow: 0 2px 0 #2B1F17;
}

/* 按钮统一回调为柿红陶橘与羊脂骨瓷哑光质感 */
.primary {
  color: #FAF6F0;
  border: 1.5px solid #993A25;
  background: linear-gradient(180deg, #D35E44, #C85238);
  box-shadow: inset 0 1.5px 0 rgba(255, 246, 238, 0.28), 0 4px 0 #943823, 0 6px 12px rgba(152, 58, 36, 0.16);
  text-shadow: none;
}
.primary small { color: #F7DFD7; }
.secondary {
  background: linear-gradient(180deg, #FAF6F0, #EAE0D0);
  border-color: #C8B8A0;
  box-shadow: 0 3px 0 #C5B49B;
  color: #4A382B;
}
.tertiary {
  background: #F8F4EC;
  border-color: #D5C7B2;
  color: #6E5A48;
}

/* 彻底取消角色层多余投影发光与外部悬浮贴图，由同空间SVG内部统一承接 */
.art svg, .art.tier2 > svg, .art.tier3 > svg, .growth-art > svg, .growth-art.growth-2 > svg, .growth-art.growth-3 > svg {
  filter: none !important;
}

/* 本命小窝：温润呼吸圆环替代漫天漂浮星星 */
.patron-room .carpet { display: none; }
.patron-halo {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 124px;
  height: 124px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 246, 240, 0.72) 0%, rgba(200, 173, 126, 0.14) 58%, transparent 74%);
  border: 1px solid rgba(200, 173, 126, 0.35);
  pointer-events: none;
}
.patron-center.unbound .patron-halo, .patron-center.rest .patron-halo { opacity: 0.35; }
.patron-center.ready .patron-reward {
  background: #FAF6F0;
  border: 1.5px solid var(--persimmon);
  color: var(--persimmon);
  box-shadow: 0 3px 0 rgba(200, 82, 56, 0.22);
}
.patrol-strip.patrol-bags {
  background: linear-gradient(125deg, #FAF6F0, #EBE1D1);
  border-color: #CFC0A9;
  box-shadow: 0 2px 0 #D8CBB6;
}

/* 伙伴图鉴与 1～5 阶岁月流转预览 */
.partner-card {
  background: #FAF6F0;
  border-color: #D6C8B4;
  box-shadow: 0 3px 0 rgba(196, 180, 156, 0.45);
}
.partner-card.growth-card-2 {
  background: linear-gradient(180deg, #FAF6F0, #EDF1EC);
  border-color: #B4C2B6;
}
.partner-card.growth-card-3 {
  background: linear-gradient(180deg, #FAF6F0, #F2E9D8);
  border-color: var(--champagne);
}
.growth-showcase {
  background: linear-gradient(125deg, #FAF6F0, #EAE3D5);
  border-color: #CFC2AE;
  box-shadow: 0 2px 0 #D8CCB8;
}
.stage-pill-label {
  font-size: 10.5px !important;
  font-weight: 700;
  color: #5A4635 !important;
  letter-spacing: 0 !important;
  background: #EAE0D0;
  padding: 1px 6px;
  border-radius: 999px;
}
.showcase-stage.current {
  background: #FFFDF9;
  border-color: var(--persimmon);
}
.showcase-stage.current .stage-pill-label {
  background: var(--persimmon);
  color: #FAF6F0 !important;
}
.growth-stage-picker.five-stages {
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}
.growth-stage-picker.five-stages button {
  padding: 6px 2px;
  background: #F6F1E7;
  border-color: #D5C7B2;
  color: #7D6853;
}
.growth-stage-picker.five-stages button b { font-size: 13px; letter-spacing: 0; }
.growth-stage-picker.five-stages button small { font-size: 10px; }
.growth-stage-picker.five-stages button.future-stage { border-style: dashed; }
.growth-stage-picker.five-stages button.selected {
  background: #EFE3CE;
  border-style: solid;
  border-color: var(--persimmon);
  color: var(--persimmon);
  box-shadow: 0 2px 0 rgba(200, 82, 56, 0.2);
}
.growth-portrait.stage-4 {
  background: radial-gradient(ellipse at 50% 55%, #FAF6F0, #E0E6DE);
  border-color: var(--celadon);
}
.growth-portrait.stage-5 {
  background: radial-gradient(ellipse at 50% 55%, #FFFDF9, #EFE5D1);
  border-color: var(--champagne);
}

/* === 第三章 · 四格二消零疲劳无框骨瓷盘面、燕麦柔雾遮挡与白蜡木四格槽 === */
.screen:has(.bone-match-page) { background: #EFE9DF; }
.bone-match-page {
  background: linear-gradient(180deg, #F3EEE5, #E7DFD1) !important;
  color: #463529 !important;
}
.bone-match-page .game-top b { color: #463529; }
.bone-match-page .inline-rhythm { color: #7C6A58 !important; }
.bone-match-page .beat-dot { background: #D5C7B2; border-color: #B8A78F; }
.bone-match-page .beat-dot.lit { background: var(--persimmon); box-shadow: 0 0 6px rgba(200, 82, 56, 0.35); }
.bone-match-page .game-top .back,
.bone-match-page .game-top .sound-switch {
  background: #FAF6F0;
  border: 1px solid #CFC1AC;
  color: #463529;
}
.bone-match-page .combo-value { color: var(--persimmon); }
.bone-match-page .combo-tier {
  background: #E6DDD0 !important;
  color: #6B5744 !important;
  border-color: #CFC1AC !important;
}
.bone-match-page .ammo { color: #463529; }
.bone-match-page .ammo small, .bone-match-page .combo-value small { color: #7C6A58; }
.bone-match-page .combo-timer { background: #DDD1BE !important; }
.bone-match-page .combo-timer i { background: var(--champagne) !important; }
.bone-match-page .match-progress { color: #6B5744; }
.bone-match-page .match-progress button { color: var(--persimmon) !important; font-weight: 700; }
.bone-match-page .pair-progress { background: #DDD1BE !important; }
.bone-match-page .pair-progress i { background: var(--celadon) !important; }

/* 无纹暖沙圆凹茶盘（严禁深木纹条纹底板） */
.ceramic-tea-tray.match-table {
  background: radial-gradient(circle at 50% 48%, #EBE2D2 0%, #E1D5C1 78%, #D8C9B2 100%) !important;
  border: 6px solid #D3C3AA !important;
  border-radius: 36px !important;
  box-shadow: inset 0 6px 16px rgba(96, 76, 54, 0.11), 0 3px 0 #C4B399 !important;
}
.ceramic-inner-plate {
  position: absolute;
  inset: 22px 26px;
  border-radius: 22px;
  background: #E7DEC9;
  box-shadow: 0 2px 4px rgba(96, 76, 54, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

/* 顶层可点亮牌态：1:1大圆角无框暖羊脂骨瓷(#FAF6F0) + 留白≥50% + 2mm暖沙底厚 */
.lively-match .bone-tile {
  width: 66px;
  height: 66px;
  border: 0 !important;
  border-radius: 15px !important;
  background: #FAF6F0 !important;
  padding: 12px !important;
  box-shadow: 0 3px 0 #DFD2BE, 0 6px 12px rgba(88, 68, 48, 0.10) !important;
  transform: none !important;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background-color 0.16s ease;
}
.lively-match .bone-tile .tile-bone-art {
  width: 100% !important;
  height: 100% !important;
}
.lively-match .bone-tile:active:not(.covered) {
  transform: translateY(1.5px) scale(0.97) !important;
}

/* 下层遮挡禁点态：整牌退为暖燕麦雾面色(#DDD1BE)，浮雕降对比50%，严禁黑灰脏蒙版 */
.lively-match .bone-tile.covered {
  background: #DDD1BE !important;
  filter: none !important;
  opacity: 1 !important;
  box-shadow: 0 2px 0 #C9B9A1 !important;
}
.lively-match .bone-tile.covered .tile-bone-art {
  opacity: 0.48;
}

/* 可配对 / 路线提示态：微上浮2px + 内侧1.5px青瓷绿细描边（严禁闪烁霓虹框） */
.lively-match .bone-tile.pair-ready,
.lively-match .bone-tile.hint {
  transform: translateY(-2px) !important;
  outline: none !important;
  box-shadow: inset 0 0 0 1.8px #8FA394, 0 5px 0 #DFD2BE, 0 8px 14px rgba(110, 138, 118, 0.18) !important;
}
.lively-match .bone-tile.hint {
  box-shadow: inset 0 0 0 2px #8FA394, 0 0 0 3px rgba(143, 163, 148, 0.25), 0 5px 0 #DFD2BE !important;
}

/* 浅白蜡木四格收纳槽 ＋ 右侧单圆整理木钮 */
.ash-tray-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 6px 2px 0;
}
.ash-wood-slots.slots {
  flex: 1;
  margin: 0 !important;
  padding: 7px 10px !important;
  gap: 10px !important;
  background: linear-gradient(180deg, #E8DBC6, #DCCAB0) !important;
  border: 1.5px solid #C8B598 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 0 #C1AE91, inset 0 1px 0 rgba(255, 252, 245, 0.65) !important;
}
.ash-wood-slots.slots.near-full {
  border-color: var(--champagne) !important;
}
.ash-wood-slots .slot {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 50% 38%, #CEBC9F, #DECDB4) !important;
  border: 1px solid #C2AE91 !important;
  box-shadow: inset 0 3px 6px rgba(92, 72, 48, 0.16) !important;
  position: relative;
}
.ash-wood-slots .slot.filled {
  border-radius: 12px !important;
  background: #FAF6F0 !important;
  border: 0 !important;
  padding: 6px !important;
  box-shadow: 0 2px 0 #D8CBB6, 0 3px 6px rgba(80, 60, 40, 0.10) !important;
}
.ash-wood-slots .slot .tile-bone-art {
  width: 100% !important;
  height: 100% !important;
}
.ash-round-btn {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #E5D5BC, #D4C0A3);
  border: 1.5px solid #BFA98B;
  box-shadow: 0 3px 0 #B8A284, inset 0 1px 0 rgba(255, 250, 240, 0.6);
  color: #5C4530;
  font-size: 20px;
  display: grid;
  place-items: center;
}

/* 入槽轻靠 165ms 单圈细香槟金涟漪 */
.slot.ripple-left { transform: translateX(3px); }
.slot.ripple-right { transform: translateX(-3px); }
.gold-ripple-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--champagne);
  pointer-events: none;
  animation: single-gold-ripple 0.17s ease-out forwards;
}
@keyframes single-gold-ripple {
  from { transform: scale(0.88); opacity: 0.95; }
  to { transform: scale(1.24); opacity: 0; }
}

.bone-flight.tile-flight {
  background: #FAF6F0;
  border: 0;
  border-radius: 14px;
  padding: 8px;
  color: var(--persimmon);
  box-shadow: 0 4px 10px rgba(80, 60, 40, 0.14);
}
.bone-match-page .pair-feedback { color: #6E5A47 !important; }
.bone-match-page .slot-hint {
  background: #FAF6F0 !important;
  color: var(--persimmon) !important;
  border: 1px solid #DFCBB2;
  border-radius: 999px;
  width: fit-content;
  margin: 0 auto !important;
  padding: 1px 12px;
}

/* === 第四章 · 青瓷香槟金拱顶糖果机与三态软陶键 === */
.screen:has(.celadon-machine) { background: #7D9284; }
.celadon-machine {
  background: linear-gradient(180deg, #8FA394, #6E8375) !important;
  color: #FAF6F0 !important;
}
.celadon-machine .game-top .back,
.celadon-machine .game-top .sound-switch {
  background: #FAF6F0;
  border: 1px solid #C5D0C7;
  color: #463529;
}
.celadon-machine .game-top small { color: #EAEFE9; }
.celadon-machine .machine-stat {
  background: rgba(58, 78, 66, 0.34) !important;
  border-color: rgba(250, 246, 240, 0.28) !important;
  color: #E8EFE9;
}
.celadon-machine .machine-stat b { color: #FAF6F0; }
.celadon-machine .shieldbar { background: rgba(45, 62, 52, 0.38); }
.celadon-machine .shieldbar i { background: #FAF6F0; }
.celadon-machine .candy-mechanism { color: #ECF2ED; }
.celadon-machine .candy-mechanism b { color: #FAF6F0; background: rgba(58, 78, 66, 0.28); padding: 2px 8px; border-radius: 999px; }
.celadon-machine .candy-mechanism small { color: #E4ECE5; }

.celadon-arch-frame.machine-frame {
  position: relative;
  padding: 8px !important;
  border-radius: 88px 88px 22px 22px !important;
  background: linear-gradient(90deg, #B59868, #DFC89B 12%, #C8AD7E 50%, #DFC89B 88%, #B59868) !important;
  border: 2px solid #8E754C !important;
  box-shadow: 0 6px 0 #566B5E, 0 12px 22px rgba(42, 58, 48, 0.22) !important;
}
.celadon-arch-frame canvas {
  border-radius: 80px 80px 15px 15px !important;
  background: #FAF6F0 !important;
}
.arch-ribbon {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 38px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #B88480;
  box-shadow: 0 2px 3px rgba(60, 40, 35, 0.2);
  z-index: 3;
  pointer-events: none;
}

.celadon-machine .machine-prompt { color: #FAF6F0 !important; }
.celadon-machine .machine-prompt.warning { color: #FFE8C2 !important; }
.celadon-machine .burst-guide { color: #E8EFE9 !important; }
.celadon-machine .burst-dots i { background: rgba(250, 246, 240, 0.28); }
.celadon-machine .burst-dots i.charged { background: var(--champagne); box-shadow: 0 0 4px #FAF6F0; }

/* 静音可读三态软陶发射大钮 */
.clay-fire-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  letter-spacing: 1px !important;
  transition: border-radius 0.18s ease, background 0.18s ease, transform 0.1s ease;
}
.clay-fire-btn .clay-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  background: rgba(250, 246, 240, 0.2);
  flex-shrink: 0;
}
.clay-fire-btn .clay-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.clay-fire-btn .clay-copy b { font-size: 16px; line-height: 1.2; }
.clay-fire-btn .clay-copy small { font-size: 10.5px; margin-top: 2px; opacity: 0.9; }

.clay-fire-btn.state-normal {
  border-radius: 30px !important;
  background: linear-gradient(180deg, #D35F45, #C85238) !important;
  border-color: #963924 !important;
  color: #FAF6F0 !important;
}
.clay-fire-btn.state-pause {
  border-radius: 16px !important;
  background: linear-gradient(180deg, #EAE0D0, #DDD1BE) !important;
  border-color: #B29F84 !important;
  color: #543D28 !important;
  box-shadow: inset 0 2px 0 #FAF6F0, 0 4px 0 #A89478 !important;
}
.clay-fire-btn.state-pause .clay-icon {
  border-radius: 9px;
  background: #543D28;
  color: #FAF6F0;
}
.clay-fire-btn.state-pause .clay-copy small { color: #6E543B; }
.clay-fire-btn.state-gold {
  border-radius: 30px !important;
  background: linear-gradient(180deg, #DFC79A, #C8AD7E) !important;
  border-color: #9A7E4F !important;
  color: #42301D !important;
  box-shadow: inset 0 2px 0 #FAF6F0, 0 4px 0 #94784A !important;
}
.clay-fire-btn.state-gold .clay-icon {
  background: #FAF6F0;
  color: #9A7A45;
}
.clay-fire-btn.state-gold .clay-copy small { color: #5C442B; }

/* === 第五章 · 烟火小院莫兰迪门头与胡同娃娃机雅致手作配色 === */
.living-yard {
  background: radial-gradient(ellipse at 10% 9%, #C6D2C3 0 8%, transparent 8.3%),
              radial-gradient(ellipse at 0% 72%, #C2CEC0 0 13%, transparent 13.3%),
              linear-gradient(90deg, #DFE3D5, #EAE3D3 55%, #DDE1D3);
  border-color: #BCC4B4;
}
.gate-roof { background: #7D9182; border-color: #637768; color: #FAF6F0; }
.gate-lantern { background: var(--persimmon); border-color: #9A3B26; color: #FAF6F0; box-shadow: none; }
.courtyard-shop { background: #FAF6F0; border-color: #9E8366; }
.shop-eaves { background: repeating-linear-gradient(90deg, var(--shop-color) 0 23px, #FAF6F0 24px 42px); border-bottom-color: #8C7053; }
.refined-console .gift-top { background: #5B4636; color: #FAF6F0; }
.refined-console .gift-top button { background: var(--persimmon); color: #FAF6F0; box-shadow: 0 3px 0 #8E3622; }

.claw-page { background: #ECE7DC; }
.claw-cabinet { border-color: var(--celadon); background: #DCE5DE; box-shadow: 0 6px 0 #6B8072; }
.claw-sign { background: #EFE5D1; color: #5A4531; border-bottom-color: #798F80; }
.claw-controls { background: #7E9485; border-top-color: #627769; }
.claw-controls button { background: linear-gradient(180deg, #D35F45, #C85238); border-color: #923722; color: #FAF6F0; box-shadow: 0 4px 0 #7E2F1D; }

/* 二消图鉴微缩卡与视觉定稿全图鉴弹窗 */
.tile-atlas-mini {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.mini-bone-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FAF6F0;
  border-radius: 9px;
  padding: 4px 2px;
  box-shadow: 0 2px 0 #DFD2BE;
}
.mini-bone-chip .tile-bone-art { width: 28px; height: 28px; }
.mini-bone-chip small { font-size: 8.5px; color: #7C6853; margin-top: 2px; white-space: nowrap; }

.bible-stage-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin: 8px 0 6px;
}
.bible-stage-bar button {
  font-size: 11px;
  padding: 6px 2px;
  border-radius: 8px;
  background: #F4EDE1;
  border: 1px solid #D5C7B2;
  color: #6E5A47;
}
.bible-stage-bar button.active {
  background: var(--persimmon);
  border-color: #9A3B26;
  color: #FAF6F0;
  font-weight: 700;
}
.bible-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-height: 350px;
  overflow-y: auto;
  padding: 4px 2px;
}
.bible-card, .bible-tile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #EFE8DC;
  border: 1px solid #D8CBB6;
  border-radius: 12px;
  padding: 8px 3px;
  text-align: center;
}
.bible-card .art { width: 58px; height: 58px; }
.bible-card b, .bible-tile-card b { font-size: 10px; color: #4A382B; margin-top: 5px; white-space: nowrap; }
.bible-card small, .bible-tile-card small { font-size: 9.5px; color: #8A755E; margin-top: 2px; }
.bone-tile-preview {
  width: 52px;
  height: 52px;
  background: #FAF6F0;
  border-radius: 13px;
  padding: 9px;
  box-shadow: 0 3px 0 #DFD2BE, 0 4px 8px rgba(80, 60, 40, 0.09);
}
.bible-outfit-svg { width: 50px; height: 44px; }
.bible-wear-demos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 8px 0 10px;
}
.wear-demo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FAF6F0;
  border: 1px solid #D5C7B2;
  border-radius: 12px;
  padding: 6px 4px;
  text-align: center;
}
.wear-demo-box .art { width: 68px; height: 68px; }
.wear-demo-box small { font-size: 9.5px; color: #6E5A47; line-height: 1.35; margin-top: 3px; }


/* === 宋韵中式二消盘面精调：宣纸米麻茶席 × 汝窑暖沙圆茶盘 × 羊脂玉微浮雕 × 白蜡木云涡槽 === */
.screen:has(.bone-match-page) { background: #F2ECE1; }
.bone-match-page {
  background:
    repeating-linear-gradient(0deg, rgba(165, 146, 120, 0.025) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(165, 146, 120, 0.025) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #F6F1E8 0%, #EDE5D7 100%) !important;
  color: #463529 !important;
}

.song-match-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.suit-count-pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  color: #637868;
  background: #E4ECE4;
  border: 1px solid #C4D3C5;
  border-radius: 999px;
  padding: 0 7px;
  margin-left: 4px;
}
.match-quick-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.match-quick-links i {
  color: #C2B29C;
  font-style: normal;
}

/* 宋韵素烧暖沙圆茶盘 ＋ 内嵌圆角方茶托 */
.ceramic-tea-tray.match-table {
  position: relative;
  background: radial-gradient(circle at 50% 44%, #F0E8DA 0%, #E6DBC8 70%, #DBD0BA 100%) !important;
  border: 7px solid #DFCFB6 !important;
  border-radius: 42px !important;
  box-shadow:
    inset 0 8px 18px rgba(96, 74, 48, 0.13),
    inset 0 1.5px 0 rgba(255, 252, 246, 0.72),
    0 4px 0 #C6B499,
    0 10px 22px rgba(84, 64, 42, 0.09) !important;
}
.ceramic-inner-plate {
  position: absolute;
  inset: 20px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #EAE1D0, #E3D8C4);
  border: 1px solid rgba(186, 168, 142, 0.45);
  box-shadow: 0 2px 5px rgba(92, 70, 46, 0.07), inset 0 1px 0 rgba(255, 252, 245, 0.55);
  pointer-events: none;
}

/* 24款宋韵3D羊脂玉微浮雕融合规则（isolation隔离混合，确保#FAF6F0与#DDD1BE无缝合一） */
.tile-bone-art {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
.tile-bone-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* 顶层可点亮牌态：1:1大圆角无框暖羊脂骨瓷(#FAF6F0) + 2.5mm素胎底厚 */
.lively-match .bone-tile {
  isolation: isolate;
  width: 66px;
  height: 66px;
  border: 0 !important;
  border-radius: 16px !important;
  background: #FAF6F0 !important;
  padding: 5.5px !important;
  box-shadow:
    inset 0 1.2px 0 #FFFFFF,
    0 3.5px 0 #DFD2BD,
    0 7px 14px rgba(86, 66, 44, 0.11) !important;
  transform: none !important;
  transition: transform 0.13s cubic-bezier(.2,.7,.3,1), box-shadow 0.13s ease, background-color 0.16s ease;
}
.lively-match .bone-tile:hover:not(.covered) {
  transform: translateY(-1.5px) !important;
  box-shadow:
    inset 0 1.2px 0 #FFFFFF,
    0 5px 0 #DFD2BD,
    0 9px 16px rgba(86, 66, 44, 0.14) !important;
}
.lively-match .bone-tile:active:not(.covered) {
  transform: translateY(2px) scale(0.965) !important;
  box-shadow:
    inset 0 1px 0 #FFFFFF,
    0 1.5px 0 #DFD2BD,
    0 3px 6px rgba(86, 66, 44, 0.10) !important;
}

/* 下层宣纸燕麦柔雾遮挡态(#DDD1BE)：无黑灰脏蒙版，微浮雕自然退后 */
.lively-match .bone-tile.covered {
  isolation: isolate;
  background: #DDD1BE !important;
  filter: none !important;
  opacity: 1 !important;
  box-shadow: 0 2px 0 #CBBBA2, 0 3px 6px rgba(82, 62, 40, 0.06) !important;
}
.lively-match .bone-tile.covered .tile-bone-art {
  opacity: 1 !important;
}
.lively-match .bone-tile.covered .tile-bone-art img {
  opacity: 0.54;
}

/* 可配对 / 路线提示：微上浮2px + 内侧1.6px汝窑粉青细釉线(#8FA394) */
.lively-match .bone-tile.pair-ready,
.lively-match .bone-tile.hint {
  transform: translateY(-2.5px) !important;
  outline: none !important;
  box-shadow:
    inset 0 0 0 1.7px #8FA394,
    0 5.5px 0 #DFD2BD,
    0 9px 16px rgba(114, 140, 120, 0.20) !important;
}
.lively-match .bone-tile.hint {
  box-shadow:
    inset 0 0 0 2px #7F9885,
    0 0 0 3.5px rgba(143, 163, 148, 0.28),
    0 5.5px 0 #DFD2BD !important;
}

/* 浅白蜡木一体四格茶托槽 ＋ 右侧阴刻云涡圆木钮 */
.ash-wood-slots.slots {
  background: linear-gradient(180deg, #EFE5D4 0%, #E2D3BC 100%) !important;
  border: 1.5px solid #CEBBO0 !important;
  border-color: #CEBBA0 !important;
  border-radius: 18px !important;
  padding: 7px 11px !important;
  box-shadow:
    0 4px 0 #C3AF92,
    0 8px 16px rgba(84, 64, 42, 0.09),
    inset 0 1.5px 0 rgba(255, 252, 246, 0.78) !important;
}
.ash-wood-slots .slot {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 50% 36%, #CCB99D 0%, #DECDB4 70%, #E7D9C4 100%) !important;
  border: 1px solid #C2AE90 !important;
  box-shadow: inset 0 3px 6px rgba(90, 68, 44, 0.16), 0 1px 0 rgba(255, 252, 245, 0.65) !important;
}
.ash-wood-slots .slot.filled {
  isolation: isolate;
  border-radius: 13px !important;
  background: #FAF6F0 !important;
  padding: 4px !important;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 2.5px 0 #D8CBB6, 0 4px 8px rgba(80, 60, 40, 0.11) !important;
}
.ash-round-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 35%, #ECDDC6, #D6C2A4) !important;
  border: 1.5px solid #BEA788 !important;
  box-shadow: 0 3.5px 0 #B59E7F, inset 0 1.5px 0 rgba(255, 251, 242, 0.72) !important;
  padding: 8px;
}
.wood-swirl-icon {
  width: 24px;
  height: 24px;
  display: block;
}
.gold-ripple-ring.outer {
  inset: -10px;
  border-width: 1px;
  opacity: 0.72;
  animation-duration: 0.21s;
}

.bone-flight.tile-flight {
  isolation: isolate;
  padding: 5px !important;
}
.mini-bone-chip {
  isolation: isolate;
  padding: 4px 2px 5px !important;
}
.mini-bone-chip .tile-bone-art {
  width: 34px !important;
  height: 34px !important;
}
.bone-tile-preview {
  isolation: isolate;
  width: 58px !important;
  height: 58px !important;
  padding: 5px !important;
}
.atlas-group-label {
  font-size: 11.5px !important;
  font-weight: 700;
  color: #5C4836 !important;
  margin: 10px 0 4px !important;
}
.suit-test-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 8px 0 6px;
}
.suit-test-bar .mini-btn {
  background: #FAF6F0;
  border-color: #CEBCA2;
  color: #523E2D;
  font-weight: 700;
  padding: 6px 2px;
}


/* === v14.4 全系统统一高饱和糖瓷光泽 × 羊了个羊式圆润深棕粗描边样式 === */
.screen:has(.bone-match-page) { background: #F5EFE2; }
.bone-match-page {
  background: linear-gradient(180deg, #FAF6EC 0%, #EFE6D5 100%) !important;
}
.ceramic-tea-tray.match-table {
  background: radial-gradient(circle at 50% 45%, #F4EFE3 0%, #E7DFCE 76%, #DCD2BD 100%) !important;
  border: 6px solid #8C6D4E !important;
  box-shadow: inset 0 6px 14px rgba(74, 52, 32, 0.14), 0 5px 0 #5C3D28, 0 10px 20px rgba(60, 42, 24, 0.12) !important;
}
.ceramic-inner-plate {
  background: linear-gradient(180deg, #EDE5D4, #E3D9C4) !important;
  border: 1.5px solid #CBBBA0 !important;
}
.lively-match .bone-tile {
  isolation: isolate;
  width: 66px;
  height: 68px;
  border: 2px solid #4A2F1D !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF7 88%, #F3EAD9 100%) !important;
  padding: 3.5px 3.5px 5.5px !important;
  box-shadow: inset 0 2px 0 #FFFFFF, 0 4.5px 0 #CBB696, 0 6.5px 0 #4A2F1D, 0 9px 12px rgba(58, 36, 20, 0.18) !important;
}
.lively-match .bone-tile.covered {
  isolation: isolate;
  background: #8E8477 !important;
  border-color: #3E2A1C !important;
  filter: none !important;
  opacity: 1 !important;
  box-shadow: 0 3px 0 #6B6155, 0 4.5px 0 #382518 !important;
}
.lively-match .bone-tile.covered .tile-bone-art { opacity: 1 !important; }
.lively-match .bone-tile.covered .tile-bone-art img { opacity: 0.68; }
.lively-match .bone-tile.pair-ready,
.lively-match .bone-tile.hint {
  transform: translateY(-3px) !important;
  border-color: #16A330 !important;
  box-shadow: inset 0 0 0 2px #3CE856, 0 5.5px 0 #A5D6A7, 0 7.5px 0 #167A28, 0 10px 16px rgba(32, 201, 59, 0.28) !important;
}
.ash-wood-slots.slots {
  background: linear-gradient(180deg, #E8D5B7 0%, #D6BE99 100%) !important;
  border: 2px solid #5C3D28 !important;
  box-shadow: 0 4.5px 0 #5C3D28, inset 0 2px 0 rgba(255, 250, 240, 0.75) !important;
}
.ash-wood-slots .slot {
  background: radial-gradient(circle at 50% 38%, #BFA47E 0%, #CFAF88 75%, #DBC19E 100%) !important;
  border: 1.5px solid #8C6A48 !important;
}
.ash-wood-slots .slot.filled {
  isolation: isolate;
  border-radius: 11px !important;
  background: #FFFDF9 !important;
  border: 2px solid #4A2F1D !important;
  padding: 4px !important;
  box-shadow: 0 2.5px 0 #CBB696, 0 4px 0 #4A2F1D !important;
}
.ash-round-btn {
  border: 2px solid #5C3D28 !important;
  box-shadow: 0 3.5px 0 #5C3D28, inset 0 1.5px 0 rgba(255, 251, 242, 0.8) !important;
}
.mini-bone-chip, .bone-tile-preview {
  isolation: isolate;
  background: #FFFDF9 !important;
  border: 1.5px solid #4A2F1D !important;
  box-shadow: 0 2.5px 0 #CBB696, 0 3.5px 0 #4A2F1D !important;
}

/* === 第二阶段：翡翠鎏金粗描边糖果机与三态Q弹果冻大钮 === */
.screen:has(.celadon-machine) { background: #1EA870; }
.celadon-machine {
  background: linear-gradient(180deg, #32CE8E 0%, #1CA46C 100%) !important;
  color: #FFFDF9 !important;
}
.celadon-machine .machine-stat {
  background: rgba(18, 92, 60, 0.48) !important;
  border: 1.5px solid rgba(255, 253, 249, 0.45) !important;
}
.celadon-machine .candy-mechanism {
  background: rgba(255, 253, 248, 0.94) !important;
  color: #3B2214 !important;
  border: 2px solid #3B2214 !important;
  box-shadow: 0 3px 0 #3B2214 !important;
}
.celadon-machine .candy-mechanism span,
.celadon-machine .candy-mechanism small {
  color: #6B4A30 !important;
}
.celadon-arch-frame.machine-frame {
  padding: 9px !important;
  border-radius: 90px 90px 24px 24px !important;
  background: linear-gradient(90deg, #E89C14, #FFE46B 18%, #FFC629 50%, #FFE46B 82%, #E89C14) !important;
  border: 2.8px solid #3B2214 !important;
  box-shadow: 0 6px 0 #3B2214, 0 12px 22px rgba(24, 58, 40, 0.28) !important;
}
.celadon-arch-frame canvas {
  border: 2px solid #3B2214 !important;
  border-radius: 80px 80px 16px 16px !important;
  background: #FFFDF9 !important;
}
.arch-ribbon {
  top: -9px !important;
  width: 54px !important;
  height: 20px !important;
  border-radius: 999px !important;
  background: radial-gradient(circle at 50% 45%, #FF6B85 0%, #FF2644 65%, #D40E2C 100%) !important;
  border: 2.4px solid #3B2214 !important;
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.65), 0 3px 0 #3B2214 !important;
}

/* 三态Q弹果冻描边发射大钮 */
.clay-fire-btn {
  border: 2.6px solid #3B2214 !important;
}
.clay-fire-btn.state-normal {
  background: linear-gradient(180deg, #FF586E 0%, #F01E38 100%) !important;
  color: #FFFFFF !important;
  box-shadow: inset 0 2.5px 0 rgba(255,255,255,0.55), 0 5px 0 #3B2214 !important;
}
.clay-fire-btn.state-normal .clay-icon {
  background: #FFD000 !important;
  color: #3B2214 !important;
  border: 2px solid #3B2214;
}
.clay-fire-btn.state-pause {
  background: linear-gradient(180deg, #FFFDF5 0%, #F5E6C4 100%) !important;
  color: #3B2214 !important;
  box-shadow: inset 0 2.5px 0 #FFFFFF, 0 5px 0 #3B2214 !important;
}
.clay-fire-btn.state-pause .clay-icon {
  background: #3B2214 !important;
  color: #FFFDF5 !important;
}
.clay-fire-btn.state-gold {
  background: linear-gradient(180deg, #FFF066 0%, #FFB800 100%) !important;
  color: #3B2214 !important;
  box-shadow: inset 0 2.5px 0 #FFFFFF, 0 5px 0 #3B2214 !important;
}
.clay-fire-btn.state-gold .clay-icon {
  background: #FFFDF8 !important;
  color: #E07A00 !important;
  border: 2px solid #3B2214;
}
.primary {
  border: 2.2px solid #3B2214 !important;
  background: linear-gradient(180deg, #FF5A4E 0%, #E62E2D 100%) !important;
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.45), 0 4.5px 0 #3B2214 !important;
}

.art svg, .art.tier2 > svg, .art.tier3 > svg, .growth-art > svg, .growth-art.growth-2 > svg, .growth-art.growth-3 > svg {
  filter: none !important;
}
@keyframes jelly-pop {
  0% { transform: scale(1, 1); }
  30% { transform: scale(1.12, 0.88) translateY(2px); }
  65% { transform: scale(0.94, 1.07) translateY(-4px); }
  100% { transform: scale(1, 1); }
}
.jelly-bouncing {
  animation: jelly-pop 0.42s cubic-bezier(.25,.8,.3,1);
}


/* === v14.5 置顶防遮手暂存栏 ＋ 掀盖翻亮弹跳 ＋ 三段连击高潮动效 === */
.top-dock-layout .top-slot-dock {
  position: relative;
  margin: 6px 0 8px;
  z-index: 6;
}
.top-dock-layout .ash-tray-row {
  margin-bottom: 2px;
}
.top-dock-layout .slot-hint {
  margin: 4px 0 0;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: #D92638;
}
.top-dock-layout .ceramic-tea-tray.match-table {
  margin-top: 2px;
  margin-bottom: 8px;
}
.top-dock-layout .match-bottom {
  padding-top: 2px;
}
.combo-timer.warm i {
  background: linear-gradient(90deg, #FF9900, #FFD600) !important;
  box-shadow: 0 0 8px rgba(255, 196, 0, 0.55);
}
.combo-timer.fever i {
  background: linear-gradient(90deg, #FF2A38, #FFD000, #20C93B) !important;
  box-shadow: 0 0 12px rgba(255, 168, 0, 0.75);
}
@keyframes pair-breathe {
  0%, 100% { box-shadow: inset 0 0 0 2px #3CE856, 0 5.5px 0 #A5D6A7, 0 7.5px 0 #167A28, 0 10px 14px rgba(32, 201, 59, 0.25); }
  50% { box-shadow: inset 0 0 0 2.5px #6BFF82, 0 5.5px 0 #A5D6A7, 0 7.5px 0 #167A28, 0 12px 20px rgba(32, 201, 59, 0.48); }
}
.lively-match .bone-tile.pair-ready {
  animation: pair-breathe 1.05s ease-in-out infinite;
}
@keyframes unlock-burst {
  0% { transform: scale(0.90) translateY(3px); filter: brightness(1.22); }
  55% { transform: scale(1.08) translateY(-3px); filter: brightness(1.12); }
  100% { transform: scale(1) translateY(0); filter: brightness(1); }
}
.lively-match .bone-tile.just-unlocked {
  animation: unlock-burst 0.21s cubic-bezier(.22,.85,.32,1);
}
@keyframes combo-pop-rise {
  0% { opacity: 0; transform: translate(-50%, 6px) scale(0.75); }
  25% { opacity: 1; transform: translate(-50%, -6px) scale(1.1); }
  100% { opacity: 0; transform: translate(-50%, -26px) scale(1); }
}
.combo-float-pop {
  position: absolute;
  left: 50%;
  top: -12px;
  pointer-events: none;
  z-index: 30;
  padding: 2px 10px;
  border-radius: 999px;
  background: #FFF6CC;
  color: #3B2214;
  border: 2px solid #3B2214;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 3px 0 #3B2214;
  animation: combo-pop-rise 0.66s ease-out forwards;
}
.combo-float-pop.hot {
  background: linear-gradient(180deg, #FFF066, #FFB800);
  color: #3B2214;
  font-size: 13px;
}
.tile-flight.fever-flight b {
  color: #FFE44D !important;
  text-shadow: 0 2px 0 #3B2214;
}


/* === 糖果机手感＋画面精修补充样式 === */
.celadon-machine .candy-mechanism {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.celadon-machine .mech-left {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.mech-switch-btn {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1.8px solid #3B2214;
  background: linear-gradient(180deg, #FFE96B, #FFC024);
  color: #3B2214;
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 2px 0 #3B2214;
  cursor: pointer;
}
.mech-switch-btn:active {
  transform: translateY(2px);
  box-shadow: 0 0 0 #3B2214;
}
.clay-fire-btn {
  transition: transform 0.08s cubic-bezier(.2,.8,.3,1), box-shadow 0.08s ease !important;
}
.clay-fire-btn.held,
.clay-fire-btn:active {
  transform: translateY(4px) scale(0.985) !important;
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.4), 0 1px 0 #3B2214 !important;
}


/* === v14.6 二消连接爽感（流光连理弧 × 磁吸碰盏 × 糖瓷星爆）与四阶 Combo 律动心流升级 === */
.lively-match.top-dock-layout {
  position: relative;
  overflow: hidden;
  transition: background 0.35s ease;
}
.lively-match.stage-flow-2 {
  background: linear-gradient(180deg, #FFF7E8 0%, #F3E6CE 100%) !important;
}
.lively-match.stage-flow-3 {
  background: linear-gradient(180deg, #FFF3DE 0%, #F5DFBC 100%) !important;
}
.lively-match.stage-flow-4 {
  background: radial-gradient(circle at 50% 34%, #FFF6D6 0%, #F7DFB2 62%, #EED09D 100%) !important;
}
.match-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 42;
}
.clash-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 44;
  overflow: hidden;
}
.clash-ghost {
  position: absolute;
  width: 58px;
  height: 58px;
  margin-left: -29px;
  margin-top: -29px;
  border-radius: 14px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF7 88%, #F3EAD9 100%);
  border: 2.2px solid #3B2214;
  padding: 4px;
  box-shadow: 0 4px 0 #CBB696, 0 6px 12px rgba(59, 34, 20, 0.24);
  will-change: transform, opacity, filter;
  pointer-events: none;
}
.clash-ghost .tile-bone-art {
  width: 100% !important;
  height: 100% !important;
}

/* 律动拍点环 ＋ 四阶连击数字徽章 */
.play-score {
  position: relative;
  z-index: 12;
  padding: 6px 6px 4px !important;
}
.combo-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
}
.beat-pulse-ring {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FAF6F0;
  border: 2px solid #3B2214;
  box-shadow: 0 2.5px 0 #3B2214;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 900;
  color: #C85238;
}
.beat-pulse-ring::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(255, 153, 0, 0.58);
  transform: scale(var(--beat-scale, 0.85));
  opacity: var(--beat-alpha, 0.35);
  pointer-events: none;
}
.beat-pulse-ring.sweet-window {
  background: #FFF3B8;
  color: #D9480F;
}
@keyframes beat-hit-burst {
  0% { transform: scale(1.32); background: #FFE066; box-shadow: 0 0 0 6px rgba(255, 208, 0, 0.45), 0 2px 0 #3B2214; }
  100% { transform: scale(1); }
}
.beat-pulse-ring.beat-hit {
  animation: beat-hit-burst 0.28s cubic-bezier(.2,.8,.3,1);
}
.bone-match-page .combo-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  transition: transform 0.14s ease, color 0.2s ease;
}
.bone-match-page .combo-value #comboNum {
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.85);
}
.lively-match.stage-flow-3 .combo-value #comboNum {
  color: #E8590C;
  text-shadow: 0 2px 0 #FFF3BF;
}
.lively-match.stage-flow-4 .combo-value #comboNum {
  color: #D90429;
  text-shadow: 0 2px 0 #FFE066, 0 0 10px rgba(255, 184, 0, 0.55);
}
.bone-match-page .combo-tier {
  font-weight: 800 !important;
  padding: 2px 7px !important;
  border-radius: 999px !important;
  border: 1.6px solid #3B2214 !important;
  background: #FFFDF8 !important;
  color: #463529 !important;
  box-shadow: 0 2px 0 #CBB696;
  transition: background 0.2s ease, transform 0.16s ease;
}
.bone-match-page .combo-tier.tier-s2 {
  background: #FFF0B3 !important;
  color: #7C4400 !important;
}
.bone-match-page .combo-tier.tier-s3 {
  background: linear-gradient(180deg, #FFD480, #FF9F1C) !important;
  color: #3B2214 !important;
}
.bone-match-page .combo-tier.tier-s4 {
  background: linear-gradient(90deg, #FF586E, #FFC629, #32CE8E) !important;
  color: #3B2214 !important;
}
.bone-match-page .ammo {
  position: relative;
  padding: 3px 10px;
  border-radius: 999px;
  background: #FFFDF8;
  border: 2px solid #3B2214;
  box-shadow: 0 2.5px 0 #3B2214;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.bone-match-page .ammo #ammoNum {
  font-size: 24px;
  line-height: 1;
  color: #D96B00;
  font-weight: 900;
}
.bone-match-page .ammo.orb-hit {
  background: #FFF3B0;
}

/* 60fps 丝滑胶囊连击能量槽 ＋ 蓄势锁拍态 ＋ 阶位刻度 */
.bone-match-page .combo-timer {
  position: relative;
  height: 9px !important;
  margin: 2px 4px 6px !important;
  background: #E2D5BF !important;
  border: 1.8px solid #3B2214 !important;
  border-radius: 999px !important;
  overflow: visible !important;
  box-shadow: inset 0 1.5px 2px rgba(59, 34, 20, 0.16);
}
.bone-match-page .combo-timer i {
  position: relative;
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #38C972, #8CE99A) !important;
  transition: none !important;
}
.bone-match-page .combo-timer i::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  width: 11px;
  height: 11px;
  transform: translateY(-50%) scale(var(--tip-scale, 1));
  border-radius: 50%;
  background: #FFFDF8;
  border: 2px solid #3B2214;
  box-shadow: 0 0 8px rgba(255, 208, 0, 0.8);
  opacity: var(--tip-opacity, 0);
}
.bone-match-page .combo-timer.active-bar i::after {
  --tip-opacity: 1;
}
.bone-match-page .combo-timer.warm i {
  background: linear-gradient(90deg, #FF922B, #FFD43B) !important;
}
.bone-match-page .combo-timer.hot-stage i {
  background: linear-gradient(90deg, #FF4D6D, #FF9E00, #FFD60A) !important;
  box-shadow: 0 0 9px rgba(255, 136, 0, 0.5);
}
.bone-match-page .combo-timer.fever i {
  background: linear-gradient(90deg, #FF2A38, #FF9900, #FFD000, #20C93B, #1294FF) !important;
  box-shadow: 0 0 12px rgba(255, 168, 0, 0.78);
}
.bone-match-page .combo-timer.holding i {
  filter: brightness(1.16);
  box-shadow: 0 0 0 2.5px rgba(255, 243, 176, 0.95), 0 0 10px rgba(255, 208, 0, 0.75) !important;
}
@keyframes combo-urgent-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.32); }
}
.bone-match-page .combo-timer.urgent i {
  animation: combo-urgent-pulse 0.22s ease-in-out infinite;
}
.combo-hold-tag {
  position: absolute;
  right: 8px;
  top: -16px;
  font-size: 9.5px;
  font-weight: 800;
  color: #8C510A;
  background: #FFF5CC;
  border: 1.4px solid #3B2214;
  border-radius: 999px;
  padding: 0 6px;
  line-height: 14px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}
.combo-timer.holding .combo-hold-tag {
  opacity: 1;
  transform: translateY(0);
}

/* 茶盘与置顶槽在四阶 Combo 下的呼吸反馈与受击微震 */
@keyframes micro-punch-sm {
  0% { transform: translate(0, 0); }
  35% { transform: translate(0, 2.2px) scale(0.996); }
  75% { transform: translate(0, -1px) scale(1.002); }
  100% { transform: translate(0, 0); }
}
@keyframes micro-punch-lg {
  0% { transform: translate(0, 0); }
  28% { transform: translate(-2px, 3.2px) scale(0.993); }
  62% { transform: translate(2px, -1.6px) scale(1.004); }
  100% { transform: translate(0, 0); }
}
.punch-sm { animation: micro-punch-sm 0.16s cubic-bezier(.2,.8,.3,1); }
.punch-lg { animation: micro-punch-lg 0.21s cubic-bezier(.2,.8,.3,1); }

.lively-match.stage-flow-3 .ceramic-tea-tray.match-table {
  border-color: #C97A2B !important;
  box-shadow: inset 0 6px 16px rgba(217, 119, 6, 0.16), 0 5px 0 #5C3D28, 0 0 18px rgba(255, 176, 36, 0.25) !important;
}
@keyframes fever-tray-glow {
  0%, 100% { border-color: #E8590C; box-shadow: inset 0 6px 18px rgba(255, 168, 0, 0.22), 0 5px 0 #3B2214, 0 0 22px rgba(255, 184, 0, 0.44); }
  50% { border-color: #FFB800; box-shadow: inset 0 6px 20px rgba(255, 82, 82, 0.20), 0 5px 0 #3B2214, 0 0 28px rgba(255, 208, 0, 0.65); }
}
.lively-match.stage-flow-4 .ceramic-tea-tray.match-table {
  animation: fever-tray-glow 1.1s ease-in-out infinite;
}

/* 槽位单牌入格 Q 弹着陆、同色微光环与触碰预共鸣 */
@keyframes slot-land-bounce {
  0% { transform: scale(0.76); }
  48% { transform: scale(1.16, 0.88); }
  78% { transform: scale(0.96, 1.05); }
  100% { transform: scale(1); }
}
.ash-wood-slots .slot.filled.just-landed {
  animation: slot-land-bounce 0.22s cubic-bezier(.22,.88,.32,1);
}
.ash-wood-slots .slot.filled {
  box-shadow: inset 0 0 0 1.8px var(--slot-hue, transparent), 0 2.5px 0 #CBB696, 0 4px 0 #4A2F1D !important;
  transition: transform 0.12s ease, box-shadow 0.14s ease;
}
.ash-wood-slots .slot.filled.twin-resonating {
  transform: translateY(-4px) scale(1.11) !important;
  box-shadow: 0 0 0 3px var(--slot-hue, #FFD000), 0 6px 12px rgba(255, 176, 0, 0.42), 0 4px 0 #3B2214 !important;
}
.ash-wood-slots .slot.incoming-slot {
  border-color: var(--slot-hue, #C85238) !important;
  box-shadow: inset 0 0 0 2px var(--slot-hue, #C85238) !important;
}

/* 满5连击茶盘明牌欢快轻跃 */
@keyframes tile-wave-hop {
  0% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-6px) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}
.lively-match .bone-tile.wave-hop {
  animation: tile-wave-hop 0.26s cubic-bezier(.22,.85,.32,1);
}

/* 多层级浮动爽感横幅（连击阶位 / 踩拍共振 / 满堂彩） */
.combo-float-pop.beat-bonus {
  background: linear-gradient(180deg, #D0F4DE, #52B788);
  color: #1B4332;
  border-color: #1B4332;
  top: -28px;
  font-size: 11.5px;
}
.combo-float-pop.fever-milestone {
  background: linear-gradient(90deg, #FF4D6D, #FFD166, #06D6A0);
  color: #3B2214;
  font-size: 13.5px;
  padding: 3px 13px;
  top: -18px;
}


/* === v15.0 6×6 限时竞速传统三消（跟手滑动 ＋ 四大合成特效子 ＋ 实时时间折算元气弹） === */
.m3-hud-card {
  position: relative;
  z-index: 12;
  background: #FFFDF8;
  border: 2.2px solid #3B2214;
  border-radius: 16px;
  padding: 8px 11px 9px;
  margin: 2px 0 6px;
  box-shadow: 0 3.5px 0 #3B2214;
}
.m3-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.m3-timer-box {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 10px;
  background: #FFF3D6;
  border: 1.8px solid #3B2214;
  transition: background 0.2s ease, transform 0.15s ease;
}
.m3-timer-box .timer-icon {
  font-size: 14px;
}
.m3-timer-box b {
  font-size: 25px;
  line-height: 1.05;
  font-weight: 900;
  color: #3B2214;
  font-variant-numeric: tabular-nums;
}
.m3-timer-box small {
  font-size: 11px;
  font-weight: 700;
  color: #7C5836;
}
.m3-timer-box.time-warn {
  background: #FFE0E3;
  border-color: #D90429;
  animation: combo-urgent-pulse 0.36s ease-in-out infinite;
}
.m3-timer-box.time-warn b {
  color: #D90429;
}
.m3-timer-box.time-plus {
  background: #D8F5E0 !important;
  transform: scale(1.1);
}
.m3-ammo-preview {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}
.m3-ammo-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFF2A6, #FFC933);
  border: 1.8px solid #3B2214;
  box-shadow: 0 2px 0 #3B2214;
}
.m3-ammo-pill span:first-child {
  font-size: 10.5px;
  font-weight: 800;
  color: #5C3A16;
}
.m3-ammo-pill #ammoNum {
  font-size: 21px;
  line-height: 1;
  font-weight: 900;
  color: #3B2214;
  font-variant-numeric: tabular-nums;
}
.m3-ammo-pill small {
  font-size: 10.5px;
  font-weight: 800;
  color: #5C3A16;
}
.m3-grade-tag {
  font-size: 10px;
  font-weight: 800;
  color: #7A542E;
}
.m3-time-bar {
  height: 6px;
  margin-top: 6px;
  background: #E6D9C3;
  border: 1.5px solid #3B2214;
  border-radius: 999px;
  overflow: hidden;
}
.m3-time-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #20C93B, #FFD000, #FF7B00);
  transition: none;
}
.m3-time-bar.low i {
  background: linear-gradient(90deg, #FF2A38, #FF7B00);
}

/* 通关目标消除进度条 ＋ 连击节奏行 */
.m3-goal-row {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 2px 4px;
}
.m3-goal-left {
  flex: 1;
  min-width: 0;
}
.m3-goal-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  color: #4A3423;
  margin-bottom: 3px;
}
.m3-goal-head b {
  font-size: 14px;
  color: #C85238;
  font-weight: 900;
}
.m3-goal-track {
  height: 9px;
  background: #E5D8C1;
  border: 1.8px solid #3B2214;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(59, 34, 20, 0.15);
}
.m3-goal-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #32CE8E, #20C93B);
  border-radius: 999px;
  transition: width 0.18s cubic-bezier(.2,.8,.3,1);
}

.m3-combo-strip {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 2px 5px;
}
.m3-combo-strip .combo-value {
  font-size: 24px !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.m3-combo-strip .combo-value small {
  font-size: 11.5px !important;
}
.m3-combo-strip .combo-tier {
  font: 800 11px 'Microsoft YaHei', system-ui, sans-serif !important;
  padding: 2px 8px !important;
  margin-left: 2px;
  line-height: 1.35;
}
.m3-combo-strip .combo-timer {
  flex: 1;
  margin: 0 !important;
}

/* 6×6 传统三消糖瓷棋盘 */
.m3-board-wrap.ceramic-tea-tray {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px !important;
  margin: 2px 0 6px !important;
  min-height: 336px;
  max-height: 378px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.m3-grid-board {
  position: relative;
  width: min(100%, 336px);
  aspect-ratio: 1 / 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 5px;
  padding: 6px;
  background: rgba(226, 213, 190, 0.65);
  border: 2px solid #9C7C58;
  border-radius: 22px;
  box-shadow: inset 0 3px 8px rgba(74, 52, 32, 0.14);
  z-index: 5;
  touch-action: none;
}
.m3-cell-bg {
  border-radius: 12px;
  background: rgba(255, 252, 245, 0.42);
}
.m3-tile {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 13px !important;
  border: 2px solid #3B2214 !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF7 86%, #F2E7D3 100%) !important;
  padding: 4px !important;
  box-shadow: inset 0 1.8px 0 #FFFFFF, 0 3.5px 0 #CBB696, 0 5px 0 #3B2214 !important;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: transform 0.12s cubic-bezier(.2,.8,.3,1), box-shadow 0.12s ease, filter 0.12s ease;
  will-change: transform;
  overflow: visible;
}
.m3-tile:active {
  cursor: grabbing;
}
.m3-tile .tile-bone-art {
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
}
.m3-tile.selected {
  transform: translateY(-3px) scale(1.07) !important;
  border-color: #FF7B00 !important;
  box-shadow: 0 0 0 3px rgba(255, 168, 0, 0.55), 0 6px 0 #3B2214 !important;
  z-index: 12;
}
@keyframes m3-hint-wiggle {
  0%, 100% { transform: scale(1); box-shadow: inset 0 0 0 2px #20C93B, 0 3.5px 0 #A5D6A7, 0 5px 0 #167A28; }
  50% { transform: translateY(-3px) scale(1.06); box-shadow: 0 0 0 3.5px rgba(32, 201, 59, 0.48), 0 6px 0 #167A28; }
}
.m3-tile.m3-hint {
  animation: m3-hint-wiggle 0.72s ease-in-out infinite;
  z-index: 10;
}

/* 四大合成特效棋子视觉徽章（横斩竹剑 / 竖斩竹剑 / 九宫糖罐 / 七彩星莲） */
.m3-tile.sp-h, .m3-tile.sp-v {
  background: linear-gradient(180deg, #FFFDF0 0%, #FFE899 100%) !important;
  border-color: #3B2214 !important;
}
.m3-tile.sp-bomb {
  background: radial-gradient(circle at 50% 42%, #FFF8D6 0%, #FFB74D 78%, #F57C00 100%) !important;
}
@keyframes lotus-prism {
  0%, 100% { filter: hue-rotate(0deg) brightness(1.04); }
  50% { filter: hue-rotate(35deg) brightness(1.12); }
}
.m3-tile.sp-lotus {
  background: conic-gradient(from 0deg, #FF6B8B, #FFD166, #38E54D, #38B6FF, #B565FF, #FF6B8B) !important;
  padding: 5px !important;
  animation: lotus-prism 2.2s linear infinite;
}
.m3-lotus-core {
  width: 100%;
  height: 100%;
  border-radius: 9px;
  background: radial-gradient(circle, #FFFFFF 0%, #FFF3B0 62%, #FFD000 100%);
  border: 1.6px solid #3B2214;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: #3B2214;
  font-weight: 900;
  pointer-events: none;
}
.m3-sp-badge {
  position: absolute;
  right: -3px;
  bottom: -3px;
  min-width: 20px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #3B2214;
  color: #FFFDF5;
  border: 1.5px solid #FFFDF5;
  font-size: 10px;
  font-weight: 900;
  line-height: 15px;
  text-align: center;
  pointer-events: none;
  z-index: 4;
}
.m3-sp-badge.badge-h, .m3-sp-badge.badge-v {
  background: #0B7285;
  color: #FFFFFF;
}
.m3-sp-badge.badge-bomb {
  background: #E03131;
  color: #FFF9DB;
}
.m3-sp-badge.badge-lotus {
  background: #7950F2;
  color: #FFF9DB;
}
.m3-formula-box {
  background: #F6ECDA;
  border: 1.5px solid #D4BE98;
  border-radius: 12px;
  padding: 9px 12px;
  margin: 10px 0;
  font-size: 12px;
  line-height: 1.7;
  color: #543B25;
}
.m3-formula-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #D8C4A3;
  padding: 3px 0;
}
.m3-formula-row:last-child {
  border-bottom: 0;
  font-weight: 900;
  color: #C85238;
  font-size: 13.5px;
  padding-top: 5px;
}


/* === v15.1 限步传统三消步数胶囊与连势格样式 === */
.m3-moves-box {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 3px 11px;
  border-radius: 11px;
  background: #EEF6EC;
  border: 1.9px solid #3B2214;
  box-shadow: inset 0 1.5px 0 #FFFFFF;
  transition: background 0.2s ease, transform 0.18s cubic-bezier(.2,.9,.3,1);
}
.m3-moves-box .moves-icon {
  font-size: 14px;
}
.m3-moves-box b {
  font-size: 26px;
  line-height: 1.05;
  font-weight: 900;
  color: #1B4332;
  font-variant-numeric: tabular-nums;
}
.m3-moves-box small {
  font-size: 11.5px;
  font-weight: 800;
  color: #40634E;
}
.m3-moves-box.moves-low {
  background: #FFE0E3;
  border-color: #D90429;
  animation: combo-urgent-pulse 0.45s ease-in-out infinite;
}
.m3-moves-box.moves-low b, .m3-moves-box.moves-low small {
  color: #D90429;
}
.m3-moves-box.moves-plus {
  background: #FFE899 !important;
  transform: scale(1.14);
}
.m3-streak-dots {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #EFE4CE;
  border: 1.6px solid #3B2214;
}
.m3-streak-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #D3C1A5;
  border: 1.4px solid #3B2214;
  transition: transform 0.16s ease, background 0.16s ease;
}
.m3-streak-dots i.lit {
  background: linear-gradient(180deg, #FFF066, #FF9900);
  transform: scale(1.18);
  box-shadow: 0 0 6px rgba(255, 168, 0, 0.7);
}
.m3-streak-dots small {
  font-size: 10px;
  font-weight: 800;
  color: #5C4026;
  margin-left: 2px;
}


/* === v15.2 极简合成速查条 ＆ 2×2 田字「寻踪飞星」特效子样式 === */
.m3-craft-legend {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 4px 8px;
  margin: 0 2px 5px;
  background: rgba(255, 251, 242, 0.86);
  border: 1.5px solid #D4BE98;
  border-radius: 10px;
  font-size: 10.5px;
  color: #5C4228;
  white-space: nowrap;
}
.m3-craft-legend span {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 700;
}
.m3-craft-legend b {
  color: #C85238;
  font-weight: 900;
}
.m3-tile.sp-dart {
  background: radial-gradient(circle at 50% 42%, #E6FCF5 0%, #63E6BE 75%, #12B886 100%) !important;
  border-color: #3B2214 !important;
}
.m3-sp-badge.badge-dart {
  background: #0CA678;
  color: #FFFFFF;
}


/* v15.2 presentation layer. Gameplay stays in the supplied prototype script. */
:root.wood152{--wood-ink:#4d3019;--wood-deep:#362419;--wood-sage:#677e4b;--wood-copper:#a7542c;--wood-paper:#fcf0d5;--wood-line:#c7a572}
html.wood152,html.wood152 body{margin:0;width:100%;height:100%;min-height:100%;overflow:hidden;color:var(--wood-ink);font-family:"Microsoft YaHei","PingFang SC",sans-serif;background:#c7bc86 url("../assets/cloth.webp") center/cover no-repeat}
.wood152 .workspace{width:min(100vw,530px);height:100dvh;min-height:0;margin:auto;display:block;padding:0}
.wood152 .workspace>.guide,.wood152 .workspace>.notes,.wood152 .statusbar{display:none!important}
.wood152 .phone{border:0!important;border-radius:0!important;width:100%!important;height:100%!important;box-shadow:none!important;max-height:none!important;background:transparent;display:flex;overflow:hidden}
.wood152 .screen{min-height:0;background:transparent!important;scrollbar-width:none;overscroll-behavior:contain}
.wood152[data-wood-view=match] .topbar,.wood152[data-wood-view=machine] .topbar,
.wood152[data-wood-view=match] .bottomnav,.wood152[data-wood-view=machine] .bottomnav{display:none!important}
.wood152 .match-page,.wood152 .machine-page{position:relative;width:100%;height:100%;min-height:0;padding:24px 19px 19px!important;overflow:hidden!important;
display:flex;flex-direction:column;box-sizing:border-box;background:transparent!important;
color:var(--wood-ink);gap:0!important;isolation:isolate}
.wood152 .game-top{position:relative;min-height:50px!important;display:flex;align-items:center;gap:9px!important;margin:13px 0 17px!important;text-align:left}
.wood152 .game-top .back{width:34px!important;min-width:34px!important;height:34px!important;border-radius:50%!important;display:grid;place-items:center;line-height:.75;font-size:28px!important;font-weight:800;color:#654424!important;padding:0 0 3px;background:linear-gradient(#fff4d9,#e2bb83)!important;border:1px solid #b89564!important;box-shadow:0 3px 5px #7c54295c!important;flex-shrink:0}
.wood152 .game-top b{color:var(--wood-deep)!important;font-weight:900;font-size:19px!important;letter-spacing:.12px}
.wood152 .game-top .inline-rhythm{background:transparent!important;border:0!important;color:#765936!important;display:block;min-height:0!important;margin:3px 0 0!important;padding:0!important;font-size:11px!important;box-shadow:none!important}
.wood152 .beat-dots{display:none!important}
.wood152 .wood-avatar{display:inline-block;width:50px;height:50px;flex:none;object-fit:contain;filter:drop-shadow(2px 4px 4px #6f492f51);pointer-events:none}
.wood152 .game-top>div:not(.sound-switch){flex:1;min-width:0}
.wood152 .game-top small{display:block!important;margin-top:4px;font-size:11px!important;color:#735b39!important}
.wood152 .sound-switch{border:1px solid #bda175!important;background:#f8e8c2!important;color:#674629!important;font-size:11px!important;box-shadow:none!important}
.wood152.capture .game-top .sound-switch{display:none!important}
.wood152 .m3-hud-card{position:relative;padding:13px 14px 11px!important;margin:0 0 11px!important;border-radius:20px!important;color:var(--wood-ink)!important;background:linear-gradient(155deg,#fff6dbc9,#ead0a0df)!important;border:1px solid #d7b582!important;box-shadow:inset 0 1px 1px #fff7dc,0 5px 10px #7a542b30!important}
.wood152 .m3-hud-top{display:flex!important;align-items:center!important;justify-content:space-between;gap:8px!important}
.wood152 .m3-moves-box,.wood152 .m3-ammo-preview{border-radius:13px!important;background:none!important;box-shadow:none!important;min-width:0}
.wood152 .m3-moves-box{position:relative;padding:2px 8px 0!important;text-align:left!important;border:0!important;display:flex!important;align-items:baseline!important;column-gap:7px;flex-wrap:wrap;min-width:108px}
.wood152 .m3-moves-box .moves-icon{display:none!important}
.wood152 #m3MovesNum{color:#4f632e!important;font-size:42px!important;font-weight:900;line-height:1}
.wood152 .moves-low #m3MovesNum{color:#9a472c!important}
.wood152 .m3-moves-box small{white-space:nowrap;font-size:11px!important;color:#604b33!important;font-weight:800}
.wood152 .m3-ammo-preview{position:relative;text-align:right;display:flex!important;flex-direction:column;justify-content:center;align-items:flex-end;gap:3px}
.wood152 .m3-ammo-pill{position:relative;border-radius:12px!important;background:#fff6df!important;box-shadow:inset 0 1px 0 #fff8da!important;border:1px solid #cfb789!important;color:#684922!important;padding:5px 9px 5px 30px!important;display:flex!important;align-items:baseline;gap:5px}
.wood152 .m3-ammo-pill:before{content:"";position:absolute;left:6px;top:4px;width:21px;height:27px;background:url("../assets/jar.webp") center/contain no-repeat}
.wood152 .m3-ammo-pill span,.wood152 .m3-ammo-pill small{font-size:9px!important;color:#745b37!important;white-space:nowrap}
.wood152 #ammoNum{font-size:27px!important;color:#644020!important;font-weight:900;line-height:1}
.wood152 .m3-grade-tag{font-size:9px!important;max-width:142px;font-weight:800;white-space:nowrap;color:#6c4a28!important;overflow:hidden;text-overflow:ellipsis}
.wood152 .m3-time-bar{height:7px!important;min-height:7px;border-radius:10px!important;margin-top:11px!important;background:#d3ba8f!important;border:0!important;overflow:hidden}
.wood152 .m3-time-bar i{height:100%;display:block;border-radius:inherit;background:linear-gradient(#aab477,#737e42)!important;box-shadow:inset 0 1px 0 #d5db9c}
.wood152 .m3-time-bar.low i{background:linear-gradient(#eca662,#a75535)!important}
.wood152 .match-page #matchStatus{background:transparent!important;border:0!important;padding:0 1px!important;margin:0 0 10px!important}
.wood152 .m3-goal-row,.wood152 .m3-goal-left{padding:0!important;margin:0!important;background:transparent!important}
.wood152 .m3-goal-head{display:flex!important;justify-content:space-between;align-items:center;gap:6px!important;font-size:11px!important;color:#674723!important}
.wood152 .m3-goal-head b{color:#714325!important;font-weight:900}
.wood152 .match-quick-links{display:flex;align-items:center;gap:4px;font-size:9px!important;white-space:nowrap}
.wood152 .match-quick-links button{color:#674723!important;padding:2px}
.wood152 .m3-goal-track{margin-top:6px!important;height:8px!important;min-height:8px;background:#edddad!important;border:1px solid #fff0cc;border-radius:8px!important;overflow:hidden}
.wood152 .m3-goal-track i{height:100%;background:linear-gradient(#c89757,#9b5f2c)!important;border-radius:inherit}
.wood152 .m3-craft-legend{position:relative;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;background:transparent!important;border:none!important;box-shadow:none!important;padding:0!important;margin:0 0 13px!important}
.wood152 .m3-craft-legend>span{display:flex;justify-content:center;align-items:center;min-width:0;white-space:nowrap;border-radius:8px!important;padding:6px 2px!important;background:#f6e4bda9!important;color:#77562e!important;border:1px solid #bf9e6d6b!important;font-size:9px!important;letter-spacing:-.2px}
.wood152 .m3-craft-legend b{color:#79512b!important}
.wood152 .m3-board-wrap.ceramic-tea-tray{position:relative;box-sizing:border-box!important;width:100%!important;min-height:0!important;aspect-ratio:1/1!important;align-self:center!important;display:grid!important;place-items:center;overflow:visible!important;padding:0!important;margin:10px auto 15px!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;isolation:isolate}
.wood152 .m3-board-wrap.ceramic-tea-tray::before{content:"";position:absolute;z-index:-1;inset:-22px -15px -23px;
background:url("../assets/plate.webp") center/100% 100% no-repeat;opacity:1!important;pointer-events:none;filter:drop-shadow(3px 10px 9px #7451275e);border:0!important;border-radius:0!important}
.wood152 .m3-board-wrap.ceramic-tea-tray::after{content:none!important}
.wood152 .m3-grid-board{position:relative!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-rows:repeat(6,minmax(0,1fr))!important;gap:5px!important;width:91%!important;height:91%!important;max-width:none!important;min-height:0!important;aspect-ratio:auto!important;padding:6px!important;top:auto!important;left:auto!important;transform:none!important;margin:0 auto!important;border-radius:19px!important;border:1px solid #d6a46b91!important;
background:linear-gradient(152deg,#f9dfacb0,#bc855765)!important;box-shadow:inset 0 2px 4px #76502852,0 1px 0 #ffedbdad!important;touch-action:none}
.wood152 .m3-tile,.wood152 .m3-cell-bg{position:relative;display:grid!important;place-items:center;border:0!important;box-shadow:none!important;border-radius:12px!important;margin:0!important;padding:0!important;width:100%!important;height:100%!important;min-height:0!important;aspect-ratio:auto!important}
.wood152 .m3-tile{background:transparent url("../assets/ceramic-volume.webp") center/100% 100% no-repeat!important;overflow:visible!important;filter:drop-shadow(2px 3px 2px #80552d82)}
.wood152 .m3-tile:before,.wood152 .m3-tile:after,.wood152 .m3-tile .m3-lotus-core{content:none!important}
.wood152 .m3-tile .wood-symbol{width:77%;height:73%;object-fit:contain;transform:translate(-1px,-2px);pointer-events:none;filter:drop-shadow(1.5px 2.5px 1.1px #85532a69)}
.wood152 .m3-tile.selected{outline:2px solid #799248!important;outline-offset:1px;z-index:4;filter:drop-shadow(3px 5px 2px #754c286f) brightness(1.09)}
.wood152 .m3-tile.m3-hint{outline:2px solid #b1743d;outline-offset:1px}
.wood152 .m3-cell-bg{background:#b17f4936!important}
.wood152 .m3-tile.sp-lotus .wood-power{opacity:1}
.wood152 .wood-power{height:83%;width:79%;position:absolute;z-index:3;top:5%;left:10%;object-fit:contain;pointer-events:none;filter:drop-shadow(2px 3px 1.5px #84532689)}
.wood152 .wood-power[data-power=v]{transform:rotate(-90deg)}
.wood152 .m3-tile:has(.wood-power) .wood-symbol{position:absolute;width:25%;height:24%;left:7%;bottom:10%;transform:none;z-index:4;opacity:1}
.wood152 .m3-tile:has(.wood-power) .m3-lotus-core{display:none!important}
.wood152 .m3-tile .wood-special-mark{position:absolute;bottom:3px;right:4px;z-index:4;border-radius:4px;background:#47331cdb;color:#fff3cb;font-size:7px;padding:1px 2px;line-height:1.15;pointer-events:none}
.wood152 .match-bottom{position:relative;margin-top:8px!important;padding:0!important;background:none!important;border:0!important;order:initial!important}
.wood152 .pair-feedback{min-height:36px!important;line-height:1.53;font-size:11px!important;color:#674826!important;background:#fcf2d7c2!important;border:1px solid #c8a57074;border-radius:10px!important;margin:0 0 5px!important;padding:6px 7px!important;text-align:center}
.wood152 .match-bottom .action-row{margin:5px 0 0;gap:7px!important}
.wood152 .primary,.wood152 .secondary{background:linear-gradient(#fff0c8,#e6bb7f)!important;border:1px solid #b68c57!important;box-shadow:inset 0 1px 1px #fdf4d3,0 3px 0 #90683d!important;color:#553720!important;border-radius:10px;text-shadow:none!important;font-weight:900}
.wood152 .match-bottom .action-row button{min-height:32px!important;padding:5px 8px!important;font-size:11px!important}
.wood152 .m3-combo-pop,.wood152 .wood-label{background:linear-gradient(170deg,#fff0c0,#e9b973)!important;border:1px solid #b9904f!important;box-shadow:inset 0 1px 0 #fff4d3,0 3px 7px #62422063!important;
font-size:14px!important;font-weight:900;color:#784724!important;text-shadow:none!important;border-radius:22px!important;padding:5px 10px!important}
.wood152 .wood-label{position:absolute;top:-17px;left:50%;transform:translateX(-50%);z-index:20;pointer-events:none;white-space:nowrap}
.wood152 .wood-label.reward{color:#fff6ce!important;border-color:#a16c37!important;background:linear-gradient(#ce9052,#935629)!important}
.wood152 .match-fx-canvas,.wood152 .clash-layer{pointer-events:none;z-index:12!important}
.wood152 .modal{background:#5b462a66!important;backdrop-filter:blur(5px)}
.wood152 .modal-card,.wood152 .modal-box,.wood152 .dialog,.wood152 .sheet{background:linear-gradient(160deg,#fff4db,#edd6a6)!important;border:1px solid #c5a06b!important;color:#4f331d!important;box-shadow:0 13px 26px #6b462b58!important}
.wood152 .m3-formula-box{background:#f2dfb68c!important;border-color:#c5a06b!important}
.wood152 .m3-formula-row{color:#6d4c26!important;border-color:#c5a06b66!important}
.wood152 .reward-row .reward{background:#f9e8bf!important;color:#69421e!important;border-color:#c39a65!important}
.wood152 .machine-page .machine-stats{gap:6px!important;margin:0 0 9px!important}
.wood152 .machine-stat{padding:8px 6px!important;background:linear-gradient(#fff1d1,#edd5a7)!important;border:1px solid #c4a173!important;border-radius:11px!important;
color:#785438!important;box-shadow:0 2px 4px #78533247!important;font-size:10px!important}
.wood152 .machine-stat b{font-size:23px!important;color:#634322!important}
.wood152 .shieldbar{background:#d3b881!important}
.wood152 .shieldbar i{background:#88a56b!important}
.wood152 .candy-mechanism{background:#f2e0b89e!important;border:1px solid #c2a373!important;border-radius:11px!important;margin:0 0 9px!important;color:#624420!important;padding:7px 10px!important}
.wood152 .mech-left b,.wood152 .mech-left small,.wood152 .mech-left span{color:#634624!important}
.wood152 .mech-switch-btn{background:#e6c593!important;color:#5c431f!important;border:1px solid #b49362!important;font-size:10px!important}
.wood152 .machine-frame.celadon-arch-frame{margin:4px auto 10px!important;border:0!important;width:100%!important;border-radius:25px 25px 18px 18px!important;box-shadow:0 8px 16px #76522d59!important;background:#dfc28e!important;padding:11px!important;position:relative!important;overflow:visible!important;max-height:none!important}
.wood152 .machine-frame.celadon-arch-frame:before,.wood152 .machine-frame .arch-ribbon{display:none!important}
.wood152 .machine-frame.celadon-arch-frame:after{content:"";position:absolute;inset:-4px -4px -5px;z-index:3;pointer-events:none;border:0!important;background:url("../assets/machine-frame.webp") center/100% 100% no-repeat;border-radius:0!important;box-shadow:none!important}
.wood152 #machineCanvas{display:block;width:100%!important;height:auto!important;aspect-ratio:350/390;filter:saturate(.83) contrast(.95);border-radius:22px!important;box-shadow:none!important;border:0!important;position:relative!important;z-index:2}
.wood152 .machine-prompt{color:#624823!important;background:#f5e3bfb8!important;border:1px solid #c6ad79!important;font-size:11px!important;line-height:1.4!important;min-height:28px!important;margin:0 0 9px!important;padding:5px 8px!important}
.wood152 .clay-controls-row{padding:0!important;margin:0!important}
.wood152 .clay-fire-btn{min-height:58px!important;background:linear-gradient(#e4a367,#a75d34)!important;color:#fff4d3!important;border:1px solid #85562b!important;border-radius:17px!important;text-shadow:none!important}
.wood152 .clay-fire-btn.state-pause{background:linear-gradient(#fff2cd,#e9ca96)!important;color:#614322!important}
.wood152 .clay-fire-btn.state-gold{background:linear-gradient(#f8dc8e,#c48545)!important;color:#5e3b19!important}
.wood152 .clay-fire-btn b,.wood152 .clay-fire-btn small,.wood152 .clay-fire-btn .clay-icon{color:inherit!important}
.wood152 .clay-fire-btn.held{transform:translateY(2px);filter:brightness(.96)}
.wood152 .guide-bottom{display:none}
@media(max-height:780px){.wood152 .game-top{margin:3px 0 9px!important}.wood152 .match-page,.wood152 .machine-page{padding-top:10px!important}.wood152 .m3-board-wrap.ceramic-tea-tray{width:min(100%,calc(100dvh - 329px))!important}.wood152 .machine-frame.celadon-arch-frame{width:min(100%,calc(100dvh - 292px))!important}}


.wood152 .machine-frame.celadon-arch-frame{--machineInset:0px;background:transparent!important;padding:0!important;box-shadow:none!important;
filter:drop-shadow(2px 7px 6px #7b57334e)}
.wood152 .machine-frame.celadon-arch-frame:after{inset:0!important}
.wood152 #machineCanvas{mask-image:var(--cabinet-cutout,none);mask-position:center;mask-size:100% 100%;mask-repeat:no-repeat;mask-mode:alpha}
.wood152 .wood-gesture{position:absolute;z-index:21;display:block;pointer-events:none;width:24px;height:24px;left:0;top:0;border-radius:50%;
background:#fff4cad0;border:2px solid #a86a38;box-shadow:0 1px 4px #553c2a63;transform-origin:center}
.wood152 .wood-gesture:after{content:"";position:absolute;width:6px;height:6px;left:7px;top:7px;border-radius:50%;background:#bd7c41}
.wood152 .wood-label{top:-15px;max-width:92vw;}


.wood152 .machine-frame.celadon-arch-frame{flex:0 0 auto!important;height:auto!important;aspect-ratio:350/390}
.wood152 .combo-float-pop{border:1px solid #ac773c!important;background:linear-gradient(#ffebbd,#e5ad68)!important;color:#65401e!important;
box-shadow:inset 0 1px #fff6d6,0 4px 8px #73502c66!important;text-shadow:none!important;font-weight:900!important;font-size:14px!important;z-index:23!important}
.wood152 .combo-float-pop.hot,.wood152 .combo-float-pop.fever-milestone{background:linear-gradient(#c98c4d,#a3612b)!important;color:#fff2c8!important;border-color:#8f5629!important}
.wood152 .celadon-machine .game-top small{font-size:11px}


.wood152 .m3-grid-board{overflow:hidden!important}
.wood152 #modal .hero-art .creature-33{width:118px;height:118px;position:relative;background:url("../assets/cooker.webp") center/contain no-repeat;filter:drop-shadow(2px 5px 4px #80502e46)}
.wood152 #modal .hero-art .creature-33>svg{visibility:hidden!important}


/* Keep headers, numeric counters and power artwork in their natural proportions. */
.wood152 .match-page.lively-match{
 --tray-side:min(100%,max(246px,calc(100dvh - 340px)),440px);
 padding:clamp(16px,3.4dvh,40px) clamp(12px,4vw,22px) 14px!important;
 overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:none;
}
.wood152 .match-page .game-top{flex:none;min-height:49px!important;margin:8px 0 14px!important;gap:10px!important}
.wood152 .match-page .game-top>div{display:flex;flex-direction:column;justify-content:center}
.wood152 .match-page .game-top b{font-size:clamp(16px,4.25vw,21px)!important;letter-spacing:.025em}
.wood152 .match-page .game-top .inline-rhythm{font-size:11px!important;letter-spacing:.05em}
.wood152 .match-page .wood-avatar{object-fit:contain;width:46px;height:46px;filter:drop-shadow(1px 3px 2px #613f2260)}
.wood152 .m3-hud-card{
 flex:0 0 auto!important;overflow:hidden;padding:12px 15px 13px!important;
 margin-bottom:12px!important;border:1px solid #9e713d!important;border-radius:17px!important;
 background:linear-gradient(105deg,#69401df2,#855a2edb 56%,#53351df2),url("../assets/wood-grain.webp") center/cover!important;
 box-shadow:inset 0 1px 0 #d9b780,0 3px 0 #75532c,0 7px 14px #70471935!important;
}
.wood152 .m3-hud-top{display:grid!important;grid-template-columns:1fr 1.10fr;gap:11px!important;min-height:60px}
.wood152 .m3-moves-box{padding:0!important;display:grid!important;grid-template-columns:auto 1fr;align-items:center!important;gap:9px!important;min-width:0}
.wood152 .m3-moves-box small{font:700 clamp(10px,2.8vw,13px)/1.2 "Microsoft YaHei",sans-serif!important;white-space:normal!important;letter-spacing:.04em;color:#fce8c6!important}
.wood152 #m3MovesNum{font:800 clamp(39px,10vw,49px)/1 Georgia,serif!important;color:#fff4cf!important;text-shadow:0 2px 1px #35231280;font-variant-numeric:tabular-nums}
.wood152 .moves-low #m3MovesNum{color:#ffb586!important}
.wood152 .m3-ammo-preview{gap:4px!important;padding:1px 0 1px 10px!important;border-left:1px solid #ca9d666b!important;border-radius:0!important}
.wood152 .m3-ammo-pill{background:linear-gradient(170deg,#ffedc6,#eec889)!important;box-shadow:inset 0 1px 0 #fff7dd,0 2px 4px #33201053!important;
border:1px solid #d0aa70!important;min-height:31px;align-items:center!important;padding:3px 6px 3px 34px!important;gap:4px!important}
.wood152 .m3-ammo-pill:before{width:26px;height:28px;top:50%;transform:translateY(-50%);left:4px}
.wood152 #ammoNum{font:800 clamp(22px,6.1vw,29px)/1.05 Georgia,serif!important;color:#65401c!important}
.wood152 .m3-grade-tag{color:#f5d79c!important;font-weight:600!important;font-size:10px!important;max-width:100%}
.wood152 .m3-time-bar{height:7px!important;margin-top:8px!important;background:#4e331d!important;box-shadow:0 1px 0 #ba8a54,inset 0 1px 3px #39250f}
.wood152 .m3-time-bar i{background:linear-gradient(#cfde99,#839e57)!important}
.wood152 .match-page #matchStatus{margin:0 1px 9px!important}
.wood152 .m3-goal-head{font-size:12px!important;line-height:1.3}
.wood152 .m3-goal-head b{font-variant-numeric:tabular-nums;font-size:15px;color:#65401c!important}
.wood152 .match-quick-links button{font-size:10px!important;color:#6b512e!important}
.wood152.capture .match-quick-links{visibility:hidden!important}
.wood152 .m3-goal-track{height:6px!important;margin-top:5px!important}
.wood152 .m3-goal-track i{background:linear-gradient(90deg,#907839,#d79a46,#f0c46d)!important}
.wood152 .m3-craft-legend{gap:5px!important;margin:0 0 8px!important}
.wood152 .m3-craft-legend>span{display:grid!important;grid-template-columns:21px minmax(0,1fr);grid-template-rows:auto auto;gap:0 4px;
justify-content:start;align-content:center;padding:5px 4px!important;min-height:34px;box-sizing:border-box;
background:linear-gradient(140deg,#ffefd3db,#e7cd9edb)!important;border:1px solid #c7a778!important;
box-shadow:inset 0 1px #fff7d7,0 2px 0 #b28c584a;font-size:10px!important}
.wood152 .m3-craft-legend img{grid-row:1/3;align-self:center;width:21px;height:24px;object-fit:contain;filter:drop-shadow(1px 1px 1px #956b354f)}
.wood152 .m3-craft-legend b,.wood152 .m3-craft-legend i{font-style:normal;text-align:left;white-space:nowrap;min-width:0;line-height:1.22}
.wood152 .m3-craft-legend b{font-size:10px;color:#6d491f!important}
.wood152 .m3-craft-legend i{font-size:9px;color:#8b6a40}
.wood152 .m3-board-wrap.ceramic-tea-tray{flex:0 0 auto!important;width:var(--tray-side)!important;height:auto!important;aspect-ratio:1!important;padding:0!important;margin:17px auto 16px!important}
.wood152 .m3-board-wrap.ceramic-tea-tray::before{inset:-2px!important;background:transparent url("../assets/square-board.webp") center/100% 100% no-repeat!important;filter:drop-shadow(2px 7px 6px #72472761)!important}
.wood152 .m3-grid-board{width:92.3%!important;height:auto!important;aspect-ratio:1!important;box-sizing:border-box!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:4px!important;gap:5px!important;grid-template-rows:repeat(6,minmax(0,1fr))!important}
.wood152 .m3-tile{min-width:0!important;min-height:0!important}
.wood152 .match-bottom{flex:none!important;min-height:auto!important;margin-top:0!important}
.wood152 .pair-feedback{margin:0 1px 9px!important;min-height:30px!important;display:flex;align-items:center;justify-content:center;
 background:linear-gradient(90deg,#fff2cfb5,#fae8bfc9)!important;border-radius:12px!important;border:1px solid #c9ab7b78!important;line-height:1.45!important;font-size:11px!important;letter-spacing:.02em}
.wood152 .match-bottom .action-row{gap:8px!important}
.wood152 .match-bottom .action-row button{padding:7px 6px!important;min-height:35px!important;border-radius:11px!important;font-size:12px!important}
.wood152 .match-bottom .action-row button:last-child{background:linear-gradient(#f3e9c7,#c6d2a3)!important;border-color:#92a16a!important;box-shadow:inset 0 1px #fff7df,0 3px 0 #7d8856!important;color:#485630!important}
@media(max-width:360px){.wood152 .match-page .game-top b{font-size:15px!important}.wood152 .m3-moves-box small{font-size:9px!important}.wood152 .m3-craft-legend>span{gap:0 2px;grid-template-columns:17px minmax(0,1fr)}.wood152 .m3-craft-legend img{width:16px}}
@media(max-height:730px){.wood152 .match-page.lively-match{padding-top:7px!important;--tray-side:min(100%,max(222px,calc(100dvh - 303px)))}.wood152 .match-page .game-top{margin:2px 0 8px!important;min-height:38px!important}.wood152 .m3-hud-card{padding:7px 11px!important}.wood152 .m3-hud-top{min-height:46px}.wood152 .m3-board-wrap.ceramic-tea-tray{margin:12px auto 8px!important}.wood152 .m3-craft-legend>span{min-height:30px}}

.wood152.capture .match-page #rhythmLabel{display:none!important}
.wood152 .m3-board-wrap.ceramic-tea-tray{max-height:none!important;max-width:none!important}

/* The board retains the same geometry used by input and by all effect anchors. */
.wood152 .m3-board-wrap .amber-clear-tag{
  position:absolute;z-index:31;top:-5px;left:50%;transform:translate(-50%,-60%);
  padding:5px 14px 6px;max-width:96%;box-sizing:border-box;white-space:nowrap;
  border-radius:16px 12px 16px 12px;border:1px solid #bc8744;
  background:linear-gradient(162deg,#fff5ca 0%,#f4d39b 57%,#e9b877 100%);
  color:#65411c;font:900 clamp(12px,3.2vw,17px)/1.12 "Microsoft YaHei","PingFang SC",sans-serif;
  letter-spacing:.015em;box-shadow:inset 0 1px 0 #fff8df,0 2px 0 #a77742,0 5px 9px #754c2a55;
  pointer-events:none;
}
.wood152 .m3-board-wrap .amber-clear-tag.hot,.wood152 .m3-board-wrap .amber-clear-tag.bonus{
  background:linear-gradient(155deg,#d7a253,#af7531 43%,#8b5023);
  color:#fff2c6;border-color:#98642d;box-shadow:inset 0 1px #f7dc9b,0 2px #825322,0 6px 11px #63431d73;
}
.wood152 .amber-clear-tag b{color:#fff9dc;font-size:1.16em;margin-left:6px;}
.wood152 .m3-grid-board button.m3-tile.selected{
  outline:2px solid #b78334!important;outline-offset:1px;filter:drop-shadow(0 1px 3px #b7853c9c) brightness(1.075)!important;
}
.wood152 .m3-grid-board button.m3-tile.m3-hint{outline:2px dashed #b27d36!important;outline-offset:1px}
.wood152 .m3-grid-board .wood-special-mark{border:1px solid #b88947;background:linear-gradient(#f7e6b9,#e3bc80)!important;color:#63421c!important;font-weight:900;box-shadow:0 1px 2px #72412644}
@media(max-width:340px){.wood152 .m3-board-wrap .amber-clear-tag{font-size:12px;padding:4px 8px}}

.wood152 .m3-grid-board .m3-tile.wood-group-lit{box-shadow:inset 0 0 0 2px #ffe5a1,0 0 8px #f3af4d8c!important;filter:drop-shadow(1px 3px 2px #8f612f75) brightness(1.08)}

/* One uniform portrait viewport contains the peg field. Controls size from their content. */
.wood152 .oak-candy.machine-page{
  --oak-ink:#4c341f;--oak-muted:#785d3a;--oak-line:#bd965e;--oak-coral:#b25c38;
  box-sizing:border-box!important;padding:clamp(10px,2.3dvh,24px) clamp(13px,4.6vw,26px) max(12px,env(safe-area-inset-bottom))!important;
  align-items:stretch!important;gap:clamp(5px,.8dvh,9px)!important;overflow-y:auto!important
}
.wood152 .oak-candy>.game-top{order:0!important;flex:0 0 auto!important;min-height:42px!important;margin:0 0 2px!important;gap:9px!important}
.wood152 .oak-candy.update .game-top,.wood152 .oak-candy .game-top *{letter-spacing:normal!important}
.wood152 .oak-candy .game-top .wood-avatar{height:44px;width:44px}
.wood152 .oak-candy .game-top>div{align-self:center}
.wood152 .oak-candy .game-top b{font-family:"Microsoft YaHei",sans-serif!important;font-size:clamp(16px,4.1vw,20px)!important;line-height:1.25!important}
.wood152 .oak-candy .game-top small{font-size:11px!important;line-height:1.3!important}
.wood152 .oak-candy .game-top .back{box-shadow:inset 0 1px 0 #fff9da,0 3px 4px #73512f40!important}
.wood152 .oak-candy .machine-stats{order:1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;flex:none!important;margin:0!important;padding:0!important;background:none!important;border:0!important}
.wood152 .oak-candy .machine-stat{
  position:relative!important;box-sizing:border-box!important;min-width:0!important;min-height:65px!important;height:auto!important;display:block!important;text-align:left!important;
  padding:6px 9px 10px!important;font:700 11px/1.4 "Microsoft YaHei",sans-serif!important;letter-spacing:.2px!important;color:#7d603c!important;
  border-radius:12px!important;border:1px solid #c3a371!important;background:linear-gradient(155deg,#fff7dce8,#f5dfb7f5)!important;
  box-shadow:inset 0 1px 0 #fffdf2,0 3px 0 #ba98624d,0 4px 6px #72503014!important
}
.wood152 .oak-candy .machine-stat b{display:block!important;margin:1px 0 0!important;font:800 clamp(21px,5.3vw,27px)/1.08 Arial,"Microsoft YaHei",sans-serif!important;letter-spacing:0!important;color:#634328!important}
.wood152 .oak-candy .machine-stat:nth-child(2) b{color:#926428!important}
.wood152 .oak-candy .machine-stat:nth-child(3) b{color:#4e7764!important}
.wood152 .oak-candy .shieldbar{position:absolute!important;bottom:6px;left:9px;right:9px;width:auto!important;height:4px!important;margin:0!important;background:#d8c6a4!important;border:0!important;border-radius:4px!important;overflow:hidden}
.wood152 .oak-candy .shieldbar i{display:block!important;height:100%!important;background:linear-gradient(90deg,#679482,#b7c992)!important;transition:width .10s ease-out}
.wood152 .oak-candy .candy-mechanism{order:2!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;height:auto!important;min-height:28px!important;margin:0!important;padding:3px 2px!important;background:none!important;border:none!important;box-shadow:none!important}
.wood152 .oak-candy .mech-left{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;flex-wrap:nowrap!important}
.wood152 .oak-candy .mech-left span,.wood152 .oak-candy .mech-left b{display:inline!important;border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;line-height:1.3!important;color:#614627!important;white-space:nowrap}
.wood152 .oak-candy .mech-left span{font-size:11px!important;font-weight:500!important}
.wood152 .oak-candy .mech-left b{font-size:14px!important}
.wood152 .oak-candy .mech-switch-btn{font-size:10px!important;line-height:1.1!important;padding:5px 9px!important;border-radius:20px!important;background:#f8e8c6!important;box-shadow:inset 0 1px 0 #fff5da!important;border:1px solid #baa174!important}
.wood152 .oak-candy .machine-frame.celadon-arch-frame{
  order:3!important;display:block!important;flex:none!important;box-sizing:border-box!important;align-self:center!important;
  width:min(100%,calc((100dvh - 279px)*.8974))!important;min-width:0!important;
  height:auto!important;aspect-ratio:350/390!important;max-width:450px!important;padding:0!important;margin:1px auto 3px!important;
  filter:drop-shadow(2px 9px 8px #75502d4d)!important;overflow:visible!important
}
.wood152 .oak-candy #machineCanvas{
  display:block!important;box-sizing:border-box!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:350/390!important;
  filter:none!important;object-fit:contain!important;mask-size:100% 100%!important
}
.wood152 .oak-candy .oak-phase{position:absolute;z-index:4;top:10%;left:10%;display:flex;align-items:center;gap:5px;padding:4px 8px;border-radius:11px;background:#fff4d6e8;border:1px solid #c8a471;color:#735430;box-shadow:0 2px 4px #71512b36;pointer-events:none;font:700 10px/1 "Microsoft YaHei",sans-serif}
.wood152 .oak-candy .oak-phase i{width:5px;height:5px;border-radius:50%;background:#8b9e71;box-shadow:0 0 0 2px #b9c5a137}
.wood152 .oak-candy[data-fx-phase=warn] .oak-phase,.wood152 .oak-candy[data-fx-phase=block] .oak-phase{background:#fff0cd;color:#8f442c;border-color:#d69268}
.wood152 .oak-candy[data-fx-phase=warn] .oak-phase i,.wood152 .oak-candy[data-fx-phase=block] .oak-phase i{background:#cd6c48;box-shadow:0 0 calc(2px + 4px * var(--oak-beat,0)) 2px #f1b56f80}
.wood152 .oak-candy[data-fx-phase=weak] .oak-phase{background:#ffe8a9;border-color:#d9a250;color:#79531d}
.wood152 .oak-candy .machine-prompt{order:4!important;min-height:0!important;height:auto!important;margin:0!important;display:none!important}
.wood152 .oak-candy .burst-guide{order:5!important;height:auto!important;min-height:29px!important;display:flex!important;align-items:center!important;gap:8px!important;justify-content:center!important;margin:0!important;padding:3px 0!important;background:none!important;border:0!important;box-shadow:none!important;font:600 11px/1.4 "Microsoft YaHei",sans-serif!important;color:#6a5131!important}
.wood152 .oak-candy .burst-guide #burstText{font:inherit!important;color:inherit!important}
.wood152 .oak-candy .burst-guide .burst-dots{display:none!important}
.wood152 .oak-candy .burst-guide[data-show=yes] .burst-dots{display:grid!important;grid-template-columns:repeat(6,4px)!important;gap:2px!important}
.wood152 .oak-candy .burst-dots i{background:#d9c2a0!important;border:0!important;box-shadow:none!important;border-radius:50%!important;width:4px!important;height:4px!important}
.wood152 .oak-candy .burst-dots i.charged{background:#c68b3c!important;box-shadow:0 0 2px #e2a952!important}
.wood152 .oak-candy .clay-controls-row{order:6!important;display:block!important;margin:0!important;padding:0!important;flex:0 0 auto!important}
.wood152 .oak-candy #fireButton{
  display:flex!important;width:100%!important;min-height:56px!important;height:auto!important;margin:0!important;align-items:center!important;justify-content:center!important;gap:11px!important;
  padding:9px 13px!important;border-radius:18px!important;border:1px solid #a97348!important;color:#583920!important;
  background:linear-gradient(150deg,#f4bf87 0%,#e7a171 60%,#d88b59 100%)!important;
  box-shadow:inset 0 2px 0 #ffe1ac,0 4px 0 #a4734a,0 7px 8px #7655362e!important;
  transition:background .16s,box-shadow .12s,transform .10s!important;touch-action:none
}
.wood152 .oak-candy #fireButton:before,.wood152 .oak-candy #fireButton:after{display:none!important}
.wood152 .oak-candy #fireButton .clay-icon{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;flex:0 0 34px!important;padding:0!important;border-radius:50%!important;border:1px solid #a36a39!important;background:radial-gradient(at 34% 22%,#fff2c6,#edbc77 62%,#d89453)!important;box-shadow:inset 0 1px 0 #fff6d4,0 2px 3px #935e3955!important;font:900 19px/1 Arial,sans-serif!important;color:#7b522d!important}
.wood152 .oak-candy #fireButton .clay-icon:after{content:"✦"}
.wood152 .oak-candy #fireButton .clay-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;color:inherit!important}
.wood152 .oak-candy #fireButton b{display:block!important;font:850 18px/1.19 "Microsoft YaHei",sans-serif!important;color:inherit!important}
.wood152 .oak-candy #fireButton small{display:block!important;font:500 11px/1.24 "Microsoft YaHei",sans-serif!important;color:inherit!important;opacity:.87}
.wood152 .oak-candy #fireButton.held{transform:translateY(2px)!important;box-shadow:inset 0 1px 0 #fff2c8,0 2px 0 #966842!important}
.wood152 .oak-candy #fireButton[data-state=warn],.wood152 .oak-candy #fireButton[data-state=block]{background:linear-gradient(155deg,#fff5d5,#ead5ab)!important;border-color:#ba9670!important;color:#835738!important}
.wood152 .oak-candy #fireButton[data-state=weak]{background:linear-gradient(155deg,#ffedb0,#ecbc68)!important;color:#744a21!important;border-color:#b48745!important}
.wood152 .oak-candy #fireButton[data-state=warn] .clay-icon:after,.wood152 .oak-candy #fireButton[data-state=block] .clay-icon:after{content:"Ⅱ"}
.wood152 .oak-candy #fireButton[data-state=weak] .clay-icon:after{content:"✧"}
@media(max-height:710px){
  .wood152 .oak-candy.machine-page{gap:4px!important;padding-top:8px!important}
  .wood152 .oak-candy .machine-stat{min-height:54px!important}
  .wood152 .oak-candy .game-top,.wood152 .oak-candy .game-top .wood-avatar{min-height:32px!important;height:32px!important}
  .wood152 .oak-candy .machine-frame.celadon-arch-frame{width:min(100%,calc((100dvh - 232px)*.8974))!important}
  .wood152 .oak-candy #fireButton{min-height:48px!important;padding:6px!important}
}

.wood152 .oak-candy .machine-stat:nth-child(2){background:linear-gradient(150deg,#ffefd0ed,#efc48cf2)!important}
.wood152 .oak-candy .machine-stat:nth-child(3){background:linear-gradient(150deg,#eff2d8ef,#d2ddbbf2)!important}
.wood152 .oak-candy #fireButton{width:min(100%,268px)!important;min-height:69px!important;margin:0 auto!important;border-radius:34px!important;gap:13px!important;padding:7px 20px 8px 10px!important;border-width:2px!important}
.wood152 .oak-candy #fireButton .clay-icon{width:46px!important;height:46px!important;flex:0 0 46px!important;border-width:2px!important;font-size:25px!important;background:radial-gradient(at 30% 21%,#fff3bd 0,#edbb75 42%,#d39852 74%,#b47a3c 100%)!important;box-shadow:inset 0 2px 1px #fff5ce,0 3px 0 #b57b3d,0 5px 6px #86552a55!important}
.wood152 .oak-candy #fireButton[data-state=warn] .clay-icon,.wood152 .oak-candy #fireButton[data-state=block] .clay-icon{background:radial-gradient(at 32% 20%,#fffbe3,#ead9b4 62%,#c8b28c)!important}
.wood152 .oak-candy #fireButton[data-state=weak] .clay-icon{background:radial-gradient(at 32% 20%,#fffbd3,#ffc85e 63%,#d79638)!important}
@media(min-height:760px){
  .wood152 .oak-candy.machine-page{padding-top:clamp(27px,4.6dvh,46px)!important;gap:clamp(7px,1.1dvh,11px)!important}
  .wood152 .oak-candy .machine-frame.celadon-arch-frame{margin:8px auto 8px!important}
  .wood152 .oak-candy .clay-controls-row{padding-top:6px!important}
}
@media(max-height:710px){
  .wood152 .oak-candy #fireButton{min-height:48px!important;padding:4px 14px 4px 5px!important}
  .wood152 .oak-candy #fireButton .clay-icon{width:35px!important;height:35px!important;flex-basis:35px!important;font-size:20px!important}
}


/* This sheet is scoped to modals positively identified by their actual result controls. */
html.wood152 #modal[data-result-skin]{display:grid!important;place-items:center!important;
padding:max(13px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(13px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;
background:radial-gradient(ellipse at 50% 38%,#5a4b2138 0,#39270fa8 83%)!important;backdrop-filter:blur(5px) saturate(.84)!important}
html.wood152 #modal[data-result-skin][hidden]{display:none!important}
html.wood152 #modal .wr-panel{--wr-ink:#52371e;--wr-gold:#bd8844;--wr-type:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;--wr-entry:1;
position:relative!important;display:block!important;isolation:isolate;box-sizing:border-box!important;width:min(100%,356px)!important;
max-height:min(91dvh,780px)!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;
margin:0!important;padding:0 17px 16px!important;
border:2px solid #a87a44!important;border-radius:23px 23px 20px 20px!important;
background:radial-gradient(ellipse at 18% 24%,#fff9e9 0,#fff9e900 44%),linear-gradient(145deg,#fbebc9 4%,#f4dfb9 63%,#ecd1a4 100%)!important;
box-shadow:inset 0 0 0 2px #fff0ce,0 4px 0 #8d653d,0 14px 29px #34200e57,0 30px 60px #35210f26!important;
font-family:var(--wr-type)!important;color:var(--wr-ink)!important;text-align:center!important;
animation:none!important;transform:none!important}
.wood152 #modal .wr-panel>div:not(.wr-finish-fx),.wood152 #modal .wr-panel>p,.wood152 #modal .wr-panel>button{position:relative;z-index:2}
.wood152 .wr-crown{position:relative;isolation:isolate;display:grid;place-items:center;box-sizing:border-box;
min-height:65px;margin:0 -17px 14px;padding:12px 28px 13px;color:#fff4d5;
border-bottom:3px solid #c99858;
background:radial-gradient(circle at 11px 14px,#ffe4ad 0 1px,#7b5228 2px,transparent 3px),radial-gradient(circle at calc(100% - 11px) 14px,#ffe4ad 0 1px,#7b5228 2px,transparent 3px),linear-gradient(103deg,#744528,#985e32 48%,#84502b 79%,#70432a);
box-shadow:inset 0 1px 0 #e2b57b,inset 0 -1px 0 #9d6b38,0 2px 4px #936a343b}
.wood152 .wr-crown:before,.wood152 .wr-crown:after{content:"";position:absolute;pointer-events:none;left:8%;right:8%;height:1px;top:5px;background:linear-gradient(90deg,transparent,#ebc0808f 16%,#e8b67333 70%,transparent)}
.wood152 .wr-crown:after{top:auto;bottom:4px}
html.wood152 #modal .wr-panel h2{position:relative;display:block;margin:0!important;padding:0!important;width:auto!important;text-align:center!important;
font-family:var(--wr-type)!important;color:#fff2ce!important;line-height:1.22!important;font-size:clamp(20px,5.6vw,25px)!important;letter-spacing:.035em!important;
font-weight:900!important;text-wrap:balance;text-shadow:0 1px 0 #754d2b,0 2px 3px #55371f4d!important}
.wood152 .wr-subtitle{display:block;font-size:12px;letter-spacing:.1em;font-weight:650;color:#f8ddb0;margin-top:4px;line-height:1.15}
.wood152 .wr-catch .wr-crown{border-color:#c59d55;background:radial-gradient(circle at 11px 14px,#fee5ad 0 1px,#615528 2px,transparent 3px),radial-gradient(circle at calc(100% - 11px) 14px,#fee5ad 0 1px,#615528 2px,transparent 3px),linear-gradient(107deg,#53623d,#748254 50%,#556544)}
html.wood152 #modal .wr-panel .wr-stage{position:relative;isolation:isolate;display:grid;place-items:center;overflow:visible;height:clamp(119px,18dvh,158px);margin:0 auto 1px}
.wood152 .wr-stage:before{content:"";position:absolute;inset:-12px 0 -8px;pointer-events:none;background:radial-gradient(ellipse at 50% 65%,#ffefbb 4%,#ffc85b45 34%,#ffcb7000 67%)}
.wood152 .wr-stage:after{content:"";position:absolute;bottom:0;width:58%;height:16%;border-radius:50%;
background:radial-gradient(ellipse at 45% 35%,#f6daa7 0 51%,#ceaa70 55%,#f7dea8 62%,#bd965a 66%,transparent 69%);filter:drop-shadow(0 3px 2px #98714352)}
html.wood152 #modal .wr-stage .hero-art{position:relative;z-index:1;box-sizing:border-box;display:grid;place-items:center;width:100%;height:90%;max-height:144px;margin:0;transform:translateY(calc(-1 * var(--wr-jump,0px)))}
html.wood152 #modal .wr-stage .hero-art:before{content:none}
html.wood152 #modal .wr-stage .art,html.wood152 #modal .wr-stage .creature-33{display:block;width:auto;max-width:86%;height:100%;aspect-ratio:1/1;background-position:center;background-size:contain;background-repeat:no-repeat}
html.wood152 #modal .wr-stage svg{width:100%;height:100%;object-fit:contain}
.wood152 .wr-creature-name{display:block;margin:6px auto 3px;color:#613f21;font-size:17px;line-height:1.35;letter-spacing:.025em}
html.wood152 #modal .wr-panel .result-quote{margin:4px 2px 11px!important;color:#805a37!important;font-size:12px!important;line-height:1.5!important;text-align:center}
html.wood152 #modal .wr-panel .reward-row{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important;gap:9px!important;align-items:stretch;justify-content:stretch!important;margin:10px 0 12px!important}
html.wood152 #modal .wr-panel .wr-value{display:grid!important;align-content:center;justify-items:center;min-width:0!important;
min-height:64px;width:auto!important;max-width:none!important;padding:8px 4px!important;box-sizing:border-box;color:#6b431f!important;border:1px solid #c8a674!important;
border-radius:12px!important;background:linear-gradient(154deg,#fffaec,#f4deb4)!important;box-shadow:inset 0 1px 1px #fffaf0,0 2px 0 #c69c6766!important;
text-align:center!important;line-height:1!important}
html.wood152 #modal .wr-panel .wr-currency{grid-template-columns:minmax(25px,35%) minmax(0,1fr);grid-template-rows:auto auto;
align-content:center;align-items:center;justify-items:start;gap:2px 5px;padding:7px 7px!important}
.wood152 .wr-number{display:block;font-size:clamp(23px,6.5vw,30px)!important;line-height:1.05;font-weight:900;white-space:nowrap;font-variant-numeric:tabular-nums}
.wood152 .wr-currency .wr-number{font-size:clamp(30px,8.4vw,39px)!important;letter-spacing:-.045em}
.wood152 .wr-score .wr-value:not(.wr-currency) .wr-number{font-size:22px!important}
.wood152 .wr-reward-icon{grid-row:1/3;align-self:center;justify-self:center;width:clamp(28px,7.5vw,40px);height:40px;object-fit:contain;filter:drop-shadow(0 2px 1px #9c703f70)}
html.wood152 #modal .wr-panel .wr-value small{display:block;max-width:100%;font-size:11px!important;font-weight:700!important;color:#795937!important;line-height:1.35!important;margin:3px 0 0!important;overflow-wrap:anywhere}
html.wood152 #modal .wr-panel .wr-currency small{grid-column:2;text-align:left}
html.wood152 #modal .wr-score .m3-formula-box{margin:0 0 10px!important;padding:4px 11px!important;border:1px solid #c9ac7c!important;border-radius:12px!important;
background:linear-gradient(145deg,#fffaee,#f5e6c9)!important;box-shadow:inset 0 1px 3px #b1884b15;font-size:12px!important;text-align:left}
html.wood152 #modal .wr-score .m3-formula-row{display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;align-items:center;
gap:8px!important;padding:6px 0!important;line-height:1.42!important;color:#69492e!important;border:none!important;border-top:1px dashed #d8bc8f9e!important}
html.wood152 #modal .wr-score .m3-formula-row:first-child{border:none!important}
.wood152 .wr-score .m3-formula-row span{min-width:0;overflow-wrap:anywhere}
.wood152 .wr-score .m3-formula-row b{font-size:13px!important;color:#805124!important;white-space:nowrap;font-variant-numeric:tabular-nums}
html.wood152 #modal .wr-score .wr-formula-total{color:#4a582d!important;border-top:1px solid #baa373!important;font-weight:800}
.wood152 .wr-score .wr-formula-total b{color:#586636!important}
html.wood152 #modal .wr-panel p.subtle,html.wood152 #modal .wr-panel .bag-opportunity-note{color:#795e43!important;font-size:11px!important;line-height:1.5!important;margin:9px 4px!important;text-align:center}
html.wood152 #modal .wr-panel .action-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;align-items:stretch;margin:10px 0 0!important}
html.wood152 #modal .wr-panel .primary,html.wood152 #modal .wr-panel .secondary{box-sizing:border-box!important;position:relative;
min-height:43px!important;max-width:100%;padding:8px 9px!important;line-height:1.35!important;font-family:var(--wr-type)!important;font-size:13px!important;font-weight:800!important;
letter-spacing:.02em!important;text-shadow:none!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere;display:block!important;
border-radius:12px!important;border:1px solid #af824f!important;color:#654323!important;background:linear-gradient(165deg,#fff2cf,#edd3a1)!important;
box-shadow:inset 0 1px 0 #fff9e5,0 3px 0 #ae8356,0 5px 9px #a679492b!important}
html.wood152 #modal .wr-panel .primary{background:linear-gradient(170deg,#c38a4d,#965a2f)!important;color:#fff8dd!important;
border-color:#8b572f!important;box-shadow:inset 0 1px 0 #e7bd83,0 3px 0 #774824,0 4px 8px #78502e3f!important}
html.wood152 #modal .wr-panel .primary small{color:#ffebc6!important;text-shadow:none}
html.wood152 #modal .wr-panel .action-row>button{width:100%!important;height:auto!important;min-width:0!important;margin:0!important;}
html.wood152 #modal .wr-panel button:focus-visible{outline:2px solid #a97336!important;outline-offset:2px!important}
html.wood152 #modal .wr-panel button:active{transform:translateY(2px)!important}
html.wood152 #modal .wr-panel .wr-finish-fx{position:absolute!important;display:block;width:100%!important;height:100%!important;inset:0;z-index:3;pointer-events:none}
.wood152 .wr-panel .bag-result-content{display:block!important}
.wood152 .wr-panel .result-fortune{margin:8px 0}
html.wood152 #modal .wr-rescue p{color:#795735;font-size:13px;line-height:1.6}
@media(max-height:700px){
html.wood152 #modal .wr-panel{padding:0 13px 12px!important;max-height:94dvh!important}
.wood152 .wr-crown{margin:0 -13px 8px;min-height:48px;padding:8px 23px}
html.wood152 #modal .wr-panel .wr-stage{height:104px}
.wood152 .wr-creature-name{margin:3px auto 0}
html.wood152 #modal .wr-panel .reward-row{margin:6px 0 8px!important}
html.wood152 #modal .wr-panel .wr-value{min-height:54px}
html.wood152 #modal .wr-score .m3-formula-row{padding:4px 0!important}
html.wood152 #modal .wr-panel .primary,html.wood152 #modal .wr-panel .secondary{min-height:39px!important;padding:6px 7px!important}}
@media(max-width:340px){
html.wood152 #modal .wr-panel{padding-left:11px!important;padding-right:11px!important}
.wood152 .wr-crown{margin-left:-11px;margin-right:-11px}
html.wood152 #modal .wr-panel .wr-value small,html.wood152 #modal .wr-score .m3-formula-box{font-size:10px!important}
html.wood152 #modal .wr-panel .primary,html.wood152 #modal .wr-panel .secondary{font-size:12px!important}}

html.wood152 #modal[data-result-skin]{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important}
html.wood152 #modal .wr-panel .wr-crown h2{transform:translateY(calc((1 - var(--wr-entry,1))*3px))}
html.wood152 #modal .wr-stage:after{width:min(54%,161px)}


/* Non-combat screens. The route attribute is removed on entering either game stage. */
.wood152[data-wood-extras] #screen{
  color:#55412d;background:linear-gradient(#fff4d7d9,#f0d6acd9),url("../assets/cloth.webp") 50% 55%/cover!important;
}
.wood152[data-wood-extras] .topbar,.wood152[data-wood-extras] .bottomnav{
  background:linear-gradient(160deg,#86613c,#5c402c)!important;border-color:#aa8258!important;
}
.wood152[data-wood-extras] .bottomnav button.active{
  color:#4f351e!important;background:linear-gradient(#fff1c7,#e9c38e)!important;
  box-shadow:inset 0 1px #fff6db,0 2px 1px #442d20!important;
}
.wood152[data-wood-extras] #screen :is(.patrol-card,.spirit-card,.outfit-card,.wardrobe-banner,.ranking-row,.friend-card,.gift-insights,.shop,.wardrobe-hero,.wardrobe-portrait){
  border-color:#cab18c!important;box-shadow:inset 0 1px 0 #fff9ea90,0 2px 4px #77573122!important;
}
.wood152[data-wood-extras] #screen :is(.spirit-card,.outfit-card,.avatar-option,.rank-tabs button,.rank-scope button,.neighbor-filter button,.mini-btn),
.wood152[data-wood-extras] .bottomnav button{
  transition:filter .14s ease,box-shadow .16s ease,background-color .16s ease;
}
.wood152[data-wood-extras] #screen :is(button.selected,button[aria-pressed=true],.rank-tabs button.active,.rank-scope button.active){
  background:linear-gradient(155deg,#fff0c7,#edd2a5)!important;
  color:#5c401f!important;border-color:#b0854e!important;
  box-shadow:inset 0 1px 1px #fff8db,0 2px 3px #8d663c36!important;
}
.wood152[data-wood-extras] #screen :is(.claw-cabinet,.shop-main,.note-paper){border-color:#ad895f!important}
.wood152[data-wood-extras="claw"] .claw-glass{
  background:radial-gradient(ellipse at 22% 4%,#fff2bf80,transparent 46%),linear-gradient(155deg,#c3dbc8,#a9c5bc 55%,#d8c7a0)!important;
  box-shadow:inset 0 3px 10px #697a6540!important;
}
.wood152[data-wood-extras="claw"] .claw-floor{background:linear-gradient(#e5c08d,#c29b69)!important}
.wood152[data-wood-extras="claw"] .claw-sign{color:#5b3c23!important;background:linear-gradient(#fbe8b9,#d2ab76)!important}
.wood152[data-wood-extras] #modal>.xe-dialog:not(.wr-panel){
  color:#523a21!important;border:1px solid #bc986c!important;border-radius:18px!important;
  background:linear-gradient(154deg,#fff5df,#f3e2c4 72%,#e8cfa5)!important;
  box-shadow:inset 0 1px #fff9e9,0 12px 32px #573c3059!important;
}
.wood152[data-wood-extras] #modal>.xe-receipt:not(.wr-panel) .reward-row .reward{
  background:linear-gradient(150deg,#fff0c8,#edd0a0)!important;border:1px solid #b68d53!important;color:#74502a!important;
}
.wood152[data-wood-extras] #toast{background:linear-gradient(#805f3d,#64482e)!important;color:#fff1ce!important;box-shadow:0 3px 8px #61472950}
.xe-fx{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:1200}
.xe-fx>i{position:absolute;pointer-events:none;display:block;background:currentColor;}
.xe-fx>.xe-foil{width:6px;height:3px;border-radius:1px;box-shadow:inset 0 1px #fff7ceaa}
.xe-fx>.xe-tip{width:9px;height:11px;clip-path:polygon(50% 0,62% 38%,100% 50%,63% 60%,50% 100%,39% 62%,0 50%,38% 39%)}
@media(prefers-reduced-motion:reduce){
  .wood152[data-wood-extras] #screen :is(.art,.home-bubble,.home-creature,.claw-toy,.claw-arm,.stamp),.wood152[data-wood-extras] .bottomnav button{animation-duration:.001ms!important;transition-duration:.001ms!important}
  .wood152[data-wood-extras] .xe-fx{display:none}
}


/* A glazed board on a sunlit table. The only global controls are part of the game. */
html.wood152 .match-page.oak-table{
  --tray-side:min(100%,max(216px,calc(100dvh - 287px)),463px);
  padding:clamp(26px,5.2dvh,52px) clamp(11px,3.8vw,23px) clamp(22px,4.5dvh,48px)!important;
  gap:0!important;justify-content:space-between;color:#493319;
}
.wood152 .oak-table>.game-top{order:0;flex:0 0 auto;gap:clamp(5px,1.8vw,10px)!important;min-height:53px!important;margin:0 1.3% 0!important}
.wood152 .oak-table .wood-avatar{order:0!important;width:clamp(43px,13vw,62px)!important;height:clamp(43px,13vw,62px)!important;filter:drop-shadow(2px 5px 3px #6d4b3270)!important}
.wood152 .oak-table .game-top>div:has(.oak-patrol){order:1;box-sizing:border-box;border-left:1px solid #ad8255;flex:1 1 auto!important;padding-left:clamp(6px,2vw,12px);gap:4px}
.wood152 .oak-table .game-top b{font:900 clamp(14px,4.45vw,22px)/1.08 "Microsoft YaHei",sans-serif!important;letter-spacing:.035em!important;color:#493117!important;text-shadow:0 1px 1px #fff3c780;white-space:nowrap}
.wood152 .oak-table .game-top .oak-patrol{margin:0!important;color:#684b2c!important;font-weight:800;line-height:1;font-size:clamp(11px,3.2vw,15px)!important;white-space:nowrap}
.wood152 .oak-table .game-top #rhythmTrack{display:none!important}
.wood152 .oak-table .game-top .m3-ammo-preview{order:2;flex:0 0 auto!important;width:auto;padding:0!important;border:0!important;display:block!important}
.wood152 .oak-table .m3-ammo-pill{display:grid!important;grid-template-columns:auto;align-content:center;justify-items:start;gap:0!important;min-height:39px;padding:1px 3px 1px clamp(24px,7vw,38px)!important;background:transparent!important;box-shadow:none!important;border:0!important}
.wood152 .oak-table .m3-ammo-pill:before{width:clamp(23px,7.2vw,36px)!important;height:36px!important;left:-2px;filter:drop-shadow(1px 3px 2px #6f4b345c)}
.wood152 .oak-table .m3-ammo-pill span{position:static;grid-row:2;font-size:clamp(9px,2.55vw,12px)!important;font-weight:700;line-height:1.1;color:#694b2c!important}
.wood152 .oak-table .m3-ammo-pill #ammoNum{grid-row:1;font:800 clamp(20px,5.8vw,30px)/1.15 Georgia,serif!important;letter-spacing:.005em!important;color:#493117!important;transform-origin:left center}
.wood152 .oak-table .m3-ammo-pill small,.wood152 .oak-table .m3-grade-tag{display:none!important}
.wood152 .oak-table .game-top .back{
  order:4;flex:none;width:clamp(63px,16vw,84px)!important;height:44px!important;margin-left:3px;min-width:0!important;padding:0!important;
  font-size:0!important;border:0!important;box-shadow:none!important;border-radius:0!important;
  background:transparent url("../assets/reference-back-key.webp") center/contain no-repeat!important;
  filter:drop-shadow(2px 4px 2px #6945266c);
}
.wood152 .oak-table .game-top .sound-switch{order:3;font-size:0!important;border:0!important;width:26px;min-width:0;padding:0;min-height:35px;background:transparent!important}
.wood152 .oak-table .game-top .sound-switch:after{content:"♪";font:900 21px Georgia;color:#715234}
.wood152 .oak-table .game-top .sound-switch[aria-pressed=false]:after{color:#967b59}
.wood152 .oak-table>.pair-feedback{
  order:1;display:block!important;flex:none;min-height:1.35em!important;line-height:1.35!important;margin:0!important;padding:5px 0!important;
  background:transparent!important;box-shadow:none!important;border:0!important;font:900 clamp(18px,5.75vw,30px)/1.32 "Microsoft YaHei",sans-serif!important;
  letter-spacing:.075em!important;color:#4c3318!important;text-shadow:0 1px 1px #fff1bdcc;
}
.wood152 .oak-table>.m3-board-wrap.ceramic-tea-tray{order:2;align-self:center;margin:0 auto!important}
.wood152 .oak-table>.m3-board-wrap.ceramic-tea-tray:before{filter:drop-shadow(2px 4px 2px #69472861) drop-shadow(4px 10px 7px #6747234a)!important}
.wood152 .oak-table>.m3-craft-legend{display:none!important}
.wood152 .oak-table .oak-progress{
  order:4!important;display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px clamp(12px,4.2vw,22px);
  align-items:center;flex:none;margin:0 2.5%;
}
.wood152 .oak-table .m3-hud-card,.wood152 .oak-table .m3-hud-top,.wood152 .oak-table #matchStatus{
  padding:0!important;margin:0!important;box-shadow:none!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;
}
.wood152 .oak-table .m3-hud-card:before,.wood152 .oak-table .m3-hud-card:after{content:none!important}
.wood152 .oak-table .m3-hud-top{display:block!important;min-height:0!important}
.wood152 .oak-table .m3-moves-box{display:flex!important;align-items:baseline!important;gap:5px!important;white-space:nowrap;flex-wrap:nowrap}
.wood152 .oak-table #m3MovesNum{font:800 clamp(26px,8.2vw,40px)/1.1 Georgia,serif!important;letter-spacing:-.025em;color:#4c351a!important;text-shadow:0 1px #fff2c4}
.wood152 .oak-table .moves-low #m3MovesNum{color:#a74f23!important}
.wood152 .oak-table .m3-moves-box small,.wood152 .oak-table .m3-goal-head small{font:800 clamp(11px,3.15vw,15px)/1.2 "Microsoft YaHei",sans-serif!important;color:#5b4324!important;white-space:nowrap!important}
.wood152 .oak-table .m3-time-bar{display:none!important}
.wood152 .oak-table .m3-goal-head{justify-content:space-between!important}
.wood152 .oak-table .m3-goal-head>span:first-child{display:flex;align-items:baseline;gap:5px}
.wood152 .oak-table .m3-goal-head b{font:800 clamp(15px,4.25vw,21px)/1.05 Georgia,serif!important;white-space:nowrap;color:#51391b!important}
.wood152 .oak-table .m3-goal-track{height:8px!important;min-height:8px!important;margin:5px 0 0!important;background:#f4e6c9!important;box-shadow:inset 0 1px 2px #78502952,0 1px #fff2c1;border:0!important}
.wood152 .oak-table .m3-goal-track i{background:linear-gradient(#9faf6e,#718942)!important;box-shadow:inset 0 1px #b7c783;border-radius:inherit}
.wood152 .oak-table .match-quick-links{gap:2px}
.wood152.capture .oak-table .match-quick-links{display:none!important}
.wood152 .oak-table .match-quick-links button{font-weight:700}
.wood152 .oak-table>.match-bottom{order:3!important;flex:none;margin:0 2%!important}
.wood152 .oak-table .action-row{display:grid!important;grid-template-columns:1fr 1fr;gap:clamp(14px,5.5vw,28px)!important;margin:0!important}
html.wood152 .oak-table .match-bottom .action-row .oak-maple-key{
  display:grid;place-content:center;isolation:isolate;position:relative;min-height:clamp(46px,6.4dvh,61px)!important;
  box-sizing:border-box;line-height:1;margin:0!important;padding:2px 11px 6px!important;border:0!important;
  background:transparent!important;box-shadow:none!important;border-radius:25px!important;text-shadow:0 1px #fff0c5;
  color:#523719!important;font:900 clamp(16px,4.6vw,22px)/1.1 "Microsoft YaHei",sans-serif!important;letter-spacing:.09em;
  filter:drop-shadow(2px 4px 2px #6b482b73);
}
.wood152 .oak-table .oak-maple-key:before{content:"";position:absolute;inset:0;box-sizing:border-box;border:solid transparent;border-width:11px 27px 14px;z-index:-1;border-image:url("../assets/reference-maple-key.webp") 19 41 24 fill / 11px 27px 14px stretch}
.wood152 .oak-table :is(.back,.oak-maple-key):active{transform:translateY(3px);filter:drop-shadow(0 1px 1px #67452369)!important}
.wood152 .oak-table button:focus-visible{outline:3px solid #53774d!important;outline-offset:3px}
@media(max-width:360px){.wood152 .oak-table .game-top{gap:4px!important}.wood152 .oak-table .game-top .sound-switch{width:22px}.wood152 .oak-table .oak-progress{margin:0 1%}.wood152 .oak-table .game-top .back{margin:0}}
@media(max-height:690px){html.wood152 .match-page.oak-table{padding-top:clamp(15px,3.2dvh,22px)!important;padding-bottom:14px!important;--tray-side:min(100%,max(200px,calc(100dvh - 245px)),400px)}.wood152 .oak-table>.game-top{min-height:44px!important}.wood152 .oak-table>.pair-feedback{padding:0!important}}


html.wood152 #modal .oak-field-guide{border:5px solid #d7b07c!important;border-radius:22px!important;background:linear-gradient(135deg,#fff4d9,#efdbb2)!important;box-shadow:inset 0 1px 2px #fff8e3,0 4px 0 #987143,3px 12px 15px #46331c63!important;color:#543b22!important}
.wood152 .oak-field-guide :is(h2,.oak-rule-summary){text-align:center;color:#50361b}
.wood152 .oak-field-guide .oak-rule-summary{font-size:15px;line-height:1.65;margin:0 0 14px}
.wood152 .oak-field-guide .oak-rule-pieces{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0;margin:0 0 12px;gap:6px}
.wood152 .oak-field-guide .oak-rule-pieces li{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:0 5px;list-style:none;padding:6px;background:#ddc49a57;border-radius:12px}
.wood152 .oak-field-guide .oak-rule-pieces img{grid-row:1/3;width:40px;height:40px;object-fit:contain;filter:drop-shadow(1px 2px 1px #795c3655)}
.wood152 .oak-field-guide .oak-rule-pieces small{color:#755b3a;font-size:11px;align-self:end}
.wood152 .oak-field-guide .oak-rule-pieces b{color:#52381d;align-self:start;font-size:14px}
.wood152 .oak-field-guide details>summary{padding:8px;font-size:13px;color:#674a2d;cursor:pointer}
.wood152 .oak-field-guide .primary{padding:10px 18px!important;min-height:43px;filter:drop-shadow(1px 3px 2px #79563048)}

