button.deborah-meteor-meter[aria-haspopup="dialog"] {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.deborah-meteor-meter:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    border-radius: 12px;
}

.deborah-meteor-workshop {
    --meteor-accent: #fa792f;
    --meteor-deep: #792211;
    --meteor-line: color-mix(in srgb, var(--meteor-accent) 40%, transparent);
    --meteor-light: color-mix(in srgb, var(--meteor-accent) 36%, #fff);
    --meteor-muted: color-mix(in srgb, var(--meteor-accent) 13%, #e7dfe8);
    --meteor-gutter: clamp(14px, 3vw, 30px);
    width: min(820px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--meteor-line);
    border-radius: 19px;
    background: radial-gradient(ellipse at 0 18%, color-mix(in srgb, var(--meteor-deep) 32%, #130d18), transparent 63%),
        linear-gradient(140deg, #1b101a, #0c0d18 68%);
    color: #fff;
    box-shadow: 0 22px 78px #000d, 0 0 30px var(--meteor-line);
    font: 500 1rem/1.42 Outfit, system-ui, sans-serif;
}

.deborah-meteor-workshop[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.deborah-meteor-workshop::backdrop { background: #060712d9; backdrop-filter: blur(7px); }

.deborah-meteor-workshop > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px var(--meteor-gutter);
    border-bottom: 1px solid var(--meteor-line);
    background: radial-gradient(ellipse at left top, var(--meteor-line), transparent 72%);
}

.deborah-meteor-workshop > header small {
    color: var(--meteor-light);
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.deborah-meteor-workshop h2,
.deborah-meteor-workshop h3,
.deborah-meteor-workshop p,
.deborah-meteor-workshop dl,
.deborah-meteor-workshop dd { margin: 0; }

.deborah-meteor-workshop h2 { font: 750 clamp(1.45rem, 3.3vw, 2rem)/1.15 Outfit, sans-serif; }

.deborah-meteor-workshop__close {
    flex: 0 0 42px;
    height: 42px;
    border: 1px solid var(--meteor-line);
    border-radius: 50%;
    background: #090a13a0;
    color: #fff;
    font: 700 1.35rem/1 Outfit, sans-serif;
    cursor: pointer;
}

.deborah-meteor-workshop :focus-visible { outline: 2px solid var(--meteor-light); outline-offset: 2px; }

.deborah-meteor-workshop__body {
    display: grid;
    gap: 13px;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-color: var(--meteor-line) transparent;
    padding: 14px var(--meteor-gutter) 20px;
}

.deborah-meteor-workshop__core {
    display: grid;
    grid-template-columns: clamp(73px, 19vw, 162px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(10px, 4vw, 30px);
}

.deborah-meteor-workshop__art {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    isolation: isolate;
    background: radial-gradient(circle, color-mix(in srgb, var(--meteor-accent) 26%, transparent), transparent 69%);
}

.deborah-meteor-workshop__orbit {
    position: absolute;
    inset: 1px;
    border-radius: 50%;
    background: repeating-conic-gradient(transparent 0 26deg, var(--meteor-line) 27deg 30deg);
    mask-image: radial-gradient(closest-side, transparent 87%, #000 91% 97%, transparent);
    animation: deborahWorkshopOrbit 35s linear infinite;
}

.deborah-meteor-workshop[data-ready="true"] .deborah-meteor-workshop__orbit {
    background: repeating-conic-gradient(transparent 0 26deg, var(--meteor-light) 27deg 30deg);
    animation-duration: 18s;
}

.deborah-meteor-workshop__art > :is(img, svg) {
    width: 84%;
    height: 84%;
    object-fit: contain;
    filter: drop-shadow(0 0 calc(6px + var(--meteor-rage) * 13px) var(--meteor-accent));
}

.deborah-meteor-workshop__live { color: var(--meteor-muted); }
.deborah-meteor-workshop__live h3 { color: var(--meteor-light); font-size: .9rem; }
.deborah-meteor-workshop__value { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 7px; }
.deborah-meteor-workshop__value strong { color: #fff; font: 800 clamp(1.85rem, 5vw, 3.25rem)/1 Outfit, sans-serif; }
.deborah-meteor-workshop progress { display: block; width: 100%; height: 11px; accent-color: var(--meteor-accent); }
.deborah-meteor-workshop__live p { margin-top: 6px; font-size: .88rem; }
.deborah-meteor-workshop__live b { color: var(--meteor-light); text-shadow: 0 0 16px var(--meteor-accent); }

.deborah-meteor-workshop__tiers,
.deborah-meteor-workshop__preview dl { display: grid; gap: 8px; }
.deborah-meteor-workshop__tiers { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.deborah-meteor-workshop__tiers button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 4px;
    border: 1px solid #fff2;
    border-radius: 10px;
    background: #0a0a14cb;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.deborah-meteor-workshop__tiers button[aria-current="step"] { border-color: var(--meteor-accent); }

.deborah-meteor-workshop__tiers button[aria-pressed="true"] {
    background: linear-gradient(145deg, var(--meteor-line), #0a0a14c0 68%);
    box-shadow: inset 0 -2px var(--meteor-accent);
}

.deborah-meteor-workshop__tiers :is(img, svg) { width: 25px; height: 25px; object-fit: contain; }

.deborah-meteor-workshop__preview {
    padding: 10px 12px;
    border: 1px solid var(--meteor-line);
    border-radius: 12px;
    background: #0b0a14b8;
}

.deborah-meteor-workshop__preview h3 {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
    font-size: 1rem;
    color: var(--meteor-light);
}

.deborah-meteor-workshop__preview h3 small,
.deborah-meteor-workshop__preview dd span { color: var(--meteor-muted); font-size: .78rem; font-weight: 500; }

.deborah-meteor-workshop__preview dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 7px;
}

.deborah-meteor-workshop__preview dl div { min-width: 0; border-left: 1px solid var(--meteor-line); padding-left: 7px; }
.deborah-meteor-workshop__preview dt { font-size: .78rem; }
.deborah-meteor-workshop__preview dd { font-weight: 700; }
.deborah-meteor-workshop__preview dd span { display: block; }
.deborah-meteor-workshop__preview p { color: var(--meteor-muted); font-size: .86rem; margin-top: 7px; }
.deborah-meteor-workshop__cataclysm b { color: var(--meteor-light); }
.deborah-meteor-workshop__rule { color: var(--meteor-muted); font-size: .85rem; }

@keyframes deborahWorkshopOrbit { to { transform: rotate(1turn); } }

@media (max-width: 470px) {
    .deborah-meteor-workshop__tiers { gap: 4px; }
    .deborah-meteor-workshop__tiers button { flex-direction: column; gap: 0; padding-block: 4px; }
    .deborah-meteor-workshop__tiers :is(img, svg) { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .deborah-meteor-workshop__orbit { animation: none; }
}
