:root {
  --bg: #efe8d8;
  --bg2: #e4dcc8;
  --card: #fbf7ee;
  --line: #cbb892;
  --text: #1c1712;
  --muted: #6b5e4e;
  --accent: #7a2e22;
  --accent-dim: #c4a06a;
  --warn: #8a6410;
  --bad: #9b2c2c;
  --ok: #6a4e14;
  --loss: #3d5270;
  --shadow: none;
  --radius: 4px;
  --nav-h: 52px;
  --sans: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: var(--sans); }
a { color: var(--accent); text-decoration: none; }
button, input, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.layout { display: grid; grid-template-columns: 1fr; min-height: 100vh; min-height: 100dvh; }
.side { display: none; background: #e6decc; border-right: 1px solid var(--line); padding: 22px 16px; }
.brand { font-size: 22px; font-weight: 800; letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; }
.brand span { display: block; }
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 6px; }
.brand-art { width: 72px; height: 40px; object-fit: cover; object-position: center; border-radius: 8px; flex: 0 0 auto; border: 1px solid var(--line); }
.nav { margin-top: 28px; display: grid; gap: 6px; }
.nav button { text-align: left; background: transparent; border: 0; color: var(--muted); padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.nav button.on, .nav button:hover { background: #ddd3bb; color: var(--text); }
.who { margin-top: 28px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.main {
  padding: 14px 14px calc(var(--nav-h) + 20px + env(safe-area-inset-bottom, 0px));
  min-width: 0;
}

.appbar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: -14px -14px 16px;
  padding: 12px 14px 14px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}
.appbar-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.appbar-art {
  width: 56px;
  height: 36px;
  object-fit: cover;
  object-position: 50% 42%;
  border-radius: 8px;
  border: 1px solid var(--line);
  flex: 0 0 auto;
  background: #e4dcc8;
}
.appbar-name { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.appbar-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: var(--muted); font-size: 12px; margin-top: 4px; line-height: 1.4; }
.appbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.appbar-actions .btn { padding: 8px 12px; font-size: 13px; }

.top { margin-bottom: 16px; }
h1 { margin: 0 0 6px; font-size: 22px; }
.sub { color: var(--muted); font-size: 13px; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dash-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.dash-cards.nums { margin-top: 12px; }
.dash-cards.now { grid-template-columns: 1fr 1fr; margin-top: 12px; }
.dash-cards.now .card.big { padding: 16px 14px; }
.dash-cards.now .card.big .v { font-size: 22px; }
.dash-cards.split { grid-template-columns: 1fr 1fr; margin-top: 12px; }
.dash-cards.split .card.big { padding: 16px 14px; }
.dash-cards.split .card.big .v { font-size: 22px; }
.dash-cards.split.info-grid,
.info-grid {
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.info-grid .card,
.info-grid .card.big {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 0 12px;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  padding: 12px 14px;
  background: transparent;
}
.info-grid .card.big:last-child { border-bottom: 0; }
.info-grid .card .k { grid-column: 1; margin: 0; }
.info-grid .card .v,
.info-grid .card.big .v {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  text-align: right;
  font-size: 20px;
  align-self: center;
}
.info-grid .card .h { grid-column: 1; margin-top: 2px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.card.big { padding: 20px 18px; }
.card .k { color: var(--muted); font-size: 12px; }
.card .v { font-size: 22px; font-weight: 800; margin-top: 8px; letter-spacing: -.03em; word-break: break-all; }
.card.big .v { font-size: 28px; }
.card .h { color: var(--muted); font-size: 12px; margin-top: 6px; }
.card .v.up { color: var(--ok); }
.card .v.down { color: var(--loss); }
.update-flag {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(217, 164, 65, .16);
  color: var(--warn);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  vertical-align: 4px;
}
.card .h.warn-line { color: var(--warn); font-weight: 700; }
.card .v .miss, .miss { color: var(--muted); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.section-title { margin: 22px 4px 4px; font-size: 16px; }
.card .split { color: var(--muted); font-weight: 600; margin: 0 4px; }
.status-card { margin-bottom: 12px; }
.card .v.eta-v { font-size: 18px; letter-spacing: -.02em; line-height: 1.25; }
.eta { color: var(--muted); font-size: 14px; margin: 14px 4px 0; }
.warn-note { background: #f3ead4; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; }
.chart-panel .chart { background: #f3eee4; border-radius: 4px; }
.chart-legend { display: flex; gap: 14px; margin: 4px 0 8px; font-size: 12px; color: var(--muted); }
.chart-legend .lg::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 99px; margin-right: 6px; vertical-align: -1px; }
.chart-legend .lg.adena::before { background: #d4a574; }
.chart-legend .lg.exp::before { background: #7eb6d9; }
.chart-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 6px; }
.analyze-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0; }
.analyze-bar label { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.analyze-bar input[type="time"] { padding: 8px 10px; }
.slot-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 8px;
  background: var(--card);
}
.slot-tr {
  display: grid;
  grid-template-columns: minmax(108px, 1.5fr) minmax(80px, 1fr) minmax(80px, 1fr) minmax(56px, .7fr);
  gap: 6px;
  align-items: center;
  padding: 10px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.slot-tr.head {
  cursor: default;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  background: #f3eee4;
}
.slot-tr.head:hover { background: #f3eee4; }
.slot-tr:hover { background: #eee6d4; }
.slot-tr.on { background: #e8dcc0; }
.slot-block:last-child > :last-child { border-bottom: 0; }
.slot-expand {
  padding: 12px 10px 14px;
  background: #f6f0e2;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.slot-tr span { min-width: 0; }
.slot-expand > .slot-expand-title {
  margin: 0 4px 8px;
  font-size: 14px;
  font-weight: 700;
}
.slot-expand .loot-cols { margin-top: 8px; }
.slot-expand .loot-col { box-shadow: none; }
.info-grid .card.big .v { font-size: 22px; }

.panel { margin-top: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.panel > .k { margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.panel h3 { margin: 0 0 12px; font-size: 16px; }
.office-group { margin: 16px 0 6px; color: var(--accent); font-size: 14px; font-weight: 700; }
.office-group span { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 6px; }
.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-actions .btn { padding: 6px 10px; font-size: 12px; }
.viewing-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 18px 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f4ead8;
  border: 1px solid var(--accent-dim);
  color: var(--text);
  font-size: 14px;
}
.viewing-bar .btn { padding: 6px 10px; font-size: 12px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
th { color: var(--muted); font-weight: 600; }

.auth { max-width: 980px; margin: 24px auto; padding: 0 16px calc(40px + env(safe-area-inset-bottom, 0px)); }
.hero { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 24px 20px; box-shadow: var(--shadow); overflow: hidden; }
.hero-art {
  display: block;
  width: calc(100% + 40px);
  max-width: none;
  height: 148px;
  object-fit: cover;
  object-position: 50% 40%;
  margin: -24px -20px 16px;
  border-bottom: 1px solid var(--line);
}
.hero h1 { font-size: 28px; }
.row { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 22px; }
.form { display: grid; gap: 10px; }
input, select { background: #fffaf3; border: 1px solid var(--line); color: var(--text); padding: 10px 12px; border-radius: 4px; }
.btn { background: var(--accent); color: #fbf6ea; border: 0; padding: 11px 16px; border-radius: 4px; font-weight: 800; cursor: pointer; }
.btn.gray { background: #ddd3bb; color: var(--text); }
.btn.bad { background: var(--bad); color: #fff; }
.btn:disabled { opacity: .55; cursor: default; }
.msg { color: var(--warn); min-height: 1.2em; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pills button { background: #ddd3bb; color: var(--text); border: 0; border-radius: 4px; padding: 8px 12px; cursor: pointer; }
.pills button.on { background: var(--accent); color: #fbf6ea; }
.chart { width: 100%; height: 160px; display: block; }
.chart.tall { height: 200px; }
.note { color: var(--muted); font-size: 13px; line-height: 1.6; }
.partner-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 8px;
  padding: 10px 12px;
  background: #1a1010;
  border: 1px solid #3a2a24;
  border-radius: 12px;
  color: #f3ece6;
  text-decoration: none;
}
.partner-banner .kicker {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #d4b46a;
  border: 1px solid #d4b46a;
  border-radius: 4px;
  padding: 2px 6px;
}
.partner-banner .body { flex: 1; font-size: 13px; line-height: 1.4; color: #e8dcd4; }
.partner-banner .body b { color: #fff; }
.partner-banner .go {
  flex: 0 0 auto;
  background: #c43c3c;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 12px;
}
.badge { display: inline-block; padding: 3px 8px; border-radius: 4px; background: #ddd3bb; color: var(--accent); font-size: 12px; }
.err { color: var(--bad); }

.strip { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-bottom: 16px; background: #f4ead8; border: 1px solid var(--line); border-radius: 4px; padding: 12px 16px; }
.strip .dot, .appbar-meta .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(111,191,122,.15); flex: 0 0 auto; }
.strip .dot.warn, .appbar-meta .dot.warn { background: var(--warn); box-shadow: 0 0 0 4px rgba(217,164,65,.15); }
.strip .dot.bad, .appbar-meta .dot.bad { background: var(--loss); box-shadow: 0 0 0 4px rgba(224,107,122,.15); }
.strip .muted { color: var(--muted); font-size: 13px; }

.grid2 { display: grid; grid-template-columns: 1fr; gap: 12px; }
.cmp { font-size: 12px; color: var(--muted); margin-top: 4px; }
.cmp.up, .up, .kind-gain { color: var(--ok); }
.cmp.down, .down, .kind-use { color: var(--loss); }
.steps { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.7; }
.grade { display: inline-block; min-width: 2.2em; text-align: center; font-size: 11px; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); }
.datebar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.datebar input[type="date"] { padding: 8px 10px; }

.subnav { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.subnav button { background: #ddd3bb; color: var(--muted); border: 0; border-radius: 4px; padding: 8px 14px; cursor: pointer; white-space: nowrap; }
.subnav button.on { background: var(--accent); color: #fbf6ea; }

.range-tog { display: inline-flex; gap: 0; margin-bottom: 14px; background: #f4ead8; border: 1px solid var(--line); border-radius: 4px; padding: 3px; }
.range-tog button { background: transparent; color: var(--muted); border: 0; border-radius: 4px; padding: 7px 16px; cursor: pointer; font-weight: 700; }
.range-tog button.on { background: var(--accent); color: #fbf6ea; }

.day-list { display: grid; gap: 8px; }
.day-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px 18px;
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow);
}
.day-row:hover { border-color: var(--accent-dim); }
.day-date { font-size: 18px; font-weight: 800; }
.day-loot { color: var(--muted); font-size: 13px; margin-top: 4px; }
.day-right { text-align: right; font-weight: 800; font-size: 15px; line-height: 1.45; }
.day-exp { font-size: 13px; font-weight: 700; margin-top: 4px; }

.back {
  background: transparent;
  border: 0;
  color: var(--accent);
  padding: 0 0 12px;
  cursor: pointer;
  font-weight: 700;
}
.slot-list { display: grid; gap: 0; }
.slot-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.slot-row:last-child { border-bottom: 0; }
.slot-time { color: var(--muted); }

.faq {
  margin-top: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: " ▾"; color: var(--muted); font-weight: 400; }
.faq[open] summary { border-bottom: 1px solid var(--line); }
.faq p { color: var(--muted); line-height: 1.65; margin: 12px 0; }
.account { margin-top: 12px; }

.loot-cols { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
.loot-col { margin-top: 0; min-width: 0; }
.loot-col h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.loot-col h3 .muted { font-weight: 400; font-size: 13px; color: var(--muted); }
.loot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 6px; }
.loot-list li.loot-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 68px;
  flex: 0 0 68px;
  gap: 4px;
  border: 0;
  background: transparent;
  padding: 0;
  height: auto;
}
.loot-list li.loot-slot,
.loot-cell .loot-slot {
  display: block;
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #efe8d8;
  flex: 0 0 48px;
}
.loot-name {
  font-size: 10px;
  line-height: 1.25;
  color: var(--muted);
  text-align: center;
  width: 100%;
  max-height: 2.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: keep-all;
}
.loot-list li:last-child { border-bottom: 0; }
.loot-icon-wrap {
  display: block;
  width: 48px;
  height: 48px;
  position: relative;
  overflow: hidden;
}
.loot-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  image-rendering: pixelated;
  background: transparent;
  border: 0;
  border-radius: 10px;
}
.loot-icon.miss,
img.loot-icon.miss {
  position: absolute;
  inset: 0;
  background: #f3eee4;
}
.loot-icon[hidden] {
  display: none !important;
}
.loot-slot .loot-plus {
  position: absolute;
  left: 3px;
  top: 3px;
  min-width: 0;
  padding: 0 4px;
  font-size: 11px;
  line-height: 1.4;
  z-index: 1;
  font-weight: 800;
  color: #d4b46a;
  background: rgba(26, 24, 16, .85);
  border: 1px solid #3a3420;
  border-radius: 6px;
}
.loot-slot .loot-qty {
  position: absolute;
  right: 4px;
  bottom: 2px;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 2px #000;
  z-index: 1;
}
.loot-empty { color: var(--muted); font-size: 13px; padding: 12px 0; line-height: 1.55; }

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  background: var(--card);
  border-top: 2px solid var(--text);
  padding: 0 calc(4px + env(safe-area-inset-bottom, 0px)) 0 0;
  min-height: var(--nav-h);
}
.bottom-nav button {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--muted);
  padding: 12px 4px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.bottom-nav button:last-child { border-right: 0; }
.bottom-nav button .ico { display: none; }
.bottom-nav button.on { color: var(--text); background: #f4ead8; box-shadow: inset 0 -3px 0 var(--accent); }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 50;
  background: var(--text);
  color: var(--card);
  border: 1px solid var(--text);
  border-radius: 4px;
  padding: 10px 16px;
  font-size: 13px;
  box-shadow: var(--shadow);
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.bad { background: #3a2424; border-color: #5a3030; color: #ffd4d0; }
.cr-toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(28, 23, 18, .16);
  padding: 14px 12px 14px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(16px);
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
}
.cr-toast.on { transform: translateY(0); opacity: 1; }
.cr-toast-icon { flex: 0 0 auto; font-size: 18px; line-height: 1; }
.cr-toast-body { flex: 1; min-width: 0; }
.cr-toast-title { font-weight: 800; font-size: 14px; color: var(--text); }
.cr-toast-sub { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 2px; }
.cr-toast-go {
  flex: 0 0 auto;
  background: var(--accent);
  color: #fbf6ea;
  border: 0;
  border-radius: 4px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}
.cr-toast-close {
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
}

@media (min-width: 720px) {
  .cr-toast { left: auto; right: 24px; bottom: 24px; max-width: 380px; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dash-cards.ident { grid-template-columns: 1fr 1fr; }
  .dash-cards.now { grid-template-columns: 1fr 1fr; }
  .dash-cards.split .card.big .v { font-size: 26px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid .card.big .v { font-size: 20px; }
  .card .v { font-size: 24px; }
  .card.big .v { font-size: 30px; }
  .chart { height: 180px; }
  .chart.tall { height: 220px; }
}

@media (min-width: 901px) {
  .layout { grid-template-columns: 228px 1fr; }
  .side { display: flex; flex-direction: column; }
  .bottom-nav { display: none; }
  .main { padding: 0 28px 48px; }
  .appbar {
    margin: 0 -28px 22px;
    padding: 18px 28px;
    background: transparent;
    border-bottom: 0;
    position: static;
    backdrop-filter: none;
  }
  .appbar-name { font-size: 20px; }
  .appbar-meta { font-size: 13px; }
  h1 { font-size: 28px; }
  .hero { padding: 36px; }
  .hero-art {
    width: calc(100% + 72px);
    height: 200px;
    margin: -36px -36px 22px;
  }
  .hero h1 { font-size: 36px; }
  .appbar-art { width: 72px; height: 44px; }
  .row { grid-template-columns: 1.1fr .9fr; gap: 24px; }
  .grid2, .loot-cols { grid-template-columns: 1fr 1fr; gap: 16px; }
  .toast { bottom: 28px; }
}

@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dash-cards.ident { grid-template-columns: 1fr 1fr; }
  .dash-cards.split:not(.info-grid) { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .dash-cards.split .card.big .v { font-size: 30px; }
  .card { padding: 16px 18px; }
  .card.big { padding: 22px 20px; }
  .card .v { font-size: 26px; }
  .card.big .v { font-size: 32px; }
  .info-grid .card.big .v { font-size: 22px; }
}

@media (max-width: 640px) {
  .slot-tr {
    grid-template-columns: 1.35fr 1fr 1fr;
    font-size: 13px;
    padding: 10px 8px;
  }
  .slot-shots { display: none; }
  .slot-expand { padding: 10px 8px 12px; }
  .slot-expand .loot-cols { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .card { padding: 12px; border-radius: 4px; }
  .card.big { padding: 16px 14px; }
  .card .v { font-size: 18px; }
  .card.big .v { font-size: 24px; }
  .appbar-name { font-size: 16px; }
  h1 { font-size: 20px; }
  .day-date { font-size: 16px; }
  .day-right { font-size: 16px; }
}
