:root { color-scheme: light; --bg: #f7f8f4; --card: #fff; --ink: #242d29; --muted: #58685f; --green: #188a77; --dark-green: #24563f; --mint: #e9f4ef; --coral: #f47158; --line: #e5ebe0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); background: var(--bg); font-synthesis: none; }
* { box-sizing: border-box; } body { margin: 0; line-height: 1.55; -webkit-font-smoothing: antialiased; } button, input { font: inherit; } button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 0; min-height: 44px; border: 0; cursor: pointer; text-align: center; line-height: 1.3; transition: background .16s, transform .16s; -webkit-tap-highlight-color: transparent; } button:active { transform: scale(.98); } button:disabled { opacity: .48; cursor: default; } button:focus-visible, input:focus-visible { outline: 3px solid #74b59a; outline-offset: 3px; } h1, h2, p { margin: 0; } [hidden] { display: none !important; } .shell { width: min(100%, 760px); margin: 0 auto; padding: 0 20px; } .card { background: var(--card); border: 1px solid #edf0e8; border-radius: 22px; box-shadow: 0 5px 18px #35432b05; } .muted { color: var(--muted); font-size: 14px; } .brand { display: flex; align-items: center; gap: 11px; padding-top: max(24px, env(safe-area-inset-top)); padding-bottom: 20px; } .brand-symbol { display: grid; grid-template-columns: 11px 11px; gap: 4px; transform: rotate(-8deg); } .brand-symbol i { height: 11px; border-radius: 4px; background: #188a77; } .brand-symbol i:nth-child(2) { background: #f47158; }.brand-symbol i:nth-child(3) { background: #ddb16b; }.brand-symbol i:nth-child(4) { background: #b9d8bd; }.brand > div:nth-child(2) { display: flex; align-items: baseline; gap: 10px; }.brand strong { font-size: 23px; letter-spacing: 2px; }.brand span:not(.environment-badge) { font-size: 13px; color: var(--muted); }.environment-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; margin-left: auto; padding: 4px 10px; color: #805826; background: #fff1dc; border-radius: 10px; font-size: 12px; font-weight: 600; line-height: 1.3; }.environment-note { display: flex; align-items: center; gap: 8px; padding: 12px 14px; margin-bottom: 20px; border-radius: 12px; color: #376650; background: var(--mint); font-size: 12px; }.note-dot { flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }.feedback { margin-bottom: 18px; padding: 14px 16px; border-radius: 14px; background: #ffebe7; color: #973d32; font-size: 14px; overflow-wrap: anywhere; }
.login-card { padding: 32px 24px 24px; text-align: center; }.gift-art { width: 116px; height: 108px; position: relative; margin: 0 auto 20px; border-radius: 36px; background: #f1f5e9; }.gift-art div { position: absolute; width: 50px; height: 44px; left: 33px; top: 35px; border-radius: 9px; background: #f49a7e; transform: rotate(-8deg); }.gift-art div::before { content: ''; position: absolute; left: -4px; top: 0; width: 58px; height: 12px; border-radius: 5px; background: var(--coral); }.gift-art div::after { content: ''; position: absolute; left: 21px; top: 0; width: 8px; height: 44px; background: #fff2dc; }.gift-art i { position: absolute; left: 42px; top: 24px; width: 34px; height: 15px; border: 5px solid #dd614e; border-radius: 50%; transform: rotate(-8deg); }.gift-art span { position: absolute; right: 16px; top: 10px; color: #bc8b31; font-size: 20px; }.eyebrow { font-size: 13px; color: #4f705b; letter-spacing: 1px; }.login-card h1 { margin-top: 12px; color: #2a4838; font-size: 30px; line-height: 1.45; letter-spacing: .5px; }.intro { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.9; }.login-divider { display: flex; align-items: center; gap: 12px; margin: 26px 0 16px; color: #5b7060; font-size: 12px; }.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }.demo-accounts { display: grid; gap: 12px; }.account-choice { width: 100%; min-height: 70px; padding: 14px 16px; gap: 12px; border: 1px solid #d5e2d4; border-radius: 16px; background: #f5f8f0; color: #2a4e39; text-align: left; }.account-choice > span:nth-child(2) { flex: 1; }.choice-name { display: block; font-size: 16px; font-weight: 600; }.choice-detail { display: block; margin-top: 5px; color: #536b59; font-size: 12px; }.choice-mark { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: #e0ebdc; color: #3d6549; font-size: 17px; }.choice-arrow { font-size: 25px; }.small-print { margin-top: 16px; color: #5b6c61; font-size: 12px; line-height: 1.8; }.button { width: 100%; min-height: 48px; border-radius: 14px; padding: 12px 18px; font-size: 15px; font-weight: 600; }.primary { color: #fff; background: var(--green); }
#dashboard { animation: rise-in .25s ease-out; }.account-card { display: flex; align-items: center; gap: 14px; padding: 18px; }.store-avatar { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: #fff1e7; color: #ad533f; font-size: 23px; flex-shrink: 0; font-weight: 600; }.account-copy { flex: 1; min-width: 0; }.account-copy > span { display: block; color: #5b6c61; font-size: 12px; }.account-copy h1 { font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }.account-copy p { color: #65736a; font-size: 11px; }.text-button { flex-shrink: 0; min-height: 44px; padding: 8px; border-radius: 10px; background: transparent; color: #376650; font-size: 12px; font-weight: 600; }.balance-card { position: relative; overflow: hidden; margin-top: 18px; padding: 22px 24px; border-radius: 22px; background: #e4eedf; color: #2e513a; }.balance-heading { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; }.balance-tag { display: inline-flex; align-items: center; min-height: 25px; padding: 3px 9px; border: 1px solid #bed2b6; border-radius: 9px; color: #456744; font-size: 11px; font-weight: 400; line-height: 1.3; }.balance-number { display: flex; align-items: baseline; gap: 10px; position: relative; z-index: 1; margin-top: 8px; }.balance-number strong { font-size: 60px; letter-spacing: -2px; line-height: 1.3; font-variant-numeric: tabular-nums; }.balance-number span { font-size: 14px; }.balance-card > p { position: relative; z-index: 1; margin-top: 8px; color: #4f6a51; font-size: 12px; }.balance-decoration { display: grid; grid-template-columns: repeat(2, 36px); gap: 8px; position: absolute; right: 26px; top: 59px; transform: rotate(-15deg); opacity: .5; }.balance-decoration i { height: 36px; border: 8px solid #9bb88a; border-radius: 12px; }.balance-decoration i:nth-child(2), .balance-decoration i:nth-child(3) { border-color: #b7caa7; }.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }.stat { padding: 16px 10px; text-align: center; border-radius: 16px; }.stat span { display: block; color: #58685f; font-size: 12px; }.stat strong { display: block; margin-top: 6px; font-size: 27px; line-height: 1.3; font-variant-numeric: tabular-nums; }.stat:nth-child(2) strong { color: #3d6e53; }.stat:nth-child(3) strong { color: #9b6a33; }
.code-section { margin-top: 28px; }.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }.section-heading h2 { font-size: 19px; }.section-heading p { margin-top: 5px; color: #58685f; font-size: 11px; }.refresh-button { padding: 10px 18px; min-height: 44px; background: #e4ede0; color: #305d40; border-radius: 13px; font-size: 14px; font-weight: 600; }.search-form { display: flex; align-items: center; gap: 12px; min-height: 50px; margin-top: 18px; padding: 4px 6px 4px 18px; border: 1px solid #dce5d7; border-radius: 15px; background: #fff; }.search-form input { min-width: 0; width: 100%; flex: 1; min-height: 42px; border: 0; color: #263d32; background: transparent; outline-offset: -1px; font-size: 14px; }.search-form input::placeholder { color: #65736a; }.search-mark { position: relative; width: 14px; height: 14px; flex-shrink: 0; border: 2px solid #72836f; border-radius: 50%; }.search-mark::after { content: ''; position: absolute; bottom: -4px; right: -4px; width: 6px; height: 2px; background: #72836f; transform: rotate(45deg); }.search-button { min-height: 40px; padding: 10px 15px; background: #eff4eb; color: #305d40; border-radius: 10px; font-size: 13px; font-weight: 600; }.filters { display: flex; gap: 8px; margin: 16px 0; padding: 5px; background: #edf1e8; border-radius: 14px; }.filters button { flex: 1; min-width: 0; min-height: 42px; padding: 8px 4px; border-radius: 11px; color: #53664f; background: transparent; font-size: 13px; white-space: nowrap; }.filters button[aria-pressed="true"] { color: #fff; background: #486a47; font-weight: 600; box-shadow: 0 3px 8px #304c3215; }.code-list { display: grid; gap: 12px; min-height: 120px; }.code-row { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid #edf0e8; }.code-row-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }.code-row h3 { margin: 0; color: #263d32; font-size: 15px; line-height: 1.6; }.status { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-height: 27px; padding: 4px 10px; border-radius: 9px; font-size: 11px; line-height: 1.3; font-weight: 500; }.status-available { color: #216045; background: #e6f4e9; }.status-redeemed { color: #55625a; background: #eff2ec; }.status-expired { color: #975326; background: #fff1dd; }.code-value { margin-top: 12px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 15px; color: #385542; letter-spacing: .2px; overflow-wrap: anywhere; }.code-row-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; }.code-row-date { color: #58685f; font-size: 12px; }.detail-button { min-width: 66px; min-height: 44px; padding: 10px 16px; background: #f0f5ed; color: #305d40; border-radius: 12px; font-size: 13px; font-weight: 600; }.empty { display: flex; align-items: center; justify-content: center; min-height: 150px; padding: 30px; border: 1px dashed #cedbc8; border-radius: 18px; color: #58685f; background: #f9fbf6; font-size: 14px; text-align: center; }.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }.page-button { min-height: 44px; padding: 10px 18px; border-radius: 12px; color: #376650; background: #eaf0e4; font-size: 13px; }.pagination span { color: #58685f; font-size: 12px; } footer { padding: 32px 0 max(24px, env(safe-area-inset-bottom)); color: #5b6c61; text-align: center; font-size: 12px; } footer p { margin-top: 5px; font-size: 11px; }
.dialog-backdrop { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 24px 20px; background: #1b302a70; backdrop-filter: blur(3px); }.dialog { position: relative; width: min(100%, 420px); max-height: min(90vh, 840px); overflow-y: auto; padding: 28px 24px 24px; text-align: center; animation: rise-in .2s ease-out; }.close-button { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; color: #58685f; background: transparent; border-radius: 12px; font-size: 28px; }.dialog h2 { margin: 14px 16px 8px; font-size: 22px; }.qr-box { margin: 20px auto 12px; padding: 8px; width: fit-content; max-width: 100%; border: 1px solid #e1e9dd; border-radius: 18px; }.qr-box img { display: block; width: 220px; max-width: 100%; height: auto; }.dialog-code { margin: 18px 0 10px; color: #2d523c; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 19px; line-height: 1.6; overflow-wrap: anywhere; }.dialog-description { margin: 14px 0 20px; color: #58685f; font-size: 13px; line-height: 1.8; }.toast { position: fixed; left: 50%; bottom: max(36px, env(safe-area-inset-bottom)); z-index: 30; transform: translateX(-50%); max-width: calc(100% - 40px); padding: 12px 20px; border-radius: 14px; color: #fff; background: #243d32ed; font-size: 14px; text-align: center; box-shadow: 0 6px 20px #0001; }.copy-helper { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 640px) { .shell { padding-left: 28px; padding-right: 28px; }.brand { padding-top: 32px; padding-bottom: 24px; }.login-card { max-width: 460px; margin: 0 auto; padding: 38px 36px 30px; }.code-list { grid-template-columns: 1fr 1fr; }.code-list > .empty { grid-column: 1 / -1; }.balance-card { padding: 26px 28px; }.balance-decoration { right: 42px; }.stat { padding: 18px; }.account-copy h1 { font-size: 20px; } }
@media (max-width: 350px) { .shell { padding-left: 14px; padding-right: 14px; }.brand > div:nth-child(2) { gap: 6px; }.brand span:not(.environment-badge) { font-size: 12px; }.account-card { gap: 10px; padding: 14px; }.store-avatar { width: 44px; height: 44px; }.account-copy h1 { font-size: 15px; }.text-button { padding: 5px; font-size: 11px; }.code-value { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.merchant-login{display:grid;gap:16px;margin-top:26px;text-align:left}.merchant-login label{font-size:13px;font-weight:600;color:#355343}.merchant-login input{display:block;box-sizing:border-box;width:100%;min-height:48px;margin-top:8px;padding:0 14px;border:1px solid #d9e4d9;border-radius:12px;background:#fafcf7;color:#243b32}.merchant-login input::placeholder{font-size:12px;color:#819184}.register-link{display:block;margin-top:18px;color:#28634b;font-size:12px;text-decoration:none}.purchase-entry{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;margin:16px 0;color:#245e48;text-decoration:none;background:#edf5e9}.purchase-entry strong,.purchase-entry small{display:block}.purchase-entry strong{font-size:15px}.purchase-entry small{margin-top:5px;font-size:11px;color:#5a745d}.purchase-entry b{flex-shrink:0;font-size:13px}.code-duration{display:inline-flex;align-items:center;justify-content:center;min-width:52px;min-height:27px;padding:5px 9px;border-radius:9px;background:#eef5e9;color:#386344;font-size:12px}.legacy-note{font-size:11px;color:#8a7255}.load-error{padding:22px;color:#9c5140;background:#fff0e9;border-radius:14px}a:focus-visible{outline:3px solid #74b59a;outline-offset:3px}
