/* Official phone artwork shares the same prize-card background treatment as other elements. */
.f-inline-prizes .f-prize-item[data-prize-element="iphone-18-pro-max"]{--prize-photo:url('assets/weekly-phones/iphone-18-pro-max-product.png')}
.f-inline-prizes .f-prize-item[data-prize-element="iphone-duo"]{--prize-photo:url('assets/weekly-phones/iphone-duo-official.png')}
.f-phone-guarantee{display:block;margin:3px 0;font-size:10px;line-height:1.4;color:#e8d2a3}
.f-prize-style-page .f-inline-prizes .f-prize-item[data-reward-kind="physical"] .f-cash-label{white-space:normal;overflow-wrap:anywhere}
.f-prize-style-page .f-inline-prizes .f-prize-item[data-prize-element="iphone-18-pro-max"]:not(.is-exhausted),
.f-prize-style-page .f-inline-prizes .f-prize-item[data-prize-element="iphone-duo"]:not(.is-exhausted){background-image:linear-gradient(90deg,var(--prize-top) 0%,color-mix(in srgb,var(--prize-bottom) 88%,transparent) 38%,color-mix(in srgb,var(--prize-bottom) 38%,transparent) 100%),var(--prize-photo),linear-gradient(135deg,var(--prize-top),var(--prize-bottom));background-position:center,right 8px center,center;background-size:cover,auto 94%,cover;background-repeat:no-repeat}

/* Keep each actual prize tier intact; the campaign prefix may wrap independently. */
.f-prize-style-page .f-inline-prizes .f-prize-identity-name{display:block;min-width:0;line-height:1.45;letter-spacing:0}
.f-prize-style-page .f-inline-prizes .f-prize-name-prefix{display:block;font-size:11px;line-height:1.4;overflow-wrap:anywhere;opacity:.85}
.f-prize-style-page .f-inline-prizes .f-prize-name-tier{display:block;white-space:nowrap;word-break:keep-all;overflow-wrap:normal;font-size:clamp(12px,3.5vw,16px);line-height:1.5}
/* Clearer product silhouette without changing any prize card's grid or dimensions. */
.f-prize-style-page .f-inline-prizes .f-prize-item[data-prize-element="iphone-18-pro-max"]:not(.is-exhausted){background-image:linear-gradient(90deg,var(--prize-top) 0%,color-mix(in srgb,var(--prize-bottom) 82%,transparent) 34%,color-mix(in srgb,var(--prize-bottom) 12%,transparent) 74%,transparent 100%),var(--prize-photo),linear-gradient(135deg,var(--prize-top),var(--prize-bottom));background-position:center,right 10px center,center;background-size:cover,auto 100%,cover;background-repeat:no-repeat}
.f-prize-style-page .f-inline-prizes .f-prize-item[data-prize-element="iphone-18-pro-max"] .f-prize-details{text-shadow:0 1px 3px #160b15,0 0 6px #160b15}
.f-prize-style-page .f-inline-prizes .f-prize-guarantee-compact{display:grid;grid-template-rows:10px 3px;align-content:center;gap:1px;height:14px;max-width:240px;width:100%;margin:3px auto;box-sizing:border-box;text-align:center}
.f-prize-style-page .f-inline-prizes .f-prize-guarantee-text{display:block;font-size:10px;line-height:10px;color:#ffe5ad;white-space:nowrap;font-variant-numeric:tabular-nums}
.f-prize-style-page .f-inline-prizes .f-prize-guarantee-track{display:block;width:100%;height:3px;margin:0;appearance:none;border:0;border-radius:5px;overflow:hidden;background:#2d1c28;accent-color:#e5c070}
.f-prize-style-page .f-inline-prizes .f-prize-guarantee-track::-webkit-progress-bar{background:#2d1c28;border-radius:5px}
.f-prize-style-page .f-inline-prizes .f-prize-guarantee-track::-webkit-progress-value{background:linear-gradient(90deg,#b68b40,#ffe4a2);border-radius:5px}
.f-prize-style-page .f-inline-prizes .f-prize-guarantee-track::-moz-progress-bar{background:#e5c070;border-radius:5px}
/* Introduction is separate from the unchanged prize grid and draw controls. */
.f-weekly-intro.f-activity-intro{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,25%);align-items:center;gap:24px;padding:28px;margin:0 0 24px;border:1px solid #94734d;border-radius:20px;background:radial-gradient(ellipse at 90% 20%,#8b5d3133,transparent 60%),linear-gradient(125deg,#402747,#24192f);box-shadow:inset 0 1px #ffe5ad18;overflow:hidden}
.f-weekly-intro-copy{position:relative;z-index:1;min-width:0;overflow-wrap:anywhere}
.f-weekly-intro-copy h1{margin:10px 0 12px;font-size:clamp(22px,3vw,34px);line-height:1.35;color:#ffe4ad;letter-spacing:1px}
.f-weekly-intro-copy p{margin:8px 0;color:#e5d4e6;font-size:14px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}
.f-weekly-intro-rules{padding:12px 14px;margin-top:15px;border-left:2px solid #d8b578;background:#1d142b66;border-radius:0 8px 8px 0;color:#d9c7df;font-size:13px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}
.f-weekly-intro-art{position:relative;min-width:0;display:grid;place-items:center;pointer-events:none;user-select:none;filter:drop-shadow(0 12px 18px #12091955)}
.f-weekly-intro-art>svg,.f-weekly-intro-art>img{display:block;width:100%;max-width:220px;height:auto}
@media(max-width:680px){.f-weekly-intro.f-activity-intro{grid-template-columns:minmax(0,1fr) 88px;gap:12px;padding:18px 16px;border-radius:15px}.f-weekly-intro-copy h1{font-size:22px;letter-spacing:0}.f-weekly-intro-copy p{font-size:13px;line-height:1.8}.f-weekly-intro-rules{font-size:12px;padding:10px}.f-weekly-intro-art{align-self:start;margin-top:26px}.f-prize-style-page .f-inline-prizes .f-prize-name-prefix{font-size:10px}.f-prize-style-page .f-inline-prizes .f-prize-guarantee-text{font-size:9px}}
@media(max-width:380px){.f-weekly-intro.f-activity-intro{grid-template-columns:minmax(0,1fr);padding:16px}.f-weekly-intro-art{display:none}.f-prize-style-page .f-inline-prizes .f-prize-name-tier{font-size:12px}}

/* In-card product foreground stays inside the existing card bounds. */
.f-prize-style-page .f-inline-prizes .f-prize-item:is([data-prize-element="iphone-18-pro-max"],[data-prize-element="iphone-duo"]):not(.is-exhausted){background-image:linear-gradient(135deg,var(--prize-top),var(--prize-bottom))}
.f-prize-style-page .f-inline-prizes .f-prize-product-image{position:absolute;z-index:2;right:3%;top:8%;width:20%;height:84%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 3px 6px #0009)}
.f-prize-style-page .f-inline-prizes .f-prize-item:is([data-prize-element="iphone-18-pro-max"],[data-prize-element="iphone-duo"])>.f-prize-details{box-sizing:border-box;padding-right:23%}
.f-weekly-intro-rules>span{display:block}
/* Duo's official comparison asset has transparent headroom; crop only that space. */
.f-prize-style-page .f-inline-prizes [data-prize-element="iphone-duo"]>.f-prize-product-image{height:auto;aspect-ratio:400/270;object-fit:cover;object-position:center bottom;top:50%;transform:translateY(-50%)}

/* Standalone, readable guarantee progress immediately below its prize card. */
.f-prize-style-page .f-inline-prizes .f-prize-grid>.f-prize-guarantee-compact{grid-column:1/-1;display:flex;flex-direction:column;gap:9px;height:auto;max-width:none;width:100%;margin:-4px 0 4px;padding:12px 16px;border:1px solid #d6b47370;border-radius:10px;background:#191329;box-sizing:border-box;text-align:left}
.f-prize-style-page .f-inline-prizes .f-prize-grid>.f-prize-guarantee-compact .f-prize-guarantee-text{font-size:16px;font-weight:700;line-height:1.5;white-space:normal;overflow-wrap:anywhere;color:#ffe7b2}
.f-prize-style-page .f-inline-prizes .f-prize-grid>.f-prize-guarantee-compact .f-prize-guarantee-track{height:12px;border-radius:8px}
@media(max-width:680px){.f-prize-style-page .f-inline-prizes .f-prize-grid>.f-prize-guarantee-compact{padding:10px 12px;gap:8px}.f-prize-style-page .f-inline-prizes .f-prize-grid>.f-prize-guarantee-compact .f-prize-guarantee-text{font-size:15px}.f-prize-style-page .f-inline-prizes .f-prize-grid>.f-prize-guarantee-compact .f-prize-guarantee-track{height:11px}}
