[hidden] { display: none !important; }
:root {
  --bg: #120d09;
  --panel: #1d1611;
  --line: #3a2d22;
  --text: #f3e9dd;
  --muted: #b5a493;
  --gold: #f2b84b;
  --gold-2: #ffd27a;
  --ok: #6fcf7f;
  --err: #ff7a6b;
  --r: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-2); }
img, video { max-width: 100%; display: block; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
header.site {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
  background: rgba(18, 13, 9, .92);
  backdrop-filter: blur(8px);
}
header.site .wrap { display: flex; align-items: center; gap: 16px; height: 56px; }
header.site .logo { font-weight: 800; letter-spacing: .02em; color: var(--text); text-decoration: none; }
header.site .logo span { color: var(--gold); }
header.site nav { margin-left: auto; display: flex; gap: 18px; font-size: 14px; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--text); }

footer.site { border-top: 1px solid var(--line); margin-top: 64px; padding: 28px 0 40px; color: var(--muted); font-size: 13px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.site a { color: var(--muted); }

h1 { font-size: clamp(26px, 5vw, 40px); line-height: 1.25; margin: 0 0 12px; }
h2 { font-size: 22px; margin: 40px 0 12px; }
p.lead { color: var(--muted); font-size: 17px; margin: 0 0 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; cursor: pointer;
  padding: 14px 26px; font: inherit; font-weight: 700; font-size: 17px;
  text-decoration: none; transition: transform .08s ease, filter .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-play { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #2a1a05; box-shadow: 0 6px 24px rgba(242, 184, 75, .35); }
.btn-buy { background: #fff; color: #1a120b; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn:hover { filter: brightness(1.06); }
.btn[disabled] { opacity: .5; cursor: wait; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; text-decoration: none; color: var(--text); display: block;
}
.card .thumb { aspect-ratio: 9 / 12; object-fit: cover; width: 100%; }
.card .body { padding: 14px 16px 18px; }
.card .title { font-weight: 800; font-size: 18px; }
.card .meta { color: var(--muted); font-size: 14px; }

.hero { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 36px; align-items: start; padding-top: 32px; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 18px; padding-top: 18px; }
  .hero .phone { order: 2; max-height: 62vh; width: auto; margin: 0 auto; }
  .hero .lead { font-size: 15px; margin-bottom: 8px; }
  .hero .actions { flex-direction: column; }
  .hero .actions .btn { width: 100%; }
}
.phone { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 9 / 16; }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.price { font-size: 30px; font-weight: 800; }
.price small { font-size: 14px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 8px; }
.note { color: var(--muted); font-size: 13px; }

.compare { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 15px; }
.compare th, .compare td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.compare th { color: var(--muted); font-weight: 600; }
.compare td.y { color: var(--ok); font-weight: 700; }
.compare td.n { color: var(--muted); }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shots img { border-radius: 10px; border: 1px solid var(--line); aspect-ratio: 9/14; object-fit: cover; }

.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.key {
  font-family: ui-monospace, Consolas, monospace; font-size: 13px; word-break: break-all;
  background: #0c0907; border: 1px dashed var(--gold); border-radius: 10px; padding: 12px; margin: 10px 0;
}
.msg { padding: 12px 14px; border-radius: 10px; margin: 12px 0; }
.msg.ok { background: rgba(111, 207, 127, .12); color: var(--ok); }
.msg.err { background: rgba(255, 122, 107, .12); color: var(--err); }
.msg.info { background: rgba(242, 184, 75, .12); color: var(--gold-2); }
input[type=text], input[type=email], input[type=password], textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: #0c0907; color: var(--text); font: inherit;
}
.legal table { width: 100%; border-collapse: collapse; }
.legal th, .legal td { border-bottom: 1px solid var(--line); padding: 12px 8px; text-align: left; vertical-align: top; }
.legal th { width: 32%; color: var(--muted); font-weight: 600; }
.todo { background: #5a1d14; color: #ffd1c9; padding: 0 6px; border-radius: 4px; }
