/* customer-v28.css */
body:not(.admin24){--accent:#ed531b;--accent2:#ff792b;--radius:16px}
body:not(.admin24) .topbar{position:relative}body:not(.admin24) .main{padding-top:24px}.home28.hero{display:block;min-height:0;padding:32px 24px;background:var(--soft);border-radius:22px}.home28 .hero-main{max-width:780px;margin:auto}.home-intro{text-align:center}.home28 h1{font-size:clamp(28px,4vw,44px);letter-spacing:-1.4px;margin-bottom:10px}.home-intro p{margin:0}.home28 .preview-form{padding:24px;margin-top:22px;box-shadow:0 8px 28px #a5411410}.preview-supported{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-bottom:12px}.preview-supported button{border:0;background:none;color:var(--accent);padding:0}.home28 .preview-form label{font-size:20px;margin-bottom:2px}.home28 .preview-input{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px}.home28 .preview-input input{min-width:0;width:100%;font-size:16px}.home28 .preview-input .btn{box-shadow:none}.home28 .preview-product{padding:18px 0}.home28 .preview-cash{border:1px solid var(--line);padding:16px}.home28 .preview-cash strong{font-size:clamp(23px,4vw,32px)}.home28 .preview-buy{min-height:52px}.home28 #preview-share .btn{width:100%}.home-helper{justify-content:center}.mobile28{display:none}html[data-theme=dark] .home28 .preview-form,html[data-theme=dark] .home28 .preview-input input{background:var(--paper);color:var(--ink);border-color:var(--line)}html[data-theme=dark] .home28 .preview-cash{background:var(--bg)}html[data-theme=dark] .home28 .preview-cash strong{color:#db8955}
@media(max-width:680px){body:not(.admin24){padding-bottom:calc(68px + env(safe-area-inset-bottom))}body:not(.admin24) .nav{gap:8px}body:not(.admin24) .navlinks{font-size:12px;gap:12px}body:not(.admin24) .main{padding-top:12px}.home28.hero{padding:18px 10px}.home28 .preview-form{padding:12px;margin-top:15px}.home28 .preview-form label{font-size:17px}.home28 .preview-input .btn{padding:9px;font-size:13px}.home28 .preview-input input{padding:9px}.home28 .helper{gap:12px}.mobile28{position:fixed;bottom:0;left:0;right:0;z-index:30;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:var(--paper);border-top:1px solid var(--line);padding:7px 3px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -3px 20px #00000009}.mobile28 a{display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted);font-size:11px;font-weight:650;min-height:44px}.mobile28 a span{font-size:24px;line-height:1.1}.mobile28 a[aria-current=page]{color:var(--accent)}body:not(.admin24) .section{padding-top:36px}}
@media(max-width:680px){body:not(.admin24) .corner-ad{bottom:calc(76px + env(safe-area-inset-bottom));max-width:145px}body:not(.admin24) .navright{min-width:0}body:not(.admin24) .navright>a{max-width:115px;overflow:hidden;text-overflow:ellipsis}body:not(.admin24) .navlinks{overflow-x:auto}}

/* V43: compact mobile header, five bottom navigation tabs */
@media(max-width:680px){body:not(.admin24) .navlinks{display:none}body:not(.admin24) .nav{flex-wrap:wrap} .mobile28 a{white-space:nowrap;min-width:0;font-size:clamp(9px,2.6vw,11px)} .mobile28 a:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}}
.mobile28 .menu-icon{width:var(--menu-icon-size,26px);height:var(--menu-icon-size,26px);object-fit:contain;display:block}.mobile28 .menu-icon-wrap{display:flex;align-items:center;justify-content:center;min-height:26px}.mobile28 .menu-icon-fallback[hidden],.mobile28 .menu-icon[hidden]{display:none}.mobile28 a[aria-current=page] .menu-icon-wrap{border-bottom:2px solid var(--accent)}

/* daily-v35.css */
.daily35{--d-bg:#fff;--d-card:#fcfaf8;--d-border:#eae1dc;--d-text:#142039;--d-muted:#667085;--d-good-bg:#e8f8ee;--d-good:#168044;--d-now:#fff1e9;--d-gold:#fff5d8;color:var(--d-text);max-width:850px;margin:20px auto;display:grid;gap:20px}.daily35 p,.daily35 small{color:var(--d-muted)}[data-theme=dark] .daily35{--d-bg:#13192c;--d-card:#070b1b;--d-border:#343e53;--d-text:#eef1fa;--d-muted:#a0acbe;--d-good-bg:#291c14;--d-good:#da8b58;--d-now:#402016;--d-gold:#392b07}.d35-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.d35-pill,.d35-top summary{border:1px solid #bc8b29;border-radius:40px;padding:10px 16px;background:var(--d-gold);font-weight:700}.d35-top summary{cursor:pointer;color:#e85c37;border-color:#e85c37;background:var(--d-now)}.d35-top details p{font-size:14px;max-width:430px}.d35-panel{background:var(--d-bg);border:1px solid var(--d-border);border-radius:24px;padding:clamp(14px,4vw,30px);display:grid;gap:22px}.d35-heading{display:flex;align-items:center;gap:16px}.d35-heading h1,.d35-panel h2,.d35-heading p,.d35-panel>p{margin:0}.d35-heading em{font-style:normal;color:#fa633c;font-size:1.4em}.d35-flame{display:grid;place-items:center;background:#c66a0a;border-radius:50%;width:64px;height:64px;font-size:32px;flex:none}.d35-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.d35-day{min-width:0;min-height:116px;border:1px solid var(--d-border);border-radius:18px;background:var(--d-card);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:10px 3px}.d35-day span{color:var(--d-muted);font-size:clamp(11px,2.5vw,16px)}.d35-day b{font-size:30px;color:#aa7a29}.d35-day strong{font-size:clamp(12px,2.6vw,18px)}.d35-day.received{background:var(--d-good-bg);border-color:var(--d-good);color:var(--d-good)}.d35-day.received b{color:var(--d-good)}.d35-day.today{background:var(--d-now);border:2px solid #ff623c;color:#f05b32}.d35-day.today span{color:#f05b32;font-weight:bold}.d35-day.last{grid-column:span 2}.d35-day.big{background:var(--d-gold);border-color:#bc8b29}.d35-claim{width:100%;border:0;border-radius:14px;padding:18px 8px;background:linear-gradient(100deg,#b83e23,#ed7040);color:#fff;font-size:clamp(17px,4vw,24px);font-weight:700;cursor:pointer}.d35-claim:disabled{background:#704224;cursor:default}.d35-milestone{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px}.d35-milestone>span{background:var(--d-gold);padding:10px;border-radius:50%;font-size:23px}.d35-milestone>b{font-size:12px;color:var(--d-muted);text-align:right}.d35-progress{height:8px;background:var(--d-border);border-radius:8px;overflow:hidden;margin:10px 0 4px}.d35-progress i{display:block;height:100%;background:#f9bd31;border-radius:8px}@media(max-width:420px){.d35-grid{gap:6px}.d35-day{min-height:94px;border-radius:12px}.d35-milestone{gap:7px}.d35-panel{gap:16px}}

#pwa-install[hidden],#pwa-help[hidden]{display:none!important}#pwa-install{position:fixed;z-index:1100;bottom:90px;left:50%;transform:translateX(-50%);width:min(94vw,480px);box-sizing:border-box;display:flex;align-items:center;gap:9px;padding:10px;background:#fff;color:#222;border:1px solid #ffd9b9;border-radius:12px;box-shadow:0 4px 18px #0002;font-size:12px}#pwa-install img{width:36px;height:36px;object-fit:contain;border-radius:8px}#pwa-install span{flex:1}#pwa-action{border:0;background:#f54d00;color:#fff;border-radius:7px;padding:8px 13px;font-weight:700;white-space:nowrap}#pwa-close{border:0;background:transparent;color:#777;font-size:20px;padding:4px}#pwa-help{position:fixed;z-index:1101;bottom:155px;left:50%;transform:translateX(-50%);width:min(90vw,460px);background:#fff;color:#222;padding:12px;border-radius:10px;box-shadow:0 4px 18px #0003}@media(min-width:801px){#pwa-install{bottom:20px}#pwa-help{bottom:85px}}

/* V127: responsive blog, including unbroken user text */
.blog127,.blog127 .grid3,.blog127 .card,.blog127 .article{min-width:0;max-width:100%}
.blog127 .grid3{grid-template-columns:repeat(3,minmax(0,1fr))}
.blog127 .card,.blog127 .article,.blog127 .pagehead{overflow-wrap:anywhere;word-break:normal}
.blog127 img{max-width:100%;height:auto;object-fit:contain}
.blog127 .article pre{white-space:pre-wrap;overflow-wrap:anywhere}
.blog127 .article table{display:block;max-width:100%;overflow-x:auto}
@media(max-width:680px){
.blog127 .grid3{grid-template-columns:minmax(0,1fr)}
.blog127 .article{font-size:15px;line-height:1.65}
.blog127 h2{font-size:21px;line-height:1.35}
.blog127 h3{font-size:18px;line-height:1.4}
body:not(.admin24) .nav>.brand{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
body:not(.admin24) .navright{max-width:100%;flex-wrap:wrap}
}

/* Customer account and transaction pages */
.customer-page {
    --customer-page-action: #c43b00;
    --customer-page-note: #fff0e8;
    --customer-page-note-ink: #89442a;
    --customer-page-success: #6a3412;
    --customer-page-danger: #a43847;
    width: min(100%, 1140px);
    margin: 0 auto;
    display: grid;
    gap: 22px;
    min-width: 0;
}
html[data-theme=dark] .customer-page {
    --customer-page-action: #ffab7b;
    --customer-page-note: #412e29;
    --customer-page-note-ink: #ffc3ac;
    --customer-page-success: #d8a280;
    --customer-page-danger: #ff9eae;
}
.customer-pagehead h1 {
    font-size: clamp(31px, 4vw, 49px);
    line-height: 1.12;
    letter-spacing: -0.045em;
    margin: 0 0 5px;
}
.customer-pagehead p { margin: 0; }
.customer-pagehead-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.wallet-totals {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    gap: 12px;
    margin: 0;
}
.wallet-balance,
.wallet-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: clamp(15px, 2.5vw, 24px);
    border-radius: 20px;
    min-width: 0;
}
.wallet-balance {
    grid-row: span 2;
    min-height: 227px;
    justify-content: space-between;
    gap: 13px;
    padding: clamp(21px, 3.2vw, 34px);
    border: 1px solid #c43b00;
    background:
        radial-gradient(ellipse at 98% 5%, #f57929, transparent 63%),
        linear-gradient(120deg, #b93400 38%, #e44b00);
    color: #fff;
}
.wallet-stat-head { display: flex; justify-content: space-between; align-items: center; gap: 7px; }
.wallet-stat-icon {
    display: grid;
    flex: 0 0 31px;
    place-items: center;
    height: 31px;
    border-radius: 9px;
    background: var(--soft);
    color: var(--customer-page-action);
}
.wallet-balance .wallet-stat-icon { flex-basis: 38px; height: 38px; background: #ffffff29; color: #fff0df; }
.wallet-stat-pending .wallet-stat-icon { background: var(--customer-page-note); color: var(--customer-page-note-ink); }
.wallet-label { font-size: 13px; font-weight: 650; color: var(--muted); }
.wallet-balance .wallet-label { color: #eadbd1; font-size: 15px; }
.wallet-value {
    margin: 0;
    font-size: clamp(21px, 3vw, 30px);
    font-weight: 760;
    line-height: 1.18;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}
.wallet-balance .wallet-value { font-size: clamp(37px, 6vw, 64px); letter-spacing: -0.055em; }
.wallet-jump {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    align-self: flex-start;
    min-height: 39px;
    background: #f7e5d9;
    border: 1px solid #f7e5d9;
    padding: 5px 15px;
    margin-top: 6px;
    border-radius: 8px;
    color: #39271b;
    font-size: 13px;
    font-weight: 700;
}
.wallet-jump:hover { background: #fff; }
.wallet-section { min-width: 0; padding: clamp(16px, 3vw, 24px); }
.wallet-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 14px;
}
.wallet-section-head h2 { font-size: clamp(19px, 2.5vw, 25px); margin: 0; letter-spacing: -0.02em; }
.wallet-section-head p { margin: 4px 0 0; font-size: 14px; }
.wallet-minimum {
    border-radius: 9px;
    padding: 7px 11px;
    font-size: 13px;
    background: var(--customer-page-note);
    color: var(--customer-page-note-ink);
    white-space: nowrap;
}
.wallet-rules {
    background: var(--bg);
    padding: 12px 14px;
    border-radius: 11px;
    margin-bottom: 14px;
    font-size: 14px;
}
.wallet-rules p { margin: 0; }
.wallet-rules p + p { margin-top: 8px; }
.wallet-rules-text { white-space: pre-wrap; overflow-wrap: anywhere; }
#wallet-withdraw { scroll-margin-top: 95px; }
.wallet-form { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
.wallet-form .btn { justify-self: start; }
.wallet-form label { min-width: 0; }

.wallet-withdraw-card { gap: 12px; max-width: none; }

.wallet-recipient {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--bg);
}

.wallet-recipient summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 13px;
    color: var(--ink);
}

.wallet-recipient summary::-webkit-details-marker { display: none; }
.wallet-recipient summary::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    flex: none;
    margin: 0 3px 4px 0;
}
.wallet-recipient[open] summary::after { transform: rotate(225deg); margin-bottom: -4px; }

.wallet-recipient-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 10px;
    background: var(--soft);
    color: var(--customer-page-action);
}

.wallet-recipient-summary {
    min-width: 0;
    flex: 1;
    display: grid;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.wallet-recipient-summary small { color: var(--muted); }
.wallet-recipient-edit { color: var(--customer-page-action); font-size: 12px; font-weight: 700; }

.wallet-recipient-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
    border-top: 1px solid var(--line);
    background: var(--paper);
    border-radius: 0 0 15px 15px;
}

.wallet-withdraw-submit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
}

.wallet-withdraw-card label { display: grid; gap: 5px; min-width: 0; font-size: 13px; }
.wallet-withdraw-card :is(input, select) { width: 100%; min-width: 0; min-height: 44px; margin: 0; }
.wallet-withdraw-submit .btn { min-height: 44px; }
.wallet-withdraw-card :is(.wallet-rules, .wallet-withdraw-hint) { margin: 0; }
.wallet-withdraw-hint { color: var(--muted); font-size: 12px; }

@media (max-width: 600px) {
    .wallet-recipient-fields, .wallet-withdraw-submit { grid-template-columns: 1fr; }
}

.wallet-text-link { color: var(--customer-page-action); font-weight: 680; font-size: 14px; }
.wallet-text-link:hover { text-decoration: underline; }
.wallet-section .tablewrap {
    min-width: 0;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
}
.wallet-section table { min-width: 460px; }
.wallet-section tbody tr:last-child td { border-bottom: 0; }
.wallet-empty { margin: 0; color: var(--muted); padding: 4px 0; }
.wallet-amount-debit { color: var(--customer-page-danger); font-weight: 700; }
.wallet-amount-credit { color: var(--customer-page-success); font-weight: 700; }
.links-list > ul { list-style: none; margin: 0; padding: 0; }
.links-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px 17px;
    padding: 13px 0;
}
.links-entry:first-child { padding-top: 0; }
.links-entry:last-child { padding-bottom: 0; }
.links-entry + .links-entry { border-top: 1px solid var(--line); }
.links-product { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.links-product span, .links-clicks { font-size: 13px; color: var(--muted); }
.links-actions { display: flex; flex-wrap: wrap; gap: 5px 7px; }
.links-actions .btn { min-height: 38px; }

.account138 {
    display: grid;
    grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
    grid-template-rows: max-content 1fr;
    align-items: start;
    gap: 18px;
    min-width: 0;
}
.account138-destinations, .account138-actions { min-width: 0; display: grid; gap: 14px; }
.account138-destinations { grid-column: 2; grid-row: 1 / span 2; }
.account138-actions { grid-column: 1; grid-row: 2; }
.account138-profile { display: grid; gap: 17px; padding: clamp(14px, 2vw, 22px); }
.account138-person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.account138-person > div { min-width: 0; overflow-wrap: anywhere; }
.account138-avatar,
.account138-icon { display: grid; place-items: center; flex: none; background: var(--soft); color: var(--customer-page-action); }
.account138-avatar { width: 52px; height: 52px; border-radius: 15px; }
.account138-avatar svg { width: 28px; height: 28px; }
.account138-person h2 { font-size: clamp(17px, 2vw, 22px); line-height: 1.2; margin: 0 0 3px; }
.account138-person p { font-size: 13px; margin: 0; }
.account138-person .account141-verification {
    display: inline-block;
    margin-top: 5px;
    border-radius: 30px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
}
.account141-verified { background: #f8efe9; color: #513727; }
.account141-unverified { background: var(--customer-page-note); color: var(--customer-page-note-ink); }
html[data-theme=dark] .account141-verified { background: #3d2b1f; color: #e2b89d; }
.account138-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.account138-quick a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    text-align: center;
    border-radius: 10px;
    padding: 7px 5px;
    background: var(--bg);
    border: 1px solid var(--line);
    font-weight: 650;
    font-size: 13px;
}
.account138-quick a:hover { border-color: var(--customer-page-action); }
.account138-quick svg { width: 17px; height: 17px; color: var(--customer-page-action); flex: none; }
.account138-group { padding: 0; overflow: hidden; }
.account138-group h2 { font-size: 17px; margin: 14px 16px 9px; }
.account138-list { padding: 0 6px 6px; }
.account138-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 52px;
    padding: 8px 10px;
    border-radius: 10px;
}
.account138-row + .account138-row { border-top: 1px solid var(--line); }
.account138-row:hover { background: var(--bg); }
.account138-row:focus-visible,
.account138-quick a:focus-visible { outline: 2px solid var(--customer-page-action); outline-offset: -2px; }
.account138-icon { width: 32px; height: 32px; border-radius: 9px; }
.account138-icon svg { width: 18px; height: 18px; display: block; }
.account138-label { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 650; }
.account138-arrow { width: 16px; height: 16px; flex: none; color: var(--muted); }
.account138-password { padding: 14px 18px; scroll-margin-top: 95px; }
.account138-password summary { cursor: pointer; font-weight: 680; }
.account138-password .form { margin-top: 14px; }
.account138-logout .btn { width: 100%; }

@media (max-width: 680px) {
    .customer-page { gap: 15px; }
    .wallet-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .wallet-balance { grid-column: 1 / -1; grid-row: auto; min-height: 163px; }
    .wallet-stat { padding: 12px; }
    .wallet-stat .wallet-label { line-height: 1.3; }
    .wallet-form { grid-template-columns: minmax(0, 1fr); }
    .wallet-form .btn { justify-self: stretch; }
    .links-entry { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; }
    .links-product { grid-column: 1 / -1; }
    .account138 { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 12px; }
    .account138-destinations, .account138-actions { grid-column: auto; grid-row: auto; }
}

/* Order history */
body.orders-page {
    --orders-accent: #4c3425;
    --orders-mint: #f5ece6;
    --orders-coral: #fff0e8;
    --orders-coral-ink: #953f27;
    --orders-shadow: 0 8px 26px #2b1d1410;
}
html[data-theme=dark] body.orders-page {
    --orders-accent: #dfa987;
    --orders-mint: #36251a;
    --orders-coral: #422b26;
    --orders-coral-ink: #ffc0a9;
    --orders-shadow: none;
}
.orders-mobile-header { display: none; }
body.orders-page .main {
    width: min(1140px, calc(100% - 40px));
    padding: clamp(20px, 4vw, 45px) 0 56px;
}
.orders143 {
    display: grid;
    gap: clamp(12px, 2vw, 19px);
    min-width: 0;
}
.orders143-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(14px, 3vw, 30px);
    padding: clamp(17px, 3vw, 35px);
    border: 1px solid var(--line);
    border-radius: 25px;
    background:
        radial-gradient(ellipse at 95% 5%, color-mix(in srgb, var(--orders-accent) 15%, transparent), transparent 64%),
        linear-gradient(115deg, var(--paper) 10%, var(--orders-mint) 100%);
}
.orders143-head h1 {
    margin: 0 0 7px;
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 780;
    line-height: 1.07;
    letter-spacing: -0.045em;
}
.orders143-head p { margin: 0; max-width: 36ch; color: var(--muted); font-size: clamp(13px, 2vw, 16px); line-height: 1.5; }
.orders143-tabs {
    position: relative;
    display: flex;
    gap: 4px;
    min-width: 0;
    overflow-x: auto;
    padding: 5px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
}
.orders143-tabs a {
    display: grid;
    flex: 0 0 auto;
    align-items: center;
    min-height: 43px;
    padding: 0 clamp(11px, 2vw, 21px);
    border-radius: 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
}
.orders143-tabs a:hover { background: var(--bg); color: var(--ink); }
.orders143-tabs a[aria-current=page] { color: var(--orders-accent); background: var(--orders-mint); font-weight: 760; }
.orders143 a:focus-visible,
.orders-mobile-header a:focus-visible {
    outline: 2px solid var(--orders-accent);
    outline-offset: -2px;
}
.orders143-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}
.orders143-stat {
    min-width: 0;
    padding: clamp(10px, 2vw, 17px);
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--paper);
    box-shadow: var(--orders-shadow);
}
.orders143-stat dt {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: clamp(11px, 1.5vw, 13px);
    font-weight: 680;
    line-height: 1.27;
}
.orders143-stat-icon {
    display: grid;
    flex: 0 0 31px;
    place-items: center;
    height: 31px;
    border-radius: 9px;
}
.orders143-stat-icon--package { background: var(--orders-coral); color: var(--orders-coral-ink); }
.orders143-stat-icon--time { background: var(--orders-mint); color: var(--orders-accent); }
.orders143-stat dd {
    margin: 9px 0 0;
    font-size: clamp(22px, 3.5vw, 34px);
    font-weight: 780;
    font-variant-numeric: tabular-nums;
    line-height: 1.14;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
}
.orders143-empty {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: clamp(26px, 5vw, 58px) 12px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
}
.orders143-empty-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--orders-mint);
    color: var(--orders-accent);
}
.orders143-empty p { margin: 0; font-size: 15px; color: var(--ink); font-weight: 680; }
.orders143-empty .btn { min-height: 44px; white-space: normal; }
.orders143-list { display: grid; gap: 13px; }
.orders143-card {
    display: grid;
    min-width: 0;
    gap: 12px;
    padding: clamp(15px, 2vw, 19px);
    border: 1px solid var(--line);
    border-radius: 19px;
    background: var(--paper);
    box-shadow: var(--orders-shadow);
    overflow-wrap: anywhere;
}
.orders143-card h3 { margin: 0; font-size: clamp(16px, 2.2vw, 18px); line-height: 1.32; }
.orders143-card-top, .orders143-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    flex-wrap: wrap;
}
.orders143-platform, .orders143-status { padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 720; }
.orders143-platform { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.orders143-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.orders143-grid > div { padding: 10px; border-radius: 11px; background: var(--bg); }
.orders143-grid > .orders143-cash { background: var(--orders-mint); color: var(--orders-accent); }
.orders143-grid small { display: block; color: var(--muted); line-height: 1.3; margin-bottom: 3px; }
.orders143-grid strong { font-size: 16px; font-variant-numeric: tabular-nums; }
.orders143-meta { color: var(--muted); font-size: 12px; }
.orders143-status.status-pending { background: #fff0d8; color: #814510; }
.orders143-status.status-approved { background: var(--orders-mint); color: var(--orders-accent); }
.orders143-status.status-rejected { background: var(--orders-coral); color: var(--orders-coral-ink); }
.orders143-status.status-paid { background: #faede5; color: #774627; }
html[data-theme=dark] .orders143-status.status-pending { background: #422f20; color: #ffd698; }
html[data-theme=dark] .orders143-status.status-paid { background: #483122; color: #fdcbab; }

@media (min-width: 820px) {
    .orders143-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .orders143-overview { grid-template-columns: minmax(0, 1fr); border-radius: 20px; }
}
@media (max-width: 680px) {
    body.orders-page .main { width: calc(100% - 26px); padding-top: 17px; }
    body.orders-page .topbar { display: none; }
.orders-mobile-header {
        display: flex;
        align-items: center;
        gap: 3px;
        min-height: 54px;
        padding: 0 10px;
        border-bottom: 1px solid var(--line);
        background: var(--paper);
        color: var(--ink);
    }
    .orders-mobile-header a {
        display: grid;
        flex: 0 0 39px;
        place-items: center;
        min-height: 44px;
    }
    .orders-mobile-logo img { border-radius: 8px; object-fit: contain; }
    .orders-mobile-greeting {
        flex: 1;
        min-width: 0;
        padding-left: 3px;
        overflow: hidden;
        font-size: 14px;
        font-weight: 650;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .orders-mobile-account span {
        display: grid;
        width: 32px;
        height: 32px;
        place-items: center;
        border-radius: 50%;
        background: #b93400;
        color: #fff;
        font-weight: 700;
        text-transform: uppercase;
    }
}

/* Customer rewards */
.rewards-page {
    --reward-accent: #a93717;
    --reward-good: #146847;
    --reward-good-bg: #f8eee8;
    width: min(100% - 36px, 960px);
    display: grid;
    align-content: start;
    gap: 20px;
}

html[data-theme=dark] .rewards-page {
    --reward-accent: #ff9b75;
    --reward-good: #db9f79;
    --reward-good-bg: #332318;
}

.rewards-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rewards-page-head h1 {
    margin: 0;
    font-size: clamp(26px, 4vw, 36px);
}

.rewards-page-head a {
    min-height: 40px;
}

.rewards-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 5px;
    background: var(--paper);
}

.rewards-tabs a {
    display: grid;
    place-items: center;
    min-height: 43px;
    padding: 7px 5px;
    border-radius: 9px;
    color: var(--muted);
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.rewards-tabs a:hover {
    background: var(--bg);
    color: var(--ink);
}

.rewards-tabs a[aria-current=page] {
    background: var(--soft);
    color: var(--reward-accent);
}

.rewards-tabs a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.rewards-page .alert {
    margin: 0;
}

.rewards-panel {
    min-width: 0;
    padding: clamp(15px, 3vw, 24px);
}

.rewards-page h2 {
    font-size: 19px;
    letter-spacing: -.3px;
}

.rewards-panel h2 {
    margin: 0 0 16px;
}

.rewards-inline-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    max-width: 680px;
}

.rewards-form-note {
    margin: 12px 0 0;
    font-size: 13px;
}

.rewards-section-title {
    margin: 0 0 12px;
}

.rewards-offers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 14px;
}

.rewards-offer-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.rewards-offer-head h3 {
    flex: 1 1 160px;
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.rewards-amount {
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--reward-accent);
    font-size: 13px;
    font-weight: 750;
}

.rewards-offer-body {
    margin: 10px 0 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.rewards-offer-image,
.rewards-gift-image {
    display: block;
    max-width: 100%;
    max-height: 260px;
    margin-top: 12px;
    border-radius: 12px;
    object-fit: contain;
}

.rewards-gift-image {
    max-height: 165px;
}

.rewards-offer-link {
    margin-top: 14px;
}

.rewards-item-form {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    gap: 10px;
}

.rewards-item-form input[type=file] {
    padding: 8px;
}

.rewards-item-form input::file-selector-button {
    margin-inline-end: 8px;
    padding: 6px 8px;
    border: 0;
    border-radius: 5px;
    background: var(--soft);
    color: var(--reward-accent);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.rewards-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 18px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.rewards-history h2:has(+ .rewards-history-row) {
    margin-bottom: 6px;
}

.rewards-history-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.rewards-history-row:last-child {
    padding-bottom: 0;
}

.rewards-history-detail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 8px;
    min-width: 0;
}

.rewards-history-detail small {
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.rewards-saved-link {
    color: var(--reward-accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.rewards-saved-url {
    width: 100%;
    color: var(--muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.rewards-status {
    font-weight: 650;
}

.rewards-daily.daily35 {
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 16px;
    color: var(--ink);
}

.rewards-daily .d35-panel {
    gap: 18px;
    border-color: var(--line);
    border-radius: var(--radius);
    padding: clamp(14px, 3vw, 24px);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.rewards-streak-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: clamp(14px, 3vw, 20px);
    border-radius: 15px;
    background: var(--soft);
}

.rewards-streak-head h2 {
    margin: 0 0 4px;
    font-size: 15px;
}

.rewards-streak-value {
    display: block;
    color: var(--reward-accent);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: -.7px;
    line-height: 1.15;
}

.rewards-streak-head p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.rewards-streak-rules {
    flex: none;
}

.rewards-streak-rules summary {
    text-align: right;
    color: var(--reward-accent);
    font-size: 13px;
    font-weight: 700;
}

.rewards-streak-rules p {
    max-width: 260px;
}

.rewards-daily .d35-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.rewards-daily .d35-day {
    min-height: 104px;
    gap: 6px;
    padding: 8px 4px;
    background: var(--bg);
    border-color: var(--line);
    border-radius: 12px;
}

.rewards-daily .d35-day.last {
    grid-column: auto;
}

.rewards-daily .d35-day span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
}

.rewards-daily .d35-day b {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: var(--muted);
    background: var(--paper);
    font-size: 17px;
    line-height: 1;
}

.rewards-daily .d35-day strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 12px;
}

.rewards-daily .d35-day.today {
    background: var(--soft);
    border: 1px solid var(--accent);
    color: var(--reward-accent);
}

.rewards-daily .d35-day.today span,
.rewards-daily .d35-day.today b,
.rewards-daily .d35-day.big b {
    color: var(--reward-accent);
}

.rewards-daily .d35-day.received {
    border-color: transparent;
    background: var(--reward-good-bg);
    color: var(--reward-good);
}

.rewards-daily .d35-day.received b {
    color: var(--reward-good);
}

.rewards-streak-actions {
    display: flex;
    align-items: center;
    gap: 14px 20px;
    flex-wrap: wrap;
}

.rewards-daily .d35-claim {
    min-height: 45px;
    padding: 10px 17px;
    border-radius: 10px;
    background: #a93717;
    font-size: 14px;
    font-weight: 740;
}

.rewards-daily .d35-claim:disabled {
    opacity: 1;
    background: var(--reward-good-bg);
    color: var(--reward-good);
}

.rewards-streak-amount small,
.rewards-streak-amount strong {
    display: block;
    font-size: 12px;
}

.rewards-streak-amount strong {
    font-size: 16px;
}

.rewards-milestone-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rewards-daily .d35-milestone {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 5px 10px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--bg);
}

.rewards-daily .d35-milestone > span {
    grid-row: span 2;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    background: var(--soft);
    color: var(--reward-accent);
    font-size: 17px;
}

.rewards-daily .d35-milestone > b {
    grid-column: 2;
    text-align: left;
    color: var(--muted);
}

.rewards-daily .d35-progress {
    height: 6px;
    background: var(--line);
}

.rewards-daily .d35-progress i {
    background: var(--accent);
}

@media (max-width: 680px) {
    .rewards-page {
        width: calc(100% - 24px);
        gap: 16px;
    }

    .rewards-offers {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .rewards-daily .d35-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .rewards-daily .d35-day.last {
        grid-column: span 2;
    }
}

@media (max-width: 520px) {
    .rewards-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3px;
    }

    .rewards-tabs a {
        min-height: 39px;
    }

    .rewards-inline-form,
    .rewards-milestone-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .rewards-streak-head {
        flex-wrap: wrap;
    }

    .rewards-streak-rules summary {
        text-align: left;
    }

    .rewards-daily .d35-day {
        min-height: 86px;
    }

    .rewards-streak-actions form {
        flex: 1 0 100%;
    }
}

/* V150: identify order-verified names versus preview link names */
.orders150-title-note{display:block;color:var(--muted);font-size:12px;line-height:1.45;margin-top:3px}

/* V155: Paginated customer wallet tables (independent page+size per table) */
.wallet-section .cb133-pager{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:14px}
.wallet-section .cb133-pager nav{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.wallet-section .cb133-pager nav a{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:30px;padding:3px 7px;border:1px solid var(--line);border-radius:6px;color:var(--ink);text-decoration:none}
.wallet-section .cb133-pager nav a[aria-current="page"]{border-color:var(--accent);color:var(--accent);font-weight:700;background:var(--soft)}
.wallet-section .cb133-pager nav select{width:auto;min-width:94px;height:32px;padding:4px 6px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);font-size:12px}
.wallet-section .cb133-pager small{font-size:12px;color:var(--muted)}
@media(max-width:480px){.wallet-section .cb133-pager{align-items:flex-start}.wallet-section .cb133-pager nav{width:100%;justify-content:flex-end}}

/* V156: pagination controls for orders and reward history */
.customer156-pager{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}.customer156-pager nav{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}.customer156-pager a{display:inline-flex;align-items:center;justify-content:center;min-width:29px;min-height:29px;padding:3px 7px;border:1px solid var(--line);border-radius:7px}.customer156-pager a[aria-current=page]{border-color:var(--accent);color:var(--accent)}.customer156-pager select{width:auto;max-width:120px;padding:6px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:7px}.customer156-pager small{color:var(--muted)}


/* Rewards navigation, check-in and account */
.rewards-hub {
    --reward-accent: #4e3525;
    --reward-tint: #f6ede8;
    --reward-good: #0b6549;
    --reward-good-bg: #f4e8e0;
    width: min(calc(100% - 36px), 1140px);
    gap: 22px;
}

html[data-theme=dark] .rewards-hub {
    --reward-accent: #e8c2a9;
    --reward-tint: #39271c;
    --reward-good: #eec9b2;
    --reward-good-bg: #432e20;
}

.rewards-hub .rewards-page-head {
    flex-wrap: wrap;
}

.rewards-hub .rewards-page-head h1 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.13;
}

.rewards-wallet-link {
    display: flex;
    align-items: center;
    max-width: 100%;
    gap: 10px;
    padding: 8px 13px 8px 8px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.rewards-wallet-icon,
.rewards-hub .rewards-tab-icon {
    display: grid;
    place-items: center;
    flex: none;
    color: var(--reward-accent);
    background: var(--reward-tint);
    border-radius: 9px;
}

.rewards-wallet-icon {
    width: 35px;
    height: 35px;
}

.rewards-wallet-link > span:nth-child(2) {
    display: grid;
    min-width: 0;
    line-height: 1.28;
}

.rewards-wallet-link small {
    color: var(--muted);
    font-size: 11px;
}

.rewards-wallet-link strong {
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.rewards-wallet-arrow,
.account-quick-arrow {
    flex: 0 0 6px;
    height: 6px;
    margin-inline: 3px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.rewards-wallet-arrow {
    color: var(--reward-accent);
}

.rewards-layout {
    display: grid;
    grid-template-columns: minmax(160px, 0.2fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(14px, 2vw, 24px);
}

.rewards-content {
    display: grid;
    min-width: 0;
    gap: 16px;
}

.rewards-hub .rewards-tabs {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 8px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.rewards-hub .rewards-tabs a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 6px 8px;
    border-radius: 10px;
    color: var(--ink);
    text-align: left;
}

.rewards-hub .rewards-tabs a[aria-current=page] {
    background: var(--reward-tint);
    color: var(--reward-accent);
}

.rewards-hub .rewards-tab-icon {
    width: 30px;
    height: 30px;
}

.rewards-hub .rewards-tabs a[aria-current=page] .rewards-tab-icon {
    background: var(--reward-accent);
    color: var(--paper);
}

.rewards-hub .rewards-tabs svg {
    width: 16px;
    height: 16px;
}

.rewards-hub :is(.rewards-tabs a,.rewards-wallet-link):focus-visible {
    outline: 2px solid var(--reward-accent);
    outline-offset: 2px;
}

.rewards-hub .rewards-amount,
.rewards-hub .rewards-item-form input::file-selector-button {
    background: var(--reward-tint);
}

.rewards-hub .rewards-streak-head,
.account-refresh .account138-profile {
    background:
        radial-gradient(ellipse at 100% 0%, #f57929 0%, transparent 65%),
        #b93400;
    color: #fdfbfa;
}

.rewards-hub .rewards-streak-head {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    justify-content: stretch;
    gap: 14px;
    padding: clamp(15px, 3vw, 28px);
}

.rewards-hub .rewards-streak-value {
    color: #fdfbfa;
    font-size: clamp(26px, 4vw, 45px);
    line-height: 1.1;
}

.rewards-hub .rewards-streak-head h2,
.rewards-hub .rewards-streak-head p,
.rewards-hub .rewards-streak-amount small {
    color: #e8d8ce;
}

.rewards-hub .rewards-streak-amount {
    min-width: 0;
    align-self: end;
    padding: 12px;
    border: 1px solid #ffffff3b;
    border-radius: 12px;
    background: #ffffff12;
}

.rewards-hub .rewards-streak-amount strong {
    color: #fff;
    font-size: clamp(19px, 2vw, 25px);
    overflow-wrap: anywhere;
}

.rewards-streak-claim {
    width: fit-content;
    max-width: 100%;
    margin-top: 16px;
}

.rewards-hub .d35-claim {
    background: #f67b59;
    color: #312117;
    box-shadow: 0 4px 12px #1d140e33;
}

.rewards-hub .d35-claim:hover:not(:disabled) {
    background: #ff9273;
}

.rewards-hub .d35-claim:disabled {
    background: #f6ede8;
    color: #4b3324;
    box-shadow: none;
}

.rewards-hub .d35-claim:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.rewards-hub .d35-day.today {
    background: var(--reward-tint);
    border-color: var(--reward-accent);
}

.rewards-hub .rewards-streak-rules {
    padding: 10px 12px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.rewards-hub .rewards-streak-rules summary {
    width: fit-content;
    text-align: left;
}

.rewards-hub .rewards-streak-rules p {
    max-width: 62ch;
}

.rewards-hub .d35-milestone > span {
    background: var(--reward-tint);
}

.rewards-hub .d35-progress i {
    background: #7d3608;
}

.account-refresh {
    --customer-page-action: #4e3525;
    --profile-tint: #f6ede8;
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: auto;
    gap: 18px;
}

html[data-theme=dark] .account-refresh {
    --customer-page-action: #e8c2a9;
    --profile-tint: #39271c;
}

.account-refresh .account138-profile {
    grid-template-columns: minmax(0, 1fr) minmax(255px, .72fr);
    align-items: center;
    gap: 18px;
    padding: clamp(18px, 3vw, 32px);
    border: none;
}

.account-refresh .account138-avatar {
    width: clamp(44px, 7vw, 66px);
    height: clamp(44px, 7vw, 66px);
    background: #f2e2d8;
    color: #493223;
    border-radius: 17px;
}

.account-refresh .account138-person h2 {
    color: #fdfbfa;
    font-size: clamp(20px, 3.5vw, 33px);
}

.account-refresh .account138-person p {
    color: #e8d8ce;
}

.account-refresh .account141-unverified {
    background: #ffe5dc;
    color: #6e301f;
}

.account-refresh .account138-quick a {
    min-width: 0;
    justify-content: flex-start;
    gap: 8px;
    min-height: 52px;
    padding: 9px 11px;
    border-color: #ffffff44;
    background: #ffffff12;
    color: #fdfbfa;
    text-align: left;
    line-height: 1.25;
}

.account-refresh .account138-quick a:hover {
    background: #ffffff24;
    border-color: #e4c6b3;
}

.account-refresh .account138-quick a:focus-visible {
    outline-color: #fff8f4;
}

.account-refresh .account-quick-arrow {
    margin-left: auto;
    color: #e1c6b5;
}

.account-refresh .account138-quick svg,
.account-refresh .wallet-text-link {
    color: #e4c2ad;
}

.account-refresh .account138-destinations,
.account-refresh .account138-actions {
    grid-column: auto;
    grid-row: auto;
    align-items: start;
    gap: 16px;
}

.account-refresh .account138-destinations {
    grid-template-columns: minmax(0, 1.45fr) minmax(240px, 1fr);
}

.account-refresh .account138-group:only-child {
    grid-column: 1 / -1;
}

.account-refresh .account138-group {
    padding: 14px;
}

.account-refresh .account138-group h2 {
    margin: 0 4px 12px;
    font-size: 18px;
}

.account-refresh .account138-list {
    display: grid;
    gap: 7px;
    padding: 0;
}

.account-refresh .account-group-utility .account138-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-refresh .account138-row,
.account-refresh .account138-row + .account138-row {
    border: 1px solid var(--line);
    border-radius: 11px;
}

.account-refresh .account138-icon {
    background: var(--profile-tint);
}

.account-refresh .account138-actions {
    grid-template-columns: minmax(0,1fr) auto;
}

.account-refresh .account138-password {
    margin-top: 0;
}

.account-refresh .account138-logout .btn {
    min-height: 51px;
}

@media (max-width: 820px) {
    .rewards-layout {
        grid-template-columns: minmax(0,1fr);
    }

    .rewards-hub .rewards-tabs {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .account-refresh .account138-destinations {
        grid-template-columns: minmax(0,1fr);
    }
}

@media (max-width: 600px) {
    .rewards-hub {
        width: calc(100% - 24px);
        gap: 14px;
    }

    .rewards-hub .rewards-tabs a {
        gap: 6px;
        padding-inline: 5px;
        font-size: 12px;
    }

    .rewards-hub .rewards-tab-icon {
        width: 24px;
        height: 24px;
    }

    .rewards-hub .rewards-streak-head,
    .account-refresh .account138-profile,
    .account-refresh .account138-actions {
        grid-template-columns: minmax(0,1fr);
    }

    .rewards-hub .rewards-streak-amount {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 4px 8px;
    }
}

@media (max-width: 450px) {
    .account-refresh .account-group-utility .account138-list {
        grid-template-columns: minmax(0,1fr);
    }

    .account-refresh .account-quick-arrow {
        display: none;
    }
}
/* Support tickets and conversations */
.support-page {
    --support-primary: #7d3608;
    --support-customer: #f6ede8;
    --support-customer-line: #e7d8cf;
    --support-thread: #f8f7f2;
    --support-waiting: #fff1e8;
    --support-waiting-text: #833c25;
    --support-closed: #f6ede8;
    --support-closed-text: #643b21;
    max-width: 1120px;
    min-height: 65vh;
    padding-block: clamp(18px, 4vw, 44px);
}

[data-theme="dark"] .support-page {
    --support-customer: #402c1f;
    --support-customer-line: #634430;
    --support-thread: #2b1e15;
    --support-waiting: #4b3029;
    --support-waiting-text: #ffbd9f;
    --support-closed: #402c1f;
    --support-closed-text: #e6bfa6;
}

.support-heading {
    display: flex;
    gap: 16px 24px;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: clamp(16px, 3vw, 28px);
    padding: clamp(20px, 4vw, 38px);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% -80%, #e6bfa630 0 42%, transparent 42%),
        linear-gradient(110deg, #b93400, #e44b00);
    color: #fff;
}

.support-heading h1 {
    margin-bottom: 8px;
    font-size: clamp(27px, 4vw, 40px);
    letter-spacing: -.8px;
}

.support-heading p {
    margin-bottom: 0;
    color: #fff0df;
}

.support-heading-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 42px;
    padding: 7px 12px;
    border: 1px solid #d8c0b080;
    border-radius: 10px;
    color: #fff;
    font-size: .85rem;
    font-weight: 650;
}

.support-heading-link:hover {
    background: #d8c0b024;
}

.support-layout {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.38fr);
    align-items: start;
    gap: clamp(12px, 2.5vw, 26px);
}

.support-compose,
.support-ticket {
    min-width: 0;
    padding: clamp(15px, 2.5vw, 24px);
}

.support-compose {
    border-top: 3px solid var(--support-primary);
}

.support-compose h2,
.support-history > h2 {
    margin-bottom: 16px;
    font-size: 20px;
    letter-spacing: -.3px;
    scroll-margin-top: 86px;
}

.support-page .form label {
    color: var(--ink);
}

.support-page textarea {
    resize: vertical;
}

.support-page .form .btn {
    min-height: 44px;
    background: var(--support-primary);
    color: #fff;
}

.support-history {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.support-history > h2 {
    margin: 3px 0 0;
}

.support-empty {
    display: grid;
    gap: 8px;
    justify-items: center;
    margin: 0;
    padding: 30px 18px;
    text-align: center;
    border-style: dashed;
}

.support-empty p {
    margin: 0;
}

.support-empty a {
    color: var(--support-closed-text);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.support-ticket-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin-bottom: 14px;
}

.support-ticket-heading > div {
    min-width: 0;
}

.support-ticket-heading h3 {
    margin: 2px 0 0;
    overflow-wrap: anywhere;
    font-size: 18px;
}

.support-ticket-heading small {
    display: block;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 650;
}

.support-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--support-waiting);
    color: var(--support-waiting-text);
    font-size: .75rem;
    font-weight: 700;
}

.support-status.is-closed {
    background: var(--support-closed);
    color: var(--support-closed-text);
}

.support-status::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.support-thread {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: clamp(9px, 2vw, 15px);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--support-thread);
    list-style: none;
}

.support-bubble {
    max-width: 92%;
    min-width: 0;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 5px 12px 12px;
    background: var(--paper);
}

.support-bubble.support165-customer {
    align-self: flex-end;
    border-color: var(--support-customer-line);
    border-radius: 12px 5px 12px 12px;
    background: var(--support-customer);
}

.support-message-meta {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 9px;
    padding-bottom: 3px;
}

.support-message-meta strong {
    color: var(--ink);
    font-size: .78rem;
}

.support-message-meta time {
    color: var(--muted);
    font-size: .72rem;
    overflow-wrap: anywhere;
}

.support-bubble p {
    margin: 0;
    color: var(--ink);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.support165-compose {
    margin-top: 16px;
}

.support-reply-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.support-reply-actions small {
    color: var(--muted);
}

.support-reply-actions .btn {
    margin-left: auto;
}

.support-waiting {
    margin: 12px 0 0;
    font-size: .82rem;
}

@media (max-width: 760px) {
    .support-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-history {
        margin-top: 4px;
    }
}
