/* サブスク監査室：事務机と朱肉 */
:root {
  --accent: #2f5d8a; --accent-ink: #ffffff; --accent-soft: #dfe9f3;
  --sk-red: #c0392b; --sk-desk: #e9e1d2; --sk-desk-2: #d8cdb8; --sk-paper: #ffffff; --sk-ghost: #ffffff; --sk-ghost-line: #5a6578;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --accent: #8fb6e0; --accent-ink: #0f1220; --accent-soft: #1f2d42; --sk-red: #f0796b; --sk-desk: #2a2620; --sk-desk-2: #221f1a; --sk-paper: #34302a; --sk-ghost: #e8ecf4; --sk-ghost-line: #2a3142; }
}
:root[data-theme="dark"] { --accent: #8fb6e0; --accent-ink: #0f1220; --accent-soft: #1f2d42; --sk-red: #f0796b; --sk-desk: #2a2620; --sk-desk-2: #221f1a; --sk-paper: #34302a; --sk-ghost: #e8ecf4; --sk-ghost-line: #2a3142; }

/* ヒーロー：机の書類・幽霊・はんこ */
.sk-hero { position: relative; height: 190px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--sk-desk), var(--sk-desk-2)); overflow: hidden; }
.sk-desk { position: absolute; inset: 0; }
.sk-paper { position: absolute; width: 120px; height: 150px; background: var(--sk-paper); border-radius: 6px; box-shadow: var(--shadow); background-image: repeating-linear-gradient(180deg, transparent 0 18px, var(--line) 18px 19px); }
.sk-paper.p1 { left: 10%; top: 26px; transform: rotate(-8deg); }
.sk-paper.p2 { left: 30%; top: 18px; transform: rotate(4deg); }
.sk-paper.p3 { left: 50%; top: 34px; transform: rotate(-2deg); }
.sk-ghost { width: 60px; height: 70px; }
.sk-ghost-b { fill: var(--sk-ghost); stroke: var(--sk-ghost-line); stroke-width: 2.4; }
.sk-ghost-e { fill: var(--sk-ghost-line); }
.sk-ghost-m { fill: none; stroke: var(--sk-ghost-line); stroke-width: 2.4; stroke-linecap: round; }
.sk-ghost-hero { position: absolute; left: 22%; top: 40px; width: 72px; height: 84px; opacity: .92; animation: sk-float 3.4s ease-in-out infinite; }
@keyframes sk-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(4deg); } }
.sk-stamp { width: 110px; height: 110px; }
.sk-hero .sk-stamp { position: absolute; right: 8%; bottom: 14px; transform: rotate(-14deg); }
.sk-stamp-r { fill: none; stroke: var(--sk-red); stroke-width: 6; }
.sk-stamp-r2 { fill: none; stroke: var(--sk-red); stroke-width: 2; }
.sk-stamp-t { fill: var(--sk-red); font-family: "Hiragino Mincho ProN", "Noto Serif CJK JP", "Yu Mincho", serif; font-weight: 900; font-size: 26px; text-anchor: middle; }

/* ジャンル選択 */
.sk-h { font-size: 20px; margin: 0; }
.sk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sk-gc { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; text-align: left; padding: 10px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; min-height: 64px; }
.sk-gc > span { grid-row: 1 / 3; }
.sk-gc b { font-size: 14px; line-height: 1.35; }
.sk-gc small { font-size: 11px; color: var(--text-sub); line-height: 1.35; }
.sk-gc.is-on { border-color: var(--accent); background: var(--accent-soft); }
.sk-ic { width: 26px; height: 26px; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; color: var(--accent); }
.sk-ic-l { width: 44px; height: 44px; }

/* 聞き取り */
.sk-q { display: flex; gap: 12px; align-items: center; }
.sk-label { display: block; font-weight: 700; margin: 0 0 8px; }
.sk-price-row { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; }
.sk-price { flex: 1; min-width: 0; font: inherit; font-size: 26px; font-weight: 800; padding: 8px 12px; border-radius: 10px; border: 2px solid var(--line); background: var(--surface-2); color: var(--text); }
.sk-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sk-chip { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 6px 12px; font-size: 14px; cursor: pointer; min-height: 36px; }
.sk-yearly { display: flex; gap: 6px; align-items: center; font-size: 14px; color: var(--text-sub); margin-top: 10px; }
.sk-fq.is-on { border-color: var(--accent); background: var(--accent-soft); }

/* 監査中 */
.sk-scan { width: 120px; margin: 16px auto; position: relative; }
.sk-scan .sk-ghost { width: 120px; height: 140px; animation: sk-float 1.6s ease-in-out infinite; }

/* 結果 */
.sk-result { position: relative; text-align: center; background: var(--sk-paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 12px; overflow: hidden; }
.sk-result .sk-stamp { animation: sk-stamp .6s cubic-bezier(.2, 1.6, .4, 1) both; transform: rotate(-12deg); }
@keyframes sk-stamp { from { transform: scale(2.4) rotate(-12deg); opacity: 0; } to { transform: rotate(-12deg); opacity: 1; } }
.sk-verdict { font-size: 22px; font-weight: 900; margin: 6px 0 2px; }
.sk-ghosts { position: absolute; inset: 0; pointer-events: none; }
.sk-ghost-f { position: absolute; width: 40px; height: 47px; opacity: .85; animation: sk-float 3s ease-in-out infinite; }
.sk-ghost-f.g0 { left: 6%; top: 14px; } .sk-ghost-f.g1 { right: 7%; top: 22px; animation-delay: -1s; } .sk-ghost-f.g2 { left: 14%; top: 82px; animation-delay: -2s; }
.sk-ghost-f.g3 { right: 16%; top: 92px; animation-delay: -.5s; } .sk-ghost-f.g4 { left: 2%; top: 140px; animation-delay: -1.5s; } .sk-ghost-f.g5 { right: 2%; top: 150px; animation-delay: -2.5s; }
.sk-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sk-nums > div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px; text-align: center; min-width: 0; }
.sk-nums small { display: block; font-size: 12px; color: var(--text-sub); }
.sk-nums b { font-size: clamp(16px, 5vw, 22px); }
.sk-nums .is-ghost b { color: var(--sk-red); }
.sk-line { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; margin: 0; }
.sk-line b { color: var(--sk-red); }
.sk-rows { list-style: none; padding: 0; margin: 6px 0 0; }
.sk-rows li { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sk-rows .sk-ic { width: 22px; height: 22px; }
.sk-tag { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--good-soft); color: var(--good); }
.sk-rows li.is-watch .sk-tag { background: var(--warn-soft); color: var(--warn); }
.sk-rows li.is-ghost .sk-tag { background: var(--bad-soft); color: var(--bad); }
.sk-cmp { padding-left: 1.2em; margin: 6px 0; }
.sk-note { font-size: 13px; color: var(--text-sub); border-left: 3px solid var(--line); padding: 4px 0 4px 10px; }
