:root { color-scheme: light; --paper: #f7f3ec; --ink: #30231b; --muted: #706258; --line: #d9cec0; --brown: #201711; --orange: #e8b18b; font: 18px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 5px; }
button, input { font: inherit; }
button, a, input, summary { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #a5472f; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.15; letter-spacing: -.035em; }
h1 { font-size: clamp(40px, 7vw, 58px); margin-bottom: 28px; }
h2 { font-size: 30px; }
h3 { font-size: 27px; }
.skip { position: fixed; left: 16px; top: -100px; padding: 12px; background: var(--paper); z-index: 2; }
.skip:focus { top: 12px; }
.page-header { background: var(--brown); color: #f8f0df; }
.header-inner { width: min(960px, calc(100% - 48px)); min-height: 102px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { width: 120px; flex-shrink: 0; }
.brand img { display: block; width: 100%; height: 80px; object-fit: contain; mix-blend-mode: lighten; }
.header-inner > a:last-child { text-decoration: none; padding-block: 12px; }
main { width: min(860px, calc(100% - 48px)); margin: 44px auto 60px; }
#page-message { margin: 0 0 24px; overflow-wrap: anywhere; }
#page-message:empty { display: none; }
#page-message[data-error="true"] { color: #922f24; border-left: 3px solid currentColor; padding-left: 14px; }
.sign-in { max-width: 490px; }
label { display: block; margin-bottom: 8px; }
input { display: block; width: 100%; min-width: 0; min-height: 54px; padding: 12px 14px; border: 1px solid #b6a793; border-radius: 7px; background: #fffdf8; color: var(--ink); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 13px 22px; border: 1px solid var(--ink); border-radius: 7px; background: var(--ink); color: #fffaf1; text-decoration: none; font-weight: 600; text-align: center; }
.button.secondary { background: transparent; color: var(--ink); }
form > .button { margin-top: 18px; }
.sign-in form > .button { width: 100%; }
.simple-section { margin-top: 20px; }
summary { cursor: pointer; min-height: 52px; padding-block: 12px; }
.simple-section > p { margin: 10px 0; }
.simple-section > a { display: block; padding: 10px 0; }
.simple-section form { margin: 12px 0 22px; }
.reward-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.balance-card, .invite-card { padding: 30px; border-radius: 14px; }
.balance-card { background: #edddc9; }
.balance-amount { font-family: Georgia, serif; font-size: clamp(48px, 8vw, 64px); line-height: 1.15; letter-spacing: -.04em; margin: 12px 0 20px; font-variant-numeric: tabular-nums; }
#pending-credit { margin: -6px 0 20px; }
.balance-card .button { background: var(--orange); color: var(--brown); border-color: #b37f59; width: 100%; }
.invite-card { border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.invite-card p { margin-top: 16px; }
.invite-card .button { margin-top: 22px; width: 100%; }
.account-section { border-top: 1px solid var(--line); }
.account-section > summary { font-size: 23px; padding-block: 20px; }
.account-section > summary span { color: var(--muted); margin-left: 10px; font-size: 18px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.detail-form { padding: 8px 0 26px; }
.account-part { padding: 26px 0; border-top: 1px solid var(--line); }
.account-part h2 { font-size: 27px; margin-bottom: 12px; }
.account-part .simple-section { margin-top: 8px; }
#account-email { overflow-wrap: anywhere; }
#account-help { margin-top: 14px; }
#account-verification { padding-bottom: 26px; }
.order { padding: 20px 0; border-top: 1px solid var(--line); }
.order:first-child { border-top: 0; }
.order-heading { display: flex; justify-content: space-between; gap: 20px; font-weight: 600; }
.order p { margin-top: 8px; }
.order .order-status { color: var(--muted); }
.account-footer { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 22px; }
.text-button { border: 0; padding: 12px 0; background: transparent; color: inherit; text-decoration: underline; text-underline-offset: 5px; }
.account-footer a { padding-block: 12px; }
@media(max-width: 600px) {
  .header-inner { width: calc(100% - 36px); min-height: 84px; }
  .brand { width: 98px; }
  .brand img { height: 70px; }
  main { width: calc(100% - 36px); margin: 28px auto 36px; }
  h1 { margin-bottom: 24px; }
  .reward-overview { grid-template-columns: 1fr; gap: 16px; margin-bottom: 22px; }
  .balance-card, .invite-card { padding: 24px; }
  .invite-card h2 { font-size: 28px; }
  .invite-card p { margin-top: 12px; }
  .invite-card .button { margin-top: 18px; }
  .field-grid { grid-template-columns: 1fr; }
  form > .button { width: 100%; }
  .account-part { padding-block: 22px; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
