/* ==========================================================================
   AETHER MC — CLEAN TECHNICAL UI DESIGN SYSTEM
   Tokens:
   Bg: #101316 | Panel: #1A2026 | Field: #232B33 | Border: #35404B
   Text: #F4F7FA | Secondary: #B5C0CC | Accent: #B8E66B
   ========================================================================== */



:root {
  --bg: #101316;
  --panel: #1A2026;
  --panel-elevated: #20272E;
  --field: #232B33;
  --field-hover: #2A343E;
  --border: #35404B;
  --border-focus: #B8E66B;
  --text: #F4F7FA;
  --text-secondary: #B5C0CC;
  --accent: #B8E66B;
  --accent-bg: rgba(184, 230, 107, 0.12);
  --danger: #FF7A7A;
  --danger-bg: rgba(255, 122, 122, 0.14);
  --warning: #F5C451;
  --warning-bg: rgba(245, 196, 81, 0.14);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  --radius-panel: 14px;
  --radius-field: 10px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.aether-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px 56px;
}

@media (min-width: 768px) {
  .aether-shell {
    padding: 18px 24px 72px;
  }
}

/* ==========================================================================
   COMPACT HEADER & NAVIGATION (Zero overflow, mobile-friendly)
   ========================================================================== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
  min-height: 44px;
}

.site-brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--accent);
  color: #101316;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.header-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-field);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}

.nav-link-btn:hover {
  color: var(--text);
  background: var(--panel);
  border-color: var(--border);
}

.lang-switch {
  display: inline-flex;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  padding: 2px;
}

.lang-btn {
  min-width: 44px;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-btn.active {
  background: var(--accent);
  color: #101316;
}

/* Tool Switcher Navigation (Desktop bar + Mobile compact select) */
.tool-nav-desktop {
  display: none;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tool-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--radius-field);
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.tool-nav-link:hover {
  color: var(--text);
  background: var(--field);
}

.tool-nav-link.active {
  background: var(--accent);
  color: #101316;
  border-color: var(--accent);
  font-weight: 600;
}

.tool-nav-mobile {
  display: block;
  margin-bottom: 12px;
}

.tool-nav-select {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}

@media (min-width: 860px) {
  .tool-nav-desktop {
    display: flex;
  }
  .tool-nav-mobile {
    display: none;
  }
}

@media (max-width: 520px) {
  .header-nav-links {
    display: none;
  }
}

/* ==========================================================================
   PAGE HEADINGS (Compact on mobile so first control is above 390x844 fold)
   ========================================================================== */
.page-intro {
  margin-bottom: 16px;
}

.page-intro-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.page-h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--text);
}

@media (min-width: 768px) {
  .page-h1 {
    font-size: 38px;
    margin-bottom: 8px;
  }
}

.page-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  max-width: 760px;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--field);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

/* ==========================================================================
   HOME PAGE TASK CARDS & EXAMPLES
   ========================================================================== */
.task-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

@media (min-width: 640px) {
  .task-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .task-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.task-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  padding: 16px;
  transition: border-color 0.15s, background 0.15s;
}

.task-card:hover {
  border-color: var(--accent);
  background: var(--panel-elevated);
}

.task-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--field);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.task-card-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
}

.task-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.45;
}

.examples-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  padding: 20px;
  margin-bottom: 28px;
}

.section-h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}

