/* Periș – Calendarul de Advent. Brand: roșu Periș, cărbune, Oswald + Open Sans.
 * Layout goal: the windows are visible on the first screen, also on phones.
 * Selectors are prefixed with .pac / .pac-modal to win over theme + Elementor kit rules. */
.pac, .pac-modal {
	--pac-red: #cd163f;
	--pac-red-dark: #a50f30;
	--pac-ink: #2d2d2d;
	--pac-text: #4c4c4c;
	--pac-slate: #1b1918;
	--pac-slate-2: #26231f;
	--pac-cream: #f6f1ea;
	--pac-line: rgba(255, 255, 255, .09);
	--pac-radius: 10px;
	--pac-head: 'Oswald', 'Arial Narrow', Impact, sans-serif;
	--pac-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
.pac *, .pac *::before, .pac *::after, .pac-modal *, .pac-modal *::before, .pac-modal *::after { box-sizing: border-box; }
.pac [hidden], .pac-modal [hidden] { display: none !important; }

.pac {
	position: relative;
	font-family: var(--pac-body);
	color: #fff;
	background:
		radial-gradient(1000px 420px at 15% -10%, rgba(205, 22, 63, .28), transparent 60%),
		radial-gradient(800px 500px at 110% 20%, rgba(205, 22, 63, .14), transparent 60%),
		repeating-linear-gradient(45deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 6px),
		var(--pac-slate);
	border-radius: 14px;
	padding: clamp(18px, 3.2vw, 40px) clamp(12px, 3vw, 40px) clamp(22px, 3.5vw, 44px);
	overflow: hidden;
}

/* ---------------------------------------------------------------- hero */
.pac .pac-hero { text-align: center; max-width: 820px; margin: 0 auto clamp(16px, 2.4vw, 26px); }
.pac .pac-kicker {
	display: inline-block;
	font: 600 11px/1 var(--pac-body);
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #fff;
	background: var(--pac-red);
	padding: 7px 12px;
	border-radius: 999px;
	white-space: pre;
}
.pac .pac-title {
	font: 700 clamp(28px, 4.6vw, 54px)/1.05 var(--pac-head);
	color: #fff;
	margin: 12px 0 8px;
	letter-spacing: -.005em;
	text-transform: none;
}
.pac .pac-intro { font-size: clamp(14px, 1.4vw, 16px); line-height: 1.5; color: rgba(255, 255, 255, .75); margin: 0 auto; max-width: 600px; }

/* ------------------------------------------------------ today's prize pool */
.pac .pac-pool {
	margin: 14px auto 0; max-width: 640px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px;
	font: 600 13px/1.3 var(--pac-body); color: rgba(255, 255, 255, .8);
}
.pac .pac-pool[hidden] { display: none; }
.pac .pac-pool__item { background: rgba(205, 22, 63, .22); border: 1px solid rgba(205, 22, 63, .55); color: #fff; border-radius: 999px; padding: 5px 11px; }
.pac .pac-pool__left { color: rgba(255, 255, 255, .55); font-weight: 500; }

/* ----------------------------------------------------------- countdown */
.pac .pac-countdown { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.pac .pac-countdown__label { font: 600 12px/1.3 var(--pac-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.pac .pac-countdown__cells { display: inline-flex; gap: 8px; }
.pac .pac-countdown__cells span {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 58px; height: 58px; border-radius: 8px;
	background: #fff; color: var(--pac-ink);
	box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
}
.pac .pac-countdown__cells b { font: 700 24px/1 var(--pac-head); color: var(--pac-red); }
.pac .pac-countdown__cells i { font: 600 9px/1 var(--pac-body); font-style: normal; text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; color: var(--pac-text); }

/* --------------------------------------------------------- call to action */
.pac .pac-cta {
	margin: 16px auto 0;
	max-width: 640px;
	display: flex; align-items: center; justify-content: center; gap: 12px 16px; flex-wrap: wrap;
}
.pac .pac-cta p { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .85); }

/* ---------------------------------------------------------- me / streak */
.pac .pac-me {
	margin: 16px auto 0;
	max-width: 640px;
	text-align: left;
	background: rgba(255, 255, 255, .05);
	border: 1px solid var(--pac-line);
	border-radius: var(--pac-radius);
	padding: 12px 16px;
}
.pac .pac-me__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pac .pac-me__streak { font: 700 22px/1 var(--pac-head); color: #fff; }
.pac .pac-me__hello { font: 600 13px/1.3 var(--pac-body); color: rgba(255, 255, 255, .6); margin-left: auto; }
.pac .pac-flame { width: 16px; height: 20px; background: rgba(255, 255, 255, .3); clip-path: path('M8 0C9 5 16 7 16 13A8 7 0 0 1 0 13C0 9 3.5 8 4.5 3.5C5.5 7 7 7 8 0Z'); }
.pac .pac-me.is-hot .pac-flame { background: linear-gradient(#ffb02e, var(--pac-red)); animation: pac-flicker 1.6s ease-in-out infinite; }
@keyframes pac-flicker { 50% { transform: scale(1.08) rotate(-3deg); } }
.pac .pac-me__hint { font-size: 12px; line-height: 1.45; color: rgba(255, 255, 255, .5); margin: 8px 0 0; }

.pac .pac-track { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; }
.pac .pac-track li { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); margin: 0; }
.pac .pac-track li.is-opened { background: var(--pac-red); }
.pac .pac-track li.is-missed { background: rgba(255, 255, 255, .22); background-image: repeating-linear-gradient(-45deg, transparent 0 2px, rgba(0, 0, 0, .35) 2px 4px); }
.pac .pac-track li.is-today { background: transparent; box-shadow: inset 0 0 0 1.5px var(--pac-red); animation: pac-pulse-soft 1.8s ease-in-out infinite; }

.pac .pac-notice { text-align: center; font: 600 15px/1.5 var(--pac-body); color: #fff; background: rgba(205, 22, 63, .2); border: 1px solid rgba(205, 22, 63, .5); border-radius: var(--pac-radius); padding: 12px 16px; max-width: 640px; margin: 0 auto 20px; }

/* ---------------------------------------------------------------- buttons */
.pac .pac-btn, .pac-modal .pac-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: 600 15px/1 var(--pac-body);
	color: #fff;
	background: var(--pac-red);
	border: 0;
	border-radius: 8px;
	padding: 14px 24px;
	margin: 0;
	cursor: pointer;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	transition: background-color .15s, transform .15s;
	box-shadow: 0 6px 18px rgba(205, 22, 63, .3);
}
.pac .pac-btn:hover, .pac-modal .pac-btn:hover { background: var(--pac-red-dark); color: #fff; transform: translateY(-1px); }
.pac .pac-btn:disabled, .pac-modal .pac-btn:disabled { opacity: .7; cursor: progress; transform: none; }
.pac-modal .pac-btn--small { padding: 10px 14px; font-size: 14px; box-shadow: none; }
.pac-modal .pac-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .8); }
.pac-modal .pac-btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.pac .pac-link, .pac-modal .pac-link {
	background: none; border: 0; padding: 0; margin: 0;
	font: 600 13px/1.4 var(--pac-body); color: inherit; opacity: .75;
	text-decoration: underline; text-underline-offset: 3px; text-transform: none; letter-spacing: 0; cursor: pointer;
}
.pac .pac-link:hover, .pac-modal .pac-link:hover { opacity: 1; background: none; }

/* ---------------------------------------------------------------- grid */
.pac .pac-grid {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 1080px;
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: clamp(6px, 1vw, 12px);
}
.pac .pac-grid li { margin: 0; padding: 0; }
.pac .pac-win {
	position: relative;
	width: 100%;
	min-width: 0;
	height: auto;
	aspect-ratio: 1 / 1;
	margin: 0;
	padding: 6px;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	border-radius: var(--pac-radius);
	border: 1px solid transparent;
	background: var(--pac-red);
	color: #fff;
	cursor: pointer;
	overflow: hidden;
	box-shadow: none;
	font-family: var(--pac-body);
	text-transform: none;
	letter-spacing: 0;
	line-height: 1;
	transition: transform .2s ease, box-shadow .2s ease;
}
.pac .pac-win::after { content: ''; position: absolute; inset: 6px; border: 1px dashed rgba(255, 255, 255, .22); border-radius: 6px; pointer-events: none; }
.pac .pac-win:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, .35); }
.pac .pac-win:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.pac .pac-win__no { font: 700 clamp(24px, 3.4vw, 42px)/1 var(--pac-head); }
.pac .pac-win__label { font: 600 10px/1.2 var(--pac-body); letter-spacing: .08em; text-transform: uppercase; opacity: .85; text-align: center; }

.pac .pac-win[data-state="future"] .pac-win__no { opacity: .8; }
.pac .pac-win[data-state="future"] .pac-win__label { opacity: .7; }
.pac .pac-win[data-state="future"]::before {
	content: ''; position: absolute; top: 9px; right: 9px; width: 10px; height: 12px; opacity: .6; background: currentColor;
	clip-path: path('M2.5 5V3.5a2.5 2.5 0 0 1 5 0V5h1.2v7H1.3V5Zm1.3 0h2.4V3.5a1.2 1.2 0 0 0-2.4 0Z');
}
.pac .pac-win[data-state="today"] {
	background: linear-gradient(160deg, #e01d47, var(--pac-red) 55%, var(--pac-red-dark));
	border-color: transparent;
	color: #fff;
	animation: pac-pulse 2s ease-out infinite;
	z-index: 1;
}
.pac .pac-win[data-state="today"] .pac-win__label { opacity: 1; background: #fff; color: var(--pac-red); padding: 5px 9px; border-radius: 999px; }
.pac .pac-win[data-state="today"]::after { border-color: rgba(255, 255, 255, .3); }
/* Every window is Periș logo pink (#cd163f). Today is brighter and pulses, opened ones are a shade darker with a check mark. */
.pac .pac-win[data-state="opened"] { background: var(--pac-red-dark); color: #fff; border-color: transparent; }
.pac .pac-win[data-state="opened"] .pac-win__label { color: #fff; opacity: .9; }
.pac .pac-win[data-state="opened"]::after { border-color: rgba(255, 255, 255, .22); }
.pac .pac-win[data-state="opened"]::before { content: '✓'; position: absolute; top: 7px; right: 9px; font: 700 13px/1 var(--pac-body); color: #fff; }
.pac .pac-win[data-state="opened"]:hover { background: #8c0c28; }
.pac .pac-win[data-won]::before { content: '★'; font-size: 15px; }
.pac .pac-win[data-state="missed"] { background: repeating-linear-gradient(-45deg, var(--pac-red-dark) 0 8px, #960d2b 8px 16px); color: rgba(255, 255, 255, .5); cursor: default; }
.pac .pac-win[data-state="missed"]:hover { transform: none; box-shadow: none; }

@keyframes pac-pulse {
	0% { box-shadow: 0 0 0 0 rgba(205, 22, 63, .55), 0 12px 30px rgba(205, 22, 63, .35); }
	70% { box-shadow: 0 0 0 14px rgba(205, 22, 63, 0), 0 12px 30px rgba(205, 22, 63, .35); }
	100% { box-shadow: 0 0 0 0 rgba(205, 22, 63, 0), 0 12px 30px rgba(205, 22, 63, .35); }
}
@keyframes pac-pulse-soft { 50% { opacity: .4; } }

.pac[data-state="loading"] .pac-grid { opacity: .5; }

/* ------------------------------------------------------------- my wins */
.pac .pac-wins { max-width: 640px; margin: 24px auto 0; }
.pac .pac-wins h3 { font: 700 22px/1.1 var(--pac-head); color: #fff; margin: 0 0 10px; text-align: center; text-transform: none; }
.pac .pac-wins ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pac .pac-wins__item { display: flex; gap: 12px; align-items: center; background: #fff; color: var(--pac-text); border-radius: var(--pac-radius); padding: 12px 14px; margin: 0; }
.pac .pac-wins__day { flex: none; font: 700 13px/1 var(--pac-head); color: #fff; background: var(--pac-red); border-radius: 6px; padding: 7px 9px; text-transform: uppercase; }
.pac .pac-wins__body { display: grid; gap: 3px; }
.pac .pac-wins__body strong { color: var(--pac-ink); }
.pac .pac-wins__body code { font: 700 15px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; color: var(--pac-red); background: none; padding: 0; }
.pac .pac-wins__body .pac-link { color: var(--pac-red); opacity: 1; justify-self: start; }

/* --------------------------------------------------------------- modal */
html.pac-lock { overflow: hidden; }
.pac-modal { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 14px; font-family: var(--pac-body); }
.pac-modal[hidden] { display: none; }
.pac-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 12, 11, .78); backdrop-filter: blur(3px); animation: pac-fade .25s ease; }
.pac-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 520px;
	max-height: calc(100vh - 28px);
	max-height: calc(100dvh - 28px);
	overflow-x: hidden;
	overflow-y: auto;
	background: #fff;
	color: var(--pac-text);
	border-radius: 14px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
	animation: pac-pop .3s cubic-bezier(.2, .9, .3, 1.2);
	outline: none;
	perspective: 1400px;
}
.pac-modal.has-doors .pac-modal__dialog { min-height: min(460px, calc(100vh - 28px)); }
.pac-modal .pac-modal__x { position: absolute; top: 10px; right: 10px; z-index: 3; width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .06); color: var(--pac-ink); font: 400 22px/1 system-ui, sans-serif; cursor: pointer; box-shadow: none; }
.pac-modal .pac-modal__x:hover { background: rgba(0, 0, 0, .12); color: var(--pac-ink); }
.pac-modal__body { padding: 26px clamp(18px, 5vw, 32px) 28px; }
.pac-modal p { margin: 0; }
.pac-modal .pac-modal__msg { font: 600 16px/1.55 var(--pac-body); color: var(--pac-ink); margin: 8px 0 0; text-align: center; }
.pac-modal .pac-modal__loading { text-align: center; color: #8a8a8a; margin: 20px 0; }

/* login card inside the popup */
.pac-modal .pac-card { background: transparent; color: var(--pac-text); padding: 0; box-shadow: none; }
.pac-modal .pac-card h3 { font: 700 26px/1.1 var(--pac-head); color: var(--pac-ink); margin: 0 0 6px; text-transform: none; }
.pac-modal .pac-muted { font-size: 14px; line-height: 1.5; color: #6b6b6b; margin: 0 0 16px; }
.pac-modal .pac-form { display: grid; gap: 12px; }
.pac-modal .pac-field { display: grid; gap: 5px; margin: 0; }
.pac-modal .pac-field > span { font-size: 13px; font-weight: 600; color: var(--pac-ink); }
.pac-modal .pac-field em { font-weight: 400; color: #8a8a8a; font-style: normal; }
.pac-modal .pac-field input, .pac-modal .pac-field textarea {
	width: 100%; height: auto; margin: 0;
	font: 400 16px/1.4 var(--pac-body);
	color: var(--pac-ink);
	background: #fff;
	border: 1.5px solid #dcd7d1;
	border-radius: 8px;
	padding: 11px 13px;
	box-shadow: none;
}
.pac-modal .pac-field input:focus, .pac-modal .pac-field textarea:focus { outline: none; border-color: var(--pac-red); box-shadow: 0 0 0 3px rgba(205, 22, 63, .14); }
.pac-modal .pac-field input.pac-code { font: 700 28px/1 var(--pac-head); letter-spacing: .5em; text-align: center; padding-left: .5em; }
.pac-modal .pac-check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 13px; line-height: 1.5; color: var(--pac-text); cursor: pointer; margin: 0; }
.pac-modal .pac-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--pac-red); }
.pac-modal .pac-check a { color: var(--pac-red); }
.pac-modal .pac-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pac-modal .pac-error { margin: 0; font-size: 13px; font-weight: 600; color: var(--pac-red); }
.pac-modal .pac-form__links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pac-modal .pac-card .pac-link { color: var(--pac-red); opacity: 1; }
.pac-modal .pac-card .pac-btn { width: 100%; }

/* doors that swing open over the result */
.pac-doors { display: none; position: absolute; inset: 0; z-index: 2; pointer-events: none; transform-style: preserve-3d; }
.pac-modal.has-doors .pac-doors { display: block; }
.pac-door { position: absolute; top: 0; bottom: 0; width: 50%; background: linear-gradient(160deg, #e01d47, #cd163f 60%, #a50f30); transition: transform .9s cubic-bezier(.6, 0, .2, 1), opacity .3s .7s; backface-visibility: hidden; }
.pac-door::after { content: ''; position: absolute; inset: 14px; border: 1px dashed rgba(255, 255, 255, .3); border-radius: 6px; }
.pac-door--l { left: 0; transform-origin: left center; border-right: 1px solid rgba(0, 0, 0, .15); }
.pac-door--r { right: 0; transform-origin: right center; }
.pac-doors__no { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 110px/1 var(--pac-head); color: #fff; transition: opacity .3s; text-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.pac-doors.is-open .pac-door--l { transform: rotateY(-105deg); opacity: 0; }
.pac-doors.is-open .pac-door--r { transform: rotateY(105deg); opacity: 0; }
.pac-doors.is-open .pac-doors__no { opacity: 0; }

/* result */
.pac-modal .pac-res__head { text-align: center; margin-bottom: 14px; padding: 0 24px; }
.pac-modal .pac-res__date { font: 600 11px/1 var(--pac-body); letter-spacing: .16em; text-transform: uppercase; color: var(--pac-red); }
.pac-modal .pac-res__title { font: 700 26px/1.12 var(--pac-head); color: var(--pac-ink); margin: 8px 0 0; text-transform: none; }
.pac-modal .pac-res__img { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: 10px; margin: 18px 0 14px; }
.pac-modal .pac-res__content, .pac-modal .pac-res__content p, .pac-modal .pac-res__content li { font-size: 15px; line-height: 1.6; color: var(--pac-text); }
.pac-modal .pac-res__content a { color: var(--pac-red); }
.pac-modal .pac-res__noprize { background: var(--pac-cream); border-radius: 10px; padding: 13px 15px; font-size: 14px; line-height: 1.55; color: var(--pac-text); }
.pac-modal .pac-res__gift { margin: 14px 0 0; border: 1.5px dashed var(--pac-red); border-radius: 10px; padding: 12px 15px; }
.pac-modal .pac-res__gift-label { display: block; font: 700 11px/1 var(--pac-body); letter-spacing: .14em; text-transform: uppercase; color: var(--pac-red); margin-bottom: 6px; }
.pac-modal .pac-res__gift-text { font-size: 15px; line-height: 1.55; color: var(--pac-ink); }
.pac-modal .pac-res__foot { margin-top: 20px; padding-top: 14px; border-top: 1px solid #eee; display: grid; gap: 4px; text-align: center; font-size: 14px; }
.pac-modal .pac-res__streak { font: 700 20px/1.2 var(--pac-head); color: var(--pac-ink); }

.pac-modal .pac-prize {
	text-align: center;
	background: linear-gradient(160deg, #e01d47, #cd163f 60%, #a50f30);
	color: #fff;
	border-radius: 12px;
	padding: 20px 18px;
	display: grid;
	gap: 10px;
	justify-items: center;
	position: relative;
	overflow: hidden;
}
.pac-modal.is-win .pac-prize { animation: pac-pop .5s .5s both cubic-bezier(.2, .9, .3, 1.3); }
.pac-modal .pac-prize::before { content: ''; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, .14), transparent 30%); animation: pac-spin 6s linear infinite; pointer-events: none; }
.pac-modal .pac-prize > * { position: relative; }
.pac-modal .pac-prize__kicker { font: 700 12px/1 var(--pac-body); letter-spacing: .2em; text-transform: uppercase; color: #fff; opacity: .9; }
.pac-modal .pac-prize__title { font: 700 28px/1.1 var(--pac-head); color: #fff; }
.pac-modal .pac-prize { align-content: start; }
.pac-modal .pac-prize__img { display: block; width: 180px; max-width: 100%; height: 130px; object-fit: cover; border-radius: 10px; }
.pac-modal .pac-prize__desc, .pac-modal .pac-prize__ok { font-size: 14px; line-height: 1.5; color: #fff; }
.pac-modal .pac-prize__ok { font-weight: 600; }
.pac-modal .pac-prize__label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #fff; opacity: .85; margin-top: 2px; }
.pac-modal .pac-prize__code { display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 8px; padding: 6px 6px 6px 14px; }
.pac-modal .pac-prize__code code { font: 700 19px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; color: var(--pac-red); background: none; padding: 0; }
.pac-modal .pac-prize .pac-btn { background: var(--pac-ink); box-shadow: none; }
.pac-modal .pac-prize .pac-btn--ghost { background: transparent; }

.pac-modal .pac-claim { width: 100%; text-align: left; background: #fff; color: var(--pac-text); border-radius: 10px; padding: 14px; margin-top: 4px; }
.pac-modal .pac-claim__title { font: 700 18px/1.2 var(--pac-head); color: var(--pac-ink); }
.pac-modal .pac-claim .pac-btn { background: var(--pac-red); width: 100%; }
.pac-modal .pac-claim .pac-error { color: var(--pac-red); }

@keyframes pac-fade { from { opacity: 0; } }
@keyframes pac-pop { from { opacity: 0; transform: scale(.92) translateY(10px); } }
@keyframes pac-spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------- responsive */
@media (max-width: 960px) { .pac .pac-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.pac { border-radius: 0; }
	.pac .pac-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
	.pac .pac-win { border-radius: 8px; gap: 4px; }
	.pac .pac-win::after { inset: 4px; }
	.pac .pac-win__no { font-size: 26px; }
	.pac .pac-win__label { display: none; }
	.pac .pac-win[data-state="today"] .pac-win__label { display: block; font-size: 8px; padding: 3px 6px; }
	.pac .pac-win[data-state="future"]::before { top: 6px; right: 6px; transform: scale(.85); }
	.pac .pac-win[data-state="opened"]::before { top: 5px; right: 6px; }
	.pac .pac-intro { font-size: 13px; }
	.pac .pac-countdown__label { width: 100%; }
	.pac .pac-countdown__cells span { width: 52px; height: 52px; }
	.pac .pac-countdown__cells b { font-size: 21px; }
	.pac .pac-cta .pac-btn { width: 100%; }
	.pac .pac-me__hint { display: none; }
	.pac-doors__no { font-size: 84px; }
	.pac-modal .pac-res__title { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
	.pac *, .pac-modal * { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------- share + invites */
.pac .pac-share { max-width: 640px; margin: 26px auto 0; padding: 20px clamp(14px, 3vw, 24px) 22px; text-align: center; border: 1px solid var(--pac-line); border-radius: var(--pac-radius); background: linear-gradient(160deg, rgba(205, 22, 63, .16), rgba(255, 255, 255, .02)); }
.pac .pac-share h3 { font: 700 22px/1.1 var(--pac-head); color: #fff; margin: 0 0 8px; text-transform: none; }
.pac .pac-share__lead { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .8); margin: 0 auto 14px; max-width: 520px; }
.pac .pac-share__refs { font: 600 13px/1.4 var(--pac-body); color: rgba(255, 255, 255, .7); margin: 14px 0 0; }
.pac .pac-share__refs.is-good { color: #ffd166; }
.pac .pac-share__login { font-size: 13px; color: rgba(255, 255, 255, .6); margin: 14px 0 0; }
.pac-sharebtns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pac .pac-sharebtn, .pac-modal .pac-sharebtn {
	display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 9px 15px; margin: 0;
	font: 600 14px/1 var(--pac-body); text-decoration: none; text-transform: none; letter-spacing: 0;
	color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
	cursor: pointer; transition: background .15s, transform .15s; box-shadow: none;
}
.pac .pac-sharebtn svg, .pac-modal .pac-sharebtn svg { width: 18px; height: 18px; flex: none; }
.pac .pac-sharebtn:hover, .pac-modal .pac-sharebtn:hover { transform: translateY(-1px); color: #fff; }
.pac .pac-sharebtn--facebook, .pac-modal .pac-sharebtn--facebook { background: #1877f2; border-color: #1877f2; }
.pac .pac-sharebtn--whatsapp, .pac-modal .pac-sharebtn--whatsapp { background: #1fa855; border-color: #1fa855; }
.pac .pac-sharebtn--native, .pac-modal .pac-sharebtn--native { background: var(--pac-red); border-color: var(--pac-red); }
.pac .pac-sharebtn--copy:hover { background: rgba(255, 255, 255, .18); }
.pac-modal .pac-sharebtn--copy { color: var(--pac-ink); background: #f3f1ee; border-color: #e4e0da; }
.pac-modal .pac-sharebtn--copy:hover { color: var(--pac-ink); }

.pac .pac-invite { display: grid; gap: 10px; margin: 18px auto 0; padding-top: 16px; border-top: 1px solid var(--pac-line); max-width: 440px; text-align: left; }
.pac .pac-invite__title { font: 600 15px/1.3 var(--pac-body); color: #fff; text-align: center; }
.pac .pac-invite__fields { display: grid; gap: 8px; }
.pac .pac-invite__fields input {
	width: 100%; margin: 0; padding: 11px 13px; font: 400 15px/1.3 var(--pac-body); color: var(--pac-ink);
	background: #fff; border: 1px solid #ddd; border-radius: 8px; box-shadow: none;
}
.pac .pac-invite__fields input:focus { outline: none; border-color: var(--pac-red); box-shadow: 0 0 0 3px rgba(205, 22, 63, .3); }
.pac .pac-invite .pac-link { justify-self: start; }
.pac .pac-invite .pac-btn { justify-self: center; }
.pac .pac-invite .pac-error { margin: 0; font-size: 13px; color: #ff8fa6; }
.pac .pac-invite__ok { margin: 0; font: 600 13px/1.45 var(--pac-body); color: #8ee6a8; text-align: center; }
.pac .pac-invite__ok.is-warn { color: #ffd166; }
.pac .pac-invite__note { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .55); text-align: center; }

.pac-modal .pac-res__share { margin-top: 16px; display: grid; gap: 10px; justify-items: center; text-align: center; }
.pac-modal .pac-res__share-label { font: 600 13px/1.3 var(--pac-body); color: var(--pac-text); }

/* Referral draw note in the share section */
.pac .pac-share__draw { margin: 14px auto 0; max-width: 560px; padding: 12px 16px; border-radius: 10px; background: rgba(205, 22, 63, .16); border: 1px solid rgba(205, 22, 63, .45); color: #fff; font-size: 14px; line-height: 1.5; text-align: center; }
.pac .pac-share__draw.is-in { background: rgba(205, 22, 63, .3); border-color: var(--pac-red); font-weight: 600; }
