/* FOREA Advent 1.0.5: compact widget + value-focused dark popup */
.forea-advent,.forea-advent *{box-sizing:border-box}
.forea-advent{width:100%;max-width:var(--fa-max,960px);margin:10px auto;font-family:var(--fa-font,inherit);color:var(--fa-fg,#fff);font-size:13px;line-height:1.35;position:relative;z-index:2}
.forea-advent [hidden]{display:none!important}
.forea-advent .fa-inner{padding:12px 14px;background:var(--fa-bg,#18202a);color:var(--fa-fg,#fff);border:1px solid var(--fa-border,#36404c);border-radius:var(--fa-radius,14px);box-shadow:0 10px 28px rgba(0,0,0,.08)}
.forea-advent .fa-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.forea-advent .fa-heading{display:flex;align-items:center;gap:9px;min-width:0;flex:1}
.forea-advent .fa-gift-icon{font-size:23px;line-height:1}
.forea-advent .fa-main-title{font-size:16px;font-weight:700;letter-spacing:.02em;line-height:1.2}
.forea-advent .fa-subtitle{font-size:11px;opacity:.8;margin-top:1px}
.forea-advent .fa-cart-amount{font-size:11px;white-space:nowrap;text-align:right;opacity:.85}
.forea-advent .fa-cart-amount strong{font-size:14px;opacity:1}
.forea-advent .fa-progress{height:6px;margin:11px 0 0;border:0;overflow:hidden;background:rgba(255,255,255,.18);border-radius:30px}
.forea-advent .fa-progress-fill{height:100%;border-radius:30px;background:var(--fa-accent,#e89736);transition:width .2s ease}
.forea-advent .fa-live-message{font-size:14px;line-height:1.3;font-weight:700;margin:10px 0 7px}
.forea-advent .fa-earned-hint{font-size:11px;opacity:.8;margin:0 0 8px}
.forea-advent .fa-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.15);border-radius:11px}
.forea-advent .fa-card.fa-reached{border-color:var(--fa-accent,#e89736);box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
.forea-advent .fa-card-main{display:flex;align-items:center;gap:7px;min-width:0;flex:1;flex-wrap:wrap}
.forea-advent .fa-gift-label{font-size:10px;opacity:.75;white-space:nowrap;text-transform:uppercase;letter-spacing:.06em}
.forea-advent .fa-package-open{font:inherit;color:inherit;background:none;border:0;margin:0;padding:0;cursor:pointer;text-align:left;display:inline-flex;align-items:center;gap:6px;max-width:100%}
.forea-advent .fa-package-open:disabled{cursor:default}
.forea-advent .fa-package-name{font-size:15px;line-height:1.15}
.forea-advent .fa-detail-arrow{font-size:13px;color:var(--fa-accent,#e89736)}
.forea-advent .fa-tier-label{font-size:11px;opacity:.72;white-space:nowrap}
.forea-advent .fa-package-value{width:100%;font-size:12px;color:#dfe6ee}
.forea-advent .fa-package-value strong{font-size:15px;color:#fff}
.forea-advent .fa-package-meta{font-size:11px;opacity:.75}
.forea-advent .fa-detail-trigger,.forea-advent .fa-cta{font:inherit;font-size:12px;color:var(--fa-fg,#fff);border:0;background:none;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:2px;white-space:nowrap}
.forea-advent .fa-detail-trigger:hover,.forea-advent .fa-package-open:hover,.forea-advent .fa-cta:hover{text-decoration:underline}
.forea-advent .fa-bottom{margin-top:8px}
.forea-advent .fa-disclaimer{font-size:11px;opacity:.75;line-height:1.45}
.forea-advent.fa-product-compact .fa-inner{padding:10px 12px}
.forea-advent.fa-product-compact .fa-gift-icon{font-size:20px}
.forea-advent.fa-product-compact .fa-live-message{font-size:13px;margin:8px 0 6px}
.forea-advent.fa-product-compact .fa-card{padding:9px 10px}
.forea-advent.fa-floating{position:fixed;left:12px;right:12px;bottom:12px;max-width:none;width:auto;z-index:2147482500}
.forea-advent .fa-floating-close{margin-left:4px;border:0;background:transparent;color:var(--fa-fg,#fff);font-size:24px;line-height:1;cursor:pointer;padding:0 4px;opacity:.82}

.fa-modal.forea-advent{width:100%;max-width:none;margin:0;position:fixed;z-index:2147483000;inset:0;display:flex;align-items:center;justify-content:center;padding:18px;color:#fff;font-family:inherit}
.fa-modal.forea-advent .fa-modal-backdrop{position:absolute;inset:0;background:rgba(7,12,19,.76);backdrop-filter:blur(2px)}
.fa-modal.forea-advent .fa-modal-panel{position:relative;width:min(100%,640px);max-height:88vh;overflow:auto;background:#18202a;border:1px solid #36404c;border-radius:18px;padding:22px;color:#fff;box-shadow:0 28px 80px rgba(0,0,0,.45)}
.fa-modal.forea-advent .fa-modal-close{position:absolute;top:8px;right:10px;width:34px;height:34px;border:0;background:transparent;color:#fff;font-size:28px;line-height:1;cursor:pointer}
.fa-modal.forea-advent .fa-modal-hero{display:flex;gap:16px;align-items:flex-start;padding-right:24px}
.fa-modal.forea-advent .fa-modal-hero img{width:96px;height:96px;object-fit:contain;border:1px solid rgba(255,255,255,.15);border-radius:14px;background:#0f151d;flex:none}
.fa-modal.forea-advent .fa-modal-eyebrow{font-size:11px;color:#aeb7c2;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.fa-modal.forea-advent .fa-modal-hero h3{font-size:24px;color:#fff;margin:5px 0 6px;font-weight:800;line-height:1.2}
.fa-modal.forea-advent .fa-modal-headline{font-size:13px;font-weight:700;color:#fff;margin-bottom:3px}
.fa-modal.forea-advent .fa-modal-description{font-size:13px;margin:0 0 12px;color:#d2dae4;line-height:1.45}
.fa-modal.forea-advent .fa-modal-value-box{display:inline-flex;flex-direction:column;gap:2px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-left:4px solid var(--fa-accent,#e89736);border-radius:12px;padding:10px 12px;margin-top:2px}
.fa-modal.forea-advent .fa-modal-value-box span{font-size:11px;color:#bfc8d2;text-transform:uppercase;letter-spacing:.04em}
.fa-modal.forea-advent .fa-modal-value-box strong{font-size:22px;line-height:1.1;color:#fff}
.fa-modal.forea-advent .fa-modal-products-title{font-size:13px;font-weight:800;margin-top:20px;color:#fff;text-transform:uppercase;letter-spacing:.04em}
.fa-modal.forea-advent .fa-modal-products{margin:10px 0 0;padding:0;list-style:none;border-top:1px solid rgba(255,255,255,.08)}
.fa-modal.forea-advent .fa-modal-products li{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.08);align-items:flex-start}
.fa-modal.forea-advent .fa-prod-thumb{width:60px;height:60px;object-fit:contain;border-radius:10px;background:#fff;border:1px solid rgba(255,255,255,.15);flex:none}
.fa-modal.forea-advent .fa-prod-main{min-width:0;flex:1}
.fa-modal.forea-advent .fa-prod-name-row{display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap;margin-bottom:4px}
.fa-modal.forea-advent .fa-prod-link{color:#fff;text-decoration:none;font-weight:700;line-height:1.35}
.fa-modal.forea-advent .fa-prod-link:hover{text-decoration:underline}
.fa-modal.forea-advent .fa-prod-qty{white-space:nowrap;color:#ffcf9a;font-weight:700}
.fa-modal.forea-advent .fa-prod-subprices{display:flex;flex-wrap:wrap;gap:10px 18px;font-size:12px;color:#c4ccd6}
.fa-modal.forea-advent .fa-prod-subprices strong{color:#fff}
.fa-modal.forea-advent .fa-modal-total-row{margin-top:14px;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}
.fa-modal.forea-advent .fa-modal-total-row strong{font-size:22px;color:#fff}
.fa-modal.forea-advent .fa-modal-disclaimer{font-size:11px;color:#b8c1cb;margin:14px 0 0;line-height:1.55}
.fa-modal.forea-advent[hidden]{display:none!important}

@media(max-width:767px){
 .forea-advent{margin:8px auto}
 .forea-advent .fa-inner{padding:10px 12px}
 .forea-advent .fa-top{gap:7px}
 .forea-advent .fa-main-title{font-size:15px}
 .forea-advent .fa-subtitle{font-size:11px}
 .forea-advent .fa-cart-amount{font-size:10px}
 .forea-advent .fa-cart-amount strong{font-size:13px}
 .forea-advent .fa-live-message{font-size:13px}
 .forea-advent .fa-card{gap:8px;padding:9px 10px;flex-wrap:nowrap;align-items:flex-start}
 .forea-advent .fa-card-main{gap:6px}
 .forea-advent .fa-package-name{font-size:14px}
 .forea-advent .fa-package-value strong{font-size:14px}
 .forea-advent .fa-detail-trigger{font-size:11px}
 .fa-modal.forea-advent .fa-modal-panel{padding:18px;width:min(100%,560px)}
 .fa-modal.forea-advent .fa-modal-hero{gap:12px;padding-right:18px}
 .fa-modal.forea-advent .fa-modal-hero img{width:76px;height:76px}
 .fa-modal.forea-advent .fa-modal-hero h3{font-size:21px}
 .fa-modal.forea-advent .fa-modal-value-box strong{font-size:20px}
 .fa-modal.forea-advent .fa-modal-total-row strong{font-size:18px}
 .forea-advent.fa-floating{left:8px;bottom:8px;width:calc(100vw - 16px)}
}
@media(max-width:420px){
 .forea-advent .fa-card{flex-wrap:wrap}
 .forea-advent .fa-detail-trigger{padding-top:0}
 .fa-modal.forea-advent .fa-modal-hero{flex-direction:column}
 .fa-modal.forea-advent .fa-modal-hero img{width:84px;height:84px}
 .fa-modal.forea-advent .fa-modal-total-row{align-items:flex-start;flex-direction:column}
}

/* v1.0.6: separate achieved gift status / upgrade prompt; configurable value badge. */
.forea-advent.fa-v106 .fa-status-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px 9px;margin:10px 0 3px}
.forea-advent.fa-v106 .fa-status-row .fa-live-message{font-weight:750;font-size:13px;margin:0}
.forea-advent.fa-v106 .fa-current-info{flex:none;width:23px;height:23px;line-height:20px;display:inline-flex;align-items:center;justify-content:center;padding:0;margin:0;border:1px solid #53c18f;border-radius:50%;font-size:13px;font-family:Georgia,serif;font-weight:800;color:#53c18f;background:rgba(83,193,143,.09);cursor:pointer}
.forea-advent.fa-v106 .fa-current-info:hover,.forea-advent.fa-v106 .fa-current-info:focus{background:rgba(83,193,143,.23);outline:2px solid rgba(83,193,143,.25);outline-offset:1px}
.forea-advent.fa-v106 .fa-upgrade-line{margin:5px 0 9px;font-weight:650;font-size:13px;line-height:1.4}
.forea-advent.fa-v106 .fa-earned-value{font-size:11px;white-space:normal;color:inherit}
.forea-advent.fa-v106 .fa-earned-value strong{font-weight:800}
.forea-advent.fa-v106 .fa-package-value{width:auto;font-size:12px;line-height:1.35}
.forea-advent.fa-v106 .fa-value-badge{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:0 4px;background:var(--fa-badge-bg,#2c3e50);color:var(--fa-badge-fg,#fff);border:1px solid var(--fa-badge-border,#d88e2d);border-radius:var(--fa-badge-radius,16px);padding:5px 9px;max-width:100%}
.forea-advent.fa-v106 .fa-package-value.fa-value-badge strong{font-size:14px;color:inherit}
.forea-advent.fa-v106 .fa-earned-value.fa-value-badge strong{color:inherit}
.forea-advent.fa-v106 .fa-card-main{gap:7px 8px}
.forea-advent.fa-v106 .fa-card{gap:10px}
.forea-advent.fa-v106 .fa-bottom:empty{display:none}

/* Value is next to the picture, not below the repeated headline. */
.fa-modal.forea-advent.fa-v106 .fa-modal-panel{width:min(100%,525px);max-height:85vh;padding:18px 20px 16px;border-radius:16px}
.fa-modal.forea-advent.fa-v106 .fa-modal-hero-top{display:flex;align-items:stretch;gap:12px;padding-right:31px;min-height:76px}
.fa-modal.forea-advent.fa-v106 .fa-modal-hero-img,.fa-modal.forea-advent.fa-v106 .fa-modal-hero-placeholder{width:80px;height:80px;object-fit:contain;flex:none;background:#fff;border-radius:12px;padding:5px;border:1px solid rgba(255,255,255,.14)}
.fa-modal.forea-advent.fa-v106 .fa-modal-hero-placeholder{display:flex;align-items:center;justify-content:center;font-size:38px;background:#232d39}
.fa-modal.forea-advent.fa-v106 .fa-modal-value-box{display:flex;flex:1;justify-content:center;flex-direction:column;gap:4px;min-width:0;margin:0;padding:10px 13px;border:1px solid rgba(255,255,255,.15);border-left:3px solid var(--fa-accent,#e89736);border-radius:12px;background:#252f3c}
.fa-modal.forea-advent.fa-v106 .fa-modal-value-box span{font-size:10px;line-height:1.25;white-space:normal;color:#cbd4de}
.fa-modal.forea-advent.fa-v106 .fa-modal-value-box strong{font-size:23px;color:#fff;line-height:1.1;white-space:nowrap}
.fa-modal.forea-advent.fa-v106 .fa-modal-identity{margin:13px 0 0}
.fa-modal.forea-advent.fa-v106 .fa-modal-eyebrow{font-size:10px;letter-spacing:.075em}
.fa-modal.forea-advent.fa-v106 .fa-modal-identity h3{font-size:21px;line-height:1.2;color:#fff;margin:3px 0 3px;font-weight:800}
.fa-modal.forea-advent.fa-v106 .fa-modal-threshold{font-size:12px;color:#d1d9e2}
.fa-modal.forea-advent.fa-v106 .fa-modal-description{font-size:12px;line-height:1.4;margin:7px 0 0;color:#ccd5de}
.fa-modal.forea-advent.fa-v106 .fa-modal-products-title{font-size:12px;margin-top:15px}
.fa-modal.forea-advent.fa-v106 .fa-modal-products{margin-top:6px}
.fa-modal.forea-advent.fa-v106 .fa-modal-products li{padding:8px 0;gap:11px;align-items:center}
.fa-modal.forea-advent.fa-v106 .fa-prod-thumb{width:50px;height:50px;padding:2px}
.fa-modal.forea-advent.fa-v106 .fa-prod-name-row{margin-bottom:4px;gap:5px}
.fa-modal.forea-advent.fa-v106 .fa-prod-link{font-size:13px}
.fa-modal.forea-advent.fa-v106 .fa-prod-price{color:#cbd3dc;font-size:12px}
.fa-modal.forea-advent.fa-v106 .fa-prod-price strong{color:#fff;font-weight:800}
.fa-modal.forea-advent.fa-v106 .fa-modal-disclaimer{font-size:11px;margin:11px 0 0;color:#bac4d0}
@media(max-width:480px){
 .fa-modal.forea-advent.fa-v106{padding:12px}
 .fa-modal.forea-advent.fa-v106 .fa-modal-panel{width:100%;max-height:84vh;padding:15px}
 .fa-modal.forea-advent.fa-v106 .fa-modal-hero-top{flex-direction:row;gap:10px;padding-right:27px}
 .fa-modal.forea-advent.fa-v106 .fa-modal-hero-img,.fa-modal.forea-advent.fa-v106 .fa-modal-hero-placeholder{width:68px;height:68px}
 .fa-modal.forea-advent.fa-v106 .fa-modal-value-box{padding:8px 10px}
 .fa-modal.forea-advent.fa-v106 .fa-modal-value-box strong{font-size:20px}
 .fa-modal.forea-advent.fa-v106 .fa-modal-identity h3{font-size:20px}
 .forea-advent.fa-v106 .fa-status-row{gap:5px 8px}
 .forea-advent.fa-v106 .fa-card{align-items:flex-start}
}
