.gm-maker{--gm-ink:#f0ece0;--gm-soft:#b6ae9b;--gm-metal:#dbb36a;--gm-line:#403b30;color:var(--gm-ink);display:grid;gap:0;font:inherit}
.gm-maker button,.gm-maker input,.gm-maker output{font:inherit}
.gm-maker button,.gm-maker summary,.gm-wheel{touch-action:manipulation}
.gm-maker button{cursor:pointer;color:var(--gm-ink);background:#23221e;border:1px solid var(--gm-line);border-radius:5px;line-height:1.3;padding:6px 10px;font-size:.82rem}
.gm-maker button:hover:not(:disabled){border-color:var(--gm-metal);color:#f6d696}
.gm-maker button:disabled{opacity:.42;cursor:default}
.gm-maker :focus-visible{outline:2px solid #e4bd7a;outline-offset:2px}
.gm-history{display:flex;align-items:center;gap:6px;padding:.65rem 0 .85rem}
.gm-history button:last-child{margin-left:auto}
.gm-section{border-top:1px solid var(--gm-line)}
.gm-section:last-child{border-bottom:1px solid var(--gm-line)}
.gm-section>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;gap:.75rem;padding:.8rem .1rem;cursor:pointer;font-size:.95rem;font-weight:600;line-height:1.4}
.gm-section>summary::-webkit-details-marker{display:none}
.gm-section>summary::after{content:"";width:6px;height:6px;border-right:1.5px solid var(--gm-soft);border-bottom:1.5px solid var(--gm-soft);transform:rotate(45deg);margin:0 .4rem 3px 0}
.gm-section[open]>summary::after{transform:rotate(225deg);margin-top:5px}
.gm-body{padding:0 .1rem .9rem;display:grid;gap:.62rem}
.gm-section-tools{display:flex;justify-content:flex-end}
.gm-maker .gm-mini,.gm-maker .gm-add{background:transparent;color:var(--gm-soft);padding:3px 8px;font-size:.76rem}
.gm-maker .gm-add{justify-self:start}
.gm-wheels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem .65rem}
.gm-wheel-card{display:grid;justify-items:center;gap:.48rem;min-width:0;padding:.6rem .5rem;border:1px solid var(--gm-line);border-radius:6px;background:#1b1b18}
.gm-wheel-label{font-size:.81rem;color:var(--gm-soft);white-space:nowrap}
.gm-wheel{width:clamp(58px,5.9vw,84px);aspect-ratio:1;position:relative;border-radius:50%;box-shadow:0 0 0 1px #7b7668;cursor:crosshair;touch-action:none;background:radial-gradient(circle at center,#7c7974 0%,#817b71b3 22%,transparent 78%),conic-gradient(from 90deg,#ed6759,#d674c7,#6c78c7,#55a6c8,#5aa47b,#c9bc66,#ed6759)}
.gm-wheel i{position:absolute;border:1.5px solid #fff4d4;width:9px;height:9px;border-radius:50%;transform:translate(-50%,-50%);background:#17150f9c;pointer-events:none;box-shadow:0 0 0 1px #2c261a}
.gm-slider{display:grid;grid-template-columns:1fr auto;width:100%;gap:2px .6rem;align-items:center;font-size:.85rem;color:var(--gm-ink)}
.gm-slider[hidden]{display:none}
.gm-slider output{font-size:.79rem;color:var(--gm-metal);font-variant-numeric:tabular-nums}
.gm-slider input{grid-column:1/-1;width:100%;min-width:0;height:17px;margin:0;accent-color:var(--gm-metal);padding:0;cursor:pointer}
.gm-wheel-card .gm-slider{font-size:.75rem;color:var(--gm-soft)}
.gm-tabs{display:flex;gap:4px;flex-wrap:wrap}
.gm-tabs button{font-size:.76rem;padding:4px 7px}
.gm-tabs button[aria-pressed=true]{background:#443a23;border-color:#8a7146;color:#f5daa5}
.gm-curve{display:block;width:100%;height:auto;aspect-ratio:1.71;background:#171817;border:1px solid var(--gm-line);border-radius:4px;touch-action:none;cursor:crosshair;overflow:visible}
.gm-curve.gm-hue{background:linear-gradient(90deg,#532e2e,#56512d,#29472e,#284448,#34304b,#4c2e48,#532e2e)}
.gm-curve .gm-grid{stroke:#b5a98b38;stroke-width:1;vector-effect:non-scaling-stroke}
.gm-curve .gm-curve-line{fill:none;stroke:#e4be77;stroke-width:2;vector-effect:non-scaling-stroke;pointer-events:none}
.gm-curve circle{fill:#231f17;stroke:#efcf94;stroke-width:1.5;cursor:grab;vector-effect:non-scaling-stroke}
.gm-curve circle:focus-visible{outline:none;stroke:#fff}
@media(max-width:700px){.gm-wheel{width:72px}.gm-section>summary{min-height:42px}.gm-slider input{height:24px}}
