:root {
  --bg: #f3efe6;
  --panel: #fffdf8;
  --ink: #1f1c17;
  --muted: #6f685c;
  --line: #e4ddcd;
  --chip: #f1ece1;
  --accent: #d93a26;
  --accent-soft: #fde6e0;
  --money: #15803d;
  --money-soft: #e2f4e8;
  --gold: #b7791f;
  --shadow: 0 1px 2px rgba(40, 30, 10, .05), 0 10px 30px rgba(40, 30, 10, .07);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Heiti SC", sans-serif;
}
:root[data-theme="dark"] {
  --bg: #15130f; --panel: #1f1c17; --ink: #f1ece2; --muted: #a39b8c; --line: #353027; --chip: #2a261f;
  --accent: #ff6a4f; --accent-soft: #3a211b; --money: #4fd18b; --money-soft: #16301f; --gold: #f0b54a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .3);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15130f;
    --panel: #1f1c17;
    --ink: #f1ece2;
    --muted: #a39b8c;
    --line: #353027;
    --chip: #2a261f;
    --accent: #ff6a4f;
    --accent-soft: #3a211b;
    --money: #4fd18b;
    --money-soft: #16301f;
    --gold: #f0b54a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .3);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; }
kbd {
  font: 600 11px/1 var(--font);
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
  color: var(--muted);
}

/* ---------- 頁首 ---------- */
.top, .tip-wrap, .wrap, .foot { max-width: 1100px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.top { padding-top: 28px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo { font-size: 36px; line-height: 1; }
.brand h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: .01em; }
.brand p { margin: 0; font-size: 14px; color: var(--muted); }

.tip {
  margin-top: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px;
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: 12px;
  font-size: 14px;
}
.icon-btn {
  border: 0; background: transparent; cursor: pointer;
  font-size: 18px; line-height: 1; padding: 6px; border-radius: 8px;
}
.icon-btn:hover { background: var(--chip); }

/* ---------- 版面 ---------- */
.wrap {
  margin-top: 16px; margin-bottom: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px;
}

/* ---------- 計算區 ---------- */
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 800;
  background: var(--chip); color: var(--ink);
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill[data-ph="work"], .pill[data-ph="leavePaid"] { background: var(--money-soft); color: var(--money); }
.pill[data-ph="overtime"], .pill[data-ph="leaveUnpaid"] { background: var(--accent-soft); color: var(--accent); }
.pill[data-ph="lunch"], .pill[data-ph="weekend"] { color: var(--gold); }
.pill[data-ph="work"]::before, .pill[data-ph="overtime"]::before { animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.countdown { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; }

.meter { margin-top: 12px; padding: 14px 16px; border-radius: 14px; }
.meter.me { background: var(--money-soft); }
.meter.boss { background: var(--accent-soft); }
.mlabel { font-size: 14px; font-weight: 700; color: var(--muted); }
.mlabel small { font-weight: 500; }
.amt {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  margin-top: 2px;
  font-weight: 800; line-height: 1.15;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.me .amt { color: var(--money); font-size: clamp(30px, 4.3vw, 44px); }
.boss .amt { color: var(--accent); font-size: clamp(24px, 3.2vw, 32px); }
.cur { font-size: .48em; font-weight: 700; opacity: .8; }
.sub { margin-top: 4px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

.rates { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rates div { background: var(--chip); border-radius: 12px; padding: 8px 10px; min-width: 0; }
.rates span { display: block; font-size: 12px; color: var(--muted); }
.rates b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.mode-card {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 4px solid var(--accent);
  background: var(--chip);
  border-radius: 4px 12px 12px 4px;
}
.mode-card .tag { font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: .05em; }
.mode-card p { margin: 2px 0 0; font-weight: 800; font-size: 16px; }

.actions { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--chip);
  font-weight: 800; font-size: 14px;
  cursor: pointer;
  transition: transform .08s, background .15s;
}
.btn:hover { background: var(--line); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--ink); color: var(--panel); border-color: transparent; }
.btn.primary:hover { opacity: .9; }
.btn.on { background: var(--accent); color: #fff; border-color: transparent; }
.btn.small { padding: 6px 10px; font-size: 13px; white-space: nowrap; flex: none; }
.btn.wide { grid-column: 1 / -1; }
.btn.soft { opacity: .6; }
.info-line {
  margin-top: 8px; padding: 8px 12px;
  font-size: 13px; font-weight: 600;
  border-radius: 10px; background: var(--chip);
  font-variant-numeric: tabular-nums;
}

/* ---------- 設定 ---------- */
.settings { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.settings summary { cursor: pointer; font-weight: 800; list-style: none; padding: 4px 0; }
.settings summary::-webkit-details-marker { display: none; }
.settings summary::after { content: "▾"; float: right; color: var(--muted); }
.settings[open] summary::after { content: "▴"; }
.settings summary small { font-weight: 500; color: var(--muted); }
.field { display: block; margin-top: 14px; }
.flabel { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.note { font-size: 12px; color: var(--muted); font-weight: 500; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row.tight { flex-wrap: nowrap; }
.row > input { flex: 1 1 140px; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.dash { color: var(--muted); font-size: 13px; flex: none; }
input[type="number"], input[type="time"] {
  font: inherit; font-size: 15px;
  width: 100%; min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel); color: var(--ink);
}
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.seg { display: inline-flex; background: var(--chip); border-radius: 10px; padding: 3px; flex: none; }
.seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 14px; }
.seg button { transition: background .15s, color .15s; }
.seg button:hover { background: var(--line); }
.seg button.on { background: var(--accent); color: #fff; box-shadow: 0 2px 6px rgba(217, 58, 38, .35); }
.tsel { display: flex; align-items: center; gap: 4px; min-width: 0; }
.tsel select {
  font: inherit; font-size: 15px;
  min-width: 0; flex: 1 1 auto;
  padding: 8px 6px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel); color: var(--ink);
  cursor: pointer;
}
.tsel select.ap { flex: 0 0 auto; font-weight: 700; }
.tsel select.hh, .tsel select.mm { min-width: 3.9em; }
.row > .tsel { flex: 1 1 200px; }
.tsel .colon { color: var(--muted); font-weight: 700; }
.tsel select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.chip {
  border: 1px solid var(--line); background: var(--chip);
  border-radius: 999px; padding: 4px 11px;
  font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.chip.on { background: var(--ink); color: var(--panel); border-color: transparent; }
.switch { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; cursor: pointer; }
.switch input { width: 18px; height: 18px; accent-color: var(--accent); }
.link-btn { margin-top: 16px; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13px; padding: 0; }

/* ---------- 打老闆 ---------- */
.arena-head { display: flex; align-items: center; justify-content: space-between; }
.arena-head .flabel { margin: 0; font-size: 15px; }
.weapons { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 8px 0 12px; }
.wbtn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 2px 6px;
  border: 2px solid var(--line); border-radius: 12px;
  background: var(--chip);
  font-size: 13px; font-weight: 800; cursor: pointer;
  transition: transform .1s, border-color .15s;
}
.wbtn svg { width: 38px; height: 38px; }
.wbtn:hover { transform: translateY(-2px); }
.wbtn.on { border-color: var(--accent); background: var(--accent-soft); }
.wbtn:disabled { opacity: .35; cursor: not-allowed; transform: none; }

.arena {
  position: relative;
  height: 440px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 0 78.5%, #8a6a45 78.5% 80%, transparent 80%),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(90, 60, 30, .18) 58px 60px) 0 80% / 100% 20% no-repeat,
    linear-gradient(180deg, #c9ab7e 80%, #b89668 100%) 0 100% / 100% 20% no-repeat,
    repeating-linear-gradient(90deg, #efe6d2 0 22px, #ebe1cb 22px 44px);
  user-select: none; -webkit-user-select: none;
  touch-action: manipulation;
  cursor: pointer;
}
.arena.armed { cursor: none; }
.arena.leave { filter: saturate(.75); }
.deco { position: absolute; pointer-events: none; color: #5b4a32; }
.window {
  top: 44px; left: 50%; transform: translateX(-50%);
  width: 52%; height: 128px;
  border: 7px solid #fffaf0; outline: 2px solid #b9a888;
  box-shadow: inset 0 0 0 2px #b9a888, 0 4px 10px rgba(0,0,0,.08);
  overflow: hidden;
}
.window svg { width: 100%; height: 100%; display: block; }
.window::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent calc(50% - 3px), #fffaf0 calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px)); }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 3; }
.ptc { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform, opacity; }
.burst { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 6; }
.burst svg { width: 100%; height: 100%; display: block; }
.plaque {
  top: 14px; left: 14px;
  padding: 4px 12px;
  background: linear-gradient(#a8743f, #7d5228);
  color: #fbe7c2; font-weight: 800; font-size: 13px; letter-spacing: .2em;
  border-radius: 4px; box-shadow: 0 2px 0 #5e3b19;
}
.frame {
  top: 14px; right: 14px;
  display: flex; flex-direction: column; align-items: center;
  padding: 6px 10px;
  background: #fffaf0; border: 4px solid #b8913f;
  font-size: 12px; line-height: 1.3;
  box-shadow: 0 2px 4px rgba(0,0,0,.12);
}
.frame small { font-size: 10px; color: #8a7a60; }
.scroll {
  top: 70px; left: 22px;
  writing-mode: vertical-rl;
  padding: 10px 5px;
  background: #fbf4e2; border-top: 5px solid #6b4a24; border-bottom: 5px solid #6b4a24;
  font-size: 20px; font-weight: 900; letter-spacing: .3em; color: #222;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
}
#boss-svg {
  position: absolute; left: 50%; bottom: 6px;
  height: 400px; width: auto; aspect-ratio: 300 / 380;
  transform: translateX(-50%);
  overflow: visible;
}
#boss { transform-box: fill-box; transform-origin: 50% 100%; }
#boss-idle { transform-box: fill-box; transform-origin: 50% 100%; animation: breathe 3.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.014, .986); } }
#eyes, #boss-shadow, #cheek-l, #cheek-r { transform-box: fill-box; transform-origin: 50% 50%; }
#boss-head { transform-box: fill-box; transform-origin: 50% 92%; }
#boss-body { transform-box: fill-box; transform-origin: 50% 100%; }
#stars .spin { transform-box: view-box; transform-origin: 150px 40px; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.fx { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.fx-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.proj { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; }
.proj svg { width: 100%; height: 100%; display: block; }
.weapon-cursor { position: absolute; left: 0; top: 0; width: 80px; height: 80px; pointer-events: none; z-index: 6; display: none; will-change: transform; }
.weapon-cursor .w { width: 100%; height: 100%; }
.weapon-cursor svg { width: 100%; height: 100%; display: block; filter: drop-shadow(2px 3px 2px rgba(0,0,0,.25)); }

.pop {
  position: absolute; pointer-events: none; z-index: 7;
  font-weight: 900; white-space: nowrap;
  color: #fff;
  text-shadow: -2px -2px 0 #1f1c17, 2px -2px 0 #1f1c17, -2px 2px 0 #1f1c17, 2px 2px 0 #1f1c17, 0 3px 0 #1f1c17;
}
.pop.big { font-size: 30px; color: #ffd43b; }
.pop.huge { font-size: 40px; color: #ff5a3c; }
.pop.tiny { font-size: 16px; color: #fff; }
.pop.miss { font-size: 18px; color: #fff; }

.bubble {
  position: absolute; z-index: 8;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: max-content; max-width: 78%;
  padding: 10px 14px;
  background: #fff; color: #1f1c17;
  border: 3px solid #1f1c17; border-radius: 16px;
  box-shadow: 4px 4px 0 #1f1c17;
  font-weight: 800; font-size: 16px; line-height: 1.4; text-align: center;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.bubble.show { opacity: 1; }
.bubble.card { background: #fff5c2; font-size: 17px; }
.bubble.card::before { content: "老闆語錄"; display: block; font-size: 11px; color: #d93a26; letter-spacing: .1em; }
.bubble.mercy { background: #e3f6e9; }
.bubble.mercy::before { content: "老闆求饒"; color: #15803d; }
.bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -14px;
  width: 18px; height: 18px; background: inherit;
  border-right: 3px solid #1f1c17; border-bottom: 3px solid #1f1c17;
  transform: translateX(-50%) rotate(45deg);
}
.arena-hint {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  padding: 4px 12px; border-radius: 999px;
  background: rgba(31, 28, 23, .78); color: #fff;
  font-size: 13px; font-weight: 700; white-space: nowrap;
  pointer-events: none; z-index: 5;
}
.arena.armed .arena-hint, .arena.leave .arena-hint { display: none; }
.arena-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 90;
  left: 50%; bottom: 20px;
  width: min(440px, calc(100% - 32px));
  transform: translate(-50%, 160%);
  padding: 14px 16px;
  background: var(--ink); color: var(--panel);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.2);
}
.toast.show { transform: translate(-50%, 0); }
.toast .tag { font-size: 12px; font-weight: 800; color: var(--accent); }
.toast p { margin: 2px 0 0; font-weight: 800; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 70;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, .5);
}
.modal-box {
  width: 100%; max-width: 440px;
  max-height: calc(100vh - 32px); overflow: auto;
  background: var(--panel);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.modal-box h3 { margin: 0 0 6px; font-size: 20px; }
.leave-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.btn.big { flex-direction: column; padding: 16px 10px; font-size: 17px; }
.btn.big small { font-size: 12px; font-weight: 500; color: var(--muted); }
.share-box { max-width: 520px; }
.share-box img { width: 100%; aspect-ratio: 1; border-radius: 12px; display: block; margin: 10px 0 4px; background: #1c1a17; }
.share-title { margin-top: 14px; }
.share-apps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.app {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 2px; border: 0; border-radius: 12px; background: transparent;
  font-size: 12px; font-weight: 700; cursor: pointer;
  color: inherit; text-decoration: none; font-family: inherit;
}
.app:hover { background: var(--chip); }
.app i {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-style: normal; font-weight: 900; font-size: 15px; letter-spacing: -.02em;
}
.app[data-app="line"] i { font-size: 11px; }
.share-row { margin-top: 12px; }
.share-row .btn { flex: 1 1 calc(50% - 8px); }

/* ---------- 假 Excel ---------- */
.excel {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column;
  background: #fff; color: #222;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
}
.xl-title { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; background: #217346; color: #fff; flex: none; }
.xl-logo { width: 20px; height: 20px; display: grid; place-items: center; background: #fff; color: #217346; font-weight: 900; border-radius: 3px; font-size: 13px; }
.xl-name { flex: 1; text-align: center; font-size: 13px; }
.xl-close { cursor: pointer; padding: 4px 10px; }
.xl-close:hover { background: #c42b1c; }
.xl-ribbon { display: flex; gap: 2px; padding: 0 8px; background: #217346; color: #e5f1ea; flex: none; }
.xl-ribbon span { padding: 6px 12px; }
.xl-ribbon span.on { background: #f3f3f3; color: #217346; border-radius: 4px 4px 0 0; font-weight: 600; }
.xl-tools { display: flex; gap: 4px; height: 72px; padding: 6px 8px; background: #f3f3f3; border-bottom: 1px solid #d4d4d4; flex: none; overflow: hidden; }
.xl-group { position: relative; display: flex; align-items: flex-start; gap: 6px; padding: 4px 12px 18px; border-right: 1px solid #d9d9d9; }
.xl-group i { width: 22px; height: 22px; background: #dcdcdc; border-radius: 3px; display: block; }
.xl-group b { padding: 2px 8px; background: #fff; border: 1px solid #c8c8c8; font-weight: 400; font-size: 12px; }
.xl-group small { position: absolute; bottom: 2px; left: 0; right: 0; text-align: center; color: #666; font-size: 11px; }
.xl-formula { display: flex; align-items: center; gap: 10px; height: 28px; padding: 0 8px; border-bottom: 1px solid #d4d4d4; flex: none; }
.xl-cell { width: 70px; padding: 2px 6px; border: 1px solid #c8c8c8; }
.xl-fx { color: #888; font-style: italic; }
.xl-grid { flex: 1; overflow: auto; }
.xl-grid table { border-collapse: collapse; table-layout: fixed; }
.xl-grid th { position: sticky; top: 0; background: #f0f0f0; color: #555; font-weight: 400; border: 1px solid #d4d4d4; height: 22px; min-width: 92px; }
.xl-grid th.rh, .xl-grid td.rh { position: sticky; left: 0; min-width: 40px; width: 40px; background: #f0f0f0; color: #555; text-align: center; border: 1px solid #d4d4d4; }
.xl-grid th.rh { z-index: 2; }
.xl-grid td { border: 1px solid #e3e3e3; height: 22px; padding: 0 6px; white-space: nowrap; overflow: hidden; }
.xl-grid td.num { text-align: right; }
.xl-grid tr.hd td:not(.rh) { font-weight: 700; background: #e2efda; }
.xl-grid td.sel { outline: 2px solid #217346; outline-offset: -2px; }
.xl-grid td.neg { color: #c00000; }
.xl-sheets { display: flex; gap: 2px; align-items: center; height: 30px; padding: 0 8px; background: #f3f3f3; border-top: 1px solid #d4d4d4; flex: none; }
.xl-sheets span { padding: 4px 14px; color: #444; }
.xl-sheets span.on { background: #fff; color: #217346; font-weight: 600; border-bottom: 2px solid #217346; }
.xl-sheets em { margin-left: auto; font-style: normal; color: #666; }

/* ---------- 頁尾 ---------- */
.foot { padding-bottom: 28px; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- 手機 ---------- */
@media (max-width: 860px) {
  .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .top, .tip-wrap, .wrap, .foot { padding-left: 16px; padding-right: 16px; }
  .panel { padding: 16px; }
  .arena { height: 400px; }
  #boss-svg { height: 360px; }
  .scroll { display: none; }
  .weapons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .window { width: 64%; }
  .share-apps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rates { grid-template-columns: minmax(0, 1fr); }
  .actions { grid-template-columns: minmax(0, 1fr); }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .leave-opts { grid-template-columns: minmax(0, 1fr); }
}
