/* Screens specific to the sell-out forecast. Tokens and base styles are in base.css. */

.screen h1 { max-width: 12ch; }

.fine { margin: 0; font-size: 12.5px; color: var(--mute); }
.muted { color: var(--mute); }

/* big number */
.d-sub { margin: 8px 0 0; color: var(--mute); font-size: 16px; }

/* groups + picks */
.grp { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -.035em; border-top: 1.5px solid var(--ink); padding-top: 12px; }
.grp span { color: var(--mute); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.picks { list-style: none; margin: 0; padding: 0; }
.pick { border-bottom: 1px solid var(--line); padding: 12px 0; }
.pick-top { width: 100%; display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; background: none; border: 0; padding: 0; text-align: left; color: inherit; cursor: pointer; min-height: 44px; }
.pick-top:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.pk-main { display: flex; flex-direction: column; min-width: 0; }
.pk-brand { font-size: 12.5px; color: var(--mute); font-weight: 600; }
.pk-name { font-weight: 700; font-size: 17px; line-height: 1.15; letter-spacing: -.015em; }
.pk-price { font-weight: 800; font-size: 18px; letter-spacing: -.02em; text-align: right; flex: none; display: flex; flex-direction: column; }
.pk-price small { font-size: 12.5px; font-weight: 500; color: var(--mute); text-decoration: line-through; }
.pick.gone .pk-name { text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: var(--cut); }
.pk-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 6px; }
.risk { font-size: 13px; font-weight: 700; padding: 0 8px; border-radius: 6px; background: none; color: var(--cut); border: 1.5px solid currentColor; }
.risk.high { background: none; color: var(--maybe); border: 1.5px solid currentColor; padding: 0 8px; }
.risk.watch { background: none; color: var(--mute); border: 1.5px solid currentColor; padding: 0 8px; }
.pk-when { flex-basis: 100%; font-size: 13.5px; color: var(--mute); }
.pk-detail { margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--ink); display: flex; flex-direction: column; gap: 8px; }
.pk-detail p { margin: 0; font-size: 15px; line-height: 1.35; }
.pk-detail b { font-weight: 800; }
.pk-actions { display: flex; gap: 10px; margin-top: 4px; }
.pk-actions .btn { flex: 1; display: grid; place-items: center; text-decoration: none; }
.pk-actions .btn.buy { background: var(--accent); }

.playbook { list-style: none; margin: 0; padding: 0 0 100px; }
.playbook li { border-bottom: 1px solid var(--line); padding: 12px 0; display: grid; gap: 2px; }
.playbook .pb-when { font-size: 13px; font-weight: 700; color: var(--accent); }
.playbook b { font-size: 17px; letter-spacing: -.015em; }
.playbook p { margin: 0; font-size: 15px; line-height: 1.35; color: var(--mute); }

