.offers-link{display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;padding:14px 18px;border:1px solid #e3d7c4;border-radius:16px;background:#faf6ee;color:#584327;text-decoration:none;font:inherit;cursor:pointer;margin:14px 0}.offers-link strong{font-size:17px}.offers-link small{font-size:13px}.offers-link span{margin-left:auto}
#offersDialog,.fk-source-dialog,.offers-page{--offer-ink:#40352a;--offer-muted:#817466;--offer-line:#e9e0d3;--offer-paper:#fffdf9;--offer-soft:#f7f1e7;--offer-accent:#96723f;color:var(--offer-ink)}
#offersDialog,.fk-source-dialog{box-sizing:border-box;width:min(540px,calc(100% - 28px));max-width:calc(100% - 28px);max-height:88dvh;margin:auto;padding:0;border:1px solid var(--offer-line);border-radius:24px;background:var(--offer-paper);box-shadow:0 22px 75px #2e24132e;overflow:auto;overscroll-behavior:contain;font-family:inherit}
#offersDialog::backdrop,.fk-source-dialog::backdrop{background:#29231866;backdrop-filter:blur(6px)}
.offers-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 14px;position:sticky;top:0;background:var(--offer-paper);z-index:2}.offers-heading h2{margin:0;font-size:22px;letter-spacing:.03em}.offers-heading button,.survey-close{width:36px;height:36px;border:0;border-radius:50%;background:var(--offer-soft);color:var(--offer-muted);font-size:24px;line-height:1;cursor:pointer}
.offers-content{padding:0 24px 24px;min-width:0}.survey-section-head{padding:10px 0 16px}.survey-section-head h3{font-size:18px;line-height:1.5;margin:0 0 4px}.survey-section-head p,.survey-card p{margin:0;color:var(--offer-muted);font-size:13px;line-height:1.7}.survey-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.survey-card{display:flex;flex-direction:column;min-width:0;padding:18px 16px;border:1px solid var(--offer-line);border-radius:18px;background:var(--offer-paper);box-shadow:0 3px 10px #392a1505}.survey-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.survey-icon{display:grid;place-items:center;width:34px;height:34px;background:var(--offer-soft);color:var(--offer-accent);border-radius:11px;font-size:21px}.survey-value{font-size:25px;color:var(--offer-accent);font-weight:700}.survey-card h4{font-size:15px;line-height:1.5;margin:0 0 7px}.survey-card p{flex:1;margin-bottom:18px}.survey-start,.survey-done{font:inherit;font-size:13px;font-weight:600;border:0;border-radius:10px;padding:11px 8px;cursor:pointer;background:var(--offer-soft);color:var(--offer-accent)}.survey-done{color:var(--offer-muted);cursor:default}.survey-card.is-done{background:var(--offer-soft);opacity:.8}.survey-rule{font-size:12px;color:var(--offer-muted);line-height:1.7;margin:14px 0 0}.fk-source-note{font-size:12px!important;color:var(--offer-muted)!important;line-height:1.7;margin:5px 0 0}.survey-eligibility{font-size:14px;line-height:1.8;padding:18px;border-radius:14px;background:var(--offer-soft)}
.offer-wallet{border-top:1px solid var(--offer-line);margin-top:24px;padding-top:22px}.offer-wallet h3{font-size:16px;margin:0 0 14px}.offer-wallet-list{display:grid;gap:10px}.offer-ticket{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;border:1px solid var(--offer-line);border-radius:14px;background:var(--offer-paper);min-width:0}.offer-ticket>strong{font-size:25px;white-space:nowrap;color:var(--offer-accent)}.offer-ticket>div{flex:1;min-width:0}.offer-ticket p{margin:0;font-size:13px}.offer-ticket small{font-size:11px;color:var(--offer-muted);display:block;margin-top:4px}.offer-ticket.is-inactive{opacity:.6}.offer-empty{padding:20px 14px;text-align:center;background:var(--offer-soft);border-radius:14px;color:var(--offer-muted);font-size:13px}.offer-wallet .reward-body{min-height:0}.offer-wallet-title{display:flex;justify-content:space-between;align-items:center;gap:12px}
.fk-source-dialog{padding:24px;width:min(460px,calc(100% - 28px))}.fk-source-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px}.survey-badge{background:var(--offer-soft);color:var(--offer-accent);padding:6px 10px;border-radius:8px;font-size:12px;font-weight:600}.fk-source-dialog h2{font-size:23px;line-height:1.5;margin:0 0 10px;letter-spacing:0}.fk-source-intro{font-size:14px;color:var(--offer-muted);line-height:1.8;margin:0 0 20px}.fk-source-dialog textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:130px;border:1px solid var(--offer-line);border-radius:14px;padding:14px;background:var(--offer-soft);color:var(--offer-ink);font:inherit;font-size:16px;line-height:1.65;resize:vertical;outline-offset:3px}.fk-source-dialog textarea::placeholder{color:var(--offer-muted);opacity:.8}.survey-count{display:block;text-align:right;color:var(--offer-muted);font-size:11px;margin:6px 0 14px}.survey-actions{display:flex;flex-direction:column;gap:8px;margin-top:18px}.fk-source-primary{display:block;width:100%;min-height:46px;padding:12px;border:0;border-radius:12px;background:var(--offer-accent);color:white;font:inherit;font-size:15px;font-weight:600;cursor:pointer}.survey-skip{min-height:40px;border:0;background:transparent;color:var(--offer-muted);font:inherit;font-size:13px;cursor:pointer}.survey-error{font-size:13px;line-height:1.6;color:#a43b34;min-height:0;margin:8px 0}.survey-error:empty{display:none}.survey-success{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:var(--offer-soft);color:var(--offer-accent);font-size:28px;margin:20px auto}.fk-source-dialog>h3{font-size:18px;line-height:1.6}.fk-source-dialog>.fk-source-primary{margin-top:22px}.fk-source-dialog button:disabled{opacity:.6;cursor:default}
.offers-page{max-width:720px;margin:20px auto}.offers-page>h1{font-size:25px;margin:0 0 16px}.offers-page .panel{padding:24px}.offers-page .offer-wallet-title .btn{font-size:12px;padding:6px 10px}.offers-page .survey-section-head{padding-top:0}#app .offers-link{background:var(--paper,#f6f2fb);color:var(--ink,#332b42);border-color:var(--line,#ded7ea)}
#memberDialog .x-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}#memberDialog .x-tabs::before{width:calc((100% - 16px)/3)!important}.member-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}.member-tabs .tab-indicator{width:calc((100% - 10px)/3)!important}#memberDialog .mc-stats,.member .stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html[data-theme="dark"] #offersDialog,html[data-theme="dark"] .fk-source-dialog,html[data-theme="dark"] .offers-page,html[data-color-mode="dark"] #offersDialog,html[data-color-mode="dark"] .fk-source-dialog{--offer-paper:#25221f;--offer-soft:#302b25;--offer-ink:#f4eadc;--offer-muted:#b9aa95;--offer-line:#493e30;--offer-accent:#c7a46e}
@media(max-width:430px){.offers-heading{padding:16px 18px 12px}.offers-content{padding:0 18px 20px}.survey-grid{gap:10px}.survey-card{padding:14px 12px}.survey-card h4{font-size:14px}.survey-card p{font-size:12px}.survey-value{font-size:23px}.fk-source-dialog{padding:20px}.fk-source-dialog h2{font-size:21px}.offers-page .panel{padding:18px}.offers-link{padding:12px 15px}}


.offer-history{margin-top:16px;font-size:12px;color:var(--offer-muted)}.offer-history summary{cursor:pointer;padding:6px 0}.offer-history .offer-wallet-list{margin-top:10px}

.offers-page,.fk-source-dialog{--offer-accent:#8064a8;--offer-soft:#f4f0f8;--offer-line:#e5dfed;--offer-ink:#393047;--offer-muted:#82768f;--offer-paper:#fffdfd}

/* Match the final card geometry so the dialog stays steady while data arrives. */
.offer-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.offer-loading{width:100%;box-sizing:border-box;min-width:0}.offer-ghost{position:relative;overflow:hidden;border-radius:16px;isolation:isolate}.offer-ghost::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;background:linear-gradient(105deg,transparent 25%,color-mix(in srgb,var(--offer-paper,#fffdf9) 85%,transparent) 50%,transparent 75%);transform:translateX(-115%);animation:none!important}
.offer-ghost-line{display:block;height:9px;border-radius:8px;background:var(--offer-soft,#f7f1e7);max-width:100%;margin-bottom:10px}.offer-ghost-heading{padding:12px 0 17px}.offer-ghost-heading .offer-ghost-line:first-child{height:16px;margin-bottom:12px}.offer-ghost-heading .offer-ghost-line:last-child{height:10px;margin-bottom:0}.offer-ghost-card{box-sizing:border-box;min-width:0;min-height:200px;border:1px solid var(--offer-line,#e9e0d3);border-radius:18px;padding:18px 16px;background:var(--offer-paper,#fffdf9)}.offer-ghost-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:21px}.offer-ghost-icon{width:34px;height:34px;border-radius:11px;background:var(--offer-soft,#f7f1e7)}.offer-ghost-value{display:block;width:42px;height:24px;border-radius:8px;background:var(--offer-soft,#f7f1e7);flex-shrink:0}.offer-ghost-button,.offer-ghost-submit{display:block;height:38px;border-radius:10px;background:var(--offer-soft,#f7f1e7);margin-top:18px}.offer-ghost-note{padding:15px 0 1px}.offer-ghost-note .offer-ghost-line{height:8px}.offer-ghost-ticket{display:flex;align-items:center;gap:18px;box-sizing:border-box;min-height:94px;padding:17px;border:1px solid var(--offer-line,#e9e0d3);border-radius:14px}.offer-ghost-ticket>div{flex:1;min-width:0}.offer-ghost-ticket .offer-ghost-line:last-child{margin:0}.offer-ghost-intro{padding:6px 0 15px}.offer-ghost-textarea{height:130px;border:1px solid var(--offer-line,#e9e0d3);border-radius:14px;background:var(--offer-soft,#f7f1e7)}.offer-ghost-submit{height:46px;margin:21px 0 38px}.offer-loading-form{min-height:300px}.offer-ghost .offer-wallet h3{font-size:16px}
@keyframes offer-soft-sheen{0%,12%{transform:translateX(-115%)}80%,100%{transform:translateX(115%)}}
@media(max-width:430px){.offer-ghost-card{padding:14px 12px;min-height:194px}.offer-ghost-top{margin-bottom:20px}.offer-ghost-heading{padding-top:10px}.offer-ghost-button{margin-top:20px}}
@media(prefers-reduced-motion:reduce){.offer-ghost::after{animation:none;display:none}}
@media(forced-colors:active){.offer-ghost-card,.offer-ghost-ticket,.offer-ghost-textarea{border:1px solid CanvasText}.offer-ghost-line,.offer-ghost-icon,.offer-ghost-value,.offer-ghost-button,.offer-ghost-submit{background:GrayText}.offer-ghost::after{display:none}}
