.alchemy-intro { margin:28px 0 34px; padding:28px 32px; background:linear-gradient(115deg,#edf5ff,#f3f0ff); border:1px solid #cad9ed; border-radius:20px; }
.alchemy-intro h2 { font:500 27px/1.65 var(--serif); margin:6px 0 18px; }
.alchemy-intro p { font-size:15px; line-height:2; max-width:65em; }
.alchemy-steps { display:flex; flex-wrap:wrap; align-items:center; gap:12px; font-size:13px; }
.alchemy-steps span:not([aria-hidden]) { padding:10px 16px; background:#ffffffc9; border:1px solid #ccdaeb; border-radius:12px; }
.alchemy-note { border-top:3px solid #829dc8; }
.alchemy-note:nth-child(2) { border-top-color:#b6a0d5; }
.alchemy-unofficial { font-size:12px; color:var(--muted); margin:28px 0; }
.alchemy-figure { padding:0; border:0; }
.alchemy-figure picture { display:block; background:#fbfdff; border:1px solid #d3dfed; border-radius:16px; overflow:hidden; }
.alchemy-figure img { display:block; width:100%; height:auto; }
.alchemy-figure figcaption { font-size:13px; line-height:1.9; padding:10px 3px; }
.alchemy-figure .figure-links { display:block; margin-top:5px; }
.alchemy-figure.is-catalyst, .alchemy-figure.is-coke { max-width:480px; margin-inline:auto; }
.alchemy-icon { display:inline-block; object-fit:contain; vertical-align:middle; }
.complex-equipment-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:18px 0 26px; }
.complex-equipment-card { display:flex; align-items:center; gap:12px; min-width:0; padding:14px; border:1px solid #cbd9e8; border-radius:15px; background:#f7fbff; }
.complex-equipment-card:nth-child(3n+2) { background:#f5fbf8; border-color:#bddbd0; }
.complex-equipment-card .alchemy-icon { flex:none; }
.complex-equipment-card strong { display:block; font-size:15px; line-height:1.6; }
.complex-equipment-card small { display:block; color:#526a86; font-size:12px; line-height:1.6; }
.complex-product-art { display:flex; align-items:center; gap:12px; margin:12px 0; padding:12px 16px; border:1px solid #cad9ed; border-radius:14px; background:linear-gradient(110deg,#edf5ff,#f3f0ff); font-weight:700; }
.complex-product-art img { flex:none; }
.complex-figure { margin:20px 0 28px; }
.complex-jump { display:flex; flex-wrap:wrap; gap:8px 16px; padding:14px 0 20px; margin-bottom:16px; border-bottom:1px solid #d5e0ef; }
.complex-jump a { display:inline-flex; align-items:center; min-height:44px; font-size:14px; text-underline-offset:4px; }
.expanded-jump { display:flex; flex-wrap:wrap; gap:8px 16px; padding:14px 0 20px; margin-bottom:16px; border-bottom:1px solid #d5e0ef; }
.expanded-jump a { display:inline-flex; align-items:center; min-height:44px; font-size:14px; text-underline-offset:4px; }
.expanded-equipment-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:18px 0 26px; }
.expanded-equipment-card { display:flex; align-items:center; gap:12px; min-width:0; padding:14px; border:1px solid #cbd9e8; border-radius:15px; background:#f7fbff; }
.expanded-equipment-card:nth-child(3n+2) { background:#f5fbf8; border-color:#bddbd0; }
.expanded-equipment-card img { flex:none; }
.expanded-equipment-card strong { display:block; font-size:15px; line-height:1.6; }
.expanded-equipment-card small { display:block; color:#526a86; font-size:12px; line-height:1.6; }
.expanded-product { display:flex; align-items:center; gap:12px; padding:12px 16px; border:1px solid #cad9ed; border-radius:14px; background:linear-gradient(110deg,#edf5ff,#f3f0ff); }
.expanded-product img { flex:none; }
.expanded-conditions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 22px; margin:20px 0; padding:16px 20px; border:1px solid #cbdbea; border-radius:15px; background:#f6faff; }
.expanded-conditions>div { min-width:0; padding:10px 0; border-bottom:1px solid #dce6f1; }
.expanded-conditions dt { color:#536d8c; font-size:13px; }
.expanded-conditions dd { margin:3px 0 0; font-size:15px; line-height:1.8; font-weight:600; overflow-wrap:anywhere; }
.article-body .expanded-choice { padding:16px 20px; border:1px solid #c4dbd0; border-left:4px solid #78a590; border-radius:0 12px 12px 0; background:#f1faf5; }
.expanded-equipment-card small { overflow-wrap:anywhere; }
.expanded-figure { margin:20px 0 28px; }
.expanded-figure picture { display:block; overflow:hidden; border:1px solid #cad9ed; border-radius:16px; background:#f8fbff; }
.expanded-figure img { display:block; width:100%; height:auto; }
.expanded-figure figcaption { padding:10px 3px; font-size:14px; line-height:1.8; }
.expanded-machine { display:flex; align-items:center; gap:8px; min-width:150px; line-height:1.6; }
.expanded-machine img { flex:none; }
.expanded-machine small, .data-table td>small { display:block; color:#536b87; font-size:12px; }
.expanded-cycle-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 18px; margin:18px 0; padding:0; list-style:none; }
.expanded-cycle-list li { padding:14px; border:1px solid #d6e1ee; border-radius:12px; background:#f5f9fd; overflow-wrap:anywhere; }
.expanded-cycle-list strong { display:block; color:#2e4865; margin-bottom:6px; }
.expanded-cycle-list span { font-size:14px; line-height:1.8; }
.alchemy-group { margin-top:32px; scroll-margin-top:24px; }
.alchemy-group h2 { font-size:24px; margin:22px 0 18px; }
.alchemy-groups { display:flex; flex-wrap:wrap; gap:8px 20px; margin:16px 0 24px; }
.alchemy-groups a { display:inline-flex; align-items:center; min-height:44px; font-size:14px; }
.complex-figure picture { display:block; overflow:hidden; border:1px solid #cad9ed; border-radius:16px; background:#f8fbff; }
.complex-figure img { display:block; width:100%; height:auto; }
.complex-figure figcaption { padding:9px 3px; font-size:14px; }
.complex-recipes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 18px; margin:18px 0; padding:0; list-style:none; }
.complex-recipes li { display:grid; grid-template-columns:minmax(120px,.8fr) minmax(0,1.4fr); gap:8px; padding:10px 12px; border-radius:10px; background:#f4f8fc; font-size:13px; line-height:1.7; }
.complex-recipes strong { color:#2e4865; }
.complex-machine { display:flex; align-items:center; gap:8px; min-width:130px; line-height:1.6; }
.complex-machine .alchemy-icon { flex:none; }
.complex-machine strong { white-space:nowrap; }
.coke-recipe-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:22px 0 30px; }
.coke-recipe-card { min-width:0; padding:18px 14px; border:1px solid #ccd9e9; border-radius:17px; background:#fff; }
.coke-recipe-card.tone-green { background:#f5fbf8; border-color:#bddbd0; }
.coke-recipe-card.tone-violet { background:#faf8ff; border-color:#d2c6e7; }
.coke-recipe-card h3 { font-size:15px; line-height:1.7; min-height:3.2em; margin:0 0 12px; }
.coke-input-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; min-height:118px; }
.coke-input-item { display:flex; min-width:0; flex-direction:column; align-items:center; gap:5px; text-align:center; font-size:11px; line-height:1.5; }
.coke-input-item:only-child { grid-column:2; }
.coke-input-item .alchemy-icon { flex:none; }
.coke-input-item strong { white-space:nowrap; font-size:11px; }
.coke-item-name { min-height:2.8em; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; }
.coke-input-item strong small { display:block; font-size:10px; font-weight:500; }
.coke-slot-note { color:#526a86; min-height:5.25em; }
.coke-output-flow { display:grid; justify-items:center; gap:7px; margin:6px 0 12px; padding:12px 5px; border-block:1px dashed #d6e0ed; }
.coke-machine, .coke-product { display:flex; align-items:center; justify-content:center; gap:8px; text-align:center; }
.coke-machine { flex-direction:column; gap:1px; }
.coke-machine strong { font-size:16px; }
.coke-product strong { font-size:13px; }
.flow-arrow { color:#7893b5; line-height:1; font-size:18px; }
.coke-recipe-card>p { font-size:12px; line-height:1.75; margin:10px 0 0; }
.coke-capacity-summary { padding:9px 8px; border-radius:10px; background:#eff5fc; font-weight:700; text-align:center; }
.coke-expansion-grid, .coke-upstream-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:20px 0 28px; }
.coke-expansion-card, .coke-upstream-card { min-width:0; padding:17px; border:1px solid #ccd9e9; border-radius:16px; background:#fff; }
.coke-expansion-card h4, .coke-upstream-card h3 { margin:0 0 10px; }
.coke-expansion-card>p { font-size:13px; font-weight:700; }
.coke-expansion-card dl { margin:12px 0 0; }
.coke-expansion-card dl>div { display:grid; grid-template-columns:minmax(80px, .72fr) minmax(0,1.5fr); gap:6px; padding:9px 0; border-top:1px solid #e1e8f1; }
.coke-expansion-card dt { font-size:12px; font-weight:700; }
.coke-expansion-card dd { margin:0; font-size:12px; line-height:1.65; }
.coke-expansion-card dd strong { display:inline-block; white-space:nowrap; font-size:14px; }
.coke-upstream-card.tone-green { background:#f8fcfa; border-color:#bddbd0; }
.coke-upstream-card.tone-violet { background:#faf8ff; border-color:#d2c6e7; }
.coke-upstream-card .upstream-total { padding:10px; border-radius:10px; background:#edf4fb; line-height:1.7; }
.upstream-step-list { margin:12px 0; padding:0; list-style:none; }
.upstream-step { padding:11px 0; border-top:1px solid #dfe7f0; }
.upstream-step-head { display:grid; grid-template-columns:38px minmax(0,1fr); align-items:center; gap:7px; }
.upstream-step-head .alchemy-icon { grid-row:span 2; }
.upstream-step-head strong { min-width:0; font-size:12px; line-height:1.6; }
.upstream-step-head .upstream-for { grid-column:2; color:#526a86; font-size:12px; }
.upstream-step>p { margin:5px 0 0; font-size:11px; line-height:1.75; overflow-wrap:anywhere; }
.coke-upstream-card h4 { margin:18px 0 8px; font-size:13px; }
.upstream-leaves { padding-left:20px; font-size:12px; line-height:1.8; overflow-wrap:anywhere; }
.upstream-leaves li+li { margin-top:3px; }
.coke-upstream-grid { grid-template-columns:1fr; }
.coke-upstream-card details summary { padding:12px 2px; min-height:44px; cursor:pointer; font-size:14px; font-weight:600; }
.upstream-step-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 24px; }
.upstream-step-head strong, .upstream-step-head .upstream-for { font-size:14px; }
.upstream-step>p { font-size:13px; }
.crown-machine-summary { margin:20px 0 28px; padding:18px; border:1px solid #cedbed; border-radius:16px; background:#f5f8fd; }
.crown-machine-summary>p { display:flex; align-items:center; gap:8px; }
.crown-machine-summary .table-hint { display:none; }
.article-body .crown-machine-summary .table-scroll table { min-width:0; table-layout:fixed; }
.article-body .crown-machine-summary .table-scroll th:first-child { width:75%; }
.article-body .crown-machine-summary .table-scroll th, .article-body .crown-machine-summary .table-scroll td { padding:12px 10px; vertical-align:middle; }
.article-body .crown-machine-summary .table-scroll td { font-size:20px; white-space:nowrap; }
.alchemy-equipment-cell { display:flex; align-items:center; gap:10px; }
.alchemy-equipment-cell .alchemy-icon { width:40px; height:40px; flex:none; }
.diagram-disclosure { margin:20px 0; }
.home-games { margin:28px 12px 34px; }
.home-games .section-intro { margin:18px 0 22px; font-size:14px; line-height:1.95; max-width:65em; }
.game-home-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.game-home-card { padding:24px 27px; border:1px solid #d2dfed; border-radius:18px; background:linear-gradient(135deg,#f6fbff,#f7f3ff); }
.game-home-card h3 { font:500 23px/1.65 var(--serif); margin:10px 0 12px; }
.game-home-card h3 a { text-decoration:none; }
.game-home-card p { font-size:14px; line-height:1.9; }
.game-home-card .eyebrow { font-size:10px; }
.game-home-card .text-link { display:inline-flex; padding:10px 0; min-height:44px; font-size:13px; }
@media (max-width:700px) {
  .expanded-conditions { grid-template-columns:1fr; padding:10px 15px; }
  .article-body .expanded-choice { padding:14px 15px; }
  .expanded-equipment-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .expanded-equipment-card { padding:10px 8px; gap:7px; }
  .expanded-equipment-card img { width:36px; height:36px; }
  .expanded-equipment-card strong { font-size:13px; }
  .expanded-equipment-card small { font-size:11px; }
  .expanded-cycle-list { grid-template-columns:1fr; }
  .expanded-machine { min-width:150px; }
  .upstream-step-list { grid-template-columns:1fr; }
  .coke-recipe-grid { grid-template-columns:1fr; }
  .coke-recipe-card { max-width:none; }
  .coke-expansion-grid, .coke-upstream-grid { grid-template-columns:1fr; }
  .coke-expansion-card, .coke-upstream-card { padding:16px; }
  .coke-expansion-card dl>div { grid-template-columns:minmax(85px,.7fr) minmax(0,1.5fr); }
  .upstream-step-head strong, .upstream-step-head .upstream-for { font-size:13px; }
  .alchemy-intro { padding:23px 19px; }
  .alchemy-intro h2 { font-size:23px; }
  .alchemy-intro p { font-size:14px; }
  .alchemy-steps { gap:8px; font-size:12px; }
  .alchemy-steps span:not([aria-hidden]) { padding:8px 10px; }
  .alchemy-steps span[aria-hidden] { display:none; }
  .complex-equipment-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .complex-equipment-card { padding:10px 8px; gap:7px; }
  .complex-equipment-card .alchemy-icon { width:36px; height:36px; }
  .complex-equipment-card strong { font-size:13px; }
  .complex-equipment-card small { font-size:11px; }
  .complex-recipes { grid-template-columns:1fr; }
  .complex-recipes li { grid-template-columns:minmax(100px,.75fr) minmax(0,1.25fr); font-size:12px; }
  .complex-machine { min-width:0; }
  .game-home-cards { grid-template-columns:1fr; }
  .home-games { margin:28px 4px; }
  .game-home-card { padding:21px; }
  .game-home-card h3 { font-size:22px; }
  .alchemy-figure figcaption { font-size:12px; }
}
@media print { .alchemy-figure { break-inside:avoid; } .alchemy-figure .figure-links { display:none; } }

/* Catalog controls enhance the complete static list without network requests. */
.alchemy-index [hidden] { display:none!important; }
.alchemy-search { display:grid; grid-template-columns:2fr 1.3fr 1.6fr auto; gap:14px; align-items:end; padding:22px; margin:24px 0; border:1px solid #cedbef; border-radius:16px; background:#f5f9ff; }
.alchemy-search label { display:grid; gap:8px; min-width:0; font-size:14px; color:#466588; }
.alchemy-search input,.alchemy-search select,.alchemy-search button { box-sizing:border-box; width:100%; min-height:44px; padding:10px; border:1px solid #bdcfe7; border-radius:8px; color:#294d76; background:white; font:inherit; }
.alchemy-search input:focus-visible,.alchemy-search select:focus-visible,.alchemy-search button:focus-visible { outline:3px solid #88aee9; outline-offset:2px; }
.alchemy-search [role="status"] { grid-column:1/-1; margin:0; font-size:14px; }
@media(max-width:850px) { .alchemy-search { grid-template-columns:1fr 1fr; } }
@media(max-width:500px) { .alchemy-search { grid-template-columns:1fr; padding:16px; } }

.wide-guide .table-scroll .data-table.audit-wide-table { min-width:660px; }
.audit-wide-table th:first-child { min-width:13rem; width:13rem; }
.audit-wide-table th,.audit-wide-table td { padding:16px; }
