/* Ameba Ownd お引っ越しキット。配色は kantan-tools 共通（furikaeri-matome e39fe8c css/style.css 冒頭の変数・部品を写したもの。もとは atena-kantan 35f1c35）。変えない */
[hidden] { display: none !important; }
:root { --blue: #1f6feb; --ink: #1d232b; --muted: #5b6573; --bg: #f5f7fa; --card: #fff; --line: #dde3ea; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; overflow-wrap: anywhere;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.top { background: var(--blue); color: #fff; padding: 14px 16px 10px; }
.top h1 { margin: 0 auto; font-size: 1.3rem; max-width: 960px; }
.top a { color: #fff; }
.lead { margin: 4px auto 8px; font-size: .9rem; max-width: 960px; }
main { max-width: 960px; margin: 0 auto; padding: 12px 14px 24px; }
h2 { font-size: 1.2rem; margin: 10px 0 10px; }
h3 { font-size: 1rem; margin: 14px 0 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 16px; border-radius: 12px;
  border: 2px solid var(--blue); background: #fff; color: var(--blue); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; text-align: center; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.big { min-height: 56px; font-size: 1.05rem; }
.btn.ghost-line { border-color: var(--line); color: var(--ink); }
.btn.danger-text { color: #c0262d; border-color: #e7b3b5; }
.btn:disabled { opacity: .45; cursor: default; }
.btn:focus-visible, label.btn:focus-within { outline: 3px solid #ffb800; outline-offset: 2px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; align-items: center; }
.err { color: #c0262d; font-weight: 700; margin: 6px 0; white-space: pre-line; }
.err:empty { display: none; }
.info { color: var(--blue); font-weight: 700; margin: 6px 0; }
.info:empty { display: none; }
.warn { color: #9a5b00; }
.hint { font-size: .88rem; color: var(--muted); margin: 4px 0 8px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.card[aria-disabled="true"] { opacity: .55; }
.box summary, .faq summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.foot { text-align: center; font-size: .8rem; color: var(--muted); padding: 10px 16px 24px; }
.foot p { margin: 2px 0; }
.foot a { color: var(--muted); }
/* このツール用（色は上の変数と、既存の .warn / .err / kt-local の色だけ） */
.beta { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #fff; color: var(--blue); font-size: .8rem; font-weight: 700; line-height: 1.5; }
.unofficial { margin: 0 auto; max-width: 960px; font-size: .8rem; opacity: .95; }
.notice { border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 10px 14px; margin: 10px 0; font-size: .92rem; }
.notice-beta { border-left: 4px solid var(--blue); }
.notice-beta .beta { margin: 0 6px 0 0; background: var(--blue); color: #fff; }
.notice-deadline { color: #9a5b00; font-weight: 700; }
.notice-end { color: #c0262d; font-weight: 700; border-color: #e7b3b5; }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 120px; border: 2px dashed #b9c3cf; border-radius: 12px;
  background: #fff; padding: 14px; text-align: center; }
.drop.is-over { border-color: var(--blue); background: #eef4ff; }
.drop input[type=file] { font-size: 16px; max-width: 100%; min-height: 44px; }
.file-list { margin: 6px 0; padding-left: 1.2em; font-size: .9rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 8px 0; }
.stat { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: var(--bg); }
.stat dt { font-size: .8rem; color: var(--muted); }
.stat dd { margin: 0; font-size: 1.15rem; font-weight: 700; }
.stat dd small { font-size: .78rem; font-weight: 400; color: var(--muted); display: block; }
.search { width: 100%; font: inherit; font-size: 16px; min-height: 44px; padding: 8px 10px; border: 1px solid #b9c3cf; border-radius: 10px; }
.doc-list { list-style: none; margin: 8px 0; padding: 0; max-height: 420px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.doc-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.doc-list li:last-child { border-bottom: 0; }
.doc-title { font-weight: 700; min-width: 0; }
.doc-meta { font-size: .82rem; color: var(--muted); grid-column: 1 / -1; }
.tag { display: inline-block; font-size: .75rem; border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; color: var(--muted); white-space: nowrap; align-self: start; }
.opts { display: grid; gap: 8px; margin: 8px 0; }
.opt { display: flex; gap: 8px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 10px; min-height: 44px; }
.opt input[type=radio] { width: 22px; height: 22px; margin: 2px 0 0; flex: 0 0 auto; }
.opt select, .row select { font: inherit; font-size: 16px; min-height: 44px; padding: 4px 8px; border: 1px solid #b9c3cf; border-radius: 8px; background: #fff; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
progress { width: 100%; height: 18px; }
.prog-text { font-size: .92rem; margin: 4px 0; }
.vol-list { margin: 6px 0; padding-left: 1.2em; font-size: .9rem; }
.vol-item { margin: 6px 0; }
.vol-item .vol-name { display: block; overflow-wrap: anywhere; }
.vol-item .vol-save { margin: 4px 8px 4px 0; }
.vol-item .vol-state { font-size: .85rem; color: var(--muted); }
.result { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 6px; }
.steps-nav { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 0; padding: 0; list-style: none; font-size: .85rem; color: var(--muted); }
.steps-nav li { border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; background: var(--card); }
.about h3 { margin-top: 18px; }
.about table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.about th, .about td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
.table-wrap { overflow-x: auto; }
.faq { border-bottom: 1px solid var(--line); padding: 2px 0; }
.faq p { margin: 4px 0 10px; }
.lic { white-space: pre-wrap; font-size: .8rem; }
