/**
 * Score420 Age and Store Gate
 *
 * ⛔ THE COLOURS AND FONTS ARE NOT INVENTED HERE.
 *
 * Every value below falls back to Breakdance's own global settings first and
 * only then to a hex, and those hexes were read off the live site rather than
 * chosen: Oswald for headings, Piazzolla for body, and the greens and creams
 * the home page actually uses most. If the brand is ever changed in Breakdance,
 * the gate follows it without anyone editing this file.
 *
 * Measured from score420.store on 1 October 2026:
 *   --bde-heading-font-family   "Oswald", sans-serif
 *   --bde-body-font-family      "Piazzolla", serif
 *   --bde-brand-primary-color   #89b809
 *   most used greens            #2a4742  #499460  #39534b
 *   most used cream and gold    #f2efe7  #e9c476
 *   --bde-section-width         1120px
 *
 * If you need to override anything, set these on :root in the theme or in
 * Simple Custom CSS. Do not edit this file, it is replaced on plugin update.
 */

:root {
	--s420g-ink:        #f2efe7;   /* light type on a dark card */
	--s420g-body:       #d9e2de;
	--s420g-bg:         #15211f;   /* near black, so the card reads as a panel */
	--s420g-card:       #2a4742;   /* the dark green the site leads with */
	--s420g-card-2:     #f2efe7;   /* cream CHOICES, so they pop off the dark */
	--s420g-line:       rgba(255,255,255,.18);
	--s420g-pick-ink:   #2c2b2b;   /* dark type ON the cream choices */
	--s420g-pick-sub:   #4a5a55;
	--s420g-accent:     #499460;   /* the green used most across the home page */
	--s420g-accent-ink: #ffffff;
	--s420g-gold:       #e9c476;
	--s420g-head-font:  var(--bde-heading-font-family, "Oswald", sans-serif);
	--s420g-body-font:  var(--bde-body-font-family, "Piazzolla", serif);
}

/* Hidden until script shows it, so a crawler is never blocked. */
.s420g {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	background: var(--s420g-bg);
	overflow-y: auto;
	padding: 24px 16px;
	-webkit-overflow-scrolling: touch;
}

.s420g.s420g-on { display: block; }
html.s420g-lock { overflow: hidden; }

.s420g-card {
	max-width: 620px;
	margin: 6vh auto 24px;
	background: var(--s420g-card);
	border-radius: 4px;
	padding: 40px 36px 30px;
	color: var(--s420g-ink);
	font-family: var(--s420g-body-font);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}

/* Oswald, uppercase and tracked, which is how the site sets its headings. */
.s420g-brand {
	margin: 0 0 24px;
	text-align: center;
	font-family: var(--s420g-head-font);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--s420g-accent);
}

.s420g-h {
	margin: 0 0 12px;
	text-align: center;
	font-family: var(--s420g-head-font);
	font-size: 30px;
	line-height: 1.15;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--s420g-ink);
}

.s420g .s420g-h,
.s420g .s420g-eyebrow { color: var(--s420g-ink); }
.s420g .s420g-eyebrow { color: var(--s420g-accent); }

.s420g-p {
	margin: 0 0 22px;
	text-align: center;
	font-size: 16px;
	line-height: 1.6;
	color: var(--s420g-body);
}

.s420g-check {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0 0 24px;
	font-size: 15px;
	color: var(--s420g-body);
	cursor: pointer;
}

.s420g-check input { width: 17px; height: 17px; accent-color: var(--s420g-accent); }

.s420g-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.s420g-row-s { margin-top: 22px; }

.s420g-btn {
	min-height: 48px;
	padding: 13px 30px;
	border-radius: 2px;
	border: 1px solid var(--s420g-line);
	background: transparent;
	color: var(--s420g-ink);
	font-family: var(--s420g-head-font);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background var(--bde-transition-duration, 300ms),
	            color var(--bde-transition-duration, 300ms);
}

.s420g-btn:hover { background: rgba(0, 0, 0, .05); }
.s420g-btn[disabled] { opacity: .5; cursor: default; }

.s420g-btn-p {
	background: var(--s420g-accent);
	border-color: var(--s420g-accent);
	color: var(--s420g-accent-ink);
}

.s420g-btn-p:hover { background: #39534b; border-color: #39534b; }

.s420g-btn-q {
	font-size: 13px;
	letter-spacing: .06em;
	min-height: 42px;
	padding: 10px 20px;
}

.s420g-grid { display: grid; gap: 12px; }
.s420g-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Fourteen stores, so the list scrolls inside the card rather than pushing
   the buttons off the bottom of a phone. */
.s420g-scroll { max-height: 46vh; overflow-y: auto; padding-right: 6px; }

.s420g-pick {
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: flex-start;
	text-align: left;
	min-height: 64px;
	padding: 16px 18px;
	border: 1px solid transparent;
	border-radius: 3px;
	background: var(--s420g-card-2);
	color: var(--s420g-pick-ink);
	font-family: var(--s420g-body-font);
	cursor: pointer;
	transition: border-color var(--bde-transition-duration, 300ms),
	            box-shadow var(--bde-transition-duration, 300ms);
}

.s420g-pick:hover {
	border-color: var(--s420g-accent);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.s420g-pick-n {
	font-family: var(--s420g-head-font);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1.25;
}

.s420g-pick-s { font-size: 13.5px; line-height: 1.4; color: var(--s420g-pick-sub); }
.s420g-pick-m { font-size: 12.5px; font-weight: 600; color: var(--s420g-accent); }

.s420g-soon { opacity: .72; }

.s420g-tag {
	margin-top: 5px;
	font-family: var(--s420g-head-font);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #6b5a24;
	background: var(--s420g-gold);
	border-radius: 2px;
	padding: 3px 8px;
}

.s420g-foot {
	margin: 26px 0 0;
	text-align: center;
	font-family: var(--s420g-head-font);
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--s420g-body);
	opacity: .75;
}

.s420g button:focus-visible,
.s420g a:focus-visible { outline: 3px solid var(--s420g-accent); outline-offset: 2px; }

@media (max-width: 600px) {
	.s420g-card { margin-top: 3vh; padding: 30px 20px 24px; }
	.s420g-h { font-size: 23px; }
	.s420g-grid-2 { grid-template-columns: 1fr; }
	.s420g-scroll { max-height: 44vh; }
	.s420g-row .s420g-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: no-preference) {
	.s420g.s420g-on .s420g-card { animation: s420g-in .18s ease-out; }
	@keyframes s420g-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
