:root{--paper:#f7f2e6;--ink:#302f28;--muted:#817c70;--line:#ddd5c5;--accent:#b35e41;--surface:#fcf9f1;--serif:Georgia,'Times New Roman','Songti SC','Noto Serif SC',SimSun,serif;font-family:Inter,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;scroll-behavior:smooth;scroll-padding-top:95px}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a,select{touch-action:manipulation}button,a{color:inherit}button{cursor:pointer}a{text-decoration:none}button{border:1px solid var(--line);background:transparent}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button,a{transition:background .2s,color .2s,transform .2s,border-color .2s}a:hover{color:var(--accent)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.topbar,main,footer{max-width:1440px;margin:auto;padding-left:6%;padding-right:6%}.topbar{height:94px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-family:var(--serif);font-size:34px;font-weight:700;letter-spacing:-2px}.brand-note{font:9px/1.5 'Segoe UI',sans-serif;letter-spacing:2px;margin-left:17px;border-left:1px solid var(--line);padding-left:20px;max-width:120px}.topbar nav{display:flex;gap:32px;font-size:13px}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:565px;padding:58px 0 68px;gap:40px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:500}.hero .eyebrow{display:flex;align-items:center;gap:11px;letter-spacing:1.5px}.spark{color:var(--accent);font-size:32px;line-height:1}h1{font-family:var(--serif);font-size:clamp(58px,6.2vw,88px);font-weight:400;letter-spacing:-4px;line-height:1.18;margin:26px 0}h1 em{color:var(--accent);font-style:normal}.intro{font-size:14px;line-height:2;color:var(--muted);margin:0 0 26px}.explore{display:inline-flex;gap:32px;align-items:center;font-size:13px;border-bottom:1px solid var(--ink);padding-bottom:9px}.hero-meta{display:flex;gap:22px;color:var(--muted);font-size:10px;letter-spacing:1px;margin-top:34px}.hero-meta span+span:before{content:'·';margin-right:22px}.hero-art{position:relative;height:420px;background:radial-gradient(ellipse at center,#eae0c750,transparent 70%);isolation:isolate}.orbit{border:1px solid #d8cbb580;position:absolute;left:50%;top:50%;border-radius:50%;transform:translate(-50%,-50%) rotate(-22deg)}.orbit-one{width:390px;height:310px}.orbit-two{width:480px;height:210px;transform:translate(-50%,-50%) rotate(38deg)}.featured{position:absolute;background:var(--surface);border:1px solid #e8dfce;border-radius:23%;display:flex;align-items:center;justify-content:center;box-shadow:0 17px 32px #66552b0b;animation:float 7s ease-in-out infinite}.featured img{object-fit:contain;max-width:80%;filter:drop-shadow(0 7px 7px #463a2510)}.featured-main{width:200px;height:205px;left:50%;top:48%;transform:translate(-50%,-50%) rotate(-9deg);border-radius:30px;flex-direction:column;gap:19px;z-index:2}.featured-main span{font:italic 12px var(--serif);color:var(--muted)}.featured-a{width:111px;height:111px;top:13%;left:9%;transform:rotate(-15deg);animation-delay:-1s}.featured-b{width:107px;height:107px;right:0;top:14%;transform:rotate(14deg);animation-delay:-3s}.featured-c{width:115px;height:115px;right:7%;bottom:12%;transform:rotate(9deg);animation-delay:-4s}.featured-d{width:96px;height:96px;left:11%;bottom:9%;transform:rotate(-13deg);animation-delay:-2s}.art-note{position:absolute;right:5%;top:0;font-size:8px;letter-spacing:2px;line-height:1.8;color:var(--muted)}.art-caption{position:absolute;bottom:-10px;left:22%;font:italic 13px var(--serif);color:var(--muted)}.art-caption span{margin-left:45px}.art-plus{color:var(--accent);font:45px var(--serif);position:absolute;left:33%;top:4%}@keyframes float{50%{translate:0 -10px}}
.collection{padding-top:40px;border-top:1px solid var(--line);padding-bottom:64px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.section-heading .eyebrow{color:var(--accent);margin:0 0 13px}h2{font-family:var(--serif);font-size:28px;font-weight:400;margin:0;letter-spacing:-.7px}.quiet-button{font-size:12px;padding:12px 16px;border-radius:7px;background:var(--surface)}.quiet-button:hover,.more:hover{background:#ece3d0;border-color:#bbac91}.search-row{display:flex;gap:14px}.search-box{display:flex;align-items:center;gap:15px;border:1px solid var(--line);border-radius:9px;background:var(--surface);height:58px;padding:0 19px;flex:1}.search-box>span{font:30px var(--serif);color:var(--muted)}.search-box:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #b35e410b}.search-box input{width:100%;border:0;outline:0;background:none;font-size:13px;min-width:0;color:var(--ink)}.search-box input::placeholder{color:#999181}kbd{font:12px monospace;color:var(--muted);border:1px solid var(--line);border-radius:4px;padding:3px 7px}.sort-label select{height:58px;border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:9px;padding:0 16px;font-size:12px}.filter-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:23px 0 4px}.tabs{display:flex;gap:7px;flex-wrap:wrap}.tabs button{border:0;font-size:12px;color:var(--muted);padding:11px 15px;border-radius:6px;white-space:nowrap}.tabs button.active{background:var(--ink);color:var(--paper)}.tabs button:not(.active):hover{background:#ebe3d2}.tabs span{font-size:10px;opacity:.7;margin-left:5px}.grid-hint{color:var(--muted);font-size:10px;white-space:nowrap}.status-row{display:flex;align-items:center;justify-content:space-between;gap:15px;color:var(--muted);font-size:10px;min-height:45px}.live{display:flex;gap:7px;align-items:center;white-space:nowrap}.live i{height:5px;width:5px;border-radius:50%;background:#7d886c}.icon-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}.icon-card{position:relative;min-width:0;border:1px solid #e5ddce;background:#fbf8ef;border-radius:11px;overflow:hidden;transition:transform .25s,box-shadow .25s,border-color .25s;animation:appear .35s both}.icon-card:hover{transform:translateY(-5px);border-color:#c6b798;box-shadow:0 9px 24px #5e4b1e0b}.icon-open{border:0;display:flex;align-items:center;flex-direction:column;gap:19px;width:100%;padding:26px 10px 17px;background:none;min-height:143px}.icon-open img{height:57px;width:57px;object-fit:contain;transition:transform .35s}.icon-card:hover img{transform:scale(1.1)}.icon-name{font-size:10px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.image-failed{font-size:10px;color:var(--muted);width:57px;height:57px;display:grid;place-items:center;border:1px dashed var(--line);border-radius:10px}.more{display:block;margin:32px auto 0;border-radius:7px;padding:13px 30px;font-size:12px}.more span{margin-left:25px}.empty,.error-panel{text-align:center;padding:65px 20px;border:1px dashed var(--line);border-radius:10px}.empty>span{font-size:48px;color:var(--accent)}.empty h3,.error-panel h3{font-family:var(--serif);font-size:23px;font-weight:400}.empty p,.error-panel p{font-size:13px;color:var(--muted);line-height:1.8}.closing{display:flex;gap:22px;align-items:center;border-top:1px solid var(--line);padding:40px 0 44px}.closing h2{font-size:23px}.closing p{font-size:11px;line-height:1.8;color:var(--muted);margin:12px 0 0}.closing a{margin-left:auto;font-size:12px;white-space:nowrap}footer{border-top:1px solid var(--line);min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:20px}footer .brand{font-size:28px}.footer-credit{font:10px 'Segoe UI',sans-serif;color:var(--muted);letter-spacing:0;margin-left:6px}footer p,footer>a:last-child{font-size:10px;color:var(--muted)}
dialog{border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--ink);width:min(590px,calc(100% - 28px));max-height:92dvh;padding:22px;box-shadow:0 35px 100px #24201733}dialog::backdrop{background:#29261e66;backdrop-filter:blur(6px)}body:has(dialog[open]){overflow:hidden}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.modal-header .eyebrow{color:var(--muted)}.round-button{width:36px;height:36px;border-radius:50%;font-size:22px;background:var(--surface);display:grid;place-items:center}.preview-stage{height:290px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;overflow:auto;background:#eee6d4}.preview-stage img{width:180px;height:180px;max-width:none;object-fit:contain;flex-shrink:0;transition:width .1s,height .1s}.preview-stage[data-bg="white"]{background:#fff}.preview-stage[data-bg="dark"]{background:#282824}.checker,.preview-stage[data-bg="checker"]{background-color:#fff;background-image:conic-gradient(#e4e4e4 25%,transparent 0 50%,#e4e4e4 0 75%,transparent 0);background-size:20px 20px}.preview-controls{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:17px 0 25px}.swatches{display:flex;gap:8px}.swatch{height:23px;width:23px;border-radius:50%;border:1px solid #bbb3a2}.swatch.selected{outline:1px solid var(--accent);outline-offset:3px}.swatch.paper{background:#eee6d4}.swatch.white{background:white}.swatch.dark{background:#282824}.zoom-control{display:flex;align-items:center;gap:9px;font-size:10px;color:var(--muted)}.zoom-control input{width:100px;accent-color:var(--accent)}.zoom-control output{width:40px}.preview-info h2{font-size:32px;margin:9px 0;overflow-wrap:anywhere}.preview-info .eyebrow{color:var(--accent)}#preview-path{font:10px monospace;color:var(--muted);overflow-wrap:anywhere;line-height:1.8}.modal-actions{display:flex;gap:10px;margin-top:23px}.primary{border:1px solid var(--ink);background:var(--ink);color:var(--paper);font-size:12px;padding:12px 21px;border-radius:7px}.primary:hover{background:var(--accent);border-color:var(--accent)}.modal-actions .round-button{margin-left:auto;width:41px;height:41px}.modal-note{font-size:10px;color:var(--muted);margin:18px 0 2px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);padding:13px 24px;background:var(--ink);color:var(--paper);border-radius:9px;font-size:12px;box-shadow:0 7px 25px #0002;opacity:0;transition:.2s;pointer-events:none;z-index:20;max-width:90vw}.toast.visible{opacity:1;transform:translate(-50%,0)}.skeleton{height:143px;border-radius:11px;background:linear-gradient(100deg,#ebe4d6 30%,#f5efe2 50%,#ebe4d6 70%);background-size:200%;animation:shimmer 2s infinite}@keyframes shimmer{to{background-position:-200% 0}}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1550px){.icon-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}@media(max-width:1100px){.icon-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.hero-art{scale:.88}.hero{gap:0}.orbit-two{width:420px}.grid-hint{display:none}}@media(max-width:800px){.topbar,main,footer{padding-left:5%;padding-right:5%}.hero{min-height:510px}.hero-art{scale:.75;transform-origin:center;width:350px;margin-left:-25px}.hero h1{font-size:63px}.hero .eyebrow{font-size:8px;letter-spacing:1px}.icon-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.brand-note{display:none}.section-heading h2{font-size:24px}.hero-meta{gap:12px;letter-spacing:0}.hero-meta span+span:before{margin-right:12px}}
@media(max-width:560px){.topbar{height:75px}.brand{font-size:30px}.brand img{height:28px;width:28px}.topbar nav{gap:20px;font-size:12px}.hero{display:flex;flex-direction:column;align-items:stretch;padding:36px 0 24px;gap:0;overflow:hidden}.hero h1{font-size:65px;line-height:1.13;margin:20px 0;letter-spacing:-3px}.intro{font-size:12px}.hero-copy{position:relative;z-index:3}.hero-meta{margin-top:25px}.hero-art{scale:.8;width:360px;height:345px;align-self:center;margin:-6px 0 -20px;transform-origin:center}.art-note{right:0}.art-caption{bottom:-20px}.featured-main{width:174px;height:179px}.featured-main img{width:95px;height:95px}.featured-a{width:93px;height:93px;left:0}.featured-b{width:90px;height:90px;right:-4%}.featured-c{width:98px;height:98px;right:0}.featured-d{width:86px;height:86px;left:0}.collection{padding-top:28px;padding-bottom:40px}.section-heading{gap:10px;margin-bottom:21px}.section-heading h2{font-size:22px;max-width:220px;line-height:1.5}.section-heading .quiet-button{padding:10px;font-size:10px;white-space:nowrap}.search-box{height:52px;padding:0 12px;gap:8px}.search-row{gap:8px}.sort-label select{height:52px;padding:0 7px;font-size:10px;width:95px}kbd{display:none}.search-box input{font-size:12px}.filter-row{margin-top:16px}.tabs{gap:3px}.tabs button{font-size:10px;padding:10px}.tabs span{font-size:9px}.icon-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.icon-open{min-height:130px;padding:22px 7px 14px;gap:18px}.icon-open img{width:52px;height:52px}.icon-name{font-size:9px}.status-row{font-size:9px;align-items:flex-start;min-height:43px}.status-row p{max-width:70%;line-height:1.6}.live{margin-top:11px}.closing{padding:29px 0;gap:14px;flex-wrap:wrap}.closing h2{font-size:21px}.closing p{font-size:10px}.closing a{margin-left:44px;font-size:11px}footer{padding-top:23px;padding-bottom:23px;flex-wrap:wrap;gap:15px}footer p{display:none}.preview-controls{flex-wrap:wrap}.zoom-control{margin-left:auto}.preview-stage{height:250px}.modal-actions{gap:7px}.primary{padding:12px 16px}.modal-actions .quiet-button{padding:12px}.preview-info h2{font-size:27px}}
.hero{grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden}.hero-copy{min-width:0}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Navigation: compact, tactile controls with a clear hierarchy. */
.topbar nav{gap:10px;align-items:center}.topbar nav a,.topbar nav button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:41px;padding:0 15px;font-size:12px;border-radius:9px;line-height:1;white-space:nowrap}.topbar nav svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.topbar .nav-library{background:#ebe3d3;border:1px solid #dfd3bd}.nav-library:hover{background:#e1d5bc}.topbar .nav-github{background:var(--ink);border:1px solid var(--ink);color:var(--paper);box-shadow:0 3px 0 #29271c12}.topbar .nav-github:hover{background:var(--accent);border-color:var(--accent);transform:translateY(-2px)}.nav-arrow{margin-left:9px;opacity:.65}.brand>img{border-radius:8px}
/* A fixed-centre canvas: pan changes the picture, never the surrounding UI. */
.round-button{padding:0;line-height:1;flex-shrink:0;place-content:center}.round-button svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.round-button:hover{background:#eadfca;border-color:#c9b694}#close:hover{transform:rotate(90deg)}.preview-stage{position:relative;overflow:hidden;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;isolation:isolate}.preview-stage.dragging{cursor:grabbing}.preview-stage img{position:absolute;transition:none;pointer-events:none;user-select:none;-webkit-user-drag:none;will-change:transform}#preview-image-error{font-size:12px;color:var(--muted);max-width:80%;text-align:center}.canvas-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:10px}.canvas-step{display:flex;align-items:center;gap:6px}.canvas-toolbar button{border:1px solid var(--line);border-radius:5px;font-size:10px;padding:6px 9px;min-height:30px;background:var(--surface)}.canvas-toolbar button:hover{background:#eae0cc}.canvas-step button{font-size:14px;min-width:30px}.canvas-step span{font-size:10px;color:var(--muted);min-width:48px;text-align:center}.canvas-hint{font-size:9px;color:var(--muted)}.extra-actions{display:flex;flex-wrap:wrap;gap:9px 18px;border-top:1px solid var(--line);padding-top:17px;margin-top:20px}.extra-actions button,.extra-actions a{padding:0;border:0;background:none;font-size:10px;color:var(--muted);line-height:1.8}.extra-actions button:hover,.extra-actions a:hover{color:var(--accent);text-decoration:underline}.extra-actions a{margin-left:auto}.zoom-control input{width:115px}.preview-controls{margin-top:20px}
/* Slow orbital motion, layered entrances and a restrained card highlight. */
.hero-art{transform:perspective(900px) rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg));transition:transform .4s ease-out;transform-style:preserve-3d}.featured{cursor:pointer;transition:box-shadow .35s,border-color .35s,filter .35s}.featured:hover,.featured:focus-visible{animation-play-state:paused;box-shadow:0 24px 50px #795b2520;border-color:#c8af83;filter:brightness(1.025);outline-offset:6px}.featured img{transition:scale .4s}.featured:hover img{scale:1.1}.orbit{animation:orbit-drift 40s linear infinite}.orbit-two{animation-duration:55s;animation-direction:reverse}.orbit:after{content:'';position:absolute;left:17%;top:11%;height:6px;width:6px;border-radius:50%;background:#bda680;box-shadow:0 0 0 5px #bda68014}.orbit-two:after{height:4px;width:4px;left:65%;top:1%;background:var(--accent)}@keyframes orbit-drift{to{rotate:360deg}}.art-plus{animation:star-breathe 5s ease-in-out infinite}@keyframes star-breathe{50%{rotate:25deg;scale:1.14;opacity:.5}}.reveal{opacity:0;transform:translateY(22px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}.hero-art.reveal{transform:perspective(900px) translateY(22px) rotateX(0deg) rotateY(0deg)}.reveal.in-view{opacity:1;transform:translateY(0)}.hero-art.reveal.in-view{transform:perspective(900px) rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg))}.icon-card:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 25%,#fff8 45%,transparent 65%);transform:translateX(-110%);transition:transform .65s;z-index:1}.icon-card:hover:after{transform:translateX(110%)}dialog[open]{animation:modal-enter .25s cubic-bezier(.2,.7,.2,1)}dialog[open]::backdrop{animation:backdrop-enter .25s ease}@keyframes modal-enter{from{opacity:0;translate:0 12px;scale:.98}to{opacity:1;translate:0 0;scale:1}}@keyframes backdrop-enter{from{opacity:0}to{opacity:1}}
@media(max-width:800px){.topbar nav{gap:5px}.topbar nav a,.topbar nav button{padding:0 11px;font-size:11px}.nav-arrow{margin-left:3px}}
@media(max-width:560px){.topbar nav{gap:4px}.topbar nav a,.topbar nav button{min-height:36px;padding:0 9px;gap:6px;font-size:10px}.nav-arrow{display:none}.topbar nav svg{width:14px;height:14px}.brand{gap:6px;font-size:28px;letter-spacing:-1.5px}.topbar .brand img{width:26px;height:26px}.canvas-hint{display:none}.canvas-toolbar{margin-top:12px}.extra-actions{gap:12px}.extra-actions a{margin-left:0}.preview-controls{gap:13px}.zoom-control input{width:95px}.hero-art{transform-style:flat}}
@media(prefers-reduced-motion:reduce){.reveal,.hero-art.reveal,.hero-art.reveal.in-view{opacity:1;transform:none}.icon-card:after{display:none}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Brand lockup shares one optical centre across icon, wordmark and caption. */
.topbar .brand{display:flex;align-items:center;gap:12px;line-height:1;letter-spacing:0}.brand-word{display:block;font:700 36px/.96 var(--serif);letter-spacing:-1.9px;position:relative;top:-1px}.topbar .brand>img{display:block;object-fit:contain;width:32px;height:38px;border-radius:0}.topbar .brand-note{display:flex;align-items:center;flex-shrink:0;min-height:34px;font:9px/1.65 'Segoe UI',sans-serif;letter-spacing:2.1px;margin-left:10px;padding-left:20px;max-width:none}.topbar .nav-library{background:transparent;border-color:transparent}.topbar .nav-library:hover,.topbar .nav-studio:hover{background:#ece3d080;color:var(--accent)}.topbar .nav-studio{color:var(--muted)}.modal-actions{flex-wrap:wrap}.modal-actions #try-icon{margin-left:auto}
/* Clash-style design playground. It deliberately exposes no live network metrics. */
.playground{padding:45px 0 64px;border-top:1px solid var(--line)}.studio-intro{font-size:12px;line-height:1.9;color:var(--muted);margin:13px 0 0}.studio-label{font-size:10px;color:var(--muted);border-left:1px solid var(--line);padding-left:16px;white-space:nowrap}.studio-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:24px;align-items:start}.clash-window{--clash-bg:#fcfcfb;--clash-panel:#f4f5f4;--clash-line:#e8eae8;--clash-text:#303c3c;--clash-muted:#899292;--clash-accent:#0a9892;--clash-selected:#e9f5f2;background:var(--clash-bg);color:var(--clash-text);border:1px solid #d3d6ce;border-radius:14px;overflow:hidden;box-shadow:0 14px 45px #6653290b;font-family:'Segoe UI','Microsoft YaHei',sans-serif;transition:background .25s,color .25s}.clash-window[data-theme='dark']{--clash-bg:#202727;--clash-panel:#1a2020;--clash-line:#344040;--clash-text:#e0e9e7;--clash-muted:#879a96;--clash-accent:#62c7b5;--clash-selected:#2b3d38;border-color:#38423d;box-shadow:0 14px 45px #20201a20}.clash-titlebar{height:51px;border-bottom:1px solid var(--clash-line);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 17px;background:var(--clash-panel);font-size:10px;color:var(--clash-muted)}.window-dots{display:flex;gap:6px}.window-dots i{width:7px;height:7px;border-radius:50%;background:#c6cbc5}.window-dots i:nth-child(2){background:#d5d1c3}.window-dots i:nth-child(3){background:#b5c9bc}.theme-switch{display:flex;gap:3px;padding:3px;background:var(--clash-line);border-radius:6px}.theme-switch button{border:0;padding:4px 8px;color:var(--clash-muted);border-radius:4px;font-size:9px}.theme-switch button[aria-pressed='true']{background:var(--clash-bg);color:var(--clash-text);box-shadow:0 1px 4px #0001}.clash-body{display:grid;grid-template-columns:105px minmax(0,1fr);min-height:625px}.clash-sidebar{display:flex;flex-direction:column;gap:8px;padding:23px 10px;background:var(--clash-panel);border-right:1px solid var(--clash-line)}.clash-app-logo{font:italic 27px var(--serif);padding:0 10px 25px;color:var(--clash-accent)}.clash-app-logo span{color:var(--clash-text);font-size:18px}.sidebar-item{display:flex;align-items:center;gap:10px;padding:11px 12px;font-size:16px;color:var(--clash-muted);border-radius:7px}.sidebar-item span{font-size:11px}.sidebar-item.selected{color:var(--clash-accent);background:var(--clash-selected)}.sidebar-bottom{font-size:8px;letter-spacing:2px;line-height:1.9;margin:auto 10px 0;color:var(--clash-muted)}.clash-main{padding:22px 20px 16px;min-width:0}.clash-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:19px}.clash-heading p{font-size:8px;letter-spacing:2px;color:var(--clash-muted);margin:0 0 8px}.clash-heading h3{font-size:16px;font-weight:600;margin:0;line-height:1.5}.clash-heading h3 span{color:var(--clash-muted);font-size:10px;font-weight:400;margin-left:6px}.mock-mode{font-size:9px;background:var(--clash-selected);color:var(--clash-accent);padding:6px 8px;border-radius:4px}.group-list{max-height:578px;overflow:auto;padding:2px 3px 3px;scrollbar-width:thin;scrollbar-color:var(--clash-line) transparent}.strategy-row{display:flex;width:100%;align-items:center;gap:12px;background:var(--clash-bg);color:var(--clash-text);border:1px solid var(--clash-line);border-radius:8px;padding:12px 13px;text-align:left;margin-bottom:8px;min-height:68px;transition:border-color .2s,background .2s,translate .2s}.strategy-row:hover{translate:2px 0;border-color:var(--clash-accent)}.strategy-row.active{background:var(--clash-selected);border-color:var(--clash-accent)}.strategy-image{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0}.strategy-image img{object-fit:contain;transition:transform .25s}.strategy-row:hover img{transform:scale(1.12)}.strategy-text{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}.strategy-text strong{font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.strategy-text>span{font-size:9px;color:var(--clash-muted)}.strategy-kind{font-size:8px;color:var(--clash-muted);padding:3px 6px;border:1px solid var(--clash-line);border-radius:4px}.strategy-arrow{font-size:20px;color:var(--clash-muted);margin-left:2px}.add-group{display:block;width:100%;margin-top:12px;border:1px dashed var(--clash-line);color:var(--clash-accent);padding:13px;border-radius:7px;font-size:11px}.add-group:hover{background:var(--clash-selected);border-color:var(--clash-accent)}.clash-disclaimer{font-size:9px;line-height:1.8;color:var(--clash-muted);margin:15px 0 0}.studio-no-groups{padding:50px 10px;text-align:center;font-size:12px;line-height:2;color:var(--clash-muted)}
.studio-editor{border:1px solid var(--line);border-radius:12px;background:#fcf9f1;padding:24px;min-width:0;position:sticky;top:20px}.editor-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.editor-heading .eyebrow{color:var(--accent);font-size:8px;letter-spacing:1.5px}.editor-heading>span:last-child{font-size:8px;color:var(--muted)}.studio-editor h3{font:400 25px var(--serif);letter-spacing:-.5px;margin:18px 0 23px}.studio-field{display:flex;flex-direction:column;gap:8px;color:var(--muted);font-size:10px;margin-bottom:16px}.studio-field input,.studio-field select,.picker-search input,.picker-search select{min-width:0;width:100%;border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:10px 12px;border-radius:6px;font-size:12px}.studio-field input:focus,.picker-search input:focus{border-color:var(--accent)}.group-tools{display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:20px}.group-tools button{border:1px solid var(--line);border-radius:5px;font-size:10px;padding:7px 10px;background:var(--surface)}.group-tools .danger{margin-left:auto;color:#ad5348;border-color:transparent;background:none}.group-tools button:hover{background:#eee5d3}.group-tools .danger:hover{background:#ad534810}.editor-icon-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:10px;color:var(--muted)}.editor-icon-label button{border:0;font-size:9px;color:var(--accent);padding:0}.chosen-icon{display:flex;align-items:center;gap:13px;background:var(--paper);padding:12px;border-radius:7px;margin-bottom:16px}.chosen-icon>div{display:flex;flex-direction:column;gap:5px;min-width:0}.chosen-icon>div>span{font-size:12px;overflow-wrap:anywhere}.chosen-icon small{font-size:9px;color:var(--muted)}.chosen-icon img{object-fit:contain}.picker-search{display:flex;gap:7px;margin-bottom:13px}.picker-search input{font-size:10px;padding:10px;width:100%}.picker-search select{width:72px;font-size:10px;padding:7px}.icon-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;min-height:225px;align-content:start}.picker-item{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:10px 4px;border:1px solid var(--line);border-radius:7px;background:var(--surface);min-width:0;min-height:70px;transition:transform .2s,background .2s}.picker-item img{object-fit:contain}.picker-item span{font-size:8px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}.picker-item:hover{transform:translateY(-2px);border-color:var(--accent)}.picker-item.selected{background:#eae0ce;border-color:var(--accent)}.picker-empty{grid-column:1/-1;text-align:center;font-size:11px;color:var(--muted);padding:35px 8px}.picker-pagination{display:flex;align-items:center;justify-content:space-between;margin-top:12px}.picker-pagination button{width:28px;height:27px;border-radius:5px;font-size:12px;background:var(--surface)}.picker-pagination>span{font-size:9px;color:var(--muted)}.studio-actions{display:flex;flex-wrap:wrap;align-items:center;gap:11px;border-top:1px solid var(--line);margin-top:20px;padding-top:18px}#reset-design{border:0;color:var(--muted);font-size:9px;padding:4px;margin-left:auto}.studio-image-error{font-size:25px;color:var(--muted)}#editor-empty p{font-size:12px;line-height:1.8;color:var(--muted);margin:25px 0}#studio-confirm{max-width:420px;padding:28px}#studio-confirm h2{font-size:25px}#studio-confirm p{font-size:12px;color:var(--muted);line-height:1.9;margin:20px 0 25px}#studio-confirm .confirm-actions{display:flex;justify-content:flex-end;gap:10px}
@media(min-width:1250px){.studio-layout{grid-template-columns:minmax(0,1.65fr) minmax(330px,1fr);gap:30px}.clash-body{grid-template-columns:115px minmax(0,1fr)}.clash-main{padding:26px}.strategy-row{padding:13px 17px}}
@media(max-width:1000px){.topbar .brand-note{display:none}.studio-layout{grid-template-columns:minmax(0,1.2fr) minmax(265px,1fr);gap:16px}.clash-body{grid-template-columns:65px minmax(0,1fr)}.clash-app-logo{font-size:24px;padding-left:8px}.clash-app-logo span,.sidebar-item span,.sidebar-bottom{display:none}.sidebar-item{justify-content:center;padding:12px 6px}.clash-sidebar{padding:23px 7px}.clash-main{padding:20px 13px}.studio-editor{padding:20px}.strategy-row{padding:12px 9px;gap:9px}.strategy-kind{display:none}.icon-picker{gap:5px}.picker-item{padding:10px 3px}.editor-heading>span:last-child{font-size:7px}}
@media(max-width:720px){.studio-layout{grid-template-columns:minmax(0,1fr)}.studio-editor{position:static}.clash-body{min-height:0;grid-template-columns:64px minmax(0,1fr)}.group-list{max-height:430px}.clash-heading{margin-bottom:15px}.icon-picker{grid-template-columns:repeat(6,minmax(0,1fr));min-height:155px}.studio-label{display:none}.studio-intro{font-size:11px}.studio-editor{padding:22px}.clash-window{border-radius:11px}.editor-heading>span:last-child{font-size:9px}}
@media(max-width:560px){.topbar .brand{gap:7px}.topbar .brand>img{width:27px;height:31px}.brand-word{font-size:30px;letter-spacing:-1.6px;top:-1px}.topbar nav a{padding:0 8px;font-size:10px;gap:5px}.topbar .nav-library svg{display:none}.topbar .nav-studio>span{display:none}.topbar nav{gap:1px}.topbar .nav-github svg{height:13px;width:13px}.modal-actions #try-icon{margin-left:0}.playground{padding-top:30px;padding-bottom:40px}.playground .section-heading h2{max-width:100%;font-size:22px}.studio-intro{max-width:280px}.clash-titlebar{font-size:9px;padding:0 12px;gap:7px}.clash-body{grid-template-columns:49px minmax(0,1fr)}.clash-sidebar{padding:19px 5px}.clash-app-logo{font-size:24px;padding:0 5px 19px}.clash-main{padding:18px 11px 12px}.clash-heading h3{font-size:15px}.strategy-row{padding:11px 10px;gap:10px}.strategy-text strong{font-size:11px}.strategy-text>span{font-size:8px}.strategy-image,.strategy-image img{width:30px;height:30px}.clash-disclaimer{font-size:8px}.icon-picker{grid-template-columns:repeat(4,minmax(0,1fr));min-height:225px}.studio-editor{padding:19px}.studio-actions{gap:8px}.group-tools button{padding:8px 10px}}
