.guide-body {
    background:
        radial-gradient(circle at 8% 4%, rgba(213, 177, 77, .11), transparent 24rem),
        linear-gradient(90deg, rgba(41, 61, 45, .025) 1px, transparent 1px) 0 0 / 56px 56px,
        var(--paper);
}
.guide-body main { overflow: visible; }
.landing-header .nav-current { color: var(--clay); }
.guide-body .landing-header .nav-play { font-size: 12px; }
.guide-body .landing-brand small { font-size: 12px; }
.guide-body .landing-footer p,
.guide-body .landing-footer nav a { font-size: 12px; }
.guide-panel[hidden] { display: none !important; }

.guide-hero {
    width: min(1180px, calc(100% - 48px));
    min-height: 535px;
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    align-items: center;
    gap: clamp(48px, 7vw, 96px);
    margin: 0 auto;
    padding: 70px 0 80px;
}
.guide-hero-copy h1 {
    margin: 12px 0 0;
    color: var(--forest-950);
    font: 700 clamp(43px, 5vw, 66px)/1.18 Georgia, "Noto Serif TC", serif;
    letter-spacing: -.045em;
}
.guide-hero-copy > p:not(.section-label) {
    max-width: 610px;
    margin: 25px 0 28px;
    color: #536158;
    font-size: 16px;
    line-height: 1.9;
}
.guide-answer-card {
    position: relative;
    padding: 30px;
    border: 2px solid #294c39;
    border-radius: 8px 26px 8px 26px;
    background: linear-gradient(145deg, #fff9e9, #e9e4ca);
    box-shadow: 14px 14px 0 #ddbf6c, var(--shadow);
}
.guide-answer-card::before {
    content: "?";
    position: absolute;
    right: 25px;
    top: 10px;
    color: rgba(56, 91, 66, .08);
    font: 900 95px/1 Georgia, serif;
}
.guide-answer-heading { position: relative; padding-bottom: 18px; border-bottom: 1px solid #c8b98e; }
.guide-answer-heading span,
.guide-answer-heading strong { display: block; }
.guide-answer-heading span { color: var(--clay); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.guide-answer-heading strong { margin-top: 3px; color: var(--forest-900); font: 700 24px Georgia, "Noto Serif TC", serif; }
.guide-answer-card dl { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; }
.guide-answer-card dl div { min-width: 0; padding: 17px 0; border-bottom: 1px solid rgba(112, 98, 64, .2); }
.guide-answer-card dl div:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 4px; }
.guide-answer-card dt { color: #756c59; font-size: 13px; font-weight: 800; }
.guide-answer-card dd { display: grid; gap: 1px; margin: 4px 0 0; }
.guide-answer-card dd b { color: #2e6346; font-size: 21px; }
.guide-answer-card dd span { color: #766d5c; font-size: 12px; }

.guide-core-loop {
    width: min(1180px, calc(100% - 48px));
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    align-items: center;
    gap: 58px;
    margin: 0 auto 86px;
    padding: 45px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.guide-core-loop h2,
.guide-manual-heading h2,
.guide-troubleshooting h2,
.guide-final-cta h2 {
    margin: 7px 0 0;
    color: var(--forest-950);
    font: 700 clamp(29px, 3vw, 42px)/1.35 Georgia, "Noto Serif TC", serif;
    letter-spacing: -.02em;
}
.guide-core-loop > div > p:last-child {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 13px;
}
.guide-core-loop ol {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.guide-core-loop ol::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 27px;
    height: 2px;
    background: #d5bd77;
}
.guide-core-loop li { position: relative; display: grid; justify-items: center; text-align: center; }
.guide-core-loop li > span {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border: 2px solid #386149;
    border-radius: 50%;
    color: #fff5cf;
    background: var(--forest-800);
    box-shadow: 0 3px 0 var(--forest-950);
    font: 700 12px Georgia, serif;
}
.guide-core-loop li strong { margin-top: 10px; color: #385342; font-size: 13px; }
.guide-core-loop li small { color: #7d8175; font-size: 12px; }

.guide-manual { width: min(1180px, calc(100% - 48px)); margin: 0 auto 110px; scroll-margin-top: 88px; }
.guide-manual-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 23px; }
.guide-manual-heading > p { max-width: 310px; margin: 0 0 7px; color: #768078; font-size: 12px; text-align: right; }
.guide-tab-list {
    position: sticky;
    top: 72px;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 5px;
    padding: 8px;
    border: 1px solid #b6a06d;
    border-radius: 13px;
    background: rgba(244, 238, 223, .96);
    box-shadow: 0 9px 23px rgba(34, 53, 39, .12);
    backdrop-filter: blur(14px);
}
.guide-tab-list button {
    min-width: 0;
    min-height: 76px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    gap: 0 6px;
    padding: 9px 7px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #526159;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.guide-tab-list button:hover { border-color: #c9b783; background: #fff9e8; }
.guide-tab-list button[aria-selected="true"] {
    border-color: #214c38;
    color: #fff8dc;
    background: linear-gradient(145deg, #295e43, #173d2e);
    box-shadow: 0 3px 0 #102d23;
}
.guide-tab-list button > span {
    grid-row: 1 / 3;
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 900;
}
.guide-tab-list button strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.guide-tab-list button small { overflow: hidden; opacity: .72; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }

.guide-panels { margin-top: 18px; }
.guide-panel {
    min-height: 770px;
    padding: clamp(30px, 4.8vw, 60px);
    border: 1px solid #cbbf9e;
    border-radius: 8px 29px 8px 29px;
    background:
        linear-gradient(rgba(255, 253, 247, .96), rgba(249, 242, 223, .96)),
        url("ui-art/parchment-texture.png") center / cover;
    box-shadow: 0 18px 48px rgba(35, 49, 38, .11);
    scroll-margin-top: 175px;
}
.guide-panel:focus { outline: none; }
.guide-panel + .guide-panel { margin-top: 24px; }
.guide-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 37px; }
.guide-panel-heading p,
.level-roadmap header p,
.automation-answer p { margin: 0; color: var(--clay); font-size: 12px; font-weight: 900; letter-spacing: .11em; }
.guide-panel-heading h2 {
    max-width: 760px;
    margin: 4px 0 0;
    color: var(--forest-950);
    font: 700 clamp(29px, 3.3vw, 43px)/1.32 Georgia, "Noto Serif TC", serif;
}
.guide-time-chip {
    flex: 0 0 auto;
    padding: 7px 11px;
    border: 1px solid #c9b16d;
    border-radius: 999px;
    color: #8e663d;
    background: #fff7d8;
    font-size: 12px;
    font-weight: 900;
}
.guide-content-grid { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: clamp(35px, 5vw, 70px); }
.guide-content-grid.visual-left { grid-template-columns: 1.08fr .92fr; }
.guide-content-grid.visual-right { grid-template-columns: .9fr 1.1fr; }

.guide-step-list { display: grid; gap: 0; margin: 0; padding: 0; border-top: 1px solid #d6cdb6; list-style: none; }
.guide-step-list li { display: grid; grid-template-columns: 38px 1fr; gap: 13px; padding: 12px 0; border-bottom: 1px solid #d6cdb6; }
.guide-step-list li > span,
.compact-steps li > span {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff4cd;
    background: var(--forest-800);
    font: 700 12px Georgia, serif;
}
.guide-step-list strong { color: #355443; font-size: 13px; }
.guide-step-list p { margin: 3px 0 0; color: #68736b; font-size: 13px; line-height: 1.7; }

.guide-screenshot {
    position: relative;
    margin: 0;
    border: 3px solid var(--forest-950);
    border-radius: 12px;
    background: #102d23;
    box-shadow: 11px 12px 0 #d9c17c, 0 18px 35px rgba(28, 53, 39, .14);
    overflow: hidden;
}
.guide-frame-bar { height: 30px; display: flex; align-items: center; gap: 5px; padding: 0 10px; color: #e1d5b4; background: var(--forest-950); }
.guide-frame-bar span { width: 6px; height: 6px; border-radius: 50%; background: #ddb95f; }
.guide-frame-bar span:nth-child(2) { opacity: .65; }
.guide-frame-bar span:nth-child(3) { opacity: .35; }
.guide-frame-bar b { margin-left: 4px; font-size: 12px; }
.guide-screenshot > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.guide-screenshot figcaption { padding: 10px 13px; color: #cbd8ce; background: #173d2e; font-size: 12px; }
.shot-marker {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px 5px 5px;
    border: 1px solid #fff5d2;
    border-radius: 999px;
    color: #fff;
    background: rgba(169, 74, 47, .94);
    box-shadow: 0 4px 12px rgba(20, 32, 24, .28);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}
.shot-marker b { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #7d3f2c; background: #fff5d2; }
.marker-world-one { left: 35%; top: 50%; }
.marker-world-two { right: 9%; bottom: 21%; }
.marker-kitchen-one { left: 9%; top: 32%; }
.marker-kitchen-two { left: 24%; bottom: 20%; }
.marker-kitchen-three { right: 12%; bottom: 18%; }
.marker-market-one { left: 48%; top: 33%; }
.marker-market-two { right: 5%; top: 20%; }
.marker-market-three { right: 5%; bottom: 15%; }

.guide-tip-grid,
.guide-warning-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 38px; }
.guide-tip-grid article,
.guide-warning-grid article {
    padding: 17px;
    border: 1px solid #d0c4a4;
    border-radius: 9px;
    background: rgba(255, 249, 226, .76);
}
.guide-tip-grid span { color: #9a6a3e; font-size: 12px; font-weight: 900; }
.guide-tip-grid strong,
.guide-warning-grid strong { display: block; margin-top: 2px; color: var(--forest-800); font-size: 13px; }
.guide-tip-grid p,
.guide-warning-grid p { margin: 5px 0 0; color: #70766b; font-size: 13px; line-height: 1.65; }

.guide-rule-stack { display: grid; gap: 8px; }
.guide-rule-stack article,
.market-guide-sections article { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 13px; border: 1px solid #d5c8a6; border-radius: 9px; background: #fffaf0; }
.guide-rule-stack article > span,
.market-guide-sections article > span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid #b9934b;
    border-radius: 10px;
    color: #936a37;
    background: #fff0bd;
    font-size: 12px;
    font-weight: 900;
}
.guide-rule-stack strong,
.market-guide-sections strong { color: #36513f; font-size: 13px; }
.guide-rule-stack p,
.market-guide-sections p { margin: 3px 0 0; color: #6f7469; font-size: 13px; line-height: 1.65; }
.guide-note { display: grid; gap: 4px; margin-top: 15px; padding: 13px 15px; border-left: 3px solid var(--clay); color: #6e6c60; background: #f5e8d3; font-style: normal; }
.guide-note strong { color: #8e5037; font-size: 13px; }
.guide-note span { font-size: 12px; }
.guide-note.wide { grid-template-columns: auto 1fr; gap: 14px; margin-top: 35px; }

.guide-building-diagram {
    position: relative;
    min-height: 430px;
    margin: 0;
    border: 2px solid #355942;
    border-radius: 17px;
    background:
        radial-gradient(circle at center, rgba(255, 244, 186, .56), transparent 36%),
        linear-gradient(145deg, #b7ce91, #6f9061);
    box-shadow: 11px 12px 0 #dfd0a5;
    overflow: hidden;
}
.guide-building-diagram::before { content: ""; position: absolute; inset: 0; opacity: .25; background: url("ui-art/grass-texture-v4.png") center / 250px repeat; }
.diagram-hex { position: absolute; width: 180px; aspect-ratio: 1.15; border: 2px solid rgba(248, 225, 146, .5); clip-path: polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); background: rgba(230, 213, 134, .18); }
.hex-center { left: 33%; top: 25%; }
.hex-a { left: 3%; top: 25%; }
.hex-b { left: 18%; top: 54%; }
.hex-c { right: 4%; top: 25%; }
.hex-d { right: 18%; top: 54%; }
.diagram-wheat { position: absolute; z-index: 2; left: 24%; bottom: 42px; width: 235px; filter: drop-shadow(0 13px 7px rgba(31, 52, 31, .33)); }
.diagram-irrigation { position: absolute; z-index: 3; right: 13%; top: 41px; width: 130px; filter: drop-shadow(0 10px 6px rgba(31, 52, 31, .32)); }
.diagram-label { position: absolute; z-index: 4; display: grid; padding: 8px 11px; border-radius: 7px; color: #385142; background: rgba(255, 250, 228, .94); box-shadow: 0 5px 12px rgba(28, 47, 29, .18); font-size: 12px; }
.diagram-label b { color: #a56038; font-size: 12px; }
.diagram-label.production { left: 16px; bottom: 45px; }
.diagram-label.support { right: 16px; top: 17px; }
.guide-building-diagram figcaption { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; padding: 8px 13px; color: #edf4e5; background: rgba(21, 57, 40, .9); font-size: 12px; text-align: center; }
.guide-fact-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.guide-fact-row article { display: grid; padding: 16px; border-top: 2px solid #b58b43; background: #f6eed8; }
.guide-fact-row small { color: #887452; font-size: 12px; font-weight: 900; }
.guide-fact-row strong { margin-top: 3px; color: var(--forest-800); font-size: 14px; }
.guide-fact-row span { margin-top: 3px; color: #74786e; font-size: 13px; line-height: 1.6; }

.level-definition-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #cdbf9d;
    border-bottom: 1px solid #cdbf9d;
    background: rgba(248, 242, 226, .72);
}
.level-definition-grid article {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 2px 14px;
    padding: 18px 20px;
    border: 0;
    background: transparent;
    cursor: default;
}
.level-definition-grid article + article { border-left: 1px solid #cdbf9d; }
.level-definition-grid article > span {
    grid-row: 1 / 3;
    align-self: center;
    min-width: 66px;
    padding-right: 14px;
    border-right: 3px solid #b58b43;
    color: #8c6035;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}
.level-definition-grid strong { color: #365442; font-size: 14px; }
.level-definition-grid p { margin: 0; color: #72776d; font-size: 13px; line-height: 1.7; }
.guide-level-callout {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
    margin: 18px 0 25px;
    padding: 14px 17px;
    border-left: 4px solid #ad5c3e;
    color: #665f55;
    background: #f8e5d5;
    font-style: normal;
}
.guide-level-callout > b { color: #944a34; font-size: 13px; white-space: nowrap; }
.guide-level-callout > span { font-size: 13px; line-height: 1.65; }
.guide-level-callout strong { color: #315b43; }
.level-unlock-table-wrap {
    border: 1px solid #b9aa82;
    border-radius: 11px;
    background: #fffdf6;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}
.level-unlock-table { width: 100%; min-width: 880px; border-collapse: separate; border-spacing: 0; }
.level-unlock-table th,
.level-unlock-table td { padding: 14px 15px; border-right: 1px solid #ded5bc; border-bottom: 1px solid #ded5bc; vertical-align: top; text-align: left; }
.level-unlock-table tr > :last-child { border-right: 0; }
.level-unlock-table tbody tr:last-child > * { border-bottom: 0; }
.level-unlock-table thead th {
    color: #f5e9bf;
    background: #264f3c;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
}
.level-unlock-table thead th:first-child { border-radius: 9px 0 0; }
.level-unlock-table thead th:last-child { border-radius: 0 9px 0 0; }
.level-unlock-table tbody th {
    width: 90px;
    color: #9a5138;
    background: #f5e8cf;
    font: 700 21px Georgia, "Noto Serif TC", serif;
    white-space: nowrap;
}
.level-unlock-table tbody th span { display: block; color: #9a7750; font: 900 12px/1.2 system-ui, sans-serif; }
.level-unlock-table td { color: #556259; background: rgba(255, 253, 246, .9); font-size: 13px; line-height: 1.6; }
.level-unlock-table tbody tr:nth-child(even) td { background: #f8f3e5; }
.level-unlock-table ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.level-unlock-table li { padding-left: 11px; background: radial-gradient(circle at 2px 8px, #b18145 0 2px, transparent 2.5px); }
.level-empty { color: #a19c8d; }
.level-table-footnote { margin: 13px 3px 0; color: #77796f; font-size: 12px; line-height: 1.7; }

.building-truth-banner {
    display: grid;
    grid-template-columns: 88px 1fr;
    align-items: center;
    gap: 21px;
    margin-bottom: 22px;
    padding: 19px 23px;
    border: 2px solid #376149;
    border-radius: 10px 24px 10px 24px;
    color: #e9f0e8;
    background: linear-gradient(145deg, #315f47, #173d2e);
    box-shadow: 7px 8px 0 #d7bd72;
    font-style: normal;
}
.building-truth-banner > span {
    display: grid;
    place-items: center;
    min-height: 54px;
    border: 1px solid #e2c978;
    border-radius: 12px;
    color: #ffe9a1;
    font-size: 12px;
    font-weight: 900;
}
.building-truth-banner strong { display: block; color: #fff0ba; font: 700 19px Georgia, "Noto Serif TC", serif; }
.building-truth-banner p { margin: 4px 0 0; color: #cad8ce; font-size: 13px; line-height: 1.65; }
.production-level-curve {
    display: grid;
    grid-template-columns: .64fr 1.36fr;
    align-items: center;
    gap: 25px;
    padding: 21px;
    border: 1px solid #c9b984;
    border-radius: 10px;
    background: #f4ead0;
}
.production-level-curve header > span { color: #9a6539; font-size: 12px; font-weight: 900; }
.production-level-curve header > strong { display: block; margin-top: 2px; color: #34543f; font-size: 14px; }
.production-level-curve header > p { margin: 4px 0 0; color: #777568; font-size: 12px; line-height: 1.55; }
.production-level-curve ol,
.building-level-effects ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.production-level-curve li,
.building-level-effects li { display: grid; align-content: start; gap: 3px; padding: 10px; border: 1px solid #c9b98c; border-radius: 7px; background: #fffaf0; }
.production-level-curve li b,
.building-level-effects li b { color: #98623b; font-size: 13px; }
.production-level-curve li span,
.building-level-effects li span { color: #59665d; font-size: 13px; line-height: 1.5; }
.building-catalog-group { margin-top: 42px; }
.building-catalog-group > header { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #cfc3a3; }
.building-catalog-group > header p { margin: 0; color: #a2693e; font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.building-catalog-group > header h3 { margin: 2px 0 0; color: #31533e; font: 700 25px Georgia, "Noto Serif TC", serif; }
.building-catalog-group > header span { display: block; max-width: 720px; margin-top: 4px; color: #73786e; font-size: 13px; }
.building-catalog-group > header > b { flex: 0 0 auto; padding: 6px 10px; border: 1px solid #b59557; border-radius: 999px; color: #8c653c; background: #fff4cd; font-size: 12px; }
.building-entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 11px; }
.building-entry {
    min-width: 0;
    border: 1px solid #c9bd9e;
    border-radius: 10px;
    background: #fffaf0;
    box-shadow: 0 5px 13px rgba(41, 57, 42, .05);
    overflow: hidden;
}
.building-entry[open] { grid-column: 1 / -1; border-color: #52745b; box-shadow: 0 10px 25px rgba(38, 59, 42, .1); }
.building-entry.ocean-map-pending { border-color: #9f7950; background: #fbf4e5; }
.building-entry summary {
    min-height: 102px;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 9px 14px 9px 9px;
    cursor: pointer;
    list-style: none;
}
.building-entry summary::-webkit-details-marker { display: none; }
.building-entry[open] summary { border-bottom: 1px solid #d5c9a9; background: #f7eed8; }
.building-entry-image { width: 82px; height: 82px; display: grid; place-items: center; border-radius: 9px; background: radial-gradient(circle, #f4e6b8, #d6dfbb); overflow: hidden; }
.building-entry-image img { width: 78px; height: 78px; object-fit: contain; filter: drop-shadow(0 6px 4px rgba(37, 56, 36, .2)); }
.building-entry-title { min-width: 0; display: grid; }
.building-entry-title small { color: #9a6b43; font-size: 12px; font-weight: 900; }
.building-entry-title strong { margin-top: 2px; overflow: hidden; color: #315440; font: 700 17px Georgia, "Noto Serif TC", serif; text-overflow: ellipsis; white-space: nowrap; }
.building-entry-title > span { margin-top: 3px; overflow: hidden; color: #74796f; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.building-entry-action { display: grid; justify-items: center; gap: 2px; color: #8f6440; font-size: 12px; font-weight: 900; }
.building-entry-action::after { content: "+"; width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid #aa854b; border-radius: 50%; font-size: 15px; }
.building-entry[open] .building-entry-action::after { content: "−"; }
.building-entry-body { padding: 22px; }
.building-availability-note { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 11px 13px; border: 1px solid #bd8b51; border-radius: 8px; background: #fff0c9; }
.building-availability-note strong { flex: 0 0 auto; color: #8d492f; font-size: 13px; }
.building-availability-note span { color: #715d42; font-size: 13px; line-height: 1.55; }
.building-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.building-meta-grid p { display: grid; gap: 3px; margin: 0; padding: 13px 14px; border-left: 3px solid #b18445; background: #f3e9d3; }
.building-meta-grid small { color: #966b43; font-size: 12px; font-weight: 900; }
.building-meta-grid strong { color: #526158; font-size: 13px; font-weight: 700; line-height: 1.6; }
.building-products,
.building-level-effects { margin-top: 23px; }
.building-products h4,
.building-level-effects h4 { margin: 0 0 9px; color: #35543f; font-size: 13px; }
.building-products > ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 0; padding: 0; list-style: none; }
.building-products li { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 11px; padding: 12px; border: 1px solid #d3c7aa; border-radius: 8px; background: #fffdf7; }
.building-products li > div { min-width: 0; display: grid; }
.building-products li strong { color: #31553f; font-size: 13px; }
.building-products li span { margin-top: 1px; color: #8b765b; font-size: 12px; }
.building-products li small { margin-top: 5px; color: #747a71; font-size: 12px; line-height: 1.55; }
.building-products li > b { padding: 4px 6px; border-radius: 999px; color: #8f5439; background: #f7dfc9; font-size: 12px; white-space: nowrap; }
.building-no-products { margin: 0; padding: 14px; border: 1px dashed #b9aa83; border-radius: 8px; color: #77776d; background: #f8f2e3; font-size: 13px; }
.building-level-effects > p { margin: 9px 0 0; color: #7b7161; font-size: 12px; line-height: 1.6; }

.guide-control-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-bottom: 42px; }
.guide-control-levels article { position: relative; padding: 22px 20px 18px 72px; border: 1px solid #cdbf9c; border-radius: 10px; background: #fffaf0; }
.guide-control-levels article.featured { border-color: #416b50; color: #f7efd6; background: linear-gradient(145deg, #2c6046, #173d2e); }
.control-symbol { position: absolute; left: 18px; top: 22px; width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 11px; color: #416049; font-weight: 900; }
.featured .control-symbol { color: #f4d67d; }
.guide-control-levels small { color: #9b7245; font-size: 12px; font-weight: 900; }
.guide-control-levels h3 { margin: 1px 0 5px; color: #36513f; font-size: 15px; }
.guide-control-levels p { min-height: 47px; margin: 0; color: #72766c; font-size: 13px; line-height: 1.65; }
.guide-control-levels b { display: block; margin-top: 8px; color: #9b583d; font-size: 13px; }
.guide-control-levels .featured small,
.guide-control-levels .featured b { color: #f0ce70; }
.guide-control-levels .featured h3 { color: #fff3c9; }
.guide-control-levels .featured p { color: #cad9ce; }
.guide-subtitle { margin: 0 0 15px; color: var(--forest-800); font: 700 22px Georgia, "Noto Serif TC", serif; }
.guide-check-list { display: grid; gap: 0; margin: 0; padding: 0; border-top: 1px solid #d6cdb6; list-style: none; }
.guide-check-list li { display: grid; gap: 2px; padding: 11px 0 11px 26px; border-bottom: 1px solid #d6cdb6; background: radial-gradient(circle at 8px 19px, #4d7759 0 3px, transparent 4px); }
.guide-check-list strong { color: #3b5845; font-size: 13px; }
.guide-check-list span { color: #72786f; font-size: 13px; line-height: 1.65; }
.batch-visual { display: grid; grid-template-columns: 1fr auto .55fr auto 1.1fr; align-items: center; gap: 9px; padding: 28px; border: 2px solid #42604b; border-radius: 13px; background: linear-gradient(145deg, #f2e5b9, #d8ddb8); }
.batch-visual > b { color: #9a6940; font-size: 20px; }
.batch-card,
.batch-result,
.batch-multiplier { display: grid; justify-items: center; padding: 13px 7px; border: 1px solid #b6a06c; border-radius: 9px; background: rgba(255, 252, 235, .86); text-align: center; }
.batch-visual span { color: #827257; font-size: 12px; font-weight: 900; }
.batch-visual strong { color: #315742; font-size: 16px; }
.batch-visual small { color: #7a7464; font-size: 12px; }
.batch-multiplier strong { font-size: 28px; }
.batch-result { border-color: #4d7257; background: #315d45; }
.batch-result span,
.batch-result small { color: #ccdacd; }
.batch-result strong { color: #fff1bd; }
.batch-visual > p { grid-column: 1 / -1; margin: 5px 0 0; color: #74705e; font-size: 12px; text-align: center; }
.warehouse-warning { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 16px; margin-top: 37px; padding: 17px 20px; border: 1px solid #b56b4f; border-radius: 9px; background: #fae6d8; font-style: normal; }
.warehouse-warning > span { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid #aa5e43; border-radius: 13px; color: #944d38; font-weight: 900; }
.warehouse-warning strong { color: #8c4936; font-size: 13px; }
.warehouse-warning p { margin: 3px 0 0; color: #756760; font-size: 13px; }

.automation-answer { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 29px; margin-bottom: 36px; padding: 25px 31px; border: 2px solid #315d45; border-radius: 10px 27px 10px 27px; background: linear-gradient(135deg, #f8edc3, #dbe5c8); box-shadow: 8px 9px 0 #d9c17c; }
.automation-answer img { width: 145px; height: 145px; object-fit: contain; filter: drop-shadow(0 9px 6px rgba(39, 56, 35, .22)); }
.automation-answer h2 { margin: 3px 0 7px; color: var(--forest-950); font: 700 clamp(28px, 3.2vw, 43px)/1.28 Georgia, "Noto Serif TC", serif; }
.automation-answer span { color: #5f695c; font-size: 13px; }
.automation-guide-grid { align-items: start; }
.compact-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.compact-steps li { display: grid; grid-template-columns: 31px 1fr; gap: 11px; align-items: start; }
.compact-steps p { margin: 0; color: #70766c; font-size: 13px; line-height: 1.6; }
.compact-steps strong { display: block; color: #385641; font-size: 13px; }
.automation-status-board { overflow: hidden; border: 2px solid #173d2e; border-radius: 12px; color: #e9f0e8; background: linear-gradient(145deg, #173d2e, #285c43); box-shadow: 10px 11px 0 #dfc47d; }
.automation-status-board > header { display: flex; justify-content: space-between; gap: 15px; padding: 15px 17px; border-bottom: 1px solid rgba(243, 218, 147, .25); }
.automation-status-board > header span { color: #f4db8b; font-size: 12px; font-weight: 900; }
.automation-status-board > header strong { font-size: 12px; }
.automation-route { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 5px; padding: 20px 14px; text-align: center; }
.automation-route span { display: grid; justify-items: center; gap: 5px; color: #d7e2d9; font-size: 13px; }
.automation-route span b { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #e4cb7c; border-radius: 50%; color: #f8e6a8; background: rgba(10, 40, 28, .55); }
.automation-route i { color: #dfc36e; font-style: normal; }
.automation-event-list { margin: 0 14px 14px; overflow: hidden; border: 1px solid rgba(235, 210, 137, .3); border-radius: 8px; background: rgba(10, 37, 27, .42); }
.automation-event-list p { display: grid; grid-template-columns: 70px 1fr; gap: 8px; margin: 0; padding: 8px; border-bottom: 1px solid rgba(236, 219, 164, .13); font-size: 13px; }
.automation-event-list p:last-child { border-bottom: 0; }
.automation-event-list b { padding: 2px 5px; border-radius: 999px; text-align: center; }
.automation-event-list .ok { color: #2e5c3c; background: #dceecf; }
.automation-event-list .work { color: #335d69; background: #dcebee; }
.automation-event-list .wait { color: #8a5333; background: #f5d2ad; }
.automation-level-guide { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 40px; overflow: hidden; border: 2px solid #6d563b; border-radius: 9px; }
.automation-level-guide article { min-height: 96px; display: grid; align-content: center; justify-items: center; padding: 10px 6px; border-right: 1px solid #b69d68; color: #726a58; background: #e7ddc2; text-align: center; }
.automation-level-guide article:last-child { border-right: 0; }
.automation-level-guide article.unlocked { color: #fff0bd; background: #315d45; }
.automation-level-guide span { font-size: 12px; font-weight: 900; }
.automation-level-guide strong { font-size: 20px; }
.automation-level-guide small { font-size: 12px; }

.kitchen-guide-shot > img { object-position: left top; }
.kitchen-tools-guide { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; margin-bottom: 20px; }
.kitchen-tools-guide > span { min-width: 0; display: grid; justify-items: center; padding: 8px 3px; border: 1px solid #d0c3a3; border-radius: 8px; color: #405846; background: #fffaf0; font-size: 13px; font-weight: 900; text-align: center; }
.kitchen-tools-guide img { width: 40px; height: 40px; object-fit: contain; }
.kitchen-tools-guide small { color: #898172; font-size: 12px; font-weight: 600; }
.kitchen-rules li { padding-top: 10px; padding-bottom: 10px; }

.market-guide-sections { display: grid; gap: 9px; }
.market-guide-sections article > span { border-radius: 50%; }
.market-guide-shot > img { object-position: left top; }
.level-roadmap { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 32px; margin-top: 41px; padding: 24px 27px; border-radius: 10px; color: #eff3ea; background: linear-gradient(135deg, #183e2f, #2d6247); }
.level-roadmap h3 { margin: 2px 0 0; color: #fff2c5; font: 700 18px/1.4 Georgia, "Noto Serif TC", serif; }
.level-roadmap header a { display: inline-block; margin-top: 8px; color: #f2d274; font-size: 12px; font-weight: 900; }
.level-roadmap ol { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; margin: 0; padding: 0; list-style: none; }
.level-roadmap li { display: grid; align-content: start; padding: 10px; border: 1px solid rgba(240, 215, 141, .28); border-radius: 7px; background: rgba(255, 250, 226, .08); }
.level-roadmap li span { color: #f2d274; font-size: 12px; font-weight: 900; }
.level-roadmap li strong { margin-top: 3px; color: #fff; font-size: 13px; }
.level-roadmap li small { margin-top: 2px; color: #bccdc1; font-size: 12px; }

.guide-troubleshooting { width: min(1180px, calc(100% - 48px)); margin: 0 auto 105px; }
.guide-troubleshooting > header { max-width: 750px; margin-bottom: 31px; }
.guide-troubleshooting > header > p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.trouble-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.trouble-grid details { padding: 0 17px; border: 1px solid #c9bd9d; border-radius: 9px; background: #fffaf0; }
.trouble-grid summary { min-height: 66px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; color: #385442; cursor: pointer; list-style: none; }
.trouble-grid summary::-webkit-details-marker { display: none; }
.trouble-grid summary::after { content: "+"; color: #a06a3e; font-size: 18px; }
.trouble-grid details[open] summary::after { content: "−"; }
.trouble-grid summary span { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #a9864a; border-radius: 8px; color: #996b39; background: #fff0bd; font-size: 12px; font-weight: 900; }
.trouble-grid summary strong { font-size: 13px; }
.trouble-grid details p { margin: -3px 0 15px 44px; color: #6e756c; font-size: 13px; line-height: 1.7; }

.guide-final-cta { width: min(1180px, calc(100% - 48px)); display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 28px; margin: 0 auto 100px; padding: 37px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-final-cta > img { width: 90px; height: 90px; object-fit: contain; border-radius: 18px; filter: drop-shadow(0 7px 7px rgba(34, 52, 39, .18)); }
.guide-final-cta h2 { margin-top: 1px; }
.guide-final-cta > div > p:last-child { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

@media (max-width: 1040px) {
    .guide-hero { grid-template-columns: 1fr; gap: 42px; }
    .guide-answer-card { max-width: 780px; }
    .guide-core-loop { grid-template-columns: 1fr; gap: 32px; }
    .guide-tab-list {
        top: 64px;
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(142px, 23vw);
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
        scroll-snap-type: inline mandatory;
    }
    .guide-tab-list button { min-height: 65px; scroll-snap-align: start; }
    .guide-content-grid,
    .guide-content-grid.visual-left,
    .guide-content-grid.visual-right { grid-template-columns: 1fr; }
    .guide-content-grid.visual-left .guide-screenshot { order: 2; }
    .guide-content-grid.visual-left > div { order: 1; }
    .guide-screenshot { max-width: 850px; }
    .guide-control-levels { grid-template-columns: 1fr; }
    .guide-control-levels p { min-height: 0; }
    .production-level-curve { grid-template-columns: 1fr; }
    .level-roadmap { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .guide-tab-list {
        top: 64px;
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(142px, 42vw);
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
        scroll-snap-type: inline mandatory;
    }
    .guide-tab-list button { min-height: 65px; scroll-snap-align: start; }
    .guide-panel { scroll-margin-top: 158px; }
    .guide-core-loop ol { grid-template-columns: repeat(3, 1fr); gap: 20px 8px; }
    .guide-core-loop ol::before { display: none; }
    .guide-tip-grid,
    .guide-warning-grid,
    .guide-fact-row,
    .trouble-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .building-entry-grid { grid-template-columns: 1fr; }
    .building-entry[open] { grid-column: auto; }
    .production-level-curve ol,
    .building-level-effects ol { grid-template-columns: repeat(5, minmax(125px, 1fr)); overflow-x: auto; }
    .automation-level-guide { grid-template-columns: repeat(5, minmax(125px, 1fr)); overflow-x: auto; }
    .level-roadmap ol { grid-template-columns: repeat(6, minmax(125px, 1fr)); overflow-x: auto; }
    .guide-final-cta { grid-template-columns: 76px 1fr; }
    .guide-final-cta > img { width: 76px; height: 76px; }
    .guide-final-cta > a { grid-column: 2; justify-self: start; }
}

@media (max-width: 600px) {
    .guide-hero,
    .guide-core-loop,
    .guide-manual,
    .guide-troubleshooting,
    .guide-final-cta { width: min(100% - 28px, 1180px); }
    .guide-hero { min-height: 0; padding: 48px 0 62px; }
    .guide-hero-copy h1 { font-size: clamp(37px, 11vw, 49px); }
    .guide-hero-copy > p:not(.section-label) { font-size: 14px; }
    .guide-answer-card { padding: 23px 20px; border-radius: 7px 19px 7px 19px; box-shadow: 7px 8px 0 #ddbf6c; }
    .guide-answer-card dl { grid-template-columns: 1fr; }
    .guide-answer-card dl div:nth-last-child(-n+2) { border-bottom: 1px solid rgba(112, 98, 64, .2); padding-bottom: 17px; }
    .guide-answer-card dl div:last-child { border-bottom: 0; padding-bottom: 0; }
    .guide-core-loop { margin-bottom: 64px; padding: 38px 0; }
    .guide-core-loop ol { grid-template-columns: repeat(2, 1fr); }
    .guide-manual-heading { align-items: start; flex-direction: column; gap: 8px; }
    .guide-manual-heading > p { text-align: left; }
    .guide-tab-list { margin-inline: -14px; border-right: 0; border-left: 0; border-radius: 0; }
    .guide-panel { min-height: 0; padding: 27px 19px; border-radius: 7px 19px 7px 19px; }
    .guide-panel-heading { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 27px; }
    .guide-panel-heading h2 { font-size: 28px; }
    .guide-content-grid { gap: 29px; }
    .level-definition-grid { grid-template-columns: 1fr; }
    .level-definition-grid article + article { border-top: 1px solid #cdbf9d; border-left: 0; }
    .guide-level-callout { grid-template-columns: 1fr; gap: 4px; }
    .level-unlock-table-wrap { margin-inline: -7px; }
    .building-truth-banner { grid-template-columns: 58px 1fr; gap: 14px; padding: 17px 15px; box-shadow: 5px 6px 0 #d7bd72; }
    .building-truth-banner > span { min-height: 48px; }
    .building-truth-banner strong { font-size: 16px; }
    .production-level-curve { padding: 17px 14px; }
    .building-catalog-group > header { align-items: start; }
    .building-catalog-group > header h3 { font-size: 22px; }
    .building-entry summary { grid-template-columns: 64px minmax(0, 1fr) auto; min-height: 84px; gap: 10px; }
    .building-entry-image { width: 64px; height: 64px; }
    .building-entry-image img { width: 61px; height: 61px; }
    .building-entry-title strong { font-size: 15px; }
    .building-entry-body { padding: 17px 14px; }
    .building-meta-grid,
    .building-products > ul { grid-template-columns: 1fr; }
    .guide-tip-grid,
    .guide-warning-grid,
    .guide-fact-row,
    .trouble-grid { grid-template-columns: 1fr; }
    .guide-screenshot { border-width: 2px; box-shadow: 6px 7px 0 #d9c17c; }
    .guide-screenshot > img { aspect-ratio: 1.12; }
    .world-guide-shot > img { object-position: 39% top; }
    .kitchen-guide-shot > img { object-position: 39% top; }
    .market-guide-shot > img { object-position: 44% top; }
    .shot-marker { font-size: 12px; }
    .marker-world-one { left: 29%; top: 53%; }
    .marker-world-two { right: 6%; bottom: 20%; }
    .marker-kitchen-one { left: 5%; top: 27%; }
    .marker-kitchen-two { left: 18%; bottom: 21%; }
    .marker-kitchen-three { right: 7%; bottom: 18%; }
    .marker-market-one { left: 37%; top: 34%; }
    .marker-market-two { right: 3%; top: 19%; }
    .marker-market-three { right: 3%; bottom: 16%; }
    .guide-building-diagram { min-height: 330px; box-shadow: 6px 7px 0 #dfd0a5; }
    .diagram-hex { width: 135px; }
    .diagram-wheat { left: 18%; bottom: 38px; width: 190px; }
    .diagram-irrigation { right: 7%; width: 100px; }
    .batch-guide-grid { gap: 25px; }
    .batch-visual { grid-template-columns: 1fr; gap: 6px; padding: 19px; }
    .batch-visual > b { transform: rotate(90deg); font-size: 15px; }
    .warehouse-warning { grid-template-columns: 42px 1fr; padding: 14px; }
    .warehouse-warning > span { width: 39px; height: 39px; }
    .automation-answer { grid-template-columns: 92px 1fr; gap: 15px; padding: 20px 16px; box-shadow: 6px 7px 0 #d9c17c; }
    .automation-answer img { width: 90px; height: 90px; }
    .automation-answer h2 { font-size: 24px; }
    .automation-answer span { font-size: 13px; }
    .automation-status-board { box-shadow: 6px 7px 0 #dfc47d; }
    .automation-status-board > header { align-items: start; flex-direction: column; gap: 3px; }
    .automation-route { grid-template-columns: repeat(4, 1fr); }
    .automation-route i { display: none; }
    .kitchen-tools-guide { grid-template-columns: repeat(3, 1fr); }
    .guide-note.wide { grid-template-columns: 1fr; gap: 4px; }
    .level-roadmap { margin-inline: -7px; padding: 20px 17px; }
    .guide-final-cta { grid-template-columns: 62px 1fr; gap: 16px; margin-bottom: 70px; }
    .guide-final-cta > img { width: 62px; height: 62px; }
    .guide-final-cta h2 { font-size: 30px; }
    .guide-final-cta > a { grid-column: 1 / -1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .guide-tab-list { scroll-behavior: auto; }
}