/* share screen */
.card-stage { display: flex; justify-content: center; }
.card-preview { position: relative; width: 100%; max-width: 270px; overflow: hidden; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); }
.share-card { position: absolute; top: 0; left: 0; width: 1080px; height: 1920px; transform-origin: top left; background: radial-gradient(900px 760px at 92% 6%, rgba(255, 150, 80, .6), rgba(255, 150, 80, 0) 62%), radial-gradient(1000px 900px at -5% 58%, rgba(130, 50, 220, .6), rgba(130, 50, 220, 0) 62%), linear-gradient(165deg, #3a0f5c 0%, #c2185b 54%, #ff5a5f 100%); color: #fff; font-family: var(--font); overflow: hidden; }
.share-actions { display: flex; flex-direction: column; gap: 10px; }

/* 1080x1920 card. Padding keeps content out of the top 250px and bottom 340px. */
.sc-safe { position: absolute; inset: 0; padding: 270px 64px 350px; display: flex; flex-direction: column; }
.sc-kicker { font-size: 38px; font-weight: 700; color: #6f6a75; letter-spacing: -.01em; }
.sc-num { font-size: 300px; line-height: .86; font-weight: 800; letter-spacing: -.07em; color: #e8135b; margin: 20px 0 0 -10px; }
.sc-num small { font-size: 68px; letter-spacing: -.02em; color: #6f6a75; font-weight: 600; margin-left: 14px; }
.sc-line { font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: -.045em; margin-top: 18px; }
.sc-list-title { margin-top: 40px; font-size: 40px; font-weight: 800; letter-spacing: -.03em; border-top: 4px solid #1a1420; padding-top: 22px; }
.sc-list { list-style: none; margin: 8px 0 0; padding: 0; }
.sc-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 16px 0; border-bottom: 2px solid #e6e2e8; font-size: 42px; font-weight: 700; letter-spacing: -.02em; }
.sc-day { flex: none; color: #12805a; font-weight: 800; }
.sc-day.gone { color: #e8135b; }
.sc-wm { position: absolute; left: 64px; right: 64px; bottom: 360px; font-size: 34px; font-weight: 700; color: #6f6a75; line-height: 1.3; }

.save-modal { position: fixed; inset: 0; z-index: 100; background: rgba(26, 20, 32, .94); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: calc(14px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom)); gap: 10px; }
.save-modal-bar { width: 100%; max-width: 430px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.save-hint { margin: 0; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.25; }
.save-img-wrap { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; width: 100%; }
.save-img { max-height: 100%; max-width: 100%; border-radius: 14px; }
.save-dl { color: #fff; font-size: 14px; text-decoration: underline; padding: 8px; }
.save-modal .btn.small { background: #fff; color: var(--ink); }

.pk-img { width: 76px; height: 76px; object-fit: contain; flex: none; border-radius: 8px; }
.pk-main { flex: 1; }

/* the whole top of a linked row is a link to the Sephora page */
a.pick-top { text-decoration: none; position: relative; }
a.pick-top:active { opacity: .6; }
.pk-go { align-self: center; flex: none; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; border-radius: 10px; padding: 8px 14px; min-height: 36px; display: grid; place-items: center; }
.pk-more { background: none; border: 0; padding: 0; margin-top: 6px; min-height: 44px; color: var(--mute); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.pk-more:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* tip box: a thick left bar, no card */
.note { border-left: 4px solid var(--accent); padding: 4px 0 4px 14px; margin-top: 6px; }
.note b { font-size: 18px; font-weight: 800; letter-spacing: -.025em; }
.note p { margin: 4px 0 0; font-size: 15px; line-height: 1.35; color: var(--mute); }

.sc-offer { margin-top: 36px; padding-left: 28px; border-left: 10px solid #e8135b; font-size: 42px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }

.byline { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; text-decoration: none; color: var(--ink); min-height: 56px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent); }
.by-text { display: flex; flex-direction: column; line-height: 1.2; }
.by-text b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.by-text span { font-size: 14px; color: var(--mute); font-weight: 600; }
.byline:active { opacity: .7; }
.byline:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 28px; }
.foot a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.follow { border-top: 1.5px solid var(--ink); padding-top: 16px; margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.follow b { font-size: 22px; letter-spacing: -.035em; font-weight: 800; }
.follow p { margin: 0; color: var(--mute); font-size: 16px; }
.follow .btn { display: grid; place-items: center; text-decoration: none; margin-top: 4px; }
.sc-wm b { color: #1a1420; font-size: 44px; font-weight: 800; letter-spacing: -.03em; }

/* grid card */
.sc-head { display: flex; align-items: center; gap: 36px; margin-top: 18px; }
.sc-head .sc-num { font-size: 250px; margin: 0 0 0 -8px; flex: none; }
.sc-head .sc-num small { font-size: 56px; margin-left: 10px; }
.sc-head .sc-line { margin: 0; font-size: 54px; }
.sc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 34px; }
.sc-tile { position: relative; aspect-ratio: 1; background: #fff; border: 3px solid #e6e2e8; border-radius: 20px; overflow: hidden; display: grid; place-items: center; }
.sc-tile.mine { border-color: #e8135b; border-width: 7px; }
.sc-tile img { width: 100%; height: 100%; object-fit: contain; padding: 5px; display: block; }
.sc-fallback { font-size: 22px; font-weight: 800; text-align: center; padding: 8px; }
.sc-d { position: absolute; left: 8px; bottom: 8px; font-size: 22px; font-weight: 800; padding: 2px 10px; border-radius: 8px; background: #fff; border: 2px solid currentColor; line-height: 1.2; }
.sc-d.d1 { color: #e8135b; } .sc-d.d2 { color: #b36b00; } .sc-d.d3 { color: #6f6a75; }
.sc-key { margin-top: 14px; font-size: 28px; color: #6f6a75; font-weight: 600; }
.sc-offer { margin-top: 26px; }

/* gradient card: light text on colour, white tiles for the photos */
.sc-kicker { color: rgba(255, 255, 255, .85); }
.sc-num { color: #fff; text-shadow: 0 6px 30px rgba(58, 15, 92, .35); }
.sc-num small { color: rgba(255, 255, 255, .8); }
.sc-line { color: #fff; }
.sc-tile { border-color: rgba(255, 255, 255, .9); box-shadow: 0 8px 22px rgba(58, 15, 92, .28); }
.sc-tile.mine { border-color: #ffe27a; }
.sc-key { color: rgba(255, 255, 255, .85); }
.sc-offer { border-left-color: #fff; color: #fff; }
.sc-wm { color: rgba(255, 255, 255, .85); }
.sc-wm b { color: #fff; }
