.add-home-trigger{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:10px 22px;border:1px solid #c49a48;border-radius:999px;background:#123f32;color:#fff0c6;font-size:16px;box-shadow:0 3px 0 #082e26}
.add-home-trigger:hover{background:#205945}.add-home-trigger svg{width:20px;height:20px;flex:none}
.header-home-trigger{font-size:14px;padding:9px 15px;white-space:nowrap;box-shadow:none;flex:none;color:#f0c36a}
.home-dialog{width:min(400px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:16px;border:1px solid #c49a48;border-radius:22px;background:#f9f8f1;color:#123f32;box-shadow:0 24px 100px #001d2a66;overflow:auto;font-family:Huninn,system-ui,sans-serif}
.home-dialog::backdrop{background:#031d19bf;backdrop-filter:blur(5px)}body.home-guide-open{overflow:hidden}
.home-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}.home-dialog-header h2{font-size:23px;line-height:1.3}.home-close{width:44px;height:44px;flex:none;border-radius:50%;background:#123f320c;font-size:29px;line-height:1}
.home-platforms{display:flex;gap:8px;margin-bottom:10px}.home-platforms button{min-height:40px;flex:1;border:1px solid #d3c5a4;border-radius:10px;background:transparent;font-size:16px}.home-platforms button[aria-pressed=true]{background:#123f32;color:#fff1cc;border-color:#123f32}
.home-figure{margin:0}.home-figure img{width:100%;height:auto;max-height:44dvh;object-fit:contain}
.home-controls{display:flex;align-items:center;gap:12px;margin-top:12px}.home-controls button{min-height:46px;border-radius:12px;padding:8px 16px;font-size:16px;flex:1}.home-prev{background:#e9e2d4}.home-prev:disabled{opacity:.4;cursor:default}.home-next{background:#123f32;color:#fff0c6}#home-counter{font-size:14px;white-space:nowrap}

@media(max-width:600px){.home-dialog{padding:12px}.home-figure img{max-height:44dvh}}
.home-platforms button{display:flex;align-items:center;justify-content:center;min-height:48px}.home-platforms svg{width:28px;height:28px}.home-step{display:flex;flex-direction:column-reverse;gap:14px}.home-step h3{font-size:22px;line-height:1.45;text-align:center;margin:5px 0}.home-figure{border-radius:12px;overflow:hidden;background:#fff;min-height:180px;display:flex;align-items:center}.home-controls{gap:10px}.home-dialog{width:min(440px,calc(100% - 24px))}

.home-image-wrap{position:relative;width:min(100%,calc(44dvh * var(--image-ratio,1)));margin-inline:auto;flex:none}
.home-image-wrap img{display:block;width:100%;height:auto;max-height:none}
.home-image-wrap[data-highlight]::after{content:"";position:absolute;box-sizing:border-box;left:var(--highlight-left);top:var(--highlight-top);width:var(--highlight-width);height:var(--highlight-height);border:3px solid #f4be41;border-radius:8px;box-shadow:0 0 0 1px #123f32;pointer-events:none}

.home-platforms button{color:#123f32}.home-platforms button[aria-pressed=true],.home-next{color:#f0c36a}

@media(min-width:801px) and (max-width:1100px){.header-inner{gap:8px}.brand,.site-header.compact .brand{width:90px}.desktop-nav{font-size:14px;gap:0}.desktop-nav a{padding-inline:8px}.header-home-trigger{padding-inline:10px;gap:6px}.header-play{font-size:14px;padding-inline:16px}}
@media(max-width:800px){.header-inner,.site-header.compact .header-inner{gap:8px}.header-home-trigger{margin-left:auto;min-height:44px;padding:7px 10px}.header-play{margin-left:0}.menu-toggle{flex:none}}
@media(max-width:520px){.header-inner,.site-header.compact .header-inner{gap:6px}.brand,.site-header.compact .brand{width:64px}.header-home-trigger{font-size:13px;padding:6px 5px;min-height:44px}.header-home-trigger svg{display:none}.header-play{padding:6px 8px;gap:4px;min-height:44px}.menu-toggle{width:28px;padding-inline:2px;min-height:44px}}
