/* SI忍者 CIS：主色 #0B1F44 / 輔色 #1E88FF / 強調 #00C6FF / 背景 #E6EDF6 · Noto Sans TC */
:root {
  --navy: #0B1F44;
  --navy-2: #12295a;
  --navy-3: #071533;
  --blue: #1E88FF;
  --cyan: #00C6FF;
  --mist: #E6EDF6;
  --white: #ffffff;
  --ink: #0B1F44;
  --muted: #5b6b88;
  --gold: #ffd166;
  --danger: #e5484d;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 31, 68, .12);
  --grad: linear-gradient(135deg, var(--blue), var(--cyan));
  font-family: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { color: var(--ink); background: var(--mist); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }
img { max-width: 100%; display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  border: 0; border-radius: 999px; padding: .7em 1.4em; font: inherit; font-weight: 700;
  cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s;
  background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(30, 136, 255, .35);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(30, 136, 255, .45); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px currentColor; }
.btn.dark { background: var(--navy); box-shadow: none; }
.btn.danger { background: var(--danger); box-shadow: none; }
.btn.sm { padding: .4em .9em; font-size: .88rem; }

.input, select.input, textarea.input {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #cfd9e8; border-radius: 10px; padding: .6em .8em; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 136, 255, .15); }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }

/* SI忍者 品牌標記 */
.si-brand { display: inline-flex; align-items: center; gap: .6em; text-decoration: none; color: inherit; }
.si-brand img { width: 2.6em; height: auto; }
.si-brand b { display: block; font-size: 1.35em; font-weight: 900; font-style: italic; letter-spacing: .02em; line-height: 1; }
.si-brand small { display: block; font-size: .72em; opacity: .8; letter-spacing: .08em; margin-top: .25em; }

/* 宣傳區塊 */
.promo-qr { background: #fff; border-radius: 12px; padding: 6px; width: 120px; height: 120px; }
.promo-qr img { width: 100%; height: 100%; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45em; }
.check-list li { padding-left: 1.6em; position: relative; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: .35em; width: 1em; height: 1em; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.swoosh { height: 4px; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent); }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(30px); opacity: 0;
  background: var(--navy); color: #fff; padding: .8em 1.4em; border-radius: 999px; z-index: 9999;
  transition: .3s; pointer-events: none; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: var(--danger); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
