[hidden] { display: none !important; }

:root {
  --bg: #14121f;
  --bg2: #1e1a2e;
  --ink: #f1ead8;
  --dim: #a8a0bd;
  --gold: #e8c36a;
  --gold2: #ffe3a1;
  --hair: rgba(232, 195, 106, .18);
  --hair2: rgba(232, 195, 106, .45);
  --panel: #1b1830;
  --panel2: #2a2446;
  --pixel: "DotGothic16", "Hiragino Sans", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -10%, #2b2440 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  line-height: 1.7;
}

#app { padding: 0 16px 32px; }

#site-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--hair);
}
.apps-link, .soundbtn {
  color: var(--dim);
  text-decoration: none;
  font-size: 13px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
  background: none;
  font-family: inherit;
  cursor: pointer;
}
.apps-link:hover, .soundbtn:hover { color: var(--ink); border-color: var(--hair2); }
.header-logo { margin: 0; font-size: 17px; font-weight: 800; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-logo a { color: inherit; text-decoration: none; }
.header-sub { font-size: 12px; font-weight: 500; color: var(--dim); margin-left: 6px; }

/* 言語。要らないほうの文言を伏せる（i18n.js が <html lang> を描画の前に決める） */
html[lang="ja"] [lang="en"],
html[lang="en"] [lang="ja"] { display: none; }

.langbar { display: inline-flex; gap: 4px; }
.langbar button {
  background: none;
  border: 1px solid var(--hair);
  color: var(--dim);
  border-radius: 999px;
  padding: 3px 10px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}
.langbar button[aria-pressed="true"] { color: var(--gold2); border-color: var(--hair2); background: rgba(232, 195, 106, .08); }

/* ── 画面 ─────────────────────────────── */
#play { max-width: 1200px; margin: 20px auto 0; }

#stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 76svh;
  margin: 0 auto;
  border-radius: 14px;
  border: 3px solid #4a3f70;
  box-shadow: 0 0 0 1px #000, 0 18px 50px rgba(0, 0, 0, .5);
  overflow: hidden;
  background: #171c2b;
  user-select: none;
  -webkit-user-select: none;
  /* 指を置いたまま動かすので、長押しで画像の保存メニューや拡大鏡が出ないようにする */
  -webkit-touch-callout: none;
  font-family: var(--pixel);
}
/* Android の Chrome は触れる要素をタップすると青く光らせる。画面は触りっぱなしなので光らせない（サカナゲームと同じ） */
#cv { display: block; width: 100%; height: 100%; touch-action: none; outline: none; cursor: crosshair; -webkit-tap-highlight-color: transparent; }
/* 画面の中のボタンは素早く続けて押すので、2 回押しで拡大しないようにする */
#stage button { touch-action: manipulation; }

