/* Exquisite Debby iPhone 18 Raffle Draw: customer-facing styles.
   Brand colour variables (--exd-magenta etc.) are printed inline from Settings. */

:root {
	--exd-plum: #3A0A2A;
	--exd-ease: cubic-bezier(.2, .7, .2, 1);
	--exd-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
	--exd-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.exd-raffle,
.exd-raffle *,
.exd-raffle *::before,
.exd-raffle *::after { box-sizing: border-box; }

.exd-raffle { font-family: inherit; color: var(--exd-ink); line-height: 1.5; -webkit-font-smoothing: antialiased; }
.exd-raffle p, .exd-raffle h2, .exd-raffle h3, .exd-raffle ol, .exd-raffle dl, .exd-raffle dd { margin: 0; padding: 0; }
.exd-raffle .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.exd-raffle [hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.exd-raffle .exd-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
	font: inherit; font-size: 16px; font-weight: 700; line-height: 1; letter-spacing: 0; text-transform: none;
	text-decoration: none; cursor: pointer; background-image: none; box-shadow: none;
	transition: transform .2s var(--exd-ease), background-color .2s var(--exd-ease), color .2s var(--exd-ease), box-shadow .2s var(--exd-ease);
}
.exd-raffle .exd-btn:hover { transform: translateY(-1px); }
.exd-raffle .exd-btn:active { transform: translateY(0); }
.exd-raffle .exd-btn:focus-visible { outline: 3px solid var(--exd-teal); outline-offset: 3px; }
.exd-raffle .exd-btn--primary { background: var(--exd-teal); color: #fff; box-shadow: 0 8px 22px -10px rgba(11, 79, 75, .8); }
.exd-raffle .exd-btn--primary:hover { background: #083c39; color: #fff; }
.exd-raffle .exd-btn--soft { background: var(--exd-mint); color: var(--exd-teal); }
.exd-raffle .exd-btn--soft:hover { background: #d3ebe7; color: var(--exd-teal); }
.exd-raffle .exd-btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.exd-raffle .exd-btn--link { background: none; color: var(--exd-berry); padding: 0 6px; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }

.exd-raffle .exd-terms { font-size: 13px; color: inherit; opacity: .8; text-decoration: underline; text-underline-offset: 3px; }
.exd-raffle .exd-terms:hover { opacity: 1; }

/* ---------- Countdown ---------- */
.exd-raffle .exd-cd__label { font-size: 14px; font-weight: 600; margin-bottom: 10px; opacity: .85; }
.exd-cd__units { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 460px; }
.exd-cd__unit {
	position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center;
	padding: 14px 6px 10px; border-radius: 16px;
	background: var(--exd-mint); color: var(--exd-teal); border: 1px solid rgba(11, 79, 75, .12);
}
.exd-cd__unit::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .08); }
.exd-cd__num { display: block; font-size: clamp(30px, 6vw, 52px); line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.exd-cd__num.is-tick { animation: exdSlot .32s var(--exd-ease); }
.exd-cd__cap { font-size: 12px; margin-top: 8px; opacity: .75; }
.exd-cd--sm .exd-cd__units { gap: 6px; max-width: 280px; }
.exd-cd--sm .exd-cd__unit { padding: 8px 4px 6px; border-radius: 12px; }
.exd-cd--sm .exd-cd__num { font-size: 22px; }
.exd-cd--sm .exd-cd__cap { font-size: 11px; margin-top: 4px; }
.exd-raffle .exd-cd--sm .exd-cd__label, .exd-cd--sm .exd-cd__label { font-size: 13px; margin-bottom: 6px; }
@keyframes exdSlot { from { transform: translateY(-45%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Banner ---------- */
.exd-banner {
	position: relative; isolation: isolate; overflow: hidden; margin: 0 0 32px;
	border-radius: 28px; color: #fff;
	background:
		radial-gradient(90% 80% at 88% 8%, rgba(236, 38, 143, .55), transparent 60%),
		radial-gradient(60% 60% at 0% 100%, rgba(11, 79, 75, .35), transparent 70%),
		linear-gradient(140deg, var(--exd-berry) 0%, #7d0f4c 48%, var(--exd-plum) 100%);
}
.exd-banner__grain { position: absolute; inset: 0; z-index: -1; background-image: var(--exd-grain); opacity: .16; mix-blend-mode: overlay; pointer-events: none; }
.exd-banner--hero { padding: clamp(28px, 5.5vw, 72px) clamp(20px, 5.5vw, 72px) clamp(20px, 3vw, 32px); }
.exd-banner { container: exdbanner / inline-size; }
.exd-banner__inner { display: grid; gap: 28px; align-items: center; }
@container exdbanner (min-width: 760px) {
	.exd-banner--hero .exd-banner__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; }
}
@container exdbanner (max-width: 759px) {
	.exd-banner--hero .exd-banner__art { order: -1; }
	.exd-banner--hero .exd-art { max-width: 360px; aspect-ratio: 1 / .78; }
	.exd-banner--hero .exd-art__float { width: 78%; }
	.exd-banner--hero .exd-art__prize { right: 2%; height: 90%; }
}
.exd-raffle .exd-banner__eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--exd-cream); opacity: .9; margin-bottom: 18px; }
.exd-banner__eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.exd-banner .exd-banner__headline { font-size: clamp(38px, 7.2vw, 80px); line-height: .94; letter-spacing: -.04em; font-weight: 800; color: #fff; margin: 0 0 18px; text-wrap: balance; }
.exd-raffle .exd-banner__sub { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.5; max-width: 46ch; opacity: .92; margin-bottom: 28px; }
.exd-banner .exd-cd { margin-bottom: 28px; }
.exd-banner .exd-cd__unit { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.exd-banner .exd-cd__unit::after { background: rgba(0, 0, 0, .22); }
.exd-banner__ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.exd-banner .exd-btn--primary { box-shadow: 0 0 0 1px rgba(255, 246, 227, .35), 0 12px 30px -12px rgba(0, 0, 0, .6); }
.exd-banner .exd-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.exd-banner .exd-btn--ghost:hover, .exd-banner .exd-btn--ghost[aria-expanded="true"] { background: rgba(255, 255, 255, .12); color: #fff; }
.exd-banner .exd-btn:focus-visible { outline-color: var(--exd-yellow); }
.exd-banner a:focus-visible, .exd-banner button:focus-visible { outline: 3px solid var(--exd-yellow); outline-offset: 3px; }
.exd-pill { display: inline-flex; margin-top: 18px; }
.exd-pill a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); }
.exd-pill a:hover { background: rgba(255, 255, 255, .22); }

.exd-banner__how { margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .2); animation: exdFade .3s var(--exd-ease); }
.exd-raffle .exd-steps { list-style: none; display: grid; gap: 18px; }
@media (min-width: 760px) { .exd-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.exd-steps__item { display: flex; gap: 14px; align-items: flex-start; }
.exd-steps__n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--exd-cream); color: var(--exd-berry); font-weight: 800; }
.exd-steps__item strong { display: block; font-size: 17px; margin-bottom: 4px; }
.exd-raffle .exd-steps__item p { font-size: 14px; opacity: .85; }
.exd-banner__foot { margin-top: 24px; }

/* Winner card */
.exd-winner { display: inline-grid; gap: 2px; margin: 0 0 24px; padding: 16px 24px 18px; border-radius: 18px; background: var(--exd-cream); color: var(--exd-ink); box-shadow: 0 0 0 4px rgba(255, 242, 0, .35), 0 20px 40px -20px rgba(0, 0, 0, .6); }
.exd-winner__label { font-size: 13px; font-weight: 700; color: var(--exd-berry); }
.exd-winner__code { font-family: var(--exd-mono); font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: .06em; }
.exd-winner__name { font-size: 16px; font-weight: 600; }

/* Hero art: prize (or silhouette) behind a floating ticket */
.exd-art { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 1 / .92; }
.exd-art__prize { position: absolute; right: 4%; top: 0; height: 84%; aspect-ratio: 220 / 400; transform: rotate(9deg); }
.exd-art__prize .exd-phone, .exd-art__img { width: 100%; height: 100%; object-fit: contain; display: block; }
.exd-art__img { filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5)); }
.exd-phone { overflow: visible; animation: exdGlow 5s ease-in-out infinite; }
.exd-art__float { position: absolute; left: 0; bottom: 4%; width: 88%; transform: rotate(-6deg); filter: drop-shadow(0 26px 34px rgba(20, 0, 14, .5)); animation: exdFloat 7s ease-in-out infinite; }

.exd-hticket {
	--tear: 74%; --notch: 14px;
	display: grid; grid-template-columns: 74% 26%; min-height: 180px;
	background: var(--exd-cream); color: var(--exd-ink); border-radius: 20px;
	-webkit-mask: radial-gradient(circle at var(--tear) 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) top / 100% 51% no-repeat, radial-gradient(circle at var(--tear) 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) bottom / 100% 51% no-repeat;
	mask: radial-gradient(circle at var(--tear) 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) top / 100% 51% no-repeat, radial-gradient(circle at var(--tear) 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) bottom / 100% 51% no-repeat;
}
.exd-hticket__main { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 22px 18px 20px 24px; }
.exd-hticket__brand { font-size: 12px; font-weight: 700; color: var(--exd-berry); }
.exd-hticket__title { font-size: clamp(20px, 2.6vw, 28px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; }
.exd-hticket__meta { font-size: 13px; opacity: .7; margin-bottom: 8px; }
.exd-hticket__no { font-family: var(--exd-mono); font-size: 17px; font-weight: 700; letter-spacing: .12em; color: var(--exd-berry); padding-top: 10px; border-top: 1px dashed rgba(179, 18, 95, .35); }
.exd-hticket__dots { opacity: .45; }
.exd-hticket__stub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--exd-berry); color: #fff; border-left: 2px dashed rgba(255, 246, 227, .6); text-align: center; padding: 10px 4px; }
.exd-hticket__stub span { font-size: 11px; opacity: .9; line-height: 1.2; }
.exd-hticket__stub strong { font-size: 44px; line-height: 1; font-weight: 800; }

.exd-spark { position: absolute; width: 18px; height: 18px; color: var(--exd-cream); animation: exdTwinkle 3.2s ease-in-out infinite; pointer-events: none; }
.exd-spark--1 { top: 6%; left: 12%; width: 14px; height: 14px; }
.exd-spark--2 { top: 18%; right: 2%; width: 22px; height: 22px; color: var(--exd-yellow); animation-delay: .8s; }
.exd-spark--3 { bottom: 34%; left: 2%; width: 12px; height: 12px; animation-delay: 1.5s; }
.exd-spark--4 { top: 42%; right: 46%; width: 10px; height: 10px; animation-delay: 2.1s; }
.exd-spark--5 { bottom: 0; right: 14%; width: 16px; height: 16px; color: var(--exd-yellow); animation-delay: 1.1s; }

@keyframes exdFloat { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-5deg) translateY(-8px); } }
@keyframes exdGlow { 0%, 100% { filter: drop-shadow(0 0 18px rgba(236, 38, 143, .35)); } 50% { filter: drop-shadow(0 0 34px rgba(236, 38, 143, .6)); } }
@keyframes exdTwinkle { 0%, 100% { opacity: .2; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(20deg); } }
@keyframes exdFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* States */
.exd-banner.is-closed { background: radial-gradient(90% 80% at 88% 8%, rgba(236, 38, 143, .3), transparent 60%), linear-gradient(140deg, #7d0f4c 0%, var(--exd-plum) 100%); }
.exd-banner.is-winner .exd-banner__headline { color: var(--exd-cream); }

/* Strip variant */
.exd-banner--strip { border-radius: 18px; padding: 14px 20px; margin-bottom: 20px; }
.exd-banner--strip .exd-banner__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.exd-banner--strip .exd-banner__headline { font-size: clamp(17px, 2.2vw, 22px); letter-spacing: -.02em; line-height: 1.15; margin: 0; flex: 1 1 220px; }
.exd-banner--strip .exd-cd { margin: 0; }
.exd-raffle .exd-banner--strip .exd-cd__label, .exd-banner--strip .exd-cd__label { display: none; }
.exd-banner--strip .exd-btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.exd-banner--strip .exd-pill { margin: 0; }
.exd-banner--strip .exd-winner { margin: 0; padding: 8px 16px; }
.exd-banner--strip .exd-winner__code { font-size: 20px; }

/* Card variant */
.exd-banner--card { padding: 24px 22px 18px; border-radius: 24px; }
.exd-banner--card .exd-banner__inner { grid-template-columns: 1fr; gap: 8px; }
.exd-banner--card .exd-banner__art { order: -1; }
.exd-banner--card .exd-art { max-width: 300px; aspect-ratio: 1 / .78; }
.exd-banner--card .exd-art__float { width: 80%; }
.exd-banner--card .exd-banner__headline { font-size: 32px; }
.exd-raffle.exd-banner--card .exd-banner__sub { font-size: 15px; margin-bottom: 20px; }
.exd-banner--card .exd-cd__num { font-size: 30px; }
.exd-banner--card .exd-hticket { min-height: 120px; }
.exd-banner--card .exd-hticket__main { padding: 14px 12px 14px 16px; }
.exd-banner--card .exd-hticket__title { font-size: 18px; }
.exd-banner--card .exd-hticket__stub strong { font-size: 30px; }
.exd-banner--card .exd-steps { grid-template-columns: 1fr; gap: 14px; }

@media (max-width: 600px) {
	.exd-banner--hero { border-radius: 22px; }
	.exd-art { max-width: 380px; aspect-ratio: 1 / .8; }
	.exd-hticket { min-height: 140px; }
	.exd-hticket__main { padding: 16px 12px 14px 18px; }
	.exd-hticket__stub strong { font-size: 34px; }
	.exd-hticket__no { font-size: 15px; }
	.exd-banner__ctas .exd-btn { flex: 1 1 auto; }
}

/* ---------- Ticket cards (My Account) ---------- */
.exd-tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.exd-tcard {
	--stub: 96px; --notch: 11px;
	display: grid; grid-template-columns: 1fr var(--stub); border-radius: 18px; background: var(--exd-cream);
	-webkit-mask: radial-gradient(circle at calc(100% - var(--stub)) 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) top / 100% 51% no-repeat, radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) bottom / 100% 51% no-repeat;
	mask: radial-gradient(circle at calc(100% - var(--stub)) 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) top / 100% 51% no-repeat, radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) bottom / 100% 51% no-repeat;
}
.exd-tcard__main { padding: 18px 16px 16px 20px; display: grid; gap: 6px; min-width: 0; }
.exd-tcard__campaign { word-spacing: normal; letter-spacing: 0; font-size: 12px; font-weight: 700; color: var(--exd-berry); }
.exd-tcard__code { font-family: var(--exd-mono); font-size: 22px; font-weight: 700; letter-spacing: .06em; color: var(--exd-ink); word-break: break-all; }
.exd-raffle .exd-tcard__meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 18px; margin-top: 6px; }
.exd-tcard__meta dt { font-size: 11px; opacity: .65; }
.exd-tcard__meta dd { font-size: 14px; font-weight: 600; }
.exd-tcard__meta a { color: var(--exd-teal); }
.exd-tcard__stub { display: grid; place-items: center; border-left: 2px dashed rgba(179, 18, 95, .3); background: rgba(236, 38, 143, .07); padding: 8px; }
.exd-tcard--void { background: #f2f0ee; }
.exd-tcard--void .exd-tcard__code { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .55; }
.exd-tcard--void .exd-tcard__stub { background: transparent; border-left-color: rgba(0, 0, 0, .15); }
.exd-tcard--winner { background: linear-gradient(135deg, #fff9c4, var(--exd-cream)); }
.exd-tcard--winner .exd-tcard__stub { background: rgba(255, 242, 0, .35); }

.exd-badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.exd-badge--active { background: var(--exd-teal); color: #fff; }
.exd-badge--void, .exd-badge--forfeited { background: #e3e0dd; color: #4a4744; }
.exd-badge--winner { background: var(--exd-yellow); color: var(--exd-ink); }

.exd-mytickets__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 28px; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.exd-raffle .exd-mytickets__count { font-size: 18px; font-weight: 700; }
.exd-mytickets__count span { font-size: 56px; line-height: 1; letter-spacing: -.04em; font-weight: 800; color: var(--exd-berry); margin-right: 4px; }
.exd-raffle .exd-mytickets__status { font-size: 15px; opacity: .8; margin-top: 6px; max-width: 48ch; }
.exd-raffle .exd-mytickets__foot { margin-top: 24px; }

.exd-empty { text-align: center; padding: 36px 20px; border-radius: 22px; background: var(--exd-mint); color: var(--exd-teal); }
.exd-empty__ticket { display: inline-grid; place-items: center; width: 220px; height: 92px; margin-bottom: 18px; border: 2px dashed rgba(11, 79, 75, .35); border-radius: 16px; background: rgba(255, 255, 255, .6); font-family: var(--exd-mono); font-size: 18px; letter-spacing: .1em; opacity: .8; }
.exd-raffle .exd-empty h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; color: var(--exd-teal); }
.exd-raffle .exd-empty p { max-width: 42ch; margin: 0 auto 20px; }

/* Order view strip */
.exd-ostrip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0; padding: 16px 20px; border-radius: 16px; background: var(--exd-cream); border-left: 4px dashed var(--exd-magenta); }
.exd-ostrip__label { display: block; font-size: 13px; opacity: .75; }
.exd-ostrip__code { font-family: var(--exd-mono); font-size: 22px; font-weight: 700; letter-spacing: .06em; }

/* ---------- Thank-you ---------- */
.exd-ty { position: relative; margin: 0 0 32px; padding: clamp(24px, 4vw, 44px); border-radius: 26px; background: radial-gradient(80% 70% at 100% 0, rgba(236, 38, 143, .12), transparent 60%), var(--exd-cream); }
.exd-ty.is-issued { text-align: center; }
.exd-raffle .exd-ty__title { font-size: clamp(26px, 4.4vw, 42px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; margin-bottom: 10px; text-wrap: balance; }
.exd-raffle .exd-ty__title--sm { font-size: clamp(20px, 3vw, 26px); letter-spacing: -.02em; }
.exd-raffle .exd-ty__sub { font-size: 16px; opacity: .85; max-width: 52ch; margin: 0 auto 8px; }
.exd-raffle.exd-ty.is-issued .exd-ty__sub { margin-bottom: 28px; }
.exd-ty__reveal { max-width: 620px; margin: 0 auto 28px; filter: drop-shadow(0 24px 30px rgba(58, 10, 42, .35)); }
.exd-ty.is-issued .exd-ty__reveal { animation: exdReveal 1s var(--exd-ease) .15s both; }
.exd-ty__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 18px; }
.exd-ty__pending { display: flex; gap: 18px; align-items: center; }
.exd-ty.is-pending, .exd-ty.is-short { background: var(--exd-mint); color: var(--exd-teal); }
.exd-ty.is-pending .exd-ty__title, .exd-ty.is-short .exd-ty__title { color: var(--exd-teal); }
.exd-raffle.exd-ty.is-short .exd-ty__sub { margin: 0 0 18px; }
.exd-dots { display: inline-flex; gap: 6px; }
.exd-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--exd-magenta); animation: exdDot 1.2s ease-in-out infinite; }
.exd-dots i:nth-child(2) { animation-delay: .15s; background: var(--exd-berry); }
.exd-dots i:nth-child(3) { animation-delay: .3s; background: var(--exd-teal); }
@keyframes exdDot { 0%, 80%, 100% { transform: scale(.5); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
@keyframes exdReveal { 0% { opacity: 0; transform: translateY(48px) rotate(-5deg) scale(.96); } 65% { opacity: 1; transform: translateY(-6px) rotate(1.5deg); } 100% { transform: translateY(0) rotate(-1deg); } }

.exd-bigticket {
	--stub: 128px; --notch: 16px;
	display: grid; grid-template-columns: 1fr var(--stub); text-align: left; border-radius: 22px; color: #fff;
	background: radial-gradient(70% 90% at 0 0, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(135deg, var(--exd-magenta) 0%, var(--exd-berry) 55%, var(--exd-plum) 100%);
	-webkit-mask: radial-gradient(circle at calc(100% - var(--stub)) 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) top / 100% 51% no-repeat, radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) bottom / 100% 51% no-repeat;
	mask: radial-gradient(circle at calc(100% - var(--stub)) 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) top / 100% 51% no-repeat, radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) bottom / 100% 51% no-repeat;
}
.exd-bigticket__main { padding: 28px 24px 26px 32px; display: grid; gap: 4px; min-width: 0; }
.exd-bigticket__brand { font-size: 13px; font-weight: 700; color: var(--exd-cream); opacity: .9; }
.exd-bigticket__title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.exd-bigticket__code { font-family: var(--exd-mono); font-size: clamp(30px, 6.4vw, 54px); line-height: 1.1; font-weight: 800; letter-spacing: .06em; margin: 10px 0 8px; word-break: break-all; }
.exd-bigticket__meta { font-size: 13px; opacity: .85; }
.exd-bigticket__stub { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--exd-cream); color: var(--exd-berry); border-left: 2px dashed var(--exd-berry); }
.exd-bigticket__stub span { font-size: 12px; font-weight: 600; }
.exd-bigticket__stub strong { font-size: 56px; line-height: 1; font-weight: 800; }

@media (max-width: 560px) {
	.exd-bigticket { --stub: 82px; --notch: 12px; }
	.exd-bigticket__main { padding: 20px 14px 18px 18px; }
	.exd-bigticket__stub strong { font-size: 38px; }
	.exd-raffle .exd-bigticket__code { font-size: clamp(18px, 5.6vw, 25px); letter-spacing: .02em; white-space: nowrap; word-break: normal; }
	.exd-ty__ctas .exd-btn { width: 100%; }
}

/* ---------- Ticket check ---------- */
.exd-check { max-width: 580px; margin: 0 auto; }
.exd-check__label { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 12px; }
.exd-check__row { display: flex; gap: 10px; }
.exd-raffle .exd-check__input {
	flex: 1; min-width: 0; height: 58px; padding: 0 18px; margin: 0; border-radius: 16px;
	border: 1.5px solid rgba(11, 79, 75, .28); background: #fff; color: var(--exd-ink); box-shadow: none;
	font-family: var(--exd-mono); font-size: 20px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	transition: border-color .2s var(--exd-ease), box-shadow .2s var(--exd-ease);
}
.exd-raffle .exd-check__input::placeholder { color: rgba(17, 17, 17, .3); }
.exd-raffle .exd-check__input:focus { outline: none; border-color: var(--exd-teal); box-shadow: 0 0 0 4px rgba(11, 79, 75, .15); }
.exd-check__row .exd-btn { min-height: 58px; border-radius: 16px; }
.exd-check__result { margin-top: 20px; min-height: 1px; }
.exd-check__result.is-loading { opacity: .5; }
.exd-raffle .exd-check__foot { margin-top: 20px; text-align: center; }
@media (max-width: 480px) { .exd-check__row { flex-direction: column; } .exd-raffle .exd-check__input { flex: none; width: 100%; } }

.exd-result { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 20px; background: var(--exd-cream); animation: exdFade .3s var(--exd-ease); }
.exd-result + .exd-result { margin-top: 14px; }
.exd-raffle .exd-result h3 { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.exd-result__icon { flex: none; width: 40px; height: 40px; }
.exd-result__icon svg { width: 100%; height: 100%; display: block; }
.exd-result__body { min-width: 0; flex: 1; }
.exd-raffle .exd-result__code { font-family: var(--exd-mono); font-size: 22px; font-weight: 700; letter-spacing: .06em; margin-bottom: 12px; }
.exd-raffle .exd-result__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px 18px; }
.exd-result__meta dt { font-size: 12px; opacity: .65; }
.exd-result__meta dd { font-size: 15px; font-weight: 600; }
.exd-result--active { background: var(--exd-mint); color: var(--exd-teal); }
.exd-result--active .exd-result__icon, .exd-result--winner .exd-result__icon { color: var(--exd-teal); }
.exd-result--winner { background: linear-gradient(135deg, #fff9c4, var(--exd-cream)); }
.exd-result--void, .exd-result--forfeited { background: #f5eded; color: #5c1d1d; }
.exd-result--void .exd-result__icon { color: #8a1c1c; }
.exd-result--none, .exd-result--warn { display: block; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.exd-raffle *, .exd-raffle *::before, .exd-raffle *::after { animation: none !important; transition: none !important; }
	.exd-art__float { transform: rotate(-6deg); }
}
