/* DripMinto: calm teal surfaces, mint actions, cream text. */
:root {
    --bg: #101d20; --surface: #182b2e; --surface-low: #132326;
    --sidebar: #122326; --text: #f2f5ec; --muted: #a5bab4;
    --border: #2d4548; --border-strong: #476664;
    --mint: #79e2b4; --mint-hover: #96edc8; --mint-soft: #c0e9d7;
    --accent-surface: #203b38; --disabled: #2d4548; --on-mint: #10251d;
}
:root { color-scheme: dark; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); font-synthesis: none; }
/* Public entry and recipient pages; admin layouts retain their own spacing. */
.public-home .shell { max-width: 1080px; }
.public-home .site-header { padding: 20px clamp(16px, 3vw, 48px); }
.home-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 64px; align-items: center; padding: 48px 0; }
.eyebrow { display: block; color: var(--mint); font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.public-home .home-copy h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 22px; }
.home-copy .intro { max-width: 420px; font-size: 16px; }
.home-benefits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.home-benefits span { padding: 7px 10px; background: var(--accent-surface); border-radius: 6px; color: var(--mint-soft); font-size: 12px; }
.home-availability { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 20px 0 0; max-width: 390px; }
.public-home .home-entry { width: 100%; max-width: none; margin: 0; padding: 28px; border-radius: 16px; box-shadow: 0 16px 48px #0002; }
.public-home .home-entry h2 { font-size: 23px; margin-bottom: 8px; }
.public-home .home-entry .account-form { margin-bottom: 16px; }
.public-home .getting-started { margin: 12px 0 40px; }
.public-home .getting-started ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 12px; }
.public-home .getting-started li { padding: 22px 18px; }
.public-home .getting-started li + li { border-top: 0; border-left: 1px solid var(--border); }
.recipient-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.recipient-summary article { min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.recipient-summary article > span { color: var(--muted); font-size: 12px; }
.recipient-summary strong { display: block; margin-top: 12px; font-size: clamp(18px, 2vw, 24px); overflow-wrap: anywhere; }
.recipient-summary small { font-size: 12px; font-weight: 500; color: var(--muted); }
.recipient-summary p { color: var(--muted); font-size: 11px; margin-bottom: 0; line-height: 1.6; }
.recipient-app .dashboard-faucet { margin-top: 24px; padding: 26px; border-color: var(--border-strong); background: linear-gradient(110deg, var(--accent-surface), var(--surface)); border-radius: 14px; }
.dashboard-faucet .eyebrow { margin-bottom: 8px; }
.recipient-app .single-faucet { border-color: var(--border-strong); border-radius: 16px; box-shadow: 0 12px 36px #0002; }
.recipient-app .single-faucet .crypto-reward { color: var(--text); margin-top: 14px; }
.recipient-app .claim-status { border-radius: 8px; padding: 10px; background: var(--accent-surface); }
.recipient-app .single-faucet .account-form button { min-height: 48px; font-weight: 650; }
.payment-row { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--border); }
.payment-detail { display: grid; gap: 6px; min-width: 0; }
.payment-detail strong { font-size: 13px; overflow-wrap: anywhere; }
.payment-detail time { color: var(--muted); font-size: 11px; }
.payment-badge { margin-left: auto; padding: 6px 9px; border-radius: 6px; color: var(--mint-soft); background: var(--accent-surface); font-size: 11px; flex-shrink: 0; }
.payment-badge.is-paid { color: var(--mint); background: #1d3832; }
.recipient-app .claim-history .history-empty { color: var(--muted); padding: 20px 0 4px; font-size: 13px; }
.recipient-app .feed-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) minmax(100px, auto); }
.recipient-app .feed-amount { max-width: 200px; }
@media (max-width: 900px) { .home-hero { gap: 28px; } .recipient-summary article { padding: 18px; } }
@media (max-width: 760px) {
    .home-hero { grid-template-columns: 1fr; gap: 28px; padding: 20px 0 28px; }
    .public-home .home-entry { padding: 24px; }
    .public-home .getting-started ol { grid-template-columns: 1fr; }
    .public-home .getting-started li + li { border-left: 0; border-top: 1px solid var(--border); }
    .recipient-app .dashboard-faucet { flex-wrap: wrap; padding: 20px; }
    .recipient-app .dashboard-faucet > div:nth-child(2) { flex: 1; min-width: 160px; }
    .recipient-app .dashboard-faucet .button-link { width: 100%; text-align: center; }
    .recipient-summary { grid-template-columns: 1fr 1fr; gap: 10px; }
    .recipient-summary article:first-child { grid-column: 1 / -1; }
    .recipient-app .feed-row { column-gap: 8px; grid-template-columns: 28px minmax(0, 1fr) minmax(90px, auto); }
    .recipient-app .feed-coin .coin-icon { width: 28px; height: 28px; }
    .recipient-app .feed-amount { max-width: 145px; font-size: 12px; }
    .recipient-app .feed-person > span { font-size: 10px; }
    .payment-badge { max-width: 106px; text-align: center; }
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mint); }
a:focus-visible { outline: 2px solid var(--mint); outline-offset: 5px; border-radius: 3px; }
.shell { max-width: 860px; margin: auto; padding: 0 24px; }
header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 750; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand small { margin-left: 5px; font-size: 13px; font-weight: 500; color: var(--muted); }
.main-site { font-size: 13px; color: var(--muted); white-space: nowrap; }
.header-links { display: flex; gap: 16px; font-size: 13px; }
.header-links a:last-child { color: var(--mint); }
.account-main { max-width: 420px; margin: 0 auto; padding: 32px 0; }
.account-form { margin: 22px 0; }
fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
label { display: block; margin: 16px 0 7px; font-size: 13px; }
label span { color: var(--muted); font-size: 11px; }
input { width: 100%; padding: 11px 12px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); border-radius: 6px; font: inherit; font-size: 14px; }
input:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
select { width: 100%; padding: 11px 12px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); border-radius: 6px; font: inherit; font-size: 14px; }
select:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.claim-history p { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.claim-history p > span { color: var(--muted); font-size: 12px; }
.settings-section.claim-history { margin-top: 24px; }
button { border: 0; border-radius: 6px; background: var(--mint); color: var(--on-mint); font: inherit; font-size: 14px; padding: 11px 18px; cursor: pointer; }
.account-form button { width: 100%; margin-top: 20px; }
button:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
button:disabled, fieldset:disabled button { background: var(--disabled); color: var(--muted); cursor: not-allowed; }
.account-switch { font-size: 13px; color: var(--muted); }
.account-switch a { color: var(--mint); }
.cf-turnstile { margin-top: 18px; }
.text-button { background: transparent; color: var(--mint); padding: 8px 0; }
.notice.error { border-color: #7e4555; color: #ffd0dc; background: #33222e; }
main { padding: 30px 0; }
h1 { margin: 0 0 8px; font-size: 27px; line-height: 1.3; letter-spacing: -.5px; }
.intro { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.home-entry { max-width: 440px; padding: 20px; margin: 0 auto 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; scroll-margin-top: 16px; }
.notice { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 22px 0 26px; padding: 13px 16px; background: var(--accent-surface); border: 1px solid var(--border-strong); border-radius: 8px; font-size: 13px; }
.notice strong { color: var(--mint); }
.notice span { color: var(--muted); }
h2 { font-size: 16px; margin: 0 0 12px; font-weight: 650; }
.earn-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.earn-options article { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 17px; }
.option-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
h3 { margin: 0; font-size: 15px; }
.badge { color: var(--muted); background: var(--accent-surface); padding: 4px 7px; border-radius: 4px; font-size: 11px; }
.earn-options p { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.getting-started { margin-top: 26px; }
ol { margin: 0; padding: 0; list-style: none; border: 1px solid var(--border); border-radius: 8px; }
li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; }
li + li { border-top: 1px solid var(--border); }
li > span { display: grid; place-items: center; width: 25px; height: 25px; flex-shrink: 0; background: var(--accent-surface); color: var(--mint); border-radius: 50%; font-size: 12px; }
li strong { font-size: 13px; font-weight: 600; }
li p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
footer { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.settings-main { max-width: none; }
.admin-label { font-size: 12px; color: var(--muted); }
.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 26px 0; }
.admin-stats article { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.admin-stats span, .admin-stats small { display: block; color: var(--muted); font-size: 12px; }
.admin-stats strong { display: block; font-size: 26px; margin: 10px 0; }
.admin-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.admin-table th { font-size: 11px; color: var(--muted); font-weight: 500; }
.admin-table td, .admin-table th { padding: 14px 10px; border-bottom: 1px solid var(--border); }
.admin-coin { display: flex; align-items: center; gap: 12px; }
.admin-coin .coin-icon { width: 28px; height: 28px; }
.admin-facts { margin: 0 0 18px; }
.admin-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.admin-facts dt { color: var(--muted); }
.admin-facts dd { margin: 0; text-align: right; }
.settings-actions { position: sticky; bottom: 12px; background: var(--accent-surface); border: 1px solid var(--border-strong); border-radius: 10px; padding: 14px; z-index: 1; }
@media (max-width: 900px) { .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .admin-panels { grid-template-columns: 1fr; } .admin-sidebar nav { grid-template-columns: repeat(3, 1fr); } .admin-sidebar .sidebar-link { font-size: 12px; padding: 10px 6px; } }
.admin-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.admin-heading > a { color: var(--muted); font-size: 13px; white-space: nowrap; }
.settings-section { margin: 0 0 16px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
.field-note { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0 0 16px; }
.coin-choices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.coin-choice { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border-strong); padding: 12px 8px; border-radius: 6px; margin: 0; cursor: pointer; }
.coin-choice:has(input:checked) { border-color: var(--mint); background: var(--accent-surface); }
.coin-choice input { width: 16px; height: 16px; margin: 0; accent-color: var(--mint); }
.coin-choice strong { display: block; font-size: 13px; color: var(--text); }
.coin-choice small { display: block; font-size: 10px; margin-top: 3px; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.settings-grid label { margin-top: 0; }
.settings-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.settings-actions > span { font-size: 12px; color: var(--muted); }
.settings-history { margin-top: 26px; }
.settings-history p { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.settings-link { color: var(--mint); }
.faucet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 20px; }
.faucet-card { padding: 20px; border: 1px solid var(--border-strong); background: var(--surface); border-radius: 8px; }
.faucet-card h2 { margin: 0 0 6px; font-size: 18px; }
.faucet-card p { color: var(--muted); font-size: 13px; }
.faucet-card .account-form { margin-bottom: 0; }
.faucet-card button { width: 100%; }
.coin-settings-row { padding: 16px 0; border-top: 1px solid var(--border); }
.coin-settings-row h3 { font-size: 15px; margin: 0 0 12px; }
.coin-settings-row h3 small { color: var(--muted); }
.recipient-sidebar { position: fixed; inset: 0 auto 0 0; width: 230px; padding: 28px 16px; background: var(--sidebar); border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 32px; }
.recipient-sidebar .brand { padding: 0 10px; }
.recipient-sidebar nav { display: grid; gap: 8px; }
.sidebar-link { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 9px; color: var(--muted); font-size: 14px; }
.sidebar-link.active { background: var(--accent-surface); color: var(--mint); box-shadow: inset 3px 0 var(--mint); }
.sidebar-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; flex-shrink: 0; }
.sidebar-support { margin-top: auto; padding: 10px 16px; color: var(--muted); font-size: 13px; }
.recipient-shell { max-width: 1450px; margin-left: 230px; padding: 0 36px; }
.topbar-title { font-weight: 650; }
.coin-switcher { display: flex; align-items: center; gap: 10px; margin: 0; }
.coin-switcher label { margin: 0; color: var(--muted); }
.coin-switcher select { width: 100px; padding: 8px 10px; }
.coin-switcher button { padding: 9px 12px; }
.dashboard-faucet { margin-top: 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.dashboard-faucet p { margin-bottom: 0; }
.button-link { display: inline-block; padding: 12px 18px; border-radius: 6px; background: var(--mint); color: var(--on-mint); margin-left: auto; font-size: 14px; }
.coin-mark { display: grid; place-items: center; width: 64px; height: 64px; background: var(--accent-surface); color: var(--mint); border-radius: 18px; font-weight: 750; }
.single-faucet { max-width: 460px; margin: 28px auto; text-align: center; padding: 30px; }
.single-faucet .coin-mark { margin: 0 auto 20px; }
.single-faucet .faucet-reward { font-size: 32px; color: var(--text); font-weight: 750; margin: 20px 0 8px; }
.single-faucet .field-note { margin: 18px 0 0; }
.recipient-exit { max-width: 150px; }
.sidebar-bottom { margin-top: auto; }
.sidebar-exit { margin: 0; }
.sidebar-exit button { display: flex; align-items: center; gap: 12px; padding: 13px 16px; width: 100%; text-align: left; background: #38212c; color: #ff9aab; }
.sidebar-exit button:hover { background: #4a2735; color: #ffc4ce; }
.sidebar-exit svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.sidebar-bottom .sidebar-support { display: block; margin-top: 4px; }
.single-faucet { max-width: 540px; padding: 28px; }
.claim-status { display: inline-block; font-size: 12px; border-radius: 30px; padding: 6px 12px; background: var(--accent-surface); color: var(--muted); margin-bottom: 22px; }
.claim-status.is-ready { background: #153b32; color: var(--mint); }
.single-faucet .coin-mark { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 14px; }
.single-faucet .reward-label { margin: 24px 0 0; font-size: 12px; }
.single-faucet .faucet-reward { margin: 4px 0 24px; font-size: 38px; }
.faucet-reward span { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.claim-details { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: 8px; padding: 16px 8px; }
.claim-details > div + div { border-left: 1px solid var(--border); }
.claim-details span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.claim-details strong { font-size: 16px; }
.single-faucet .account-form { margin: 20px 0 0; }
.single-faucet .account-form button { margin-top: 0; min-height: 46px; }
.single-faucet .test-mode-note { font-size: 11px; color: var(--mint); margin-bottom: 0; }
.claim-wait a { color: var(--mint); text-decoration: underline; }
.coin-settings-row summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-size: 14px; }
.coin-settings-row summary::after { content: '+'; color: var(--mint); }
.coin-settings-row[open] summary::after { content: '−'; }
.coin-settings-row summary small { color: var(--muted); }
.coin-setting-summary { margin-left: auto; color: var(--muted); font-size: 12px; }
.coin-setting-summary .badge { margin-left: 8px; }
.coin-settings-row[open] .settings-grid { margin-top: 20px; }
.coin-settings-row .field-note { margin: 14px 0 0; }
.coin-icon { display: block; width: 56px; height: 56px; object-fit: contain; }
.coin-mark { background: transparent; }
.coin-switcher > .coin-icon { width: 24px; height: 24px; flex-shrink: 0; }
.recipient-shell { container-type: inline-size; }
.ad-area { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 24px auto; max-width: 100%; }
.ad-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); }
.ad-placeholder { border: 1px dashed var(--border-strong); border-radius: 8px; background: var(--surface-low); color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 12px; overflow: hidden; }
.ad-placeholder strong { font-weight: 500; }
.ad-placeholder span { font-size: 11px; }
.desktop-ad, .desktop-wide, .desktop-compact, .mobile-ad, .square-ad { display: none; }
.desktop-wide { width: 728px; height: 90px; }
.desktop-compact { width: 468px; height: 60px; }
.mobile-ad .ad-placeholder { width: 300px; height: 100px; }
.square-ad .ad-placeholder { width: 300px; height: 250px; }
.faucet-stage { display: grid; grid-template-columns: minmax(0, 540px); grid-template-areas: 'claim' 'right'; justify-content: center; gap: 24px; align-items: start; margin: 24px 0; }
.faucet-stage .single-faucet { grid-area: claim; width: 100%; min-width: 0; margin: 0; }
.faucet-stage .square-ad { grid-area: right; margin: 0 auto; }
.faucet-stage .wide-extra { grid-area: left; }
.ad-slot-choice { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.ad-slot-choice > input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--mint); }
.ad-slot-choice > span { font-size: 13px; color: var(--text); }
.ad-settings .field-note:last-child { margin: 18px 0 0; }
@container (min-width: 300px) { .square-ad { display: flex; } }
@container (min-width: 468px) { .desktop-ad { display: flex; } .desktop-compact { display: flex; } }
@container (min-width: 728px) { .desktop-wide { display: flex; } .desktop-compact { display: none; } }
.wide-extra { display: none; }
@container (min-width: 1148px) {
    .wide-extra { display: flex; }
    .faucet-stage { grid-template-columns: 300px minmax(500px, 540px) 300px; grid-template-areas: 'left claim right'; }
}
.topbar-heading { display: flex; align-items: center; gap: 10px; }
.currency-picker { position: relative; flex-shrink: 0; }
.currency-picker > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; cursor: pointer; font-size: 13px; font-weight: 650; }
.currency-picker > summary::-webkit-details-marker { display: none; }
.currency-picker > summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.currency-picker .coin-icon { width: 24px; height: 24px; }
.currency-picker summary svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.currency-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 224px; max-width: calc(100vw - 32px); padding: 6px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: 0 12px 32px #0007; z-index: 5; }
.currency-menu a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 7px; }
.currency-menu a:hover, .currency-menu a:focus-visible { background: var(--accent-surface); color: #fff; }
.currency-menu a[aria-current] { background: var(--accent-surface); color: var(--mint); }
.currency-menu a strong { display: block; font-size: 13px; }
.currency-menu a small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.currency-check { margin-left: auto; }
.community-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; background: #2aabee; font-size: 12px; font-weight: 600; color: #fff; text-decoration: none; }
.community-link:hover, .community-link:focus-visible { background: #229ed9; color: #fff; text-decoration: none; }
.community-link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.community-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.sidebar-bottom .community-link { margin: 10px 16px; }
.topbar-subtitle { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.mobile-brand { display: none; border-radius: 8px; }
.coin-switcher { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 5px 8px; }
.coin-switcher select { border: 0; background: transparent; width: 87px; padding: 8px 4px; font-weight: 600; }
.coin-switcher label { font-size: 11px; }
.single-faucet .crypto-reward { font-size: clamp(23px, 3vw, 34px); overflow-wrap: anywhere; margin-bottom: 8px; }
.single-faucet .reward-usd { font-size: 12px; margin: 0 0 24px; }
.single-faucet { border-radius: 12px; }
.faucet-coin-heading { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 18px; }
.single-faucet .faucet-coin-heading .coin-mark { width: 40px; height: 40px; margin: 0; }
.faucet-coin-heading .coin-icon { width: 40px; height: 40px; }
.faucet-coin-heading h2 { margin: 0; font-size: 19px; }
.single-faucet .reward-label { margin-top: 0; }
.single-faucet .claim-status { margin-bottom: 18px; }
.single-faucet .claim-details { background: var(--surface-low); }
.single-faucet .reward-unset { font-size: 23px; color: var(--muted); margin: 12px 0 24px; }
.single-faucet .claim-status { margin-top: 18px; margin-bottom: 0; }
.single-faucet .account-form { margin-top: 14px; }
.single-faucet .claim-wait { font-size: 12px; line-height: 1.6; color: var(--muted); }
.claim-trend { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.claim-trend > div { text-align: center; padding: 14px 4px; background: var(--accent-surface); border-radius: 8px; }
.claim-trend span { display: block; color: var(--muted); font-size: 11px; }
.claim-trend strong { display: block; font-size: 22px; margin-top: 10px; }
.admin-status strong { font-size: 21px; }
.live-claims { margin-top: 24px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.feed-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.feed-heading h2 { display: flex; align-items: center; gap: 8px; margin: 0; }
.feed-heading > span { font-size: 11px; color: var(--muted); }
.live-dot { width: 7px; height: 7px; background: var(--mint); border-radius: 50%; }
.feed-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); }
.feed-coin .coin-icon { width: 32px; height: 32px; }
.feed-person { display: grid; gap: 5px; min-width: 0; }
.feed-person strong { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-person > span { color: var(--muted); font-size: 11px; }
.feed-amount { margin-left: auto; color: var(--mint); font-size: 13px; overflow-wrap: anywhere; text-align: right; }
.feed-amount > span { font-size: 11px; color: var(--muted); }
.feed-empty { color: var(--muted); font-size: 13px; margin: 24px 0 4px; text-align: center; }
@media (max-width: 760px) {
    .recipient-sidebar { position: static; width: auto; padding: 16px; gap: 16px; border-right: 0; border-bottom: 1px solid var(--border); }
    .recipient-sidebar nav { grid-template-columns: 1fr 1fr; }
    .admin-sidebar nav { grid-template-columns: repeat(3, 1fr); }
    .sidebar-support { display: none; }
    .sidebar-bottom { margin-top: 0; display: flex; align-items: center; justify-content: space-between; }
    .sidebar-bottom .sidebar-support { display: block; margin-top: 0; }
    .recipient-shell { margin-left: 0; padding: 0 16px; }
    .coin-switcher label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .coin-switcher { gap: 6px; }
    .button-link { margin-left: 0; }
    .coin-settings-row summary { flex-wrap: wrap; }
    .coin-setting-summary { margin-left: 0; }
    .recipient-sidebar { padding: 10px 16px; gap: 8px; }
    .recipient-sidebar > .brand { display: none; }
    .recipient-sidebar nav { gap: 8px; }
    .sidebar-link { justify-content: center; padding: 10px 12px; }
    .sidebar-bottom { justify-content: flex-end; gap: 12px; }
    .sidebar-exit button { padding: 9px 12px; font-size: 11px; }
    .sidebar-exit svg { width: 15px; height: 15px; }
    .sidebar-bottom .sidebar-support { padding: 6px 0; font-size: 11px; }
    .recipient-shell > header { position: sticky; top: 0; z-index: 2; background: var(--bg); gap: 10px; padding: 12px 0; }
    .mobile-brand { display: block; }
    .topbar-title { font-size: 14px; }
    .topbar-subtitle { font-size: 10px; }
    .coin-switcher > .coin-icon { width: 22px; height: 22px; }
    .coin-switcher { padding: 3px 6px; }
    .coin-switcher select { width: 72px; font-size: 12px; }
    .live-claims { padding: 16px; }
    .feed-heading { flex-wrap: wrap; }
    .desktop-ad { display: none; }
    @container (min-width: 300px) { .mobile-ad { display: flex; } }
    @container (min-width: 320px) { .mobile-ad .ad-placeholder { width: 320px; } }
}
@media (max-width: 560px) {
    .settings-grid { grid-template-columns: 1fr; }
    .coin-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-heading { flex-wrap: wrap; }
    .shell { padding: 0 16px; }
    header { padding: 16px 0; }
    .brand { font-size: 18px; }
    .brand small { display: block; margin: 0; font-size: 11px; }
    main { padding: 24px 0; }
    h1 { font-size: 24px; }
    .earn-options { grid-template-columns: 1fr; }
}
.mobile-menu-toggle, .mobile-menu-close, .mobile-menu-backdrop { display: none; }
@media (max-width: 760px) {
    .recipient-app .recipient-sidebar {
        position: fixed; inset: 0 auto 0 0; z-index: 41; width: min(280px, 85vw);
        height: 100dvh; padding: 28px 18px; gap: 24px; border-right: 1px solid var(--disabled);
        border-bottom: 0; transform: translateX(-100%); visibility: hidden;
        transition: transform .2s ease, visibility .2s; overflow-y: auto;
    }
    .recipient-app.mobile-menu-open { overflow: hidden; }
    .recipient-app.mobile-menu-open .recipient-sidebar { transform: translateX(0); visibility: visible; }
    .recipient-app .recipient-sidebar > .brand { display: flex; padding: 0 6px; margin-right: 32px; }
    .recipient-app .recipient-sidebar nav { grid-template-columns: 1fr; gap: 8px; }
    .recipient-app .sidebar-link { justify-content: flex-start; min-height: 48px; padding: 12px 16px; }
    .recipient-app .sidebar-bottom { display: block; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
    .recipient-app .sidebar-exit button { min-height: 44px; font-size: 13px; padding: 12px 16px; }
    .recipient-app .sidebar-bottom .community-link { margin: 16px 0 0; }
    .recipient-app .mobile-menu-toggle, .recipient-app .mobile-menu-close {
        display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
        padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text);
    }
    .mobile-menu-toggle svg, .mobile-menu-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
    .recipient-app .mobile-menu-close { position: absolute; right: 12px; top: 22px; width: 36px; height: 36px; padding: 7px; }
    .recipient-app .mobile-menu-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 40; margin: 0; padding: 0; width: 100%; height: 100dvh; border-radius: 0; background: #071316b8; backdrop-filter: blur(3px); }
    .recipient-app .topbar-heading { gap: 10px; min-width: 0; }
    .recipient-app .recipient-shell > header { padding: 12px 0; }
}
@media (prefers-reduced-motion: reduce) { .recipient-app .recipient-sidebar { transition: none; } }
/* Stretch the application shell, not text or the central claim card. */
.claim-success-modal { box-sizing: border-box; width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; margin: auto; padding: 32px 24px 24px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); color: var(--text); text-align: center; box-shadow: 0 24px 80px #0006; }
.claim-success-modal::backdrop { background: #071316b8; backdrop-filter: blur(4px); }
.claim-success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: #163e36; color: var(--mint); }
.claim-success-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.claim-success-modal h2 { margin: 0 0 12px; font-size: 24px; }
.claim-success-modal p { margin: 0 0 24px; color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }
.claim-success-modal form { margin: 0; }
.claim-success-modal button { width: 100%; min-height: 46px; }
.recipient-app .recipient-shell { max-width: none; margin-right: 0; }
.recipient-app .recipient-shell > header { margin-inline: -36px; padding-inline: 36px; }
.home-hero > *, .getting-started li > div, .recipient-app main, .recipient-app .faucet-stage > *, .recipient-app .claim-details > div { min-width: 0; }
.ad-placeholder { max-width: 100%; }
.ptc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.ptc-heading, .ptc-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ptc-heading { margin-bottom: 16px; flex-wrap: wrap; }
.ptc-count { color: var(--mint); background: var(--accent-surface); border-radius: 20px; padding: 8px 12px; font-size: 12px; }
.ptc-help { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0 0 20px; }
.ptc-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; overflow-wrap: anywhere; padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.ptc-card h2 { font-size: 17px; line-height: 1.45; }
.ptc-description { color: var(--muted); font-size: 13px; line-height: 1.6; }
.ptc-ad-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--accent-surface); color: var(--mint); }
.ptc-ad-icon svg { width: 24px; height: 24px; }
.ptc-reward { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.ptc-reward small, .ptc-history-row small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.ptc-reward strong { color: var(--mint); font-size: 18px; }
.ptc-history { margin-top: 24px; }
.ptc-history-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--border); overflow-wrap: anywhere; }
.ptc-history-row small { margin: 5px 0 0; }
.ptc-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.ptc-card h2, .ptc-card p { margin: 0; }
.ptc-card .button-link { display: flex; align-items: center; justify-content: space-between; margin: 0; }
.ptc-card .button-link:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
.adslab-captcha, .adslab-captcha iframe { max-width: 100%; }
@media (max-width: 760px) {
    .recipient-app .recipient-shell > header { margin-inline: -16px; padding-inline: 16px; }
    .public-home input, .recipient-app input, .recipient-app select { font-size: 16px; }
    .recipient-app .dashboard-faucet > div:nth-child(2) { min-width: 0; }
    .recipient-app .coin-mark { flex-shrink: 0; }
    .recipient-app .faucet-coin-heading h2 { overflow-wrap: anywhere; }
    .recipient-app .payment-row { flex-wrap: wrap; }
    .recipient-app .payment-detail { flex: 1; }
    .recipient-app .claim-details { overflow-wrap: anywhere; }
}
/* Primary controls keep dark text in hover/focus states. */
button:not(:disabled):not(.text-button):not(.mobile-menu-toggle):not(.mobile-menu-close):not(.mobile-menu-backdrop):hover,
.button-link:hover { background: var(--mint-hover); color: var(--on-mint); }
.sidebar-exit button:not(:disabled):hover { background: #4a2735; color: #ffc4ce; }
.text-button:hover { color: var(--mint-hover); }
.public-home .site-header, .recipient-shell > header { background: var(--bg); }
.public-home .home-entry { border-color: var(--border-strong); }
.ptc-card:hover { border-color: var(--border-strong); }
.notice.error strong, .notice.error span { color: #ffd0dc; }