/* HUD */
#hud { position: absolute; inset: 0 0 auto 0; pointer-events: none; text-shadow: 0 1px 0 #000, 0 0 4px #000; }
.xpbar { position: relative; height: 16px; background: #0b0918; border-bottom: 2px solid #000; box-shadow: inset 0 0 0 1px #3a3266; }
.xpbar i { display: block; height: 100%; width: 0; background: linear-gradient(180deg, #8fd0ff, #2f7ee0 60%, #2460b8); transition: width .12s; }
.xpbar span { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 13px; color: #fff; line-height: 1; }
.hud-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 6px 8px; }
.slots { display: flex; flex-direction: column; gap: 3px; }
.slot-row { display: flex; gap: 3px; }
.slot {
  position: relative;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 16px;
  background: rgba(14, 12, 28, .85);
  border: 2px solid #6a5a9a;
  border-radius: 4px;
}
.slot.passive { border-color: #4a7a9a; }
.slot.empty { opacity: .35; }
.slot.evo { border-color: #ffd34a; box-shadow: 0 0 8px #ffd34a; }
.slot small { position: absolute; right: -2px; bottom: -5px; font-size: 10px; color: var(--gold2); }
.hud-clock { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; line-height: 1; }
.hud-clock b { font-size: 28px; font-weight: 400; letter-spacing: .04em; }
.hud-clock small { font-size: 10px; color: var(--dim); margin-top: 3px; }
.hud-right { display: flex; align-items: center; gap: 10px; }
.hud-num { font-size: 14px; }
.hud-num b { font-weight: 400; font-size: 16px; color: var(--gold2); }
.pausebtn {
  pointer-events: auto;
  font-family: var(--pixel);
  font-size: 13px;
  color: var(--ink);
  background: rgba(14, 12, 28, .8);
  border: 2px solid #6a5a9a;
  border-radius: 4px;
  padding: 1px 9px;
  cursor: pointer;
}
#bossbar { position: absolute; left: 50%; top: 66px; transform: translateX(-50%); width: min(380px, 60%); text-align: center; }
#boss-name { font-size: 13px; color: #ffb0b0; }
.bossbar-track { height: 9px; background: #200; border: 2px solid #000; box-shadow: 0 0 0 1px #803030; }
.bossbar-track i { display: block; height: 100%; width: 100%; background: linear-gradient(180deg, #ff7a7a, #c02020); }

#banner {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 26px;
  background: linear-gradient(90deg, transparent, rgba(14, 10, 30, .9) 20%, rgba(14, 10, 30, .9) 80%, transparent);
  color: var(--gold2);
  font-size: 20px;
  letter-spacing: .1em;
  /* 長い知らせ（天候の説明など）は狭い画面で折り返す。1 行に縛ると両端が切れる */
  width: max-content;
  max-width: 94%;
  text-align: center;
  line-height: 1.4;
  pointer-events: none;
  text-shadow: 0 2px 0 #000;
  animation: banner 2.6s ease-out forwards;
}
#banner.danger { color: #ff8a8a; font-size: 24px; }
@keyframes banner { 0% { opacity: 0; transform: translate(-50%, 10px) scale(1.2); } 10% { opacity: 1; transform: translate(-50%, 0) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; } }

/* 重なる画面 */
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  gap: 10px;
  padding: 16px;
  background: rgba(10, 8, 20, .72);
  overflow: auto;
  text-align: center;
}
.over-title { margin: 0; font-size: 26px; color: var(--gold2); letter-spacing: .08em; text-shadow: 0 3px 0 #000; }
.over-title.shine { animation: shine .5s ease-out; }
@keyframes shine { 0% { transform: scale(1.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.over-note { margin: 0; font-size: 13px; color: var(--dim); max-width: 40em; }
.over-keys { margin: 0; font-size: 11px; color: var(--dim); }
/* キーボードの無い端末（スマホ・タブレット）にはキーの案内を出さない。一時停止は指で押せる大きさにする */
@media (hover: none) and (pointer: coarse) {
  .over-keys, .opt kbd, .ult-btn small { display: none; }
  .pausebtn { min-width: 40px; min-height: 36px; font-size: 15px; }
}
.over-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

button.primary, button.ghost {
  font-family: var(--pixel);
  font-size: 15px;
  padding: 8px 22px;
  cursor: pointer;
  border-radius: 6px;
  color: var(--ink);
}
button.primary { background: linear-gradient(180deg, #f2c94c, #c9962a); color: #1b1220; border: 2px solid #000; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25), 0 0 0 1px #ffe3a1; }
button.primary:hover { filter: brightness(1.1); }
button.ghost { background: linear-gradient(180deg, #2e2850, #1c1834); border: 2px solid #000; box-shadow: 0 0 0 1px #6a5a9a; }
button.ghost:hover:not(:disabled) { box-shadow: 0 0 0 1px var(--gold); }
button:disabled { opacity: .45; cursor: default; }
button.big { font-size: 20px; padding: 10px 34px; min-width: 220px; }

/* タイトル */
.menu-faces { display: flex; gap: 10px; margin-bottom: 6px; }
/* PC の広い画面では大きく出す。高さは画面の高さに合わせて縮める（ノート PC の低い画面でもボタンまで収まるように） */
.menu-faces canvas { height: clamp(96px, 22svh, 168px); width: auto; aspect-ratio: 3 / 4; border: 2px solid #000; box-shadow: 0 0 0 1px #6a5a9a; border-radius: 4px; }
.logo { margin: 0; font-size: 52px; line-height: 1.1; color: #ffe3a1; letter-spacing: .08em; text-shadow: 0 4px 0 #6a3a10, 0 6px 0 #000, 0 0 24px rgba(255, 190, 90, .5); }
.logo-sub { margin: 0 0 6px; color: var(--dim); letter-spacing: .3em; font-size: 13px; }
.menu-btns { display: flex; flex-direction: column; gap: 10px; }
.menu-row { display: flex; gap: 10px; }
.menu-row button { flex: 1; }
.menu-meta { margin: 6px 0 0; font-size: 14px; color: var(--dim); }
.menu-meta b { color: var(--gold2); font-weight: 400; }

/* 神を選ぶ */
.gods { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 1000px; }
.god-ult { font-size: 11px; color: #ffd27a; }
.god {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  font-family: var(--pixel);
  color: var(--ink);
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 2px solid #000;
  box-shadow: 0 0 0 1px #6a5a9a;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition: transform .1s;
}
.god:hover:not(:disabled), .god:focus-visible { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--gold); outline: none; }
.god canvas { width: 100%; aspect-ratio: 150 / 110; display: block; border-bottom: 2px solid #000; }
.god-body { display: flex; flex-direction: column; padding: 6px 8px 8px; gap: 1px; line-height: 1.35; }
.god-name { font-size: 17px; font-weight: 400; color: var(--gold2); }
.god-stars { font-size: 11px; color: #ffcf5a; letter-spacing: .05em; }
.god-from { font-size: 10px; color: var(--dim); }
.god-weapon { font-size: 12px; }
.god-note { font-size: 11px; color: #c9c0e0; }
.god.locked { cursor: default; opacity: .9; }
.god.locked .god-name { color: var(--dim); }

/* 奉納 */
.shop-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 860px; }
.shop-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  font-family: var(--pixel);
  color: var(--ink);
  text-align: left;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 2px solid #000;
  box-shadow: 0 0 0 1px #6a5a9a;
  border-radius: 6px;
  cursor: pointer;
}
.shop-item:hover:not(:disabled) { box-shadow: 0 0 0 2px var(--gold); }
.shop-icon { font-size: 24px; }
.shop-body { display: flex; flex-direction: column; flex: 1; line-height: 1.3; min-width: 0; }
.shop-body b { font-weight: 400; color: var(--gold2); }
.pips { font-size: 11px; letter-spacing: 1px; color: var(--gold); }
.shop-text { font-size: 11px; color: var(--dim); }
.shop-cost { font-size: 13px; white-space: nowrap; }

/* レベルアップ */
.opts { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 520px; }
.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  font-family: var(--pixel);
  color: var(--ink);
  text-align: left;
  background: linear-gradient(180deg, #2c2650, #1a1730);
  border: 2px solid #000;
  box-shadow: 0 0 0 1px #6a5a9a;
  border-radius: 6px;
  cursor: pointer;
  animation: optin .25s ease-out backwards;
}
.opt:nth-child(2) { animation-delay: .05s; }
.opt:nth-child(3) { animation-delay: .1s; }
@keyframes optin { 0% { transform: translateX(-20px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.opt:hover, .opt:focus-visible { box-shadow: 0 0 0 2px var(--gold); outline: none; background: linear-gradient(180deg, #3a3268, #221d40); }
.opt.is-weapon .opt-icon { border-color: #a08ad8; }
.opt-icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; font-size: 26px; background: #0e0c1c; border: 2px solid #4a7a9a; border-radius: 6px; }
.opt-body { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.4; }
.opt-head { display: flex; align-items: baseline; gap: 8px; }
.opt-name { font-size: 17px; font-weight: 400; color: var(--gold2); }
.opt-tag { font-size: 12px; color: var(--dim); }
.opt-tag.new { color: #ffe066; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .4; } }
.opt-desc { font-size: 13px; color: #d0c8e8; }
.opt kbd { font-family: var(--pixel); font-size: 11px; color: var(--dim); }

/* 宝箱 */
.chest-box { width: 96px; height: 96px; display: grid; place-items: center; font-size: 52px; background: radial-gradient(circle, #5a3a10, #2a1a08); border: 3px solid #000; box-shadow: 0 0 0 2px #f2c94c, 0 0 30px rgba(255, 200, 80, .6); border-radius: 10px; }
#chest.evolved .chest-box { box-shadow: 0 0 0 2px #fff, 0 0 50px rgba(160, 220, 255, .9); animation: evo 1s ease-in-out infinite alternate; }
@keyframes evo { to { box-shadow: 0 0 0 2px #ffe066, 0 0 70px rgba(255, 220, 120, 1); } }
.chest-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.chest-list li { animation: optin .25s ease-out backwards; }
.chest-list li.evo { color: #ffe066; font-size: 18px; }
.chest-list li.gold { color: var(--gold2); }

/* 一時停止と結果 */
.build-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 18px; font-size: 14px; text-align: left; }
.res-top { display: flex; gap: 14px; align-items: center; }
.res-face canvas { width: 96px; height: 96px; border: 2px solid #000; box-shadow: 0 0 0 1px var(--gold); border-radius: 6px; display: block; }
.res-stats { display: grid; grid-template-columns: auto auto; gap: 0 14px; margin: 0; text-align: left; font-size: 14px; }
.res-stats dt { color: var(--dim); }
.res-stats dd { margin: 0; color: var(--gold2); }
.res-dmg { border-collapse: collapse; font-size: 13px; width: min(460px, 100%); }
.res-dmg td { padding: 2px 6px; }
.res-dmg .ic { width: 28px; font-size: 18px; }
.res-dmg .nm { text-align: left; white-space: nowrap; }
.res-dmg .lv { color: var(--dim); white-space: nowrap; }
.res-dmg .bar { width: 40%; }
.res-dmg .bar i { display: block; height: 8px; background: linear-gradient(90deg, #c9962a, #ffe066); }
.res-dmg .num { text-align: right; font-variant-numeric: tabular-nums; }
.res-news { list-style: none; margin: 0; padding: 0; color: #ffe066; font-size: 14px; }
#result.won .over-title { color: #ffe0a0; text-shadow: 0 3px 0 #000, 0 0 20px rgba(255, 200, 120, .8); }
.res-mode { margin: 0; font-size: 13px; color: #ffd27a; }
button.endless { background: linear-gradient(180deg, #e05040, #902018); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3), 0 0 0 1px #ffb0a0, 0 0 18px rgba(255, 80, 60, .5); }
.share-btns button { font-size: 13px; padding: 6px 14px; }

/* 神威のボタン（右下）。ゲージは下から溜まる */
.ult-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  pointer-events: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #000;
  box-shadow: 0 0 0 2px #6a5a9a;
  background: rgba(14, 12, 28, .85);
  color: var(--ink);
  font-family: var(--pixel);
  font-size: 14px;
  overflow: hidden;
  cursor: pointer;
}
#hud { bottom: 0; }
.ult-btn i { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(0deg, #c9962a, #ffe066); opacity: .55; }
.ult-btn span { position: relative; display: flex; flex-direction: column; line-height: 1.1; }
.ult-btn small { font-size: 9px; color: var(--dim); }
.ult-btn.ready { box-shadow: 0 0 0 2px #ffe066, 0 0 18px #ffd34a; animation: ultpulse 0.8s ease-in-out infinite alternate; }
.ult-btn.ready i { opacity: .9; }
@keyframes ultpulse { to { transform: scale(1.08); } }

/* ボスの紹介 */
.boss-card {
  position: absolute;
  right: 12px;
  top: 96px;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: min(360px, 80%);
  padding: 8px 12px 8px 8px;
  background: rgba(20, 8, 12, .88);
  border: 2px solid #000;
  box-shadow: 0 0 0 1px #ff6a6a, 0 0 20px rgba(255, 60, 60, .35);
  border-radius: 8px;
  pointer-events: none;
  animation: bosscard 3.2s ease-out forwards;
  text-align: left;
}
.boss-card canvas { width: 64px; height: 64px; display: block; border: 2px solid #000; border-radius: 4px; }
.boss-card b { display: block; color: #ffb0a0; font-size: 17px; font-weight: 400; }
.boss-card small { display: block; color: var(--dim); font-size: 11px; }
.boss-card span { display: block; font-size: 12px; color: #e8d8d0; }
@keyframes bosscard { 0% { opacity: 0; transform: translateX(30px); } 10% { opacity: 1; transform: none; } 85% { opacity: 1; } 100% { opacity: 0; } }

/* 今日の聖戦 */
.daily-card { display: flex; gap: 14px; align-items: center; text-align: left; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 2px solid #000; box-shadow: 0 0 0 1px #6a5a9a; border-radius: 8px; padding: 10px 14px; max-width: 640px; }
.daily-card canvas { width: 110px; height: 110px; display: block; border: 2px solid #000; border-radius: 6px; }
.daily-card dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0; font-size: 13px; }
.daily-card dt { color: var(--dim); }
.daily-card dd { margin: 0; color: var(--ink); }
.daily-best { margin: 0; font-size: 13px; color: #ffd27a; }

/* 図鑑 */
.codex-tabs { display: flex; gap: 6px; }
.codex-tabs button { padding: 4px 14px; font-size: 13px; }
.codex-tabs button.on { box-shadow: 0 0 0 2px var(--gold); color: var(--gold2); }
.over-title small { font-size: 14px; color: var(--dim); }
.codex-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; width: 100%; max-width: 900px; text-align: left; }
.codex-item { display: flex; gap: 10px; align-items: center; padding: 6px 8px; background: rgba(30, 26, 50, .85); border: 1px solid #3a3266; border-radius: 6px; }
.codex-item canvas.portrait { width: 56px; height: 56px; border: 2px solid #000; border-radius: 4px; flex: none; }
.codex-sprite { width: 42px; height: auto; image-rendering: pixelated; flex: none; }
.codex-glyph { width: 42px; height: 42px; flex: none; display: grid; place-items: center; font-size: 24px; background: #0e0c1c; border: 1px solid #4a7a9a; border-radius: 6px; }
.codex-glyph.dark { filter: brightness(.35); }
.codex-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.codex-text b { font-weight: 400; color: var(--gold2); }
.codex-text small { font-size: 11px; color: var(--dim); }
.codex-text span { font-size: 12px; color: #d0c8e8; }
.codex-text a { font-size: 11px; color: #9ad0ff; }

/* ── 下の段 ─────────────────────────── */
#guide-section, .related-apps, #ad-section, #site-footer { max-width: 1200px; margin: 32px auto 0; }
#guide-section h2, .related-apps-title { font-size: 17px; margin: 0 0 12px; color: var(--gold2); }
.guide-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.guide-col { background: var(--bg2); border: 1px solid var(--hair); border-radius: 12px; padding: 12px 16px; }
.guide-col h3 { margin: 0 0 4px; font-size: 15px; }
.guide-col p { margin: 0; font-size: 14px; color: var(--dim); }
.related-apps-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.related-app-link { color: var(--ink); text-decoration: none; border: 1px solid var(--hair); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.related-app-link:hover { border-color: var(--gold); }
#site-footer { border-top: 1px solid var(--hair); padding-top: 16px; text-align: center; font-size: 13px; color: var(--dim); }
.footer-links { display: flex; gap: 10px; justify-content: center; }
.footer-link { color: var(--dim); text-decoration: none; }
.footer-link:hover { color: var(--ink); }
.footer-copy { margin: 8px 0 0; }
.footer-refs { margin: 8px 0 0; font-size: 12px; }
.footer-refs a { color: var(--dim); }

@media (max-width: 900px) {
  .gods { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .codex-list { grid-template-columns: 1fr; }
  .god-note, .god-from { display: none; }
  .shop-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  #stage { aspect-ratio: 3 / 4; }
  .header-sub { display: none; }
  .gods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .god-note { display: block; }
  .shop-list { grid-template-columns: 1fr; }
  .logo { font-size: 34px; }
  .menu-faces canvas { width: 56px; height: 75px; }
  .slot { width: 22px; height: 22px; font-size: 12px; border-width: 1px; }
  .slot small { font-size: 9px; }
  .hud-clock { top: 70px; }
  .hud-clock b { font-size: 22px; }
  .hud-num { font-size: 12px; }
  .hud-num b { font-size: 14px; }
  #bossbar { top: 112px; }
  .opt-icon { width: 38px; height: 38px; font-size: 22px; }
  .opt-name { font-size: 15px; }
  .overlay { gap: 6px; padding: 10px; }
  .over-title { font-size: 21px; }
  .res-face canvas { width: 64px; height: 64px; }
  .res-stats { font-size: 12px; }
  .res-dmg { font-size: 11px; }
  .res-dmg .ic { font-size: 14px; width: 20px; }
  .res-news { font-size: 12px; }
  button.primary, button.ghost { font-size: 13px; padding: 6px 12px; }
  .god canvas { aspect-ratio: 150 / 80; }
  .god-body { padding: 4px 6px 6px; }
  .god-name { font-size: 15px; }
  .codex-list { grid-template-columns: 1fr; }
  .daily-card { flex-direction: column; }
  .boss-card { top: 100px; left: 8px; right: 8px; max-width: none; padding: 5px 8px 5px 5px; }
  .boss-card canvas { width: 40px; height: 40px; }
  .boss-card b { font-size: 14px; }
  .boss-card span { display: none; }
  .ult-btn { width: 56px; height: 56px; }
  #banner { font-size: 15px; letter-spacing: .04em; padding: 6px 16px; background: linear-gradient(90deg, transparent, rgba(14, 10, 30, .9) 8%, rgba(14, 10, 30, .9) 92%, transparent); }
  #banner.danger { font-size: 17px; }
}
