/* THE BŌ ── 黒×古金×朱印 / 鑑定局トーン（明度UP・可読性改善版 v0.3） */
:root {
  --ink: #18130f;
  --panel: #271f19;
  --line: #584c40;
  --line-soft: #352c24;
  --text: #f4f1ea;
  --muted: #c8bdaf;
  --faint: #a39686;
  --ghost: #80735f;
  --gold: #e3b450;
  --gold-bright: #fbbf24;
  --gold-soft: #fcd34d;
  --seal: #d8362c;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", Georgia, "Times New Roman", serif;
  --sans: -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: radial-gradient(1100px 540px at 50% -8%, #3c3026 0%, var(--ink) 60%) var(--ink);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
button { font-family: inherit; cursor: pointer; }
img { display: block; }

/* ---------- レターヘッド ---------- */
.letterhead {
  position: sticky; top: 0; z-index: 30;
  background: rgba(24, 19, 15, .88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
  padding: 13px 16px 11px;
}
.brand { font-family: var(--serif); font-size: 19px; letter-spacing: .3em; color: var(--gold); }
.bureau { font-size: 11px; letter-spacing: .42em; color: var(--faint); margin-top: 3px; }
.lang {
  position: absolute; right: 10px; top: 13px;
  background: var(--panel); color: var(--muted);
  border: 1px solid var(--line); border-radius: 8px;
  font-size: 12px; padding: 5px 7px;
}
.header-logout {
  position: absolute; left: 10px; top: 13px;
  background: var(--panel); color: var(--gold-soft);
  border: 1px solid var(--line); border-radius: 8px;
  font-size: 12px; padding: 5px 10px; letter-spacing: .05em;
}
.header-logout.hidden { display: none; }

/* ---------- レイアウト ---------- */
#main { max-width: 430px; margin: 0 auto; padding: 20px 16px 120px; }
.tagline {
  text-align: center; margin: 0 0 16px;
  font-family: var(--serif); font-size: 14px; letter-spacing: .2em; color: var(--muted);
}

/* ---------- バナー ---------- */
.banner { border-radius: 12px; padding: 13px; margin-bottom: 16px; font-size: 14px; line-height: 1.7; }
.banner-error { background: rgba(69, 10, 10, .35); border: 1px solid #7f1d1d; color: #fca5a5; }
.banner-notice { background: rgba(69, 26, 3, .35); border: 1px solid #92400e; color: #fcd34d; }
.banner small { display: block; margin-top: 4px; font-family: var(--mono); font-size: 11px; word-break: break-all; color: #f87171; }

/* ---------- 提出フォーム ---------- */
.upload {
  width: 100%; border: 1px dashed var(--ghost); border-radius: 16px;
  background: rgba(39, 31, 25, .5); color: var(--text);
  padding: 0; overflow: hidden;
}
.upload-empty { display: flex; flex-direction: column; align-items: center; padding: 48px 16px; gap: 7px; }
.upload-empty .glyph { font-size: 28px; color: var(--muted); }
.upload-empty .label { font-family: var(--serif); font-size: 16px; letter-spacing: .15em; color: #ece8e0; }
.upload-empty .hint { font-size: 12px; color: var(--faint); }
.pick-notice { font-size: 12px; color: var(--faint); text-align: center; line-height: 1.5; margin: 10px 6px 0; }
.upload-preview { position: relative; }
.upload-preview img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.upload-preview .change {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(0, 0, 0, .7); color: var(--text);
  font-size: 12px; padding: 5px 9px; border-radius: 6px;
}

.field-label { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); letter-spacing: .12em; margin: 16px 0 4px; }
.field-input {
  width: 100%; border-radius: 12px; padding: 13px;
  background: var(--panel); border: 1px solid var(--line);
  color: var(--text); font-size: 15px; outline: none;
}
.field-input::placeholder { color: var(--ghost); }

.gold-btn {
  width: 100%; margin-top: 20px; padding: 15px; border: 0; border-radius: 12px;
  font-weight: 700; letter-spacing: .15em; font-size: 16px; color: #1c1917;
  background: linear-gradient(135deg, #d97706, #f59e0b 55%, #fcd34d);
}
.gold-btn:disabled { opacity: .4; }
.outline-btn {
  width: 100%; margin-top: 12px; padding: 14px; border-radius: 12px;
  border: 1px solid var(--gold); color: var(--gold-soft); font-size: 15px; font-weight: 500;
  background: rgba(39, 31, 25, .55);
}
.share-btn { display: flex; align-items: center; justify-content: center; gap: 7px; }
.share-ico { width: 17px; height: 17px; flex-shrink: 0; }
.ts-widget { margin-top: 14px; display: flex; justify-content: center; min-height: 65px; }
.ghost-btn {
  border: 1px solid var(--line); color: var(--muted); font-size: 12px;
  background: rgba(39, 31, 25, .5); border-radius: 8px; padding: 7px 12px;
}
.ghost-btn:disabled { opacity: .4; }
.danger-btn {
  width: 100%; margin-top: 16px; padding: 14px; border-radius: 12px;
  border: 1px solid #7f1d1d; color: #f87171; font-size: 14px;
  background: rgba(69, 10, 10, .25);
}
.danger-btn.armed { color: #fecaca; background: rgba(127, 29, 29, .45); }

.stamina {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding: 11px 13px; border-radius: 12px;
  border: 1px solid var(--line-soft); background: rgba(39, 31, 25, .4);
  font-size: 13px; color: var(--muted);
}
.foot-hint { text-align: center; margin-top: 12px; font-size: 11px; color: var(--ghost); }

/* ---------- 鑑定中 ---------- */
.loading { display: flex; flex-direction: column; align-items: center; padding: 56px 0; }
.spin-wrap { position: relative; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.spin {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--gold-bright);
  animation: spin 1.2s linear infinite;
}
.spin-glyph { font-family: var(--serif); font-size: 24px; color: var(--gold); animation: breathe 2s ease-in-out infinite; }
.load-line { margin-top: 24px; font-family: var(--serif); font-size: 15px; letter-spacing: .15em; color: #ece8e0; text-align: center; }
.load-sub { margin-top: 8px; font-size: 12px; color: var(--faint); }

/* ---------- カード ---------- */
.issued { text-align: center; margin: 0 0 12px; font-family: var(--serif); font-size: 14px; letter-spacing: .2em; color: var(--gold); }
.frame { border-radius: 18px; padding: 4px; box-shadow: 0 24px 48px rgba(0, 0, 0, .5); }
.frame.reveal { animation: cardReveal .7s cubic-bezier(.2, .8, .2, 1) both; }
.frame-Common { background: linear-gradient(150deg, #a8a29e, #44403c 45%, #78716c); }
.frame-Rare { background: linear-gradient(150deg, #7dd3fc, #1d4ed8 45%, #38bdf8); }
.frame-Epic { background: linear-gradient(150deg, #d8b4fe, #7e22ce 45%, #c084fc); }
.frame-Legendary {
  background: linear-gradient(120deg, #92400e, #fde68a, #f59e0b, #fff7d6, #b45309);
  background-size: 300% 300%;
  animation: legendFlow 5s ease-in-out infinite;
}
.card { position: relative; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #1a1511, #2a221b); }
.shimmer {
  position: absolute; inset: 0; z-index: 10; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .2) 50%, transparent 65%);
  background-size: 250% 100%;
  animation: shimmerMove 3s linear infinite;
}

/* ---------- 属性別オーラ（主属性でカードを彩る） ---------- */
.elem-fire    { --elem: #f97316; --aura: rgba(249, 115, 22, .22); }
.elem-water   { --elem: #38bdf8; --aura: rgba(56, 189, 248, .20); }
.elem-thunder { --elem: #facc15; --aura: rgba(250, 204, 21, .20); }
.elem-wind    { --elem: #2dd4bf; --aura: rgba(45, 212, 191, .18); }
.elem-earth   { --elem: #f59e0b; --aura: rgba(245, 158, 11, .20); }
.elem-dark    { --elem: #a78bfa; --aura: rgba(167, 139, 250, .22); }
.elem-light   { --elem: #fde68a; --aura: rgba(253, 230, 138, .22); }
.elem-none    { --elem: #a8a29e; --aura: transparent; }
.frame:not(.elem-none) .card {
  background: radial-gradient(135% 62% at 50% -10%, var(--aura), transparent 60%),
             linear-gradient(180deg, #1a1511, #2a221b);
}
.frame:not(.elem-none) { box-shadow: 0 24px 48px rgba(0, 0, 0, .5), 0 0 26px -8px var(--elem); }

/* ---------- ホログラム（Rare以上）: GPU軽量・background-positionのみ ---------- */
.holo-sheen {
  position: absolute; inset: 0; z-index: 9; pointer-events: none;
  mix-blend-mode: color-dodge; opacity: .5;
  background: linear-gradient(115deg, transparent 16%,
    rgba(255, 40, 140, .30) 30%, rgba(255, 220, 40, .30) 40%,
    rgba(60, 255, 180, .30) 50%, rgba(60, 170, 255, .30) 60%,
    rgba(200, 80, 255, .30) 70%, transparent 86%);
  background-size: 280% 280%;
  animation: holoShift 6.5s linear infinite;
}
/* 傾きが取れる端末ではアニメより DeviceOrientation 同期を優先（JSループ不使用） */
body.tilt .holo-sheen {
  animation: none;
  background-position: calc(50% + var(--tiltx, 0%)) calc(50% + var(--tilty, 0%));
}
@keyframes holoShift { 0% { background-position: 0% 50%; } 100% { background-position: 280% 50%; } }

/* ---------- 必殺技 ---------- */
.smove {
  position: relative; z-index: 2; margin: 13px 14px 0; padding: 8px 11px; border-radius: 9px;
  background: linear-gradient(100deg, rgba(124, 58, 237, .20), rgba(56, 189, 248, .12));
  border: 1px solid var(--line-soft); display: flex; align-items: baseline; gap: 9px;
}
.smove-label {
  font-size: 10px; letter-spacing: .16em; color: var(--gold-soft); flex-shrink: 0;
  border: 1px solid var(--gold); border-radius: 4px; padding: 1px 6px;
}
.smove-name { font-family: var(--serif); font-size: 15px; color: #e9d5ff; letter-spacing: .04em; line-height: 1.45; }

.card-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 13px 9px; }
.sid { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--faint); }
.badge { font-size: 12px; padding: 3px 11px; border-radius: 999px; letter-spacing: .08em; font-weight: 500; }
.badge-Common { background: #292524; color: #e7e5e4; border: 1px solid #57534e; }
.badge-Rare { background: #082f49; color: #7dd3fc; border: 1px solid #0369a1; }
.badge-Epic { background: #3b0764; color: #d8b4fe; border: 1px solid #7e22ce; }
.badge-Legendary { background: #451a03; color: #fcd34d; border: 1px solid #b45309; }
.badge-score { margin-left: 7px; opacity: .75; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.photo-wrap { position: relative; margin: 0 13px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.photo-wrap img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-wrap::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 40px rgba(0, 0, 0, .45); pointer-events: none; }
.photo-wrap .cls {
  position: absolute; left: 8px; top: 8px; z-index: 2;
  background: rgba(0, 0, 0, .72); border: 1px solid #57534e;
  color: var(--text); font-size: 12px; letter-spacing: .1em;
  padding: 3px 9px; border-radius: 6px;
}
.name { text-align: center; padding: 16px 16px 0; font-family: var(--serif); font-size: 24px; letter-spacing: .08em; }
.name-Common { color: #f4f1ea; } .name-Rare { color: #bae6fd; }
.name-Epic { color: #e9d5ff; } .name-Legendary { color: #fde68a; }
.attrs { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.chip { font-size: 12px; padding: 3px 10px; border-radius: 6px; border: 1px solid; }
.attr-fire { background: #450a0a; color: #fca5a5; border-color: #991b1b; }
.attr-water { background: #172554; color: #93c5fd; border-color: #1d4ed8; }
.attr-thunder { background: #422006; color: #fde047; border-color: #a16207; }
.attr-wind { background: #042f2e; color: #5eead4; border-color: #0f766e; }
.attr-earth { background: #431407; color: #fdba74; border-color: #9a3412; }
.attr-dark { background: #2e1065; color: #c4b5fd; border-color: #6d28d9; }
.attr-light { background: #fef3c7; color: #78350f; border-color: #fcd34d; }
.attr-none { background: #292524; color: #e7e5e4; border-color: #57534e; }
.stats { padding: 14px 16px 0; }
.stat { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.stat-k { width: 36px; font-size: 11px; letter-spacing: .15em; color: var(--muted); }
.stat-track { flex: 1; height: 10px; border-radius: 999px; background: #2c2620; overflow: hidden; }
.stat-fill { height: 100%; border-radius: 999px; transform-origin: left; animation: barIn .9s ease-out both; }
.bar-atk { background: linear-gradient(90deg, #dc2626, #f87171); }
.bar-mag { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.bar-dur { background: linear-gradient(90deg, #16a34a, #4ade80); }
.bar-wgt { background: linear-gradient(90deg, #d97706, #fbbf24); }
.stat-v { width: 28px; text-align: right; font-family: var(--mono); font-size: 13px; color: #ece8e0; }
/* 総合力（四値の総和）を強調した5本目のバーとして表示 */
.total-stat { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.total-stat .stat-k { color: var(--gold-soft); font-weight: 700; letter-spacing: .08em; width: auto; }
.total-stat .stat-track { height: 12px; }
.bar-total { background: linear-gradient(90deg, #b45309, #f59e0b 55%, #fcd34d); }
.total-stat .stat-v { width: auto; font-size: 19px; font-weight: 800; color: var(--gold-soft); }
.total-max { font-size: 11px; font-weight: 400; color: var(--faint); margin-left: 2px; }
.flavor {
  margin: 15px 16px 0; padding: 13px; border-radius: 10px;
  background: rgba(39, 31, 25, .7); border: 1px solid rgba(88, 76, 64, .7);
  font-family: var(--serif); font-size: 15px; line-height: 1.9; color: #ece8e0;
}
.note { margin: 9px 16px 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
.note span { color: var(--gold-soft); }
.ctx { margin: 5px 16px 0; font-size: 11px; color: var(--faint); }
.card-foot { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; }
.card-foot span:first-child { font-size: 11px; letter-spacing: .2em; color: var(--faint); }
.card-url { color: var(--gold); letter-spacing: .08em; }
.mono { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.seal {
  position: absolute; right: 14px; bottom: 40px; width: 48px; height: 48px;
  border: 2px solid rgba(216, 54, 44, .85); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(12deg); user-select: none;
}
.seal span { font-family: var(--serif); font-size: 11px; line-height: 1.2; text-align: center; color: rgba(216, 54, 44, .92); }
.vaulted-line { text-align: center; margin-top: 14px; font-size: 13px; color: var(--gold-soft); letter-spacing: .12em; }

/* ---------- 図鑑 ---------- */
.vault-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.vault-title { font-family: var(--serif); font-size: 20px; letter-spacing: .2em; }
.vault-count { font-size: 12px; color: var(--muted); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini { text-align: left; padding: 0; border: 0; background: none; }
.mini-frame { border-radius: 14px; padding: 2px; }
.mini-card { border-radius: 12px; overflow: hidden; background: var(--panel); }
.mini-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.mini-body { padding: 9px; }
.mini-name { font-family: var(--serif); font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 5px; }
.mini-sid { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.mini-rar { font-size: 11px; font-weight: 500; }
.mini-total { font-size: 15px; font-weight: 800; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.mini-total-max { font-size: 9px; font-weight: 400; color: var(--faint); margin-left: 1px; }
.rar-Common { color: #c8bdaf; } .rar-Rare { color: #38bdf8; }
.rar-Epic { color: #c084fc; } .rar-Legendary { color: #fbbf24; }
.empty { display: flex; flex-direction: column; align-items: center; padding: 56px 0; text-align: center; }
.empty .glyph { font-size: 28px; color: var(--ghost); }
.empty .l1 { margin-top: 14px; font-family: var(--serif); font-size: 16px; color: var(--muted); }
.empty .l2 { margin-top: 4px; font-size: 13px; color: var(--faint); }
.empty .gold-btn { width: auto; padding: 12px 26px; }

/* ---------- モーダル ---------- */
.modal {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(0, 0, 0, .88);
  overflow-y: auto; padding: 24px 16px 60px;
}
.modal.hidden { display: none; }
.modal-inner { max-width: 430px; margin: 0 auto; }
.modal-close-row { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.modal-close {
  border: 1px solid var(--line); background: rgba(39, 31, 25, .6);
  color: #ece8e0; border-radius: 50%; width: 40px; height: 40px; font-size: 17px;
}
.modal-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.modal-count { color: var(--gold-soft); font-size: 13px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.modal-arrows { display: flex; justify-content: space-between; gap: 12px; margin: 14px 0 8px; }
.modal-arrow {
  flex: 1; border: 1px solid var(--line); background: rgba(39, 31, 25, .6);
  color: var(--gold-soft); border-radius: 12px; padding: 10px 0; font-size: 22px; line-height: 1;
}
.modal-arrow:disabled { opacity: .3; color: var(--faint); }
.modal-card-wrap.slide-next { animation: slideNext .22s ease; }
.modal-card-wrap.slide-prev { animation: slidePrev .22s ease; }

/* ---------- タブバー ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: rgba(24, 19, 15, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line-soft);
  padding-bottom: env(safe-area-inset-bottom);
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 13px 0; border: 0; background: none; color: var(--faint); font-size: 11px; letter-spacing: .15em; }
.tab-ico { font-size: 19px; }
.tab.active { color: var(--gold-soft); }

/* ---------- アニメーション ---------- */
@keyframes legendFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes shimmerMove { 0% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
@keyframes slideNext { from { opacity: .3; transform: translateX(38px); } to { opacity: 1; transform: none; } }
@keyframes slidePrev { from { opacity: .3; transform: translateX(-38px); } to { opacity: 1; transform: none; } }
@keyframes cardReveal { from { opacity: 0; transform: translateY(26px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes barIn { from { transform: scaleX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .frame-Legendary, .shimmer, .holo-sheen, .frame.reveal, .stat-fill, .spin, .spin-glyph, .modal-card-wrap { animation: none !important; }
}

/* ---------- 入局（ログイン） ---------- */
.login-card {
  margin-top: 8px; padding: 32px 20px; border-radius: 16px;
  border: 1px solid var(--line-soft); background: rgba(39, 31, 25, .5);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
/* ---------- ログイン前ランディング（集客導線） ---------- */
.hero { text-align: center; margin-bottom: 22px; }
.hero-lead {
  font-size: 14px; line-height: 1.95; color: var(--muted);
  margin: 0 auto 20px; max-width: 360px;
}
.steps { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 22px; }
.step { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 86px; }
.step-ico {
  font-family: var(--serif); font-size: 21px; color: var(--gold);
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(39, 31, 25, .5);
}
.step-cap { font-size: 11px; color: var(--faint); line-height: 1.45; }
.step-sep { color: var(--ghost); font-size: 14px; align-self: flex-start; margin-top: 14px; }
.rarity-pitch {
  font-family: var(--serif); font-size: 13px; letter-spacing: .15em;
  color: var(--muted); margin-bottom: 11px;
}
.rarity-row { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; }

.login-glyph { font-family: var(--serif); font-size: 32px; color: var(--gold); }
.login-title { margin-top: 12px; font-family: var(--serif); font-size: 19px; letter-spacing: .2em; }
.login-body { margin-top: 10px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.gsi-wrap { margin-top: 20px; min-height: 44px; display: flex; justify-content: center; }
.login-note { margin-top: 12px; font-size: 12px; color: var(--faint); }
.login-card .outline-btn { max-width: 280px; }
.logout-row { text-align: center; margin-top: 16px; }

/* ---------- 案内 ---------- */
.guide .gd { margin-bottom: 26px; }
.guide h2 {
  font-family: var(--serif); font-size: 16px; letter-spacing: .12em;
  color: var(--gold-soft); border-bottom: 1px solid var(--line-soft);
  padding-bottom: 6px; margin: 0 0 10px;
}
.guide p { margin: 8px 0; font-size: 14px; line-height: 1.9; color: var(--muted); }
.gd-dl { margin: 0; }
.gd-dl dt { color: var(--gold-soft); font-size: 13px; letter-spacing: .06em; margin-top: 10px; }
.gd-dl dd { margin: 2px 0 0; font-size: 13px; line-height: 1.8; color: var(--muted); }
.guide .danger-btn { margin-top: 26px; }
.guide .foot-links { margin-top: 28px; }

/* ---------- 法務リンク ---------- */
.login-legal { margin-top: 16px; font-size: 11px; line-height: 1.9; color: var(--faint); }
.login-legal a { color: var(--muted); }
.foot-links { text-align: center; margin-top: 18px; font-size: 11px; color: var(--ghost); }
.foot-links a { color: var(--faint); }