.examples-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 700px) {
  .examples-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.example-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 10px 14px;
  background: var(--field);
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.example-link:hover {
  border-color: var(--accent);
}

.example-link span.arrow {
  color: var(--accent);
  font-weight: 600;
}

/* ==========================================================================
   TOOL WORKSPACE LAYOUT (2 Columns Desktop, 1 Column Mobile)
   ========================================================================== */
.workspace-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

@media (min-width: 920px) {
  .workspace-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.panel-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  padding: 18px;
  min-width: 0;
}

@media (min-width: 768px) {
  .panel-card {
    padding: 22px;
  }
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.panel-title {
  font-size: 21px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

/* ==========================================================================
   FORMS, INPUTS, BUTTONS (Min 44x44px hit targets)
   ========================================================================== */
.field-group {
  margin-bottom: 16px;
}

.field-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.input-control,
.select-control,
.textarea-control {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  background: var(--field);
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  color: var(--text);
  font-size: 16px;
}

.textarea-control {
  min-height: 140px;
  resize: vertical;
  font-family: var(--font-mono);
  font-size: 14px;
}

.input-control:focus,
.select-control:focus,
.textarea-control:focus {
  border-color: var(--accent);
  outline: none;
}

.btn-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-field);
  border: 1px solid var(--border);
  background: var(--field);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.btn:hover {
  background: var(--field-hover);
  border-color: var(--text-secondary);
}

.btn-primary {
  background: var(--accent);
  color: #101316;
  border-color: var(--accent);
  font-weight: 600;
}

.btn-primary:hover {
  background: #c5f07d;
  border-color: #c5f07d;
}

.btn-block {
  width: 100%;
}

/* Segmented Tabs inside a tool (e.g. Server Styling or Portals/Resources) */
.subtabs-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.subtab-btn {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-field);
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.subtab-btn.active {
  background: var(--accent);
  color: #101316;
  border-color: var(--accent);
  font-weight: 600;
}

/* ==========================================================================
   ENCHANTMENT ROWS (Accessible 44x44px level buttons + explicit conflict text)
   ========================================================================== */
.enchant-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.enchant-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: var(--field);
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  flex-wrap: wrap;
}

.enchant-item.is-selected {
  border-color: var(--accent);
  background: rgba(184, 230, 107, 0.08);
}

.enchant-item.is-conflict {
  background: rgba(27, 33, 39, 0.6);
  border-style: dashed;
}

.enchant-info {
  min-width: 150px;
  flex: 1;
}

.enchant-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.enchant-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.enchant-conflict-reason {
  font-size: 13px;
  color: var(--warning);
  margin-top: 3px;
}

.level-btn-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.level-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.level-btn:hover:not(:disabled) {
  border-color: var(--accent);
}

.level-btn[aria-pressed="true"] {
  background: var(--accent);
  color: #101316;
  border-color: var(--accent);
}

.level-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ==========================================================================
   SUMMARY METRICS & STEP LIST (Anvil, Create, Portals)
   ========================================================================== */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.summary-box {
  background: var(--field);
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  padding: 12px 14px;
}

.summary-val {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.summary-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.status-banner {
  padding: 12px 14px;
  border-radius: var(--radius-field);
  border: 1px solid var(--border);
  background: var(--field);
  font-size: 15px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.status-banner.ok {
  border-color: var(--accent);
  background: var(--accent-bg);
}

.status-banner.warn {
  border-color: var(--warning);
  background: var(--warning-bg);
}

.status-banner.err {
  border-color: var(--danger);
  background: var(--danger-bg);
}

.steps-ol {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-item {
  background: var(--field);
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  padding: 14px;
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
}

.step-cost-badge {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--accent-bg);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}

.step-combine-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}

@media (max-width: 520px) {
  .step-combine-grid {
    grid-template-columns: 1fr;
  }
}

.slot-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 0;
}

.slot-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot-text {
  min-width: 0;
}

.slot-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.slot-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

.step-result-line {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   CODE / COMMAND OUTPUT BLOCKS (Internal horizontal scroll only)
   ========================================================================== */
.code-block {
  background: #12161A;
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  margin-bottom: 12px;
  max-width: 100%;
}

/* Minecraft Item Tooltip Preview */
.mc-tooltip-preview {
  background: #140914;
  border: 2px solid #2D0A63;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 15px;
}

.mc-tooltip-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.mc-tooltip-ench {
  color: #B5C0CC;
  font-size: 14px;
}

/* ==========================================================================
   DELUXEMENUS CHEST GRID (With Item Icons, Zero Overflow)
   ========================================================================== */
.chest-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 4px;
  background: #12161A;
  border: 1px solid var(--border);
  border-radius: var(--radius-field);
  padding: 8px;
  margin-bottom: 16px;
  width: 100%;
}

.chest-slot-btn {
  aspect-ratio: 1 / 1;
  min-height: 36px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--field);
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.chest-slot-btn:hover {
  border-color: var(--text);
}

.chest-slot-btn.is-active {
  border: 2px solid var(--accent);
  background: var(--accent-bg);
  color: var(--text);
}

.chest-slot-btn.is-filled {
  background: #27323D;
  color: var(--text);
}

.chest-slot-num {
  font-size: 10px;
  line-height: 1;
  color: var(--text-secondary);
}

/* ==========================================================================
   COLLAPSIBLE DETAILS & FOOTER
   ========================================================================== */
details.info-details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  padding: 14px 18px;
  margin-top: 16px;
}

