/* Payment-side information pages (orders, refund policy, contact, service status).
   Uses the night-sky look from base.css / site.css; only what those files lack lives here. All class names start with ip-. */

.ip-stack { display: flex; flex-direction: column; gap: 24px; }
.ip-lead { margin: 0; color: var(--text-2); }
.ip-lead + * { margin-top: 14px; }
.ip-code { padding: 2px 8px; border-radius: 8px; background: #091230; color: #a9f5d4; font-family: Consolas, "Courier New", monospace; font-size: 14px; overflow-wrap: anywhere; word-break: break-all; }

/* Section heading: small pixel icon tile + Jua title */
.ip-head { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.ip-head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.2; color: #fff; }
.ip-head .tile { width: 48px; height: 48px; border-radius: 15px; }
.ip-head .tile > .pix { width: 34px; height: 34px; }
.ip-head .ip-head-side { margin-left: auto; }

/* Bullet lists */
.ip-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ip-list > li { position: relative; padding-left: 26px; color: var(--text-2); line-height: 1.65; }
.ip-list > li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 10px; height: 10px; border-radius: 3px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 0 3px #ffc94a26; }
.ip-list b, .ip-list strong { color: #fff; }
.ip-list.ip-check > li::before { content: "✓"; left: 0; top: 0.1em; width: 20px; height: 20px; border-radius: 7px; transform: none; box-shadow: none; display: grid; place-items: center; background: #6ee7b724; color: var(--mint); font-size: 13px; font-weight: 700; line-height: 1; }
.ip-list.ip-check > li { padding-left: 32px; }

/* "한눈에 보기" summary */
.ip-glance { border-color: #ffc94a59; background: linear-gradient(180deg, #1a1f3f 0%, var(--card) 70%); }
.ip-glance .ip-head h2 { color: var(--gold-text); }
.ip-foot { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--text-3); line-height: 1.65; }

/* Cases (refund steps) */
.ip-cases { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ip-case { display: grid; gap: 8px; padding: 18px 20px; border-radius: 18px; background: var(--card-in); border: 1px solid #22305c; }
.ip-case h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.3; color: #fff; }
.ip-case p { margin: 0; color: var(--text-2); line-height: 1.65; }
.ip-case p b { color: #fff; }
.ip-case-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }

/* Status chips */
.ip-chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; background: #95aaff29; color: #c9d5ff; font-size: 13px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.ip-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--moon); }
.ip-chip.ok { background: #6ee7b71f; color: #8ef0c6; }
.ip-chip.ok::before { background: var(--mint); }
.ip-chip.wait { background: #ffc94a24; color: var(--gold-text); }
.ip-chip.wait::before { background: var(--gold); }
.ip-chip.bad { background: #ff8fa31f; color: #ffc2cd; }
.ip-chip.bad::before { background: var(--rose); }
.ip-chip.idle { background: #1f2c57; color: var(--text-2); }
.ip-chip.idle::before { background: #6c78a6; }

/* Label / value rows */
.ip-kv { margin: 0; display: grid; grid-template-columns: 170px minmax(0, 1fr); border-top: 1px solid var(--line-soft); }
.ip-kv dt, .ip-kv dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.ip-kv dt { color: var(--text-3); font-size: 15px; }
.ip-kv dd { color: var(--text); font-weight: 700; overflow-wrap: anywhere; }
.ip-kv dd small { display: block; margin-top: 2px; font-weight: 400; font-size: 13px; color: var(--text-3); }
.ip-tbd { padding: 2px 8px; border-radius: 8px; background: #ffc94a1f; color: var(--gold-text); font-weight: 700; font-size: 14px; }

/* Contact channels */
.ip-channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ip-channel { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.ip-channel .tile { width: 56px; height: 56px; border-radius: 18px; }
.ip-channel .tile > .pix { width: 40px; height: 40px; }
.ip-channel h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.2; color: #fff; }
.ip-channel p { margin: 0; color: var(--text-2); }
.ip-channel .ip-grow { flex: 1; }
.ip-channel .button.discord { text-decoration: none; }
.ip-scope { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ip-scope li { padding: 6px 14px; border-radius: 999px; background: #95aaff1f; border: 1px solid #95aaff55; color: #dce4ff; font-size: 14px; font-weight: 700; }
.ip-safe { margin: 0; }
.ip-safe img { flex: none; }
.ip-safe span { display: flex; flex-direction: column; gap: 2px; }
.ip-safe span small { font-size: 14px; font-weight: 400; color: #f3dca0; }

/* Order lookup form */
.ip-lookup { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.ip-lookup input { flex: 1 1 260px; min-width: 0; height: 54px; padding: 0 16px; border: 1px solid #2e3d70; border-radius: 14px; background: var(--tray); color: var(--text); font-size: 16px; }
.ip-lookup input:focus { border-color: var(--moon); }
.ip-lookup input::placeholder { color: var(--text-3); }
.ip-lookup .btn { flex: 0 0 auto; }
.ip-hint { margin: 10px 0 0; font-size: 14px; color: var(--text-3); }
.ip-result:empty { display: none; }

/* Orders */
.ip-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ip-bar h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 26px; color: #fff; }
.ip-orders { display: grid; gap: 16px; }
.ip-order { padding: 20px 22px; border-radius: 20px; background: var(--card-in); border: 1px solid #22305c; }
.ip-order-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.ip-order-pts { margin-left: auto; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.2; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.ip-order-desc { margin: 8px 0 4px; font-size: 14px; color: var(--text-3); }
.ip-order .ip-kv { margin-top: 12px; }
.ip-order .ip-kv dd { font-weight: 400; color: var(--text-2); }
.ip-order .ip-kv dd b { color: #fff; }
.ip-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px 16px 40px; text-align: center; }
.ip-empty .game-icon, .card .ip-empty .game-icon { width: 96px; height: 96px; border-radius: 28px; background: radial-gradient(circle at 50% 35%, #3a2f18 0%, #1e1a2e 80%); border: 1px solid #5b4a22; box-shadow: none; }
.ip-empty .game-icon > .pix, .card .ip-empty .game-icon > .pix { width: 72px; height: 72px; }
.ip-empty h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 28px; color: #fff; }
.ip-empty p { margin: 0; max-width: 460px; color: var(--text-2); }
.ip-loading { padding: 28px 8px; text-align: center; color: var(--text-3); }

/* Service status board */
.ip-board { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ip-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; background: var(--card-in); border: 1px solid #22305c; }
.ip-dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: #6c78a6; box-shadow: 0 0 0 5px #6c78a626; }
.ip-dot.ok { background: var(--mint); box-shadow: 0 0 0 5px #6ee7b72b; }
.ip-dot.test { background: var(--gold); box-shadow: 0 0 0 5px #ffc94a2b; }
.ip-dot.soon { background: var(--moon); box-shadow: 0 0 0 5px #95aaff2b; }
.ip-dot.bad { background: var(--rose); box-shadow: 0 0 0 5px #ff8fa32b; }
.ip-row-body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.ip-row-body b { color: #fff; font-size: 17px; }
.ip-row-body small { font-size: 14px; color: var(--text-3); }
.ip-row .ip-chip { margin-left: auto; }

@media (max-width: 860px) {
  .ip-channels { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .ip-head h2, .ip-bar h2 { font-size: 22px; }
  .ip-head .tile { width: 42px; height: 42px; }
  .ip-kv { grid-template-columns: minmax(0, 1fr); }
  .ip-kv dt { padding: 12px 0 0; border-bottom: 0; font-size: 14px; }
  .ip-kv dd { padding: 2px 0 12px; }
  .ip-order { padding: 16px; }
  .ip-order-pts { margin-left: 0; width: 100%; font-size: 24px; }
  .ip-case { padding: 16px; }
  .ip-row { padding: 14px 16px; gap: 12px; flex-wrap: wrap; }
  .ip-row .ip-chip { margin-left: 26px; }
  .ip-lookup .btn { width: 100%; }
  .ip-bar .btn { width: 100%; }
  .ip-empty .btn { width: 100%; }
}
