.build-tag{color:var(--mute);pointer-events:none;align-items:flex-end;gap:12px;font-family:ui-monospace,Menlo,monospace;font-size:11px;line-height:1.3;display:flex;position:fixed;bottom:8px;right:10px}.build-version{flex-direction:column;align-items:flex-end;gap:1px;display:flex}.build-tag .build-id{opacity:.7;font-size:10px}.update-banner{justify-content:space-between;align-items:center;gap:12px;padding:10px 12px 10px 18px;font-size:14px;display:flex}.net-note{background:var(--panel);pointer-events:none;z-index:5;border-radius:8px;padding:6px 12px;font-size:13px;position:fixed;top:96px;left:50%;transform:translate(-50%)}.update-note{background:var(--panel);max-width:260px;color:var(--mute);pointer-events:none;border-radius:6px;padding:4px 10px;font-size:12px}@media (width<=600px){.build-tag{align-items:center;margin-top:12px;position:static}}.net-dialog-backdrop{z-index:40;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.net-dialog-backdrop.open{pointer-events:none;align-items:flex-start;padding-top:18vh}.net-dialog-frame{pointer-events:auto;width:min(420px,100vw - 32px)}.net-dialog{text-align:center;color:var(--hb-ink);flex-direction:column;gap:10px;padding:18px 20px;display:flex}.net-dialog p{margin:0;font-size:14px;line-height:1.45}.net-dialog .hb-btn{align-self:center;min-width:140px}.net-dialog-row+.net-dialog-row{border-top:1px solid var(--hb-line,#00000026);padding-top:10px}.menu.home{--home-gutter:clamp(16px, 2.6cqw, 48px);--home-col:clamp(390px, 30cqw, 540px);align-items:stretch;gap:0;width:100%;max-width:none;min-height:100%;margin:0;padding:0 0 44px;position:relative}.menu.home>.update-banner{z-index:4;width:max-content;max-width:calc(100% - 32px);position:absolute;top:74px;left:50%;transform:translate(-50%)}.home-top{--hb-focus:var(--hb-bone);z-index:3;min-height:62px;padding:8px var(--home-gutter) 13px;color:var(--hb-on-leather);background:var(--hb-pole-h) left bottom / auto 7px repeat-x, repeating-linear-gradient(90deg, #c26a4bb3 0 5px, transparent 5px 9px) left 0 bottom 12px / 100% 1.2px no-repeat, var(--hb-pores), linear-gradient(180deg, #3a2c1ff5, #241b13f0);grid-template-columns:1fr auto 1fr;align-items:center;gap:8px 18px;display:grid;position:relative;box-shadow:inset 0 1px #ffe4be1f,0 4px 14px #08050280}.home-brand{min-width:0}.home-top .home-brand h1{font:600 22px/1.1 var(--hb-serif);letter-spacing:.07em;text-transform:uppercase;color:var(--hb-bone);white-space:nowrap;margin:0}.home-top .home-brand h1:after{content:"";background:var(--hb-brush) left / 100% 100% no-repeat;width:118px;height:5px;margin:4px 0 3px;display:block}.home-brand p{font:600 11px/1.2 var(--hb-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--hb-on-leather-soft);white-space:nowrap;margin:0}.home-more:before{content:" · ";white-space:pre}.home-more{color:var(--hb-on-leather-soft);opacity:.85}@media (width<=1239px){.home-more{letter-spacing:.1em;margin-top:2px;font-size:10px;display:block}.home-more:before{content:none}}.home-tabs{justify-self:center;gap:6px;display:flex}button.home-tab{min-height:38px;font:600 14px/1.2 var(--hb-sans);letter-spacing:.05em;text-transform:uppercase;color:var(--hb-on-leather);cursor:pointer;background:0 0;border:0;border-radius:4px;align-items:center;padding:6px 14px;display:inline-flex;position:relative}button.home-tab:after{content:"";opacity:0;background:repeating-linear-gradient(90deg, var(--hb-clay-bright) 0 5px, transparent 5px 8px);height:1.5px;transition:opacity .12s;position:absolute;bottom:3px;left:14px;right:14px}button.home-tab:hover{color:var(--hb-bone);background:#f1e6d00f}button.home-tab:hover:after{opacity:1}button.home-tab:focus-visible{outline:2px solid var(--hb-focus);outline-offset:2px}.home-tab .gold-dot{background:var(--hb-clay-bright);box-shadow:0 0 0 3px #c26a4b47}.home-tools{justify-self:end;align-items:center;gap:12px;display:flex}.home-top .hb-chip[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--hb-clay-bright), inset 0 1px 0 #ffe4be2e, 0 1px 0 #00000080}.hb-btn.hb-secondary.gear.round{width:38px;min-width:38px;height:38px;min-height:38px;color:var(--hb-ink);border-radius:50%;padding:0;background:radial-gradient(circle at 36% 30%,#fffaf0,#e8dbc0 55%,#c9b48c)!important;border-image:!important;box-shadow:inset 0 0 0 1.5px #6b5139,0 2px #1e150e,0 3px 6px #00000073!important}.hb-btn.hb-secondary.gear.round:hover{box-shadow:inset 0 0 0 2px var(--hb-clay), 0 2px 0 #1e150e, 0 3px 6px #00000073!important}.hb-btn.hb-secondary.gear.round svg{width:18px;height:18px}.home-column{z-index:2;width:var(--home-col);margin:14px 0 0 var(--home-gutter);flex-direction:column;gap:12px;display:flex;position:relative}.home-frame{width:100%}.hb-sheet.home-sheet{gap:12px;padding:16px 20px}.home-actions{flex-direction:column;gap:7px;display:flex}.menu-card{--_c1:#503d2c;--_c2:#433427;--_c3:#362a1f;--_t:#c26a4b80;text-align:left;width:100%;min-height:54px;color:var(--hb-on-leather);cursor:pointer;background:repeating-linear-gradient(90deg, var(--_t) 0 5px, transparent 5px 9px) left 10px top 4px / calc(100% - 20px) 1px no-repeat, repeating-linear-gradient(90deg, var(--_t) 0 5px, transparent 5px 9px) left 10px bottom 4px / calc(100% - 20px) 1px no-repeat, var(--hb-pores), linear-gradient(180deg, var(--_c1), var(--_c2) 50%, var(--_c3));border:0;border-radius:6px;grid-template-columns:44px minmax(0,1fr) 12px;align-items:center;gap:14px;padding:6px 18px 6px 10px;transition:transform 70ms ease-out;display:grid;box-shadow:inset 0 1px #ffe4be29,inset 0 0 0 1px #0f0a06bf,0 2px #1c140dcc,0 3px 6px #0a060347}.menu-card:hover{--_c1:#5a4532;--_c2:#4c3b2c;--_c3:#3e3024;--_t:#c26a4bcc}.menu-card:active{transform:translateY(1px)}.menu-card:focus-visible{outline:2px solid var(--hb-focus);outline-offset:3px}.menu-card-icon{background:radial-gradient(circle,#f1e6d024,#0000 70%);border-radius:50%;place-items:center;width:44px;height:44px;display:grid}.menu-card-icon img{object-fit:contain;filter:drop-shadow(0 1px 1px #0000008c);width:40px;height:40px}.menu-card-icon.round img{object-fit:cover;filter:none;width:40px;height:40px;box-shadow:0 0 0 2px var(--hb-bone-shade), 0 0 0 3px #1e150e;border-radius:50%}.menu-card-text{flex-direction:column;gap:2px;min-width:0;display:flex}.menu-card-title{font:600 17px/1.2 var(--hb-serif);letter-spacing:.01em;color:var(--hb-bone)}.menu-card-sub{font:400 13px/1.3 var(--hb-sans);color:var(--hb-on-leather-soft);-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.menu-card-chevron{width:10px;height:16px;color:var(--hb-on-leather-soft);transition:transform .12s ease-out}.menu-card:hover .menu-card-chevron{color:var(--hb-bone);transform:translate(2px)}.menu-card.gold{--_c1:#f6dea6;--_c2:#eecd8c;--_c3:#e6be74;--_t:#5336188c;min-height:70px;color:var(--hb-ink);grid-template-columns:54px minmax(0,1fr) 14px;padding:8px 20px 8px 12px;box-shadow:inset 0 1px #fffaeb99,inset 0 0 0 1px #5a3d1c,0 2px #3e2a12,0 4px 10px #0a060359}.menu-card.gold:hover{--_c1:#f9e6b8;--_c2:#f2d498;--_c3:#eac67e;--_t:#7e3621cc}.menu-card.gold .menu-card-icon{background:0 0;width:54px;height:54px}.menu-card.gold .menu-card-icon img{filter:drop-shadow(0 2px 2px #3c240c73);width:54px;height:54px}.menu-card.gold .menu-card-title{letter-spacing:.06em;text-transform:uppercase;color:var(--hb-ink);font-size:22px}.menu-card.gold .menu-card-sub{color:#33240f;font-weight:500}.menu-card.gold .menu-card-chevron{color:#33240f;width:12px;height:20px}.menu-card.gold:hover .menu-card-chevron{color:var(--hb-ink)}.updates-card{--hb-focus:var(--hb-bone);flex-direction:column;gap:5px;padding:13px 16px 12px;display:flex}.updates-card-head{align-items:center;gap:8px;display:flex}.updates-card-label{font:600 11px/1.3 var(--hb-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--hb-on-leather-soft)}.updates-card .update-version{border-color:var(--hb-clay-bright);color:var(--hb-bone)}button.updates-card-x{width:28px;height:28px;color:var(--hb-on-leather-soft);font:400 20px/1 var(--hb-sans);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;margin:-4px -6px -4px auto;padding:0;display:grid}button.updates-card-x:hover{color:var(--hb-bone);background:#f1e6d01a}button.updates-card-x:focus-visible{outline:2px solid var(--hb-focus);outline-offset:1px}.home-column .updates-card-title{font:600 16px/1.25 var(--hb-serif);color:var(--hb-bone);margin:0}.updates-card-text{color:var(--hb-on-leather);-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:13px;line-height:1.45;display:-webkit-box;overflow:hidden}.updates-card-foot{color:var(--hb-on-leather-soft);justify-content:space-between;align-items:baseline;gap:8px;margin-top:2px;font-size:12px;display:flex}.updates-card-foot .hb-link{font-size:13px}.update-version{border:1px solid var(--hb-clay);font:600 11px/1.5 var(--hb-sans);white-space:nowrap;color:var(--hb-ink);border-radius:999px;padding:1px 8px}.home-foot{left:var(--home-gutter);z-index:2;gap:14px;display:flex;position:absolute;bottom:10px}.home-foot button.hb-link{color:var(--hb-on-leather);background:#140e099e;border-radius:6px;padding:3px 9px;font-weight:500;text-decoration-color:#d6c3a080}.home-foot button.hb-link:hover{color:var(--hb-bone)}.home-foot button.hb-link:focus-visible{outline-color:var(--hb-bone)}@container ui (width>=1700px) and (height>=1000px){.home-column{margin-top:22px}.hb-sheet.home-sheet{gap:14px;padding:20px 24px}.home-actions{gap:9px}.menu-card{min-height:62px}.menu-card-title{font-size:18px}.menu-card.gold{min-height:84px}.menu-card.gold .menu-card-title{font-size:24px}}@container ui (height<=860px){.home-column>.updates-card{display:none}}@container ui (width<=760px){.home-top{grid-template-columns:minmax(0,1fr) auto}.home-tabs{grid-area:2/1/auto/-1}.home-top .home-brand h1{font-size:19px}.home-column{width:min(100% - 24px,520px);margin:14px auto 0}.home-column>.updates-card{display:flex}.home-foot{justify-content:center;padding-top:14px;position:static}}.touch-notice{color:var(--hb-ink);background:#53402d14;border-radius:6px;margin:0;padding:8px 12px;font-size:13px;box-shadow:inset 0 0 0 1px #6b513973}button.primary-big{letter-spacing:.01em;color:#1b1508;background:linear-gradient(#f5c968,#d99a2e);border:1px solid #f2cf83;padding:13px 22px;font-size:17px;box-shadow:inset 0 1px #ffffff59,0 2px #7c5214}button.primary-big:hover{filter:brightness(1.07)}button.primary-big:focus-visible{outline-offset:2px;outline:2px solid #fff1cf}button.danger{color:#fbe9e4;background:#8e2b22;border:1px solid #b4483c}button.danger:hover{filter:brightness(1.1)}.gold-dot{vertical-align:2px;background:var(--accent);border-radius:50%;width:8px;height:8px;margin-left:7px;display:inline-block;box-shadow:0 0 0 3px #e8b04a38}.ui-scale.page:has(main.menu){background:var(--hb-keyart,none) center / cover no-repeat, var(--hb-pores), linear-gradient(180deg, #3b2e22, #2a2119 60%, #1d1712)}.ui-scale.page:has(main.menu.wide){background:radial-gradient(ellipse 70% 80% at 50% 50%, #140e0980, #0e0a06b8), var(--hb-keyart,none) center / cover no-repeat, var(--hb-pores), linear-gradient(180deg, #3b2e22, #2a2119 60%, #1d1712)}.menu.wide{min-height:100%}.menu.wide:has(>.menu-frame){max-width:720px;padding-top:4cqh;padding-bottom:5cqh}.menu.wide>.menu-frame{margin-block:auto}.menu.wide>.update-banner{margin-top:0}.menu-sheet{flex-direction:column;gap:14px;padding:30px 36px 28px;display:flex}.menu-sheet>.hb-title{margin-bottom:4px}.menu-actions{align-self:center;width:min(320px,100%);margin-top:6px}.menu-sheet>.menu-back,.menu-sheet .credits>.menu-back{align-self:center;min-width:160px;margin-top:4px}.lobby-foot{justify-content:center;align-items:center;gap:10px;margin-top:4px;display:flex}.lobby-foot>.menu-back{min-width:160px}.menu-sheet>.menu-go{align-self:center;min-width:240px}@container ui (width<=560px){.menu-sheet{padding:24px 18px 22px}}.lobby-code{text-align:center;flex-direction:column;align-items:center;gap:8px;display:flex}.menu-sheet .room-code{font:600 40px/1.1 var(--hb-serif);letter-spacing:.22em;color:var(--hb-ink);background:#53402d14;border-radius:6px;padding:6px 22px 4px;box-shadow:inset 0 0 0 1.5px #6b51398c,inset 0 2px 4px #3c28142e}.lobby-wait{text-align:center}.menu-sheet .slots{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.menu-sheet .slots li{background:#53402d14;border-radius:4px;padding:5px 12px;font-size:14px;font-weight:500;box-shadow:inset 0 0 0 1px #6b513980}.menu-sheet .slots li:has(.lobby-avatar){align-items:center;gap:7px;padding:3px 12px 3px 4px;display:inline-flex}.menu-sheet .slots .lobby-avatar{width:24px;height:24px}.saves{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.save{background:#53402d12;border-radius:6px;grid-template-columns:112px 1fr auto;align-items:center;gap:12px;padding:9px;display:grid;box-shadow:inset 0 0 0 1px #6b513973,inset 0 2px 4px #3c28141f}.save.old{opacity:.72}.save-picture{object-fit:cover;width:112px;height:63px;box-shadow:0 0 0 1.5px var(--hb-umber-warm);border-radius:4px;display:block}.save-picture.none{background:linear-gradient(135deg,#8a6d4d,#5a4632)}.save-info{flex-direction:column;gap:2px;min-width:0;font-size:14px;display:flex}.save-info b{font-weight:600}.save-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}@container ui (width<=520px){.save{grid-template-columns:1fr}.save-picture{aspect-ratio:16/9;width:100%;height:auto}.save-actions{justify-content:flex-start}}.credits{text-align:left;flex-direction:column;gap:10px;display:flex}.credits h3.hb-heading{margin-top:12px}.credits ul{flex-direction:column;gap:7px;margin:0;padding:0;font-size:14px;list-style:none;display:flex}.credits li{flex-direction:column;gap:1px;display:flex}.credits li .muted{font-size:12.5px}.credits a{overflow-wrap:anywhere}.credits-licence{color:var(--hb-clay-deep);letter-spacing:.02em;margin:8px 0 0;font-size:13px;font-weight:600}.online-lead{text-align:center}.online-parts{grid-template-columns:1fr 1fr;gap:14px;display:grid}.online-part{background:#53402d12;border-radius:6px;flex-direction:column;gap:8px;padding:16px 18px;display:flex;box-shadow:inset 0 0 0 1px #6b513973,inset 0 2px 4px #3c28141f}.online-part>.hb-heading{margin:0}.online-part>p{flex:1;margin:0}.online-part .join{gap:8px;display:flex}.online-part .join .hb-field{letter-spacing:.2em;text-transform:uppercase;flex:1;width:auto;min-width:0}@container ui (width<=600px){.online-parts{grid-template-columns:1fr}}.ui-scale.page .build-tag{color:var(--hb-on-leather-soft);background:#140e099e;border-radius:6px;padding:4px 9px}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#14110f;--panel:#100e0cc7;--ink:#f1ece4;--mute:#a49c90;--accent:#e8b04a;--bad:#ff5a5a;font-family:system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{background:var(--bg);height:100%;color:var(--ink);margin:0}button{font:inherit;background:var(--accent);color:#1b1508;cursor:pointer;border:0;border-radius:8px;padding:10px 18px;font-weight:600}button:disabled{opacity:.4;cursor:default}button.secondary{color:var(--ink);background:0 0;border:1px solid #4a443c}input{font:inherit;color:var(--ink);letter-spacing:.2em;text-transform:uppercase;background:#1f1b17;border:1px solid #4a443c;border-radius:8px;width:9em;padding:10px 12px}.menu{flex-direction:column;gap:12px;max-width:420px;margin:0 auto;padding:12cqh 24px;display:flex}.menu.wide{max-width:580px;padding-top:8cqh}.menu h1{letter-spacing:-.02em;margin:0;font-size:40px}.menu h2,.menu h3{margin:8px 0 0}.muted{color:var(--mute);margin:0}.small{font-size:13px;line-height:1.5}.error{color:var(--bad);margin:0}.join,.ai-row{gap:8px;display:flex}.ai-row>button{flex:1}.choice{gap:4px;display:flex}.choice button{padding:10px 12px}.choice button:not(.secondary){border:1px solid var(--accent)}.room-code{letter-spacing:.25em;color:var(--accent);font-size:44px;font-weight:800}.slots{margin:0;padding-left:20px}.game{-webkit-user-select:none;user-select:none;position:fixed;inset:0;overflow:hidden}.game-canvas{touch-action:none;outline:none;width:100%;height:100%;display:block}.game-loading{z-index:50;cursor:progress;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.game-loading-box{text-align:center;flex-direction:column;align-items:center;gap:10px;width:min(360px,80vw);display:flex}.game-loading-name{font:600 30px/1.15 var(--hb-serif);letter-spacing:.06em;text-transform:uppercase;color:var(--hb-bone);text-shadow:0 2px 6px #00000080}.game-loading-box .hb-divider{width:70%}.game-loading-text{font:500 15px/1.4 var(--hb-sans);letter-spacing:.04em;color:var(--hb-on-leather-soft);animation:1.6s ease-in-out infinite game-loading-pulse}.game-loading-bar{width:100%}@keyframes game-loading-pulse{50%{opacity:.5}}@media (prefers-reduced-motion:reduce){.game-loading-text{animation:none}}.shelter-badges{pointer-events:none;position:absolute;inset:0;overflow:hidden}.shelter-badge{color:#f3e6c8;white-space:nowrap;background:#14120ed1;border:1px solid #e1c48a;border-radius:10px;align-items:center;gap:3px;padding:2px 7px 2px 5px;font:600 13px/1.2 system-ui,sans-serif;display:flex;position:absolute;top:0;left:0}.shelter-badge svg,.shelter-badge img.pic{width:14px;height:14px}.drag-box{pointer-events:none;background:#ffffff14;border:1px solid #ffffffd9;display:none;position:absolute}.hud-top{pointer-events:none;grid-template-columns:1fr auto 1fr;grid-template-areas:"left bar actions";align-items:start;gap:8px 12px;display:grid;position:absolute;top:10px;left:10px;right:10px}@container ui (width<=1279px){.hud-top{grid-template-areas:".bar actions""left left left"}.hud-top>.hud-left{min-width:0}}@container ui (width<=1399px){.hud-top.dev{grid-template-areas:".bar actions""left left left"}.hud-top.dev>.hud-left{min-width:0}}.hud-left{pointer-events:none;flex-direction:column;grid-area:left;align-items:flex-start;gap:8px;display:flex}.hud-panel{white-space:nowrap;background:var(--panel);pointer-events:none;border-radius:8px;padding:8px 10px;font-size:12px;line-height:1.6}.resource-bar{background:var(--panel);pointer-events:none;font-variant-numeric:tabular-nums;border-radius:8px;flex-wrap:wrap;grid-area:bar;justify-content:center;gap:4px 14px;min-width:0;padding:6px 14px;font-size:14px;display:flex}.resource-bar .res{align-items:center;gap:5px;min-width:3.2em;display:flex}.resource-bar svg,.resource-bar img.pic{flex:none;width:16px;height:16px}.resource-bar .res-full b{color:var(--bad)}.resource-bar .peace-clock{white-space:nowrap;border-left:1px solid #4a443c;border-right:1px solid #4a443c;gap:6px;padding:0 10px}.resource-bar .peace-clock span{color:var(--mute)}.resource-bar .peace-clock b{color:var(--accent);font-variant-numeric:tabular-nums}.resource-bar .game-clock{white-space:nowrap;border-left:1px solid #4a443c;min-width:0;padding:0 0 0 12px}.resource-bar .game-clock b{font-variant-numeric:tabular-nums}.resource-bar .income{color:var(--mute);margin-left:1px;font-size:11px}.resource-bar .res-locked{opacity:.55}.resource-bar .res-lock svg,.resource-bar .res-lock img.pic{width:12px;height:12px}.resource-bar .res{pointer-events:auto;cursor:default}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.hud-actions{pointer-events:auto;grid-area:actions;justify-self:end;gap:8px;display:flex}.hud-right{pointer-events:none;flex-direction:column;grid-area:actions;justify-self:end;align-items:flex-end;gap:8px;display:flex}.hud-actions button{white-space:nowrap;padding:6px 12px;font-size:13px}.hud-actions .btn-icon{display:none}.hud-actions .btn-icon svg,.hud-actions .btn-icon img.pic{width:16px;height:16px;display:block}@container ui (width<=1023px){.resource-bar{column-gap:10px;padding:6px 10px}.resource-bar .income{display:none}}@container ui (width<=799px){.hud-top{column-gap:8px}.resource-bar{column-gap:8px;padding:6px 9px}.hud-actions{gap:6px}.hud-actions button:has(.btn-icon){padding:6px 9px}.hud-actions .btn-icon{display:block}.hud-actions .btn-label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}}.hud-corner{flex-direction:column-reverse;align-items:flex-start;gap:8px;display:flex;position:absolute;bottom:10px;left:10px}.dev-tools{background:var(--panel);border-radius:8px;flex-direction:column;gap:6px;padding:8px 10px;font-size:12px;display:flex}.dev-tools .row{align-items:center;gap:6px;display:flex}.dev-tools button{padding:4px 10px;font-size:12px}.dialog-backdrop{background:#00000073;place-items:center;display:grid;position:absolute;inset:0}.dialog{background:#1f1b17;border-radius:12px;flex-direction:column;gap:10px;width:min(460px,100cqw - 32px);padding:18px;display:flex}.dialog h3{margin:0}.dialog textarea{font:inherit;color:var(--ink);resize:vertical;background:#14110f;border:1px solid #4a443c;border-radius:8px;padding:10px}.dialog-actions{justify-content:flex-end;gap:8px;display:flex}.toast{background:var(--panel);pointer-events:none;border-radius:8px;padding:8px 14px;font-size:13px;position:absolute;bottom:190px;left:50%;transform:translate(-50%)}.mono{font-family:ui-monospace,Menlo,monospace}.banner{background:var(--panel);pointer-events:none;border-radius:8px;padding:8px 14px;font-size:14px;position:absolute;top:56px;left:50%;transform:translate(-50%)}.banner-bad{background:#781414e6}.end-screen{background:#00000059;place-items:center;display:grid;position:absolute;inset:0}.end-card{text-align:center;background:#181411f0;border:1px solid #4a443c;border-radius:14px;flex-direction:column;gap:10px;width:min(420px,100cqw - 32px);padding:22px 24px;display:flex}.end-card h2{letter-spacing:-.01em;margin:0;font-size:40px}.end-card.victory h2{color:var(--accent)}.end-card.defeat h2{color:var(--bad)}.end-actions{justify-content:center;gap:10px;margin-top:6px;display:flex}.end-card.with-summary{width:min(780px,100cqw - 32px);max-height:calc(100cqh - 32px);overflow-y:auto}.summary{text-align:left;flex-direction:column;gap:8px;display:flex}.summary-table{overflow-x:auto}.summary table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:13px}.summary th,.summary td{vertical-align:top;border-bottom:1px solid #2e2a25;padding:4px 8px}.summary thead th{white-space:nowrap;text-align:right;font-weight:700}.summary thead th.you{color:var(--accent)}.summary tbody th{color:var(--mute);text-align:left;white-space:nowrap;font-weight:500}.summary td{text-align:right}.summary .swatch{vertical-align:-1px;border-radius:3px;width:10px;height:10px;margin-right:6px;display:inline-block}.summary .winner{color:var(--accent)}.summary .research{color:var(--mute);font-size:11px;line-height:1.3;display:block}.army-chart{margin:0}.army-chart svg{width:100%;height:auto;display:block}.army-chart .axis{stroke:#4a443c;stroke-width:1px}.army-chart text{fill:var(--mute);font-size:11px}.army-chart .chart-end{font-size:13px;font-weight:700}button.link{color:var(--accent);font-size:inherit;background:0 0;border:0;padding:0;text-decoration:underline}.command-panel{background:var(--panel);font-variant-numeric:tabular-nums;border-radius:10px;gap:14px;max-width:calc(100cqw - 20px);padding:10px 12px;font-size:13px;display:flex;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.cp-info{flex-direction:column;gap:6px;min-width:200px;max-width:260px;display:flex}.cp-title{align-items:center;gap:6px;font-size:15px;display:flex}.cp-team{border-radius:3px;flex:none;width:10px;height:10px}.cp-counts{flex-wrap:wrap;gap:6px 10px;display:flex}.cp-count{align-items:center;gap:4px;display:inline-flex}.cp-count svg,.cp-count img.pic,.cmd-name svg,.cmd-name img.pic,.cp-title svg,.cp-title img.pic{flex:none;width:18px;height:18px}.cp-rows{flex-direction:column;gap:5px;display:flex}.cp-tiles{flex-wrap:wrap;gap:5px;display:flex}.cp-tile{cursor:pointer;width:44px;font:inherit;color:inherit;background:#2b2520;border:1px solid #4a443c;border-radius:6px;flex-direction:column;align-items:center;gap:1px;padding:3px 0 4px;display:flex;position:relative}.cp-tile:hover,.cp-tile:focus-visible{border-color:var(--hb-bone,#d8cbb0)}.cp-tile svg,.cp-tile img.pic{width:26px;height:26px}.cp-tile>b{font-variant-numeric:tabular-nums;font-size:12px;line-height:1.1}.cp-tile-hp{background:#00000080;border-radius:2px;width:34px;height:3px;overflow:hidden}.cp-tile-hp>i{background:#5f9a3c;height:100%;display:block}.cp-tile:is(:hover,:focus-visible)>.tip{display:flex}.cp-tile .tip{text-align:left}.cp-tile .tip .cp-stats{flex-wrap:wrap}.cp-row{flex-wrap:wrap;align-items:center;gap:2px 10px;display:flex}.cp-stats{gap:8px;display:inline-flex}.cp-stat{cursor:help;align-items:center;gap:2px;display:inline-flex}.cp-stat svg,.cp-stat img.pic,.cp-stat-line svg,.cp-stat-line img.pic{flex:none;width:14px;height:14px}.cp-strong{color:var(--mute);cursor:help;flex-basis:100%;font-size:12px}.cp-stat-line{align-items:center;gap:4px;display:flex}.cp-hint{color:var(--mute);font-size:12px;line-height:1.4}.cp-hint b{color:var(--ink)}.cp-warn{color:var(--bad);font-weight:600}.cp-locked{align-items:center;gap:4px;display:flex}.cp-locked svg,.cp-locked img.pic{width:14px;height:14px}.cp-checks{flex-direction:column;gap:3px;display:flex}.cp-check{color:var(--mute);align-items:center;gap:5px;font-size:12px;display:flex}.cp-check.ok{color:var(--ink)}.cp-check svg,.cp-check img.pic{flex:none;width:13px;height:13px}.cp-check .cost{display:inline-flex}.cp-inside{align-items:center;gap:4px;font-weight:600;display:flex}.cp-inside svg,.cp-inside img.pic{width:14px;height:14px}.cp-label{color:var(--mute);text-transform:uppercase;letter-spacing:.06em;font-size:11px}.cp-actions{flex-direction:column;gap:6px;display:flex}.cp-grid{grid-template-columns:repeat(3,126px);gap:6px;display:grid}.cp-grid.single{grid-template-columns:126px}.cp-grid.two{grid-template-columns:repeat(2,126px)}.cp-tabs{grid-template-columns:repeat(3,126px);gap:6px;display:grid}.cp-tab{color:var(--mute);text-align:left;background:#1f1b17;border:1px solid #4a443c;border-radius:7px;align-items:center;gap:4px;padding:4px 6px 4px 8px;font-size:12px;font-weight:600;display:flex;position:relative}.cp-tab:hover{border-color:var(--accent);color:var(--ink)}.cp-tab.on{color:var(--ink);border-color:var(--accent);background:#3a2f1e}.cp-tab-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cp-tab>kbd{margin-left:auto}.cp-tab:hover .tip{display:flex}.cp-tab .tip{color:var(--ink);font-weight:400}.cp-pages{display:grid}.cp-pages>.cp-grid{grid-area:1/1;align-content:start}.cp-sizer{visibility:hidden;pointer-events:none}.cp-tab-count{background:var(--accent);color:#14110f;text-align:center;border-radius:8px;min-width:16px;margin-left:auto;padding:0 4px;font-size:10px;font-weight:700;line-height:15px}.cp-plus{color:#8fd16a;align-self:flex-start;font-size:10px;font-weight:700}.cp-bar{background:#2b2520;border-radius:5px;height:18px;position:relative;overflow:hidden}.cp-bar-fill{background:#5f9a3c;position:absolute;inset:0 auto 0 0}.cp-bar.build .cp-bar-fill{background:#c48a2c}.cp-bar.left .cp-bar-fill{background:#8a6d3b}.cp-bar-text{text-shadow:0 1px 1px #000;padding:0 6px;font-size:11px;line-height:18px;position:relative}.cp-cancel{align-self:flex-start;padding:4px 10px;font-size:12px}.cmd{color:var(--ink);text-align:left;background:#2b2520;border:1px solid #4a443c;border-radius:7px;flex-direction:column;align-items:flex-start;gap:3px;padding:6px 8px;font-size:12px;display:flex;position:relative}.cmd:hover{border-color:var(--accent)}.cmd.on{border-color:var(--accent);background:#3a2f1e}.cmd.off{cursor:default;background:#2b252073;border-color:#4a443c73}.cmd.off>:not(.tip){opacity:.45}.cmd.off:hover{border-color:#4a443c73}.cmd.on.off,.cmd.on.off:hover{border-color:color-mix(in srgb, var(--accent) 45%, transparent);background:#3a2f1e73}.cmd-name{align-items:center;gap:4px;padding-right:14px;display:flex}.cmd-key,.tip kbd,.cp-tab>kbd{color:var(--accent);background:#14110f;border:1px solid #4a443c;border-radius:3px;padding:1px 4px;font:600 10px ui-monospace,Menlo,monospace}.cmd-key{position:absolute;top:4px;right:3px}.cost{flex-wrap:wrap;gap:6px;font-weight:500;display:flex}.cost>span{align-items:center;gap:2px;display:inline-flex}.cost svg,.cost img.pic{width:13px;height:13px}.cost .short{color:var(--bad)}.tip{z-index:2;pointer-events:none;background:#1f1b17;border:1px solid #4a443c;border-radius:8px;flex-direction:column;gap:3px;width:230px;padding:8px 10px;font-weight:400;line-height:1.45;display:none;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%)}.cmd:hover .tip{display:flex}.tip-title{justify-content:space-between;align-items:center;gap:8px;display:flex}.tip-desc{color:var(--mute)}.tip-bad{color:var(--bad)}.cp-queue{flex-wrap:wrap;gap:5px;display:flex}.cp-queue-count{color:var(--mute);font-variant-numeric:tabular-nums}.cp-slot{background:#2b2520;border:1px solid #4a443c;border-radius:6px;place-items:center;width:34px;height:34px;padding:0;display:grid;position:relative;overflow:hidden}.cp-slot svg,.cp-slot img.pic{width:22px;height:22px}.cp-slot.empty{opacity:.5;border-style:dashed}button.cp-slot:hover{border-color:var(--bad)}.cp-slot-wrap{display:flex;position:relative}.cp-slot-wrap:is(:hover,:focus-within)>.tip{display:flex}.cp-slot-count{color:#fff;text-shadow:0 0 2px #000,0 0 2px #000;font-size:11px;font-weight:700;line-height:1.2;position:absolute;top:0;right:2px}.cp-slot-bar{background:var(--accent);height:4px;position:absolute;bottom:0;left:0}.cp-group-n{color:var(--accent);font-weight:700}.cp-members{flex-direction:column;gap:4px;max-height:158px;display:flex;overflow-y:auto}.cp-member{align-items:center;gap:6px;display:flex}.cp-member-pick{width:26px;height:26px;color:var(--ink);background:#1f1b17;border:1px solid #4a443c;border-radius:5px;flex:none;padding:0;font-size:11px;font-weight:700;position:relative;overflow:hidden}.cp-member-pick:hover{border-color:var(--accent)}.cp-member-hp{background:#5f9a3c;height:3px;position:absolute;bottom:0;left:0}.cp-member-hp.low{background:var(--bad)}.cp-queue.small{gap:3px}.cp-queue.small .cp-slot{border-radius:5px;width:26px;height:26px}.cp-queue.small .cp-slot svg,.cp-queue.small .cp-slot img.pic{width:17px;height:17px}.cp-queue.small .cp-slot-count{font-size:10px}.cp-queue.small .cp-slot-bar{height:3px}.minimap{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);background:#0c0a08;width:200px;height:200px;position:absolute;bottom:10px;right:10px}.minimap canvas{width:200px;height:200px;display:block;position:absolute;inset:0}.minimap-edge,.minimap-marks{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.minimap-edge polygon{fill:none;stroke:var(--accent);stroke-width:1.5px;stroke-linejoin:miter;opacity:.9}.minimap-view{cursor:crosshair;touch-action:none}@container ui (width<=1000px){.hud-corner{flex-direction:column;align-items:flex-end}.command-panel{left:10px;transform:none}}@container ui (width<=860px){.minimap,.minimap canvas{width:150px;height:150px}}@container ui (width<=810px){.minimap{inset:170px auto auto 10px}:has(>.hud-top.dev)>.minimap{top:212px}}@container ui (width<=520px){.hud-top:not(.dev) .hud-panel{display:none}}@container ui (width<=720px){.command-panel{flex-direction:column;left:10px;right:10px;transform:none}.cp-grid,.cp-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}.game-loading.painted{background:var(--hb-loading-art) center / cover no-repeat, #1d1712;align-items:flex-end;padding-bottom:5cqh}.game-loading-box.hb-leather{width:min(420px,86vw);padding:16px 28px 18px}@font-face{font-family:FTE Serif;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/lora-600-Q8jziL7D.woff2)format("woff2");unicode-range:U+20-7E,U+A0-FF,U+11E-11F,U+130-131,U+152-153,U+15E-15F,U+178,U+2C6,U+2DA,U+2DC,U+2000-206F,U+20AC,U+2122,U+2212,U+2215}@font-face{font-family:FTE Serif;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/lora-600-ext-dDBCoil4.woff2)format("woff2");unicode-range:U+100-11D,U+12?,U+132-151,U+154-15D,U+160-177,U+179-24F,U+259,U+292,U+2BB-2BC,U+2C7,U+2C9,U+2D8-2D9,U+2DB,U+2DD,U+1E??,U+20A0-20AB,U+20AD-20C0}@font-face{font-family:Work Sans;font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/work-sans-BzWG2K0W.woff2)format("woff2");unicode-range:U+20-7E,U+A0-FF,U+11E-11F,U+130-131,U+152-153,U+15E-15F,U+178,U+2C6,U+2DA,U+2DC,U+2000-206F,U+20AC,U+2122,U+2212,U+2215}@font-face{font-family:Work Sans;font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/work-sans-ext-Dlzj-hW1.woff2)format("woff2");unicode-range:U+100-11D,U+12?,U+132-151,U+154-15D,U+160-177,U+179-24F,U+259,U+2B9-2BF,U+2C7-2CC,U+2D8-2D9,U+2DB,U+2DD,U+1E??,U+20A0-20AB,U+20AD-20C0}:root{--hb-hide:#c4a071;--hb-hide-pale:#e6d1aa;--hb-hide-light:#efdfc0;--hb-hide-deep:#d6bb8e;--hb-umber:#53402d;--hb-umber-warm:#6b5139;--hb-umber-deep:#3e3022;--hb-umber-dark:#2e241a;--hb-wood:#28241e;--hb-bone:#f1e6d0;--hb-bone-shade:#cdb994;--hb-clay:#a45238;--hb-clay-bright:#c26a4b;--hb-clay-deep:#7e3621;--hb-moss:#5a6448;--hb-cat-economy:#7e8e5c;--hb-cat-military:#c26a4b;--hb-cat-defence:#a8895a;--hb-cat-infantry:#c26a4b;--hb-cat-ranged:#d2a24a;--hb-cat-cavalry:#5f8c8a;--hb-cat-siege:#a8895a;--hb-cat-advance:#f1e6d0;--hb-ink:#28241e;--hb-ink-soft:#5b4630;--hb-ink-bad:#8a2f1c;--hb-ink-good:#3f5a2a;--hb-on-leather:#f1e6d0;--hb-on-leather-soft:#d6c3a0;--hb-serif:"FTE Serif", Georgia, "Times New Roman", serif;--hb-sans:"Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;--hb-text-xs:12px;--hb-text-sm:13px;--hb-text-md:15px;--hb-text-lg:17px;--hb-text-xl:22px;--hb-text-2xl:30px;--hb-text-3xl:42px;--hb-caps:.07em;--hb-space-1:4px;--hb-space-2:8px;--hb-space-3:12px;--hb-space-4:16px;--hb-space-5:24px;--hb-space-6:32px;--hb-radius-sm:3px;--hb-radius:5px;--hb-radius-lg:8px;--hb-shadow-sheet:0 10px 26px #0a060373, 0 2px 4px #0a060359;--hb-shadow-raised:0 2px 0 #1c140dd9, 0 3px 6px #0a06034d;--hb-shadow-tab:0 1px 0 #53402d8c, 0 2px 3px #281c102e;--hb-shadow-sunk:inset 0 2px 3px #3c281447, inset 0 0 0 1px #3c281414;--hb-thread-dark:#53402d8c;--hb-thread-light:#f1e6d06b;--hb-thread-clay:#c26a4bd9;--hb-stitch:5px;--hb-stitch-gap:4px;--hb-thread:1.5px;--hb-focus:var(--hb-ink);--hb-pole:13px;--hb-pole-over:9px;--hb-frame-gap:5px;--hb-sheet-art:none;--hb-leather-art:none;--hb-btn-art:none;--hb-btn-art-hover:none;--hb-btn-art-pressed:none;--hb-btn2-art:none;--hb-btn2-art-hover:none;--hb-btn2-art-pressed:none;--hb-label-art:none;--hb-field-art:none;--hb-bar-art:none;--hb-bar-fill-art:none;--hb-grain:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='f' x='0' y='0' width='1' height='1'><feTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .3 0 0 0 0 .21 0 0 0 0 .11 1.6 0 0 0 -.78'/></filter><rect width='200' height='200' filter='url(%23f)' opacity='.38'/></svg>");--hb-mottle:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='480' height='480'><filter id='f' x='0' y='0' width='1' height='1'><feTurbulence type='fractalNoise' baseFrequency='.006 .009' numOctaves='3' seed='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .42 0 0 0 0 .3 0 0 0 0 .16 1.5 0 0 0 -.62'/></filter><rect width='480' height='480' filter='url(%23f)' opacity='.3'/></svg>");--hb-pores:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='f' x='0' y='0' width='1' height='1'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' seed='9' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .05 0 0 0 0 .03 0 0 0 0 .02 1.7 0 0 0 -.8'/></filter><rect width='160' height='160' filter='url(%23f)' opacity='.55'/></svg>");--hb-pole-h:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='12' preserveAspectRatio='none'><defs><linearGradient id='w' x2='0' y2='1'><stop offset='0' stop-color='%23574634'/><stop offset='.28' stop-color='%236f5841'/><stop offset='.6' stop-color='%23443729'/><stop offset='1' stop-color='%231f1a15'/></linearGradient></defs><rect width='200' height='12' fill='url(%23w)'/><path d='M0 2.4H200M0 8.6H200' stroke='%23120e0a' stroke-opacity='.4' stroke-width='.7'/><path d='M0 4.3H200' stroke='%23a08568' stroke-opacity='.5' stroke-width='.6'/><path d='M0 6.3H64M92 6.3H200' stroke='%23120e0a' stroke-opacity='.28' stroke-width='.5'/><path d='M28 3.3l15 .7M118 5.1l19 .9M163 3.4l8 .3' stroke='%23b89c78' stroke-opacity='.5' stroke-width='.7'/></svg>");--hb-pole-v:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='200' preserveAspectRatio='none'><defs><linearGradient id='w' x2='1' y2='0'><stop offset='0' stop-color='%23574634'/><stop offset='.28' stop-color='%236f5841'/><stop offset='.6' stop-color='%23443729'/><stop offset='1' stop-color='%231f1a15'/></linearGradient></defs><rect width='12' height='200' fill='url(%23w)'/><path d='M2.4 0V200M8.6 0V200' stroke='%23120e0a' stroke-opacity='.4' stroke-width='.7'/><path d='M4.3 0V200' stroke='%23a08568' stroke-opacity='.5' stroke-width='.6'/><path d='M6.3 0V58M84 0V200' stroke='%23120e0a' stroke-opacity='.28' stroke-width='.5'/><path d='M3.3 36l.7 15M5.1 124l.9 19M3.4 170l.3 8' stroke='%23b89c78' stroke-opacity='.5' stroke-width='.7'/></svg>");--hb-lash-tl:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><path d='M14 14L29 29' stroke='%235a3f24' stroke-width='3.4' stroke-linecap='round'/><path d='M14 14L29 29' stroke='%23b98e58' stroke-width='2.1' stroke-linecap='round'/><g transform='translate(14 14) rotate(45)'><rect x='-10' y='-5.6' width='20' height='11.2' rx='2.6' fill='%23a47744' stroke='%234a331d' stroke-width='.9'/><path d='M-10 -1.9H10M-10 1.9H10' stroke='%234a331d' stroke-width='.75'/><path d='M-9.6 -3.8H9.6M-9.6 0H9.6M-9.6 3.8H9.6' stroke='%23dcb27b' stroke-width='.55' stroke-opacity='.75'/></g><g transform='translate(14 14) rotate(-45)'><rect x='-7.5' y='-3' width='15' height='6' rx='2' fill='%23b98e58' stroke='%234a331d' stroke-width='.8'/><path d='M-7.5 0H7.5' stroke='%234a331d' stroke-width='.6'/></g><rect x='-1.7' y='-7.5' width='3.4' height='15' rx='1.7' transform='translate(16.5 11.5) rotate(-45)' fill='%23f1e6d0' stroke='%233a2b1d' stroke-width='.8'/></svg>");--hb-lash-tr:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><g transform='matrix(-1 0 0 1 40 0)'><path d='M14 14L29 29' stroke='%235a3f24' stroke-width='3.4' stroke-linecap='round'/><path d='M14 14L29 29' stroke='%23b98e58' stroke-width='2.1' stroke-linecap='round'/><g transform='translate(14 14) rotate(45)'><rect x='-10' y='-5.6' width='20' height='11.2' rx='2.6' fill='%23a47744' stroke='%234a331d' stroke-width='.9'/><path d='M-10 -1.9H10M-10 1.9H10' stroke='%234a331d' stroke-width='.75'/><path d='M-9.6 -3.8H9.6M-9.6 0H9.6M-9.6 3.8H9.6' stroke='%23dcb27b' stroke-width='.55' stroke-opacity='.75'/></g><g transform='translate(14 14) rotate(-45)'><rect x='-7.5' y='-3' width='15' height='6' rx='2' fill='%23b98e58' stroke='%234a331d' stroke-width='.8'/><path d='M-7.5 0H7.5' stroke='%234a331d' stroke-width='.6'/></g><rect x='-1.7' y='-7.5' width='3.4' height='15' rx='1.7' transform='translate(16.5 11.5) rotate(-45)' fill='%23f1e6d0' stroke='%233a2b1d' stroke-width='.8'/></g></svg>");--hb-lash-bl:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><g transform='matrix(1 0 0 -1 0 40)'><path d='M14 14L29 29' stroke='%235a3f24' stroke-width='3.4' stroke-linecap='round'/><path d='M14 14L29 29' stroke='%23b98e58' stroke-width='2.1' stroke-linecap='round'/><g transform='translate(14 14) rotate(45)'><rect x='-10' y='-5.6' width='20' height='11.2' rx='2.6' fill='%23a47744' stroke='%234a331d' stroke-width='.9'/><path d='M-10 -1.9H10M-10 1.9H10' stroke='%234a331d' stroke-width='.75'/><path d='M-9.6 -3.8H9.6M-9.6 0H9.6M-9.6 3.8H9.6' stroke='%23dcb27b' stroke-width='.55' stroke-opacity='.75'/></g><g transform='translate(14 14) rotate(-45)'><rect x='-7.5' y='-3' width='15' height='6' rx='2' fill='%23b98e58' stroke='%234a331d' stroke-width='.8'/><path d='M-7.5 0H7.5' stroke='%234a331d' stroke-width='.6'/></g><rect x='-1.7' y='-7.5' width='3.4' height='15' rx='1.7' transform='translate(16.5 11.5) rotate(-45)' fill='%23f1e6d0' stroke='%233a2b1d' stroke-width='.8'/></g></svg>");--hb-lash-br:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><g transform='matrix(-1 0 0 -1 40 40)'><path d='M14 14L29 29' stroke='%235a3f24' stroke-width='3.4' stroke-linecap='round'/><path d='M14 14L29 29' stroke='%23b98e58' stroke-width='2.1' stroke-linecap='round'/><g transform='translate(14 14) rotate(45)'><rect x='-10' y='-5.6' width='20' height='11.2' rx='2.6' fill='%23a47744' stroke='%234a331d' stroke-width='.9'/><path d='M-10 -1.9H10M-10 1.9H10' stroke='%234a331d' stroke-width='.75'/><path d='M-9.6 -3.8H9.6M-9.6 0H9.6M-9.6 3.8H9.6' stroke='%23dcb27b' stroke-width='.55' stroke-opacity='.75'/></g><g transform='translate(14 14) rotate(-45)'><rect x='-7.5' y='-3' width='15' height='6' rx='2' fill='%23b98e58' stroke='%234a331d' stroke-width='.8'/><path d='M-7.5 0H7.5' stroke='%234a331d' stroke-width='.6'/></g><rect x='-1.7' y='-7.5' width='3.4' height='15' rx='1.7' transform='translate(16.5 11.5) rotate(-45)' fill='%23f1e6d0' stroke='%233a2b1d' stroke-width='.8'/></g></svg>");--hb-corner-tl:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34'><path d='M15 15L-1 -1' stroke='%235a3f24' stroke-width='3.4' stroke-linecap='round'/><path d='M15 15L-1 -1' stroke='%23b98e58' stroke-width='2.1' stroke-linecap='round'/><circle cx='15.5' cy='15.5' r='2.7' fill='%233a2b1d'/><path d='M13.3 17.6a2.9 2.9 0 0 0 4.3-4.3' fill='none' stroke='%23fff5e2' stroke-opacity='.55' stroke-width='.9'/><rect x='-6.5' y='-2' width='13' height='4' rx='2' transform='translate(10.5 10.5) rotate(-45)' fill='%23f1e6d0' stroke='%235a4330' stroke-width='.85'/></svg>");--hb-corner-tr:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34'><g transform='matrix(-1 0 0 1 34 0)'><path d='M15 15L-1 -1' stroke='%235a3f24' stroke-width='3.4' stroke-linecap='round'/><path d='M15 15L-1 -1' stroke='%23b98e58' stroke-width='2.1' stroke-linecap='round'/><circle cx='15.5' cy='15.5' r='2.7' fill='%233a2b1d'/><rect x='-6.5' y='-2' width='13' height='4' rx='2' transform='translate(10.5 10.5) rotate(-45)' fill='%23f1e6d0' stroke='%235a4330' stroke-width='.85'/></g></svg>");--hb-corner-bl:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34'><g transform='matrix(1 0 0 -1 0 34)'><path d='M15 15L-1 -1' stroke='%235a3f24' stroke-width='3.4' stroke-linecap='round'/><path d='M15 15L-1 -1' stroke='%23b98e58' stroke-width='2.1' stroke-linecap='round'/><circle cx='15.5' cy='15.5' r='2.7' fill='%233a2b1d'/><rect x='-6.5' y='-2' width='13' height='4' rx='2' transform='translate(10.5 10.5) rotate(-45)' fill='%23f1e6d0' stroke='%235a4330' stroke-width='.85'/></g></svg>");--hb-corner-br:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34'><g transform='matrix(-1 0 0 -1 34 34)'><path d='M15 15L-1 -1' stroke='%235a3f24' stroke-width='3.4' stroke-linecap='round'/><path d='M15 15L-1 -1' stroke='%23b98e58' stroke-width='2.1' stroke-linecap='round'/><circle cx='15.5' cy='15.5' r='2.7' fill='%233a2b1d'/><rect x='-6.5' y='-2' width='13' height='4' rx='2' transform='translate(10.5 10.5) rotate(-45)' fill='%23f1e6d0' stroke='%235a4330' stroke-width='.85'/></g></svg>");--hb-toggle-l:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='22'><rect x='1' y='4' width='4.6' height='14' rx='2.3' fill='%23e6d7b8' stroke='%231e1610' stroke-width='.8'/><path d='M2.5 6.4v9.2' stroke='%23fffaf0' stroke-opacity='.8' stroke-width='.8'/><path d='M4.4 6.6v8.8' stroke='%23a8916c' stroke-opacity='.8' stroke-width='.6'/><path d='M9.5 8h4.5M9.5 11h4.5M9.5 14h4.5' stroke='%23c26a4b' stroke-width='1.5' stroke-linecap='round'/></svg>");--hb-toggle-r:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='22'><rect x='10.4' y='4' width='4.6' height='14' rx='2.3' fill='%23e6d7b8' stroke='%231e1610' stroke-width='.8'/><path d='M11.9 6.4v9.2' stroke='%23fffaf0' stroke-opacity='.8' stroke-width='.8'/><path d='M13.8 6.6v8.8' stroke='%23a8916c' stroke-opacity='.8' stroke-width='.6'/><path d='M2 8h4.5M2 11h4.5M2 14h4.5' stroke='%23c26a4b' stroke-width='1.5' stroke-linecap='round'/></svg>");--hb-lace-l:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='16'><path d='M2.5 4v8M6 4v8' stroke='%236b5139' stroke-width='1.3' stroke-linecap='round'/></svg>");--hb-lace-r:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='16'><path d='M3 4v8M6.5 4v8' stroke='%236b5139' stroke-width='1.3' stroke-linecap='round'/></svg>");--hb-brush:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='8' viewBox='0 0 140 8' preserveAspectRatio='none'><path d='M1 5.6C34 2.4 84 1.4 139 3.4C96 4.6 46 6 1 5.6Z' fill='%23a45238'/></svg>");--hb-chevron:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1.2 1.4l4.8 4.8 4.8-4.8' fill='none' stroke='%2353402d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/></svg>");--hb-tick:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><path d='M3.2 8.6l3.1 3.1 6.5-7' fill='none' stroke='%23f1e6d0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>")}.hb-sheet,.hb-leather,.hb-label,.hb-btn,.hb-bar,.hb-tip,.hb-slider{--_sx:repeating-linear-gradient(90deg, var(--_t) 0 var(--hb-stitch), transparent var(--hb-stitch) calc(var(--hb-stitch) + var(--hb-stitch-gap)));--_sy:repeating-linear-gradient(180deg, var(--_t) 0 var(--hb-stitch), transparent var(--hb-stitch) calc(var(--hb-stitch) + var(--hb-stitch-gap)))}.hb-page,.ui-scale.page:has(.hb-frame){--hb-focus:var(--hb-bone);color:var(--hb-on-leather);background:var(--hb-pores), radial-gradient(ellipse 75% 60% at 50% 30%, #84624052, transparent 72%), linear-gradient(180deg, #3b2e22, #2a2119 60%, #1d1712)}.hb-backdrop{background:radial-gradient(#160f096b,#0a0704cc)}.hb-frame{padding:calc(var(--hb-pole) + var(--hb-frame-gap));--_at:calc(var(--hb-pole-over) + var(--hb-pole) / 2 - 14px);position:relative}.hb-frame:before,.hb-frame:after{content:"";pointer-events:none;filter:drop-shadow(0 2px 2px #08050280);position:absolute}.hb-frame:before{inset:0 calc(-1 * var(--hb-pole-over));background:var(--hb-pole-h) left top / auto var(--hb-pole) repeat-x, var(--hb-pole-h) left bottom / auto var(--hb-pole) repeat-x}.hb-frame:after{inset:calc(-1 * var(--hb-pole-over));background:var(--hb-lash-art,var(--hb-lash-tl)) left var(--_at) top var(--_at) / 40px 40px no-repeat, var(--hb-lash-art,var(--hb-lash-tr)) right var(--_at) top var(--_at) / 40px 40px no-repeat, var(--hb-lash-art,var(--hb-lash-bl)) left var(--_at) bottom var(--_at) / 40px 40px no-repeat, var(--hb-lash-art,var(--hb-lash-br)) right var(--_at) bottom var(--_at) / 40px 40px no-repeat, var(--hb-pole-v) left var(--hb-pole-over) top 0 / var(--hb-pole) auto repeat-y, var(--hb-pole-v) right var(--hb-pole-over) top 0 / var(--hb-pole) auto repeat-y}.hb-frame>.hb-sheet{position:relative}.hb-sheet{--hb-focus:var(--hb-ink);--_t:var(--hb-thread-dark);--_i:9px;color:var(--hb-ink);font-family:var(--hb-sans);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;scrollbar-color:#9a7a55 transparent;background:var(--hb-corner-tl) left top / 34px 34px no-repeat, var(--hb-corner-tr) right top / 34px 34px no-repeat, var(--hb-corner-bl) left bottom / 34px 34px no-repeat, var(--hb-corner-br) right bottom / 34px 34px no-repeat, var(--_sx) left calc(var(--_i) + 14px) top var(--_i) / calc(100% - 2 * var(--_i) - 28px) var(--hb-thread) no-repeat, var(--_sx) left calc(var(--_i) + 14px) bottom var(--_i) / calc(100% - 2 * var(--_i) - 28px) var(--hb-thread) no-repeat, var(--_sy) left var(--_i) top calc(var(--_i) + 14px) / var(--hb-thread) calc(100% - 2 * var(--_i) - 28px) no-repeat, var(--_sy) right var(--_i) top calc(var(--_i) + 14px) / var(--hb-thread) calc(100% - 2 * var(--_i) - 28px) no-repeat, var(--hb-grain), var(--hb-mottle), radial-gradient(130% 100% at 22% 8%, var(--hb-hide-light) 0%, var(--hb-hide-pale) 48%, var(--hb-hide-deep) 100%);box-shadow:inset 0 0 0 1px #6e502d80, inset 0 0 24px #7852284d, var(--hb-shadow-sheet);border-image:var(--hb-sheet-art);border-radius:7px 5px 8px 6px/6px 8px 5px 7px;position:relative}.hb-leather{--hb-focus:var(--hb-bone);--_t:#c26a4b73;--_i:6px;--_rivet:radial-gradient(circle at 42% 38%, #8a8580 0 .8px, #3a3531 1.4px 2.4px, #14110e 2.9px, transparent 3.3px);color:var(--hb-on-leather);font-family:var(--hb-sans);border-radius:var(--hb-radius-lg);background:var(--_rivet) left 3px top 3px / 7px 7px no-repeat, var(--_rivet) right 3px top 3px / 7px 7px no-repeat, var(--_rivet) left 3px bottom 3px / 7px 7px no-repeat, var(--_rivet) right 3px bottom 3px / 7px 7px no-repeat, var(--_sx) left 13px top var(--_i) / calc(100% - 26px) 1.2px no-repeat, var(--_sx) left 13px bottom var(--_i) / calc(100% - 26px) 1.2px no-repeat, var(--_sy) left var(--_i) top 13px / 1.2px calc(100% - 26px) no-repeat, var(--_sy) right var(--_i) top 13px / 1.2px calc(100% - 26px) no-repeat, var(--hb-pores), linear-gradient(180deg, var(--_l1,#5d4733), var(--_l2,#4a392a) 45%, var(--_l3,#3e3022));border-image:var(--hb-leather-art);box-shadow:inset 0 1px #ffe4be24,inset 0 0 0 1px #0f0a06a6,0 4px 12px #08050266}.hb-leather.hb-deep{--_l1:#3e3022;--_l2:#33281e;--_l3:#2b2219}.hb-label{--_t:#f1e6d052;font:600 11px/1.35 var(--hb-sans);letter-spacing:.1em;text-transform:uppercase;color:var(--hb-bone);clip-path:polygon(0 0,100% 0,calc(100% - 8px) 50%,100% 100%,0 100%);background:var(--_sx) left 4px top 2.5px / calc(100% - 16px) 1px no-repeat, var(--_sx) left 4px bottom 2.5px / calc(100% - 16px) 1px no-repeat, var(--hb-pores), linear-gradient(180deg, #614a35, var(--hb-umber) 55%, #44342a);border-image:var(--hb-label-art);border-radius:3px 0 0 3px;align-self:flex-start;align-items:center;gap:6px;margin:0;padding:4px 18px 4px 10px;display:inline-flex}.hb-divider{width:100%;height:14px;margin:var(--hb-space-1) 0;background:var(--hb-divider-art,radial-gradient(circle at 40% 36%, #fffaf0 0 1px, var(--hb-bone) 2px 3.4px, #b39d79 4.2px, #6b5139 4.6px, transparent 5.2px) center / 12px 12px no-repeat, repeating-linear-gradient(90deg, var(--hb-thread-dark) 0 5px, transparent 5px 9px) center / 100% 1.4px no-repeat);border:0;display:block;-webkit-mask-image:linear-gradient(90deg,#0000,#000 16% 84%,#0000);mask-image:linear-gradient(90deg,#0000,#000 16% 84%,#0000)}.hb-leather .hb-divider,.hb-page .hb-divider{--hb-thread-dark:var(--hb-thread-light)}:is(h1,h2,h3,h4,p,div).hb-title{font:600 var(--hb-text-2xl)/1.15 var(--hb-serif);letter-spacing:.03em;text-transform:uppercase;text-align:center;color:inherit;margin:0}.hb-title:after{content:"";background:var(--hb-brush) center / 100% 100% no-repeat;width:min(150px,60%);height:7px;margin:7px auto 0;display:block}:is(h1,h2,h3,h4,p,div).hb-title.hb-sm{font-size:var(--hb-text-xl)}:is(h1,h2,h3,h4,p,div).hb-title.hb-start{text-align:left}.hb-title.hb-start:after{margin-left:0}:is(h2,h3,h4,p).hb-heading{margin:var(--hb-space-2) 0 0;font:600 var(--hb-text-lg)/1.3 var(--hb-serif);letter-spacing:.01em;color:inherit}.hb-sheet .muted,.hb-muted{color:var(--hb-ink-soft)}.hb-sheet .error{color:var(--hb-ink-bad);font-weight:500}.hb-sheet .ok{color:var(--hb-ink-good)}.hb-leather .muted,.hb-page .muted{color:var(--hb-on-leather-soft)}.hb-sheet a{color:var(--hb-clay-deep);text-underline-offset:2px;text-decoration-color:#a452388c}.hb-sheet a:hover{color:var(--hb-ink)}.hb-sheet a:focus-visible{outline:2px solid var(--hb-focus);outline-offset:2px;border-radius:2px}.hb-small{font-size:var(--hb-text-sm);line-height:1.5}.hb-rows{flex-direction:column;display:flex}.hb-row{background:repeating-linear-gradient(90deg,#53402d47 0 3px,#0000 3px 6px) 0 0/100% 1px no-repeat;grid-template-columns:10.5em minmax(0,1fr);align-items:start;gap:6px 14px;padding:9px 0;display:grid}.hb-row:first-child{background:0 0}.hb-row-label{font-weight:600;font-size:var(--hb-text-sm);color:var(--hb-ink-soft);letter-spacing:.01em;padding-top:6px}.hb-row-control{min-width:0;font-size:var(--hb-text-sm);flex-wrap:wrap;align-items:center;gap:6px 8px;display:flex}.hb-row-control>.muted{font-size:var(--hb-text-xs);flex-basis:100%;line-height:1.45}.hb-row-value{font-weight:600;font-size:var(--hb-text-md);padding:5px 0}@container ui (width<=560px){.hb-row{grid-template-columns:minmax(0,1fr);gap:4px}.hb-row-label{padding-top:0}}.hb-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.hb-stack{flex-direction:column;align-items:stretch;gap:9px;display:flex}.hb-btn{border-radius:var(--hb-radius);min-height:38px;font:600 var(--hb-text-md)/1.2 var(--hb-sans);letter-spacing:.02em;text-align:center;cursor:pointer;border:0;justify-content:center;align-items:center;gap:8px;padding:8px 20px;transition:transform 70ms ease-out,box-shadow 70ms ease-out;display:inline-flex;position:relative}.hb-btn:is(:focus-visible,[data-hb=focus]){outline:2px solid var(--hb-focus);outline-offset:3px}.hb-btn:disabled{cursor:not-allowed;opacity:.5;filter:saturate(.35)}.hb-btn>svg,.hb-btn>img.pic{flex:none;width:16px;height:16px}.hb-btn.hb-lg{min-height:44px;font-size:var(--hb-text-md);letter-spacing:var(--hb-caps);text-transform:uppercase}.hb-btn.hb-sm{min-height:30px;font-size:var(--hb-text-sm);padding:4px 14px}.hb-btn.hb-primary,.hb-btn.hb-danger{--_t:var(--hb-thread-light);--_c1:#6c533b;--_c2:var(--hb-umber);--_c3:#44342a;color:var(--hb-bone);text-shadow:0 1px #00000073;background:var(--hb-toggle-l) left 5px center / 16px 22px no-repeat, var(--hb-toggle-r) right 5px center / 16px 22px no-repeat, var(--_sx) left 24px top 4px / calc(100% - 48px) 1.2px no-repeat, var(--_sx) left 24px bottom 4px / calc(100% - 48px) 1.2px no-repeat, var(--hb-pores), linear-gradient(180deg, var(--_c1), var(--_c2) 50%, var(--_c3));box-shadow:inset 0 1px 0 #ffe4be33, inset 0 0 0 1px #140d0899, var(--hb-shadow-raised);border-image:var(--hb-btn-art);padding-inline:32px}.hb-btn:is(.hb-primary,.hb-danger):is(:hover,[data-hb=hover]):not(:disabled){--_c1:#7d6145;--_c2:#644c36;--_c3:#4f3c2d;--_t:#f1e6d08c;border-image:var(--hb-btn-art-hover)}.hb-btn:is(.hb-primary,.hb-danger):is(:active,[data-hb=pressed]):not(:disabled){--_c1:#45352a;--_c2:#3e3022;--_c3:#352920;--_t:#f1e6d047;border-image:var(--hb-btn-art-pressed);transform:translateY(2px);box-shadow:inset 0 2px 4px #00000073,inset 0 0 0 1px #140d08b3,0 0 #0000}.hb-btn.hb-danger{--_c1:#a24c32;--_c2:#86381f;--_c3:#6d2c18}.hb-btn.hb-danger:is(:hover,[data-hb=hover]):not(:disabled){--_c1:#b45a3d;--_c2:#974228;--_c3:#7a321c}.hb-btn.hb-danger:is(:active,[data-hb=pressed]):not(:disabled){--_c1:#6d2c18;--_c2:#612714;--_c3:#521}.hb-btn.hb-secondary{--_t:var(--hb-thread-dark);--_foot:var(--hb-thread-dark);--_c1:#f3e6cc;--_c2:#e3cda4;color:var(--hb-ink);background:var(--hb-lace-l) left 5px center / 9px 16px no-repeat, var(--hb-lace-r) right 5px center / 9px 16px no-repeat, var(--_sx) left 16px top 3.5px / calc(100% - 32px) 1px no-repeat, repeating-linear-gradient(90deg, var(--_foot) 0 var(--hb-stitch), transparent var(--hb-stitch) calc(var(--hb-stitch) + var(--hb-stitch-gap))) left 16px bottom 3.5px / calc(100% - 32px) var(--_fw,1px) no-repeat, var(--hb-grain), linear-gradient(180deg, var(--_c1), var(--_c2));box-shadow:inset 0 0 0 1.5px var(--hb-umber-warm), inset 0 2.5px 0 -1px #fffaee99, var(--hb-shadow-tab);border-image:var(--hb-btn2-art);padding-inline:24px}.hb-btn.hb-secondary:is(:hover,[data-hb=hover]):not(:disabled){--_c1:#f7ecd7;--_c2:#e9d5b0;--_foot:var(--hb-clay);--_fw:1.6px;border-image:var(--hb-btn2-art-hover)}.hb-btn.hb-secondary:is(:active,[data-hb=pressed]):not(:disabled){--_c1:#dcc49a;--_c2:#e6d2ab;box-shadow:inset 0 0 0 1.5px var(--hb-umber-warm), inset 0 2px 3px #3c281459;border-image:var(--hb-btn2-art-pressed);transform:translateY(2px)}.hb-leather .hb-btn.hb-secondary,.hb-page .hb-btn.hb-secondary{box-shadow:inset 0 0 0 1.5px #2a2018,inset 0 2.5px 0 -1px #fffaee99,0 2px 3px #00000073}.hb-btn.hb-icon{--hb-lace-l:none;--hb-lace-r:none;min-width:34px;min-height:34px;padding:0 9px;font-size:20px;font-weight:500;line-height:1}button.hb-link{font:inherit;color:var(--hb-ink);text-decoration:underline;-webkit-text-decoration-color:var(--hb-clay);text-decoration-color:var(--hb-clay);text-underline-offset:3px;cursor:pointer;background:0 0;border:0;border-radius:2px;padding:0;font-weight:600}button.hb-link:is(:hover,[data-hb=hover]){color:var(--hb-clay-deep)}button.hb-link:is(:focus-visible,[data-hb=focus]){outline:2px solid var(--hb-focus);outline-offset:2px}.hb-leather button.hb-link,.hb-page button.hb-link{color:var(--hb-bone)}.hb-chips{flex-wrap:wrap;gap:5px;display:flex}.hb-chip,.hb-tab{--_c1:#f4e8cf;--_c2:#e4cfa7;--_foot:transparent;min-height:30px;font:500 var(--hb-text-sm)/1.2 var(--hb-sans);color:var(--hb-ink);cursor:pointer;background:linear-gradient(var(--_foot), var(--_foot)) left 7px bottom 3px / calc(100% - 14px) 1.5px no-repeat, var(--hb-grain), linear-gradient(180deg, var(--_c1), var(--_c2));box-shadow:inset 0 0 0 1px #6b5139cc, inset 0 2px 0 -1px #fffaee8c, var(--hb-shadow-tab);border:0;border-radius:4px;padding:4px 12px;position:relative}.hb-chip:is(:hover,[data-hb=hover]):not(:disabled):not([aria-pressed=true]),.hb-tab:is(:hover,[data-hb=hover]):not([aria-selected=true]){--_c1:#f8eedb;--_c2:#ead7b3;--_foot:var(--hb-clay)}.hb-chip[aria-pressed=true],.hb-tab[aria-selected=true]{--_c1:#654d36;--_c2:#4a392a;--_foot:var(--hb-clay-bright);color:var(--hb-bone);background:repeating-linear-gradient(90deg, var(--_foot) 0 4px, transparent 4px 7px) left 7px bottom 3px / calc(100% - 14px) 1.5px no-repeat, var(--hb-pores), linear-gradient(180deg, var(--_c1), var(--_c2));box-shadow:inset 0 0 0 1px #1e150e,inset 0 1px #ffe4be2e,0 1px #1e140c99}.hb-chip:is(:active,[data-hb=pressed]):not(:disabled),.hb-tab:is(:active,[data-hb=pressed]){transform:translateY(1px)}.hb-chip:disabled{cursor:not-allowed;opacity:.45}.hb-chip:is(:focus-visible,[data-hb=focus]),.hb-tab:is(:focus-visible,[data-hb=focus]){outline:2px solid var(--hb-focus);outline-offset:2px}.hb-tabs{flex-wrap:wrap;gap:6px;display:flex}.hb-tab{min-height:34px;padding:6px 16px;font-size:14px;font-weight:600}.hb-field{width:auto;min-height:34px;font:400 var(--hb-text-md)/1.3 var(--hb-sans);letter-spacing:normal;text-transform:none;color:var(--hb-ink);background:var(--hb-grain), linear-gradient(180deg, #e8d4ae, #f3e6cd 32%, #f6ebd6);box-shadow:inset 0 0 0 1.5px var(--hb-umber-warm), inset 0 2px 3px #3c28144d;border:0;border-image:var(--hb-field-art);border-radius:4px;padding:6px 10px}.hb-field::placeholder{color:#75604b;opacity:1}.hb-field:is(:focus-visible,[data-hb=focus]){outline:2px solid var(--hb-focus);outline-offset:2px}.hb-field:disabled{opacity:.55;cursor:not-allowed}.hb-field[aria-invalid=true],.hb-field.invalid{box-shadow:inset 0 0 0 2px var(--hb-clay), inset 0 2px 3px #3c28144d}select.hb-field{appearance:none;cursor:pointer;background:var(--hb-chevron) right 11px center / 12px 8px no-repeat, var(--hb-grain), linear-gradient(180deg, #f6ebd6, #ead7b2);box-shadow:inset 0 0 0 1.5px var(--hb-umber-warm), inset 0 2px 0 -1px #fffaee99, var(--hb-shadow-tab);padding-right:32px}.hb-check{font:400 var(--hb-text-md)/1.3 var(--hb-sans);cursor:pointer;align-items:center;gap:8px;display:inline-flex}.hb-check input{appearance:none;cursor:pointer;width:18px;height:18px;box-shadow:inset 0 0 0 1.5px var(--hb-umber-warm), inset 0 2px 2px #3c281447;background:linear-gradient(#e8d4ae,#f6ebd6);border:0;border-radius:3px;flex:none;margin:0;padding:0}.hb-check input:checked{background:var(--hb-tick) center / 14px 14px no-repeat, linear-gradient(180deg, #6c533b, #44342a);box-shadow:inset 0 0 0 1.5px #1e150e}.hb-check input:is(:focus-visible,[data-hb=focus]){outline:2px solid var(--hb-focus);outline-offset:2px}.hb-check input:disabled{opacity:.5;cursor:not-allowed}.hb-switch{cursor:pointer;background:var(--hb-pores), linear-gradient(180deg, #33281e, #4d3b2b);border:0;border-radius:12px;flex:none;width:46px;height:24px;padding:0;position:relative;box-shadow:inset 0 2px 3px #00000080,inset 0 0 0 1px #1e150e,0 1px #fff5e159}.hb-switch:after{content:"";background:linear-gradient(#fdf7ea,#e8dbc0 55%,#cdb994);border-radius:8px;width:22px;height:16px;transition:transform .14s ease-out;position:absolute;top:4px;left:4px;box-shadow:inset 0 0 0 1px #4a3726,0 1px 2px #00000073}.hb-switch[aria-checked=true]{background:var(--hb-pores), linear-gradient(180deg, #8a4129, var(--hb-clay))}.hb-switch[aria-checked=true]:after{transform:translate(16px)}.hb-switch:is(:focus-visible,[data-hb=focus]){outline:2px solid var(--hb-focus);outline-offset:3px}.hb-switch:disabled{opacity:.5;cursor:not-allowed}input.hb-slider{--_t:var(--hb-thread-dark);--hb-fill:50%;appearance:none;letter-spacing:0;cursor:pointer;background:var(--_sx) left top 4px / 100% 1px no-repeat, var(--_sx) left bottom 4px / 100% 1px no-repeat;border:0;border-radius:3px;width:auto;height:26px;margin:0;padding:0}input.hb-slider::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--hb-clay) 0 var(--hb-fill), transparent var(--hb-fill)), linear-gradient(180deg, #2a2017, #4a392a);border-radius:4px;height:8px;box-shadow:inset 0 1px 2px #0009}input.hb-slider::-moz-range-track{background:linear-gradient(90deg, var(--hb-clay) 0 var(--hb-fill), transparent var(--hb-fill)), linear-gradient(180deg, #2a2017, #4a392a);border-radius:4px;height:8px;box-shadow:inset 0 1px 2px #0009}input.hb-slider::-webkit-slider-thumb{-webkit-appearance:none;background:linear-gradient(90deg,#fffaf0,#e8dbc0 50%,#cdb994);border:0;border-radius:6px;width:12px;height:22px;margin-top:-7px;box-shadow:inset 0 0 0 1px #3a2b1d,0 1px 2px #00000073}input.hb-slider::-moz-range-thumb{background:linear-gradient(90deg,#fffaf0,#e8dbc0 50%,#cdb994);border:0;border-radius:6px;width:12px;height:22px;box-shadow:inset 0 0 0 1px #3a2b1d,0 1px 2px #00000073}input.hb-slider:is(:focus-visible,[data-hb=focus]){outline:2px solid var(--hb-focus);outline-offset:2px}.hb-leather input.hb-slider{--_t:var(--hb-thread-light)}.hb-bar{--_t:var(--hb-thread-light);background:var(--hb-pores), linear-gradient(180deg, #241b13, #45352a);border-image:var(--hb-bar-art);border-radius:6px;height:12px;margin:6px 0;position:relative;box-shadow:inset 0 1px 3px #000000a6,0 1px #fff0d738}.hb-bar:before,.hb-bar:after{content:"";background:var(--_sx);pointer-events:none;height:1px;position:absolute;left:6px;right:6px}.hb-bar:before{top:-5px}.hb-bar:after{bottom:-5px}.hb-sheet .hb-bar{--_t:var(--hb-thread-dark)}.hb-bar>span{background:linear-gradient(180deg, #ffeed48c 0 1px, transparent 1px), linear-gradient(180deg, var(--hb-clay-bright), var(--hb-clay) 55%, #86402a);border-image:var(--hb-bar-fill-art);border-radius:6px;min-width:12px;height:100%;transition:width .2s linear;display:block;box-shadow:inset 0 0 0 1px #46190c8c}.hb-tip{--_t:#f1e6d04d;max-width:260px;font:400 var(--hb-text-sm)/1.45 var(--hb-sans);color:var(--hb-on-leather);background:var(--_sx) left 6px top 3px / calc(100% - 12px) 1px no-repeat, var(--hb-pores), linear-gradient(180deg, #57432f, #3e3022);border-radius:5px;padding:7px 11px;position:relative;box-shadow:inset 0 0 0 1px #1e150e,0 4px 10px #00000073}.hb-tip:after{content:"";background:#3e3022;width:9px;height:9px;position:absolute;bottom:-5px;left:50%;transform:translate(-50%)rotate(45deg);box-shadow:1px 1px #1e150e}.hb-tip b{color:var(--hb-bone)}.hb-kbd{min-width:2.2em;font:600 12px/1.5 var(--hb-sans);text-align:center;white-space:nowrap;color:var(--hb-ink);background:linear-gradient(#fbf4e6,#e2d2b0);border-radius:4px;padding:1px 7px;display:inline-block;box-shadow:inset 0 0 0 1px #8a6d4d,0 2px #8a6d4d}:root{--hb-sheet-art:url(/assets/ui/panel-hide.webp) 96 fill / 36px / 4px stretch;--hb-leather-art:url(/assets/ui/panel-leather.webp) 80 fill / 24px / 3.3px stretch;--hb-btn-art:url(/assets/ui/btn-n.webp) 30 48 fill / 18px 29px / 6.6px stretch;--hb-btn-art-hover:url(/assets/ui/btn-h.webp) 30 48 fill / 18px 29px / 6.6px stretch;--hb-btn-art-pressed:url(/assets/ui/btn-p.webp) 30 48 fill / 18px 29px / 6.6px stretch;--hb-btn2-art:url(/assets/ui/btn2-n.webp) 30 48 fill / 18px 29px / 6.6px stretch;--hb-btn2-art-hover:url(/assets/ui/btn2-h.webp) 30 48 fill / 18px 29px / 6.6px stretch;--hb-btn2-art-pressed:url(/assets/ui/btn2-p.webp) 30 48 fill / 18px 29px / 6.6px stretch;--hb-label-art:url(/assets/ui/label.webp) 14 32 14 20 fill / 8px 18px 8px 11px / 2.8px stretch;--hb-field-art:url(/assets/ui/field.webp) 22 fill / 17px / 5.6px stretch;--hb-bar-art:url(/assets/ui/bar.webp) 13 16 fill / 6.5px 8px / 1.5px stretch;--hb-bar-fill-art:url(/assets/ui/bar-fill.webp) 13 16 fill / 6.5px 8px / 1.5px stretch;--hb-pole-h:url(/assets/ui/pole-h.webp);--hb-pole-v:url(/assets/ui/pole-v.webp);--hb-lash-art:url(/assets/ui/lashing.webp);--hb-divider-art:url(/assets/ui/divider.webp) center / 100% 100% no-repeat}.hb-sheet,.hb-leather,.hb-btn.hb-primary:not(.hb-danger),.hb-btn.hb-secondary,.hb-label,.hb-field,.hb-bar,.hb-bar>span{border-style:solid;border-width:0;box-shadow:none!important;background:0 0!important}.hb-btn.hb-danger{--hb-btn-art:none;--hb-btn-art-hover:none;--hb-btn-art-pressed:none}.hb-label{clip-path:none}.hb-bar{height:16px;padding:0 2px}.hb-bar:before,.hb-bar:after{display:none}.hb-bar>span{background:0 0!important}.hb-slim{--hb-leather-art:url(/assets/ui/panel-leather.webp) 80 fill / 12px / 1.7px stretch}[data-cat]{--cat:var(--hb-cat-economy)}[data-cat=economy]{--cat:var(--hb-cat-economy);--cat-band:var(--cat)}[data-cat=military]{--cat:var(--hb-cat-military);--cat-band:var(--cat)}[data-cat=defence]{--cat:var(--hb-cat-defence);--cat-band:var(--cat)}[data-cat=infantry]{--cat:var(--hb-cat-infantry);--cat-band:var(--cat)}[data-cat=ranged]{--cat:var(--hb-cat-ranged);--cat-band:repeating-linear-gradient(180deg, var(--cat) 0 5px, transparent 5px 8px)}[data-cat=cavalry]{--cat:var(--hb-cat-cavalry);--cat-band:repeating-linear-gradient(180deg, var(--cat) 0 2px, transparent 2px 4px)}[data-cat=siege]{--cat:var(--hb-cat-siege);--cat-band:linear-gradient(90deg, var(--cat) 0 1.5px, transparent 1.5px 2.5px, var(--cat) 2.5px 4px)}[data-cat=advance]{--cat:var(--hb-cat-advance);--cat-band:var(--cat)}.cmd[data-cat]:before{content:"";background:var(--cat-band);pointer-events:none;border-radius:2px;width:4px;position:absolute;top:5px;bottom:5px;left:1px}.cmd[data-cat].off:before{opacity:.45}.cp-tab[data-cat]{box-shadow:inset 4px 0 0 var(--cat)}
