/* DOOUYOU Bead World — complete converter, materials and club presentation. */
/* DOOUYOU Precision — shared photo studio, material list and community presentation. */
:root{color-scheme:light;--ink:#143f35;--muted:#67776b;--green:#1d5c49;--line:#dedfcf;--soft:#f0eee4;--paper:#faf7ef;--accent:#1d5c49;--dy-font:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;--dy-ink:#143f35;--dy-brand:#1d5c49;--dy-border:#dedfcf;--dy-cream:#faf7ef;--dy-muted:#67776b;--dy-bg:#faf7ef;--dy-paper:#fff;--dy-surface:#fff;--dy-radius:16px;background:#faf7ef;color:#143f35;font-family:var(--dy-font);font-synthesis:none}
body{margin:0;background:#faf7ef;color:#143f35;font-family:var(--dy-font);line-height:1.6;min-width:320px;-webkit-text-size-adjust:100%}
body.pattern-studio,body.kit-page{background:#faf7ef}
body :is(button,input,select,textarea){font-family:var(--dy-font)}
body :is(button,.primary,.secondary,.dy-button,.dy-link,.text-button,.icon-button){min-height:44px}
body :is(button,.primary,.secondary,.dy-button){font-weight:500;box-shadow:none;letter-spacing:0}
body button:disabled{cursor:not-allowed}
body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){min-height:48px;font-size:16px;border-color:#cdd5c5;border-radius:6px;color:#143f35;background-color:#fff;box-shadow:none}
body input[type=checkbox],body input[type=radio]{accent-color:#1d5c49}
body input[type=range]{min-height:44px;accent-color:#1d5c49}
body :is(a,button,input,select,textarea,summary,canvas):focus-visible{outline:2px solid #1d5c49;outline-offset:3px}
body :is(.primary,.dy-button),body .dy-club .dy-button,body .dy-club-dialog .dy-button{background:#1d5c49;border:1px solid #1d5c49;border-radius:7px;color:#fff;font:500 15px/1.45 var(--dy-font);min-height:48px;padding:12px 21px;text-decoration:none;box-shadow:none}
body :is(.primary,.dy-button):hover:not(:disabled),body .dy-club .dy-button:hover:not(:disabled),body .dy-club-dialog .dy-button:hover:not(:disabled){background:#246b50;border-color:#246b50;color:#fff;box-shadow:none;transform:none}
body :is(.secondary,.dy-button--outline),body .dy-club .dy-button--outline,body .dy-club-dialog .dy-button--outline{background:#fff;border:1px solid #cdd5c5;border-radius:7px;color:#1d5c49;font-weight:500;box-shadow:none}
body :is(.secondary,.dy-button--outline):hover:not(:disabled),body .dy-club .dy-button--outline:hover:not(:disabled),body .dy-club-dialog .dy-button--outline:hover:not(:disabled){background:#f0eee4;border-color:#afc0a7;color:#1d5c49;box-shadow:none}
body .text-button,body .dy-link{color:#1d5c49;font-weight:500;text-underline-offset:4px}
body :is(.studio-nav,.pattern-studio .studio-nav,.kit-header){display:flex;align-items:center;gap:24px;position:sticky;top:0;z-index:20;width:100%;max-width:none;min-height:64px;padding:8px max(28px,calc((100vw - 1280px)/2));margin:0;border:0;border-bottom:1px solid #dedfcf;background:#fff;box-shadow:none;transition:box-shadow .2s ease}
@supports ((-webkit-backdrop-filter:blur(16px)) or (backdrop-filter:blur(16px))){body :is(.studio-nav,.pattern-studio .studio-nav,.kit-header){background:rgba(250,247,239,.95);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}}
body .precision-scrolled:is(.studio-nav,.kit-header){box-shadow:0 3px 14px #143f3506}
body :is(.studio-brand,.kit-header .brand){display:flex;align-items:center;gap:7px;min-height:44px;color:#143f35;font:750 23px/1 var(--dy-font);letter-spacing:-.85px;text-decoration:none;white-space:nowrap}
body :is(.bead-mark,.brand-bead){display:inline-block;flex:none;width:24px;height:27px;border:0;border-radius:0;box-shadow:none;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='32' viewBox='0 0 29 32' fill='none'%3E%3Crect x='1.5' y='1.5' width='26' height='29' rx='3' stroke='%2317251f' stroke-width='2'/%3E%3Cpath d='M14.5 23.5S6 18.3 6 13.2a4.8 4.8 0 0 1 8.5-3 4.8 4.8 0 0 1 8.5 3c0 5.1-8.5 10.3-8.5 10.3Z' stroke='%2317251f' stroke-width='1.9' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
body .brand-small{display:none}
body .studio-nav nav{display:flex;align-items:center;gap:6px;margin-left:auto}
body .studio-nav nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 15px;border:0;border-radius:7px;background:transparent;color:#67776b;font-size:13px;font-weight:500;text-decoration:none;line-height:1.4}
body .studio-nav nav a[aria-current=page]{background:#e7ecdd;color:#143f35}
body .studio-nav nav a:hover{background:#f0eee4;color:#1d5c49}
body .studio-nav .shop-link{color:#1d5c49}
body :is(.studio-nav .language-select,.kit-header select){width:auto;max-width:120px;min-height:44px;padding:8px 22px 8px 7px;border:0;border-radius:0;background-color:transparent;font-size:14px;color:#67776b}
body .studio-main{width:100%;max-width:1440px;margin:auto;padding:28px 32px 24px}
body .studio-journey{gap:18px;padding:0 8px 20px;margin:0 0 24px;border:0;border-bottom:1px solid #dedfcf;border-radius:0;background:transparent;color:#67776b;font-size:13px}
body .studio-journey li{justify-content:center;min-height:40px;gap:10px}
body .studio-journey li+li{border-left:1px solid #dedfcf}
body .journey-number{width:25px;height:25px;background:#ecebda;color:#67776b;font-size:12px}
body .studio-journey [aria-current=step]{color:#143f35;font-weight:600}
body .studio-journey [aria-current=step] .journey-number{background:#1d5c49;color:#fff}
body .studio-journey .is-complete .journey-number{background:#e4eedc;color:#1d5c49}
body .workspace{display:grid;grid-template-columns:300px minmax(0,1fr);align-items:start;gap:24px}
body .workspace>.editor{grid-column:2;grid-row:1;min-width:0;border:1px solid #dedfcf;border-radius:6px;background:#fff;box-shadow:none;overflow:hidden}
body .workspace>.controls{grid-column:1;grid-row:1;min-width:0;padding:22px;border:1px solid #dedfcf;border-radius:6px;background:#f1eee0;box-shadow:none}
body .control-section>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;list-style:none;cursor:pointer;color:#143f35;font-size:16px;font-weight:600}
body .control-section>summary::-webkit-details-marker{display:none}
body .control-section>summary::after{content:'+';margin-left:auto;flex:none;color:#67776b;font-size:22px;font-weight:300;line-height:1}
body .control-section[open]>summary::after{transform:rotate(45deg)}
body .control-section .step{display:none}
body .control-section+.control-section{border-top:1px solid #dedfcf;margin-top:18px;padding-top:12px}
body .controls :is(h2,.field,.range-label){font-family:var(--dy-font)}
body .controls .field{font-size:14px;font-weight:400;line-height:1.6;margin-top:14px}
body .controls .two-fields{gap:10px}
body .controls select,body .controls input[type=number]{width:100%;padding:10px}
body .controls .check-field{display:flex;align-items:center;min-height:44px;font-size:13px;line-height:1.6}
body .controls .palette-label{padding:12px;border:0;border-radius:7px;background:#f0eee4}
body .controls .muted{font-size:12px;color:#67776b}
body .controls .range-label{display:flex;align-items:center;justify-content:space-between;font-size:14px;margin-top:12px}
body .controls .button-row button{font-size:13px;min-height:44px;padding:9px 10px}
body .controls .generate-button{width:100%;min-height:52px;margin-top:20px;border-radius:7px;font-size:16px}
body .generate-next-note{font-size:12px;line-height:1.6;margin-top:10px}
body .editor-toolbar{min-height:68px;padding:12px 18px;border-bottom:1px solid #e4e6d8;background:#fff;gap:10px}
body .view-tabs{display:flex;gap:3px;flex:none;padding:3px;border-radius:7px;background:#f0eee4}
body .view-tabs button{min-height:44px;padding:9px 18px;border:0;border-radius:7px;background:transparent;color:#67776b;font-size:14px;font-weight:500;box-shadow:none}
body .view-tabs button[aria-selected=true]{background:#f5df9e;color:#143f35;box-shadow:0 1px 3px #143f350c}
body .editor-actions{gap:12px}
body .board-size{font-size:12px;color:#67776b}
body .replace-image{min-height:44px;font-size:13px}
body .canvas-panel{background:#dcecf3}
body .empty-state{padding:24px}
body .empty-state h2{display:block;font:600 25px/1.4 var(--dy-font);letter-spacing:-.025em;margin-top:22px;color:#143f35}
body .empty-state p{font-size:14px;line-height:1.65;margin-top:10px;margin-bottom:22px;color:#67776b}
body .empty-state .primary{min-height:50px;padding-inline:27px}
body .empty-state #demoButton{min-height:44px;margin-top:8px;font-size:14px}
body .empty-state>span:not(.empty-beads){font-size:11px;color:#67776b}
body .empty-beads i{box-shadow:none}
body .canvas-footer{padding:12px 18px;border-top:1px solid #e4e6d8;background:#fff;color:#67776b}
body .canvas-footer>p{font-size:12px}
body .pattern-tools{gap:8px}
body .pattern-tools :is(button,label){min-height:44px}
body .pattern-tools .icon-button{min-width:44px;min-height:44px;border:1px solid #dedfcf;border-radius:7px}
body .pattern-tools .secondary{font-size:13px;padding-inline:13px}
body .reading-status{background:#f0eee4;color:#67776b;border-color:#e4e6d8}
body .pattern-result{border-color:#e4e6d8;padding:0 22px 22px}
body .result-stats{padding-block:24px}
body .result-stats dd{font:600 22px/1.4 var(--dy-font);letter-spacing:-.02em}
body .result-stats dt{color:#67776b;font-size:12px}
body .result-next-heading h2{font:600 18px/1.5 var(--dy-font);letter-spacing:-.02em}
body .result-bead-size{border:0;border-radius:7px;background:#e7ecdd;color:#67776b;padding:4px 11px}
body .result-actions>.primary,body .result-actions>.secondary{border-radius:7px;min-height:48px;font-size:14px;font-weight:500}
body .materials{padding:28px;border:0;border-radius:6px;background:#fff;box-shadow:none}
body .section-heading h2{font:600 22px/1.4 var(--dy-font);letter-spacing:-.02em}
body .section-heading p{font-size:13px;color:#67776b;line-height:1.65}
body .color-list{gap:10px}
body .color-list .color-item{min-height:68px;border:1px solid #dedfcf;border-radius:7px;background:#fff;padding:12px}
body .color-list .color-item[aria-pressed=true]{padding:11px;border:2px solid #1d5c49;background:#fff}
body .color-list .color-item strong{font:600 14px/1.5 var(--dy-font);color:#143f35}
body :is(.page-footer,.kit-footer,.club-footer){border-color:#dedfcf;color:#67776b;font-size:12px;letter-spacing:0;background:transparent}
body .kit-header{justify-content:space-between}
body .kit-main{max-width:1200px;padding:28px 32px 60px}
body .kit-back{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:#1d5c49}
body .kit-heading{margin:20px 0 24px}
body .kit-heading .eyebrow,body .kit-tools .eyebrow{display:none}
body .kit-heading h1{font:600 clamp(28px,3vw,40px)/1.25 var(--dy-font);letter-spacing:-.035em;margin:0 0 12px}
body .kit-heading>p:last-child{font-size:15px;line-height:1.75;color:#67776b}
body .kit-steps{font-size:13px;gap:12px;color:#67776b}
body .kit-steps [aria-current]{color:#1d5c49;font-weight:600}
body .kit-pattern{padding:24px;border:0;border-radius:6px;background:#e8eee0}
body .kit-pattern h2{font:600 20px/1.4 var(--dy-font);letter-spacing:-.02em}
body .kit-bead{border-color:#9cae82}
body :is(.kit-list,.kit-summary,.kit-tools){padding:26px;border:0;border-radius:6px;background:#fff;box-shadow:none}
body .kit-list-heading h2,body .kit-tools h2,body .kit-summary h2{font:600 20px/1.4 var(--dy-font);letter-spacing:-.02em}
body .kit-layout{gap:24px}
body .kit-summary{top:84px}
body .kit-total{font:600 38px/1.2 var(--dy-font);letter-spacing:-1px}
body .kit-row a{font-weight:600;color:#143f35;min-height:44px;display:inline-flex;align-items:center}
body .kit-row p{font-size:13px;color:#67776b}
body .kit-cart{display:flex;align-items:center;justify-content:center;min-height:44px;color:#1d5c49}
body .kit-tools-grid{gap:12px}
body .kit-tool{border-color:#dedfcf;border-radius:7px;background:#fff;box-shadow:none}
body .kit-tool[data-selected=true]{border-color:#1d5c49;background:#f4f4e6}
body .kit-tool-image{border-radius:6px;background:#f0eee4}
body .kit-tool-image img{object-fit:contain}
body .kit-tool h3{font:600 15px/1.5 var(--dy-font);letter-spacing:0}
body .kit-tool-select{min-height:44px;font-size:14px}
body .dy-club{--club-ink:#143f35;--club-muted:#67776b;--club-paper:#fff;--club-sky:#f0eee4;--club-gold:#f0eee4;padding-block:48px 72px;background:#faf7ef;color:#143f35;font:400 16px/1.6 var(--dy-font)}
body .dy-club>.dy-container{width:min(1200px,calc(100% - 80px))}
body .dy-club-head{align-items:center;margin-bottom:28px;gap:24px}
body .dy-club-head .dy-eyebrow{display:none}
body .dy-club-head h1{font:600 clamp(30px,3.3vw,44px)/1.2 var(--dy-font);letter-spacing:-.035em;margin:0 0 12px}
body .dy-club-head p{color:#67776b;font-size:15px;line-height:1.7}
body .dy-club-filters{padding:18px 0;border-color:#dedfcf;margin-bottom:24px}
body .dy-club-filters p{font-size:13px;color:#67776b}
body .dy-club-filters select{min-height:44px;font-size:16px;border-color:#cdd5c5;border-radius:6px}
body .dy-club-grid{gap:24px}
body .dy-club-card,body .member-work,body .member-point,body .dy-club-review-card{border:1px solid #dedfcf;border-radius:9px;background:#fff;box-shadow:none;overflow:hidden}
body .dy-club .dy-club-card__image{border:0;border-bottom:1px solid #e4e6d8;border-radius:0;background:#eef1e6;padding:8px;overflow:hidden}
body .dy-club .dy-club-card__image:hover{background:#eef1e6;transform:none}
body .dy-club-card__image img{object-fit:contain;filter:none;transform:none}
body .dy-club-card__body{padding:20px}
body .dy-club-card__body h2{font:600 18px/1.45 var(--dy-font);letter-spacing:-.02em;margin-bottom:12px;color:#143f35}
body .dy-club-card__author,body .dy-club-card__meta{color:#67776b;font-family:var(--dy-font)}
body .dy-club-card__actions{gap:8px}
body .dy-club .dy-club-card__actions :is(a,button){min-height:44px;padding:9px 12px;border-radius:7px;box-shadow:none;font:500 13px/1.4 var(--dy-font)}
body .dy-club :is(button,.dy-button),body .dy-club-dialog button{font-family:var(--dy-font);font-weight:500}
body .dy-club :is(button,.dy-button):active:not(:disabled),body .dy-club-dialog button:active:not(:disabled){transform:none}
body .dy-club-empty,body .member-note,body .member-status{border:0;border-radius:8px;background:#e1edf0;box-shadow:none;color:#67776b}
body .dy-club-empty h2{font:600 22px/1.45 var(--dy-font);letter-spacing:-.02em;color:#143f35}
body .member-tabs{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;padding:6px 0 16px;margin:20px 0 28px;border-color:#dedfcf;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity}
body .member-tabs button{flex:none;min-height:44px;scroll-snap-align:start;font-size:14px;font-weight:500;white-space:nowrap;border-radius:7px;background:#fff;color:#67776b;border-color:#dedfcf}
body .dy-club .member-tabs button[aria-pressed=true]{background:#1d5c49;color:#fff;border-color:#1d5c49;box-shadow:none}
body .member-stat{background:#f0eee4;border:0;border-radius:8px;box-shadow:none}
body .member-stat strong{color:#143f35;font-weight:600}
body .member-space-head h2,body .member-work h3{font-family:var(--dy-font);font-weight:600;letter-spacing:-.02em}
body dialog{padding:26px;max-height:calc(100dvh - 48px);border:1px solid #dedfcf;border-radius:6px;background:#fff;color:#143f35;box-shadow:0 24px 70px #143f3524;font-family:var(--dy-font);overscroll-behavior:contain}
body dialog::backdrop{background:#143f3566;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
body .dy-club-dialog{background:#fff;font-family:var(--dy-font)}
body .dy-club-dialog>header{align-items:center;border-color:#dedfcf}
body .dy-club-dialog>header h2,body .dialog-head h2{font:600 23px/1.3 var(--dy-font);letter-spacing:-.025em}
body .dy-club-dialog>header button,body .dialog-head .icon-button{min-width:44px;min-height:44px;border:0;border-radius:7px;background:#f0eee4;color:#143f35;box-shadow:none}
body .dy-club-form :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){font:400 16px/1.6 var(--dy-font);min-height:48px;border-color:#cdd5c5;border-radius:6px;background:#fff;color:#143f35}
body .dy-club-form label{font-size:14px;font-weight:500;color:#143f35}
body .dy-club-form .dy-club-upload-drop{min-height:150px;border:1px dashed #afc0a7;border-radius:8px;background:#f0eee4;box-shadow:none}
body .dy-club-detail__viewport{border-color:#dedfcf;border-radius:7px;background:#fff}
body .download-options button{min-height:72px;border-color:#dedfcf;border-radius:7px;background:#f0eee4;color:#143f35;font-family:var(--dy-font)}
body .download-options strong{font-size:16px;font-weight:600}
body .download-options span{font-size:13px;color:#67776b}
body .download-reference{border:0;border-radius:7px;background:#f0eee4}
body .toast{background:#f5cb61;border-radius:7px;bottom:calc(22px + env(safe-area-inset-bottom,0px));box-shadow:0 6px 20px #143f3514;color:#143f35}
@media(min-width:1100px){body .workspace>.editor{position:sticky;top:84px}body .canvas-panel{min-height:440px;height:min(65vh,720px)}}
@media(max-width:1099px) and (min-width:761px){body .workspace{grid-template-columns:260px minmax(0,1fr);gap:20px}body .workspace>.controls{padding:20px}}
@media(max-width:800px){body .kit-layout{grid-template-columns:1fr}body .kit-summary{position:static}body .kit-main{padding:20px 20px 40px}body :is(.kit-list,.kit-summary,.kit-tools){padding:22px}body .kit-heading h1{font-size:29px}}
@media(max-width:760px){
body :is(.studio-nav,.pattern-studio .studio-nav){min-height:0;flex-wrap:wrap;gap:0 12px;padding:6px 20px 0;z-index:20}
body :is(.studio-brand,.kit-header .brand){min-height:48px;font-size:21px;letter-spacing:-.75px}
body .studio-nav .language-select{max-width:110px;margin-left:auto;min-height:44px;font-size:16px}
body .studio-nav nav,body.pattern-studio .studio-nav nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));order:3;flex-basis:100%;gap:4px;min-width:0;margin:0;padding:2px 0 6px}
body .studio-nav nav a,body.pattern-studio .studio-nav nav a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 6px;font-size:13px;white-space:normal;line-height:1.4;text-align:center}
body .kit-header{padding:6px 20px;min-height:60px}
body .kit-header select{min-height:44px;font-size:16px}
body .studio-main{padding:18px 16px 22px}
body .studio-journey{gap:5px;padding:0 0 14px;margin-bottom:16px;font-size:11px}
body .studio-journey li{gap:6px;min-height:40px}
body .journey-number{width:22px;height:22px;font-size:11px}
body .workspace{display:flex;flex-direction:column;gap:18px}
body .workspace>.editor{position:static;order:0;width:100%;border-radius:8px}
body .workspace>.controls{display:block;order:1;width:100%;padding:20px;border-radius:8px}
body .controls .crop-section{display:block;margin-top:18px;padding-top:12px}
body .controls .crop-section>p{margin-top:8px}
body .controls .crop-section .range-label{margin-top:12px}
body .controls .crop-section input[type=range]{margin:6px 0}
body .controls .crop-section .button-row{margin-top:6px}
body .editor-toolbar{display:flex;flex-wrap:wrap;min-height:64px;gap:8px;padding:10px 12px}
body .view-tabs{gap:2px;padding:3px}
body .view-tabs button{min-height:44px;padding:9px 13px;font-size:13px}
body .editor-actions{margin-left:auto;gap:6px;flex-direction:row;flex-wrap:wrap}
body .board-size{font-size:11px}
body .replace-image{min-height:44px;padding:9px 12px;font-size:12px}
body .canvas-panel{height:clamp(330px,calc(100vw - 32px),480px);min-height:330px;max-height:72dvh}
body .canvas-panel:not(.has-image){min-height:390px}
body .empty-state{padding:20px 14px}
body .empty-state h2{font-size:20px;line-height:1.4;margin-top:18px;letter-spacing:-.025em}
body .empty-state p{font-size:13px;line-height:1.7;margin-top:9px;margin-bottom:18px}
body .empty-state #demoButton{font-size:13px;min-height:44px;margin-top:6px}
body .empty-state>span:not(.empty-beads){font-size:10px}
body .empty-beads{grid-template-columns:21px 21px;gap:4px}
body .empty-beads i{height:21px;border-width:6px}
body .canvas-footer{padding:10px 14px}
body .pattern-tools{gap:6px}
body .pattern-tools .secondary{padding:9px 10px;font-size:12px}
body .pattern-result{padding:0 16px 20px}
body .result-stats{padding:20px 0;gap:0}
body .result-stats dd{font-size:18px}
body .result-stats dt{font-size:11px}
body .result-next-heading h2{font-size:17px}
body .result-next-note{font-size:13px}
body .result-actions{gap:10px}
body .result-actions>.primary,body .result-actions>.secondary{font-size:13px;min-height:48px;padding:12px 9px}
body .reading-status{font-size:12px;padding:10px 16px}
body .materials{padding:22px 18px;border-radius:8px;margin-top:18px}
body .section-heading{gap:12px}
body .section-heading h2{font-size:20px}
body .section-heading p{font-size:12px}
body .color-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body .color-list .color-item{padding:10px;min-height:68px}
body .color-list .color-item[aria-pressed=true]{padding:9px}
body .color-list .color-item strong{font-size:13px}
body .kit-pattern{padding:20px;border-radius:8px;gap:14px}
body .kit-pattern h2{font-size:18px}
body .kit-pattern p{font-size:13px}
body .kit-row{grid-template-columns:32px minmax(0,1fr) auto;gap:10px}
body .kit-row-price{font-size:14px}
body .kit-tools-grid{gap:12px}
body :is(.kit-list,.kit-summary,.kit-tools){border-radius:8px}
body .kit-list-heading h2,body .kit-tools h2,body .kit-summary h2{font-size:19px}
body .dy-club{padding:28px 0 48px}
body .dy-club>.dy-container{width:calc(100% - 40px)}
body .dy-club-head{align-items:flex-start;gap:18px;margin-bottom:20px}
body .dy-club-head h1{font-size:32px;margin-bottom:10px}
body .dy-club-head p{font-size:14px}
body .dy-club-head :is(.actions,.dy-club-head__actions)>:is(a,button),body .dy-club-head [data-club-member-actions]>button{min-height:48px;font-size:14px}
body .dy-club-filters{gap:12px;flex-wrap:wrap;padding:14px 0;margin-bottom:20px}
body .dy-club-filters>p{max-width:none;width:100%;font-size:13px}
body .dy-club-filters label{margin-left:auto}
body .dy-club-filters select{min-height:44px;font-size:16px}
body .dy-club-grid{gap:22px}
body .dy-club-card__body{padding:18px}
body .dy-club-card__body h2{font-size:18px}
body .dy-club .dy-club-card__actions :is(a,button){min-height:44px;font-size:13px;padding:9px 12px}
body .member-tabs{margin:18px 0 22px;padding-bottom:14px}
body .dy-club-form__row{gap:12px}
body .dy-club-dialog__actions{gap:10px}
body .dy-club-dialog__actions>:is(button,a){min-height:48px;font-size:15px}
body dialog,body .dy-club-dialog{inset:auto 0 0;max-width:none;width:100%;max-height:calc(100dvh - 24px);margin:0;padding:22px 20px calc(24px + env(safe-area-inset-bottom,0px));border:0;border-top:1px solid #dedfcf;border-radius:6px 6px 0 0;background:#fff;box-shadow:0 -12px 48px #143f3516;overflow-y:auto;overscroll-behavior:contain}
body .dy-club-dialog>header{gap:14px;margin-bottom:18px;padding-bottom:14px}
body .dy-club-dialog>header h2,body .dialog-head h2{font-size:22px}
body .dy-club-detail__viewport{max-height:58dvh;border-radius:6px}
body .page-footer{font-size:11px;gap:8px;padding-top:16px}
body .club-footer{margin:0 20px;padding:26px 0 32px;font-size:12px}
}
@media(max-width:380px){body .studio-main{padding-inline:12px}body .view-tabs button{padding-inline:11px;font-size:12px}body .empty-state h2{font-size:18px}body .empty-state p{font-size:12px}body .color-list .bead{width:28px;height:28px}body .kit-main{padding-inline:16px}body .kit-heading h1{font-size:27px}body :is(.kit-list,.kit-summary,.kit-tools){padding:20px}body .kit-tools-grid{grid-template-columns:1fr}body .studio-nav nav a,body.pattern-studio .studio-nav nav a{font-size:12px}}
/* Retain the converter's native and fallback fullscreen canvas modes. */
body .workspace>.editor.expanded,body .workspace>.editor:fullscreen{position:fixed;inset:0;top:0;z-index:200;display:flex;flex-direction:column;width:100%;height:100dvh;max-width:none;border-radius:0}
body .workspace>.editor.expanded .canvas-panel,body .workspace>.editor:fullscreen .canvas-panel{flex:1;height:auto;min-height:100px;max-height:none}
@media(prefers-reduced-motion:reduce){body *,body *::before,body *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* A short top-of-page establishing shot. It never intercepts a pointer or covers the canvas. */
.world-entry{position:fixed;inset:0 0 auto;z-index:100;height:152px;overflow:hidden;pointer-events:none!important;background:#dcecf3;animation:world-entry-out 1.04s cubic-bezier(.2,.7,.3,1) both;contain:layout paint;box-shadow:0 10px 24px #143f3508}
.world-entry__sky{display:block;width:100%;height:152px}
.world-entry__cloud{animation:world-entry-cloud 1.1s ease-out both}
.world-entry__bead{position:absolute;top:43px;left:50%;width:46px;height:46px;animation:world-entry-bead 1.04s cubic-bezier(.2,.65,.3,1) both}
.world-entry__bead svg{display:block;width:100%;height:100%}
@keyframes world-entry-out{0%,52%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-100%)}}
@keyframes world-entry-cloud{from{transform:translateX(-30px)}to{transform:translateX(18px)}}
@keyframes world-entry-bead{0%{transform:translate(-160px,20px) rotate(-12deg)}45%{transform:translate(-23px,-16px) rotate(0)}100%{transform:translate(170px,10px) rotate(12deg)}}
body .canvas-panel:not(.has-image){background:#dcecf3}
body .workspace>.controls{border:1px solid #dedfcf;background:#f1eee0}
body .control-section>summary{letter-spacing:-.01em}
body .control-section>summary:before{content:'';flex:none;width:14px;height:14px;border:4px solid #89a784;border-radius:50%;background:transparent}
body .control-section[open]>summary:before{border-color:#d4ad50}
body .generate-button,body .kit-summary .primary{background:#143f35;border-color:#143f35;box-shadow:0 3px 0 #0a2a22}
body .generate-button:disabled,body .kit-summary .primary:disabled{box-shadow:none}
body .pattern-result{border-top:3px solid #f5cb61}
body .result-bead-size{background:#f5e9c5;color:#536e5e;border-radius:4px}
body .kit-summary{border-top:4px solid #f5cb61}
body .kit-tool[data-selected=true]{border-color:#b95734;background:#fff3e8}
body .dy-club-card__image{clip-path:polygon(0 6px,6px 6px,6px 0,calc(100% - 6px) 0,calc(100% - 6px) 6px,100% 6px,100% 100%,0 100%)}
body .dy-club .member-tabs button[aria-pressed=true]{background:#f5df9e;border-color:#dfc477;color:#143f35}
body .studio-nav nav a[aria-current=page]{background:#f5e9c5;color:#143f35}
body .color-list .color-item[aria-pressed=true]{border-color:#b95734;background:#fff}
body .dy-club-card,body .member-work,body .member-point{background:#fffdf8;border-color:#dedfcf}
body .dy-club-dialog>header button,body .dialog-head .icon-button{background:#eeeadd;border-radius:6px}
body dialog::backdrop{background:#143f355c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
@media(max-width:760px){.world-entry,.world-entry__sky{height:144px}.world-entry__bead{top:44px;width:38px;height:38px}body .workspace>.controls{padding:20px}body dialog,body .dy-club-dialog{border-radius:12px 12px 0 0}body .result-actions>.primary,body .result-actions>.secondary{border-radius:6px}body .kit-summary{border-top:4px solid #f5cb61}}
@media(prefers-reduced-motion:reduce){.world-entry{display:none!important}body *{scroll-behavior:auto!important}}

body :is(.page-footer,.club-footer,.kit-footer){padding-top:78px;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22640%22%20height%3D%2258%22%20viewBox%3D%220%200%20640%2058%22%20fill%3D%22none%22%20shape-rendering%3D%22crispEdges%22%3E%3Cpath%20fill%3D%22%23dcecf3%22%20d%3D%22M0%200h640v58H0z%22%2F%3E%3Cpath%20fill%3D%22%23c9d8c0%22%20d%3D%22M0%2045h48V33h48V21h64v12h48v12h64v13H0zM390%2045h48V33h48V21h64v12h48v12h42v13H390z%22%2F%3E%3Cpath%20fill%3D%22%2386ad7f%22%20d%3D%22M0%2050h32v-5h8v5h44v-5h8v5h48v-5h8v5h44v-5h8v5h48v-5h8v5h44v-5h8v5h48v-5h8v5h44v-5h8v5h48v-5h8v5h44v-5h8v5h48v-5h8v5h44v-5h8v5h48v-5h8v5h44v8H0z%22%2F%3E%3Cpath%20fill%3D%22%23fffdf7%22%20d%3D%22M78%2015h8v-8h16V3h16v8h8v8h8v8H78zM430%2018h8v-8h16V6h16v8h8v8h8v8h-56zM307%2044h3v-3h4v3h3v4h-3v3h-4v-3h-3z%22%2F%3E%3Cpath%20fill%3D%22%23f5cb61%22%20d%3D%22M310%2044h4v4h-4z%22%2F%3E%3C%2Fsvg%3E");background-size:640px 58px;background-position:center top;background-repeat:repeat-x;border:0}


/* DOOUYOU continuity — neutral paper, fine borders and shared commerce colors.
   Presentation only. Canvas pixels, photos, swatches, disabled controls and error states are untouched. */
:root{--uc-paper:#f8f7f3;--uc-panel:#f1f1ec;--uc-media:#f3f2ed;--uc-ink:#30443a;--uc-muted:#627067;--uc-green:#40584b;--uc-line:#dcdfd7;--ink:var(--uc-ink);--muted:var(--uc-muted);--green:var(--uc-green);--line:var(--uc-line);--soft:var(--uc-panel);--paper:var(--uc-paper);--accent:var(--uc-green);--dy-ink:var(--uc-ink);--dy-brand:var(--uc-green);--dy-border:var(--uc-line);--dy-cream:var(--uc-paper);--dy-muted:var(--uc-muted);--dy-bg:var(--uc-paper);--dy-paper:var(--uc-paper);--dy-surface:var(--uc-paper);background:var(--uc-paper);color:var(--uc-ink)}
body,body.pattern-studio,body.kit-page{background:var(--uc-paper);color:var(--uc-ink)}
/* The only generated landscape is ornamental; keep functional pseudo-elements intact. */
body::before,body::after{content:none!important;display:none!important}
body .world-entry{display:none!important;animation:none!important}
body .empty-beads{animation:none;transform:none}
body :is(.studio-nav,.pattern-studio .studio-nav,.kit-header){background:var(--uc-paper);border-color:var(--uc-line);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
body .precision-scrolled:is(.studio-nav,.kit-header){background:var(--uc-paper);box-shadow:none;border-bottom-color:var(--uc-line)}
body :is(.studio-brand,.kit-header .brand){color:var(--uc-ink)}
body .studio-nav nav,body.pattern-studio .studio-nav nav{background:transparent;border:0;box-shadow:none;border-radius:0}
body .studio-nav nav a,body.pattern-studio .studio-nav nav a,body .studio-nav nav a[aria-current=page],body .studio-nav nav a:hover{background:transparent;border:0;border-radius:0;box-shadow:none;color:var(--uc-ink);font-weight:500}
body .studio-nav nav a[aria-current=page],body .studio-nav nav a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
body :is(.studio-nav .language-select,.kit-header select){background-color:transparent;color:var(--uc-muted)}
body :is(.page-footer,.club-footer,.kit-footer){padding-top:28px;border:0;border-top:1px solid var(--uc-line);background:var(--uc-paper);background-image:none;color:var(--uc-muted);box-shadow:none}
body :is(.page-footer,.club-footer,.kit-footer) :is(a,strong){color:var(--uc-ink)}
body :is(.studio-journey,.kit-steps){background:transparent;color:var(--uc-muted);border-color:var(--uc-line);box-shadow:none}
body .studio-journey li+li{border-color:var(--uc-line)}
body .journey-number,body .studio-journey .is-complete .journey-number{background:var(--uc-panel);color:var(--uc-muted);box-shadow:none}
body .studio-journey [aria-current=step]{color:var(--uc-ink)}
body .studio-journey [aria-current=step] .journey-number{background:var(--uc-green);color:#fff}
body .kit-steps li{background:transparent;border:1px solid var(--uc-line);border-radius:4px;color:var(--uc-muted)}
body .kit-steps [aria-current]{background:var(--uc-panel);border-color:var(--uc-line);color:var(--uc-ink)}
body .workspace>.controls{background:var(--uc-panel);border-color:var(--uc-line);box-shadow:none}
body .workspace>.editor{background:var(--uc-paper);border-color:var(--uc-line);box-shadow:none}
body .control-section>summary{color:var(--uc-ink)}
body .control-section>summary:before{content:none;display:none}
body .control-section>summary:after{color:var(--uc-muted)}
body :is(.control-section+.control-section,.pattern-result,.dy-club-filters,.dy-club-dialog>header,.dy-club-dialog__actions,.kit-list-heading,.kit-row){border-color:var(--uc-line)}
body :is(.editor-toolbar,.canvas-footer){background:var(--uc-paper);border-color:var(--uc-line);color:var(--uc-muted)}
body :is(.controls .palette-label,.reading-status,.result-bead-size,.download-reference,.kit-optional,.kit-tool-note){background:var(--uc-media);color:var(--uc-muted);border-color:var(--uc-line);box-shadow:none}
body .pattern-result{border-top:1px solid var(--uc-line)}
body .view-tabs,body .member-tabs{background:transparent;border-color:var(--uc-line);box-shadow:none}
body .view-tabs button:not(:disabled):not([aria-disabled=true]),body .member-tabs button:not(:disabled):not([aria-disabled=true]){background:transparent;border-color:var(--uc-line);color:var(--uc-muted);box-shadow:none}
body .view-tabs button[aria-selected=true]:not(:disabled):not([aria-disabled=true]),body .dy-club .member-tabs button[aria-pressed=true]:not(:disabled):not([aria-disabled=true]){background:var(--uc-panel);border-color:var(--uc-line);color:var(--uc-ink);box-shadow:inset 0 -2px var(--uc-green)}
body :is(.materials,.kit-pattern,.kit-list,.kit-tools,.kit-summary){background:var(--uc-paper);border:1px solid var(--uc-line);box-shadow:none}
body .kit-pattern{background:var(--uc-panel)}
body .kit-summary{border-top:1px solid var(--uc-line)}
body .kit-tool{background:var(--uc-paper);border-color:var(--uc-line);box-shadow:none}
body .kit-tool[data-selected=true]{background:var(--uc-panel);border-color:var(--uc-green);box-shadow:none}
body .kit-tool-image{background:var(--uc-media)}
body :is(.control-section>summary,.section-heading h2,.result-stats dd,.result-next-heading h2,.kit-heading h1,.kit-pattern h2,.kit-list-heading h2,.kit-tools h2,.kit-summary h2,.kit-total,.kit-tool h3,.kit-row a,.dy-club-head h1,.dy-club-card__body h2,.dy-club-empty h2,.member-stat strong,.dy-club-dialog>header h2,.dialog-head h2){color:var(--uc-ink)}
body :is(.controls .muted,.board-size,.section-heading p,.result-stats dt,.kit-heading>p:last-child,.kit-row p,.kit-tool-intro,.kit-tool-detail,.dy-club-head p,.dy-club-filters p,.dy-club-card__author,.dy-club-card__meta,.club-account-state,.download-options span){color:var(--uc-muted)}
body :is(.text-button,.dy-link,.kit-back,.kit-cart){color:var(--uc-green)}
body :is(.primary,.dy-button,.generate-button,.kit-summary .primary,.dy-club .dy-button,.dy-club-dialog .dy-button):not(:disabled):not([aria-disabled=true]){background:var(--uc-green);border-color:var(--uc-green);color:#fff;box-shadow:none}
body :is(.primary,.dy-button,.generate-button,.kit-summary .primary,.dy-club .dy-button,.dy-club-dialog .dy-button):not(:disabled):not([aria-disabled=true]):hover{background:#354d40;border-color:#354d40;color:#fff;box-shadow:none}
body :is(.secondary,.dy-button--outline,.dy-club .dy-button--outline,.dy-club-dialog .dy-button--outline,.pattern-tools .icon-button,.kit-tool-select,.download-options button):not(:disabled):not([aria-disabled=true]){background:var(--uc-paper);border-color:var(--uc-line);color:var(--uc-green);box-shadow:none}
body :is(.secondary,.dy-button--outline,.dy-club .dy-button--outline,.dy-club-dialog .dy-button--outline,.pattern-tools .icon-button,.kit-tool-select,.download-options button):not(:disabled):not([aria-disabled=true]):hover{background:var(--uc-panel);border-color:#c6cec1;color:var(--uc-ink);box-shadow:none}
body .dy-club{--club-ink:var(--uc-ink);--club-muted:var(--uc-muted);--club-paper:var(--uc-paper);--club-sky:var(--uc-media);--club-gold:var(--uc-panel);background:var(--uc-paper);color:var(--uc-ink)}
body :is(.dy-club-card,.member-work,.member-point,.dy-club-review-card){background:var(--uc-paper);border-color:var(--uc-line);box-shadow:none}
body .dy-club .dy-club-card__image,body .dy-club .dy-club-card__image:hover{background:var(--uc-media);border-color:var(--uc-line);clip-path:none;box-shadow:none}
body :is(.member-stat,.member-note,.dy-club-empty,.dy-club-profile,.dy-club-comment,.dy-club-form .dy-club-upload-drop){background:var(--uc-panel);border-color:var(--uc-line);box-shadow:none}
body .dy-club .dy-club-card__actions :is(a,button):not(:disabled):not([aria-disabled=true]):not([aria-pressed=true]){background:var(--uc-paper);border-color:var(--uc-line);color:var(--uc-green);box-shadow:none}
body .dy-club .dy-club-card__actions :is(a,button):not(:disabled):not([aria-disabled=true]):not([aria-pressed=true]):hover{background:var(--uc-panel);color:var(--uc-ink)}
body dialog,body .dy-club-dialog{background:var(--uc-paper);border-color:var(--uc-line);color:var(--uc-ink)}
body dialog::backdrop{background:#30443a59}
body .dy-club-dialog>header button:not(:disabled):not([aria-disabled=true]),body .dialog-head .icon-button:not(:disabled):not([aria-disabled=true]){background:var(--uc-panel);color:var(--uc-ink);box-shadow:none}
body :is(.controls,.dy-club-form,.kit-list,.kit-summary,.kit-tools,.dy-club-dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]),select,textarea):not(:disabled):not([aria-invalid=true]){background-color:var(--uc-paper);color:var(--uc-ink);border-color:#cbd2c6;box-shadow:none}
@media(max-width:760px){body .studio-nav nav,body.pattern-studio .studio-nav nav{background:transparent}body dialog,body .dy-club-dialog{background:var(--uc-paper);border-top-color:var(--uc-line)}body .kit-summary{border-top:1px solid var(--uc-line)}body :is(.page-footer,.club-footer,.kit-footer){padding-top:24px}}
@media(forced-colors:active){body :is(.workspace>.controls,.workspace>.editor,.materials,.kit-pattern,.kit-list,.kit-tools,.kit-summary,dialog,.dy-club-dialog){background:Canvas;color:CanvasText;border-color:CanvasText}body :is(.primary,.secondary,.dy-button){forced-color-adjust:auto}}
body .canvas-panel:not(.has-image){background:var(--uc-media)}


/* Shared BARK-inspired interface palette. Photos, canvas pixels and bead swatches retain their source colors. */
:root{--uc-paper:#fbfbff;--uc-panel:#f2f7fc;--uc-media:#f2f7fc;--uc-ink:#142535;--uc-muted:#516575;--uc-green:#00356b;--uc-blue:#00356b;--uc-cyan:#00b1e0;--uc-sky:#c1e8fb;--uc-line:#d7e4ef;--uc-display:"Arial Black",Arial,"PingFang SC","Microsoft YaHei",sans-serif;--ink:var(--uc-ink);--muted:var(--uc-muted);--green:var(--uc-blue);--line:var(--uc-line);--soft:var(--uc-panel);--paper:var(--uc-paper);--accent:var(--uc-cyan);--dy-ink:var(--uc-ink);--dy-brand:var(--uc-blue);--dy-border:var(--uc-line);--dy-cream:var(--uc-paper);--dy-muted:var(--uc-muted);--dy-bg:var(--uc-paper);--dy-paper:var(--uc-paper);--dy-surface:var(--uc-paper);background:var(--uc-paper);color:var(--uc-ink)}
html body,html body.pattern-studio,html body.kit-page{background:var(--uc-paper);color:var(--uc-ink)}
html body :is(.studio-nav,.pattern-studio .studio-nav,.kit-header),html body .precision-scrolled:is(.studio-nav,.kit-header){background:var(--uc-panel);border-color:var(--uc-line);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
html body :is(.studio-brand,.kit-header .brand){color:var(--uc-blue)}
html body :is(.bead-mark,.brand-bead){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='32' viewBox='0 0 29 32' fill='none'%3E%3Crect x='1.5' y='1.5' width='26' height='29' rx='3' stroke='%2300356b' stroke-width='2'/%3E%3Cpath d='M14.5 23.5S6 18.3 6 13.2a4.8 4.8 0 0 1 8.5-3 4.8 4.8 0 0 1 8.5 3c0 5.1-8.5 10.3-8.5 10.3Z' stroke='%2300356b' stroke-width='1.9' stroke-linejoin='round'/%3E%3C/svg%3E")}
html body .studio-nav nav a,html body.pattern-studio .studio-nav nav a,html body .studio-nav nav a[aria-current=page],html body .studio-nav nav a:hover{background:transparent;color:var(--uc-blue);font-weight:600;text-decoration-color:var(--uc-blue)}
html body :is(.studio-nav .language-select,.kit-header select){color:var(--uc-blue)}
html body :is(.page-footer,.club-footer,.kit-footer){background:var(--uc-panel);border-color:var(--uc-line);color:var(--uc-muted)}
html body :is(.page-footer,.club-footer,.kit-footer) :is(a,strong){color:var(--uc-blue)}
html body :is(.kit-heading h1,.dy-club-head h1){font-family:var(--uc-display);font-weight:800;font-size:48px;line-height:1.05;letter-spacing:-.035em;color:var(--uc-blue)}
html body :is(.empty-state h2,.section-heading h2,.result-next-heading h2,.kit-pattern h2,.kit-list-heading h2,.kit-tools h2,.kit-summary h2,.dy-club-empty h2,.dy-club-dialog>header h2,.dialog-head h2){font-family:var(--uc-display);font-weight:800;letter-spacing:-.025em;color:var(--uc-blue)}
html body :is(.control-section>summary,.result-stats dd,.kit-total,.kit-tool h3,.kit-row a,.dy-club-card__body h2,.member-stat strong){color:var(--uc-blue);font-weight:700}
html body :is(.studio-journey,.kit-steps){color:var(--uc-muted);border-color:var(--uc-line)}
html body .journey-number,html body .studio-journey .is-complete .journey-number{background:var(--uc-panel);color:var(--uc-blue)}
html body .studio-journey [aria-current=step]{color:var(--uc-blue)}
html body .studio-journey [aria-current=step] .journey-number{background:var(--uc-cyan);color:var(--uc-blue)}
html body .kit-steps [aria-current]{background:var(--uc-sky);color:var(--uc-blue)}
html body .workspace>.controls{background:var(--uc-panel);border-color:var(--uc-line);border-radius:12px}
html body .workspace>.editor{background:var(--uc-paper);border-color:var(--uc-line);border-radius:12px}
html body :is(.editor-toolbar,.canvas-footer){background:var(--uc-paper);border-color:var(--uc-line);color:var(--uc-muted)}
html body :is(.controls .palette-label,.reading-status,.result-bead-size,.download-reference,.kit-optional,.kit-tool-note){background:var(--uc-panel);color:var(--uc-muted);border-color:var(--uc-line)}
html body .view-tabs button:not(:disabled):not([aria-disabled=true]),html body .member-tabs button:not(:disabled):not([aria-disabled=true]){border-radius:32px;color:var(--uc-blue)}
html body .view-tabs button[aria-selected=true]:not(:disabled):not([aria-disabled=true]),html body .dy-club .member-tabs button[aria-pressed=true]:not(:disabled):not([aria-disabled=true]){background:var(--uc-sky);color:var(--uc-blue);border-color:var(--uc-sky);box-shadow:none}
html body :is(.materials,.kit-pattern,.kit-list,.kit-tools,.kit-summary){background:var(--uc-paper);border-color:var(--uc-line);border-radius:12px;box-shadow:none}
html body .kit-pattern{background:var(--uc-panel)}
html body .kit-tool{background:var(--uc-paper);border-color:var(--uc-line);border-radius:12px}
html body .kit-tool[data-selected=true]{background:var(--uc-panel);border-color:var(--uc-blue)}
html body .kit-tool-image{background:var(--uc-media)}
html body :is(.text-button,.dy-link,.kit-back,.kit-cart){color:var(--uc-blue);font-weight:600}
html body :is(.primary,.dy-button,.generate-button,.kit-summary .primary,.dy-club .dy-button,.dy-club-dialog .dy-button):not(:disabled):not([aria-disabled=true]){background:var(--uc-cyan);border-color:var(--uc-cyan);border-radius:32px;color:var(--uc-blue);font-weight:700;min-height:48px;box-shadow:none;transform:none}
html body :is(.primary,.dy-button,.generate-button,.kit-summary .primary,.dy-club .dy-button,.dy-club-dialog .dy-button):not(:disabled):not([aria-disabled=true]):hover{background:#00a4cf;border-color:#00a4cf;color:var(--uc-blue);box-shadow:none;transform:none}
html body :is(.secondary,.dy-button--outline,.dy-club .dy-button--outline,.dy-club-dialog .dy-button--outline,.pattern-tools .icon-button,.kit-tool-select,.download-options button):not(:disabled):not([aria-disabled=true]){background:var(--uc-blue);border-color:var(--uc-blue);border-radius:32px;color:#fff;font-weight:600;min-height:44px;box-shadow:none;transform:none}
html body :is(.secondary,.dy-button--outline,.dy-club .dy-button--outline,.dy-club-dialog .dy-button--outline,.pattern-tools .icon-button,.kit-tool-select,.download-options button):not(:disabled):not([aria-disabled=true]):hover{background:#00284f;border-color:#00284f;color:#fff;box-shadow:none;transform:none}
html body :is(.primary,.secondary,.dy-button,.generate-button):is(:disabled,[aria-disabled=true]){background:#e8edf2;border-color:#d7e4ef;color:#63717d;box-shadow:none;transform:none}
html body .dy-club{--club-ink:var(--uc-ink);--club-muted:var(--uc-muted);--club-paper:var(--uc-paper);--club-sky:var(--uc-media);--club-gold:var(--uc-panel);background:var(--uc-paper);color:var(--uc-ink)}
html body :is(.dy-club-card,.member-work,.member-point,.dy-club-review-card){background:var(--uc-paper);border-color:var(--uc-line);border-radius:12px}
html body .dy-club .dy-club-card__image,html body .dy-club .dy-club-card__image:hover{background:var(--uc-media);border-color:var(--uc-line);clip-path:none;border-radius:12px 12px 0 0}
html body :is(.member-stat,.member-note,.dy-club-empty,.dy-club-profile,.dy-club-comment,.dy-club-form .dy-club-upload-drop){background:var(--uc-panel);border-color:var(--uc-line);border-radius:12px}
html body .dy-club .dy-club-card__actions :is(a,button):not(:disabled):not([aria-disabled=true]):not([aria-pressed=true]){background:var(--uc-panel);border-color:var(--uc-line);border-radius:32px;color:var(--uc-blue)}
html body .dy-club .dy-club-card__actions :is(a,button):not(:disabled):not([aria-disabled=true]):not([aria-pressed=true]):hover{background:var(--uc-sky);color:var(--uc-blue)}
html body dialog,html body .dy-club-dialog{background:var(--uc-paper);border-color:var(--uc-line);border-radius:16px;color:var(--uc-ink)}
html body dialog::backdrop{background:#00356b59}
html body .dy-club-dialog>header button:not(:disabled):not([aria-disabled=true]),html body .dialog-head .icon-button:not(:disabled):not([aria-disabled=true]){background:var(--uc-panel);border-radius:32px;color:var(--uc-blue)}
html body :is(.controls,.dy-club-form,.kit-list,.kit-summary,.kit-tools,.dy-club-dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]),select,textarea):not(:disabled):not([aria-invalid=true]){background-color:#fff;border-color:#c8dbe9;color:var(--uc-ink)}
html body :is(input[type=checkbox],input[type=radio],input[type=range]){accent-color:var(--uc-blue)}
html body :is(a,button,input,select,textarea,summary,canvas):focus-visible{outline-color:#007ca4}
/* This changes only the empty frame; uploaded images and rendered canvas pixels are never styled. */
body .canvas-panel:not(.has-image){background:var(--uc-media)}
@media(max-width:760px){html body :is(.kit-heading h1,.dy-club-head h1){font-size:36px;line-height:1.08}html body dialog,html body .dy-club-dialog{border-radius:16px 16px 0 0}html body .result-actions>.primary,html body .result-actions>.secondary{border-radius:32px}}
@media(max-width:380px){html body .kit-heading h1{font-size:32px}}
@media(forced-colors:active){html body :is(.workspace>.controls,.workspace>.editor,.materials,.kit-pattern,.kit-list,.kit-tools,.kit-summary,dialog,.dy-club-dialog){background:Canvas;color:CanvasText;border-color:CanvasText}html body :is(.primary,.secondary,.dy-button){forced-color-adjust:auto}}

/* Material-kit loading: indeterminate ring and honest completed-color count; no simulated percent. */
html body .kit-loading{display:flex;align-items:center;gap:14px;max-width:100%;min-height:78px;margin:18px 0 22px;padding:16px 18px;border:1px solid #c8dbe9;border-radius:14px;background:#f2f7fc;color:#00356b;overflow-wrap:anywhere}
html body .kit-loading[hidden]{display:none!important}
html body .kit-loading>div{min-width:0}
html body .kit-loading p{margin:0;font-size:14px;line-height:1.5}
html body .kit-loading .kit-loading__progress{margin-top:4px;font-size:12px;color:#4b6682}
html body .kit-loading__progress:empty{display:none}
html body .kit-loading__ring,html body .kit-opening-ring{display:block;flex:none;width:32px;height:32px;border:3px solid #d2e5f2;border-top-color:#00356b;border-right-color:#00b1e0;border-radius:50%;animation:kit-loading-turn .85s linear infinite}
html body .kit-return-links{display:flex;align-items:center;flex-wrap:wrap;gap:4px 22px}
html body .kit-return-links a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;color:#00356b;font-size:13px;line-height:1.5;text-underline-offset:4px}
html body .kit-retry{min-height:44px;max-width:100%;margin:0 0 18px}
html body #buyMaterialKit .kit-opening-ring{display:none;width:20px;height:20px;border-width:2px;border-color:#b5cbdc;border-top-color:#00356b;border-right-color:#00b1e0}
html body #buyMaterialKit.is-opening .kit-opening-ring{display:block}
html body #buyMaterialKit.is-opening .result-action-arrow{display:none}
html body #buyMaterialKit[aria-disabled=true]{cursor:wait}
html body .kit-open-status{margin:8px 0 0;font-size:12px;line-height:1.5;color:#4b6682}
html body .kit-open-status:empty{display:none}
@keyframes kit-loading-turn{to{transform:rotate(360deg)}}
@media(max-width:380px){html body .kit-loading{gap:11px;padding:14px}html body .kit-loading p{font-size:13px}html body .kit-loading__ring{width:28px;height:28px}}
@media(prefers-reduced-motion:reduce){html body .kit-loading__ring,html body .kit-opening-ring{animation:none}}
@media(forced-colors:active){html body .kit-loading{background:Canvas;color:CanvasText;border-color:CanvasText}html body .kit-loading__ring,html body .kit-opening-ring{border-color:GrayText;border-top-color:Highlight}}
/* Use the exact custom path-based DOOUYOU lettering from the Shopify header. */
html body :is(.studio-brand,.kit-header .brand){flex:0 1 auto;min-width:0;gap:0;color:#003b71;letter-spacing:0}
html body .app-wordmark{display:block;flex:none;width:164px;max-width:100%;height:auto;overflow:visible}
@media(max-width:760px){html body .app-wordmark{width:150px}html body .kit-header{gap:12px}}
@media(max-width:359px){html body .app-wordmark{width:138px}html body .kit-header select{max-width:112px}}
