/* «Тихая охота»: the field and its HUD, on the meadow page and on the standalone one */
.shroom { --sh-panel: #efe6d0; --sh-alt: #d6c9aa; --sh-ink: #26301f; --sh-soft: #485240; --sh-gold: #d49d36; --sh-berry: #b4473c; --sh-lake: #3d6a86; --sh-line: #b5a888;
  position: fixed; inset: 0; z-index: 20; overflow: hidden; background: #a8bb82; color: var(--sh-ink); font: 15px Nunito, system-ui, sans-serif; }
.shroom.hidden { display: none; }
.shroom.three { background: none; } /* the 3D field is drawn on the meadow's canvas underneath */
.sh-field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* compact felt-and-paper HUD after the lobby's art; the middle of the field stays clear */
.sh-panel { position: absolute; background: var(--sh-panel); border-radius: 12px; box-shadow: 0 3px 8px #0004; }
.sh-top { top: 8px; left: 50%; transform: translateX(-50%); padding: 4px 16px 3px; display: grid; grid-template-columns: auto auto auto; gap: 2px 10px; align-items: center;
  background: #3f5a32; color: #fbf3dc; outline: 1.5px dashed #8aa070; outline-offset: -4px; font-weight: 800; }
.sh-lvl, .sh-clock { font-size: 17px; font-variant-numeric: tabular-nums; }
.sh-kills { font-variant-numeric: tabular-nums; }
.sh-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: #263a1ecc; overflow: hidden; box-shadow: 0 -1px 0 #0004; }
.sh-bar i { display: block; height: 100%; width: 0; background: linear-gradient(#f6dc78, #d9a535); transition: width .15s; }
.sh-boss { grid-column: 1 / -1; text-align: center; font-size: 12px; font-weight: 700; color: #e9dcb4; }
.sh-team { top: 8px; left: 8px; padding: 6px; display: grid; gap: 3px; width: 168px; font-size: 13px; background: #efe6d0e6; }
.sh-team .mate { display: grid; grid-template-columns: 30px 1fr auto; grid-template-rows: auto 6px; column-gap: 6px; align-items: center; }
.sh-team img, .sh-team .mate > i { grid-row: 1 / 3; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: #6e8a58; border: 2px solid #fff8e8; }
.sh-team b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-team span { font-size: 11px; color: var(--sh-soft); font-weight: 800; }
.sh-team .hp { grid-column: 2 / 4; height: 6px; background: var(--sh-alt); border-radius: 3px; overflow: hidden; }
.sh-team .hp i { display: block; height: 100%; background: var(--sh-berry); }
.sh-team .out { opacity: .55; filter: grayscale(.8); }
.sh-kit { bottom: 16px; left: 50%; transform: translateX(-50%); padding: 5px 8px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: center; max-width: calc(100% - 24px);
  background: #3f5a32; outline: 1.5px dashed #8aa070; outline-offset: -4px; font-size: 12px; }
.sh-kit span { position: relative; display: block; }
.sh-kit img { width: 40px; height: 40px; display: block; border-radius: 50%; }
.sh-kit .t img { width: 32px; height: 32px; }
.sh-kit span > b { position: absolute; right: -3px; bottom: -3px; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 8px; background: #fbf3dc; color: #26301f; font: 900 11px/16px Nunito, sans-serif; text-align: center; box-shadow: 0 1px 2px #0005; }
.sh-kit .evo > b { background: #f0cf5e; }
.sh-kit .evo img { box-shadow: 0 0 0 2px #f0cf5e, 0 0 10px #f3d66a; }
.sh-kit:empty, .sh-bag:empty, .sh-gifts:empty { display: none; }
.sh-bag { top: 50%; right: 8px; transform: translateY(-50%); padding: 6px; display: grid; gap: 5px; width: 150px; background: #efe6d0e6; }
.sh-bag .it { display: grid; grid-template-columns: 34px 1fr; gap: 6px; align-items: center; font-size: 12px; font-weight: 800; line-height: 1.1; }
.sh-bag .it img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 2px var(--r), 0 0 8px var(--r); }
.sh-bag em { font-style: normal; }
.sh-gifts { position: absolute; left: 8px; bottom: 16px; display: grid; gap: 4px; justify-items: start; max-width: 190px; }
.sh-gifts .g { padding: 3px 9px; border-radius: 10px; background: #fbf3dc; color: #26301f; font-size: 12px; font-weight: 800; box-shadow: inset 0 0 0 1.5px var(--sh-gold), 0 2px 4px #0003; }
.sh-loot { min-width: 0; overflow-wrap: anywhere; padding: 8px; border-radius: 12px; background: var(--sh-panel); color: var(--sh-ink); border: 2px solid var(--r); font-size: 13px; line-height: 1.25; }
.sh-loot[hidden] { display: none; }
.sh-loot img { float: left; width: 28px; height: 28px; margin: 2px 8px 4px 0; border-radius: 50%; box-shadow: 0 0 0 2px var(--r); }
.sh-loot .sh-loot-info { min-height: 34px; }
.sh-loot small { display: block; font-size: 13px; font-weight: 800; }
.sh-loot b { display: block; font-size: 15px; line-height: 1.1; }
.sh-loot > span { display: block; clear: both; margin-top: 4px; color: var(--sh-soft); }
.sh-loot .sh-loot-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.sh-loot button { position: relative; min-width: 0; min-height: 44px; padding: 6px 22px 6px 6px; font: 800 13px/1.25 Nunito, sans-serif; text-align: left; border: 1px dashed var(--sh-line); border-radius: 8px; background: var(--sh-alt); color: var(--sh-ink); cursor: pointer; }
.sh-loot button .k { position: absolute; top: 5px; right: 5px; padding: 0 3px; border-radius: 4px; background: var(--sh-ink); color: var(--sh-panel); }
.sh-loot button:hover { border-color: var(--sh-gold); }
.sh-loot button:active, .sh-bag .it:active { transform: translateY(2px); }
.sh-loot button:focus-visible { outline: 3px solid var(--sh-gold); outline-offset: 1px; }
.sh-cards { bottom: 70px; left: 50%; transform: translateX(-50%); display: none; gap: 12px; padding: 0; width: min(600px, calc(100% - 24px)); background: none; box-shadow: none; }
.sh-cards.on { display: grid; grid-template-columns: repeat(3, 1fr); }
.sh-cards button { position: relative; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto 1fr; column-gap: 8px; align-items: center; font: inherit; font-size: 13px; text-align: left;
  padding: 12px 10px 8px; border-radius: 8px; border: 2px dashed #dccfae; outline: 4px solid #fbf5e4; background: #fbf5e4; color: var(--sh-ink); cursor: pointer; box-shadow: 0 4px 10px #0005; }
.sh-cards button::before { content: ''; position: absolute; top: -9px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #b98652, #5e3b1f 70%); }
.sh-cards button:hover, .sh-cards button:focus-visible { border-color: var(--sh-gold); transform: translateY(-2px); }
.sh-cards button > img, .sh-cards button > i { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 50%; font: normal 26px/44px sans-serif; text-align: center; background: #efe4c8; }
.sh-cards b { font-size: 16px; line-height: 1.1; }
.sh-cards small { color: var(--sh-soft); font-weight: 700; }
.sh-cards .a { grid-column: 1 / -1; margin-top: 6px; padding-top: 5px; border-top: 1px dashed #dccfae; font-weight: 700; text-align: center; }
.sh-cards .k { position: absolute; top: 6px; right: 8px; width: 18px; height: 18px; border-radius: 4px; background: #3f5a32; color: #fbf3dc; font: 900 12px/18px Nunito, sans-serif; text-align: center; }
.sh-cards p { grid-column: 1 / -1; margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; font-size: 13px; font-weight: 800; color: #fff; text-shadow: 0 1px 3px #000a; text-align: center; }
.sh-cards p > span:first-child { flex-basis: 100%; }
.sh-cards p button { display: inline-block; min-width: 44px; min-height: 44px; padding: 4px 8px; font-size: 13px; outline: none; }
.sh-cards p button::before { display: none; }
.sh-cards p button:disabled { cursor: default; opacity: .5; }
.sh-cards p button[aria-pressed="true"] { outline: 3px solid var(--sh-gold); }
@media (max-width: 599px) { .sh-cards p .sh-unpaused { display: none; } }
.sh-exit { position: absolute; z-index: 4; top: 8px; right: 8px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 12px; background: #3f5a32; color: #fbf3dc; outline: 1.5px dashed #8aa070; outline-offset: -4px;
  box-shadow: 0 3px 8px #0004; font: 800 14px Nunito, sans-serif; cursor: pointer; }
.sh-exit kbd { margin-left: 4px; padding: 0 4px; border: 1.5px solid currentColor; border-radius: 4px; font: 800 11px Nunito, sans-serif; }
.sh-toast { position: absolute; top: 70px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); font: 600 24px Caveat, cursive; color: #fff; text-shadow: 0 2px 4px #0008; pointer-events: none; text-align: center; }
@media (max-width: 640px) { .sh-top { top: 56px; } .sh-team { top: auto; bottom: 64px; width: 140px; } .sh-cards.on { grid-template-columns: 1fr; bottom: 64px; } .sh-cards button { padding: 8px; }
  .sh-kit img { width: 32px; height: 32px; } .sh-kit .t img { width: 26px; height: 26px; } }
.sh-leaves { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 10000; }
/* The lobby: felt and paper (shroom-ui/*.webp), opened from the games drawer */
.sh-lobby { position: fixed; inset: 0; z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 12px; background: radial-gradient(ellipse at center, #10180c55, #0a1008c0); font: 16px Nunito, system-ui, sans-serif; color: #26301f; }
.sh-lobby.hidden { display: none; }
.sh-stand { position: relative; width: min(1100px, 100%, 150vh); max-height: calc(100vh - 24px); display: flex; }
.sh-stand::before, .sh-stand::after { content: ''; position: absolute; top: -4%; bottom: -12%; width: 6%; background: url(shroom-ui/post.webp) center / 100% 100% no-repeat; filter: drop-shadow(0 8px 10px #0008); }
.sh-stand::before { left: 2%; } .sh-stand::after { right: 2%; }
.sh-board { position: relative; z-index: 1; flex: 1; min-width: 0; overflow: hidden auto; padding: 4px 30px 2px; text-align: center;
  border: 64px solid transparent; border-image: url(shroom-ui/board.webp) 104 fill / 64px stretch; filter: drop-shadow(0 16px 26px #000b); scrollbar-width: thin; }
.sh-board h2 { margin: -18px 0 0; display: flex; justify-content: center; align-items: center; gap: 18px; font: 700 clamp(48px, 7vw, 92px)/1 Caveat, cursive; color: #22361b; }
.sh-sub { margin: 2px 0 18px; color: #2f3a27; font-weight: 800; font-size: 19px; }
/* auto-fit + centring: a lone hunter's card and the free-places card sit in the middle, not in the left corner */
.sh-seats { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 200px)); justify-content: center; gap: 16px; }
.sh-seat { position: relative; min-height: 150px; display: grid; justify-items: center; align-content: center; gap: 6px; padding: 22px 8px 12px;
  border-radius: 8px; background: #fbf5e4; border: 2px dashed #dccfae; outline: 6px solid #fbf5e4; box-shadow: 0 4px 10px #0003; margin: 6px; }
.sh-seat::before { content: ''; position: absolute; top: -4px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #b98652, #5e3b1f 70%); box-shadow: 0 2px 2px #0005; }
.sh-seat.free { background: #f3ead2; outline-color: #f3ead2; box-shadow: 0 2px 5px #0002; color: #7e7458; }
.sh-seat.free i { width: 84px; height: 84px; background: url(shroom-ui/empty.webp) center / contain no-repeat; }
.sh-seat.me { box-shadow: 0 0 0 9px #e2b65a, 0 4px 10px #0003; }
.sh-seat .face { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #8fae6e, #4e6b3c); border: 4px solid #fff8e8; box-shadow: 0 3px 8px #0004; }
/* avatars are framed differently (a whole fox, a bunny's face), so only a light zoom fits them all */
.sh-seat .face img { width: 124%; margin: -4% 0 0 -12%; display: block; }
.sh-seat b { font-weight: 800; font-size: 22px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-seat small { display: flex; align-items: center; gap: 6px; color: #2f3a27; font-weight: 700; font-size: 16px; }
.sh-seat small img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 1px 3px #0003; }
.sh-weapons { display: grid; grid-template-columns: repeat(6, minmax(0, 96px)); justify-content: center; gap: 12px 14px; margin: 18px 0 8px; }
.sh-weapons button { min-width: 0; width: 100%; display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #2f3a27; font: 800 14px var(--font); cursor: pointer; overflow-wrap: anywhere; }
.sh-weapons button img { width: 64px; height: 64px; display: block; border-radius: 50%; background: #6e4f2c; box-shadow: 0 0 0 3px #6e4f2c, 0 5px 10px #0005; transition: transform .12s; }
.sh-weapons button:hover img { transform: translateY(-2px); }
.sh-weapons button.on { color: #22361b; }
.sh-weapons button.on img { transform: translateY(-4px) scale(1.14); box-shadow: 0 0 0 4px #3f5a32, 0 0 0 7px #f0cf5e, 0 0 26px 6px #f3d66a; }
.sh-weapons button:focus-visible, .sh-go:focus-visible { outline: 3px solid #3d6a86; outline-offset: 5px; }
.sh-about { min-height: 1.3em; margin: 10px 0 16px; font-weight: 800; font-size: 24px; color: #22301c; }
.sh-opts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-weight: 800; color: #2f3a27; }
.sh-opts span { display: inline-flex; align-items: center; gap: 4px; }
.sh-opts button { min-width: 40px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: #e6d9b8; color: #2f3a27; font: 800 15px var(--font); cursor: pointer; box-shadow: inset 0 0 0 1.5px #b5a888; }
.sh-opts button.on { background: #3f5a32; color: #fbf3dc; box-shadow: inset 0 0 0 1.5px #f0cf5e; }
.sh-opts button:disabled { cursor: default; opacity: .7; }
.sh-opts button:focus-visible { outline: 3px solid #3d6a86; outline-offset: 3px; }
.sh-optabout { min-height: 1.3em; margin: 6px 0 12px; font-weight: 700; color: #485240; }
.sh-foot { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; }
.sh-go.felt { min-height: 64px; padding: 0 52px; --r: var(--r-lg); --inset: 6px; font-size: 32px; --drop: 0 8px 16px #0005; }
.sh-go.felt:disabled { opacity: 1; --c: #a49c84; cursor: default; }
.sh-go kbd { margin-left: 6px; padding: 0 8px; border: 2px solid currentColor; border-radius: 7px; background: none; color: inherit; font: 800 20px var(--font); }
.sh-solo.felt { min-height: 52px; font-size: 20px; }
.sh-solo[hidden] { display: none; }
.sh-solo kbd { margin-left: 6px; padding: 0 5px; border: 1.5px solid currentColor; border-radius: 5px; font: 800 13px Nunito, sans-serif; }
.sh-solo:focus-visible { outline: 3px solid #3d6a86; outline-offset: 3px; }
.sh-timer { padding: 10px 18px; border-radius: 14px; background: #f8f1df; border: 2px solid #ddd0ae; box-shadow: 0 2px 4px #0002; color: #2f3a27; font-weight: 700; }
.sh-timer b { margin-left: 6px; font-size: 24px; color: #22301c; }
.sh-board > small { display: block; margin-top: 14px; color: #3f3a2c; font-weight: 800; font-size: 15px; }
@media (max-width: 900px), (max-height: 700px) { .sh-board { border-width: 40px; border-image-width: 40px; padding: 0 8px; } .sh-seat { min-height: 150px; } .sh-seat .face, .sh-seat.free i { width: 76px; height: 76px; }
  .sh-weapons button { font-size: 12px; } .sh-weapons button img { width: 58px; height: 58px; } .sh-go.felt { font-size: 26px; min-height: 52px; padding: 0 36px; } .sh-about { font-size: 19px; } }
@media (max-width: 640px) { .sh-seats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .sh-board { border-width: 26px; border-image-width: 26px; } .sh-board h2 { gap: 6px; font-size: 40px; } .sh-sub { font-size: 15px; } .sh-weapons { gap: 8px; } .sh-stand::before, .sh-stand::after { display: none; } .sh-board h2 { margin-top: -6px; } }
@media (max-width: 640px) {
  .sh-weapons { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px; }
  .sh-weapons button { font-size: 10px; } .sh-weapons button img { width: 48px; height: 48px; }
  .sh-seat { min-height: 96px; padding-top: 14px; } .sh-seat .face, .sh-seat.free i { width: 48px; height: 48px; }
  .sh-seat b { font-size: 16px; } .sh-seat small { font-size: 12px; } .sh-seat small img { width: 24px; height: 24px; }
  .sh-sub { margin-bottom: 10px; } .sh-about { font-size: 16px; margin-bottom: 10px; }
}
@media (min-width: 600px) {
  .sh-lobby, .sh-lobby * { box-sizing: border-box; }
  .sh-stand { width: min(1100px, 100%); }
  .sh-board { overflow: visible; border-width: 24px; border-image-width: 24px; padding: 0 16px; }
  .sh-board h2 { margin: 0; font-size: 44px; line-height: 1; }
  .sh-sub { margin: 2px 0 4px; font-size: 15px; line-height: 18px; }
  .sh-seats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .sh-seat { min-height: 48px; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 6px; justify-items: start; padding: 6px; margin: 4px; }
  .sh-seat .face, .sh-seat.free i { grid-row: 1 / 3; width: 40px; height: 40px; }
  .sh-seat b { font-size: 16px; line-height: 18px; }
  .sh-seat small { min-width: 0; font-size: 13px; line-height: 16px; }
  .sh-seat small img { width: 20px; height: 20px; }
  .sh-seat.free b { grid-row: 1 / 3; white-space: normal; }
  .sh-seat:only-child { grid-column: 2 / 4; }
  .sh-weapons { grid-template-columns: repeat(6, minmax(0, 96px)); gap: 8px 12px; margin: 10px 0 4px; }
  .sh-weapons button { gap: 3px; font-size: 13px; line-height: 16px; }
  .sh-weapons button img { width: 44px; height: 44px; }
  .sh-about { margin: 4px 0; font-size: 17px; line-height: 20px; }
  .sh-opts { gap: 4px 12px; font-size: 14px; line-height: 18px; }
  .sh-opts button { padding: 0 8px; }
  .sh-optabout { margin: 4px 0; font-size: 13px; line-height: 18px; }
  .sh-foot { gap: 12px; }
  .sh-go.felt { min-height: 44px; padding: 0 28px; font-size: 24px; }
  .sh-solo.felt { min-height: 44px; font-size: 16px; }
  .sh-timer { padding: 6px 10px; }
  .sh-board > small { margin-top: 4px; font-size: 13px; line-height: 18px; }
}

/* The rail stays above the bottom choices on phones, beside them on desktop. */
.sh-inventory { position: absolute; z-index: 4; right: 8px; top: 106px; width: 300px; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.sh-inventory > * { pointer-events: auto; flex-shrink: 0; }
.sh-inventory.sh-obscured { visibility: hidden; pointer-events: none; }
.sh-inventory.sh-obscured > * { pointer-events: none; }
.sh-bag { position: static; transform: none; align-self: flex-end; grid-template-columns: repeat(3, 44px); width: auto; border-radius: 12px 0 0 12px; }
.sh-bag .it { grid-template-columns: 44px; min-width: 44px; min-height: 44px; }
.sh-bag .it img { width: 40px; height: 40px; margin: auto; }
.sh-gifts { left: 0; top: 50%; bottom: auto; transform: translateY(-50%); }
.sh-gifts .g { border-radius: 0 10px 10px 0; }
/* Hover compares; only a pending new find makes bag slots replacement targets. */
.sh-bag .it { position: relative; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.sh-bag .it:hover img, .sh-bag .it:focus-visible img { box-shadow: 0 0 0 3px var(--r), 0 0 14px var(--r); }
.sh-bag .it:focus-visible { outline: 3px solid var(--sh-gold); outline-offset: 2px; }
.sh-bag .it b { position: absolute; right: -4px; bottom: -3px; padding: 0 4px; border-radius: 8px; background: #3f5a32; color: #fbf3dc; font: 900 11px/16px Nunito, sans-serif; }
.sh-bag .it i { position: absolute; left: -5px; top: -5px; font: normal 14px/1 sans-serif; }
.sh-bag .it.replace { outline: 1px dashed var(--sh-line); }
.sh-bag .it.suggested { outline: 3px solid var(--sh-gold); outline-offset: 1px; }
.sh-loot em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; font-weight: 800; color: var(--sh-soft); }
/* the frozen wood asks in the middle: title, time running out, who we wait for, the cards */
.sh-pick { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; background: #26301f66; }
.sh-pick[hidden] { display: none; }
.sh-pickbox { position: relative; display: grid; gap: 10px; justify-items: center; width: min(640px, calc(100% - 32px)); padding: 16px; outline: 1.5px dashed var(--sh-line); outline-offset: -6px; }
.sh-pickbox h3 { margin: 0; font: 700 30px Caveat, cursive; }
.sh-time { width: 100%; height: 8px; border-radius: 4px; background: var(--sh-alt); overflow: hidden; }
.sh-time i { display: block; height: 100%; background: var(--sh-gold); }
.sh-wait { margin: 0; font-weight: 800; color: var(--sh-soft); }
.sh-pickbox .sh-cards { position: static; transform: none; width: 100%; }
.sh-pickbox .sh-cards p { color: var(--sh-soft); text-shadow: none; }
.sh-ready { min-height: 44px; padding: 0 22px; border: 0; border-radius: 12px; background: #3f5a32; color: #fbf3dc; font: 800 16px Nunito, sans-serif; cursor: pointer; box-shadow: 0 3px 8px #0004; }
.sh-ready[hidden] { display: none; }
.sh-ready kbd { margin-left: 6px; padding: 0 4px; border: 1.5px solid currentColor; border-radius: 4px; font: 800 11px Nunito, sans-serif; }
@media (max-width: 640px) { .sh-pickbox .sh-cards.on { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .sh-inventory { top: 110px; width: calc(100% - 16px); } .sh-bag { padding: 4px; gap: 3px; grid-template-columns: repeat(6, 44px); max-width: 100%; box-sizing: border-box; } }
@media (max-width: 599px) {
  .sh-top { top: 8px; height: 56px; grid-template-rows: 18px 14px; }
  .sh-toast { top: 72px; font-size: 22px; line-height: 26px; }
  .sh-team { top: 116px; bottom: auto; width: 128px; box-sizing: border-box; }
  .sh-team .mate { grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: 4px; }
  .sh-team img, .sh-team .mate > i { width: 20px; height: 20px; box-sizing: border-box; }
  .sh-inventory { top: 116px; width: calc(100% - 152px); }
  .sh-bag { grid-template-columns: repeat(3, 44px); }
  .sh-cards { gap: 8px; }
  .sh-cards button { box-sizing: border-box; height: 64px; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: 16px 14px 16px; padding: 6px 8px 6px 22px; }
  .sh-cards button > img, .sh-cards button > i { grid-row: 1 / 4; width: 40px; height: 40px; font-size: 24px; line-height: 40px; }
  .sh-cards b { font-size: 14px; line-height: 16px; }
  .sh-cards small { font-size: 13px; line-height: 14px; }
  .sh-cards .a { grid-column: 2; margin: 0; padding: 0; border: 0; font-size: 13px; line-height: 16px; text-align: left; }
  .sh-cards button > :is(b, small, .a) { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .sh-cards p { box-sizing: border-box; width: 100%; min-width: 0; font-size: 13px; line-height: 16px; white-space: normal; }
}
