@charset "UTF-8";
:root{--paper:#fcfaf7;--white:#fff;--ink:#403c3b;--muted:#918782;--rose:#b9647e;--rose-dark:#9f4e68;--rose-pale:#f5e9ed;--line:#eae4df;--green:#627b63;--shadow:0 8px 30px #624a3e06}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.7;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,canvas:focus-visible,summary:focus-visible{outline:3px solid #b9647e75;outline-offset:4px}input,textarea,select{min-width:0}button{border:0}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:600;line-height:1.45}h1{font-size:34px;letter-spacing:-1px}h2{font-size:24px;letter-spacing:-.5px}h3{font-size:15px}small{font-size:12px}fieldset{margin:0;padding:0;border:0}.container{width:calc(100% - 100px);max-width:1280px;margin:0 auto}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0}.muted,.form-hint{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:2.2px;color:var(--rose);font-weight:600}.heading-dot{color:var(--rose)}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 22px;border-radius:7px;font-size:13px;font-weight:500;transition:background .2s,transform .2s;border:1px solid transparent;white-space:nowrap}.button:hover{transform:translateY(-2px)}.primary{background:var(--rose);color:#fff}.primary:hover{background:var(--rose-dark)}.secondary{background:#fff;border-color:#e4d9d6;color:#76635e}.secondary:hover{background:#f8eeef;border-color:#d5b7c1}.wide{width:100%}.text-button{background:transparent;color:var(--rose);padding:7px 0;font-size:13px}.pill{display:inline-flex;align-items:center;border-radius:4px;background:var(--rose-pale);color:var(--rose);padding:3px 9px;font-size:11px;white-space:nowrap}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:30px;margin-bottom:28px}.page-space{padding-top:36px;padding-bottom:50px}.page-heading{padding:24px 0 40px}.page-heading h1{margin:12px 0}.page-heading p{color:var(--muted);font-size:14px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip-link{position:fixed;z-index:99;top:-80px;left:10px;padding:10px;background:white}.skip-link:focus{top:10px}
.site-header{height:91px;border-bottom:1px solid var(--line);background:#fcfaf7f5;position:sticky;top:0;z-index:20;backdrop-filter:blur(14px)}.header-inner{max-width:1400px;width:calc(100% - 100px);height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;gap:10px;align-items:center}.brand strong{display:flex;align-items:baseline;line-height:1.2;font-family:Georgia,serif;letter-spacing:-1.4px;font-size:25px;font-weight:600}.brand strong span{font-style:italic;color:var(--rose)}.brand strong i{font:500 15px "PingFang SC","Microsoft YaHei",sans-serif;letter-spacing:2px;margin-left:9px}.brand small{display:block;letter-spacing:2px;font-size:8px;color:#9a8b83;margin-top:6px}.desktop-nav{display:flex;gap:36px;height:100%;align-items:center}.desktop-nav>a{font-size:13px;color:#80756e;position:relative;height:100%;display:flex;align-items:center;gap:4px}.desktop-nav>a.active{color:var(--rose);font-weight:600}.desktop-nav>a.active:after{content:"";position:absolute;bottom:19px;width:17px;height:2px;background:var(--rose);left:calc(50% - 8px)}.nav-spark{color:var(--rose);font-size:19px}.login-link{display:flex;align-items:center;gap:7px;font-size:12px}.login-link .icon{width:17px}.user-menu{position:relative;font-size:12px}.user-menu summary{display:flex;align-items:center;gap:9px;cursor:pointer;list-style:none}.user-menu summary::-webkit-details-marker{display:none}.username{max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-dropdown{position:absolute;right:0;top:50px;padding:20px;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 35px #46372b13;min-width:230px}.user-dropdown>a,.user-dropdown small{display:block;margin-bottom:14px}.user-dropdown small{color:var(--muted);overflow-wrap:anywhere}.mobile-nav{display:none}
.hero{margin-top:30px;min-height:440px;display:grid;grid-template-columns:1.1fr 1fr;background:#f2eee7;border-radius:13px;overflow:hidden;position:relative}.hero-copy{padding:46px 0 38px 54px;position:relative;z-index:1}.hero-copy .eyebrow{font-size:9px;letter-spacing:2px;color:#9b7c70;display:flex;align-items:center;gap:8px}.eyebrow>span:first-child{width:5px;height:5px;background:#bd8776;border-radius:50%}.hero h1{font-size:47px;font-family:"Songti SC","STSong","SimSun",serif;line-height:1.48;letter-spacing:3px;margin:20px 0 16px;font-weight:600}.hero h1>span:not(.hero-heart){color:var(--rose)}.hero h1 .hero-heart{display:inline-block;font-family:Georgia,serif;font-size:42px;font-weight:400;transform:rotate(-12deg);margin-left:12px;color:var(--rose)}.hero p{font-size:13px;line-height:2;color:#93857a}.hero .button{margin-top:24px;padding:11px 23px;font-size:12px;min-height:43px}.hero-note{display:flex;align-items:center;font-size:10px;color:#988c82;gap:9px;margin-top:20px}.tiny-beads{display:flex;padding-left:2px}.tiny-beads i{width:12px;height:12px;border-radius:50%;background:#b37d80;border:2px solid #f2eee7;margin-left:-2px}.tiny-beads i:nth-child(2){background:#d3ab9d}.tiny-beads i:nth-child(3){background:#9caa94}.tiny-beads i:nth-child(4){background:#dbbd95}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;padding:38px 45px 28px 0;background:radial-gradient(ellipse at center,#e9dace66,transparent 70%)}.art-print{width:298px;height:340px;transform:rotate(7deg);background:#fcfaf5;padding:14px 18px 10px;box-shadow:3px 13px 25px #77604915;position:relative;z-index:2}.art-print:before{content:"";position:absolute;left:102px;top:-10px;width:85px;height:28px;background:#d9bc9b66;transform:rotate(-10deg)}.print-label{display:block;font-size:6px;letter-spacing:2.4px;text-align:center;color:#ab9b8e;padding-bottom:5px}.art-print img{width:100%;height:270px;object-fit:cover;mix-blend-mode:multiply}.print-caption{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e6ddd2;padding-top:12px;gap:5px}.print-caption span{font-family:"Songti SC",serif;font-size:10px;color:#8b7b6d}.print-caption b{font-weight:400;font-size:6px;letter-spacing:1px;color:#b29f92}.floating-note{position:absolute;z-index:3;font-family:"Songti SC",Georgia,serif;color:#917765;font-size:16px;letter-spacing:1px;white-space:nowrap}.note-top{top:41px;right:26px;transform:rotate(9deg);font-family:Georgia,serif;font-style:italic;font-size:16px}.note-top span{font-size:26px;margin-left:8px}.note-bottom{bottom:35px;left:0;transform:rotate(-9deg);font-size:14px}.note-bottom span{font-size:30px;vertical-align:middle;color:var(--rose)}.hero-dot{position:absolute;width:16px;height:16px;border-radius:50%;background:#cfa89b;box-shadow:inset -2px -3px 1px #b8978255,2px 3px 5px #00000010}.hero-dot:after{content:"";position:absolute;width:5px;height:5px;left:5px;top:5px;background:#f2eee7;border-radius:50%}.dot-one{bottom:65px;right:35px}.dot-two{top:80px;left:7px;background:#a4ac92}.hero-star{position:absolute;right:52px;top:180px;font-size:39px;font-weight:300;color:#bd9279;transform:rotate(20deg)}.intro-strip{display:flex;justify-content:space-between;align-items:center;padding:18px 2px 22px;border-bottom:1px solid var(--line);color:#9a8d83;font-size:11px}.intro-strip>span{display:flex;align-items:center;gap:8px}.intro-strip .icon{width:14px;color:var(--rose)}.intro-strip b{font-weight:500;color:#7f6b5d}.intro-strip i{font-style:normal;color:#cbbcb1;margin:0 3px}
.discover{padding-top:37px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:22px}.section-heading .eyebrow{font-size:8px;letter-spacing:1.7px;color:#ab9689}.section-heading h2{margin-top:5px;font-size:25px;letter-spacing:1px}.section-heading>p,.section-heading>a,.section-heading>span{font-size:11px;color:#9c8e84}.section-heading>a{display:flex;align-items:center;gap:8px}.section-heading>a .icon{width:15px}.section-heading.compact{align-items:center}.section-heading.compact h2{font-size:20px;letter-spacing:0;margin:0}.filter-panel{margin-bottom:20px}.filter-row{display:flex;align-items:center;padding:7px 0;position:relative;min-height:44px}.filter-row legend{float:left;width:63px;font-size:12px;color:#938780;line-height:31px;flex-shrink:0;letter-spacing:2px}.filter-options{display:flex;flex-wrap:wrap;gap:6px 12px}.filter-chip{position:relative;cursor:pointer;display:inline-flex}.filter-chip input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.filter-chip span{font-size:12px;line-height:29px;padding:0 16px;border-radius:4px;color:#897d75;transition:background .2s}.filter-chip input:checked+span{background:#f0dfe5;color:#a65470;font-weight:500}.filter-chip input:focus-visible+span{outline:2px solid var(--rose)}.filter-chip:hover span{background:#f4ece8}.search-row{display:flex;gap:10px;margin-top:22px;margin-bottom:24px;align-items:center}.search-field{display:flex;gap:12px;align-items:center;border:1px solid var(--line);background:white;border-radius:6px;padding:0 15px;flex:1;min-height:45px}.search-field:focus-within{border-color:#cc96a7}.search-field .icon{width:17px;color:#a4948b}.search-field input{border:0;outline:none!important;background:transparent;width:100%;height:43px;font-size:12px}.search-field input::placeholder{color:#b4a79f}.search-row .button{padding:10px 30px}.clear-filters{font-size:12px;color:var(--rose)}.results-toolbar{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#998b81;padding-top:17px;border-top:1px solid var(--line)}.results-toolbar b{font-weight:500;color:#a8647b;margin:0 3px}.results-toolbar label{font-size:11px;color:#a0948b;display:flex;gap:8px;align-items:center}.results-toolbar select{border:0;background:transparent;color:#766b63;outline-offset:0;font-size:11px;max-width:110px}
.masonry{--masonry-cols:4;--masonry-gap:22px;display:grid;grid-template-columns:repeat(var(--masonry-cols),minmax(0,1fr));gap:var(--masonry-gap);align-items:start}.masonry.is-masonry{grid-auto-rows:1px;row-gap:0}.masonry .pattern-card{margin-bottom:0;display:block;min-width:0}.pattern-card{break-inside:avoid;display:inline-block;width:100%;margin-bottom:22px;background:#fff;border:1px solid #eee7e1;border-radius:9px;overflow:hidden;box-shadow:var(--shadow);transition:transform .25s,box-shadow .25s}.pattern-card:hover{transform:translateY(-3px);box-shadow:0 9px 24px #66524813}.card-image{display:block;position:relative;overflow:hidden}.card-image>img{width:100%;height:auto;transition:transform .4s;mix-blend-mode:multiply}.card-image:hover>img{transform:scale(1.035)}.difficulty{position:absolute;top:12px;left:12px;display:flex;align-items:center;gap:5px;background:#fffdf4e8;padding:2px 8px;border-radius:4px;color:#748773;font-size:9px;line-height:1.9}.difficulty>span{width:4px;height:4px;border-radius:50%;background:currentColor}.difficulty.medium{color:#a7885d}.difficulty.hard{color:#b16974}.image-cta{position:absolute;bottom:0;left:0;right:0;background:#fffcf0e8;color:#927362;display:flex;justify-content:space-between;align-items:center;padding:9px 14px;font-size:11px;transform:translateY(100%);transition:transform .2s}.card-image:hover .image-cta,.card-image:focus-visible .image-cta{transform:translateY(0)}.card-body{padding:14px 15px 13px}.card-category{font-size:9px;color:#aa9c92;display:flex;gap:5px;align-items:center;letter-spacing:.5px}.card-dim{margin-left:auto;font-size:8px;letter-spacing:.3px}.card-body h3{font-size:13px;letter-spacing:.2px;margin:6px 0 14px;font-weight:500}.card-stats{display:flex;gap:13px;align-items:center;font-size:10px;color:#b1a398;line-height:1}.card-stats>span{display:inline-flex;align-items:center;gap:4px}.card-stats .icon{width:13px;height:13px;stroke-width:1.4}.card-stats .card-rating{margin-right:auto;color:#b5a188;font-size:10px}.card-rating .icon{color:#c8aa78;fill:#c8aa781f}.list-end{display:flex;align-items:center;justify-content:center;gap:14px;color:#b9aba1;font-size:10px;padding:19px 0 27px}.list-end>span{width:35px;height:1px;background:var(--line)}.card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;align-items:start}.pagination{display:flex;justify-content:center;gap:8px;margin:25px 0;flex-wrap:wrap}.pagination>a{border:1px solid var(--line);border-radius:5px;min-width:36px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px}.pagination .current{background:var(--rose);color:white;border-color:var(--rose)}.empty-state{text-align:center;padding:50px 20px;background:#f5f0eb;border-radius:10px}.empty-state>span{display:block;color:var(--rose);font-size:40px}.empty-state h3{font-size:20px;margin-bottom:10px}.empty-state p{color:var(--muted);margin-bottom:20px}.game-banner{display:flex;align-items:center;gap:25px;margin:12px 0 48px;padding:31px 38px;background:#eeeae2;border-radius:10px}.banner-icon{display:flex;align-items:center;justify-content:center;width:62px;height:62px;background:#faf6ee;border:1px solid #ded5c4;border-radius:16px;transform:rotate(-7deg);color:#a4947c}.banner-icon .icon{width:33px;height:33px;stroke-width:1.1}.game-banner .eyebrow{color:#a29077;font-size:8px;letter-spacing:1.8px}.game-banner h2{font-size:22px;margin:4px 0}.game-banner p{font-size:11px;color:#a19381}.game-banner>.button{margin-left:auto;font-size:12px;padding:10px 26px;background:#fffcf3}.site-footer{border-top:1px solid var(--line);color:#aa9b91;padding:27px 0 31px}.footer-inner{display:flex;justify-content:space-between;align-items:center;font-size:10px}.footer-brand{display:flex;gap:8px;align-items:center}.footer-brand>span{font-family:Georgia,"Songti SC",serif;font-size:14px;color:#85756c}.footer-brand>small{font-size:10px;margin-left:12px;letter-spacing:1px}.footer-inner>div:last-child{display:flex;gap:22px}.notice{background:#eff3ed;border:1px solid #d4dfcf;padding:13px 20px;border-radius:8px;margin-top:20px;font-size:13px;display:flex;align-items:center;gap:8px}.toast{position:fixed;bottom:32px;left:50%;transform:translateX(-50%);background:#544444f5;color:white;padding:12px 22px;box-shadow:0 4px 24px #0002;border-radius:9px;font-size:13px;z-index:100;max-width:90vw;text-align:center}.toast[hidden]{display:none}.subtle-note{font-size:12px;color:var(--muted);margin:22px 0;text-align:center}
.rank-columns{display:grid;grid-template-columns:1fr 1fr;gap:28px}.rank-panel{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.rank-heading{display:flex;align-items:center;gap:12px;padding:24px;background:#f4eee8;border-bottom:1px solid var(--line)}.rank-panel:nth-child(2) .rank-heading{background:#f5eaed}.rank-heading h2{font-size:21px}.rank-heading p{font-size:10px;color:var(--muted);margin-top:4px}.rank-heading>.pill{margin-left:auto;font-size:8px}.rank-badge{width:42px;height:42px;border-radius:12px;background:#fffcf6;display:flex;align-items:center;justify-content:center;color:var(--rose)}.rank-list{list-style:none;margin:0;padding:0 24px}.rank-list li{display:flex;align-items:center;gap:16px;padding:19px 0;border-bottom:1px solid #f0ebe6}.rank-list li:last-child{border-bottom:0}.rank-number{font-family:Georgia,serif;font-size:22px;color:#bdb1a8;min-width:26px}.rank-number.top-0{color:#b78553;font-size:28px}.rank-number.top-1{color:#a29ca5}.rank-number.top-2{color:#b88c7e}.rank-thumb{width:78px;height:83px;border-radius:6px;overflow:hidden;flex-shrink:0}.rank-thumb img{width:100%;height:100%;object-fit:cover}.rank-info{min-width:0;flex:1}.rank-info h3{font-size:13px}.rank-info p{font-size:10px;color:var(--muted);margin:5px 0}.rank-info>span{display:flex;gap:4px;align-items:center;font-size:10px;color:#ae997e}.rank-info .icon{width:12px;height:12px}.rank-count{display:flex;gap:4px;align-items:center;color:var(--rose);font-size:12px}.rank-count .icon{width:14px;height:14px}.rank-count strong{font-weight:500}
.breadcrumbs{display:flex;gap:12px;color:#aa9b90;font-size:11px;flex-wrap:wrap;margin-bottom:28px}.breadcrumbs a{color:#857166}.detail-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:start;margin-bottom:36px}.detail-image{position:relative;border-radius:13px;overflow:hidden}.detail-image img{width:100%;height:auto}.image-tip{position:absolute;left:50%;transform:translateX(-50%);bottom:15px;display:flex;align-items:center;gap:6px;background:#fffdf6e3;border-radius:20px;font-size:10px;padding:5px 13px;color:#927f70;pointer-events:none}.image-tip .icon{width:13px;height:13px}.detail-info{padding-top:10px}.tags{display:flex;gap:7px;margin:20px 0 13px}.tags>span{font-size:10px;border:1px solid #e4d6cd;color:#9b7c69;padding:1px 8px;border-radius:3px}.detail-info h1{font-family:"Songti SC","SimSun",serif;letter-spacing:1px;font-size:32px}.detail-description{line-height:2;color:#938276;font-size:13px;margin:20px 0}.detail-stats{display:flex;gap:20px;color:#9e897b;font-size:12px;flex-wrap:wrap}.detail-stats>span{display:flex;align-items:center;gap:5px}.detail-stats .icon{width:15px;height:15px}.detail-stats small{font-size:10px;color:#b1a195}.detail-stats b{font-weight:500}.specs{display:grid;grid-template-columns:1.3fr 1fr 1fr;margin:25px 0;padding:21px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.specs dt{font-size:11px;color:var(--muted);margin-bottom:7px}.specs dd{margin:0;font-size:24px;font-family:Georgia,serif}.specs small{font-family:inherit;font-size:11px;margin-left:5px;color:var(--muted)}.detail-actions{display:flex;gap:10px}.detail-actions .button{flex:1}.like-button.is-liked .icon{fill:currentColor}.like-count{font-size:11px;opacity:.7;border-left:1px solid #ffffff50;padding-left:10px}.detail-links{display:flex;justify-content:space-between;gap:10px;margin:18px 0 26px;font-size:11px;color:#9b8172}.detail-links .icon{width:15px;height:15px;margin-right:3px}.rating-form{display:flex;align-items:center;gap:14px;border-top:1px solid var(--line);padding-top:16px;font-size:11px;color:var(--muted)}.star-button{padding:3px;background:transparent;color:#d8c4a6}.star-button .icon{width:20px;height:20px}.star-button.selected .icon{fill:currentColor}.star-button:hover{color:var(--rose)}.source-note{font-size:10px;color:#aa9b90;margin-top:16px;line-height:1.9}.source-note a{text-decoration:underline}.material-list{display:flex;gap:24px;flex-wrap:wrap}.material-list>div{display:flex;align-items:center;gap:10px;min-width:136px}.material-list b{display:block;font-size:11px;font-weight:500}.material-list small{display:block;color:var(--muted);font-size:10px}.bead-swatch{width:30px;height:30px;border-radius:50%;background:var(--swatch);box-shadow:inset -2px -3px 2px #0002,0 0 0 1px #00000009;position:relative;flex-shrink:0}.bead-swatch:after{content:"";position:absolute;left:11px;top:11px;width:8px;height:8px;border-radius:50%;background:var(--paper);box-shadow:inset 1px 1px 1px #0002}.comments h2 small{font-size:12px;font-weight:400;margin-left:8px;color:var(--muted)}.comment-form textarea{width:100%;resize:vertical;background:var(--paper);border:1px solid var(--line);border-radius:7px;padding:14px;font-size:13px}.comment-form>div{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.comment-form .muted{font-size:11px}.comment-login{background:var(--paper);padding:24px;border-radius:7px;text-align:center;font-size:13px;color:var(--muted)}.comment-login a{display:inline-flex;align-items:center;gap:8px;color:var(--rose);margin-left:10px}.comment{display:flex;gap:14px;padding:24px 0;border-bottom:1px solid var(--line)}.comment>div{flex:1;min-width:0}.comment h3{font-size:13px}.comment time{font-size:10px;font-weight:400;color:var(--muted);margin-left:12px}.comment p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:7px;color:#7d7068}.empty-comment{text-align:center;font-size:12px;color:#b3a499;padding:30px 0}.related{padding-top:16px}
.avatar{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;background:#f3eae4;border-radius:50%;font-size:25px;flex-shrink:0}.avatar.small{width:30px;height:30px;font-size:18px}.avatar.large{width:82px;height:82px;font-size:45px}.auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:100px;max-width:1000px;padding:65px 0 80px;align-items:start}.auth-intro{padding-top:46px}.auth-intro h1{font-family:"Songti SC","SimSun",serif;font-size:45px;letter-spacing:3px;line-height:1.65;margin:22px 0}.auth-intro h1 span{color:var(--rose)}.auth-intro p{font-size:13px;color:var(--muted);line-height:2.1}.auth-motif{margin-top:30px;display:flex;align-items:center;gap:30px;color:#a78781}.auth-motif img{transform:rotate(-12deg)}.auth-motif span{font:italic 12px Georgia,serif;letter-spacing:2px}.auth-card{background:white;border:1px solid var(--line);border-radius:14px;padding:36px;box-shadow:var(--shadow)}.auth-heading h2{font-size:22px;margin:9px 0}.auth-heading p{font-size:12px;color:var(--muted)}.auth-tabs{display:flex;border-bottom:1px solid var(--line);margin:24px 0;gap:26px}.auth-tabs a{padding:0 5px 10px;color:var(--muted);font-size:13px}.auth-tabs a.active{border-bottom:2px solid var(--rose);color:var(--rose)}.stack-form{display:flex;flex-direction:column;gap:18px;margin-top:24px}.stack-form label:not(.avatar-picker label){display:flex;flex-direction:column;gap:7px;font-size:12px;color:#7d6f67}.stack-form input:not([type=radio]),.stack-form select,.stack-form textarea{width:100%;border:1px solid var(--line);border-radius:6px;background:#fdfbf9;padding:11px 12px;font-size:13px;min-height:44px}.stack-form input::placeholder,.stack-form textarea::placeholder{color:#b5a8a0}.stack-form input[readonly]{color:#a9998f;background:#f5f1ed}.stack-form .button{align-self:start;min-width:130px}.stack-form .wide{align-self:stretch}.code-input{display:flex;gap:8px}.code-input input{flex:1;width:0!important}.code-button{background:#f3e7eb;color:var(--rose);font-size:11px;border-radius:6px;padding:0 13px;white-space:nowrap}.avatar-picker{display:flex;gap:9px;flex-wrap:wrap}.avatar-picker legend{font-size:12px;color:#7d6f67;margin-bottom:11px}.avatar-picker label{display:inline-flex;position:relative;cursor:pointer}.avatar-picker input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.avatar-picker .avatar{width:39px;height:39px;font-size:23px;border:2px solid transparent}.avatar-picker input:checked+.avatar{border-color:var(--rose);background:#f2dfe5}.avatar-picker input:focus-visible+.avatar{outline:2px solid var(--rose);outline-offset:2px}.dev-note{font-size:10px;color:#9e835f;background:#f8f0df;border-radius:4px;padding:7px 10px}.form-hint{font-size:11px}.form-hint:empty{display:none}.forgot-link{align-self:end;font-size:11px;color:var(--rose);margin-top:-8px}.auth-footnote{font-size:10px;color:#ad9c91;text-align:center;margin-top:22px}.auth-footnote a{text-decoration:underline}.account-welcome{display:flex;align-items:center;gap:22px;padding:25px 0 40px}.account-welcome h1{margin:5px 0;font-size:29px}.account-welcome p{font-size:13px;color:var(--muted)}.account-columns{display:grid;grid-template-columns:1fr 1fr;gap:28px}.account-columns .panel h2{font-size:20px}.progress-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:35px}.progress-card{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--line);border-radius:8px;padding:12px}.progress-card img{border-radius:5px;object-fit:cover}.progress-card b{font-size:12px;font-weight:500}.progress-card small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.progress-card .icon{margin-left:auto;width:15px}
.game-modes{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-bottom:45px}.mode-card{background:#f3e8e9;padding:34px 40px;border-radius:14px;position:relative;overflow:hidden}.mode-card.challenge-mode{background:#eaece5}.mode-symbol{position:absolute;right:28px;top:10px;font-family:Georgia,serif;font-size:125px;line-height:1.4;color:#c7a0a56b;font-weight:400}.challenge-mode .mode-symbol{color:#89978677}.mode-card h2{margin:14px 0;font-size:30px;font-family:"Songti SC",serif;letter-spacing:1px}.mode-card p{font-size:13px;color:#9a7f7f;line-height:2}.challenge-mode p{color:#7f8a79}.mode-card ul{list-style:none;padding:0;line-height:2.3;font-size:12px;color:#94797b;margin:17px 0 22px}.mode-card li:before{content:"✓";margin-right:9px}.challenge-mode ul{color:#7f8a79}.mode-card .button{font-size:12px}.game-level-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:23px}.level-card{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden;transition:transform .2s}.level-card:hover{transform:translateY(-4px)}.level-card img{width:100%;height:210px;object-fit:cover}.level-card>div{padding:17px 18px}.level-card span{font-size:10px;color:var(--muted)}.level-card h3{font-size:14px;margin:6px 0}.level-card p{font-size:11px;color:var(--rose);display:flex;align-items:center;justify-content:space-between;margin-top:12px}.level-card .icon{width:15px;height:15px}.mode-selector{font-size:12px;color:var(--muted)}.mode-selector select{padding:6px 10px;background:white;border:1px solid var(--line);border-radius:6px;margin-left:5px}.game-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.game-title h1{font-size:29px;margin-top:5px}.game-title .button{font-size:11px;min-height:38px}.play-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:26px;align-items:start}.play-panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;padding:22px}.play-toolbar{display:flex;align-items:center;gap:16px;color:var(--muted);font-size:11px}.play-toolbar #game-time{margin-left:auto;font-variant-numeric:tabular-nums}.game-progress{height:4px;border-radius:2px;background:#f1e8e3;overflow:hidden;margin:15px 0}.game-progress>div{height:100%;background:var(--rose);width:0;transition:width .3s}.canvas-viewport{position:relative;overflow:auto;height:min(60vw,560px);background:#f3efea;border:1px solid var(--line);border-radius:8px;overscroll-behavior:contain}.canvas-viewport canvas{display:block;width:100%;max-width:none;touch-action:none;cursor:crosshair}.canvas-loading{position:absolute;top:45%;width:100%;text-align:center;background:#f3efea;color:var(--muted);font-size:13px}.canvas-loading[hidden]{display:none}.game-tools{display:flex;gap:7px;align-items:center;padding:15px 0 8px;flex-wrap:wrap}.tool-button{padding:6px 12px;border-radius:5px;background:#f7f3ef;color:#8e7f74;font-size:11px;min-height:36px}.tool-button.active{color:var(--rose);background:var(--rose-pale)}.zoom-control{margin-left:auto;font-size:10px;color:var(--muted);display:flex;align-items:center;gap:5px}.zoom-control input{width:72px;accent-color:var(--rose)}.zoom-control output{width:31px}.game-instruction{font-size:11px;color:var(--muted);margin:7px 0 15px}.game-palette{display:flex;flex-wrap:wrap;gap:8px}.palette-button{display:flex;align-items:center;gap:6px;background:#faf7f3;border:1px solid var(--line);border-radius:7px;padding:7px;font-size:10px;min-width:81px}.palette-button.active{border-color:var(--rose);background:var(--rose-pale)}.palette-button .bead-swatch{width:25px;height:25px}.palette-button .bead-swatch:after{width:6px;height:6px;left:9px;top:9px}.palette-button small{font-size:9px;display:block;color:var(--muted)}.game-bottom{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding-top:20px;margin-top:18px;border-top:1px solid var(--line)}.game-bottom>span{width:100%;font-size:10px;color:var(--muted);margin-bottom:3px}.game-bottom .button{font-size:11px;min-height:36px;padding:8px 16px}.game-bottom .text-button{margin-left:auto;font-size:11px}.game-reference h2{font-size:19px;margin:8px 0 16px}.game-reference{padding:22px}.game-reference>img{border-radius:7px;width:100%;height:auto}.game-reference dl{margin:15px 0}.game-reference dl>div{display:flex;justify-content:space-between;font-size:11px;margin:7px 0}.game-reference dt{color:var(--muted)}.game-reference dd{margin:0}.game-reference p{font-size:11px;color:var(--muted);line-height:2}.game-reference>a{display:flex;align-items:center;gap:5px;color:var(--rose);font-size:11px;margin-top:18px}.game-reference .icon{width:14px;height:14px}.game-result{background:#eef2e7;color:#728065;border-radius:9px;padding:20px;text-align:center;margin-top:18px}.game-result.finished{animation:celebrate 1s ease}.game-result[hidden]{display:none}@keyframes celebrate{0%{transform:scale(.97);filter:brightness(1.2)}70%{transform:scale(1.01)}100%{transform:scale(1)}}
.prose{max-width:800px;padding-top:70px;padding-bottom:90px}.prose h1{font-family:"Songti SC",serif;margin:15px 0 25px;font-size:38px}.prose h2{font-size:21px;margin:35px 0 15px}.prose p{font-size:14px;color:#8d7e73;line-height:2.1;margin-bottom:16px}.prose .button{margin-top:28px}.error-page{padding-top:85px;padding-bottom:100px;text-align:center;min-height:65vh}.error-code{font:100px Georgia,serif;color:#d3abb8;letter-spacing:8px;margin:16px 0}.error-code>span{font-size:50px;vertical-align:middle}.error-page h1{font-size:26px;margin-bottom:15px}.error-page p{color:var(--muted);margin-bottom:30px}.error-page .button{margin:0 5px}.chart-scroll{overflow:auto}.bead-chart{border-collapse:collapse;margin:auto;table-layout:fixed;width:100%;min-width:670px}.bead-chart td{border:1px solid #c0b9b0;text-align:center;line-height:1;font:8px monospace;height:23px;padding:2px;-webkit-print-color-adjust:exact;print-color-adjust:exact}.print-watermark{text-align:center;margin:20px 0;color:var(--rose);font-size:14px}.print-page .material-list{margin:20px 0 40px}.admin-pattern{border-bottom:1px solid var(--line);padding:15px 0}.admin-pattern summary{display:flex;align-items:center;gap:13px;cursor:pointer}.admin-pattern summary img{border-radius:5px;object-fit:cover}.admin-pattern summary strong{font-size:13px}.admin-pattern summary .pill{margin-left:auto}.admin-pattern form{padding:15px;background:var(--paper);border-radius:6px}.admin-fields{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.admin-comment{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.admin-comment>div{min-width:0;overflow-wrap:anywhere}.admin-comment p{color:var(--muted);margin-top:5px}.job-log{font-size:12px;border-top:1px solid var(--line);padding:15px 0}.job-log pre{white-space:pre-wrap;overflow-wrap:anywhere;font:11px monospace;color:var(--muted)}
@media(min-width:1450px){.hero{min-height:470px}.hero-copy{padding-left:65px}.hero h1{font-size:53px}.art-print{width:320px;height:365px}.art-print img{height:293px}.masonry{--masonry-cols:5}.card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.container,.header-inner{width:calc(100% - 56px)}.desktop-nav{gap:23px}.brand strong{font-size:22px}.brand strong i{font-size:13px}.hero{min-height:410px}.hero-copy{padding:37px 0 32px 35px}.hero h1{font-size:40px}.hero-art{padding-right:20px}.art-print{width:255px;height:315px}.art-print img{height:248px}.note-top{right:7px;font-size:13px;top:40px}.note-bottom{left:-8px;font-size:12px;bottom:25px}.hero-star{right:22px}.masonry{--masonry-cols:3}.card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.related .card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.card-stats{gap:7px}.rank-list{padding:0 17px}.rank-list li{gap:10px}.rank-heading{padding:20px 16px}.rank-heading>.pill{display:none}.rank-thumb{width:63px;height:69px}.detail-layout{gap:30px}.detail-info h1{font-size:27px}.detail-links{flex-wrap:wrap}.auth-layout{gap:60px}.auth-card{padding:27px}.auth-intro h1{font-size:37px}.play-layout{grid-template-columns:minmax(0,1fr) 235px;gap:20px}.game-reference{padding:18px}.game-level-grid{gap:18px}.level-card img{height:180px}.progress-list{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-brand>small{display:none}}
@media(max-width:800px){.container,.header-inner{width:calc(100% - 40px)}.site-header{height:76px}.desktop-nav{gap:18px}.desktop-nav>a{font-size:11px}.desktop-nav>a.active:after{bottom:13px}.brand img{width:34px;height:34px}.brand strong{font-size:21px}.brand strong i{font-size:11px;margin-left:5px}.brand small{font-size:7px;letter-spacing:1px}.login-link{font-size:10px;gap:4px}.hero{grid-template-columns:1fr 1fr;min-height:373px}.hero-copy{padding:33px 0 24px 28px}.hero-copy .eyebrow{font-size:7px;letter-spacing:1.1px}.hero h1{font-size:34px;letter-spacing:2px;margin-top:18px}.hero h1 .hero-heart{font-size:27px;margin-left:5px}.hero p{font-size:11px}.hero .button{font-size:10px;padding:10px 16px;min-height:38px;margin-top:20px}.hero-note{font-size:8px;gap:5px}.tiny-beads i{width:10px;height:10px}.art-print{width:220px;height:270px;padding:10px 13px}.art-print img{height:211px}.print-label{font-size:5px;letter-spacing:1.5px}.print-caption span{font-size:8px}.print-caption b{font-size:5px}.art-print:before{left:70px;width:70px}.hero-art{padding-right:5px}.note-top{font-size:11px;right:0;top:28px}.note-bottom{left:0;bottom:17px;font-size:11px}.hero-star{font-size:30px;right:5px;top:140px}.dot-two{left:5px;top:65px}.dot-one{right:15px;bottom:45px}.section-heading>p{display:none}.filter-chip span{padding:0 12px}.filter-options{gap:6px}.filter-row legend{width:51px}.masonry{--masonry-gap:15px}.card-body{padding:12px}.card-body h3{font-size:12px}.card-category{font-size:8px}.card-dim{display:none}.card-stats{font-size:9px;gap:7px}.card-stats .card-rating{font-size:8px}.card-stats .icon{width:11px;height:11px}.game-banner{padding:25px;gap:17px}.game-banner h2{font-size:20px}.game-banner p{font-size:10px}.game-banner>.button{padding:8px 17px;font-size:11px}.banner-icon{width:48px;height:48px}.rank-columns{gap:18px}.rank-count{font-size:10px}.rank-count .icon{display:none}.rank-info h3{font-size:11px}.rank-heading h2{font-size:18px}.rank-badge{width:32px;height:32px}.rank-heading p{font-size:9px}.detail-layout{gap:24px}.detail-info h1{font-size:24px}.detail-description{font-size:12px;margin:15px 0}.detail-info .eyebrow{font-size:8px;letter-spacing:1px}.detail-actions{flex-direction:column}.specs{margin:16px 0;padding:15px 0}.specs dd{font-size:19px}.rating-form{flex-wrap:wrap;gap:5px}.panel{padding:22px}.auth-layout{gap:35px}.auth-intro h1{font-size:31px}.auth-intro p{font-size:11px}.auth-motif{gap:10px}.auth-motif img{width:90px;height:90px}.auth-motif span{font-size:9px}.auth-heading h2{font-size:19px}.auth-card{padding:24px}.mode-card{padding:28px}.mode-card h2{font-size:27px}.mode-symbol{font-size:95px;right:15px}.mode-card p{font-size:12px}.game-level-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.play-layout{grid-template-columns:minmax(0,1fr) 195px;gap:15px}.play-panel{padding:15px}.game-reference{padding:14px}.game-tools{gap:5px}.tool-button{padding:6px 9px}.zoom-control{margin-top:7px}.account-columns{gap:20px}.related .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body{font-size:13px}.container,.header-inner{width:calc(100% - 32px)}.site-header{height:68px}.desktop-nav{display:none}.brand strong{font-size:23px}.brand img{width:35px;height:35px}.brand strong i{font-size:13px;margin-left:7px}.brand small{font-size:7px;letter-spacing:1.8px}.login-link{font-size:11px}.login-link .icon{width:16px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;align-items:center;background:#fffdfaf5;border-top:1px solid var(--line);z-index:30;padding:9px 5px calc(9px + env(safe-area-inset-bottom));backdrop-filter:blur(12px)}.mobile-nav>a{display:flex;align-items:center;flex-direction:column;gap:3px;font-size:9px;color:#a3988f;min-width:55px}.mobile-nav>a.active{color:var(--rose)}.mobile-nav .icon{width:20px;height:20px}.site-footer{padding-bottom:100px}.hero{margin-top:18px;min-height:345px;border-radius:10px;grid-template-columns:1.2fr .8fr;overflow:hidden}.hero-copy{padding:28px 0 24px 22px}.hero-copy .eyebrow{font-size:6px;letter-spacing:.65px;gap:4px;white-space:nowrap}.hero-copy .eyebrow>span{width:3px;height:3px}.hero h1{font-size:31px;letter-spacing:1px;margin:19px 0 14px;line-height:1.5;white-space:nowrap}.hero h1 .hero-heart{display:none}.hero p{font-size:10px;line-height:2}.hero .button{margin-top:20px;font-size:9px;padding:9px 12px;gap:7px;min-height:35px}.hero .button .icon{width:14px;height:14px}.hero-note{font-size:7px;letter-spacing:-.1px;margin-top:17px;gap:4px;max-width:190px}.tiny-beads{display:none}.hero-art{padding:0;justify-content:start;overflow:visible}.art-print{width:175px;height:227px;margin-left:-6px;transform:rotate(9deg);flex-shrink:0;padding:10px}.art-print img{height:172px}.print-label{font-size:4px;letter-spacing:1px}.print-caption{padding-top:7px}.print-caption span{font-size:6px}.print-caption b{font-size:4px}.art-print:before{left:60px;width:55px;height:20px;top:-5px}.note-top{top:37px;right:-9px;font-size:9px;letter-spacing:.2px}.note-top span{font-size:18px}.note-bottom{left:6px;bottom:40px;font-size:9px;letter-spacing:0}.note-bottom span{font-size:22px}.hero-star{display:none}.dot-one{right:5px;bottom:24px;width:13px;height:13px}.dot-two{top:46px;left:2px;width:12px;height:12px}.hero-dot:after{width:4px;height:4px;left:4px;top:4px}.intro-strip{padding:15px 0 17px;font-size:8px;gap:8px}.intro-strip>span{gap:5px}.intro-strip>span:last-child{font-size:8px}.intro-strip .icon{width:11px}.intro-strip i{margin:0 1px}.discover{padding-top:26px}.section-heading{margin-bottom:17px;gap:10px}.section-heading h2{font-size:22px;letter-spacing:.5px}.section-heading .eyebrow{font-size:7px;letter-spacing:1.2px}.section-heading>span,.section-heading>a{font-size:10px}.filter-row{padding:5px 0;align-items:start}.filter-row legend{width:40px;font-size:10px;line-height:28px;letter-spacing:1px}.filter-options{gap:3px 4px}.filter-chip span{font-size:10px;padding:0 10px;line-height:27px}.search-row{margin-top:16px;margin-bottom:18px;gap:7px}.search-row .button{padding:9px 14px;font-size:11px;min-height:42px}.search-field{padding:0 10px;gap:7px;min-height:42px}.search-field .icon{width:14px}.search-field input{font-size:10px;height:40px}.clear-filters{font-size:10px;white-space:nowrap}.results-toolbar{font-size:10px;padding-top:13px}.results-toolbar .muted{display:none}.results-toolbar select{font-size:10px}.results-toolbar label{font-size:9px;gap:3px}.masonry{--masonry-cols:2;--masonry-gap:12px}.pattern-card{margin-bottom:12px;border-radius:8px}.card-body{padding:12px 11px}.card-category{font-size:8px;letter-spacing:0}.card-body h3{font-size:11px;margin:5px 0 12px;line-height:1.6}.card-stats{gap:9px;font-size:8px}.card-stats .card-rating{font-size:8px}.card-stats .icon{width:10px;height:10px}.card-stats>span{gap:3px}.difficulty{top:9px;left:9px;font-size:8px;padding:1px 6px}.list-end{font-size:8px;gap:8px;padding:24px 0}.list-end>span{width:17px}.game-banner{padding:23px 19px;gap:13px;flex-wrap:wrap;margin-bottom:28px}.banner-icon{width:40px;height:40px;border-radius:11px}.banner-icon .icon{width:25px;height:25px}.game-banner h2{font-size:18px}.game-banner .eyebrow{font-size:6px;letter-spacing:1.3px}.game-banner p{font-size:9px}.game-banner>.button{margin-left:53px;min-height:33px;padding:7px 17px;font-size:10px}.footer-inner{align-items:start;gap:15px}.footer-brand{gap:5px}.footer-brand>span{font-size:12px}.footer-brand img{width:25px;height:25px}.footer-inner>div:last-child{flex-direction:column;gap:5px;font-size:8px;text-align:right}.toast{bottom:90px;font-size:12px;width:max-content;max-width:calc(100% - 35px)}.page-space{padding-top:23px}.page-heading{padding:15px 0 27px}.page-heading h1{font-size:26px}.page-heading p{font-size:12px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.3px}.rank-columns{grid-template-columns:1fr;gap:24px}.rank-heading{padding:22px}.rank-heading h2{font-size:21px}.rank-heading p{font-size:10px}.rank-heading>.pill{display:inline-flex;font-size:7px}.rank-list{padding:0 22px}.rank-list li{gap:14px;padding:17px 0}.rank-thumb{width:76px;height:82px}.rank-info h3{font-size:12px}.rank-count{font-size:12px}.rank-count .icon{display:block;width:13px}.rank-number{font-size:22px}.breadcrumbs{font-size:10px;gap:8px;margin-bottom:20px}.detail-layout{grid-template-columns:1fr;gap:24px;margin-bottom:25px}.detail-image{max-width:100%;}.detail-info{padding:0 3px}.detail-info h1{font-size:28px}.detail-description{font-size:13px}.detail-actions{flex-direction:row}.detail-actions .button{font-size:12px;padding:10px 16px}.specs{margin:22px 0;padding:18px 0}.specs dd{font-size:23px}.detail-links{font-size:10px;justify-content:start;gap:22px}.rating-form{gap:14px}.panel{padding:21px 18px;border-radius:10px;margin-bottom:22px}.section-heading.compact{flex-wrap:wrap}.section-heading.compact h2{font-size:19px}.material-list{gap:17px}.material-list>div{min-width:125px}.material-list b{font-size:10px}.material-list small{font-size:9px}.comment-login{font-size:11px;padding:19px}.comment-login a{display:flex;justify-content:center;margin:8px 0 0}.comment-form .muted{font-size:9px}.comment-form .button{min-height:37px;padding:8px 15px;font-size:11px}.comment p{font-size:12px}.comment time{font-size:9px}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.auth-layout{grid-template-columns:1fr;gap:0;padding:28px 0 40px;max-width:430px}.auth-intro{padding:0 6px 24px}.auth-intro .eyebrow{font-size:8px}.auth-intro h1{font-size:25px;line-height:1.6;margin:10px 0;letter-spacing:1px}.auth-intro h1 br{display:none}.auth-intro p,.auth-motif{display:none}.auth-card{padding:26px 24px}.auth-heading h2{font-size:22px}.auth-tabs{margin-top:22px}.avatar-picker{gap:10px}.auth-card .avatar-picker .avatar{width:37px;height:37px}.stack-form input:not([type=radio]),.stack-form select,.stack-form textarea{font-size:16px}.account-welcome{padding:10px 0 28px;gap:15px}.account-welcome h1{font-size:24px}.account-welcome p{font-size:11px}.account-welcome .eyebrow{font-size:8px}.avatar.large{width:65px;height:65px;font-size:36px}.account-columns{grid-template-columns:1fr;gap:0}.progress-list{grid-template-columns:1fr;gap:10px}.progress-card img{width:52px;height:52px}.game-modes{grid-template-columns:1fr;gap:17px;margin-bottom:30px}.mode-card{padding:28px}.mode-card h2{font-size:29px}.mode-symbol{font-size:125px;right:25px}.mode-card p{font-size:12px}.mode-card p br{display:none}.mode-card ul{margin:15px 0 21px}.game-level-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.level-card img{height:175px}.level-card>div{padding:13px}.level-card h3{font-size:12px}.level-card span{font-size:9px}.level-card p{font-size:10px;margin-top:8px}.mode-selector{font-size:0;flex-shrink:0}.mode-selector select{font-size:10px;padding:7px 3px}.game-title{align-items:start}.game-title h1{font-size:23px;letter-spacing:0}.game-title .eyebrow{font-size:7px;letter-spacing:1px}.game-title .button{font-size:9px;min-height:32px;padding:6px 9px;margin-top:23px}.play-layout{grid-template-columns:1fr;gap:20px}.play-panel{padding:13px}.play-toolbar{font-size:10px;gap:10px}.play-toolbar .pill{font-size:9px}.canvas-viewport{height:85vw;max-height:500px}.game-tools{gap:5px}.tool-button{min-height:36px;font-size:10px;padding:6px 8px}.zoom-control{font-size:9px;gap:3px;margin-top:0}.zoom-control input{width:50px}.zoom-control output{width:25px}.game-palette{gap:7px}.palette-button{min-width:72px;padding:6px;font-size:9px}.game-bottom .text-button{font-size:10px}.game-reference{display:grid;grid-template-columns:100px 1fr;gap:0 20px;padding:18px;align-items:center}.game-reference>.eyebrow{grid-column:1/-1}.game-reference h2{grid-column:1/-1;font-size:17px;margin:6px 0 14px}.game-reference>img{width:100px;height:108px;object-fit:cover;grid-row:3/5}.game-reference dl{margin:0}.game-reference dl>div{font-size:10px;margin:3px 0}.game-reference>p{display:none}.game-reference>a{font-size:10px;margin-top:10px}.subtle-note{font-size:10px}.error-page{padding-top:60px;min-height:65vh}.error-page h1{font-size:23px}.error-page p{font-size:12px}.error-code{font-size:80px}.prose{padding-top:42px}.prose h1{font-size:29px}.prose p{font-size:13px}.admin-fields{grid-template-columns:1fr 1fr}.admin-pattern summary{gap:8px}.admin-pattern summary strong{font-size:11px}.admin-pattern summary .pill{font-size:9px}.admin-pattern summary img{width:40px;height:40px}.admin-comment .button{font-size:10px;padding:7px 12px;min-height:34px}.print-page h1{font-size:22px}.print-page .section-heading{align-items:center}.print-page .section-heading p{font-size:11px}}
@media(max-width:359px){.container,.header-inner{width:calc(100% - 24px)}.hero-copy{padding-left:16px}.hero h1{font-size:28px}.hero-art{margin-left:-10px}.hero p{font-size:9px}.hero .button{font-size:8px;padding:8px 10px}.hero-note{font-size:6px}.intro-strip>span:last-child{display:none}.card-stats{gap:5px}.card-body{padding:10px}.game-title h1{font-size:20px}.zoom-control{width:100%;justify-content:end}.game-banner h2{font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
.palette-note{color:var(--muted);font-size:12px;margin-bottom:20px}.palette-search{max-width:500px;margin-bottom:25px}.color-card-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:14px}.color-card{background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden}.color-card[hidden]{display:none}.color-card>div{height:86px;display:flex;align-items:center;justify-content:center}.color-card>div>strong{font:22px Georgia,serif}.color-card p{padding:10px 12px 0;display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:10px}.color-card p span{color:var(--muted);font-size:9px}.color-card>small{display:block;font-size:9px;color:var(--muted);padding:3px 12px 12px}.materials .muted a{color:var(--rose);text-decoration:underline}.section-heading h1{font-size:25px;letter-spacing:1px;margin:5px 0 0}
@media(max-width:800px){.color-card-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:640px){.hero{display:block;min-height:385px}.hero-copy{padding:27px 22px;z-index:3;pointer-events:none}.hero-copy a{pointer-events:auto}.hero h1{font-size:34px;letter-spacing:2px;line-height:1.5}.hero-art{position:absolute;right:-12px;bottom:17px;width:151px;height:190px;z-index:1;margin:0}.art-print{width:150px;height:192px;transform:rotate(9deg);margin:0}.art-print img{height:144px}.art-print:before{left:46px}.note-top{display:none}.note-bottom{font-size:8px;bottom:-14px;left:-10px}.note-bottom span{font-size:18px}.dot-one,.dot-two{display:none}.hero-note{max-width:180px;font-size:7px}.color-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.color-card>div{height:70px}.color-card p{padding:8px 8px 0}.color-card p span{font-size:8px}.color-card>small{padding:3px 8px 9px}.section-heading h1{font-size:22px}}
@media print{.site-header,.site-footer,.mobile-nav,.skip-link,.print-page button,.toast{display:none!important}body{background:#fff}.container{width:100%;max-width:none}.print-page{padding:0}.bead-chart{min-width:0;width:100%;break-inside:avoid}.bead-chart td{height:17px;font-size:7px}.print-watermark{font-size:12px}.print-page h1{font-size:22px}.print-page .material-list{gap:12px}.material-list>div{min-width:110px}.print-page .subtle-note{font-size:10px}@page{size:A4 landscape;margin:12mm}}
.footer-dedication{text-align:center;color:var(--rose);font-size:12px;line-height:1.9;letter-spacing:.7px;margin:20px auto 0;padding:0 20px}
.footer-record{text-align:center;font-size:11px;line-height:1.8;margin:8px auto 0;padding:0 20px}.footer-record a:hover,.footer-record a:focus-visible{color:var(--rose);text-decoration:underline}
