/* =====================================================================
   PhoneRanked — Upcoming (v1): /upcoming/
   Loaded only on that page. Colors = GeneratePress global colors.
   ===================================================================== */

/* ---------- 1. Base ---------- */
.pr-up{
	--pr-ink:#0E1726; --pr-text:#2A3342; --pr-muted:#5B6475; --pr-meta:#6B7587; --pr-faint:#A9B4C8;
	--pr-bg:#F4F6FA; --pr-border:#DEE3EC; --pr-line:#E9EDF3;
	--pr-accent:#1F5EFF; --pr-accent-hover:#1747C9; --pr-tint:#EEF3FF;
	--pr-green:#0B7F3E; --pr-amber:#E8A317; --pr-red:#C93434;
	--pr-violet:#5A3FD1; --pr-violet-tint:#F1ECFF;
	--pr-metal:linear-gradient(150deg,#fff 0%,#f5f7fa 40%,#e9edf3 100%);
	flex:1 1 100%;
	min-width:0;
	width:100%;
	padding:20px 0 56px;
	color:var(--pr-text);
	font-size:16px;
	line-height:1.55;
	font-variant-numeric:tabular-nums;
}
.pr-up *,
.pr-up *::before,
.pr-up *::after{box-sizing:border-box}
.pr-up h1,
.pr-up h2,
.pr-up h3{margin:0;color:var(--pr-ink);line-height:1.25}
.pr-up :where(p){margin:0}
.pr-up :where(ul,ol){margin:0;padding:0;list-style:none}
.pr-up :where(li){margin:0}
.pr-up img{max-width:100%;height:auto}
.pr-up :focus-visible{outline:3px solid var(--pr-accent);outline-offset:2px}
.pr-up .pr-crumbs ol{margin:0 0 22px}
.pr-up .pr-ghost{display:block;width:auto;height:100%}
.pr-up [hidden]{display:none!important}

/* ---------- 2. Hero ---------- */
.up-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:20px 40px;align-items:end;margin-bottom:28px}
@media (min-width:900px){
	.up-hero.has-next{grid-template-columns:minmax(0,1fr) 340px}
}
.up-hero-text{display:flex;flex-direction:column;gap:12px;max-width:760px}
.pr-up .up-title{font-size:clamp(32px,4.6vw,46px);font-weight:800;letter-spacing:-.02em;line-height:1.05}
.up-lead{color:var(--pr-muted);font-size:17px;line-height:1.6;max-width:660px}
.up-facts{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.up-facts span{
	display:inline-flex;align-items:center;min-height:30px;padding:4px 12px;
	border:1px solid var(--pr-border);border-radius:999px;background:#fff;
	color:var(--pr-text);font-size:13px;font-weight:600;
}

/* Next confirmed date */
.pr-up .up-next{
	position:relative;display:grid;grid-template-columns:72px minmax(0,1fr);grid-template-rows:auto 1fr;gap:4px 14px;
	padding:16px;border:1px solid var(--pr-border);border-radius:16px;background:var(--pr-metal);
	color:var(--pr-ink);text-decoration:none;
	transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.pr-up .up-next:hover{transform:translateY(-3px);box-shadow:0 12px 28px -16px rgba(14,23,38,.35);border-color:#c9d1de;color:var(--pr-ink)}
.up-next-label{grid-column:1 / -1;color:var(--pr-meta);font-size:13px;font-weight:700}
.up-next-img{display:grid;place-items:center;height:88px;padding:6px;border-radius:12px;background:#fff}
.up-next-img img{max-height:76px;width:auto;object-fit:contain;mix-blend-mode:multiply}
.up-next-img .pr-ghost{height:70px}
.up-next-text{display:flex;flex-direction:column;justify-content:center;min-width:0;line-height:1.3}
.up-next-text strong{font-size:18px;font-weight:800}
.up-next-text > span{color:var(--pr-muted);font-size:14px}
.pr-up .up-next-text .up-next-in{align-self:flex-start;margin-top:8px;padding:3px 10px;border-radius:999px;background:var(--pr-accent);color:#fff;font-size:13px;font-weight:800}

/* ---------- 3. Filters ---------- */
.up-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0 0 26px}
.up-chips{display:flex;flex-wrap:wrap;gap:8px}
.pr-up .up-chip{
	display:inline-flex;align-items:center;gap:8px;min-height:40px;margin:0;padding:6px 14px;
	border:1px solid var(--pr-border);border-radius:999px;background:#fff;
	color:var(--pr-ink);font-size:14px;font-weight:700;line-height:1.2;cursor:pointer;
}
.pr-up .up-chip:hover,
.pr-up .up-chip:focus{background:#fff;border-color:var(--pr-accent);color:var(--pr-accent)}
.up-chip span{color:var(--pr-meta);font-weight:600}
.pr-up .up-chip.is-on{border-color:var(--pr-ink);background:var(--pr-ink);color:#fff}
.pr-up .up-chip.is-on span{color:#A9B4C8}
.up-brand select{
	min-height:40px;padding:6px 36px 6px 14px;
	border:1px solid var(--pr-border);border-radius:12px;background-color:#fff;
	color:var(--pr-ink);font:inherit;font-size:14px;font-weight:700;
}

/* ---------- 4. Timeline ---------- */
.up-timeline{position:relative;display:flex;flex-direction:column;gap:30px;padding-left:28px}
.up-timeline::before{content:"";position:absolute;left:6px;top:10px;bottom:10px;width:2px;border-radius:2px;background:var(--pr-border)}
.up-group{position:relative}
.pr-up .up-month{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0 0 12px;font-size:22px;font-weight:800;letter-spacing:-.01em}
.up-month::before{
	content:"";position:absolute;left:-28px;top:7px;width:14px;height:14px;border-radius:50%;
	background:#fff;border:3px solid var(--pr-faint);
}
.up-group:first-child .up-month::before{border-color:var(--pr-accent)}
.up-group.is-due .up-month::before{border-color:var(--pr-amber)}
.up-hint{padding:2px 10px;border-radius:999px;background:var(--pr-tint);color:var(--pr-accent-hover);font-size:13px;font-weight:800;letter-spacing:0}
.up-group-note{margin:-4px 0 12px;color:var(--pr-muted);font-size:14px}
.up-list{display:flex;flex-direction:column;gap:10px}

.up-row{
	position:relative;display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:16px;align-items:center;
	padding:12px 18px 12px 12px;border:1px solid var(--pr-border);border-radius:16px;background:#fff;
	transition:border-color .15s ease,box-shadow .15s ease;
}
.up-row:has(.up-name a:hover){border-color:var(--pr-accent);box-shadow:0 10px 24px -18px rgba(14,23,38,.45)}
.up-row:has(.up-name a:focus-visible){outline:3px solid var(--pr-accent);outline-offset:2px}
.up-thumb{display:grid;place-items:center;height:72px;padding:6px;border-radius:12px;background:var(--pr-metal)}
.up-thumb img{max-height:60px;width:auto;object-fit:contain;mix-blend-mode:multiply}
.up-thumb .pr-ghost{height:54px}
.up-thumb .pr-ghost.is-foldable,
.up-thumb .pr-ghost.is-tri-fold{height:44px}
.up-main{min-width:0}
.up-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;color:var(--pr-meta);font-size:13px;font-weight:600}
.up-tag{padding:1px 9px;border-radius:999px;font-size:12px;font-weight:800;line-height:1.5}
.up-tag.is-announced{background:#E8EFFF;color:var(--pr-accent-hover)}
.up-tag.is-rumored{background:var(--pr-violet-tint);color:var(--pr-violet)}
.pr-up .up-name{margin:2px 0 3px;font-size:18px;font-weight:800;letter-spacing:-.01em}
.up-name a{color:var(--pr-ink);text-decoration:none}
.up-name a::after{content:"";position:absolute;inset:0;border-radius:16px}
.up-name a:hover{color:var(--pr-accent)}
.up-name a:focus-visible{outline:none}
.up-specs{color:var(--pr-text);font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.up-muted{color:var(--pr-meta)}
.up-admin{margin-top:4px;color:var(--pr-red);font-size:13px;font-weight:600}
.up-when{display:flex;flex-direction:column;align-items:flex-end;min-width:96px;text-align:right;line-height:1.25}
.up-when time,
.up-when strong{color:var(--pr-ink);font-size:17px;font-weight:800;white-space:nowrap}
.up-when small{color:var(--pr-meta);font-size:12px;font-weight:600}
.up-row.is-announced .up-when time{color:var(--pr-accent-hover)}

@media (max-width:639px){
	.up-timeline{padding-left:22px}
	.up-timeline::before{left:4px}
	.up-month::before{left:-22px;top:6px;width:12px;height:12px}
	.pr-up .up-month{font-size:20px}
	.up-row{grid-template-columns:60px minmax(0,1fr);grid-template-areas:"img main" "img when";gap:4px 12px;padding:10px 12px 10px 10px}
	.up-thumb{grid-area:img;align-self:start;height:76px}
	.up-main{grid-area:main}
	.up-when{grid-area:when;flex-direction:row;align-items:baseline;gap:6px;min-width:0;text-align:left}
	.up-when time,
	.up-when strong{font-size:14px}
	.pr-up .up-name{font-size:17px}
}

/* No match / empty */
.up-nomatch{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px;padding:18px 20px;border:1px dashed var(--pr-faint);border-radius:14px;background:#fff}
.up-nomatch p{color:var(--pr-muted)}
.up-empty{display:flex;align-items:center;gap:28px;max-width:700px;padding:28px;border:1px dashed var(--pr-faint);border-radius:18px;background:#fff}
.up-empty .pr-ghost{flex:0 0 auto;height:130px}
.pr-up .up-empty h2{margin-bottom:8px;font-size:22px;font-weight:800}
.up-empty p{margin-bottom:14px;color:var(--pr-muted)}
.up-empty p:last-child{margin-bottom:0}
@media (max-width:539px){
	.up-empty{flex-direction:column;align-items:flex-start;padding:22px}
	.up-empty .pr-ghost{height:96px}
}

/* Buttons */
.pr-up .up-btn{
	display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:10px 18px;
	border:1px solid transparent;border-radius:12px;font-size:15px;font-weight:800;line-height:1.2;text-decoration:none;cursor:pointer;
}
.pr-up .up-btn-main{background:var(--pr-accent);color:#fff}
.pr-up .up-btn-main:hover{background:var(--pr-accent-hover);color:#fff}
.pr-up .up-btn-ghost{border-color:var(--pr-border);background:#fff;color:var(--pr-ink)}
.pr-up .up-btn-ghost:hover,
.pr-up .up-btn-ghost:focus{border-color:var(--pr-accent);background:#fff;color:var(--pr-accent)}

/* ---------- 5. Just launched ---------- */
.up-just{margin-top:56px}
.pr-up .up-h2{margin:0 0 14px;font-size:24px;font-weight:800;letter-spacing:-.01em}
.up-just .up-h2{margin-bottom:4px}
.up-sub{margin:0 0 16px;color:var(--pr-muted)}
.up-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}
.up-card{
	position:relative;display:flex;flex-direction:column;gap:4px;min-width:0;padding:12px 14px 14px;
	border:1px solid var(--pr-border);border-radius:16px;background:var(--pr-metal);
	transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.up-card:has(a:hover){transform:translateY(-3px);box-shadow:0 12px 28px -16px rgba(14,23,38,.35);border-color:#c9d1de}
.up-card-img{display:grid;place-items:center;height:150px;margin-bottom:6px}
.up-card-img img{max-height:140px;width:auto;object-fit:contain;mix-blend-mode:multiply}
.up-card-img .pr-ghost{height:110px}
.pr-up .up-card-name{font-size:16px;font-weight:800}
.up-card-name a{color:var(--pr-ink);text-decoration:none}
.up-card-name a::after{content:"";position:absolute;inset:0;border-radius:16px}
.up-card-name a:hover{color:var(--pr-accent)}
.up-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--pr-meta);font-size:13px;font-weight:600}
.up-score{min-width:38px;padding:2px 7px;border-radius:8px;background:var(--pr-red);color:#fff;font-size:13px;font-weight:800;text-align:center}
.up-score.is-high{background:var(--pr-green)}
.up-score.is-mid{background:var(--pr-amber);color:var(--pr-ink)}
@media (max-width:539px){
	.up-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
	.up-card-img{height:120px}
	.up-card-img img{max-height:110px}
}

/* ---------- 6. Text, FAQ, explore ---------- */
.up-about{max-width:820px;margin-top:64px}
.up-about .up-h2{margin-top:40px}
.up-about .up-h2:first-child{margin-top:0}
.up-about p{margin:0 0 14px}
.up-about a{color:var(--pr-accent)}
.up-faq{display:flex;flex-direction:column;gap:10px}
.up-faq-item{border:1px solid var(--pr-border);border-radius:14px;background:#fff}
.up-faq-item summary{position:relative;padding:16px 52px 16px 18px;color:var(--pr-ink);font-weight:700;cursor:pointer;list-style:none}
.up-faq-item summary::-webkit-details-marker{display:none}
.up-faq-item summary::after{
	content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);
	color:var(--pr-accent);font-size:24px;font-weight:600;line-height:1;
}
.up-faq-item[open] summary::after{content:"\2212"}
.up-about .up-faq-item p{margin:0;padding:0 18px 16px}
.up-explore{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
.pr-up .up-explore a{
	display:flex;flex-direction:column;gap:2px;height:100%;padding:14px 16px;
	border:1px solid var(--pr-border);border-radius:14px;background:var(--pr-metal);text-decoration:none;
	transition:transform .18s ease,box-shadow .18s ease;
}
.pr-up .up-explore a:hover{transform:translateY(-3px);box-shadow:0 10px 24px -14px rgba(14,23,38,.35)}
.up-explore strong{color:var(--pr-ink);font-weight:800}
.up-explore span{color:var(--pr-meta);font-size:14px}

/* ---------- 7. Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
	.pr-up *,
	.pr-up *::before,
	.pr-up *::after{transition:none!important}
	.pr-up .up-next:hover,
	.up-card:has(a:hover),
	.pr-up .up-explore a:hover{transform:none}
}
