/* Scoped to the Create workspace; the catalog's other pages keep their layout. */
.create-gate{padding:40px 20px 56px;display:grid;place-items:center}.create-gate[hidden],#createEditor[hidden]{display:none}.create-gate-card{width:min(100%,530px);padding:32px 42px;text-align:center;border:1px solid #644d79;border-radius:18px;background:radial-gradient(ellipse at 50% 0%,#3b275344,transparent 70%),linear-gradient(145deg,#201929,#15101e);box-shadow:0 20px 70px #08040f55}.create-gate-magic{position:relative;width:150px;height:100px;margin:0 auto 16px}.create-gate-moon{position:absolute;left:44px;top:13px;width:65px;height:65px;border-radius:50%;background:radial-gradient(circle at 34% 29%,#fff4de,#dbbaf1 56%,#9070b5);box-shadow:0 0 30px #c096ec55;animation:create-moon 7s ease-in-out infinite alternate}.create-gate-orbit{position:absolute;inset:9px 2px;border:1px solid #bd92e75c;border-radius:50%;transform:rotate(-25deg);box-shadow:0 0 18px #c7a0eb12}.create-gate-spark{position:absolute;color:#f5e3c7;animation:create-moon 5s ease-in-out infinite alternate}.create-gate-spark.spark-one{top:0;right:5px;font-size:26px}.create-gate-spark.spark-two{bottom:8px;left:12px;font-size:15px;animation-delay:-3s}.create-gate h2{font:400 clamp(26px,3vw,34px)/1.25 'Palatino Linotype',Palatino,serif;margin:12px 0}.create-gate h2:focus{outline:none}.create-gate-description{color:#bcabc9;font-size:14px;line-height:1.7;margin:0 auto 24px;max-width:350px}.create-gate form{text-align:left}.create-gate label{display:block;font-size:12px;color:#d2bddf;margin-bottom:9px}.create-password-field{position:relative}.create-password-field input{width:100%;min-width:0;min-height:46px;padding:12px 72px 12px 14px;border:1px solid #69507c;border-radius:8px;background:#100c18;color:var(--ink);font:inherit;font-size:14px}.create-password-field input:focus{outline:2px solid #c9a2ec;outline-offset:2px}.create-password-field input[aria-invalid=true]{border-color:#f2acb5}.create-password-field button{position:absolute;right:6px;top:6px;bottom:6px;padding:5px 10px;background:#2d203a;border-color:transparent;font-size:12px}.create-gate-error{min-height:20px;margin:9px 0 11px;font-size:12px;line-height:1.6;color:#f2b3bd}.create-gate .primary-button{width:100%;min-height:44px;display:flex;justify-content:center;gap:12px;align-items:center}.create-gate .primary-button:disabled{opacity:.6;cursor:wait}.create-gate-note{margin:18px 0 14px;color:#ad97bf;font-size:11px;line-height:1.7}.create-gate-back{color:#d8b7f2;font-size:12px;text-underline-offset:4px}@keyframes create-moon{from{opacity:.72;transform:translateY(0)}to{opacity:1;transform:translateY(-4px)}}@media(max-width:480px){.create-gate{padding:25px 16px 36px}.create-gate-card{padding:25px 22px}.create-gate h2{font-size:27px}}@media(prefers-reduced-motion:reduce){.create-gate-moon,.create-gate-spark{animation:none}}
.create-shell{max-width:1600px;margin:auto;padding:32px 5vw 48px}.create-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.create-heading h2{font:400 clamp(27px,3vw,38px)/1.2 'Palatino Linotype',Palatino,serif;margin:4px 0 10px;letter-spacing:-.025em}.create-heading h2:focus{outline:none}.create-heading p:not(.section-kicker){color:var(--muted);font-size:14px;margin:0;line-height:1.6}.create-project{text-align:right;flex-shrink:0}.create-project>div{display:flex;gap:9px;justify-content:flex-end;margin-top:13px}.create-project button{font-size:12px;padding:9px 13px}.create-workspace{display:grid;grid-template-columns:300px minmax(0,1fr);gap:26px;align-items:start}.create-controls{border:1px solid var(--line);border-radius:12px;background:linear-gradient(135deg,#211a2c,#17131f);padding:23px 20px}.create-controls fieldset{min-width:0;border:0;padding:0;margin:0 0 26px}.create-controls legend{font-weight:600;font-size:14px;margin-bottom:17px}.create-controls legend span{font:11px Consolas,monospace;color:#c6a6f0;margin-right:10px;padding:4px 5px;background:#35263e;border-radius:4px}.create-controls label,.create-export-top label{display:block;font-size:12px;color:#c2b1d0;margin:0 0 9px}.create-controls select,.create-controls input[type=number],.create-export-top input,.create-export-top select{min-width:0;width:100%;background:#110e1a;border:1px solid #4a3b59;border-radius:6px;color:var(--ink);padding:10px 9px;font-size:13px}.create-family{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:#100c18;border-radius:8px;padding:4px;margin-bottom:13px}.create-family button{padding:8px 3px;font-size:12px;background:transparent;border-color:transparent}.create-family button[aria-pressed=true]{background:#3b294c;border-color:#a47bc566}.create-patterns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 20px}.create-patterns button{padding:11px 9px;font-size:11px;display:grid;gap:8px;justify-items:start;text-align:left;min-width:0;background:#171220;border-color:#493453}.create-patterns button[aria-pressed=true]{background:#3a2848;border-color:#c6a6f0;box-shadow:0 0 0 1px #c6a6f033}.create-patterns svg{width:66px;height:38px;fill:#ba9cc9;stroke:#25192e;stroke-width:1.6}.create-source{display:grid;grid-template-columns:44px minmax(0,1fr);gap:9px;align-items:center}.create-source img{border-radius:5px;object-fit:cover;border:1px solid #6a537c;width:44px;height:44px}.create-two{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}.create-range{margin-top:18px}.create-range label{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.create-range output{font-size:11px;color:#e6d4f8;background:#382740;padding:2px 7px;border-radius:4px;font-variant-numeric:tabular-nums}.create-controls input[type=range]{width:100%;margin:0;accent-color:#c6a6f0;cursor:pointer;height:22px}.create-range-ends{display:flex;justify-content:space-between;color:#91829f;font-size:10px;margin-top:0}.create-colors{display:flex;gap:14px;justify-content:space-between}.create-colors label{flex:1;margin:0}.create-colors input[type=color]{display:block;width:100%;height:34px;margin-top:7px;cursor:pointer}.create-details{margin-top:20px;border-top:1px solid #493453;padding-top:15px}.create-details summary{font-size:12px;color:#c4a7dc;cursor:pointer}.create-details>label{margin-top:15px}.create-seed{display:grid;grid-template-columns:1fr auto;gap:8px}.create-seed button{font-size:12px;padding:8px 11px}.create-reset{width:100%;padding:10px;color:#b69dc7;background:transparent;font-size:12px}.create-preview-area{min-width:0;position:sticky;top:20px}.create-preview-card{border:1px solid #544163;border-radius:12px;overflow:hidden;background:#191520;box-shadow:0 16px 40px #0002}.create-preview-toolbar{padding:14px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #40304e;background:#21182c}.create-views{display:flex;gap:5px}.create-views button{font-size:12px;padding:9px 12px;background:transparent}.create-views button[aria-pressed=true]{background:#412d52;border-color:#b48fce}.create-preview-toolbar>span{color:#a591b6;font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}.create-stage{position:relative;display:grid;place-items:center;min-height:240px;background:radial-gradient(ellipse at 50% 30%,#322638,#15111d);padding:20px}.create-stage canvas{display:block;width:min(100%,560px);height:auto;aspect-ratio:1;box-shadow:0 6px 32px #0004;border-radius:4px;touch-action:none}.create-stage canvas[hidden]{display:none}.create-stage #createSphere{cursor:grab}.create-stage #createSphere:active{cursor:grabbing}#createLoading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;color:#e8d5f6;font-size:13px;background:#17101cbb;backdrop-filter:blur(2px)}#createLoading[hidden]{display:none}.create-spinner{width:18px;height:18px;border:2px solid #705589;border-top-color:#ead4ff;border-radius:50%;animation:create-spin 1s linear infinite}@keyframes create-spin{to{transform:rotate(360deg)}}.create-preview-bottom{display:flex;gap:12px;align-items:center;justify-content:space-between;min-height:37px;padding:0 18px 10px;color:#ad9bbb;font-size:11px}.create-preview-bottom label{display:flex;gap:6px;align-items:center;white-space:nowrap}.create-preview-bottom label[hidden]{display:none}.create-preview-bottom input{accent-color:#c6a6f0}.create-maps{padding:12px 16px;border-top:1px solid #40304e;display:flex;gap:6px;flex-wrap:wrap}.create-maps button{padding:8px 10px;font-size:11px;border-color:transparent;background:#282033}.create-maps button[aria-pressed=true]{background:#4b345d;border-color:#b18bcd}.create-export-card{border:1px solid var(--line);border-radius:10px;background:#21192b;margin-top:17px;padding:18px}.create-export-top{display:grid;grid-template-columns:1fr 175px;gap:17px;margin-bottom:16px}.create-downloads{display:grid;grid-template-columns:1fr auto;gap:10px}.create-downloads button{font-size:12px;min-height:43px}.create-downloads button:disabled{opacity:.45;cursor:wait}.create-export-card>p{font-size:11px;line-height:1.7;color:#ad9bbc;margin:12px 0}.create-export-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#9d89ae}.create-export-foot button{padding:0;background:none;border:0;font-size:11px;color:#c9a6df;text-align:left;text-decoration:underline;text-underline-offset:3px}.create-status{min-height:22px;font-size:12px;color:#bea6ce;line-height:1.5;margin:11px 2px 0}.create-status[data-error=true]{color:#f2b3b3}
@media(min-width:1450px){.create-workspace{grid-template-columns:325px minmax(0,1fr)}.create-stage canvas{width:min(100%,620px)}}
@media(max-width:1000px){.create-shell{padding:28px 3vw 38px}.create-workspace{grid-template-columns:270px minmax(0,1fr);gap:17px}.create-controls{padding:20px 16px}.create-preview-toolbar{padding:12px;flex-wrap:wrap}.create-stage{padding:12px}.create-downloads{grid-template-columns:1fr}.create-export-top{grid-template-columns:1fr}.create-preview-bottom{flex-wrap:wrap;gap:6px}.create-preview-area{top:12px}}
@media(max-width:740px){.create-heading{display:block}.create-project{text-align:left;margin-top:17px}.create-project>div{justify-content:flex-start}.create-workspace{display:flex;flex-direction:column;gap:20px}.create-controls{width:100%;order:2}.create-preview-area{position:static;width:100%;order:1}.create-shell{padding:25px 20px 35px}.create-heading h2{font-size:29px}.create-patterns{grid-template-columns:repeat(3,minmax(0,1fr))}.create-preview-toolbar{gap:10px}.create-preview-toolbar>span{font-size:10px}.create-views{gap:3px}.create-views button{font-size:11px;padding:8px}.create-stage{min-height:190px;padding:10px}.create-export-top{grid-template-columns:minmax(0,1fr) 125px;gap:10px}.create-export-card{padding:14px}.create-export-foot{flex-wrap:wrap}.create-maps{gap:5px;padding:10px}.create-maps button{padding:7px 8px;font-size:10px}.create-controls fieldset{margin-bottom:22px}}
@media(prefers-reduced-motion:reduce){.create-spinner{animation:none}}
/* Pattern library and extended material controls. */
.create-selected-pattern{display:flex;align-items:center;gap:12px;width:100%;padding:10px;margin:0 0 22px;text-align:left;background:linear-gradient(130deg,#3c2b4c,#251b30);border-color:#9a77b5}.create-selected-pattern img{width:64px;height:64px;object-fit:cover;border-radius:5px;flex-shrink:0}.create-selected-pattern>span:nth-child(2){flex:1;min-width:0}.create-selected-pattern strong{display:block;font-size:13px;font-weight:600;line-height:1.4}.create-selected-pattern small{display:block;font-size:10px;color:#bea5d1;line-height:1.6;margin-top:4px}.create-selected-pattern>span:last-child{color:#dac0ef;font-size:18px}.create-upload-row{margin-top:10px}.create-upload-row button,.create-upload-info button{font-size:11px;padding:8px 11px;background:#2d2138}.create-upload-info{margin-top:10px;padding:10px;border:1px dashed #70528a;border-radius:6px;overflow-wrap:anywhere}.create-upload-info p{font-size:10px;line-height:1.6;color:#ae99bd;margin:0 0 7px}.create-upload-info p:first-child{color:#e1c8f1}.create-upload-info p:last-child{margin-top:8px;margin-bottom:0}.create-controls label.create-toggle{display:flex;align-items:center;gap:8px;margin:12px 0 0;color:#c9afd9}.create-toggle input{margin:0;accent-color:#c6a6f0}.create-emission-options{display:grid;grid-template-columns:72px 1fr;gap:12px;margin-top:14px;align-items:end}.create-emission-options[hidden]{display:none}.create-emission-options label{font-size:11px}.create-emission-options input[type=color]{display:block;width:100%;height:37px;margin-top:8px}.create-emission-options select{font-size:12px}.create-control-note{font-size:10px;line-height:1.7;color:#ad97bd;margin:14px 0 0}.create-maps button:disabled{opacity:.4;cursor:not-allowed}.create-pattern-dialog{width:min(950px,calc(100vw - 32px));max-width:950px;max-height:85vh;padding:0;border:1px solid #856497;border-radius:16px;background:#1a1422;color:var(--ink);box-shadow:0 25px 100px #000a}.create-pattern-dialog::backdrop{background:#08050dd9;backdrop-filter:blur(7px)}.create-picker-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:25px 28px 18px;background:linear-gradient(110deg,#30203e,#1b1525);border-bottom:1px solid #4c365d}.create-picker-head h2{font:400 30px/1.2 'Palatino Linotype',Palatino,serif;margin:8px 0 0}.create-picker-head button{width:36px;height:36px;flex-shrink:0;font-size:23px;padding:0}.create-picker-search{padding:18px 28px;display:grid;grid-template-columns:1fr auto;gap:9px 16px;align-items:center}.create-picker-search label{grid-column:1/-1;font-size:11px;color:#bea1d1}.create-picker-search input{min-width:0;width:100%;padding:11px 13px;background:#100c17;border:1px solid #684d7b;border-radius:7px;color:#eadcf5;font:inherit;font-size:13px}.create-picker-search span{font-size:11px;color:#b097c4}.create-pattern-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:0 28px 28px}.create-pattern-grid button{display:flex;flex-direction:column;gap:10px;text-align:left;padding:10px;background:#251c31;border:1px solid #4f3b60;border-radius:9px;min-width:0}.create-pattern-grid button:hover{background:#392849;border-color:#ad87c9}.create-pattern-grid button[aria-pressed=true]{border-color:#dfb6ff;background:#49305e;box-shadow:0 0 0 1px #c9a0ec}.create-pattern-grid img{width:100%;height:auto;aspect-ratio:1/1;image-rendering:auto;border-radius:5px}.create-pattern-grid strong{font-weight:500;font-size:11px;line-height:1.5}.create-pattern-dialog #createPatternEmpty{margin:10px 28px 35px;color:#bba1cc;font-size:14px}@media(max-width:740px){.create-pattern-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:0 17px 20px;gap:9px}.create-picker-head{padding:20px 17px 15px}.create-picker-search{padding:15px 17px}.create-picker-head .section-kicker{font-size:9px}.create-pattern-grid button{padding:7px}.create-picker-head h2{font-size:26px}}@media(max-width:420px){.create-pattern-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.create-picker-search{grid-template-columns:1fr}.create-picker-search span{grid-column:1}.create-pattern-dialog{max-height:88vh}}
@media(min-width:741px){.create-preview-area{top:var(--create-preview-top,20px)}}
.create-downloads .primary-button{background:linear-gradient(110deg,#d8b4ef,#b18ad1);color:#201429;border-color:#dbbef0;font-weight:600}