details.info-details summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

details.info-details .details-body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.site-footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: underline;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Endel-inspired monochrome direction: quiet surfaces, fine-line forms, light. */
:root{--bg:#080808;--panel:#111;--panel-elevated:#171717;--field:#1b1b1b;--field-hover:#222;--border:#303030;--border-focus:#fff;--text:#f6f6f6;--text-secondary:#acacac;--accent:#f2f2f2;--accent-bg:rgba(255,255,255,.06);--font-sans:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--radius-panel:24px;--radius-field:12px}
html{scroll-behavior:smooth;scroll-padding-top:28px}body{background:var(--bg)}
.aether-shell{max-width:1280px;padding:22px 36px 28px}.site-header{border:0;padding-bottom:20px;margin-bottom:20px;min-height:66px}.site-brand{font-size:17px;letter-spacing:-.04em;font-weight:500;gap:12px}.site-brand-mark{background:transparent;border:1px solid #c5c5c5;border-radius:50%;color:#fff;width:38px;height:38px;font-size:30px;font-weight:300;box-shadow:inset 0 0 12px #ffffff0b}.header-right{gap:30px}.header-nav-links{gap:20px}.nav-link-btn{font-size:14px;font-weight:400;padding:6px 0}.nav-link-btn:hover{border-color:transparent;background:transparent}.lang-switch{background:#171717;border-color:#292929;border-radius:30px}.lang-btn{border-radius:24px;min-height:40px;min-width:44px;font-weight:400}.lang-btn.active{box-shadow:0 0 16px #ffffff18}
.page-intro{margin:32px 0}.page-h1{font-weight:400;letter-spacing:-.055em;font-size:clamp(30px,4vw,52px);line-height:1.12}.page-subtitle{font-size:16px;line-height:1.6;max-width:720px}.version-pill{font-size:12px;background:#141414;border-color:#292929;border-radius:30px;max-width:100%;white-space:normal}
.home-intro{text-align:center;position:relative;isolation:isolate;padding:54px 0 62px;margin:0;overflow:hidden}.hero-eyebrow,.small-label{font-size:10px;letter-spacing:.18em;color:#a5a5a5;display:block;font-weight:500}.home-intro .page-h1{font-size:clamp(48px,7vw,92px);line-height:1.02;letter-spacing:-.055em;max-width:900px;margin:24px auto}.home-intro .page-subtitle{font-size:18px;line-height:1.5;max-width:580px;margin:0 auto;color:#b0b0b0}.hero-actions{display:flex;align-items:center;justify-content:center;gap:30px;margin:30px 0 20px;flex-wrap:wrap}.hero-actions .btn{padding:13px 26px;min-height:52px;border-radius:40px;font-size:15px;box-shadow:0 0 28px #ffffff15;gap:22px}.hero-secondary{font-size:14px;color:#c6c6c6;min-height:44px;display:flex;align-items:center}.hero-secondary:hover{color:#fff}.hero-footnote{font-size:12px;color:#838383}.hero-atmosphere{position:absolute;z-index:-1;inset:8px -15% -15px;display:flex;align-items:center;justify-content:center;opacity:.22;mask-image:linear-gradient(90deg,#000,transparent 38%,transparent 62%,#000);pointer-events:none}.hero-atmosphere .orbit-art{width:min(100%,1100px);height:100%;min-height:580px;color:#aaa;transform:rotate(-22deg)}
.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:24px}.section-heading h2{margin:0;font-size:28px;line-height:1.2;font-weight:400;letter-spacing:-.04em}.section-heading>span{font-size:13px;color:#888}.tools-section{padding:36px 0 0}.task-grid{gap:16px;margin-bottom:80px}.task-card{display:block;border:1px solid #292929;background:linear-gradient(145deg,#171717,#101010);border-radius:24px;padding:0;overflow:hidden;position:relative;transition:border-color .25s,transform .25s,background .25s}.task-card:hover{border-color:#666;background:#181818;transform:translateY(-4px)}.task-art{height:170px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.orbit-art{width:190px;height:190px;color:#d8d8d8;flex-shrink:0}.task-art .orbit-art{opacity:.76;transition:transform .8s,opacity .6s}.task-card:hover .orbit-art{transform:rotate(14deg) scale(1.04);opacity:1}.task-index{position:absolute;top:24px;left:26px;font-family:var(--font-mono);font-size:11px;color:#777}.task-arrow{position:absolute;right:24px;top:21px;font-size:20px;color:#888}.task-copy{padding:2px 26px 28px}.task-card-title{font-weight:400;font-size:22px;letter-spacing:-.035em;margin:0 0 9px}.task-card-desc{font-size:14px;color:#aaa;line-height:1.5;max-width:290px}.orbit-1{transform:rotate(35deg)}.orbit-2{transform:rotate(70deg)}.orbit-3{transform:rotate(110deg)}.orbit-4{transform:rotate(145deg)}
.examples-section{background:transparent;border:0;padding:0;margin-bottom:80px}.examples-list{gap:0 30px}.example-link{border-width:0 0 1px;border-radius:0;background:transparent;padding:21px 0;font-weight:400;font-size:15px}.example-link:hover{background:transparent;border-color:#aaa}.arrow{color:#aaa!important}.home-notes{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding:40px 0 90px;border-top:1px solid var(--border)}.home-notes h2{font-size:40px;font-weight:400;line-height:1.15;letter-spacing:-.045em;max-width:340px;margin:24px 0}.home-faq details{border-bottom:1px solid var(--border);padding:22px 0}.home-faq summary{cursor:pointer;font-size:16px;list-style:none}.home-faq summary::after{content:'+';float:right;color:#888}.home-faq details[open] summary::after{content:'−'}.home-faq p{font-size:14px;line-height:1.7;color:var(--text-secondary)}
.tool-nav-desktop{gap:7px;padding:6px;border:1px solid #282828;background:#111;border-radius:40px;width:fit-content;max-width:100%}.tool-nav-link{border:0;border-radius:30px;background:transparent;font-size:13px;padding:8px 17px;font-weight:400}.tool-nav-link.active{background:#efefef;color:#111;font-weight:500;box-shadow:0 0 18px #ffffff12}.tool-nav-select{background:#151515;border-radius:14px}.panel-card{background:linear-gradient(135deg,#141414,#101010);border-color:#2c2c2c;padding:26px}.panel-title{font-weight:400;font-size:22px;letter-spacing:-.035em}.input-control,.select-control,.textarea-control{background:#1a1a1a;border-color:#383838}.input-control:focus,.select-control:focus,.textarea-control:focus{border-color:#999;outline:1px solid #999}.btn{font-weight:400;border-radius:30px}.btn-primary,.btn-primary:hover{background:#efefef;border-color:#efefef;color:#111}.btn-primary:hover{box-shadow:0 0 20px #ffffff28}.enchant-item{background:#181818;border-color:#303030;border-radius:14px}.enchant-title{font-weight:400}.enchant-item.is-selected{background:#202020;border-color:#666}.level-btn{border-radius:50%;background:#141414;font-weight:400;min-width:44px}.level-btn[aria-pressed=true]{box-shadow:0 0 14px #ffffff12}.enchant-item.is-conflict{background:#101010}.level-btn:disabled{opacity:.65}.summary-grid{grid-template-columns:repeat(auto-fit,minmax(min(135px,100%),1fr))}.summary-box{background:#1a1a1a;border:1px solid #333;border-radius:14px}.summary-val{font-size:28px;font-weight:400;letter-spacing:-.04em;overflow-wrap:anywhere}.summary-label{font-size:12px}.status-banner.ok{border-color:#454545;background:#1b1b1b}.status-banner strong{font-weight:500}.step-item{background:#171717;border-radius:14px}.step-cost-badge{border-color:#444;background:#242424;color:#e0e0e0}.slot-box{background:#111;border:0}.step-result-line{display:block;overflow-wrap:anywhere}.step-result-line strong{display:block;font-size:12px;color:#999;font-weight:400;margin-bottom:3px}.slot-title{font-weight:400}.slot-desc{font-size:12px}.mc-tooltip-preview{border:1px solid #555;background:radial-gradient(ellipse at 10% 0%,#302537,#131015);border-radius:15px;padding:22px}.code-block{white-space:pre;word-break:normal;max-height:360px;border-color:#333;font-size:13px;background:#0a0a0a}.subtab-btn{border-radius:30px;font-weight:400;font-size:14px}.chest-grid{overflow-x:auto;grid-template-columns:repeat(9,minmax(38px,1fr));background:#0c0c0c}.chest-slot-btn{min-width:38px;min-height:44px}.info-details{background:#131313!important;border-color:#303030!important}.site-footer{margin-top:36px;padding-top:30px;font-size:12px;gap:24px}.footer-brand{display:flex;flex-direction:column;gap:8px}.footer-brand strong{font-weight:500;letter-spacing:-.03em;color:#eee;font-size:16px}.footer-links{gap:20px}.footer-links a{font-size:12px;text-decoration:none}.site-footer small{width:100%;font-size:11px;color:#777}.help-dialog{background:#151515;color:#eee;border:1px solid #444;border-radius:26px;max-width:620px;width:calc(100% - 32px);padding:36px;line-height:1.7}.help-dialog::backdrop{background:#000b;backdrop-filter:blur(8px)}.help-dialog h2{font-size:32px;font-weight:400;letter-spacing:-.04em;margin:8px 0 22px}.help-dialog p,.help-dialog li{font-size:14px;color:#bbb}.help-dialog li{margin-bottom:12px}.dialog-close{position:absolute;top:12px;right:12px;font-size:24px;padding:4px 14px}.toast:empty{display:none}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:14px 24px;background:#eee;color:#111;border-radius:30px;z-index:50;max-width:90vw;font-size:14px;box-shadow:0 5px 30px #0008}.skip-link{position:fixed;left:16px;top:-80px;background:white;color:black;padding:12px;z-index:100}.skip-link:focus{top:12px}.workspace-grid>*{min-width:0}input,select,textarea{min-width:0}.panel-card p{overflow-wrap:anywhere}
@media(min-width:980px){.task-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:767px){.aether-shell{padding:15px 20px 24px}.site-header{margin-bottom:12px;padding-bottom:10px}.header-right{gap:10px}.site-brand{font-size:15px;gap:8px}.site-brand-mark{width:32px;height:32px;font-size:26px}.lang-btn{min-height:38px}.home-intro{padding:44px 0 40px}.home-intro .page-h1{font-size:55px;margin:22px auto}.home-intro .page-subtitle{font-size:15px;max-width:330px}.home-intro .page-subtitle br{display:none}.hero-actions{gap:16px;margin-top:24px}.hero-actions .btn{min-height:48px}.hero-atmosphere{inset:0 -35%;opacity:.2}.hero-atmosphere .orbit-art{min-height:480px}.tools-section{padding-top:18px}.section-heading{margin-bottom:18px;gap:12px}.section-heading h2{font-size:25px}.section-heading>span{font-size:11px;max-width:110px;text-align:right}.task-grid{gap:12px;margin-bottom:52px}.task-card{display:flex;align-items:center;min-height:142px}.task-art{width:108px;height:130px;flex-shrink:0}.task-art .orbit-art{width:132px;height:132px}.task-index{top:10px;left:14px;font-size:9px}.task-arrow{display:none}.task-copy{padding:20px 20px 20px 12px}.task-card-title{font-size:20px;margin-bottom:6px}.task-card-desc{font-size:13px}.examples-section{margin-bottom:56px}.home-notes{grid-template-columns:1fr;gap:12px;padding:30px 0 45px}.home-notes h2{font-size:34px;max-width:280px}.home-faq details{padding:18px 0}.page-intro{margin:20px 0}.page-h1{font-size:32px}.page-subtitle{font-size:14px}.page-intro-top{gap:8px}.panel-card{padding:18px;border-radius:20px}.panel-title{font-size:21px}.enchant-info{min-width:120px}.enchant-title{font-size:14px}.summary-grid{gap:8px}.summary-box{padding:12px}.help-dialog{padding:26px}.tool-nav-mobile>.field-label{display:none}.site-footer{gap:24px}.footer-links{gap:14px}.step-combine-grid{grid-template-columns:minmax(0,1fr)}.step-cost-badge{white-space:nowrap;font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
.hero-atmosphere{inset:60px -8% -80px;opacity:.15;mask-image:linear-gradient(transparent 15%,#000 55%,transparent 100%)}
.hero-atmosphere .orbit-art{color:#aaa;animation:orbit-breathe 18s ease-in-out infinite alternate}
@keyframes orbit-breathe{from{transform:rotate(-28deg) scale(.96)}to{transform:rotate(-18deg) scale(1.04)}}
@media(max-width:767px){.hero-atmosphere{opacity:.11;inset:70px -40% -80px}.enchant-item{scroll-margin-top:16px}}
@media(prefers-reduced-motion:reduce){.hero-atmosphere .orbit-art{animation:none}}
.tool-guide{border:1px solid #303030;background:#111;border-radius:16px;margin:0 0 22px;padding:14px 18px}.tool-guide summary{cursor:pointer;font-size:14px;min-height:24px}.tool-guide summary span{color:#888;font-size:12px;margin-left:16px}.tool-guide ol{color:#b7b7b7;font-size:14px;line-height:1.7;padding-left:22px;max-width:920px}.tool-guide li{padding:4px 0 4px 6px}.field-hint{font-size:12px;color:#a0a0a0;margin:0 0 18px;line-height:1.6}.text-link{color:white;text-decoration:underline;text-underline-offset:4px}
.tool-illustration{width:216px;height:216px;object-fit:contain;display:block;transition:transform .6s,filter .6s;filter:brightness(.92)}.task-card:hover .tool-illustration{transform:translateY(-3px) scale(1.04);filter:brightness(1.1)}.task-art{height:190px}.task-copy{padding-top:4px}
@media(max-width:767px){.task-art{height:130px;width:112px}.tool-illustration{width:140px;height:140px}.task-copy{padding-top:20px}}
.site-brand-image{width:44px;height:44px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 0 7px #ffffff13)}
@media(max-width:767px){.site-brand-image{width:38px;height:38px}}
.mobile-result-link{display:none}
@media(max-width:767px){body:not(.is-home){padding-bottom:76px}.mobile-result-link{display:inline-flex;position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:20;box-shadow:0 6px 24px #000a;white-space:nowrap}.panel-card{scroll-margin-top:18px}}
/* A task-first home: the tools should be visible before any marketing. */
.home-intro{padding:25px 0 34px}.home-intro .page-h1{font-size:clamp(44px,5.3vw,68px);margin:8px auto 18px;line-height:1.04}.home-intro .page-subtitle{font-size:16px;max-width:560px}.hero-atmosphere{inset:-40px -15% -95px;opacity:.09}.hero-atmosphere .orbit-art{min-height:350px}.header-nav-links{display:none}.tools-section{padding-top:20px}.tools-section .section-heading>span{display:none}.task-art{height:146px}.tool-illustration{width:176px;height:176px}.task-copy{padding:4px 24px 24px}.task-card-title{font-size:21px}.task-grid{margin-bottom:54px}.examples-section{margin-bottom:30px}.task-index{display:none}.section-heading h2{font-size:26px}.info-details.command-advanced,.info-details.anvil-advanced{padding:12px 14px;margin:10px 0 18px}.command-advanced summary,.anvil-advanced summary{font-size:14px;font-weight:400}.advanced-check{display:flex;align-items:center;gap:10px;margin-bottom:16px;font-size:14px}.advanced-check input{width:20px;height:20px;accent-color:#fff}.command-advanced .details-body{margin-top:10px}.anvil-advanced .field-group{margin-bottom:0}
@media(max-width:767px){.home-intro{padding:15px 0 28px}.home-intro .page-h1{font-size:43px;margin:8px auto 15px}.home-intro .page-subtitle{font-size:14px;max-width:310px}.hero-atmosphere{opacity:.08;inset:-50px -35% -75px}.tools-section{padding-top:5px}.section-heading h2{font-size:23px}.task-art{height:118px;width:106px}.tool-illustration{width:128px;height:128px}.task-copy{padding:16px 18px 16px 8px}.task-card-title{font-size:19px}.task-card{min-height:120px}.task-card-desc{font-size:13px}.site-header{min-height:56px;margin-bottom:5px}.task-grid{margin-bottom:36px}}
.site-footer [data-tool-slug]{display:none}
/* Task-focused commands: the user's goal and exact release stay above the result. */
.command-start{margin-bottom:24px}
.command-selects{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px}
.command-selects .field-group{margin-bottom:12px}
.command-quick-grid,.home-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.command-quick,.home-quick-link{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--border-color,#292929);border-radius:14px;color:var(--text-primary,#eee);text-decoration:none;transition:background .15s,border-color .15s;min-width:0}
.command-quick:hover,.home-quick-link:hover{background:#161616;border-color:#666}
.command-quick img{width:56px;height:56px;object-fit:contain;flex-shrink:0}
.command-quick>span:first-of-type,.home-quick-link>span:first-of-type{flex:1;font-size:13px;line-height:1.45}
.command-quick>span:last-child,.home-quick-link>span:last-child{color:#999}
.version-help{margin-top:12px;color:var(--text-secondary,#aaa);font-size:13px}
.version-help p{max-width:780px;line-height:1.7}
.command-task-art{display:block;width:148px;height:148px;object-fit:contain;margin:0 0 16px}
.command-task-summary>p{line-height:1.65;color:var(--text-secondary,#aaa);margin:14px 0}
.command-task-summary .task-note{font-size:14px;margin-top:24px}
.coordinate-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}
.command-steps{padding-left:22px;color:var(--text-secondary,#aaa);font-size:14px;line-height:1.65;margin:22px 0}
.command-steps li+li{margin-top:10px}
.command-share{margin-top:12px}
.command-troubleshooting{margin-top:20px}
.command-troubleshooting .field-label{margin-top:18px}
.command-troubleshooting p{font-size:14px;line-height:1.7;color:var(--text-secondary,#aaa)}
.input-error{color:#eee;line-height:1.7;border-left:2px solid #aaa;padding-left:14px}
.home-quick-link{padding:16px;gap:12px}
.home-quick-link img{width:64px;height:64px;object-fit:contain}
.task-guide-content ol{padding-left:22px;line-height:1.8}
.task-guide-content p{line-height:1.7}
@media(max-width:1050px){.command-quick-grid,.home-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.command-selects{grid-template-columns:1fr;gap:0}.command-quick-grid{gap:8px}.command-quick{padding:10px;gap:8px}.command-quick img{width:40px;height:40px}.command-quick>span:first-of-type{font-size:12px}.command-task-art{width:112px;height:112px}.home-quick-grid{grid-template-columns:1fr}.home-quick-link{padding:10px 14px}.command-task-summary .task-note{margin-top:16px}.coordinate-fields{gap:8px}}

/* Keep the action above secondary explanations on small screens. */
.command-start>.version-help{background:transparent;border:0;padding:0;margin:4px 0 0;border-radius:0;font-size:13px}
.command-start>.version-help summary{font-size:13px;font-weight:400;color:#aaa;min-height:32px;display:flex;align-items:center}
@media(max-width:767px){.command-simple-grid:not(.has-coordinates)>.panel-card:first-child{order:2}.command-simple-grid:not(.has-coordinates)>.panel-card:nth-child(2){order:1}.command-simple-grid .command-task-art{width:88px;height:88px}.command-simple-grid .panel-card{min-width:0}}

#cmd-output-box{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-height:240px;overflow:auto}

.tool-reference:empty{display:none}.tool-reference{margin:48px 0 16px}.tool-reference .section-heading h2{font-size:23px}.reference-faq{border-top:1px solid #292929}.reference-faq details{border-bottom:1px solid #292929;padding:0 2px}.reference-faq summary{cursor:pointer;line-height:1.6;padding:18px 0;font-size:15px}.reference-faq p{color:#aaa;line-height:1.8;max-width:850px;margin:0 0 22px;font-size:14px}.reference-faq details[open] summary{color:#fff}

.error-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.error-actions a{text-decoration:none}
