/* Act and provider cards (Adam 10-15): Neon is everyone's default; a verified owner may pick Pull or the
   Tonight board. Built from the 10-15 panel prototypes. No inline styles: every delay is a class or nth-child. */
.ec-stage { margin: 4px auto 22px; padding: 0; display: flex; justify-content: center; }
.ec { position: relative; width: min(86vw, 360px); aspect-ratio: 5 / 6.4; border-radius: 20px; overflow: hidden; text-align: center; color: #fff; isolation: isolate; }
.ec-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ec-name { margin: 0; font: 900 52px/1.02 ui-rounded, "Arial Rounded MT Bold", "Arial Black", system-ui, sans-serif; letter-spacing: .04em; overflow-wrap: anywhere; }
.ec-name--m { font-size: 40px; } .ec-name--s { font-size: 32px; } .ec-name--xs { font-size: 25px; }
.ec-counts { display: flex; justify-content: center; gap: 16px; }
.ec-count { min-width: 66px; }
.ec-count b { display: block; font: 900 36px/1 ui-rounded, "Arial Rounded MT Bold", "Arial Black", sans-serif; }
.ec-count span { display: block; margin-top: 4px; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ec-new { margin: 0; font: 800 20px/1.2 system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.ec-tonight { margin: 0; font: 800 17px/1.3 system-ui, sans-serif; }

/* ---- Neon: a dark room, a sign that buzzes on ---- */
.ec--neon { display: grid; grid-template-rows: 1.3fr auto auto auto; align-items: center; gap: 10px; padding: 18px 16px 20px;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), repeating-linear-gradient(0deg, #1c1114 0 26px, #120a0c 26px 28px), repeating-linear-gradient(90deg, transparent 0 52px, #120a0c 52px 54px);
  box-shadow: 0 0 0 3px #2b1a20, 0 0 0 6px #0d0709, 0 24px 60px rgba(0,0,0,.55); }
.ec--neon .ec-q { font: 900 170px/1 ui-rounded, "Arial Rounded MT Bold", "Arial Black", sans-serif; color: #ffe6f1; -webkit-text-stroke: 3px #ff5fa2;
  text-shadow: 0 0 6px #ff9ccc, 0 0 18px #ff4f9a, 0 0 44px #ff2f86, 0 0 90px #ff2f86; animation: ec-flick 1.6s steps(1) 1 both, ec-hum 4s 1.6s ease-in-out infinite; }
.ec--neon .ec-name span { color: #e9fffd; -webkit-text-stroke: 1.5px #2bd9cb; text-shadow: 0 0 6px #9ffff6, 0 0 16px #2bd9cb, 0 0 38px #18b3a7; animation: ec-letter .12s steps(1) backwards; animation-delay: 1.5s; }
.ec--neon .ec-name .ec-gap { animation: none; }
.ec--neon .ec-name span:nth-child(2) { animation-delay: 1.58s; } .ec--neon .ec-name span:nth-child(3) { animation-delay: 1.66s; }
.ec--neon .ec-name span:nth-child(4) { animation-delay: 1.74s; } .ec--neon .ec-name span:nth-child(5) { animation-delay: 1.82s; }
.ec--neon .ec-name span:nth-child(6) { animation-delay: 1.9s; } .ec--neon .ec-name span:nth-child(7) { animation-delay: 1.98s; }
.ec--neon .ec-name span:nth-child(8) { animation-delay: 2.06s; } .ec--neon .ec-name span:nth-child(n+9) { animation-delay: 2.14s; }
.ec--neon .ec-count b { color: #fff3dd; -webkit-text-stroke: 1px #ffb347; text-shadow: 0 0 8px #ffcf7a, 0 0 22px #ff9a1f; animation: ec-fade .4s 2.3s both; }
.ec--neon .ec-count span { color: #ffd9a8; animation: ec-fade .4s 2.3s both; }
.ec--neon .ec-new { color: #ffd9a8; text-shadow: 0 0 12px #ff9a1f; animation: ec-fade .4s 2.3s both; }
.ec--neon .ec-tonight { color: #fff; text-shadow: 0 0 10px rgba(255,79,154,.8); animation: ec-fade .5s 2.6s both; }
@keyframes ec-flick { 0% { color: #3a1424; text-shadow: none; } 8% { color: #ffe6f1; text-shadow: 0 0 18px #ff4f9a; } 12% { color: #3a1424; text-shadow: none; } 22% { color: #ffe6f1; text-shadow: 0 0 18px #ff4f9a; } 25% { color: #3a1424; text-shadow: none; } 40% { color: #ffe6f1; text-shadow: 0 0 44px #ff2f86; } 43% { color: #3a1424; text-shadow: none; } 55%, 100% { color: #ffe6f1; } }
@keyframes ec-hum { 0%, 47%, 49%, 100% { opacity: 1; } 48% { opacity: .82; } 75% { opacity: .95; } }
/* Dark until its turn, then the letter keeps its own lit style (backwards fill: the end state is never a keyframe). */
@keyframes ec-letter { 0%, 100% { color: #12333a; text-shadow: none; } }
@keyframes ec-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---- Pull: shiny foil that leans toward your finger (entertainer.js sets --rx/--ry/--mx/--my) ---- */
.ec--pull { display: grid; grid-template-rows: auto 1.2fr auto auto auto; align-items: center; gap: 8px; padding: 16px; color: #1b1030;
  background: linear-gradient(160deg, #fdf6ff, #e8f4ff 45%, #fff3e6); box-shadow: 0 0 0 6px #f2c94c, 0 0 0 9px #8a6a12, 0 24px 60px rgba(0,0,0,.45);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .12s ease-out; }
.ec--pull .ec-foil { position: absolute; inset: 0; z-index: -1; opacity: .75; mix-blend-mode: multiply;
  background: conic-gradient(from calc(var(--ry, 0deg) * 6) at 50% 50%, #ff8ad8, #8ad7ff, #9dffb0, #fff38a, #ffb08a, #d88aff, #ff8ad8); animation: ec-spin 9s linear infinite; }
.ec--pull .ec-shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(circle at var(--mx, 30%) var(--my, 20%), rgba(255,255,255,.85), rgba(255,255,255,0) 38%); mix-blend-mode: soft-light; }
.ec--pull .ec-rare { margin: 0; font: 900 13px/1 system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: #6b4b00; }
.ec--pull .ec-q { font: 900 140px/1 ui-rounded, "Arial Rounded MT Bold", "Arial Black", sans-serif; color: #fff; -webkit-text-stroke: 3px #1b1030; text-shadow: 4px 4px 0 #1b1030; }
.ec--pull .ec-name { color: #1b1030; text-shadow: 2px 2px 0 #fff; }
.ec--pull .ec-count b { color: #1b1030; } .ec--pull .ec-count span, .ec--pull .ec-new, .ec--pull .ec-tonight { color: #3b2a5a; }
@keyframes ec-spin { to { filter: hue-rotate(360deg); } }

/* ---- Tonight board: split-flap letters ---- */
.ec--board { display: flex; flex-direction: column; gap: 10px; padding: 18px 12px; background: #141414; box-shadow: 0 0 0 4px #2a2a2a, 0 24px 60px rgba(0,0,0,.55); text-align: left; }
.ec-board-head { margin: 0; color: #ffd23f; font: 900 30px/1.1 ui-rounded, "Arial Rounded MT Bold", "Arial Black", sans-serif; text-align: center; overflow-wrap: anywhere; }
.ec-board-count { margin: 0 0 6px; color: #fff; font: 800 18px/1.2 system-ui, sans-serif; text-align: center; }
.ec-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ec-rows a { display: flex; gap: 6px; text-decoration: none; }
.ec-flaps { display: inline-flex; gap: 2px; }
.ec-flaps i { display: inline-grid; place-items: center; width: 18px; height: 28px; border-radius: 3px; background: linear-gradient(#262626 49%, #0a0a0a 50%, #1e1e1e 51%); color: #f5f5f5; font: 800 17px/1 ui-monospace, Consolas, monospace; font-style: normal; animation: ec-flap .5s both; }
.ec-flaps--time i { color: #ffd23f; }
.ec-rows li:nth-child(2) .ec-flaps i { animation-delay: .25s; } .ec-rows li:nth-child(3) .ec-flaps i { animation-delay: .5s; } .ec-rows li:nth-child(4) .ec-flaps i { animation-delay: .75s; }
@keyframes ec-flap { 0% { transform: rotateX(90deg); } 60% { transform: rotateX(-20deg); } 100% { transform: rotateX(0); } }

@media (prefers-reduced-motion: reduce) { .ec, .ec *, .ec-strip * { animation: none !important; transition: none !important; } .ec--pull { transform: none; } }

/* ---- Event page strips: "Playing" / "Hosted by" ---- */
.ec-strips { display: grid; gap: 10px; margin: 18px 0; }
.ec-strip { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; text-decoration: none; min-height: 64px; }
.ec-strip--neon { background: #120a0c; color: #fff; box-shadow: 0 0 0 2px #2b1a20; }
.ec-strip--neon .ec-strip__q { color: #ffe6f1; -webkit-text-stroke: 1.5px #ff5fa2; text-shadow: 0 0 10px #ff4f9a, 0 0 24px #ff2f86; }
.ec-strip--neon .ec-strip__name { color: #e9fffd; text-shadow: 0 0 10px #2bd9cb; }
.ec-strip--pull { background: linear-gradient(120deg, #ffd6f3, #d6efff, #e1ffd6, #fff6c8); color: #1b1030; box-shadow: 0 0 0 3px #f2c94c; }
.ec-strip--board { background: #141414; color: #fff; } .ec-strip--board .ec-strip__q, .ec-strip--board .ec-strip__name { color: #ffd23f; }
.ec-strip__q { font: 900 38px/1 ui-rounded, "Arial Rounded MT Bold", "Arial Black", sans-serif; min-width: 34px; text-align: center; }
.ec-strip__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ec-strip__label { font-size: 14px; font-weight: 700; opacity: .8; }
.ec-strip__name { font: 900 21px/1.15 ui-rounded, "Arial Rounded MT Bold", "Arial Black", sans-serif; overflow-wrap: anywhere; }
.ec-strip__go { font-size: 30px; opacity: .7; }
.ec-playing-here { margin: 0; font-size: 16px; } .ec-playing-here a { color: inherit; font-weight: 700; }

/* ---- Clips, links, "Is this you?" ---- */
.ec-clips h2, .ec-you h2 { font-size: 22px; margin: 6px 0 12px; }
.ec-clips { margin: 0 0 22px; }
.ec-clips__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ec-clip { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.ec-clip:first-child { grid-column: 1 / -1; }
.ec-clip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ec-clip__play { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.65); color: #fff; font-size: 22px; }
.ec-clip iframe { width: 100%; height: 100%; border: 0; display: block; }
.ec-links ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ec-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid currentColor; font-weight: 800; text-decoration: none; }
.ec-you { margin: 28px 0 8px; padding: 20px; border-radius: 18px; background: #120a0c; color: #fff; display: grid; gap: 12px; }
.ec-you p { margin: 0; font-size: 17px; line-height: 1.45; }
.ec-you a { color: #9ffff6; }
.ec-you--claimed { background: transparent; color: inherit; padding: 8px 0; } .ec-you--claimed a { color: inherit; }
.ec-btn { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 14px; font: 800 18px/1.1 ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif; text-decoration: none; text-align: center; padding: 0 16px;
  color: #e9fffd !important; background: #0d1a1c; border: 2px solid #2bd9cb; box-shadow: 0 0 12px rgba(43,217,203,.45); }
.ec-btn--big { color: #ffe6f1 !important; background: #1c0b13; border-color: #ff4f9a; box-shadow: 0 0 12px rgba(255,79,154,.5); }
.ec-btn--quiet { box-shadow: none; }
.ec-you__mail { font-size: 15px !important; opacity: .9; }

/* ---- Account pages: claim, send links, review ---- */
.ec-account .account-main { max-width: 640px; }
.ec-lede { font-size: 18px; line-height: 1.5; }
.ec-field { display: grid; gap: 4px; font-weight: 700; }
.ec-field textarea, .ec-field input { font: inherit; font-weight: 400; font-size: 16px; padding: 10px; border-radius: 10px; border: 1px solid #b9b0b6; width: 100%; box-sizing: border-box; }
.ec-hint { font-weight: 400; font-size: 15px; opacity: .8; }
.ec-bad { color: #b3261e; font-weight: 700; margin: 4px 0 0; }
.ec-trap { position: absolute; left: -9999px; }
.ec-form { display: grid; gap: 14px; }
.ec-quote { margin: 10px 0; padding: 12px 14px; border-left: 4px solid #ff4f9a; background: #fff0f6; font-size: 16px; overflow-wrap: anywhere; }
.ec-status { font-weight: 800; }
.ec-status--verified { color: #1b7a3a; } .ec-status--pending_review { color: #8a5a00; } .ec-status--rejected { color: #b3261e; }
.ec-steps { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.ec-empty { opacity: .85; }
.ec-designs { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.ec-designs legend { font-weight: 800; margin-bottom: 6px; }
.ec-design { display: grid; grid-template-columns: auto 1fr 108px; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; border: 2px solid #ddd3d9; }
.ec-design:has(input:checked) { border-color: #ff4f9a; }
.ec-design__peek { width: 108px; height: 138px; overflow: hidden; position: relative; pointer-events: none; }
.ec-design__peek .ec-stage { margin: 0; position: absolute; top: 0; left: 0; transform: scale(.3); transform-origin: top left; }
.ec-design__peek .ec { width: 360px; }
.ec-review { list-style: none; padding: 0; display: grid; gap: 14px; }
.ec-review__form { display: grid; gap: 8px; margin-top: 10px; }

/* Dark pages (act / provider): headings and the tick box. */
.entertainer-page .ec-clips h2 { color: #fff; }
.ec-account .authority-certification, .ec-account .ec-review__form .authority-certification { display: flex; gap: 12px; align-items: flex-start; text-align: left; font-weight: 700; }
.ec-account .authority-certification input { flex: none; width: 26px; height: 26px; min-height: 26px; padding: 0; margin: 2px 0 0; }
.ec-you-line { margin: -8px 0 18px; text-align: center; font-size: 16px; }
.entertainer-page .ec-you-line a { color: #9ffff6; font-weight: 700; }
