:root{color-scheme:light;--paper: #f1e7d0;--ink: #463e31;--muted-ink: #726750;--seal: #984c3c;--rule: #b4a480}body{background:var(--paper);color:var(--ink)}.game-shell .stitch-page{background:radial-gradient(ellipse at 50% 40%,#f8f0df,#e5d8bb 75%,#d9c8a7)}.game-shell .life-nav button span,.game-shell .zoom-controls button,.game-shell .zoom-controls span{color:var(--ink)}.game-shell .life-nav .active span{color:#fff3d7}.game-shell{color:var(--ink);background:radial-gradient(ellipse at 30% 0,#fcf7e8,#eee3c9 70%,#e2d6b9)}.game-shell :is(h1,h2,h3,.brand strong,.calendar-chip){font-family:STKaiti,KaiTi,"Noto Serif SC",serif;color:var(--ink)}.game-shell :is(p,small,label,.money,.cloth-mark,.compact-progress,.progress-copy,.room-summary,.work-caption>span,.page-title>small){color:var(--muted-ink)}.game-shell :is(button,input,textarea,select),.editor-window :is(button,input,select){color:var(--ink);border-color:var(--rule);background:#f6edd9;border-radius:3px}.game-shell button:hover{background:#e6d9b8}.game-shell button:focus-visible{outline:3px solid var(--seal);outline-offset:3px}.game-shell :is(.primary,.selected,.active){background:#97523f;color:#fff5df;border-color:#7c4233}.game-shell .primary:hover{background:#7d4435}.game-shell :is(.game-header,.game-menu,.work-drawer,.stitch-bottom,.edge-tabs button,.zoom-controls,.inspect-panel,.notice,.activity-dialog,.editor-window){background:#f4ead4f5;color:var(--ink);border-color:var(--rule);box-shadow:0 4px 15px #57452818;-webkit-backdrop-filter:none;backdrop-filter:none}.game-shell :is(.brand small,.header-right small,.calendar-chip span,.thread-grid small,.work-drawer p,.work-drawer h2,.work-card small,.order-card small,.order-card p,.person-card p,.person-card small,.shop-card p,.shop-colors small,.furniture-shop small,.job-card p,.letters p,.settings-grid p,.annual p,.editor-window small,.editor-body aside p,.activity-dialog p,.activity-dialog>small){color:var(--muted-ink)}.game-shell .seal{color:#fff1da;background:var(--seal);border:2px solid #a46b51;border-radius:2px}.game-shell :is(.work-card,.order-card,.person-card,.shop-card,.job-card,.settings-grid section,.letters article,.apprentice-status article,.annual,.ending,.editor-body aside){background:#f8f0dc;color:var(--ink);border:1px solid #b4a48088;border-radius:3px}.game-shell .life-nav{border-color:var(--rule)}.game-shell .life-nav button{color:var(--ink)}.game-shell .life-nav .active{color:#fff3d7}.game-shell .work-caption h1{color:var(--ink)}.game-shell :is(.town-map,.room-scene){border:6px solid #c9b78f;border-radius:2px;box-shadow:0 2px #88734e,0 10px 30px #5b492a22}.game-shell .map-places{background:#eee2c6;padding:12px}.game-shell .notice{border-radius:3px}.game-shell select option{background:#f6edd9;color:var(--ink)}.game-shell .benchmark{background:#f6edd9e8;color:var(--ink)}.prologue{min-height:100dvh;display:grid;grid-template-columns:56% 44%;background:#f4ead3}.prologue-art{min-height:100dvh;background-size:cover;background-position:43% center;position:relative;border-right:5px solid #9c8152}.prologue-art:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#302e1f88,transparent 35%);pointer-events:none}.prologue-art>p{position:absolute;z-index:1;bottom:6%;left:8%;color:#fff2d5;font:30px Georgia,serif;letter-spacing:.12em}.prologue-art p span{display:block;font:16px KaiTi,serif;margin-top:16px}.prologue-letter{align-self:center;padding:60px clamp(25px,5vw,90px)}.prologue-letter>small{display:inline-block;color:var(--seal);letter-spacing:.25em;border-bottom:1px solid var(--seal);padding-bottom:12px}.prologue-letter h1{font-size:clamp(30px,3vw,48px);line-height:1.5;font-weight:500;margin:25px 0 18px;outline:none}.prologue-speaker{font-size:13px;letter-spacing:.12em}.game-shell .prologue-copy{font:19px/2.2 STKaiti,KaiTi,serif;color:var(--ink);margin:30px 0}.prologue-note{font-size:13px;line-height:1.9}.prologue-actions{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-top:34px}.prologue-actions button{padding:13px 22px;min-height:46px}.prologue-actions button:not(.primary){border:0;background:transparent;padding-left:0;font-size:13px;text-decoration:underline}.prologue-page{display:block;font-size:12px;color:#8a795b;margin-top:42px}.guide-strip{position:relative;z-index:11;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 4%;background:#f7eed9;border-bottom:1px solid var(--rule)}.guide-strip strong{display:block;margin-top:5px;font-family:KaiTi,serif;font-size:21px}.guide-strip p{margin:6px 0 0;line-height:1.7;max-width:650px;font-size:13px}.guide-strip small{color:var(--seal)}.guide-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0;max-width:40%}.guide-actions button{padding:10px;font-size:12px;min-height:40px}.guide-strip+.stitch-page{min-height:760px}@media(max-width:700px){.prologue{display:block}.prologue-art{min-height:32dvh;border-right:0;border-bottom:4px solid #9c8152;background-position:center 48%}.prologue-art>p{bottom:10%;margin:0;font-size:23px}.prologue-letter{padding:28px 25px 36px}.prologue-letter h1{margin:14px 0;font-size:30px}.game-shell .prologue-copy{font-size:17px;line-height:1.95;margin:19px 0}.prologue-actions{margin-top:23px;gap:10px}.prologue-page{margin-top:22px}.guide-strip{display:block;padding:12px 18px}.guide-actions{max-width:none;margin-top:9px}.guide-strip+.stitch-page{min-height:680px}}.game-shell .life-nav button.active{background:var(--seal);color:#fff3d7}.game-shell .life-nav button.active span{color:#fff3d7}.game-shell .prologue-art>p,.game-shell .prologue-art>p span{color:#fff2d5}:root{font-family:"Noto Serif SC",Songti SC,STSong,Georgia,serif;color:#535c49;background:#e7e0cf;font-synthesis:none;--paper: #f3eee2;--ink: #535c49;--muted: #8c8e7c;--line: #d7d1c0;--accent: #798769}*{box-sizing:border-box}body{margin:0}button,input,select,a{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer;border:0;background:none}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible{outline:2px solid #9b7953;outline-offset:4px}input,select{color:var(--ink);border:1px solid var(--line);background:#fbf7ee;padding:9px;border-radius:4px}a{color:inherit}button{min-height:44px}h1,h2,p{margin-top:0}h1{font-size:32px;font-weight:400;letter-spacing:5px}h2{font-size:20px;font-weight:400}small{display:block;color:var(--muted)}.quiet-game{min-height:100dvh;background:radial-gradient(ellipse at 30% 10%,#f5efdf88,transparent 65%),repeating-linear-gradient(90deg,#887a5810 0 1px,transparent 1px 4px),#e8e0ce}.q-toolbar{height:calc(58px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f5f0e5cf;position:relative;z-index:4;border-bottom:1px solid #9a927323;font-size:13px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.q-toolbar nav{display:flex;gap:2px}.q-toolbar nav button{padding:0 12px;border-radius:30px;min-height:34px;color:#979882}.q-toolbar nav button[aria-pressed=true]{background:#e1e3d5;color:#536048}.thread-current{display:flex;align-items:center;gap:9px;white-space:nowrap}.thread-current i{width:15px;height:15px;border-radius:50%;box-shadow:inset 0 2px 3px #fff7}.thread-current span{color:#92947e}.q-stage{position:absolute;inset:58px 0 85px;transition:filter .2s;overflow:hidden}.q-stage.is-back{filter:sepia(.15)}.board{position:absolute;inset:0;touch-action:none;cursor:crosshair;-webkit-user-select:none;user-select:none;outline:none}.board>div{position:absolute!important;inset:0}.cloth-overlay{position:absolute;transform:translate(-50%,-50%);pointer-events:none;overflow:visible}.cloth-mark{display:none}.scene-error{padding:25px}.q-cloth-name{position:absolute;left:30px;top:90px;font-size:17px;letter-spacing:3px;pointer-events:none}.q-cloth-name span{display:block;font-size:10px;letter-spacing:2px;margin-top:10px;color:#8d8e78}.q-tools{position:absolute;right:14px;bottom:100px;display:grid;gap:10px;background:#f5f0e5bd;border:1px solid #fff6;border-radius:30px;padding:8px;z-index:3}.q-tools button{width:38px;min-height:38px;font-size:21px}.q-tools span{display:block;font-size:9px}.q-book-link{position:absolute;bottom:calc(20px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);font-size:12px;letter-spacing:3px;color:#767b66;white-space:nowrap}.q-book-link span{margin-left:20px}.q-notice{position:absolute;bottom:80px;left:50%;transform:translate(-50%);background:#f9f4e8e8;border-radius:30px;padding:12px 22px;font-size:12px;white-space:nowrap;pointer-events:none;z-index:4}.q-threads{position:absolute;left:12px;right:12px;top:65px;max-height:40vh;overflow:auto;z-index:5;background:#f6f0e5f5;box-shadow:0 10px 30px #75664724;padding:15px;border-radius:8px;display:flex;gap:12px;flex-wrap:wrap}.q-threads button{display:flex;gap:10px;align-items:center;padding:8px;border:1px solid transparent;font-size:12px}.q-threads button[aria-pressed=true]{border-color:#b0b69a;border-radius:6px}.q-skein{width:32px;height:43px;border-radius:40%;display:block;background:repeating-linear-gradient(32deg,transparent 0 2px,#fff5 3px,transparent 4px 6px),repeating-linear-gradient(-25deg,currentColor 0 2px,#0003 3px 4px,currentColor 5px 7px);box-shadow:inset -5px -3px 7px #0004,2px 4px 4px #78684e33;transform:rotate(-12deg)}.q-threads small{font-size:9px;margin-top:4px}.q-sheet{max-width:760px;margin:auto;min-height:100dvh;background:var(--paper);padding:24px 28px 60px;animation:q-reveal .3s ease-out}.q-sheet header,.q-card-screen header{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#848773;margin-bottom:42px}.q-eyebrow{font-size:11px;letter-spacing:4px;color:#90947d;margin-bottom:18px}.q-description{font-size:13px;line-height:2;color:#92917e;margin-bottom:30px}.q-book-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px 20px}.q-pattern{padding:0;text-align:left}.q-pattern .q-preview{display:block;width:100%;aspect-ratio:1;box-shadow:2px 5px 10px #8071541a;border:6px solid #e7dfcc;transition:transform .2s}.q-pattern:hover .q-preview{transform:translateY(-3px)}.q-pattern>span{display:block;font-size:15px;margin-top:14px;letter-spacing:2px}.q-pattern small{font-size:10px;margin-top:6px}.q-pattern-wrap{display:flex;flex-direction:column}.q-pattern-wrap .q-pattern{width:100%}.q-copies{margin-top:8px;font-size:11px}.q-copies summary{cursor:pointer;color:#8a8574;letter-spacing:1px}.q-copies button{display:block;width:100%;margin-top:8px;font-size:11px;text-align:left}.q-copies .q-preview{width:100%;aspect-ratio:1;margin-bottom:4px}.q-preview{display:block;width:100%;max-height:440px}.q-pagination{display:flex;align-items:center;justify-content:space-between;margin:28px 0 44px;font-size:12px}.q-pagination span{color:#a09e8a;font-size:10px;letter-spacing:2px}.q-mine{border-top:1px solid var(--line);padding-top:28px}.q-mine p{font-size:12px;color:#93927e}.q-upload-choices button{border:1px dashed #aeb39d;width:100%;padding:18px;margin-top:10px;border-radius:5px;font-size:13px}.q-portable{border-top:1px solid var(--line);margin-top:34px;padding-top:28px}.q-portable p{font-size:12px;color:#93927e}.q-portable>div{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.q-portable button{border:1px solid var(--line);border-radius:5px;padding:12px 18px;font-size:13px}.q-portable-note{margin-top:14px;color:var(--accent)}.q-cloud form{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-top:14px}.q-cloud label{display:grid;gap:6px;flex:1 1 200px;min-width:0}.q-cloud input{width:100%;min-width:0;border:1px solid var(--line);border-radius:5px;padding:12px}.q-cloud summary{cursor:pointer}.q-file{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.q-personal{display:grid;grid-template-columns:1fr 1fr;gap:16px}.q-personal button{font-size:11px}.q-personal>div>button:first-child{width:100%}.q-personal .q-preview{aspect-ratio:1;margin-bottom:8px}.q-modes{display:flex;gap:14px;margin-bottom:25px}.q-modes button{flex:1;border:1px solid var(--line);border-radius:6px;padding:18px 10px;font-size:15px}.q-modes button[aria-pressed=true]{background:#e1e5d6;border-color:#9ea98c}.q-modes small{font-size:10px;margin-top:8px}.q-import input[type=file]{width:100%;font-size:12px;padding:16px}.q-import details{font-size:12px;color:#8a8b76;line-height:1.8;margin:22px 0}.q-import summary{cursor:pointer}.q-import-options{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:25px 0;font-size:12px}.q-import-options label{display:flex;flex-direction:column;gap:9px;min-width:0}.q-import-options input[type=checkbox]{align-self:flex-start}.q-import-options input[type=range]{width:100%}.q-precheck{padding:24px 0;font-size:12px;line-height:1.8}.q-precheck button{border-bottom:1px solid #aeb59b;margin-right:12px}.q-primary{display:block;text-align:center;background:#748265;color:#fff9ed;border-radius:5px;padding:16px 25px;text-decoration:none;width:100%;font-size:14px;letter-spacing:2px}.q-card-screen{max-width:580px;margin:auto;padding:20px 26px 50px;background:var(--paper);min-height:100dvh}.q-card-screen header{margin-bottom:20px}.q-card-screen img{width:100%;box-shadow:0 10px 35px #76623d24;margin-bottom:24px}.q-card-screen>p{text-align:center;color:#91927e;font-size:12px;margin-top:20px}@keyframes q-reveal{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media(min-width:800px){.q-stage{inset:80px 12vw 90px}.q-toolbar{padding-left:30px;padding-right:30px}.q-cloth-name{left:45px;top:110px}.q-tools{right:35px;bottom:130px}.q-sheet{padding:35px 65px 70px}.q-book-grid{gap:35px}.q-sheet h1{font-size:38px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.q-stage:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 20%,#fff6d51c 47%,transparent 72%);background-size:250% 100%;animation:q-daylight 20s ease-in-out infinite;mix-blend-mode:soft-light}.board.has-needle-cursor{cursor:none}@keyframes q-daylight{0%,to{background-position:100% 0}50%{background-position:0 0}}.q-floss-card{position:fixed;bottom:calc(10px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);width:min(94%,720px);height:98px;z-index:5;background:linear-gradient(105deg,#f0e3c9,#e7d7b6);border:1px solid #d4c39f;border-radius:6px 6px 15px 15px;box-shadow:0 7px 18px #5f51342b,inset 0 1px #fff8;touch-action:pan-x}.q-floss-scroll{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;height:100%;padding:5px 16px;gap:10px;align-items:start}.q-floss-scroll button{flex:0 0 74px;position:relative;padding:0 3px;min-height:83px;text-align:center;transition:transform .18s}.q-floss-scroll button[aria-pressed=true]{transform:translateY(-3px)}.q-floss-hole{display:block;margin:7px auto 0;width:15px;height:11px;border-radius:50%;background:#9f8b63;box-shadow:inset 0 2px 3px #3e352744,0 1px #fffa}.q-floss-tail{display:block;width:33px;height:28px;border-radius:4px 4px 40% 40%;margin:-3px auto 3px;background:repeating-linear-gradient(88deg,currentColor 0 2px,#fff7 2.4px,currentColor 3.2px,#0002 4px);box-shadow:inset -3px 1px 5px #0002;transform-origin:50% 0}.q-floss-scroll small{color:#685e49;font-size:11px}.q-floss-code{font-size:8px;letter-spacing:.4px;color:#8c7b5c}.q-floss-scroll button[aria-pressed=true] .q-floss-hole{box-shadow:inset 0 2px 3px #3e352744,0 0 0 2px #8d9a72}.q-floss-card.is-tying .q-floss-tail{animation:q-tuck .18s ease-out}.q-stage{bottom:135px}.q-tools{bottom:155px}.q-book-link{bottom:115px;left:22px;transform:none;letter-spacing:2px;font-size:10px}.q-notice{bottom:136px}.thread-current{display:grid;grid-template-columns:16px auto;font-size:12px;gap:2px 7px}.thread-current i{grid-row:1/3}.thread-current small{grid-column:2;font-size:8px;letter-spacing:.7px}.q-card-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px;font-size:12px}.q-card-controls label{display:flex;align-items:center;gap:10px}.q-card-controls input{max-width:110px}.q-card-controls button{border-bottom:1px solid #a0aa8e}.q-card-controls button[aria-pressed=true]{background:#e5e8db}.q-converting{padding:25px;border:1px solid var(--line);color:#68785b}.q-stage.is-back{animation:q-turn .2s ease-out}.q-breathing-hole{animation:q-breathe 2.8s ease-in-out infinite}.stitch-guides{-webkit-mask:var(--guide-mask);mask:var(--guide-mask)}.q-seeking-ring{transform-box:fill-box;transform-origin:center;animation:q-seek 1.8s ease-out forwards}.q-blocked-thread{animation:q-blocked .4s ease-out}.q-cloth-name{top:78px}.quiet-game,html,body{overscroll-behavior:none}.board{transition:top .2s,left .2s}@keyframes q-tuck{50%{transform:scaleY(.7)}to{transform:scaleY(1)}}@keyframes q-turn{0%{transform:scaleY(.06)}to{transform:scaleY(1)}}@keyframes q-breathe{0%,to{opacity:.75}50%{opacity:1}}.board:has(.stitch-motion) .live-needle[data-down=false]{opacity:0}.q-tools .q-shortcut-config{display:none;width:auto;min-height:20px;padding:2px 4px;font-size:10px;color:var(--ink);border:1px solid var(--line);border-radius:5px}.q-shortcut-config kbd{font:inherit}@media(min-width:800px)and (pointer:fine){.q-tools .q-shortcut-config{display:block}}.q-shortcut-shade section{background:var(--paper);color:var(--ink);max-width:420px}.q-shortcut-shade input{width:100%;text-align:center;font-size:20px}@keyframes q-seek{0%{opacity:.9;transform:scale(.6)}to{opacity:0;transform:scale(2.7)}}@keyframes q-blocked{0%{opacity:0}50%{opacity:1}to{opacity:.5}}@media(prefers-reduced-motion:reduce){.q-floss-tail,.q-stage,.q-breathing-hole,.q-seeking-ring,.q-blocked-thread{animation:none!important;transition:none!important}}.q-stage{top:calc(58px + env(safe-area-inset-top))}.q-floss-scroll{scroll-snap-type:x proximity}.q-floss-scroll button{scroll-snap-align:center}@media(min-width:800px){.q-stage{top:80px}}.q-edit-tools{position:absolute;top:64px;left:50%;transform:translate(-50%);z-index:4;display:flex;gap:4px;padding:5px;border-radius:16px;background:#f5f0e5ed;max-width:calc(100% - 20px)}.q-stitch-options{position:absolute;left:150px;bottom:calc(var(--floss-height) + 17px);z-index:7;font-size:12px}.q-stitch-options summary{cursor:pointer;padding:9px 8px}.q-stitch-options>div{position:absolute;bottom:calc(100% + 8px);left:0;width:min(280px,calc(100vw - 40px));background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:16px;box-shadow:0 8px 24px #302b2320}.q-stitch-options label{display:flex;align-items:center;gap:8px}.q-stitch-options p{line-height:1.6;margin:10px 0}.q-stitch-options select{color:var(--ink);background:var(--paper);padding:8px;border:1px solid var(--line);border-radius:6px}@media(max-width:500px){.q-stitch-options>div{left:-130px}}.q-edit-tools button{font-size:12px;white-space:nowrap;padding:9px 8px;border-radius:10px}.q-edit-tools button[aria-pressed=true]{background:#dce2ce;color:#354735}.q-clear-shade{position:fixed;inset:0;z-index:20;display:grid;place-items:center;background:#302b2355;padding:24px}.q-clear-shade section{background:#f5f0e5;padding:24px;border-radius:18px;max-width:360px}.q-clear-shade button{padding:12px 18px;margin:12px 8px 0 0;border:1px solid #c6c5b0;border-radius:10px}.q-clear-shade h2{font-size:19px}@media(max-width:500px){.q-edit-tools button{font-size:11px;padding:9px 5px}}.q-edit-tools button{min-height:32px}@media(max-width:600px){.q-edit-tools{top:80px}.q-cloth-name{top:60px;left:16px;font-size:12px}.q-cloth-name span{display:none}}.board[data-gesture-mode=pan]{cursor:grab}.board[data-gesture-mode=pan]:active{cursor:grabbing}.q-notice button{margin-left:10px;text-decoration:underline;font-size:inherit}.q-notice{max-width:calc(100% - 24px);white-space:normal;width:max-content}.q-gesture-hint{position:absolute;bottom:calc(190px + env(safe-area-inset-bottom));left:16px;right:78px;max-width:330px;padding:14px 16px 12px;border-radius:10px;background:#f9f4e8f2;box-shadow:0 12px 32px #6f62482e;pointer-events:none;z-index:5;font-size:12px;line-height:1.9}.q-gesture-hint p{margin:0 0 6px;color:var(--accent);letter-spacing:2px}.q-gesture-hint ul{margin:0;padding-left:15px;color:#6f7361}.q-gesture-close{position:absolute;top:4px;right:4px;min-height:32px;width:32px;font-size:15px;color:var(--muted);pointer-events:auto}.q-notice button{pointer-events:auto;min-height:36px}.q-color-pages{display:flex;justify-content:space-between;align-items:center;font-size:11px;gap:12px}.q-color-pages button{padding:4px 12px;min-height:28px}.quiet-game:has(.q-color-pages) .q-floss-card{height:126px}.quiet-game:has(.q-color-pages) .q-floss-scroll{height:calc(100% - 28px)}.quiet-game:has(.q-color-pages) .q-stage{bottom:163px}.quiet-game:has(.q-color-pages) .q-tools{bottom:183px}.quiet-game:has(.q-color-pages) .q-book-link{bottom:143px}.quiet-game:has(.q-color-pages) .q-notice{bottom:153px}.q-color-pages{height:28px;padding:0 12px}@media(prefers-color-scheme:dark){:root{color-scheme:dark;color:#dcd9c6;background:#14160f;--paper: #22261d;--ink: #dcd9c6;--muted: #8f9282;--line: #3a3f31;--accent: #a7b592}.quiet-game{background:radial-gradient(ellipse at 30% 10%,#2f332522,transparent 65%),repeating-linear-gradient(90deg,#ffffff08 0 1px,transparent 1px 4px),#14160f}.q-stage{filter:brightness(.45) saturate(.95)}.q-stage.is-back{filter:brightness(.45) saturate(.95) sepia(.2)}.q-floss-card{background:linear-gradient(105deg,#3a3529,#2f2b21);border-color:#4a4335;box-shadow:0 7px 18px #00000059,inset 0 1px #ffffff12}.q-floss-code{color:#b3a686}.q-floss-card small{color:#bdb6a2}.q-preview{filter:brightness(.62) sepia(.06)}.q-toolbar{background:#22261dd9;border-bottom-color:#ffffff12}.q-toolbar nav button{color:#8d907d}.q-toolbar nav button[aria-pressed=true]{background:#353c2c;color:#dbe4cc}.thread-current span,.q-cloth-name span,.q-book-link,.q-eyebrow,.q-description,.q-mine p,.q-card-screen>p,.q-portable p,.q-pagination span,.q-copies summary,.q-import details{color:#8f9282}.q-tools,.q-edit-tools{background:#22261de8;border-color:#ffffff14}.q-edit-tools button[aria-pressed=true]{background:#3a4232;color:#e3ecd6}.q-notice,.q-gesture-hint{background:#2a2f24f2;color:#dcd9c6;box-shadow:0 12px 32px #00000059}.q-gesture-hint ul{color:#b9bca8}.q-threads{background:#22261df2;box-shadow:0 10px 30px #00000059}.q-modes button[aria-pressed=true],.q-card-controls button[aria-pressed=true]{background:#2f3628;border-color:#4a5640}.q-card-controls button,.q-precheck button{border-bottom-color:#4a5640}.q-primary{background:#5c6b4e;color:#f3f6ea}.q-clear-shade{background:#000000a8}.q-clear-shade section{background:#22261d}input,select{background:#1b1f17;color:var(--ink)}}.q-samples{margin:18px 0 8px}.q-samples p{font-size:12px;color:#93927e;margin-bottom:12px}.q-samples>div{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.q-samples button{border:1px solid var(--line);border-radius:6px;padding:8px 6px 10px;font-size:12px;text-align:center}.q-samples button[aria-pressed=true]{border-color:#9ea98c;background:#e1e5d6}.q-samples img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:4px;display:block;margin-bottom:8px}.q-samples small{font-size:10px;line-height:1.5;margin-top:4px}.q-card-notch{display:none}.quiet-game{--floss-height: 150px}.quiet-game:has(.q-color-pages){--floss-height: 178px}.quiet-game .q-floss-card{height:var(--floss-height);display:grid;grid-template-rows:28px minmax(0,1fr)}.quiet-game:has(.q-color-pages) .q-floss-card{height:var(--floss-height);grid-template-rows:28px 28px minmax(0,1fr)}.quiet-game .q-floss-scroll,.quiet-game:has(.q-color-pages) .q-floss-scroll{height:auto;min-height:0;overflow-y:hidden}.q-floss-scroll button{min-height:102px;flex-basis:88px;border:2px solid transparent;border-radius:8px;padding:1px 3px 4px}.q-floss-scroll small{font-size:10px;white-space:nowrap}.q-thread-badge{display:block;min-height:16px;line-height:16px;font-size:9px;white-space:nowrap;color:#6b624f}.q-floss-scroll button[aria-pressed=true]{transform:none;border-color:#b66b00;background:#fff0b8;box-shadow:0 0 0 1px #fff9 inset}.q-floss-scroll button[aria-pressed=true] .q-thread-badge{color:#793d00;font-weight:700}.q-floss-scroll button[data-complete=true]:not([aria-pressed=true]){border-color:#48815b;background:#e2eddf}.q-floss-scroll button[data-complete=true] .q-thread-badge{color:#285536}.q-thread-description{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.q-thread-status{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px;font-size:10px;white-space:nowrap}.q-thread-status button{padding:3px 0;font-weight:700;color:#79501b}.quiet-game .q-stage,.quiet-game:has(.q-color-pages) .q-stage{bottom:calc(var(--floss-height) + 37px)}.quiet-game .q-tools,.quiet-game:has(.q-color-pages) .q-tools{bottom:calc(var(--floss-height) + 57px)}.quiet-game .q-book-link,.quiet-game:has(.q-color-pages) .q-book-link{bottom:calc(var(--floss-height) + 17px)}.quiet-game .q-notice,.quiet-game:has(.q-color-pages) .q-notice{bottom:calc(var(--floss-height) + 38px)}.q-sewing-guide{position:fixed;left:14px;bottom:calc(var(--floss-height) + 22px);z-index:8;max-width:min(370px,calc(100vw - 86px));padding:10px 12px;border:1px solid #c18a2d;border-radius:10px;background:var(--paper);color:var(--ink);box-shadow:0 3px 12px #49371d22;font-size:11px}.q-sewing-guide p{margin:0 0 4px;font-weight:700;overflow-wrap:anywhere}.q-sewing-guide div{display:flex;gap:8px;margin-top:5px;flex-wrap:wrap}.q-sewing-guide button{min-height:30px;border-bottom:1px solid var(--line);padding:2px}@media(prefers-color-scheme:dark){.q-floss-scroll button[aria-pressed=true]{background:#59451e;border-color:#ffcb55}.q-floss-scroll button[aria-pressed=true] .q-thread-badge,.q-thread-status button{color:#ffdf84}.q-thread-badge{color:#d1c4a8}.q-floss-scroll button[data-complete=true]:not([aria-pressed=true]){background:#2f4835;border-color:#7cbb89}.q-floss-scroll button[data-complete=true] .q-thread-badge{color:#b6e9bf}}
