.hw-home{
  display:flex;
  width:100%;
  align-items:center;
  gap:12px;
  text-align:left;
  padding:14px 18px;
  margin:0 0 12px;
  color:#ffe3b2;
  border:1px solid #ad7333;
  border-radius:12px;
  background:linear-gradient(105deg,#3a2415,#211b28 65%,#141713);
  cursor:pointer;
  min-height:80px
}
/* Собственная пиктографика операции: не зависит от emoji-шрифта устройства. */
.hw-icon{display:inline-block;width:1.3em;height:1.3em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.25em;flex:none;margin-right:.3em;pointer-events:none}
.hw-event .btn{min-height:44px}
.hw-loot-variants{margin-top:10px;color:#c7cbb5}.hw-loot-variants summary{cursor:pointer;font-size:12px}
.hw-loot-variant-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.hw-loot-variant-list>div{min-width:0;text-align:center;font-size:11px;overflow-wrap:anywhere}
.hw-loot-variant-list img{display:block;width:100%;height:80px;object-fit:contain}
.hw-home-story{background:linear-gradient(110deg,#14271c,#101a17 65%,#281c16);border-color:#7d9862;min-height:66px}
.hw-home-story img{border-radius:0}
.hw-collection-card{display:flex;flex-direction:column}
.hw-collection-art{display:flex;align-items:center;justify-content:center;height:300px;flex:none;background:radial-gradient(ellipse,#2a3623,#0e150f);border-radius:8px;overflow:hidden}
.hw-collection-art>img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.hw-collection-source{min-height:3em;line-height:1.5;margin:0 0 10px;color:#c7cbb5}
.hw-collection-footer{margin-top:auto}.hw-collection-card h3{min-height:2.7em;line-height:1.35}
.hw-collection-footer .btn{margin-top:6px}
.hw-event-medals{margin-top:24px}.hw-event-medals>.hw-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.hw-event-medal{min-width:0}.hw-event-medal .hw-collection-art{height:220px;padding:16px;box-sizing:border-box}
.hw-event-medal .hw-collection-art>img{width:100%;height:100%;filter:drop-shadow(0 6px 12px #0008)}
.hw-event-medal.is-locked .hw-collection-art>img{filter:grayscale(.65) brightness(.8);opacity:.8}
.hw-event-medal.is-owned{border-color:#7fa45d}.hw-event-medal h3{overflow-wrap:anywhere}
.hw-medal-status{display:block;color:#c7cbb5;font-size:12px;line-height:1.5;margin-top:8px}
.hw-event-medal.is-owned .hw-medal-status{color:#b8ed86}.hw-medal-gold{display:flex;align-items:center;gap:7px;color:#e5c278;margin:10px 0 0}
.hw-medal-gold>img{width:24px;height:24px;object-fit:contain}
@media(max-width:600px){.hw-event-medals>.hw-cards{grid-template-columns:minmax(0,1fr)}}
.hw-title-art{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px;box-sizing:border-box;background:radial-gradient(ellipse at 50% 58%,#29482b88,transparent 68%);position:relative}
.hw-title-art:before,.hw-title-art:after{content:'';width:58%;height:1px;background:linear-gradient(90deg,transparent,#9fb77c,transparent);flex:none;margin:22px 0}
.hw-title-art>span{font:small-caps 700 clamp(30px,4vw,44px)/1.1 Georgia,'Times New Roman',serif;letter-spacing:.13em;color:#ddd6ab;text-shadow:0 2px 3px #000}
.hw-title-art>strong{display:block;max-width:100%;margin-top:20px;font:700 clamp(23px,3vw,30px)/1.35 Georgia,'Times New Roman',serif;overflow-wrap:anywhere;color:#b6ed83;background:linear-gradient(110deg,#6f9e48 0%,#c6ff9b 25%,#82d158 42%,#e3ffce 52%,#78bd54 68%,#bbe993 85%,#6f9e48 100%);background-size:250% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 0 10px #79d54a33);animation:hw-title-shimmer 6s ease-in-out infinite}
@keyframes hw-title-shimmer{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.hw-sticker-set{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));width:100%;height:100%;padding:10px;gap:4px;box-sizing:border-box}.hw-sticker-set img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}
.hw-opening-dialog{width:min(860px,100%);max-width:860px;max-height:92dvh;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;padding:20px;text-align:left;background:linear-gradient(145deg,#20291c,#0d1410 65%);border:1px solid #789353;border-radius:14px;box-shadow:0 20px 90px #000c}
.hw-opening-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.hw-opening-dialog header>div{min-width:0;flex:1}.hw-opening-dialog header small{font-size:11px;letter-spacing:.18em;color:#b6c794}.hw-opening-dialog h2{font:700 27px/1.25 Georgia,serif;color:#f1ddab;margin:7px 0 14px;overflow-wrap:anywhere}.hw-opening-dialog header>.btn{width:44px;min-height:44px;flex:none;padding:8px}.hw-opening-dialog .hw-icon{margin:0}
.hw-opening-hero{display:flex;justify-content:center;background:radial-gradient(ellipse,#546f2840,transparent 70%);border-radius:10px;overflow:hidden}.hw-opening-hero>img{display:block;width:min(100%,430px);height:auto;aspect-ratio:1;object-fit:contain;border-radius:10px;animation:hw-opening-reveal .55s ease-out both}
.hw-opening-common{border-color:#a1814e}.hw-opening-rare{border-color:#759868}.hw-opening-legendary{border-color:#b2a36b;box-shadow:0 20px 90px #000c,0 0 35px #87c85a22}
.hw-opening-subtitle{margin:18px 0 12px;color:#e2e7c8;font-size:17px}.hw-opening-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.hw-opening-prize{display:flex;flex-direction:column;align-items:center;text-align:center;border:1px solid #566743;background:linear-gradient(135deg,#2a3821,#121b12);border-radius:9px;padding:12px 9px;min-width:0}.hw-opening-prize-art{display:flex;align-items:center;justify-content:center;height:94px;width:100%;margin-bottom:10px}.hw-opening-prize-art img{display:block;width:100%;height:100%;object-fit:contain}.hw-opening-prize h3{font-size:13px;line-height:1.4;color:#eee7c9;margin:0 0 7px;overflow-wrap:anywhere}.hw-opening-prize>b{margin-top:auto;color:#cbea99;font-size:14px;overflow-wrap:anywhere;max-width:100%}.hw-opening-prize p{margin:7px 0 0;font-size:11px;color:#b8c6ad;line-height:1.4}.hw-opening-prize .hw-loot-vip-word{font-size:44px}.hw-opening-note{color:#bdc9ad;font-size:12px;line-height:1.6;margin:17px 0}.hw-opening-done{width:100%;min-height:46px}
@keyframes hw-opening-reveal{from{opacity:0;transform:translateY(7px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:650px){.hw-opening-dialog{padding:13px;max-height:94dvh}.hw-opening-dialog h2{font-size:23px}.hw-opening-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hw-opening-hero>img{width:min(100%,340px)}.hw-opening-prize{padding:10px 7px}.hw-opening-prize-art{height:86px}.hw-opening-prize>b{font-size:12px}.hw-title-art{padding:15px}.hw-sticker-set{padding:7px}}
@media(prefers-reduced-motion:reduce){.hw-title-art>strong,.hw-opening-hero>img{animation:none}}
@media(forced-colors:active){.hw-title-art>strong{background:none;-webkit-text-fill-color:CanvasText;color:CanvasText;filter:none;animation:none}}
.hw-story{background:linear-gradient(130deg,#1b251f,#0d1512 70%);border-color:#6f8260;color:#e0e5d8}
.hw-story header small,.hw-story-npc small{letter-spacing:2px;color:#b2bb92;font-size:11px}
.hw-story header h2{color:#f4d49f}.hw-story header p{color:#c4cdba;line-height:1.65}
.hw-story-steps{display:flex;list-style:none;padding:0;gap:6px;flex-wrap:wrap;margin:20px 0}
.hw-story-steps li{display:flex;align-items:center;justify-content:center;width:33px;height:33px;border:1px solid #586151;border-radius:6px;color:#b0bba4;background:#131b15;font-size:12px}
.hw-story-steps li.done{background:#27402b;color:#c2e6a4}.hw-story-steps li.current{background:#694e26;color:#ffe3b0;border-color:#d0a65b;box-shadow:0 0 12px #c4902428}.hw-story-steps .hw-icon{margin:0}
.hw-story-chapter{padding:18px;border:1px solid #596648;border-radius:10px;background:#080e0bd9}
.hw-story-npc{display:flex;gap:18px;align-items:center}.hw-story-npc img{width:92px;height:114px;object-fit:cover;border:1px solid #77885e;border-radius:8px}.hw-story-npc h3{color:#efce92;margin:6px 0}.hw-story-npc p{margin:4px 0;color:#b1c4a8;font-size:12px}
.hw-story-text{font-size:15px;line-height:1.8;margin:20px 0}.hw-story-clue{border-left:3px solid #b49357;padding:10px;background:#63562b20;color:#ded4b1;line-height:1.6}
.hw-story-prize{display:flex;gap:9px;flex-direction:column;padding:12px;background:#31432938;border-radius:6px;color:#d6e1bd;margin:18px 0}.hw-story-prize b{color:#e5c278}
.hw-story-choices{display:grid;gap:10px}.hw-story-choices .btn{white-space:normal;line-height:1.5;padding:11px}.hw-story-record{border-bottom:1px solid #37432f;padding:12px 0}.hw-story-record small{display:block;color:#b2c494}.hw-story-record p{line-height:1.65}.hw-story-finale{padding:20px;border:1px solid #a89a55;background:#463a192b;border-radius:10px;line-height:1.8}
.hw-bunker{background:#0d1510;border-color:#586747;color:#e2e9d9}.hw-bunker h3{color:#e4ca94}.hw-inventory{padding:10px;background:#223120;border:1px solid #485e3e;border-radius:7px;font-size:12px;line-height:1.8}
.hw-bunker-map{gap:0;max-width:700px;background:#050805;border:4px solid #45533c;border-radius:6px;overflow:hidden;box-shadow:0 0 30px #0008}
.hw-bunker-map .hw-bunker-tile{position:relative;background-image:url('/img/halloween/2026/bunker-atlas.jpg?v=1');background-size:400% 400%;background-position:var(--tile-x) var(--tile-y);border:0;border-radius:0;line-height:1;isolation:isolate}
.hw-bunker-tile::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:#03080338}.hw-bunker-tile.fog::after{background:#030803ed}.hw-bunker-tile.wall::after{background:#010501a8;box-shadow:inset 0 0 2px #9aa68a}.hw-bunker-tile.self{outline:2px solid #e8d891;outline-offset:-2px;z-index:1;color:#fff0ad}.hw-bunker-tile.self::after{background:#07170526;box-shadow:inset 0 0 8px #abf267}.hw-bunker-tile>.hw-icon{position:relative;width:90%;height:90%;margin:0;filter:drop-shadow(0 1px 2px #000);stroke-width:2.3;color:#f1ca7a}.hw-bunker-tile.self>.hw-icon{color:#dfffaf;filter:drop-shadow(0 0 3px #000)}
.hw-bunker-tile.floor:not(:disabled):hover{outline:2px solid #c6eb83;outline-offset:-2px}.hw-bunker-tile:focus-visible{outline:2px solid #fff;outline-offset:-2px;z-index:2}.hw-object-dot{position:absolute;width:4px;height:4px;right:2px;top:2px;background:#c7e09b;border-radius:50%;box-shadow:0 0 4px #7ac74a}.hw-bunker-tile.used .hw-object-dot{background:#7a8170;box-shadow:none}
.hw-map-legend{font-size:11px;color:#c9d4bf;line-height:1.7}.hw-bunker-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:10px}.hw-bunker-actions article,.hw-exit-panel{padding:12px;border:1px solid #536546;border-radius:7px;background:#25302099}.hw-bunker-actions h4{margin:0 0 12px;color:#efdbad}.hw-bunker-actions .btn{display:block;width:100%;white-space:normal;line-height:1.5;margin-top:8px}.hw-exit-panel{border-color:#bda05e}.hw-bunker details p{line-height:1.75}.hw-directions .btn{min-height:48px;min-width:48px}.hw-directions .hw-icon{margin:0;width:24px;height:24px}
@media(max-width:550px){.hw-story-chapter{padding:12px}.hw-story-npc{gap:12px}.hw-story-npc img{width:70px;height:92px}.hw-story header h2{font-size:21px}.hw-story-steps{gap:4px}.hw-story-steps li{width:28px;height:28px}.hw-bunker{padding:10px}.hw-bunker-map{border-width:2px}.hw-collection-art{height:280px}.hw-collection-card h3,.hw-collection-source{min-height:0}}
.hw-home img{
  width:52px;
  height:52px;
  object-fit:contain;
  border-radius:50%
}
.hw-home span{
  flex:1
}
.hw-home b{
  font-size:20px
}
.hw-home small{
  display:block;
  color:#d6b995;
  margin-top:4px
}
.hw-hero{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  background:#16141c
}
.hw-hero>img{
  display:block;
  width:100%;
  aspect-ratio:2.5;
  object-fit:cover
}
.hw-hero>div{
  position:absolute;
  bottom:0;
  padding:16px;
  background:linear-gradient(transparent,#100d16ed);
  width:100%;
  color:#ffdaad
}
.hw-hero h2{
  margin:10px 0
}
.hw-wallet{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px;
  background:#281b12;
  border:1px solid #87592b;
  border-radius:10px;
  margin:10px 0;
  flex-wrap:wrap
}
.hw-wallet img{
  width:36px;
  height:36px;
  border-radius:50%
}
.hw-wallet small{
  margin-left:auto
}
.hw-tabs{
  display:flex;
  gap:6px;
  overflow-x:auto;
  padding:6px 0 12px;
  position:sticky;
  top:0;
  z-index:2;
  background:var(--bg,#0b1008)
}
.hw-tabs button{
  white-space:nowrap;
  flex:1
}
.hw-tabs button[data-tab]{
  background:#25271b;
  border:1px solid #6b613b
}
.hw-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));
  gap:12px;
  margin:12px 0
}
.hw-card{
  background:#181b12;
  border:1px solid #555936;
  border-radius:12px;
  padding:12px;
  min-width:0
}
.hw-card>img{
  width:100%;
  aspect-ratio:1;
  object-fit:contain;
  border-radius:8px
}
.hw-card h3{
  color:#e5ba7e
}
.hw-card .btn{
  width:100%
}
/* Сложность читается не только по цвету: у каждой карточки есть текстовая плашка. */
.hw-tier{
  position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;
  color:#eee9dc;border-color:var(--hw-tier-border,#86a66b);min-height:290px;
  background:#101810;box-shadow:inset 0 0 28px #0008
}
.hw-tier::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(135deg,var(--hw-tier-wash,#102816ed),#080e0aed 65%),
    url('/img/halloween/2026/hero.jpg') center/cover no-repeat
}
.hw-tier::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse at 95% 0,var(--hw-tier-glow,#577e3438),transparent 65%);
  border-top:3px solid var(--hw-tier-border,#86a66b);border-radius:inherit
}
.hw-tier-easy{--hw-tier-border:#789e65;--hw-tier-wash:#123120c7;--hw-tier-glow:#7bcd5445;--hw-badge-bg:#17371bf0;--hw-badge-text:#dfffcf}
.hw-tier-hard{--hw-tier-border:#c38b47;--hw-tier-wash:#392312d4;--hw-tier-glow:#dc861e50;--hw-badge-bg:#4a2b10f0;--hw-badge-text:#ffe2aa}
.hw-tier-nightmare{--hw-tier-border:#ba635b;--hw-tier-wash:#38121bce;--hw-tier-glow:#bd302d50;--hw-badge-bg:#48151cf0;--hw-badge-text:#ffdad6}
.hw-difficulty-badge{
  display:inline-flex;align-self:flex-start;max-width:100%;padding:6px 10px;
  border:1px solid var(--hw-tier-border,#86a66b);border-radius:6px;
  color:var(--hw-badge-text,#dfffcf);background:var(--hw-badge-bg,#17371bf0);
  font-size:12px;font-weight:800;line-height:1.4;letter-spacing:.25px
}
.hw-tier h3{color:#ffe4b5;margin:12px 0 4px}
.hw-tier-caption{color:#e4d3b8;font-size:12px;min-height:2.8em}
.hw-tier>.btn{margin-top:auto}
.hw-tier .muted{color:#cfc6b6}
.hw-team-lobby{border-color:#626d48;background:linear-gradient(115deg,#1c2618,#10150e)}
.hw-invite-box{margin:12px 0;padding:10px;border:1px solid #606e45;border-radius:9px;background:#0a100aba}
.hw-invite-form label,.hw-invite-form small{display:block;margin:10px 0}
.hw-invite-form input{width:100%;box-sizing:border-box}
.hw-friend-invites,.hw-team-actions{display:flex;flex-wrap:wrap;gap:8px}
.hw-friend-invites .btn{width:auto;max-width:100%;overflow-wrap:anywhere}
.hw-team-actions>.btn{flex:1;min-width:min(100%,160px)}
.hw-invitations{border-color:#b58a49;background:linear-gradient(125deg,#302516,#151a12)}
.hw-invitation+.hw-invitation{border-top:1px solid #76603b;margin-top:12px;padding-top:10px}
.hw-pending-invite{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0;flex-wrap:wrap}
.hw-pending-invite>span{min-width:0;overflow-wrap:anywhere}
.hw-pending-invite>.btn{width:auto;flex:0 0 auto}
@media(max-width:550px){.hw-tier{min-height:270px}.hw-invite-box{padding:8px}}
.hw-status{
  color:#d3b486;
  font-size:14px
}
.hw-warning{
  padding:12px;
  border:1px solid #af753c;
  border-radius:8px;
  color:#ffcb8b
}
.hw-bar progress{
  display:block;
  width:100%;
  height:10px;
  accent-color:#c0934e
}
.hw-bar{
  margin:9px 0;
  min-width:120px
}
.hw-scene{
  border:1px solid #665032;
  border-radius:12px;
  padding:12px;
  background:#17131a;
  text-align:center
}
.hw-scene>img{
  max-height:300px;
  width:100%;
  object-fit:cover;
  border-radius:8px;
  aspect-ratio:2.5
}
.hw-scene>img.hw-cache{
  aspect-ratio:1;
  object-fit:contain;
  max-width:240px
}
.hw-scene>img.hw-boss{
  width:100%;
  max-width:340px;
  max-height:340px;
  aspect-ratio:1;
  object-fit:contain
}
.hw-scene small{
  display:block;
  margin:10px
}
.hw-scene .btn{
  margin:4px
}
.hw-map{
  display:grid;
  grid-template-columns:repeat(20,minmax(0,1fr));
  gap:2px;
  width:100%;
  max-width:600px;
  margin:auto;
  aspect-ratio:1
}
.hw-cell{
  font-size:clamp(8px,2vw,17px);
  min-width:0;
  padding:0;
  border:1px solid #252b25;
  border-radius:2px;
  background:#101311;
  color:#f9cf79;
  aspect-ratio:1;
  opacity:1!important
}
.hw-cell.seen{
  background:#3b4532
}
.hw-cell.self{
  background:#c89635;
  color:#000
}
.hw-cell.target{
  background:#744292;
  outline:2px solid #efbffa
}
.hw-directions{
  display:flex;
  gap:8px;
  justify-content:center;
  margin:12px
}
.hw-directions button{
  min-width:48px
}
.hw-travel{
  padding:10px;
  text-align:center;
  background:#3d2451;
  color:#ffe3ff
}
.hw-resources{
  font-size:13px
}
.hw-event details{
  margin-top:14px
}
.hw-event summary{
  cursor:pointer
}
.hw-admin-row{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:12px
}
.hw-admin-row label{
  display:block
}
.hw-admin-row input,.hw-admin-row select{
  width:100%
}
@media(max-width:550px){
  .hw-hero>div{
  position:static;
  padding:10px
}
.hw-hero>img{
  aspect-ratio:2
}
.hw-hero h2{
  font-size:20px
}
.hw-home b{
  font-size:17px
}
.hw-tabs .btn{
  padding:9px 12px
}
.hw-cards{
  grid-template-columns:1fr
}
.hw-card>img{
  max-height:300px
}
.hw-wallet small{
  width:100%;
  margin-left:46px
}
}

.hw-admin-panel[hidden]{
  display:none!important
}

.hw-tabs [aria-current="page"]{
  background:#795025!important;
  border-color:#e3b369!important;
  color:#fff4dd
}

.hw-reward{
  display:flex;
  align-items:center;
  gap:8px;
  margin:7px 0
}

.hw-reward img{
  width:26px;
  height:26px;
  object-fit:contain
}

#hw-save{
  position:sticky;
  bottom:8px;
  z-index:3;
  box-shadow:0 2px 12px #000a
}

.hw-hero.is-active>img,.hw-hero.is-active p{
  display:none
}

.hw-hero.is-active>div{
  position:static;
  padding:8px 12px
}

.hw-hero.is-active h2{
  font-size:20px;
  margin:4px 0
}

/* Утверждённые квадратные оригиналы не обрезаем и не перерисовываем.
   Рамка выбирает только видимую область: 3:5, 3:4 или крупное лицо 30–46px. */
[src*="/avatar-common-m.jpg"],[style*="/avatar-common-m.jpg"]{
  --hw-portrait-position:50% 0%;--hw-thumb-position:48% 30%
}
[src*="/avatar-common-f.jpg"],[style*="/avatar-common-f.jpg"]{
  --hw-portrait-position:45% 0%;--hw-thumb-position:46% 28%
}
[src*="/avatar-rare-m.jpg"],[style*="/avatar-rare-m.jpg"]{
  --hw-portrait-position:35% 0%;--hw-thumb-position:40% 24%
}
[src*="/avatar-rare-f.jpg"],[style*="/avatar-rare-f.jpg"]{
  --hw-portrait-position:47% 0%;--hw-thumb-position:47% 30%
}
[src*="/avatar-legendary-m.jpg"],[style*="/avatar-legendary-m.jpg"]{
  --hw-portrait-position:35% 0%;--hw-thumb-position:43% 30%
}
[src*="/avatar-legendary-f.jpg"],[style*="/avatar-legendary-f.jpg"]{
  --hw-portrait-position:47% 0%;--hw-thumb-position:47% 30%
}
.hw-avatar-cell{
  position:relative;display:block;width:100%;min-width:0;aspect-ratio:3/5
}
.avatar-grid>div{min-width:0}
.hw-avatar-portrait{
  position:relative;width:100%;max-width:204px;aspect-ratio:3/5;
  margin:0 auto 10px;overflow:hidden;border-radius:8px;background:#0a0d08
}
.hw-avatar-cell>img,.hw-avatar-portrait>img{
  position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;
  object-fit:cover;object-position:var(--hw-portrait-position,50% 0%)
}
.pf2-avatar[style*="/img/halloween/2026/avatar-"],
.pf-avatar-sm[style*="/img/halloween/2026/avatar-"],
.pf-avatar-big[style*="/img/halloween/2026/avatar-"]{
  background-size:cover;background-position:var(--hw-portrait-position,50% 0%)
}
.pf2-avatar[style*="/img/halloween/2026/avatar-"]{
  aspect-ratio:3/4;min-height:0;flex:0 0 auto
}
.hw-avatar-thumb{
  display:block;width:40px;height:40px;flex-shrink:0;border-radius:5px;
  background-size:160%;background-position:var(--hw-thumb-position,50% 30%);
  background-repeat:no-repeat;background-color:#0a0d08
}
.ta-avatar[style*="/img/halloween/2026/avatar-"]{
  background-size:160%;background-position:var(--hw-thumb-position,50% 30%)
}
.cab-ava.has-photo[style*="/img/halloween/2026/avatar-"]::after{
  background-size:auto 140%;background-position:var(--hw-thumb-position,50% 30%)
}
@media(max-width:600px){
  .sorties-team-card>.hw-avatar-thumb{width:30px;height:30px}
}
/* Витрина сундуков: миниатюры и точные суммы без публикации таблицы шансов. */
.hw-chest-price{font-size:20px;font-weight:700;color:#e9c476}
.hw-chest-actions{display:flex;gap:8px;margin-top:auto}.hw-chest-actions .btn{flex:1;min-width:0}
.hw-loot-note{color:#c3cfb6;line-height:1.6;font-size:13px}
.hw-loot-dialog{width:min(980px,100%);max-width:980px;max-height:90dvh;overflow-y:auto;text-align:left;padding:22px;background:#141c12;border:1px solid #697a40}
.hw-loot-dialog header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;border-bottom:1px solid #4b5434;padding-bottom:14px}
.hw-loot-dialog header>div{flex:1;min-width:0}.hw-loot-dialog header>button{width:40px;flex:0 0 40px;padding:8px}.hw-loot-dialog{overscroll-behavior:contain}
.hw-loot-rarity{display:block;margin-top:9px;color:#ff8580;font-size:12px;font-weight:700;line-height:1.4}
.hw-task-payment{border-color:#826b37;background:linear-gradient(145deg,#352b1855,#12190e)}
/* Общий нижний блок: текст любой длины не сдвигает прогресс и кнопку в строке. */
.hw-task-card{display:flex;flex-direction:column}
.hw-task-card h3{margin:0 0 6px}
.hw-task-description{margin:0}
.hw-task-footer{margin-top:auto;padding-top:12px}
.hw-task-footer .hw-bar{margin:0 0 10px}
.hw-task-reward{margin:0 0 10px;line-height:1.45;min-height:2.9em}
.hw-task-footer>.btn{margin:0;min-height:36px}
.hw-loot-vip-word{display:inline-block;font-family:Georgia,'Times New Roman',serif;font-size:clamp(42px,8vw,68px);font-weight:900;line-height:1.1;letter-spacing:.07em;color:#e9bd59;background:linear-gradient(110deg,#a97423 0%,#edc66b 23%,#fff6cb 38%,#dfad43 48%,#f5d890 60%,#fff8df 71%,#bf8a2d 88%,#e9bd59 100%);background-size:240% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 2px 1px #0009) drop-shadow(0 0 9px #e5b44b35);animation:hw-vip-shimmer 5s ease-in-out infinite}
.hw-loot-vip .hw-loot-art{background:radial-gradient(ellipse at center,#66501d40,#0a100bcc 75%)}
@keyframes hw-vip-shimmer{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@media(prefers-reduced-motion:reduce){.hw-loot-vip-word{animation:none;background-position:48% 50%}}
@media(forced-colors:active){.hw-loot-vip-word{background:none;-webkit-text-fill-color:CanvasText;color:CanvasText;filter:none;animation:none}}
.hw-loot-dialog header small{color:#a7bf82;letter-spacing:2px}.hw-loot-dialog h2{margin:6px 0;color:#f2d598;font-size:23px}.hw-loot-dialog header p{margin:0;color:#c5d0b3}
.hw-loot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.hw-loot-card{border:1px solid #404e32;border-radius:10px;overflow:hidden;background:linear-gradient(140deg,#263321,#10180f);min-width:0;display:flex;flex-direction:column}
.hw-loot-art{height:130px;background:radial-gradient(ellipse,#3f503027,#090e09bb);padding:12px;display:flex;align-items:center;justify-content:center}.hw-loot-art img{display:block;width:100%;height:100%;object-fit:contain}.hw-loot-avatar .hw-loot-art{height:165px}.hw-loot-cosmetic .hw-loot-art{height:145px}
.hw-loot-description{padding:12px}.hw-loot-description h3{font-size:15px;color:#eee3c4;line-height:1.35;margin:0 0 8px}.hw-loot-quantity{color:#e9c476;font-size:14px;overflow-wrap:anywhere}.hw-loot-description p{font-size:12px;line-height:1.5;color:#bdcbb0;margin:7px 0 0}.hw-loot-owned{display:block;color:#9bd28a;font-size:12px;margin-top:10px}.hw-loot-card.is-owned{border-color:#669053}.hw-loot-close{width:100%;margin-top:6px}
@media(max-width:650px){.hw-loot-overlay{padding:8px}.hw-loot-dialog{padding:14px;max-height:94dvh}.hw-loot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hw-loot-description{padding:9px}.hw-loot-art{height:115px}.hw-loot-dialog h2{font-size:20px}.hw-loot-description h3{font-size:14px}.hw-loot-quantity{font-size:12px}.hw-chest-actions .btn{padding-left:7px;padding-right:7px}}
@media(prefers-reduced-motion:reduce){.pf2-avatar-frame[class*="hw_"]{animation:none!important}}
/* Специфичнее старых .hw-cell.seen/self с background shorthand. */
.hw-map.hw-bunker-map{gap:0;max-width:700px}
.hw-map.hw-bunker-map .hw-cell.hw-bunker-tile{background-image:url('/img/halloween/2026/bunker-atlas.jpg?v=1');background-size:400% 400%;background-position:var(--tile-x) var(--tile-y);background-color:#131a13}
.hw-map-scroll{overflow:auto;max-width:100%;overscroll-behavior:contain;margin-top:10px;border-radius:6px}.hw-map-scroll.is-zoomed .hw-bunker-map{min-width:700px}
.hw-bunker-tile.furniture::after{background:#03080310}.hw-bunker-tile.object::after{background:#03080308}
.hw-collection-art .hw-avatar-portrait{height:100%;width:auto;max-width:100%;aspect-ratio:3/5;margin:0}
.hw-enemy-strip{display:block;width:100%;max-width:360px;aspect-ratio:1;margin:12px auto;background-size:200% 100%;background-position:0% 50%;background-repeat:no-repeat;border-radius:10px;border:1px solid #746247;box-shadow:0 8px 28px #0006}.hw-enemy-strip.is-defeated{background-position:100% 50%;border-color:#648653}
.hw-loot-hud{padding:12px 14px;margin:12px 0;background:linear-gradient(120deg,#1d2a20,#121a15);border:1px solid #5c6947;border-radius:9px;color:#f3e3b7}.hw-loot-hud>small{display:block;text-transform:uppercase;font-size:10px;letter-spacing:1.5px;color:#b2c59b;margin-bottom:8px}.hw-loot-hud>div{display:flex;align-items:center;flex-wrap:wrap;gap:10px 22px}.hw-loot-hud span{display:inline-flex;align-items:center;gap:7px;font-variant-numeric:tabular-nums;min-width:0}.hw-loot-hud img{width:26px;height:26px;object-fit:contain;border-radius:4px}.hw-container-prize{display:inline-flex!important;align-items:center;vertical-align:middle;gap:4px}.hw-container-prize img{width:48px;height:40px;object-fit:contain}.hw-combat-bars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px}.hw-combat-bars .hw-bar{min-width:0}.hw-supply{padding:12px;margin:12px 0;background:#101912;border:1px solid #475d3c;border-radius:7px}.hw-supply>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.hw-supply small{display:block;line-height:1.65;color:#b5c3aa;margin-top:8px}.hw-supply .btn{width:auto;min-width:180px;min-height:44px}.hw-hit-result{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;border:1px solid #6e8d4f;background:#23321c;padding:10px 13px;margin:12px 0;border-radius:7px;color:#def0c7;text-align:left}.hw-hit-result small{color:#f2d694}.hw-hit-result.is-critical{border-color:#d89841;background:#3a2a18;color:#ffce82}.hw-convoy-overview>small,.hw-reaper-arena>small{font-size:10px;letter-spacing:1.7px;color:#b5c3a8}.hw-convoy-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;list-style:none;gap:8px}.hw-convoy-steps li{display:flex;align-items:flex-start;gap:8px;padding:11px 8px;background:#121a15;border:1px solid #48513d;border-radius:7px;color:#acb39d;min-width:0}.hw-convoy-steps li>b{color:#7f8d71;font-size:19px}.hw-convoy-steps li>span{min-width:0;font-weight:700}.hw-convoy-steps small{display:block;font-size:10px;line-height:1.5;font-weight:400;margin-top:5px}.hw-convoy-steps .current{border-color:#d49c50;background:#41321c;color:#ffdfac}.hw-convoy-steps .done{border-color:#6e924f;color:#d2efba}.hw-reaper-arena{background:radial-gradient(ellipse at 50% 25%,#27372a,#111713 65%);border-color:#6f8258}.hw-reaper-art{position:relative;max-width:340px;margin:14px auto;border-radius:12px;overflow:hidden;box-shadow:0 0 50px #70c44422}.hw-reaper-art .hw-boss{display:block;width:100%;margin:0;max-height:340px;object-fit:cover}.hw-reaper-art>span{position:absolute;inset:auto 0 0;padding:18px;background:#0c130de8;color:#d5edb8;text-transform:uppercase;letter-spacing:2px}.hw-reaper-arena.is-waiting .hw-boss{filter:grayscale(.9) brightness(.45)}.hw-reaper-wait{padding:12px;border:1px solid #68884c;background:#1b2b19;border-radius:8px}.hw-impact{animation:hw-combat-impact .42s ease-out both}@keyframes hw-combat-impact{0%{filter:brightness(1.7)}100%{filter:brightness(1)}}
.hw-doping-stock{margin:24px 0;padding:18px;border:1px solid #637746;border-radius:10px;background:linear-gradient(130deg,#23301c,#101910)}.hw-doping-stock>h3{margin-top:0;color:#e3d4a1}.hw-doping-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hw-doping-row{display:grid;grid-template-columns:74px minmax(0,1fr);gap:10px 12px;padding:14px;border:1px solid #485c38;border-radius:8px;background:#10190f;min-width:0}.hw-doping-row>img{width:74px;height:84px;object-fit:contain;align-self:center}.hw-doping-info{min-width:0;overflow-wrap:anywhere}.hw-doping-info h4{color:#f2d69c;font-size:13px;margin:0 0 6px;line-height:1.5}.hw-doping-info p{font-size:12px;line-height:1.6;margin:0 0 5px;color:#c8d2ba}.hw-doping-info small{display:block;color:#a6b496;font-size:11px;line-height:1.6}.hw-doping-row.has-active{border-color:#83aa51;box-shadow:inset 0 0 20px #81ad2510}.hw-doping-info .hw-doping-active{color:#c0ed8f}.hw-doping-info .hw-doping-blocked{color:#edbf83}.hw-doping-action{grid-column:1/-1;display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:auto;color:#e8d7ae;font-size:12px}.hw-doping-action .btn{width:auto;min-width:130px;min-height:44px;margin:0}.hw-doping-stock .hw-loot-note{margin-bottom:15px}
@media(max-width:650px){.hw-doping-stock{padding:12px}.hw-doping-list{grid-template-columns:1fr}.hw-doping-row{padding:11px;grid-template-columns:60px minmax(0,1fr);gap:10px}.hw-doping-row>img{width:60px;height:76px}.hw-doping-action{flex-wrap:wrap}.hw-doping-action .btn{min-width:115px}}
.hw-shop-card{display:flex;flex-direction:column;min-width:0}.hw-shop-art{height:145px;display:grid;place-items:center;background:radial-gradient(ellipse,#3e4e263b,#0d150e);border-radius:8px;margin-bottom:12px;overflow:hidden}.hw-shop-art img{display:block;width:100%;height:100%;object-fit:contain;max-height:145px}.hw-shop-art .hw-loot-vip-word{font-size:64px}.hw-shop-description{color:#c5cfb7;line-height:1.6;font-size:12px;flex:1}.hw-shop-footer{margin-top:auto;padding-top:12px}.hw-shop-footer small{display:block;line-height:1.5;color:#cabd96;margin-bottom:8px}.hw-shop-footer .btn{width:100%;min-height:44px}.hw-reaper-board>summary{cursor:pointer;color:#eed59b;padding:4px 0}.hw-reaper-standing{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #52603d55}.hw-reaper-standing>span{min-width:0;overflow-wrap:anywhere}.hw-reaper-standing small{display:block;color:#b7c5a8;font-size:11px;margin-top:4px}.hw-reaper-award{display:flex;gap:18px;align-items:center;font-variant-numeric:tabular-nums}.hw-reaper-award>span{display:flex;gap:4px;align-items:center;flex-wrap:wrap;max-width:135px}.hw-reaper-award small{flex:1 0 100%;font-size:10px;color:#b7c5a8;text-align:center}.hw-reaper-award img{width:24px;height:24px;object-fit:contain}.hw-reaper-award .hw-container-prize img{width:40px;height:36px}.hw-reaper-prize{background:linear-gradient(120deg,#25381d,#111b13);border-color:#8aaf57}.hw-reaper-prize>small{color:#bedb9e;letter-spacing:1.4px;font-size:10px}.hw-reaper-prize p{color:#c6d5b7;font-size:12px}
@media(max-width:650px){.hw-shop-art{height:130px}.hw-shop-art img{max-height:130px}.hw-reaper-standing{grid-template-columns:22px minmax(0,1fr) auto;gap:6px;font-size:12px}.hw-reaper-award{gap:8px}.hw-reaper-award>span{max-width:82px}.hw-reaper-award .hw-container-prize img{width:32px;height:28px}.hw-reaper-award small{font-size:9px}}
@media(max-width:650px){.hw-loot-hud{padding:10px}.hw-loot-hud>div{gap:10px 14px}.hw-loot-hud span{font-size:12px}.hw-loot-hud img{width:23px;height:23px}.hw-combat-bars{gap:4px 12px}.hw-convoy-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.hw-convoy-steps li{padding:9px 7px;font-size:12px}.hw-supply .btn{width:100%;min-width:0}.hw-hit-result{font-size:12px}.hw-reaper-art{max-width:250px}}
@media(prefers-reduced-motion:reduce){.hw-impact{animation:none}}
.hw-depth{background:linear-gradient(140deg,#171d19,#0c120f);border-color:#778178}.hw-depth header>small{font-size:10px;letter-spacing:2px;color:#bec6ae}
.hw-depth-floors{padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;list-style:none}.hw-depth-floors li{padding:8px;border:1px solid #596356;background:#121a15;border-radius:6px;color:#abb6a0;font-size:12px;line-height:1.5}.hw-depth-floors li span{display:block}.hw-depth-floors .current{border-color:#d2ac6c;color:#ffe5bb;background:#503b2170}.hw-depth-floors .done{color:#bde8a7}
.hw-depth-objectives{display:flex;gap:8px;flex-wrap:wrap}.hw-depth-objectives span{border:1px solid #786d4a;border-radius:6px;padding:7px;font-size:12px}.hw-depth-objectives .done{border-color:#659451;color:#ccedac}
.hw-map.hw-depth-map{grid-template-columns:repeat(30,minmax(0,1fr));gap:0;max-width:900px;border:3px solid #727b72;background:#303530;border-radius:5px;overflow:hidden}
.hw-map.hw-depth-map .hw-cell.hw-depth-cell{position:relative;isolation:isolate;opacity:1!important;border:0;border-radius:0;background-image:url('/img/halloween/2026/depths/terrain.jpg');background-size:400% 400%;background-position:var(--tile-x) var(--tile-y);aspect-ratio:1;color:#f1d297;line-height:1}
.hw-depth-cell::after{content:'';position:absolute;inset:0;pointer-events:none;z-index:0;background:#07100830}.hw-depth-cell.wall::after{background:#ccd0c813;box-shadow:inset 0 0 0 1px #909c8a26}.hw-depth-cell.fog:not(.wall)::after{background:#030904ce}.hw-depth-cell.lamp::before{content:'';position:absolute;width:24%;height:24%;left:38%;top:38%;border-radius:50%;background:#ff5143;box-shadow:0 0 5px 2px #df201a,0 0 16px #f83a2488;z-index:2}.hw-depth-cell.gas::after{background:#90bc343b}.hw-depth-cell.self{outline:2px solid #e2ed96;outline-offset:-2px;z-index:2}.hw-depth-cell.self::after{background:#799a2633}
/* Верх цементной стены, а не повторяющийся перспективный фасад. */
.hw-map.hw-depth-map .hw-cell.hw-depth-cell.wall{background-position:0% 0%}
.hw-first-person{background:#0c110e;border:1px solid #685c42;overflow:hidden}.hw-first-person header small{font-size:10px;letter-spacing:2px;color:#a6b39b}.hw-first-person h3{margin:6px 0;color:#eed19b}.hw-first-person header p{font-size:12px;color:#b8c4ac;margin:0 0 12px}
.hw-fp-interact{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.hw-fp-interact .btn{flex:1 1 180px;white-space:normal;min-height:46px;line-height:1.5}
.hw-fp-viewport{position:relative;isolation:isolate;width:100%;max-width:720px;aspect-ratio:4/3;margin:0 auto;background:#000;border:1px solid #58604d;border-radius:8px;overflow:hidden}.hw-fp-scene{position:absolute;inset:0;background-repeat:no-repeat;z-index:0}.hw-fp-darkness{position:absolute;inset:0;pointer-events:none;z-index:3;background:radial-gradient(ellipse 68% 75% at 50% 67%,transparent 28%,#0003 62%,#000c 100%)}.hw-fp-flashlight{position:absolute;inset:0;pointer-events:none;z-index:4;background:radial-gradient(ellipse 40% 32% at 50% 78%,#e8edc21c,transparent 85%);mix-blend-mode:screen}.hw-fp-lamp{position:absolute;bottom:10px;left:10px;right:10px;z-index:6;font-size:11px;color:#c0ccb0;text-align:center;text-shadow:0 1px 3px #000,0 1px 6px #000}.hw-fp-target{position:absolute;top:12px;left:12px;right:12px;z-index:5;padding:7px;background:#070b08b8;border:1px solid #7f704c;border-radius:4px;color:#f2d39a;text-align:center;font-size:13px}.hw-fp-target.is-boss{border-color:#a94d3f;color:#ffb7a2}
.hw-fp-viewport .hw-fp-enemy{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);width:78%;max-width:none;height:auto;margin:0;border:0;border-radius:0;box-shadow:none;mask-image:radial-gradient(ellipse,black 53%,transparent 73%);-webkit-mask-image:radial-gradient(ellipse,black 53%,transparent 73%)}.hw-fp-enemy.is-distant{width:51%;filter:brightness(.7)}.hw-fp-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.hw-fp-controls .btn{flex:1 1 140px;min-width:0;min-height:46px;white-space:normal;line-height:1.5}.hw-fp-caption{font-size:12px;line-height:1.6;color:#becbb1;margin:10px 0 0}.hw-plan{margin:14px 0;padding:12px;background:#101810;border:1px solid #4b5840;border-radius:7px}.hw-plan>summary{cursor:pointer;color:#e8d3a8;padding:5px 0 12px}.hw-depth-stock small{color:#bdc8b0;line-height:1.5}.hw-fp-viewport.is-walking .hw-fp-scene{animation:hw-fp-walk 1.1s ease-in-out infinite}.hw-fp-viewport.is-walking .hw-fp-flashlight{animation:hw-fp-light 1.6s ease-in-out infinite}.hw-fp-viewport.is-blast::after{content:'';position:absolute;inset:0;background:#ffc56a;z-index:7;pointer-events:none;animation:hw-fp-blast .5s ease-out both}
@keyframes hw-fp-walk{0%,100%{transform:scale(1.02) translateY(0)}50%{transform:scale(1.035) translateY(1%)}}@keyframes hw-fp-light{0%,100%{transform:translateX(-2%)}50%{transform:translateX(2%)}}@keyframes hw-fp-blast{0%{opacity:.65}100%{opacity:0}}
@media(max-width:650px){.hw-first-person{padding:11px}.hw-fp-viewport{aspect-ratio:1}.hw-fp-controls{gap:6px}.hw-fp-controls .btn{flex-basis:43%;padding:10px 7px}.hw-fp-lamp{font-size:10px;bottom:7px}.hw-plan{padding:7px}.hw-fp-target{font-size:12px;top:8px;left:8px;right:8px}}
@media(prefers-reduced-motion:reduce){.hw-fp-viewport.is-walking .hw-fp-scene,.hw-fp-viewport.is-walking .hw-fp-flashlight{animation:none}.hw-fp-viewport.is-blast::after{display:none}}
.hw-depth-cell.wall::after{background:#a2a9a17a;box-shadow:inset 0 0 0 1px #424a42,inset 0 2px 2px #dbe1d02b}
.hw-depth-cell .hw-icon{position:relative;z-index:3;width:100%;height:100%;margin:0;filter:drop-shadow(0 1px 2px #000);stroke-width:2.3}.hw-depth-cell.self .hw-icon{color:#e5ffad}.hw-depth-cell:not(:disabled):hover{outline:2px solid #d8fa9c;outline-offset:-2px;z-index:4}
.hw-depth-prop{position:absolute;inset:0;z-index:1;background-image:url('/img/halloween/2026/bunker-atlas.jpg?v=1');background-size:400% 400%;background-position:var(--prop-x) var(--prop-y);pointer-events:none}.hw-map-scroll.is-zoomed .hw-depth-map{min-width:900px}
.hw-depth-stock{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:14px}.hw-depth-stock article{display:flex;flex-direction:column;align-items:center;gap:8px;border:1px solid #4c5d43;border-radius:7px;padding:9px;background:#192117;font-size:12px;text-align:center}.hw-depth-stock .btn{margin-top:auto;width:100%}.hw-depth-item{display:block;width:100%;max-width:120px;aspect-ratio:1;background-image:url('/img/halloween/2026/depths/supplies.jpg');background-size:400% 200%;background-position:var(--item-x) var(--item-y);border-radius:6px}
.hw-invasion{border:1px solid #947247;background:linear-gradient(140deg,#25271b,#111914);padding:14px;border-radius:10px;margin:12px 0;color:#e0e8d3}.hw-invasion h3{color:#f0ce93}.hw-invasion .hw-enemy-strip{width:min(100%,260px)}.hw-invasion-body{display:grid;grid-template-columns:minmax(0,280px) minmax(0,1fr);gap:18px;align-items:center}.hw-invasion-stats{display:flex;gap:9px;flex-wrap:wrap;font-size:12px;color:#d1dbbe}.hw-invasion .btn{min-height:44px;white-space:normal;line-height:1.5}.hw-invasion-result{border-top:1px solid #596341;padding-top:10px;margin-top:14px}.hw-invasion-result .hw-enemy-strip{max-width:200px}.hw-invasion-warning{padding:10px;background:#5c40252f;border:1px solid #96794d;border-radius:6px;line-height:1.6}
@media(max-width:650px){.hw-depth-floors{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.hw-depth-floors li{padding:5px;font-size:10px}.hw-depth-floors li span{display:none}.hw-depth-floors .current span{display:block;overflow-wrap:anywhere}.hw-depth-stock{grid-template-columns:repeat(2,minmax(0,1fr))}.hw-invasion-body{grid-template-columns:1fr;gap:8px}.hw-depth-stock article:last-child{grid-column:1/-1}.hw-map.hw-depth-map{border-width:2px}.hw-depth>.hw-story-clue{font-size:12px}}
.hw-admin-seals .hw-admin-row label{min-width:0}
.hw-admin-seals input{box-sizing:border-box;max-width:100%;width:100%}
.hw-admin-seals #hw-grant-status{min-height:1.5em;margin:10px 0;line-height:1.5;color:#cfe8a4;overflow-wrap:anywhere}
.hw-supply .hw-supply-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.hw-supply-options>div{min-width:0}.hw-supply .hw-supply-options .btn{width:100%;min-width:0;white-space:normal}.hw-supply-options small{overflow-wrap:anywhere}@media(max-width:480px){.hw-supply .hw-supply-options{grid-template-columns:1fr}}
.hw-opening-exchange .hw-opening-grid{grid-template-columns:minmax(0,1fr);width:min(100%,340px);margin-inline:auto}
.hw-opening-exchange .hw-opening-prize-art{height:150px;height:clamp(125px,20dvh,180px)}
.hw-opening-exchange .hw-opening-prize h3{font-size:15px}
