/* TUS Ücretsiz Hafta: the home band, the TUS Kupası and the topic decks (client/kampanya.js) */
:root { --kp-gold: #f5b301; --kp-gold-d: #b98500; --kp-ink: #0b1f3a; --kp-grad: linear-gradient(120deg, #0b1f3a 0%, #13306b 40%, #1e6ff2 100%); }

.kp-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #cfe0ff; }
.kp-live { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: kp-pulse 1.8s infinite; }
@keyframes kp-pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
@media (prefers-reduced-motion: reduce) { .kp-live { animation: none; } }

.kp-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 14px; border: 0; font: inherit; font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer;
  color: #1a1300; background: linear-gradient(135deg, #ffd34d, var(--kp-gold)); box-shadow: 0 10px 24px rgba(245, 179, 1, .35); }
.kp-btn:hover { filter: brightness(1.04); }
.kp-btn svg { width: 20px; height: 20px; fill: currentColor; }
.kp-btn.ghost { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.kp-btn.big { min-height: 56px; font-size: 17px; padding: 12px 26px; }
.kp-band-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* ---- home band */
.kp-band { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; margin: 0 0 22px; padding: 24px; border-radius: 24px; color: #fff; background: var(--kp-grad); box-shadow: 0 18px 40px rgba(11, 31, 58, .25); position: relative; overflow: hidden; }
.kp-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 179, 1, .35), transparent 70%); pointer-events: none; }
.kp-band h2 { margin: 2px 0 8px; font-size: clamp(22px, 3vw, 30px); line-height: 1.15; color: #fff; }
.kp-band p { margin: 0; color: #dbe7ff; line-height: 1.5; }
.kp-band-cup { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.kp-band-cup:hover { background: rgba(255, 255, 255, .16); }
.kp-band-cup b { font-size: 20px; }
.kp-band-cup > span { color: #dbe7ff; }
.kp-band-cup em { font-style: normal; font-size: 13px; color: #b8cdf5; margin-top: auto; }
.kp-cup-ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ffd34d, var(--kp-gold)); }
.kp-cup-ic svg { width: 28px; height: 28px; fill: #1a1300; }
.kp-prize { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #ffe08a !important; }
.kp-prize svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 760px) { .kp-band { grid-template-columns: 1fr; padding: 20px 16px; } }

/* ---- cup page */
.kp-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: center; padding: 26px; border-radius: 24px; color: #fff; background: var(--kp-grad); box-shadow: 0 18px 40px rgba(11, 31, 58, .22); margin-bottom: 18px; }
.kp-hero.slim { grid-template-columns: 1fr; }
.kp-hero h1 { color: #fff; margin: 0 0 8px; font-size: clamp(26px, 4vw, 38px); }
.kp-hero .lead { color: #dbe7ff; }
.kp-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.kp-facts > span { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .1); min-width: 120px; }
.kp-facts > span:first-child { background: rgba(245, 179, 1, .18); box-shadow: inset 0 0 0 1.5px rgba(245, 179, 1, .55); }
.kp-facts svg { width: 20px; height: 20px; fill: #ffd34d; }
.kp-facts b { font-size: 16px; } .kp-facts small { color: #b8cdf5; font-size: 12px; }
.kp-act { background: #fff; color: var(--kp-ink); border-radius: 20px; padding: 20px; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.kp-act p { margin: 0 0 12px; }
.kp-act.done { background: linear-gradient(135deg, #fff8e1, #fff); }
.kp-act .kp-btn.ghost { color: var(--b-700); background: var(--b-50); box-shadow: none; }
.kp-hi { font-size: 20px; font-weight: 800; }
.kp-join label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; margin-bottom: 6px; }
.kp-join input[type="text"], .kp-join input:not([type]) { font: inherit; font-size: 16px; padding: 11px 12px; border: 1.5px solid var(--ak-line); border-radius: 12px; }
.kp-check { flex-direction: row !important; align-items: flex-start; font-weight: 600 !important; margin: 8px 0 12px; }
.kp-check input { width: 20px; height: 20px; margin-top: 2px; }
.kp-mail { font-weight: 500 !important; font-size: .92em; margin-top: 0; }
.kp-mailask { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line, #e3e9f2); }
@media (max-width: 760px) { .kp-hero { grid-template-columns: 1fr; padding: 20px 16px; } }

.kp-rules ol { margin: 10px 0 0; padding-inline-start: 22px; line-height: 1.55; }
.kp-rules li { margin-bottom: 6px; }
.kp-boards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
@media (max-width: 760px) { .kp-boards { grid-template-columns: 1fr; } }
.kp-boards h2 small { font-weight: 600; color: var(--muted); font-size: 13px; }
.kp-board { list-style: none; margin: 0; padding: 0; }
.kp-board li { display: grid; grid-template-columns: 36px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 8px; border-bottom: 1px solid var(--ak-line); }
.kp-board li.me { background: var(--b-50); border-radius: 12px; }
.kp-rank { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; background: #eef2f7; color: var(--kp-ink); }
.kp-board li.r1 .kp-rank { background: linear-gradient(135deg, #ffd34d, var(--kp-gold)); color: #1a1300; }
.kp-board li.r2 .kp-rank { background: #dfe5ec; } .kp-board li.r3 .kp-rank { background: #f1d3b3; }
.kp-nick { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kp-nick em { font-style: normal; font-size: 12px; color: var(--b-600); }
.kp-net { display: flex; align-items: baseline; gap: 4px; } .kp-net b { font-size: 17px; font-variant-numeric: tabular-nums; } .kp-net small { color: var(--muted); }
.kp-time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.kp-mine { margin: 10px 0 0; font-weight: 700; color: var(--b-700); }
.kp-res-ic { width: 72px; height: 72px; margin: 0 auto 8px; border-radius: 22px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ffd34d, var(--kp-gold)); box-shadow: 0 12px 28px rgba(245, 179, 1, .4); }
.kp-res-ic svg { width: 40px; height: 40px; fill: #1a1300; }

/* ---- decks */
.kp-decks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.kp-deck { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; min-height: 140px; border-radius: 20px; color: #fff; text-decoration: none; box-shadow: var(--ak-sh); transition: transform .15s, box-shadow .15s; }
.kp-deck:hover { transform: translateY(-2px); box-shadow: var(--ak-sh-h); }
.kp-deck b { font-size: 19px; } .kp-deck small { color: rgba(255, 255, 255, .85); }
.kp-deck-ic svg { width: 30px; height: 30px; fill: rgba(255, 255, 255, .9); }
.kp-deck-go { position: absolute; right: 16px; bottom: 14px; font-size: 20px; }
.kp-deck.g0 { background: linear-gradient(135deg, #13306b, #1e6ff2); } .kp-deck.g1 { background: linear-gradient(135deg, #0f5c68, #14a3b8); }
.kp-deck.g2 { background: linear-gradient(135deg, #4a1d7a, #8b5cf6); } .kp-deck.g3 { background: linear-gradient(135deg, #7a2e0e, #ea7a1e); }
.kp-deck.g4 { background: linear-gradient(135deg, #0e5a36, #22a06b); } .kp-deck.g5 { background: linear-gradient(135deg, #7a1238, #e04f7d); }

.kp-viewer { display: flex; flex-direction: column; gap: 12px; }
.kp-viewer:fullscreen { background: #050b18; padding: 24px; justify-content: center; }
.kp-stage { aspect-ratio: 16 / 9; width: 100%; max-height: calc(100vh - 220px); border-radius: 22px; overflow: hidden; box-shadow: 0 20px 44px rgba(11, 31, 58, .28); cursor: pointer; user-select: none; }
.kp-viewer:fullscreen .kp-stage { max-height: calc(100vh - 110px); }
.kp-slide { width: 100%; height: 100%; display: flex; align-items: center; color: #fff; background: var(--kp-grad); position: relative; }
.kp-slide::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 55%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%); }
.kp-s-in { position: relative; padding: clamp(18px, 4.5vw, 56px); width: 100%; max-height: 100%; overflow: auto; }
.kp-slide h2 { color: #fff; margin: 0 0 14px; font-size: clamp(22px, 3.6vw, 42px); line-height: 1.12; }
.kp-slide.title h2 { font-size: clamp(30px, 5.5vw, 64px); }
.kp-slide.title p, .kp-slide.end p { color: #dbe7ff; font-size: clamp(15px, 1.8vw, 20px); }
.kp-s-hint { font-size: 13px !important; color: #9fb7e6 !important; margin-top: 18px; }
.kp-slide.topic { background: linear-gradient(120deg, #0b1f3a 0%, #102a57 55%, #173f8c 100%); }
.kp-pearls { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.kp-pearls li { position: relative; padding: 10px 14px 10px 40px; border-radius: 14px; background: rgba(255, 255, 255, .08); font-size: clamp(13.5px, 1.55vw, 18px); line-height: 1.45; }
.kp-pearls li::before { content: "★"; position: absolute; left: 14px; top: 10px; color: var(--kp-gold); }
.kp-src { margin: 12px 0 0; font-size: 12.5px; color: #9fb7e6; }
.kp-slide.quiz { background: linear-gradient(120deg, #2a0f4d 0%, #4a1d7a 55%, #6d34c7 100%); }
.kp-stem { font-size: clamp(14px, 1.7vw, 19px); line-height: 1.5; margin: 0 0 12px; }
.kp-qopts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kp-qopts button { display: flex; gap: 10px; width: 100%; text-align: left; align-items: center; padding: 9px 12px; border-radius: 12px; border: 0; font: inherit; font-size: clamp(13px, 1.5vw, 16px); color: #fff; background: rgba(255, 255, 255, .1); cursor: pointer; }
.kp-qopts button:hover { background: rgba(255, 255, 255, .18); }
.kp-qopts button.key { background: #16a34a; }
.kp-qopts b { width: 26px; height: 26px; flex: none; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .18); }
.kp-why { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: rgba(22, 163, 74, .25); font-size: clamp(13px, 1.5vw, 16px); }
.kp-slide.end { background: linear-gradient(120deg, #0b1f3a 0%, #0f5c68 60%, #14a3b8 100%); }
.kp-slide.lock { background: linear-gradient(120deg, #1f2937, #334155); text-align: center; }
.kp-slide.lock svg { width: 44px; height: 44px; fill: #ffd34d; }
.kp-ctl { display: flex; align-items: center; gap: 10px; }
.kp-ctl button { width: 44px; height: 44px; padding: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.kp-ctl button svg { width: 22px; height: 22px; fill: currentColor; }
.kp-ctl #kpN { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 64px; text-align: center; }
.kp-viewer:fullscreen .kp-ctl #kpN, .kp-viewer:fullscreen .kp-note { color: #cbd5e1; }
.kp-prog { flex: 1; height: 4px; } .kp-prog .bar-bg { fill: #e2e8f0; } .kp-prog-fg { fill: var(--kp-gold); }
.kp-note { margin: 0; }
/* a cup try: no selecting or copying the text; the reasoning items carry a badge */
body.kp-cupmode .runner { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.tag.kp-reason { background: #fff3cd; color: #7a5200; border-color: #f5d27a; }
.tag.kp-clinic { background: #fde2e1; color: #8a1c17; border-color: #f2a9a5; }
.kp-warn { color: #b42318; font-weight: 800; }
@media (max-width: 640px) { .kp-stage { aspect-ratio: 3 / 4; max-height: none; } }

/* the cup: a faint nickname watermark over the question, and the question veiled while the window has no focus */
body.kp-cupmode .runner { position: relative; }
.kp-wm { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; display: grid; grid-template-columns: repeat(2, 1fr); align-content: space-around; opacity: .11; }
.kp-wm span { transform: rotate(-24deg); font: 700 15px/1 system-ui, sans-serif; color: #0f172a; white-space: nowrap; padding: 26px 0; text-align: center; }
body.kp-cupmode.kp-veiled .runner > *:not(.kp-wm) { filter: blur(12px); transition: filter .1s; }
@media (prefers-color-scheme: dark) { .kp-wm span { color: #e2e8f0; } }

/* the cup in the band, big and blinking while it runs, with its film (owner 2026-10-17: "tus kupası linki büyük olsun yansın sönsün") */
.kp-band { grid-template-columns: 1.4fr auto 1fr; align-items: center; }
.kp-film { position: relative; z-index: 1; width: 210px; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 0 0 2px rgba(245, 179, 1, .8), 0 18px 40px rgba(0, 0, 0, .45); }
.kp-film video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; }
.kp-film-snd { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); border: 0; border-radius: 999px; padding: 7px 12px; background: rgba(11, 31, 58, .85); color: #fff; font: 700 13px/1 inherit; cursor: pointer; white-space: nowrap; }
.kp-film-snd[hidden] { display: none; }
.kp-band-cup.kp-blink { padding: 24px 20px; animation: kpGlow 1.4s ease-in-out infinite; }
.kp-band-cup.kp-blink b { font-size: 30px; line-height: 1.1; }
.kp-band-cup.kp-blink .kp-cup-ic { animation: kpPop 1.4s ease-in-out infinite; }
.kp-band-go { display: inline-block; align-self: flex-start; margin-top: 6px; padding: 12px 20px; border-radius: 999px; background: linear-gradient(135deg, #ffd34d, #f5b301); color: #1a1300 !important; font-weight: 800; font-size: 17px; }
@keyframes kpGlow { 0%, 100% { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25), 0 0 0 0 rgba(245, 179, 1, 0); background: rgba(255, 255, 255, .1); }
  50% { box-shadow: inset 0 0 0 2.5px rgba(255, 211, 77, 1), 0 0 30px 4px rgba(245, 179, 1, .6); background: rgba(245, 179, 1, .2); } }
@keyframes kpPop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
@media (max-width: 980px) { .kp-band { grid-template-columns: 1fr auto; } .kp-band > .kp-band-main { grid-column: 1 / -1; } }
@media (max-width: 760px) { .kp-band { grid-template-columns: 1fr; } .kp-film { width: min(280px, 80vw); margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .kp-band-cup.kp-blink, .kp-band-cup.kp-blink .kp-cup-ic { animation: none; } }
