/* Athena Barrier — ロードモバイル風（濃紺と鋼の青パネル・金の縁・立体ボタン）。動きは付けない */
:root {
  --bg-0: #07101f;
  --bg-1: #0d1d38;
  --panel-top: #2a5f82;
  --panel-bot: #173a57;
  --panel-edge: #0a1a2c;
  --steel-hi: #7fb4d6;
  --gold: #ffd65a;
  --gold-2: #f0b429;
  --gold-dark: #7a4b0a;
  --text: #eef6ff;
  --muted: #a9c3d9;
  --green: #58e07a;
  --red: #ff5d5d;
  --shadow: 0 10px 0 -2px rgba(0, 0, 0, .35), 0 18px 28px rgba(0, 0, 0, .55);
  --font-head: 'Cinzel', 'Trajan Pro', Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 15px/1.5 system-ui, -apple-system, 'Segoe UI', 'Hiragino Sans', 'Noto Sans', 'Noto Sans JP', sans-serif;
  background-color: var(--bg-0);
  background-image:
    radial-gradient(ellipse 120% 60% at 50% -10%, rgba(80, 150, 220, .35), transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(240, 180, 41, .12), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 46px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 2px, transparent 2px 92px),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
  background-attachment: fixed;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- 上の帯 */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  padding: calc(8px + env(safe-area-inset-top)) 14px 10px;
  background: linear-gradient(180deg, #1c3f63 0%, #0e2440 70%, #0a1a30 100%);
  border-bottom: 3px solid var(--gold-2);
  box-shadow: 0 1px 0 #fff3 inset, 0 3px 0 var(--gold-dark), 0 10px 20px rgba(0, 0, 0, .6);
}
.brand { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.brand-ico { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .6)); }
.brand-name {
  font-family: var(--font-head); font-weight: 900; font-size: 19px; letter-spacing: .04em;
  color: var(--gold);
  text-shadow: 0 1px 0 #fff6c4, 0 2px 0 #b07a12, 0 3px 0 #6b4308, 0 5px 6px rgba(0, 0, 0, .7);
  white-space: nowrap;
}
.brand-sub { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gameclock {
  display: flex; flex-direction: column; align-items: center; line-height: 1.1;
  padding: 4px 8px; border-radius: 8px;
  background: linear-gradient(180deg, #08162b, #13294a);
  border: 1px solid #000; box-shadow: 0 1px 0 #ffffff26, inset 0 2px 4px rgba(0, 0, 0, .7);
  font-variant-numeric: tabular-nums;
}
.gameclock small { font-size: 9px; color: var(--muted); letter-spacing: .1em; }
.gameclock span { font-weight: 700; color: var(--gold); }

/* ---------------------------------------------------------------- パネル（鋼の板＋金の縁） */
.wrap { max-width: 640px; margin: 0 auto; padding: 16px 16px 24px; perspective: 1200px; }
.panel {
  position: relative;
  margin: 0 0 18px;
  padding: 16px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 40%),
    linear-gradient(180deg, var(--panel-top), var(--panel-bot));
  border: 2px solid #c79a3a;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .25),
    inset 0 -3px 0 rgba(0, 0, 0, .35),
    inset 0 0 0 3px rgba(10, 26, 44, .55),
    0 0 0 2px #4a2e05,
    var(--shadow);
  transform: rotateX(2deg);
  transform-origin: 50% 0;
}
.panel h2 {
  margin: -4px 0 12px; font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--gold);
  text-shadow: 0 2px 0 #4a2e05, 0 3px 4px rgba(0, 0, 0, .6);
}
.panel h3 { margin: 0; font-size: 16px; }
.panel h3.mt, .mt { margin-top: 14px; }
.panel h3.mt { font-size: 14px; color: var(--gold); margin-bottom: 8px; }
.note { margin: 8px 0; font-size: 13px; color: var(--muted); }
.note.lock { color: #cfe6f7; }
.error { margin: 8px 0; color: #ffb3b3; font-weight: 600; min-height: 0; }
.error:empty { display: none; }
.ok { color: var(--green); font-weight: 700; }
.panel.warn { background: linear-gradient(180deg, #6b4a12, #3e2a08); border-color: var(--gold); }
.panel.notice { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.panel.notice p { margin: 0; flex: 1 1 200px; }
.panel.empty p { margin: 0; text-align: center; color: var(--muted); }

.hero { text-align: center; }
.hero-ico { width: 120px; height: 120px; filter: drop-shadow(0 8px 6px rgba(0, 0, 0, .6)); }
.hero h1 { margin: 4px 0 0; font-family: var(--font-head); font-size: 22px; color: var(--gold); text-shadow: 0 2px 0 #4a2e05, 0 4px 6px #000; }

/* ---------------------------------------------------------------- 立体ボタン */
.btn3d {
  appearance: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 8px 18px;
  border-radius: 10px;
  border: 2px solid #06121f;
  font-weight: 700; letter-spacing: .02em;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .7);
  background: linear-gradient(180deg, #5fb3c9 0%, #2f7f98 48%, #1c5d76 52%, #164a60 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .45),
    inset 0 -3px 0 rgba(0, 0, 0, .35),
    0 5px 0 #0a2533,
    0 8px 12px rgba(0, 0, 0, .5);
  transform: translateY(0);
}
.btn3d:active { transform: translateY(4px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3), inset 0 -2px 0 rgba(0, 0, 0, .35), 0 1px 0 #0a2533, 0 3px 6px rgba(0, 0, 0, .5); }
.btn3d:disabled { filter: grayscale(.7) brightness(.8); cursor: default; }
.btn3d.gold {
  color: #3a2200; text-shadow: 0 1px 0 #fff4c0;
  border-color: #4a2e05;
  background: linear-gradient(180deg, #fff1a8 0%, #ffd34d 45%, #e8a521 55%, #b9780f 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .7), inset 0 -3px 0 rgba(90, 50, 0, .45), 0 5px 0 #5c3a06, 0 8px 12px rgba(0, 0, 0, .5);
}
.btn3d.gold:active { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), 0 1px 0 #5c3a06, 0 3px 6px rgba(0, 0, 0, .5); }
.btn3d.ghost {
  background: linear-gradient(180deg, #2c4660, #1a2d42);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .2), inset 0 -3px 0 rgba(0, 0, 0, .35), 0 5px 0 #08121d, 0 8px 12px rgba(0, 0, 0, .45);
}
.btn3d.danger {
  background: linear-gradient(180deg, #ff8a7a, #d23a2a 50%, #9b1f13);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .35), 0 5px 0 #4d0d07, 0 8px 12px rgba(0, 0, 0, .5);
}
.btn3d.small { min-height: 38px; padding: 6px 12px; font-size: 13px; }
.btn3d.wide { display: flex; width: 100%; }
.btn3d.add { min-height: 56px; font-size: 17px; margin-bottom: 18px; }
.linkbtn { display: block; margin: 0 auto; background: none; border: 0; color: var(--gold); text-decoration: underline; padding: 12px; cursor: pointer; font-weight: 600; }

.row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.row.end { justify-content: flex-end; }
.row .grow { flex: 1 1 auto; }

.iconbtn {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 2px solid #06121f; color: #fff;
  background: radial-gradient(circle at 35% 30%, #6fc0d8, #1d5d76 70%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), 0 3px 0 #0a2533, 0 5px 8px rgba(0, 0, 0, .5);
}
.iconbtn svg { width: 22px; height: 22px; }
.iconbtn.help { font-weight: 900; font-size: 20px; color: #3a2200; background: radial-gradient(circle at 35% 30%, #fff1a8, #d79a23 70%); border-color: #4a2e05; box-shadow: inset 0 2px 0 rgba(255,255,255,.6), 0 3px 0 #5c3a06, 0 5px 8px rgba(0,0,0,.5); }

/* ---------------------------------------------------------------- 入力 */
.field { display: block; margin: 0 0 12px; }
.field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
input:not([type=checkbox]), select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border-radius: 10px; border: 2px solid #050d18;
  background: linear-gradient(180deg, #06111f, #0e2238);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .18);
  color: var(--text); font-size: 16px; /* iPhone で拡大されない大きさ */
}
textarea { resize: vertical; min-height: 96px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%), linear-gradient(180deg, #06111f, #0e2238); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%, 0 0; background-size: 6px 6px, 6px 6px, 100% 100%; background-repeat: no-repeat; padding-inline-end: 34px; }
[dir=rtl] select { background-position: 18px 50%, 12px 50%, 0 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.mono { font-family: ui-monospace, 'SF Mono', Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold-2); flex: none; }

/* ---------------------------------------------------------------- 言語 */
.lang-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.btn3d.lang { width: 100%; min-height: 54px; font-size: 16px; }
.btn3d.lang.on { color: #3a2200; text-shadow: none; background: linear-gradient(180deg, #fff1a8, #ffd34d 45%, #e8a521 55%, #b9780f); border-color: #4a2e05; box-shadow: inset 0 2px 0 #fff9, 0 5px 0 #5c3a06, 0 8px 12px rgba(0,0,0,.5); }

/* ---------------------------------------------------------------- 城のカード */
.castle-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.castle-head h3 { flex: 1; min-width: 0; font-size: 18px; overflow-wrap: anywhere; text-shadow: 0 2px 2px rgba(0, 0, 0, .7); }
.castle-ico { width: 30px; height: 30px; color: var(--gold); filter: drop-shadow(0 2px 0 #4a2e05) drop-shadow(0 3px 3px rgba(0, 0, 0, .6)); }
.kd { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 6px; color: #3a2200; background: linear-gradient(180deg, #ffe58a, #d79a23); box-shadow: inset 0 1px 0 #fff8, 0 2px 0 #5c3a06; vertical-align: middle; }

.status {
  display: flex; align-items: center; gap: 14px;
  padding: 12px; border-radius: 12px;
  background: linear-gradient(180deg, #0a1a2e, #102843);
  border: 1px solid #000;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, .75), inset 0 -1px 0 rgba(255, 255, 255, .12), 0 1px 0 rgba(255, 255, 255, .15);
}
.status-body { flex: 1; min-width: 0; }
.badge {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 2px 0 rgba(0, 0, 0, .5);
}
.badge.on { color: #06310f; background: linear-gradient(180deg, #b6ffc6, #3fcf66); }
.badge.off { color: #fff; background: linear-gradient(180deg, #ff9c8f, #c92a1b); }
.count {
  font-size: clamp(28px, 9vw, 40px); font-weight: 900; line-height: 1.15;
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
  color: var(--gold);
  text-shadow: 0 1px 0 #fff3b0, 0 2px 0 #c88a1c, 0 3px 0 #8a5a10, 0 4px 0 #5a3606, 0 6px 8px rgba(0, 0, 0, .8);
}
.count.urgent { color: #ff8a7a; text-shadow: 0 1px 0 #ffd6cf, 0 2px 0 #c0392b, 0 3px 0 #7d1d12, 0 4px 0 #4d0d07, 0 6px 8px rgba(0, 0, 0, .8); }
.sub { font-size: 13px; color: var(--muted); }
.broken-ico svg { width: 64px; height: 64px; filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .6)); }
.is-off { border-color: #9b3a2a; }

.bar {
  height: 12px; margin-top: 10px; border-radius: 999px; overflow: hidden;
  background: #050c16; border: 1px solid #000;
  box-shadow: inset 0 3px 4px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .15);
}
.bar i { display: block; height: 100%; background: linear-gradient(180deg, #d9fff6, #49d6b8 40%, #138a75); box-shadow: inset 0 1px 0 #fff9; }

/* バリアーの種類（ゲームのアイテム枠） */
.picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.kind { appearance: none; padding: 0; border: 0; background: none; cursor: pointer; }
.kind-icon {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 1; width: 100%;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 35%, #2d6ea8, #0f2a52 70%);
  border: 2px solid #8fb9e0;
  box-shadow:
    inset 0 0 0 2px #061427,
    inset 0 6px 10px rgba(255, 255, 255, .18),
    inset 0 -8px 10px rgba(0, 0, 0, .45),
    0 4px 0 #050e1c,
    0 7px 10px rgba(0, 0, 0, .55);
}
.kind-icon svg { width: 78%; height: 78%; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .6)); margin-top: -10%; }
.kind-icon b {
  position: absolute; bottom: 3px; left: 0; right: 0; text-align: center;
  font-size: clamp(13px, 4vw, 17px); font-weight: 800; color: #fff;
  text-shadow: 0 0 3px #000, 0 2px 0 #000, 0 0 6px #000;
}
.kind-icon.custom svg { width: 55%; height: 55%; }
.kind-icon.custom b { font-size: 11px; padding: 0 2px; line-height: 1.1; }
.kind.on .kind-icon {
  border-color: var(--gold);
  box-shadow:
    inset 0 0 0 2px #4a2e05,
    inset 0 6px 10px rgba(255, 255, 255, .25),
    0 0 0 3px rgba(255, 214, 90, .55),
    0 4px 0 #5c3a06,
    0 7px 12px rgba(0, 0, 0, .55);
  transform: translateY(-3px);
}
.kind-icon.big { width: 84px; flex: none; }
.kind-icon.small { width: 54px; flex: none; }
.kind-icon.small b { font-size: 12px; }
.kind-name { text-align: center; margin: 10px 0 0; font-weight: 700; color: var(--gold); }
.dhm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dhm label { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; color: var(--muted); }
.dhm input { text-align: center; font-size: 20px; font-weight: 700; }

/* ---------------------------------------------------------------- 履歴 */
.hist { list-style: none; margin: 0; padding: 0; }
.hist li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(0, 0, 0, .35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.hist li:first-child { border-top: 0; box-shadow: none; }
.hist-body { flex: 1; min-width: 0; }
.hist-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tag { margin-inline-start: auto; font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: #33475c; box-shadow: inset 0 1px 0 #fff3; }
.tag.active { background: linear-gradient(180deg, #b6ffc6, #3fcf66); color: #06310f; }
.tag.broken, .tag.expired { background: linear-gradient(180deg, #ff9c8f, #c92a1b); }
.tag.renew { background: linear-gradient(180deg, #8fd3ff, #2a77c0); }

/* ---------------------------------------------------------------- 設定 */
.leads { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: linear-gradient(180deg, #2c4660, #1a2d42); border: 2px solid #06121f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 3px 0 #08121d;
}
.chip input { width: 16px; height: 16px; accent-color: var(--gold-2); margin: 0; }
.chip.on { color: #3a2200; background: linear-gradient(180deg, #fff1a8, #e8a521); border-color: #4a2e05; box-shadow: inset 0 1px 0 #fff9, 0 3px 0 #5c3a06; }
.code-box {
  margin: 4px 0; padding: 14px; text-align: center; font-size: 26px; font-weight: 900; color: var(--gold);
  border-radius: 12px; background: #06111f; border: 2px dashed var(--gold-2);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, .8); user-select: all;
}
.devs { list-style: none; padding: 0; margin: 0; }
.devs li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(0, 0, 0, .3); }
.devs li:first-child { border-top: 0; }
.devs small { color: var(--muted); }
.help-list { margin: 0; padding-inline-start: 22px; }
.help-list li { margin: 0 0 10px; }
.help-list li::marker { color: var(--gold); font-weight: 900; }

/* ---------------------------------------------------------------- 下のタブ */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #13304f, #0a1a30);
  border-top: 3px solid var(--gold-2);
  box-shadow: 0 -3px 0 var(--gold-dark) inset, 0 -8px 18px rgba(0, 0, 0, .6);
}
.tab {
  appearance: none; border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 4px; border-radius: 10px; color: var(--muted); font-size: 12px; font-weight: 700;
}
.tab svg { width: 26px; height: 26px; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .6)); }
.tab.on {
  color: #3a2200;
  background: linear-gradient(180deg, #fff1a8, #ffd34d 45%, #e8a521 55%, #b9780f);
  box-shadow: inset 0 2px 0 #fff9, inset 0 -2px 0 rgba(90, 50, 0, .45), 0 3px 0 #5c3a06;
}

/* ---------------------------------------------------------------- 小窓・お知らせ */
.modal {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center;
  padding: 16px; background: rgba(2, 6, 14, .75);
  overflow-y: auto;
}
.modal-card { width: 100%; max-width: 480px; margin: 0; transform: none; max-height: calc(100vh - 32px); overflow-y: auto; }
#toast {
  position: fixed; left: 16px; right: 16px; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 60;
  max-width: 520px; margin: 0 auto; padding: 12px 16px; border-radius: 12px; text-align: center; font-weight: 700;
  color: #3a2200; background: linear-gradient(180deg, #fff1a8, #e8a521); border: 2px solid #4a2e05;
  box-shadow: 0 4px 0 #5c3a06, 0 10px 20px rgba(0, 0, 0, .6);
}
.update {
  position: fixed; left: 16px; right: 16px; top: calc(76px + env(safe-area-inset-top)); z-index: 40;
  max-width: 520px; margin: 0 auto; padding: 12px; border-radius: 12px; border: 2px solid #4a2e05; cursor: pointer;
  font-weight: 800; color: #3a2200; background: linear-gradient(180deg, #fff1a8, #e8a521); box-shadow: 0 4px 0 #5c3a06;
}

@media (min-width: 560px) {
  .picker { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .lang-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 管理者ページの数字 */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat { padding: 10px; border-radius: 10px; text-align: center; background: linear-gradient(180deg, #0a1a2e, #102843); box-shadow: inset 0 3px 6px rgba(0, 0, 0, .7); }
.stat b { display: block; font-size: 26px; color: var(--gold); text-shadow: 0 2px 0 #5a3606; }
.stat span { font-size: 12px; color: var(--muted); }

/* ホーム：全アカウントを一覧（行をタップで開く） */
.panel.castle { padding: 10px 12px; margin-bottom: 10px; }
.panel.castle.open { margin-bottom: 18px; }
.castle-row { display: flex; align-items: center; gap: 8px; }
.row-hit {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px;
  appearance: none; border: 0; background: none; padding: 0; text-align: start; cursor: pointer; color: inherit;
}
.cr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cr-name { font-weight: 800; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 2px 2px rgba(0, 0, 0, .7); }
.cr-main .sub { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-right { flex: none; }
.cr-right .count { font-size: clamp(20px, 6.2vw, 28px); }
.chev { flex: none; color: var(--gold); font-size: 12px; }
.kind-icon.mini { width: 46px; flex: none; border-radius: 10px; }
.kind-icon.mini b { font-size: 11px; bottom: 1px; }
.broken-ico.mini svg { width: 46px; height: 46px; }
.castle .bar { margin-top: 8px; height: 8px; }
.castle-body { margin-top: 6px; }
