@charset "UTF-8";
:root{--share-border:#dfd4bf}html{scroll-padding-top:104px}body{background:#fbf6ec}input,select,textarea,button{font:inherit}input,select,textarea{min-width:0;border:1px solid #cfc4af;border-radius:9px;background:#fffdf7;padding:10px 12px;color:var(--ink)}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #b77b2a;outline-offset:3px}input[type=color]{height:44px;padding:5px;width:100%}input[type=checkbox]{accent-color:#a46d22;width:17px;height:17px}button:disabled{opacity:.55;cursor:wait}button,a{touch-action:manipulation}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.share-header{padding:18px 40px;display:flex;align-items:center;justify-content:space-between;gap:25px;position:sticky;top:0;z-index:10;background:#fbf6ecf5;border-bottom:1px solid var(--line)}.share-header .brand img{width:60px;height:48px;object-fit:contain}.share-header nav{display:flex;align-items:center;gap:27px;font-size:14px;font-weight:700}.share-header nav a{white-space:nowrap;padding:8px 0}.share-header nav .selected{border-bottom:2px solid #b77b2a}.share-main{width:min(1200px,calc(100% - 80px));margin:auto}.share-hero{padding:78px 0 64px;display:grid;grid-template-columns:1.4fr .8fr;gap:60px;align-items:center}.share-hero h1{font-size:clamp(36px,4.5vw,62px);line-height:1.18;margin:22px 0 24px}.share-hero h1 em{font-style:normal;text-decoration:underline;text-decoration-color:#f2ba3a;text-decoration-thickness:7px;text-underline-offset:10px}.share-hero p{color:var(--muted);line-height:1.9}.share-hero .share-button{margin-top:28px}.hero-mark{min-height:270px;background:#1a273f;border-radius:28px;display:grid;place-items:center;position:relative;overflow:hidden;color:#f2ba3a;background-image:linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px);background-size:24px 24px}.hero-mark b{font-size:100px;font-weight:400;line-height:1}.target-ring{position:absolute;width:150px;height:150px;border:1px solid #f2ba3a55;border-radius:50%}.target-ring:before,.target-ring:after{content:'';position:absolute;background:#f2ba3a55}.target-ring:before{height:1px;width:210px;left:-31px;top:74px}.target-ring:after{width:1px;height:210px;top:-31px;left:74px}.mark-caption{position:absolute;bottom:24px;font-size:12px;letter-spacing:2px;color:#f3e8d3}.how-to{border-block:1px solid var(--line);padding:24px 0;display:grid;grid-template-columns:180px 1fr;gap:8px 25px}.how-to strong{grid-row:span 2;color:#8b622b}.how-to p span{padding:0 12px;color:#a58b60}.how-to small{color:var(--muted)}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin:0 0 27px}.section-heading h2{font-size:clamp(26px,3vw,38px);margin-top:12px}.section-heading p{color:var(--muted);font-size:13px;line-height:1.8}.studio{padding:65px 0 50px}.studio-grid{display:grid;grid-template-columns:1fr 1.2fr;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fffbf3}.preview-panel{background:#1a273f;color:#f7ebce;position:relative;display:flex;flex-direction:column;min-width:0}.preview-panel[data-light]{background:#e6d4ab;color:#1a273f}.preview-top{display:flex;justify-content:space-between;gap:8px;padding:20px;font-size:11px}.preview-top button{text-decoration:underline;color:inherit;padding:0}.preview-panel canvas{width:100%;height:260px;display:block}.preview-panel p{margin:0 24px 10px;font-size:14px;font-weight:700}.preview-panel small{color:inherit;opacity:.7;margin:0 24px 24px;font-size:11px}.editor-panel{padding:26px;min-width:0}.editor-panel>label{font-weight:700;font-size:13px}.code-line{display:flex;gap:9px;margin-top:8px}.code-line input{font:13px/1.4 ui-monospace,Consolas,monospace;flex:1;min-width:0}.field-status{min-height:21px;font-size:12px;color:#a14631;margin:6px 0 10px}.editor-choices{display:grid;grid-template-columns:1fr 100px;gap:14px}.editor-choices label,.number-grid label{display:flex;flex-direction:column;gap:7px;font-size:12px}.number-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:17px}.number-grid input{width:100%}.check-options{display:flex;align-items:center;gap:18px;flex-wrap:wrap;font-size:12px;margin-top:18px}.check-options label{display:flex;align-items:center;gap:5px}.check-options button{text-decoration:underline;margin-left:auto;font-size:12px}.editor-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.share-button{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;padding:12px 18px;background:#f2ba3a;color:#342713;font-size:13px;font-weight:800;border:1px solid #e0a72c;white-space:nowrap;min-height:44px}.share-button:hover{filter:brightness(.96)}.share-button.dark{background:#1a273f;color:#fff8e7;border-color:#1a273f;box-shadow:0 3px 0 #e9b249}.code-line .share-button{padding-inline:12px}.recommendations{padding:25px 0 60px}.preset-list{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.preset{border:1px solid var(--line);border-radius:14px;overflow:hidden;text-align:left;background:#fffcf5;padding:0}.preset canvas{display:block;width:100%;height:110px;background:#24334c}.preset span{display:block;padding:13px 15px;font-size:13px;font-weight:700}.preset small{float:right;font-weight:400;color:#8a7553}.community-gallery{padding:45px 0 64px;border-top:1px solid var(--line);scroll-margin-top:110px}.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:27px 0 15px}.gallery-toolbar [role=group]{display:flex;gap:8px;flex-wrap:wrap}.gallery-toolbar button{padding:8px 15px;border:1px solid var(--line);border-radius:25px;font-size:13px}.gallery-toolbar button[aria-pressed=true]{background:#1a273f;color:#fff8e7;border-color:#1a273f}.gallery-search input{width:240px;max-width:100%}#gallery-status{color:var(--muted);font-size:12px;min-height:26px}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.post-card{border:1px solid var(--line);border-radius:16px;background:#fffcf5;overflow:hidden;min-width:0}.post-card:target{outline:3px solid #c18b2b}.post-card canvas{display:block;width:100%;height:160px;background:#24334c}.post-content{padding:21px}.post-content h3{font-size:19px;line-height:1.35;overflow-wrap:anywhere}.post-meta{color:var(--muted);font-size:11px;margin:9px 0}.post-note{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0;line-height:1.7}.post-code{display:block;background:#f2e8d3;font:11px/1.6 ui-monospace,Consolas,monospace;padding:9px;border-radius:6px;overflow-wrap:anywhere;user-select:all}.post-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.post-actions button{font-size:12px;padding:7px 9px;border:1px solid var(--line);border-radius:6px}.post-actions .copy{background:#1a273f;color:#fff8e7}.post-manage{display:flex;gap:14px;margin-top:15px}.post-manage button{color:#8a7355;text-decoration:underline;font-size:11px}.empty-state{grid-column:1/-1;text-align:center;border:1px dashed #cfc0a1;border-radius:16px;padding:42px 20px;background:#fffbf1}.empty-state strong{display:block;font-size:20px;margin-bottom:10px}.empty-state p{color:var(--muted);font-size:13px}.more-button{display:block;margin:24px auto 0;border:1px solid var(--line);border-radius:8px;padding:12px 40px}.discord-card{border-radius:20px;background:#f1e6d0;padding:34px;display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:60px}.discord-card h2{font-size:27px;margin:10px 0}.discord-card p{color:#776e5e;font-size:13px}.share-footer{border-top:1px solid var(--line);padding:26px 40px;display:flex;justify-content:space-between;gap:20px;font-size:12px}.share-footer p{color:var(--muted)}
#share-dialog{width:min(600px,calc(100% - 28px));max-height:90dvh;border:1px solid #c6b28b;border-radius:18px;padding:28px;background:#fffaee;color:#1a273f}#share-dialog::backdrop{background:#111c31b3}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.dialog-top h2{font-size:25px}.dialog-top button{border:1px solid var(--line);border-radius:8px;padding:7px 12px;white-space:nowrap}#share-dialog form{display:grid;gap:14px}#share-dialog label{display:grid;gap:6px;font-size:13px;font-weight:700}#share-dialog textarea{resize:vertical;min-height:85px;font-weight:400}#share-dialog input{width:100%;font-weight:400}#share-dialog .dialog-note{font-size:12px;color:#7c725f;line-height:1.7}#share-dialog .form-message{color:#a14631;font-size:13px;min-height:21px}#share-dialog .code-field{font:12px/1.5 ui-monospace,Consolas,monospace}.toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);z-index:50;border:1px solid #ccaa61;background:#1a273f;color:#fff7de;padding:13px 22px;border-radius:10px;box-shadow:0 8px 30px #0002;max-width:calc(100vw - 30px);font-size:13px}.toast textarea{display:block;max-width:100%;width:350px;background:#fff8e7;font:12px monospace;margin-top:8px;padding:8px}.toast:empty{display:none}[hidden]{display:none!important}
@media(max-width:850px){.share-header{padding:14px 22px}.share-header nav{gap:16px;font-size:12px}.share-header .brand{font-size:19px}.share-header .brand img{width:45px;height:40px}.share-main{width:calc(100% - 44px)}.share-hero{gap:30px;padding:50px 0}.hero-mark{min-height:230px}.studio-grid{grid-template-columns:1fr 1.1fr}.editor-panel{padding:20px}.section-heading{gap:20px}.preset-list{gap:9px}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.number-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-toolbar{align-items:flex-start;flex-direction:column}.gallery-search,.gallery-search input{width:100%}.share-footer{padding:25px 22px}}
@media(max-width:600px){html{scroll-padding-top:125px}.share-header{flex-wrap:wrap;gap:12px}.share-header nav{width:100%;justify-content:space-between;gap:10px}.share-header nav a{padding:3px 0}.share-hero{grid-template-columns:1fr;gap:30px;padding:36px 0}.share-hero h1{font-size:39px}.share-hero p{font-size:13px}.hero-mark{min-height:150px}.hero-mark b{font-size:70px}.target-ring{width:92px;height:92px}.target-ring:before{top:45px;width:140px;left:-25px}.target-ring:after{left:45px;height:140px;top:-25px}.mark-caption{bottom:10px;font-size:10px}.how-to{display:block}.how-to p{font-size:12px;margin:10px 0}.how-to p span{padding:0 5px}.how-to small{font-size:11px}.studio{padding-top:38px}.studio-grid{grid-template-columns:1fr}.section-heading{align-items:flex-start;flex-direction:column;gap:14px}.section-heading h2{font-size:28px}.section-heading p br{display:none}.preview-panel canvas{height:210px}.editor-panel{padding:20px}.editor-choices{grid-template-columns:1fr 100px}.number-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.number-grid input{padding:9px 7px}.editor-actions .share-button{flex:1}.preset-list{display:flex;overflow-x:auto;padding-bottom:10px}.preset{flex:0 0 130px}.preset canvas{height:95px}.preset span{padding:10px;font-size:12px}.recommendations{padding-bottom:35px}.post-grid{grid-template-columns:1fr}.post-card canvas{height:155px}.gallery-toolbar button{padding:7px 12px}.discord-card{flex-direction:column;align-items:flex-start;padding:24px}.discord-card h2{font-size:24px}.share-footer{flex-direction:column;gap:8px}.share-button{padding:11px 14px;font-size:12px}.code-line input{font-size:11px}.code-line{gap:6px}.code-line .share-button{padding:10px}.toast{width:max-content}#share-dialog{padding:22px}.post-content{padding:18px}}
