/* =========================================================================
   Mathvivor — İletişim · Parkur Kullanım Koşulları · KVKK · 404
   Prefixes: ct- (contact page), lg- (legal pages), kv- (KVKK extras), e404- (not found)
   ========================================================================= */
.page-iletisim, .page-parkur-kullanim-kosullari, .page-kvkk, .page-404 {
  --ball: #ee7a1e; --ball-line: #3b1704; --wa: #25d366; --bad: #ff6b70;
}


/* =========================================================================
   CONTACT — hero
   ========================================================================= */
.ct-hero { padding-bottom: clamp(56px, 8vw, 104px); }
.ct-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
@media (max-width: 960px) { .ct-hero-grid { grid-template-columns: 1fr; } }
.ct-hero h1 { font-size: clamp(3rem, 7.4vw, 6.6rem); }
.ct-hero .lead { margin-bottom: 28px; }
@media (max-width: 520px) { .ct-hero .btn-row .btn { flex: 1 1 100%; } }

.ct-topics { margin-top: 30px; }
.ct-topics-label { margin: 0 0 12px; font-family: var(--hand); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--gold-2); }
.ct-topic-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ct-topic-list a { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(7,11,22,.55); border: 1px solid rgba(244,239,228,.22); color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.2; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .25s var(--spring), background .2s, border-color .2s, color .2s; }
.ct-topic-list a svg { width: 20px; height: 20px; flex: none; color: var(--gold-2); transition: transform .3s var(--spring), color .2s; }
.ct-topic-list a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); transform: translateY(-3px) rotate(-1.5deg); }
.ct-topic-list a:hover svg { color: var(--red); transform: rotate(-12deg) scale(1.12); }

/* tactic board */
.ct-play { position: relative; padding: 0 0 0 0; }
.ct-board { position: relative; padding: 12px; border-radius: 26px; background: linear-gradient(145deg, #7a5524, #3e2a0f 70%); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px rgba(0,0,0,.35); transform: rotate(1.6deg); transition: transform .6s var(--spring); }
.ct-play:hover .ct-board { transform: rotate(0deg); }
.ct-board-svg { width: 100%; height: auto; border-radius: 16px; }
.ct-board-tag { position: absolute; z-index: 2; top: -14px; left: 26px; padding: 6px 16px; background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 800; font-style: italic; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-4deg); box-shadow: 0 6px 14px rgba(0,0,0,.35); }
.ct-b-bg { fill: #0f1d3b; }
.ct-b-court { fill: none; stroke: rgba(244,239,228,.2); stroke-width: 2; }
.ct-b-hoop path { stroke: rgba(244,239,228,.75); stroke-width: 5; stroke-linecap: round; }
.ct-b-hoop circle { fill: none; stroke: var(--red); stroke-width: 4; }
.ct-b-player circle, .ct-b-player path { fill: none; stroke: #f4efe4; stroke-width: 4.5; stroke-linecap: round; }
.ct-b-player text, .ct-b-num text, .ct-b-score { font-family: var(--hand); font-weight: 700; text-anchor: middle; }
.ct-b-player text { fill: var(--gold-2); font-size: 30px; }
.ct-b-draw { fill: none; stroke: #f4efe4; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ctDraw .7s var(--ease) var(--d, 0s) forwards; }
.ct-b-shot { stroke: var(--yellow); stroke-dasharray: 1; }
.ct-b-num { opacity: 0; animation: ctPop .45s var(--spring) var(--d, 0s) forwards; transform-box: fill-box; transform-origin: center; }
.ct-b-num circle { fill: var(--red); }
.ct-b-num text { fill: #fff; font-size: 22px; }
.ct-b-score { fill: var(--yellow); font-size: 64px; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ctPop .6s var(--spring) 3.1s forwards; }
.ct-b-hoop circle { animation: ctHoopGlow .8s ease 3s 2; }
@keyframes ctDraw { to { stroke-dashoffset: 0; } }
@keyframes ctPop { 0% { opacity: 0; transform: scale(.3) rotate(-12deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes ctHoopGlow { 50% { stroke: var(--yellow); stroke-width: 7; } }

.ct-steps { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; margin: -26px 14px 0; padding: 0; }
.ct-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 14px 14px 16px; border-radius: 16px; background: var(--chalk); color: #2a3047; box-shadow: 0 14px 34px rgba(0,0,0,.4); font-size: .9rem; line-height: 1.4; }
.ct-steps li:nth-child(2) { transform: translateY(10px) rotate(.8deg); }
.ct-steps li:nth-child(3) { transform: rotate(-.8deg); }
.ct-steps b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 1.2rem; }
.ct-steps strong { display: block; margin-bottom: 2px; color: var(--navy); font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1.05; }
@media (max-width: 1180px) and (min-width: 961px) { .ct-steps { grid-template-columns: 1fr; margin: -20px 24px 0; } .ct-steps li:nth-child(n) { transform: none; } }
@media (max-width: 640px) {
  .ct-board { transform: none; padding: 8px; border-radius: 20px; }
  .ct-steps { grid-template-columns: 1fr; margin: -14px 10px 0; gap: 8px; }
  .ct-steps li:nth-child(n) { transform: none; }
  .ct-topic-list a { font-size: .9rem; }
}

/* =========================================================================
   CONTACT — direct lines + logo download
   ========================================================================= */
.ct-sec-head { margin-bottom: clamp(26px, 4vw, 44px); }
.ct-sec-head h2 { margin: 0; }
.ct-lines-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 34px); align-items: stretch; }
@media (max-width: 900px) { .ct-lines-grid { grid-template-columns: 1fr; } }
.ct-lines { display: grid; gap: 14px; align-content: start; counter-reset: ctline; }
.ct-line { counter-increment: ctline; }
.ct-line-no::before { content: counter(ctline, decimal-leading-zero); }
.ct-line { position: relative; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 18px; min-height: 104px; padding: 18px 22px; border-radius: var(--r); background: linear-gradient(160deg, rgba(28,53,102,.62), rgba(13,26,54,.9)); border: 1px solid var(--line); color: #fff; overflow: hidden; isolation: isolate; transition: transform .35s var(--spring), border-color .25s, box-shadow .35s; }
.ct-line::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 40%, rgba(255,205,31,.12) 50%, transparent 60%); transform: translateX(-100%); transition: transform .7s var(--ease); }
.ct-line:hover, .ct-line:focus-within { transform: translateX(6px); border-color: rgba(224,169,59,.6); box-shadow: var(--shadow); color: #fff; }
.ct-line:hover::before { transform: translateX(100%); }
.ct-line-no { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 2.7rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(244,239,228,.4); min-width: 2.1ch; }
.ct-line-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: rgba(214,17,28,.16); border: 1px solid rgba(214,17,28,.45); color: var(--gold-2); }
.ct-line-ico svg { width: 26px; height: 26px; }
.ct-line:hover .ct-line-ico svg { animation: ctRing .6s ease; }
.ct-line-txt { min-width: 0; }
.ct-line-label { display: block; font-family: var(--display); font-weight: 700; font-size: .88rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.ct-line-value { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.1; letter-spacing: .02em; color: #fff; overflow-wrap: anywhere; }
a.ct-line-value:hover { color: var(--yellow); }
.ct-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ct-stretch:focus-visible { outline: none; }
.ct-line--mail:focus-within { outline: 3px solid var(--yellow); outline-offset: 3px; }
.ct-line-go { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
.ct-line-go svg { width: 18px; height: 18px; transition: transform .3s var(--spring); }
.ct-line:hover .ct-line-go svg { transform: translateX(4px); }
.ct-line--wa { background: linear-gradient(160deg, rgba(37,211,102,.2), rgba(13,26,54,.9) 60%); border-color: rgba(37,211,102,.35); }
.ct-line--wa .ct-line-ico { background: rgba(37,211,102,.16); border-color: rgba(37,211,102,.55); color: var(--wa); }
.ct-line--wa .ct-line-label { color: #7ee3a6; }
.ct-line--wa .ct-line-go { background: var(--wa); color: #062b14; }
.ct-line--wa:hover { border-color: var(--wa); }
.ct-line--form { background: linear-gradient(160deg, rgba(255,205,31,.12), rgba(13,26,54,.9) 60%); border-color: rgba(255,205,31,.28); }
.ct-line--form .ct-line-ico { background: rgba(255,205,31,.14); border-color: rgba(255,205,31,.5); color: var(--yellow); }
.ct-line--form .ct-line-label { color: var(--gold-2); }
.ct-line--form:hover .ct-line-ico svg { animation: ctBounce .6s var(--ease); }
@keyframes ctBounce { 0%, 100% { transform: none; } 40% { transform: translateY(-5px) rotate(-8deg); } 70% { transform: translateY(1px); } }
.ct-empty { margin: 0; padding: 22px; border-radius: var(--r); border: 1px dashed var(--line); color: var(--chalk-dim); }
@keyframes ctRing { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }
@media (max-width: 560px) {
  .ct-line { grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; min-height: 88px; padding: 14px 14px 14px 16px; }
  .ct-line-no { display: none; }
  .ct-line-ico { width: 46px; height: 46px; border-radius: 13px; }
  .ct-line-ico svg { width: 22px; height: 22px; }
  .ct-line-value { font-size: 1.32rem; }
  .ct-line-go { width: 44px; padding: 0; justify-content: center; }
  .ct-go-txt { display: none; }
}

.ct-logo { position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--chalk); color: var(--navy); box-shadow: var(--shadow); transform: rotate(-.8deg); transition: transform .45s var(--spring), box-shadow .3s; }
.ct-logo:hover { transform: rotate(.6deg) translateY(-6px); color: var(--navy); box-shadow: 0 26px 60px rgba(0,0,0,.55); }
.ct-logo-paper { position: relative; flex: 1; display: grid; place-items: center; min-height: 250px; padding: 48px 28px 40px; background-color: #fbf8f1; background-image: linear-gradient(rgba(13,26,54,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(13,26,54,.07) 1px, transparent 1px); background-size: 22px 22px; }
.ct-logo-paper .tape { top: 10px; }
.ct-logo-paper img { width: min(80%, 300px); filter: drop-shadow(0 14px 22px rgba(13,26,54,.28)); transition: transform .5s var(--spring); }
.ct-logo:hover .ct-logo-paper img { transform: scale(1.05) rotate(-2deg); }
.ct-logo-hand { position: absolute; right: 18px; bottom: 10px; font-family: var(--hand); font-weight: 700; font-size: 1.35rem; color: var(--red); transform: rotate(-4deg); }
.ct-logo-body { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px 22px; background: var(--navy); color: #fff; }
.ct-logo-txt { display: grid; gap: 2px; min-width: 0; }
.ct-logo-kicker { font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.ct-logo-title { font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1; text-transform: uppercase; color: #fff; }
.ct-logo-title small { font-size: .55em; font-style: normal; letter-spacing: .08em; color: var(--gold-2); }
.ct-logo-meta { font-size: .88rem; color: var(--chalk-dim); }
.ct-logo-dl { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--yellow); color: var(--ink); box-shadow: 0 10px 24px rgba(255,205,31,.3); }
.ct-logo-dl svg { width: 26px; height: 26px; }
.ct-logo:hover .ct-logo-dl svg { animation: ctDrop .7s var(--ease); }
@keyframes ctDrop { 0% { transform: translateY(0); } 45% { transform: translateY(7px); } 70% { transform: translateY(-2px); } 100% { transform: translateY(0); } }
@media (max-width: 900px) { .ct-logo { transform: none; } .ct-logo-paper { min-height: 200px; } }

/* organiser documents: full-width strip under the lines + logo card */
.ct-docs { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px clamp(16px, 2vw, 22px); align-items: center; padding: 18px clamp(18px, 2vw, 24px); border-radius: var(--r); background: linear-gradient(160deg, rgba(28,53,102,.62), rgba(13,26,54,.9)); border: 1px solid rgba(224,169,59,.3); }
.ct-docs-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 14px; }
.ct-docs-head .ct-docs-ico { grid-row: 1 / span 2; }
.ct-docs-ico { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: rgba(224,169,59,.14); border: 1px solid rgba(224,169,59,.5); color: var(--gold-2); }
.ct-docs-ico svg { width: 26px; height: 26px; }
.ct-docs-kicker { margin: 0 0 3px; font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.ct-docs-title { margin: 0; font-size: clamp(1.45rem, 2.2vw, 1.8rem); font-style: italic; line-height: 1; }
.ct-docs-more { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--display); font-weight: 700; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.ct-docs-more svg { width: 16px; height: 16px; transition: transform .25s var(--spring); }
.ct-docs-more:hover { color: var(--yellow); }
.ct-docs-more:hover svg { transform: translateX(4px); }
.ct-docs-list { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: inherit; list-style: none; margin: 0; padding: 0; }
.ct-docs-list li { display: grid; min-width: 0; }
.ct-doc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 84px; padding: 12px 12px 12px 14px; border-radius: 16px; background: rgba(4,7,14,.45); border: 1px solid var(--line); color: #fff; transition: transform .3s var(--spring), border-color .2s, background .2s; }
.ct-doc::before { content: ".docx"; content: ".docx" / ""; display: grid; place-items: center; width: 46px; height: 56px; border-radius: 6px 14px 6px 6px; background: linear-gradient(225deg, #e3dbc6 0 12px, #fbf8f1 12px); color: var(--red); font-family: var(--display); font-weight: 800; font-style: italic; font-size: .8rem; letter-spacing: .02em; box-shadow: 0 6px 12px rgba(0,0,0,.35); transform: rotate(-4deg); transition: transform .35s var(--spring); }
.ct-docs-list li + li .ct-doc::before { transform: rotate(3deg); }
.ct-doc:hover { transform: translateY(-3px); border-color: rgba(255,205,31,.6); background: rgba(4,7,14,.65); color: #fff; }
.ct-doc:hover::before { transform: rotate(0) scale(1.06); }
.ct-doc-txt { display: grid; gap: 3px; min-width: 0; }
.ct-doc-name { font-weight: 800; font-size: 1rem; line-height: 1.3; }
.ct-doc-meta { font-size: .84rem; color: var(--chalk-dim); }
.ct-doc-dl { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--ink); box-shadow: 0 8px 18px rgba(255,205,31,.25); }
.ct-doc-dl svg { width: 20px; height: 20px; }
.ct-doc:hover .ct-doc-dl svg, .ct-doc:focus-visible .ct-doc-dl svg { animation: ctDrop .7s var(--ease); }
@media (max-width: 1180px) {
  .ct-docs { grid-template-columns: 1fr; }
  .ct-docs-list { grid-column: auto; }
  .ct-docs-head { grid-template-columns: auto minmax(0, 1fr) auto; }
  .ct-docs-head .ct-docs-ico { grid-row: auto; }
  .ct-docs-more { grid-column: 3; grid-row: 1; justify-self: end; }
}
@media (max-width: 680px) {
  .ct-docs { padding: 16px; }
  .ct-docs-list { grid-template-columns: 1fr; }
  .ct-docs-head { grid-template-columns: auto minmax(0, 1fr); }
  .ct-docs-more { grid-column: 1 / -1; grid-row: 2; justify-self: start; margin-top: 6px; }
  .ct-doc { min-height: 76px; gap: 12px; }
  .ct-doc::before { width: 40px; height: 50px; font-size: .72rem; }
}

/* =========================================================================
   CONTACT — message form
   ========================================================================= */
.ct-msg { background: radial-gradient(900px 600px at 0% 0%, rgba(214,17,28,.16), transparent 60%), radial-gradient(900px 700px at 100% 100%, rgba(28,53,102,.75), transparent 60%), var(--ink); scroll-margin-top: calc(var(--header-h) - 40px); }
.ct-msg-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 76px); align-items: start; }
@media (max-width: 960px) { .ct-msg-grid { grid-template-columns: 1fr; } }
.ct-msg-intro { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 960px) { .ct-msg-intro { position: static; } }
.ct-msg .chalk-bg span { color: rgba(244,239,228,.075); }
.ct-msg-sub { margin: 26px 0 12px; font-weight: 700; color: #fff; }
.ct-msg-hand { margin: 20px 0 0; transform: rotate(-3deg); display: inline-block; }

.ct-formcard { scroll-margin-top: calc(var(--header-h) + 16px); }
.ct-formcard { position: relative; padding: clamp(22px, 3.6vw, 42px); border-radius: 28px; background: linear-gradient(170deg, var(--navy-2), var(--navy) 55%, var(--ink-2)); border: 1px solid rgba(224,169,59,.32); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06); overflow: hidden; isolation: isolate; }
.ct-formcard::before { content: ""; position: absolute; z-index: -1; right: -150px; bottom: -150px; width: 340px; height: 340px; border-radius: 50%; border: 2px solid rgba(244,239,228,.06); box-shadow: 0 0 0 70px rgba(244,239,228,.015), 0 0 0 72px rgba(244,239,228,.05); }
.ct-formcard::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--red), var(--gold), var(--yellow)); }
.ct-formcard-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px dashed rgba(244,239,228,.18); }
.ct-formcard-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 1.5rem; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.ct-formcard-kicker svg { width: 24px; height: 24px; color: var(--yellow); }
.ct-formcard-note { margin: 0; font-size: .88rem; color: var(--chalk-dim); }
.ct-formcard-note span, .ct-req { color: var(--yellow); font-weight: 800; }
.ct-noscript { padding: 14px 16px; border-radius: 12px; background: rgba(214,17,28,.18); }

.ct-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
.ct-form[hidden] { display: none; }
@media (max-width: 640px) { .ct-form { grid-template-columns: 1fr; gap: 18px; } }
.ct-field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.ct-field--full { grid-column: 1 / -1; }
.ct-field > label, .ct-label-row label { font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: .12em; text-transform: uppercase; color: var(--chalk); }
.ct-opt { font-family: var(--body); font-weight: 500; font-size: .82rem; letter-spacing: 0; text-transform: none; color: var(--chalk-dim); }
.ct-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ct-count { font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .06em; color: var(--chalk-dim); padding: 2px 8px; border-radius: 6px; background: rgba(0,0,0,.35); font-variant-numeric: tabular-nums; }
.ct-count.is-hot { color: var(--yellow); box-shadow: 0 0 0 1px rgba(255,205,31,.4); }

.ct-input { width: 100%; min-height: 54px; padding: 13px 16px; border-radius: 14px; border: 2px solid rgba(244,239,228,.16); background: rgba(7,11,22,.55); color: #fff; font: inherit; font-size: 1rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.ct-input::placeholder { color: rgba(244,239,228,.42); }
.ct-input:hover { border-color: rgba(244,239,228,.32); }
.ct-input:focus { outline: none; border-color: var(--yellow); background-color: rgba(7,11,22,.8); box-shadow: 0 0 0 4px rgba(255,205,31,.2); }
textarea.ct-input { min-height: 168px; resize: vertical; line-height: 1.55; }
select.ct-input { -webkit-appearance: none; appearance: none; padding-right: 50px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffcd1f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 20px; }
select.ct-input option { background: var(--navy); color: #fff; }
.ct-input[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 4px rgba(214,17,28,.2); }
.ct-flash { animation: ctFlash 1.1s var(--ease); }
@keyframes ctFlash { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,205,31,0); } 25% { box-shadow: 0 0 0 6px rgba(255,205,31,.5); border-color: var(--yellow); } }

.ct-err { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--bad); font-size: .92rem; font-weight: 700; line-height: 1.4; }
.ct-err::before { content: "!"; flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--red); color: #fff; font-size: .8rem; font-weight: 800; }
.ct-hint { margin: 0; font-size: .9rem; color: var(--chalk-dim); }
.ct-hint a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.ct-check { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.ct-check input { -webkit-appearance: none; appearance: none; flex: none; width: 28px; height: 28px; margin: 1px 0 0; border-radius: 8px; border: 2px solid rgba(244,239,228,.45); background: rgba(7,11,22,.5) center / 18px no-repeat; cursor: pointer; transition: background-color .2s, border-color .2s, transform .25s var(--spring); }
.ct-check input:hover { border-color: var(--yellow); }
.ct-check input:checked { background-color: var(--yellow); border-color: var(--yellow); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23070b16' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E"); transform: scale(1.06); }
.ct-check input:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.ct-check input[aria-invalid="true"] { border-color: var(--bad); }
.ct-check > label { font-family: var(--body); font-weight: 500; font-size: .95rem; letter-spacing: 0; text-transform: none; line-height: 1.5; color: var(--chalk-dim); cursor: pointer; }
.ct-check label a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ct-check .ct-err { grid-column: 1 / -1; margin-top: 10px; }
.ct-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* submit: the basketball button and its hoop */
.ct-shotline { position: relative; grid-column: 1 / -1; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 30px; }
.ct-shotline::before { content: ""; position: absolute; left: 34px; right: 52px; bottom: 44px; height: 96px; border: 2px dashed rgba(244,239,228,.16); border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; pointer-events: none; }.ct-shoot { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 66px; padding: 0 32px 0 10px; border: 0; border-radius: 999px; background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; box-shadow: 0 12px 30px rgba(255,205,31,.3); transition: transform .25s var(--spring), box-shadow .25s; -webkit-tap-highlight-color: transparent; }
.ct-shoot:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 18px 38px rgba(255,205,31,.4); }
.ct-shoot:active { transform: scale(.97); }
.ct-shoot:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.ct-shoot[aria-disabled="true"] { cursor: progress; }
.ct-ball { display: block; flex: none; width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 6px 12px rgba(59,23,4,.35); transition: transform .6s var(--spring); }
.ct-ball svg, .ct-flyball svg { display: block; width: 100%; height: 100%; }
.ct-shoot:hover .ct-ball { transform: rotate(220deg); }
.ct-shoot.is-busy .ct-ball { animation: ctDribble .42s cubic-bezier(.5,0,.5,1) infinite alternate; }
.ct-shoot.is-shot .ct-ball { visibility: hidden; }
.ct-shoot.is-miss { animation: ctMiss .5s var(--ease); }
.ct-flyball { position: fixed; z-index: 9998; pointer-events: none; border-radius: 50%; will-change: transform; }
@keyframes ctDribble { from { transform: translateY(-5px) rotate(0); } to { transform: translateY(5px) rotate(40deg); } }
@keyframes ctMiss { 0%, 100% { transform: none; } 20% { transform: translateX(-9px) rotate(-2deg); } 40% { transform: translateX(8px) rotate(1.5deg); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }

.ct-hoop { flex: none; width: 104px; margin-bottom: 2px; }
.ct-hoop svg { width: 100%; height: auto; overflow: visible; }
.ct-hoop-board { fill: rgba(244,239,228,.9); }
.ct-hoop-arm { stroke: rgba(244,239,228,.6); stroke-width: 4; }
.ct-rim { stroke: var(--red); stroke-width: 5; stroke-linecap: round; transform-box: view-box; transform-origin: 74px 52px; }
.ct-net { fill: none; stroke: rgba(244,239,228,.72); stroke-width: 1.6; stroke-linejoin: round; transform-box: view-box; transform-origin: 47px 54px; }
.ct-hoop.is-swish .ct-net { animation: ctSwish .7s var(--ease); }
.ct-hoop.is-swish .ct-rim { animation: ctRimGlow .8s ease; }
@keyframes ctSwish { 0% { transform: none; } 30% { transform: scaleY(1.22) scaleX(.86); } 60% { transform: scaleY(.94) skewX(5deg); } 100% { transform: none; } }
@keyframes ctRimGlow { 30% { stroke: var(--yellow); stroke-width: 7; } }
@media (max-width: 420px) {
  .ct-shoot { min-height: 60px; padding: 0 24px 0 8px; font-size: 1.22rem; gap: 10px; }
  .ct-ball { width: 44px; height: 44px; }
  .ct-hoop { width: 70px; }
}

.ct-channel { grid-column: 1 / -1; margin: -4px 0 0; font-size: .9rem; color: var(--chalk-dim); }
.ct-channel:empty { display: none; }
.ct-alert { grid-column: 1 / -1; padding: 14px 16px; border-radius: 14px; background: rgba(214,17,28,.16); border: 1px solid rgba(214,17,28,.55); color: #fff; font-size: .95rem; }
.ct-alert:empty { display: none; }
.ct-alert strong { font-family: var(--display); font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; margin-right: 4px; }
.ct-alert a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

.ct-done { padding: clamp(18px, 4vw, 40px) 0 clamp(8px, 2vw, 18px); text-align: center; }
.ct-done-score { display: inline-grid; place-items: center; min-width: 136px; padding: 6px 26px; margin-bottom: 18px; border-radius: 18px; background: #04070e; border: 2px solid rgba(255,205,31,.35); box-shadow: inset 0 0 24px rgba(0,0,0,.8), 0 0 0 6px rgba(13,26,54,.9); }
.ct-done-score span { font-family: var(--display); font-weight: 800; font-size: clamp(3.6rem, 8vw, 5rem); line-height: 1.05; color: var(--yellow); text-shadow: 0 0 20px rgba(255,205,31,.7); font-variant-numeric: tabular-nums; }
.ct-done-title { font-size: clamp(2.2rem, 5vw, 3.4rem); font-style: italic; margin-bottom: .3em; }
.ct-done-title:focus { outline: none; }
.ct-done-title:focus-visible { outline: 3px solid var(--yellow); outline-offset: 6px; }
.ct-done-text { max-width: 46ch; margin: 0 auto 24px; color: var(--chalk-dim); }
.ct-done-actions { justify-content: center; }
.ct-done.is-in > * { animation: ctRise .6s var(--spring) both; }
.ct-done.is-in > :nth-child(2) { animation-delay: .08s; } .ct-done.is-in > :nth-child(3) { animation-delay: .16s; } .ct-done.is-in > :nth-child(4) { animation-delay: .24s; }
.ct-done.is-in .ct-done-score span { animation: ctScore .9s steps(1) .1s both; }
@keyframes ctRise { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes ctScore { 0% { opacity: 0; } 20% { opacity: 1; } 35% { opacity: .2; } 50% { opacity: 1; } 65% { opacity: .3; } 80%, 100% { opacity: 1; } }

.ct-off { padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: linear-gradient(170deg, var(--navy-2), var(--navy)); border: 1px solid rgba(224,169,59,.32); text-align: center; }
.ct-off-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 18px; background: var(--red); color: #fff; }
.ct-off-ico svg { width: 30px; height: 30px; }
.ct-off p { color: var(--chalk-dim); max-width: 46ch; margin-inline: auto; }
.ct-off-ico--soon { background: var(--yellow); color: var(--ink); }
.ct-off .btn { margin-top: 6px; }
.ct-off-phones { font-family: var(--display); font-weight: 800; font-size: 1.8rem; line-height: 1.5; }
.ct-off-phones a { color: var(--yellow); }

/* =========================================================================
   LEGAL PAGES (Parkur Kullanım Koşulları, KVKK)
   ========================================================================= */
.lg-hero { padding-bottom: clamp(48px, 7vw, 92px); }
.lg-hero h1 { font-size: clamp(2.7rem, 6.6vw, 5.8rem); }
.lg-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
@media (max-width: 960px) { .lg-hero-grid { grid-template-columns: 1fr; } }
.lg-updated { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font-size: .9rem; font-weight: 700; color: var(--chalk); }
.lg-updated svg { width: 18px; height: 18px; color: var(--gold-2); }

.lg-stats { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.lg-stat { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 12px 18px; border-radius: 18px; background: rgba(4,7,14,.78); border: 1px solid rgba(255,205,31,.22); box-shadow: inset 0 0 22px rgba(0,0,0,.6); color: #fff; transition: transform .3s var(--spring), border-color .2s; }
a.lg-stat:hover { transform: translateX(-6px); border-color: var(--yellow); color: #fff; }
.lg-stat b { flex: none; min-width: 2.1ch; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 2.8rem; line-height: 1; color: var(--yellow); text-shadow: 0 0 16px rgba(255,205,31,.5); font-variant-numeric: tabular-nums; }
.lg-stat > span:not(.lg-cmds) { font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; color: var(--chalk-dim); }
.lg-stat .lg-cmds { display: flex; flex-wrap: wrap; gap: 6px; flex: none; }
@media (max-width: 960px) {
  .lg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lg-stats li:last-child { grid-column: 1 / -1; }
  .lg-stat { min-height: 64px; padding: 10px 16px; gap: 12px; }
  .lg-stat b { font-size: 2.3rem; }
  .lg-stat > span:not(.lg-cmds) { font-size: .9rem; letter-spacing: .1em; }
}

.lg-main { padding-block: clamp(44px, 6vw, 84px) var(--section-y); background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.lg-wrap { display: grid; grid-template-columns: 286px minmax(0, 1fr); gap: clamp(36px, 5vw, 84px); align-items: start; }
@media (max-width: 960px) { .lg-wrap { grid-template-columns: 1fr; gap: 0; } }

.lg-toc-desk { position: sticky; top: calc(var(--header-h) + 22px); max-height: calc(100vh - var(--header-h) - 44px); overflow: auto; overscroll-behavior: contain; padding: 18px 12px 14px; border-radius: 20px; background: rgba(13,26,54,.72); border: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: rgba(244,239,228,.25) transparent; }
.lg-toc-title { display: flex; align-items: center; gap: 10px; margin: 0 8px 10px; font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.lg-toc-title svg { width: 20px; height: 20px; }
.lg-progress { height: 4px; margin: 0 8px 12px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.lg-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--yellow)); transform: scaleX(0); transform-origin: left; }
.lg-toc ol { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.lg-toc a { display: grid; grid-template-columns: 2.1em minmax(0, 1fr); gap: 6px; align-items: baseline; min-height: 36px; padding: 7px 10px; border-radius: 10px; color: var(--chalk-dim); font-size: .92rem; line-height: 1.3; transition: background .2s, color .2s, box-shadow .2s; }
.lg-toc-mob a { min-height: 44px; padding: 11px 10px; font-size: .98rem; }
.lg-toc a > span:first-child { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 1.05rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.lg-toc a:hover { background: rgba(255,255,255,.07); color: #fff; }
.lg-toc a.is-active { background: rgba(255,205,31,.1); color: #fff; box-shadow: inset 3px 0 0 var(--yellow); }
.lg-toc a.is-active > span:first-child { color: var(--yellow); }
.lg-toc a.is-flag > span:first-child { color: #ff6b70; }

.lg-toc-mob { display: none; margin-bottom: 30px; border-radius: 18px; background: rgba(13,26,54,.85); border: 1px solid var(--line); }
.lg-toc-mob summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 0 18px; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; border-radius: 18px; }
.lg-toc-mob summary::-webkit-details-marker { display: none; }
.lg-toc-mob summary svg { width: 22px; height: 22px; color: var(--yellow); transform: rotate(90deg); transition: transform .3s var(--ease); }
.lg-toc-mob[open] summary svg { transform: rotate(-90deg); }
.lg-toc-mob summary small { font-family: var(--body); font-size: .8rem; letter-spacing: 0; font-weight: 600; text-transform: none; color: var(--chalk-dim); margin-left: auto; }
.lg-toc-mob ol { padding: 0 10px 12px; }
@media (max-width: 960px) { .lg-toc-desk { display: none; } .lg-toc-mob { display: block; } }
/* Short desktop screens (900px, 768px, 720px tall): tighten rows so every entry fits; overflow scroll stays as a fallback */
@media (min-width: 961px) and (max-height: 940px) {
  .lg-toc-desk { top: calc(var(--header-h) + 14px); max-height: calc(100vh - var(--header-h) - 28px); padding: 14px 10px 10px; }
  .lg-toc-desk .lg-toc-title { margin-bottom: 8px; }
  .lg-toc-desk .lg-progress { margin-bottom: 8px; }
  .lg-toc-desk a { min-height: 30px; padding: 5px 10px; font-size: .9rem; line-height: 1.25; }
}
@media (min-width: 961px) and (max-height: 800px) {
  .lg-toc-desk { top: calc(var(--header-h) + 12px); max-height: calc(100vh - var(--header-h) - 24px); padding: 12px 8px 8px; }
  .lg-toc-desk .lg-toc-title { margin: 0 8px 6px; font-size: .92rem; }
  .lg-toc-desk .lg-toc-title svg { width: 18px; height: 18px; }
  .lg-toc-desk .lg-progress { margin-bottom: 6px; }
  .lg-toc-desk ol { gap: 1px; }
  .lg-toc-desk a { min-height: 26px; padding: 3px 10px; font-size: .86rem; line-height: 1.2; }
  .lg-toc-desk a > span:first-child { font-size: .98rem; }
  .lg-toc.lg-toc-desk li:has(> a.is-doc) { margin-bottom: 3px; padding-bottom: 3px; }
}

.lg-body { min-width: 0; max-width: 820px; }
.lg-body p, .lg-body li { color: var(--chalk-dim); }
.lg-body strong { color: #fff; }
.lg-body a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lg-sec { position: relative; padding: clamp(30px, 4vw, 46px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 18px); }
.lg-sec:first-child { padding-top: 0; border-top: 0; }
.lg-sec h2 { display: flex; align-items: center; gap: 16px; font-size: clamp(1.75rem, 3.2vw, 2.55rem); line-height: 1.02; margin-bottom: .65em; }
.lg-num { flex: none; display: inline-grid; place-items: center; min-width: 54px; height: 54px; padding: 0 8px; border-radius: 14px; background: var(--red); color: #fff; font-size: 1.55rem; box-shadow: 0 8px 22px rgba(214,17,28,.35); font-variant-numeric: tabular-nums; }
.lg-sec p:last-child { margin-bottom: 0; }
.lg-sec:target .lg-num { animation: lgPing 1s var(--spring) .15s 2; }
@keyframes lgPing { 0%, 100% { transform: none; box-shadow: 0 8px 22px rgba(214,17,28,.35); } 40% { transform: scale(1.14) rotate(-6deg); box-shadow: 0 0 0 8px rgba(255,205,31,.35), 0 8px 22px rgba(214,17,28,.35); } }

.lg-clauses { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.lg-clauses li { display: grid; grid-template-columns: 3.1em minmax(0, 1fr); gap: 10px; align-items: baseline; }
@media (max-width: 560px) { .lg-clauses li { grid-template-columns: 2.6em minmax(0, 1fr); gap: 8px; } }
.lg-cno { font-family: var(--display); font-weight: 800; font-size: 1.12rem; color: var(--gold-2); font-variant-numeric: tabular-nums; }

.lg-bullets { display: grid; gap: 9px; list-style: none; margin: 0 0 1.1em; padding: 0; }
.lg-bullets:last-child { margin-bottom: 0; }
.lg-bullets li { position: relative; padding-left: 30px; }
.lg-bullets li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 15px; height: 15px; border-radius: 50%; background: var(--ball) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%233b1704' stroke-width='3'%3E%3Cpath d='M20 0v40M0 20h40M7 6c6 7 6 21 0 28M33 6c-6 7-6 21 0 28'/%3E%3C/svg%3E") center / 100% no-repeat; box-shadow: inset 0 0 0 1.5px var(--ball-line); }

.lg-chips { margin: 0 0 1.2em; }
.lg-chips li { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.lg-chips li a { color: #fff; text-decoration: none !important; }
.lg-chips li a:hover { color: var(--yellow); }
.lg-chips svg { flex: none; width: 16px; height: 16px; color: var(--gold-2); }
.lg-subhead { display: flex; align-items: center; gap: 10px; margin: 0 0 .7em; font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.1; letter-spacing: .07em; color: #fff; }
.lg-subhead::before { content: ""; flex: none; width: 18px; height: 4px; border-radius: 3px; background: var(--red); }

.lg-cmd { display: inline-block; padding: 1px 10px; margin: 0 2px; border-radius: 7px; background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.02rem; letter-spacing: .1em; line-height: 1.5; box-shadow: 0 3px 0 #b68f08; }
.lg-stat .lg-cmd { margin: 0; font-size: 1.05rem; color: var(--ink); letter-spacing: .1em; }

.lg-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 680px) { .lg-compare { grid-template-columns: 1fr; } }
.lg-compare > div { padding: 20px 20px 22px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.lg-compare h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin-bottom: .5em; }
.lg-compare h3 svg { width: 26px; height: 26px; padding: 4px; border-radius: 8px; flex: none; }
.lg-ok { border-top: 4px solid var(--grass) !important; }
.lg-ok h3 svg { background: rgba(63,163,77,.2); color: #6fd27e; }
.lg-no { border-top: 4px solid var(--red) !important; }
.lg-no h3 svg { background: rgba(214,17,28,.2); color: #ff6b70; }
.lg-compare p { margin: 0; }

.lg-sec--flag { margin: 18px 0; padding: clamp(24px, 4vw, 40px); border: 0; border-radius: 26px; background: radial-gradient(600px 300px at 100% 0%, rgba(214,17,28,.28), transparent 70%), linear-gradient(160deg, rgba(161,12,20,.22), rgba(13,26,54,.5)); box-shadow: inset 0 0 0 1px rgba(214,17,28,.5); }
.lg-sec--flag + .lg-sec { border-top: 0; }
.lg-banner { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; }
.lg-banner svg { width: 18px; height: 18px; animation: lgWave 2.4s ease-in-out infinite; transform-origin: 20% 90%; }
@keyframes lgWave { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-12deg); } 80% { transform: rotate(9deg); } 90% { transform: rotate(-5deg); } }
.lg-flags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 680px) { .lg-flags { grid-template-columns: 1fr; } }
.lg-flags li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(4,7,14,.55); border: 1px solid rgba(214,17,28,.32); color: #fff; font-weight: 600; line-height: 1.45; transition: transform .25s var(--spring), border-color .2s; }
.lg-flags li:hover { transform: translateX(4px); border-color: rgba(255,107,112,.8); }
.lg-flags svg { flex: none; width: 24px; height: 24px; padding: 4px; margin-top: -1px; border-radius: 50%; background: var(--red); color: #fff; }

.lg-ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 6px 0 0; padding: 0; counter-reset: none; }
@media (max-width: 1100px) { .lg-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lg-ladder { grid-template-columns: 1fr; } }
.lg-ladder li { --heat: var(--yellow); position: relative; display: flex; flex-direction: column; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid var(--line); overflow: hidden; }
.lg-ladder li:nth-child(2) { --heat: #ffb21f; } .lg-ladder li:nth-child(3) { --heat: #ff8a1f; }
.lg-ladder li:nth-child(4) { --heat: #ff5f1f; } .lg-ladder li:nth-child(5) { --heat: #f0321f; } .lg-ladder li:nth-child(6) { --heat: #d6111c; }
.lg-stage { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--chalk-dim); }
.lg-stage b { font-size: 2.3rem; font-style: italic; font-weight: 800; line-height: .9; letter-spacing: 0; color: var(--heat); }
.lg-ladder h3 { font-size: 1.35rem; margin-bottom: .35em; }
.lg-ladder p { margin: 0 0 14px; font-size: .95rem; line-height: 1.55; }
.lg-meter { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: auto; }
.lg-meter i { height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); }
.lg-meter i.on { background: var(--heat); box-shadow: 0 0 8px var(--heat); }

.lg-note { display: flex; gap: 14px; align-items: flex-start; margin-top: clamp(28px, 4vw, 40px); padding: 18px 20px; border-radius: 16px; border: 1px dashed rgba(244,239,228,.25); background: rgba(255,255,255,.025); }
.lg-note svg { flex: none; width: 24px; height: 24px; color: var(--gold-2); margin-top: 2px; }
.lg-note p { margin: 0; font-size: .95rem; }
.lg-end { margin-top: clamp(36px, 5vw, 56px); }
.lg-end .cta { grid-template-columns: minmax(0, 1fr); }
.lg-end .cta h2 { font-size: clamp(1.9rem, 4vw, 3rem); }

/* Downloadable documents (#belgeler) — chalk band between the hero and the rules */
.lg-docs { padding-block: clamp(52px, 7vw, 96px); scroll-margin-top: var(--header-h); overflow: hidden; }
.lg-docs :focus-visible { outline-color: var(--navy); }
.lg-docs .lg-doc :focus-visible { outline-color: var(--yellow); }
.lg-docs-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px clamp(28px, 5vw, 64px); align-items: end; margin-bottom: clamp(28px, 4vw, 46px); }
@media (max-width: 900px) { .lg-docs-head { grid-template-columns: 1fr; } }
.lg-docs-head h2 { margin: 0; font-size: clamp(2.3rem, 4.8vw, 4rem); }
.lg-docs-mark { padding: 0 .08em; background: linear-gradient(transparent 58%, rgba(255,205,31,.9) 58%, rgba(255,205,31,.9) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lg-docs-intro p { margin: 0 0 16px; color: #4a5068; font-size: 1.05rem; line-height: 1.6; }
.lg-docs-steps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.lg-docs-steps li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 5px 14px 5px 5px; border-radius: 999px; background: #fff; border: 1px solid rgba(13,26,54,.12); box-shadow: 0 4px 12px rgba(13,26,54,.06); font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.lg-docs-steps b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-style: italic; font-weight: 800; letter-spacing: 0; }
.lg-docs-steps li:last-child b { background: var(--red); color: #fff; }

.lg-docs-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); list-style: none; margin: 0; padding: 0; }
@media (max-width: 980px) { .lg-docs-list { grid-template-columns: 1fr; } }
.lg-doc { position: relative; display: grid; grid-template-columns: clamp(112px, 10vw, 140px) minmax(0, 1fr); gap: clamp(20px, 2.6vw, 32px); align-items: stretch; padding: clamp(22px, 2.6vw, 30px); border-radius: 24px; background: radial-gradient(420px 240px at 0% 0%, rgba(28,53,102,.95), transparent 70%), linear-gradient(160deg, var(--navy-2), var(--navy) 55%, var(--ink-2)); box-shadow: inset 0 0 0 1px rgba(224,169,59,.22), 0 22px 48px rgba(13,26,54,.26); color: #fff; transition: transform .4s var(--spring), box-shadow .3s; }
.lg-doc:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(224,169,59,.55), 0 30px 60px rgba(13,26,54,.34); }
.lg-doc-sheet { position: relative; align-self: center; transform: rotate(-4deg); filter: drop-shadow(0 14px 16px rgba(0,0,0,.45)); transition: transform .5s var(--spring); }
.lg-doc:nth-child(2) .lg-doc-sheet { transform: rotate(3deg); }
.lg-doc:hover .lg-doc-sheet, .lg-doc:focus-within .lg-doc-sheet { transform: rotate(0) translateY(-6px) scale(1.04); }
.lg-doc-sheet svg { display: block; width: 100%; height: auto; overflow: visible; }
.lg-doc-tape { position: absolute; top: -9px; left: 50%; z-index: 1; width: 56%; height: 18px; background: rgba(255,205,31,.88); box-shadow: 0 2px 5px rgba(0,0,0,.25); transform: translateX(-50%) rotate(-5deg); }
.lg-doc-ext { position: absolute; right: -12px; top: 30%; padding: 3px 9px 4px; border-radius: 8px; background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; font-style: italic; font-size: .95rem; line-height: 1.1; letter-spacing: .05em; box-shadow: 0 6px 14px rgba(214,17,28,.45); transform: rotate(8deg); }
.lg-ds-page { fill: #fbf8f1; }
.lg-ds-fold { fill: #e3dbc6; }
.lg-ds-h { fill: var(--navy); }
.lg-ds-sub { fill: var(--red); }
.lg-ds-rows rect { fill: rgba(13,26,54,.16); }
.lg-ds-rows .lg-ds-no { fill: var(--gold); }
.lg-ds-stamp circle { fill: rgba(214,17,28,.06); stroke: var(--red); stroke-width: 2; stroke-dasharray: 3 2.4; }
.lg-ds-stamp text { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 15px; fill: var(--red); text-anchor: middle; }
.lg-ds-grid rect { fill: #fff; stroke: rgba(13,26,54,.35); stroke-width: 1.2; }
.lg-ds-grid path { fill: none; stroke: rgba(13,26,54,.2); stroke-width: 1; }
.lg-ds-checks path { fill: none; stroke: var(--grass); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lg-ds-line { fill: none; stroke: rgba(13,26,54,.45); stroke-width: 1.4; }
.lg-ds-sign { fill: none; stroke: #1d43b0; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.lg-doc:hover .lg-ds-sign, .lg-doc:focus-within .lg-ds-sign { animation: lgSign .9s var(--ease) both; }
.lg-doc:hover .lg-ds-sign--2, .lg-doc:focus-within .lg-ds-sign--2 { animation-delay: .45s; }
@keyframes lgSign { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.lg-doc-body { display: flex; flex-direction: column; min-width: 0; }
.lg-doc-kicker { margin: 0 0 6px; font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.lg-docs .lg-doc-title { margin: 0 0 10px; font-size: clamp(1.5rem, 2.2vw, 1.95rem); line-height: 1.02; color: #fff; text-wrap: balance; }
.lg-doc-text { margin: 0 0 14px; color: var(--chalk-dim); font-size: .98rem; line-height: 1.55; }
.lg-doc-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.lg-doc-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--chalk); }
.lg-doc-meta svg { width: 16px; height: 16px; color: var(--gold-2); }
.lg-doc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: auto; }
.lg-doc:hover .lg-doc-btn svg, .lg-doc-btn:focus-visible svg { animation: ctDrop .7s var(--ease); }
.lg-doc-ref { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; color: var(--chalk-dim); }
.lg-doc-ref svg { width: 16px; height: 16px; transition: transform .25s var(--spring); }
.lg-doc-ref:hover { color: var(--yellow); }
.lg-doc-ref:hover svg { transform: translateX(4px); }
@media (max-width: 560px) {
  .lg-doc { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 20px 18px; }
  .lg-doc-sheet { align-self: start; margin-top: 8px; }
  .lg-doc-ext { right: -8px; font-size: .78rem; padding: 2px 7px 3px; }
  .lg-doc-tape { height: 14px; top: -7px; }
  .lg-docs .lg-doc-title { font-size: 1.4rem; }
  .lg-doc-text { font-size: .94rem; }
  .lg-doc-actions { gap: 4px 16px; }
}

/* TOC entry for the documents + inline download link in 3.2 */
.lg-toc li:has(> a.is-doc) { margin-bottom: 4px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.lg-toc a.is-doc { color: #fff; }
.lg-toc a.is-doc > span:first-child { display: inline-grid; align-self: center; }
.lg-toc a.is-doc svg { display: block; width: 1.1em; height: 1.1em; color: var(--yellow); }
.lg-body a.lg-dl { color: #fff; text-decoration-color: rgba(255,205,31,.7); }
.lg-body a.lg-dl:hover, .lg-body a.lg-dl:hover strong { color: var(--yellow); }
.lg-dl-meta { display: inline-flex; align-items: center; gap: 5px; margin-left: .35em; padding: 1px 8px; border-radius: 7px; background: rgba(255,205,31,.12); border: 1px solid rgba(255,205,31,.3); font-size: .8em; font-weight: 700; line-height: 1.5; color: var(--chalk); white-space: nowrap; vertical-align: .08em; }
.lg-dl-meta svg { flex: none; width: 1.1em; height: 1.1em; color: var(--yellow); }
.lg-body a.lg-dl:hover .lg-dl-meta { border-color: var(--yellow); }

/* KVKK extras */
.kv-owner { padding: 20px 22px; border-radius: 20px; background: rgba(4,7,14,.78); border: 1px solid rgba(255,205,31,.22); }
.kv-owner p { margin: 0; color: var(--chalk-dim); font-size: .95rem; }
.kv-owner strong { display: block; margin: 4px 0 8px; font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.kv-owner .kv-owner-label { font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.kv-owner svg { width: 34px; height: 34px; color: var(--yellow); margin-bottom: 10px; }

.kv-tldr { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0 0 clamp(34px, 5vw, 52px); padding: 0; list-style: none; }
.kv-tldr li { grid-column: span 2; }
.kv-tldr li:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 720px) { .kv-tldr { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kv-tldr li:nth-child(n) { grid-column: auto; } .kv-tldr li:last-child { grid-column: 1 / -1; } }
@media (max-width: 720px) { .kv-tldr a { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 16px; } .kv-tldr svg { grid-row: span 2; margin-top: 2px; } }
@media (max-width: 460px) { .kv-tldr { grid-template-columns: 1fr; } .kv-tldr li:last-child { grid-column: auto; } }
.kv-tldr a { display: grid; align-content: start; gap: 6px; height: 100%; padding: 18px 18px 16px; border-radius: 18px; background: linear-gradient(160deg, rgba(28,53,102,.55), rgba(13,26,54,.8)); border: 1px solid var(--line); color: var(--chalk-dim); text-decoration: none !important; font-size: .93rem; line-height: 1.45; transition: transform .3s var(--spring), border-color .2s; }
.kv-tldr a:hover { transform: translateY(-4px); border-color: rgba(224,169,59,.55); color: var(--chalk-dim); }
.kv-tldr svg { width: 26px; height: 26px; color: var(--gold-2); }
.kv-tldr strong { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: .03em; text-transform: uppercase; color: #fff; line-height: 1.05; }
.kv-tldr-title { margin: 0 0 14px; font-family: var(--hand); font-weight: 700; font-size: 1.8rem; color: var(--gold-2); line-height: 1; }

.kv-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0 0 1.2em; padding: 0; }
@media (max-width: 620px) { .kv-data { grid-template-columns: 1fr; } }
.kv-data li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.kv-data svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--gold-2); }
.kv-data b { display: block; color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; }

.kv-legal { display: grid; gap: 10px; list-style: none; margin: 0 0 1.1em; padding: 0; }
.kv-legal li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.kv-letter { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 6px; border-radius: 12px; background: rgba(214,17,28,.18); border: 1px solid rgba(214,17,28,.5); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.45rem; line-height: 1; }
.kv-legal p { margin: 0; }
.kv-legal em { display: block; margin-top: 4px; font-style: normal; font-size: .9rem; color: var(--gold-2); }

.kv-rights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0 0 1.1em; padding: 0; }
.kv-rights li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 680px) { .kv-rights { grid-template-columns: 1fr; } }
.kv-rights li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line); line-height: 1.5; }
.kv-rights .kv-letter { min-width: 36px; height: 36px; font-size: 1.3rem; background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.kv-apply { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; margin-top: 22px; padding: 22px 24px; border-radius: 20px; background: linear-gradient(135deg, var(--red-2), var(--red)); }
@media (max-width: 680px) { .kv-apply { grid-template-columns: 1fr; } }
.kv-apply p { margin: 0; color: rgba(255,255,255,.9); }
.kv-apply .kv-apply-phones { margin-top: 6px; font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; line-height: 1.4; }
.kv-apply .kv-apply-phones a { color: #fff; text-decoration: none !important; }
.kv-apply .kv-apply-phones a:hover { color: var(--yellow); }
.kv-apply .kv-apply-mail { margin-top: 4px; font-weight: 700; overflow-wrap: anywhere; }
.kv-apply .kv-apply-mail a { color: #fff; }
.kv-apply .kv-apply-mail a:hover { color: var(--yellow); }

@media print {
  .lg-toc-desk, .lg-toc-mob, .lg-end, .page-hero > img, .chalk-bg, .lg-stats, .lg-docs { display: none !important; }
  .lg-wrap { display: block; }
  .page-hero, .lg-main { background: #fff !important; color: #000; padding: 12px 0; }
  .lg-body p, .lg-body li, .lg-body h2, .lg-body h3, .page-hero h1, .page-hero .lead { color: #000 !important; }
  .lg-sec { break-inside: avoid-page; }
}

/* =========================================================================
   404 — "Top potadan döndü!"
   ========================================================================= */
.e404 { position: relative; display: grid; align-items: center; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); padding: clamp(48px, 7vw, 96px) 0; overflow: hidden; isolation: isolate; background: radial-gradient(900px 600px at 82% 25%, rgba(214,17,28,.26), transparent 60%), radial-gradient(800px 600px at 0% 100%, rgba(28,53,102,.85), transparent 60%), var(--ink); }
.e404-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .e404-grid { grid-template-columns: 1fr; } }
.e404 h1 { font-size: clamp(2.9rem, 6.6vw, 5.8rem); margin-bottom: .3em; }
.e404 .chalk-bg span { color: rgba(244,239,228,.085); }
.e404 .lead { margin-bottom: 30px; }

.e404-board { display: inline-grid; gap: 10px; margin-bottom: 30px; padding: 14px 18px 12px; border-radius: 22px; background: linear-gradient(180deg, #0b1120, #04060c); border: 2px solid #1f2b47; box-shadow: 0 0 0 6px rgba(13,26,54,.85), 0 24px 50px rgba(0,0,0,.55); }
.e404-board-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-family: var(--display); font-weight: 700; font-size: .82rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.e404-led { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #ff2a35; box-shadow: 0 0 10px #ff2a35; animation: e404Blink 1.2s steps(1) infinite; }
.e404-led + .e404-led { animation-delay: .6s; }
.e404-leds { display: inline-flex; gap: 6px; }
.e404-digits { display: flex; gap: 10px; }
.e404-digit { position: relative; display: grid; place-items: center; width: clamp(66px, 8.6vw, 104px); height: clamp(90px, 11.6vw, 140px); border-radius: 12px; background: #010307; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 18px 30px rgba(255,255,255,.03); overflow: hidden; font-family: var(--display); font-weight: 800; font-size: clamp(4.4rem, 7.4vw, 7.4rem); line-height: 1; color: var(--yellow); text-shadow: 0 0 18px rgba(255,205,31,.75), 0 0 2px #fff6cf; font-variant-numeric: tabular-nums; animation: e404Flip .7s var(--spring) both; }
.e404-digit:nth-child(2) { animation-delay: .15s, 2.6s; animation-name: e404Flip, e404Flicker; animation-duration: .7s, 4s; animation-iteration-count: 1, infinite; animation-timing-function: var(--spring), steps(1); }
.e404-digit:nth-child(3) { animation-delay: .3s; }
.e404-digit::before { content: "8"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,205,31,.07); text-shadow: none; }
.e404-digit::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(0,0,0,.75); }
.e404-board-bot { text-align: center; font-family: var(--display); font-weight: 700; font-size: .9rem; letter-spacing: .3em; text-transform: uppercase; color: var(--chalk-dim); }
@keyframes e404Blink { 50% { opacity: .15; box-shadow: none; } }
@keyframes e404Flip { from { transform: translateY(-40%) rotateX(80deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes e404Flicker { 0%, 100% { opacity: 1; } 3% { opacity: .25; } 5% { opacity: 1; } 7% { opacity: .4; } 9% { opacity: 1; } }

.e404-court { position: relative; }
.e404-svg { width: 100%; max-width: 540px; height: auto; margin-inline: auto; overflow: visible; }
@media (max-width: 900px) { .e404-svg { max-width: 400px; } }
.e404-floor-line { stroke: url(#e404-line); stroke-width: 3; }
.e404-key { fill: none; stroke: rgba(244,239,228,.16); stroke-width: 2.5; stroke-dasharray: 6 8; }
.e404-steel { fill: #2b3f6b; }
.e404-arm { stroke: #2b3f6b; stroke-width: 8; stroke-linecap: round; }
.e404-backboard { fill: #f4efe4; }
.e404-bb-mark { fill: none; stroke: var(--red); stroke-width: 3; }
.e404-rim { stroke: var(--red); stroke-width: 7; stroke-linecap: round; transform-box: view-box; transform-origin: 358px 160px; animation: e404Rim 3.6s var(--ease) infinite; }
.e404-net { fill: none; stroke: rgba(244,239,228,.72); stroke-width: 2; stroke-linejoin: round; transform-box: view-box; transform-origin: 327px 163px; animation: e404Net 3.6s var(--ease) infinite; }
.e404-ballc { fill: var(--ball); }
.e404-seam { fill: none; stroke: var(--ball-line); stroke-width: 2.6; stroke-linecap: round; }
.e404-shadow { fill: rgba(0,0,0,.45); transform-box: fill-box; transform-origin: center; animation: e404Shadow 3.6s linear infinite; }
.e404-x { animation: e404X 3.6s linear infinite; }
.e404-y { animation: e404Y 3.6s infinite; }
.e404-spin { transform-box: fill-box; transform-origin: center; animation: e404Spin 3.6s linear infinite; }
.e404-tang { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 34px; fill: var(--yellow); opacity: 0; transform-box: fill-box; transform-origin: center; animation: e404Tang 3.6s ease infinite; }
.e404-tang-lines { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-linecap: round; opacity: 0; animation: e404Tang 3.6s ease infinite; }
.e404-note { font-family: var(--hand); font-weight: 700; font-size: 26px; fill: var(--gold-2); }
.e404-note-arrow { fill: none; stroke: var(--gold-2); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

@keyframes e404X {
  0% { transform: translateX(0); opacity: 0; } 4% { opacity: 1; }
  34% { transform: translateX(206px); } 40% { transform: translateX(172px); } 52% { transform: translateX(110px); }
  59% { transform: translateX(84px); } 66% { transform: translateX(62px); } 71% { transform: translateX(50px); }
  76% { transform: translateX(40px); } 88% { transform: translateX(26px); opacity: 1; } 96% { opacity: 0; }
  100% { transform: translateX(24px); opacity: 0; }
}
@keyframes e404Y {
  0% { transform: translateY(0); animation-timing-function: cubic-bezier(.33,.66,.66,1); }
  20% { transform: translateY(-262px); animation-timing-function: cubic-bezier(.33,0,.66,.33); }
  34% { transform: translateY(-176px); animation-timing-function: cubic-bezier(.33,.66,.66,1); }
  40% { transform: translateY(-204px); animation-timing-function: cubic-bezier(.33,0,.66,.33); }
  52% { transform: translateY(0); animation-timing-function: cubic-bezier(.33,.66,.66,1); }
  59% { transform: translateY(-58px); animation-timing-function: cubic-bezier(.33,0,.66,.33); }
  66% { transform: translateY(0); animation-timing-function: cubic-bezier(.33,.66,.66,1); }
  71% { transform: translateY(-20px); animation-timing-function: cubic-bezier(.33,0,.66,.33); }
  76%, 100% { transform: translateY(0); }
}
@keyframes e404Spin { 0% { transform: rotate(0); } 34% { transform: rotate(420deg); } 76% { transform: rotate(150deg); } 100% { transform: rotate(80deg); } }
@keyframes e404Shadow {
  0%, 52%, 66%, 76%, 100% { transform: scale(1); opacity: .9; }
  20% { transform: scale(.4); opacity: .3; } 34% { transform: scale(.55); opacity: .4; } 40% { transform: scale(.5); opacity: .35; }
  59% { transform: scale(.78); opacity: .6; } 71% { transform: scale(.92); opacity: .8; }
}
@keyframes e404Rim { 0%, 33.5% { transform: rotate(0); } 35.5% { transform: rotate(-7deg); } 38.5% { transform: rotate(5deg); } 41.5% { transform: rotate(-2.5deg); } 45%, 100% { transform: rotate(0); } }
@keyframes e404Net { 0%, 33.5% { transform: none; } 37% { transform: skewX(-9deg) scaleY(1.06); } 41% { transform: skewX(6deg); } 46% { transform: skewX(-2deg); } 52%, 100% { transform: none; } }
@keyframes e404Tang { 0%, 33% { opacity: 0; transform: scale(.4) rotate(-8deg); } 35% { opacity: 1; transform: scale(1.15) rotate(-8deg); } 38% { transform: scale(1) rotate(-8deg); } 46% { opacity: 1; } 52%, 100% { opacity: 0; transform: scale(1) rotate(-8deg); } }

/* "clip" is not a scroll container: focus()/scrollIntoView() can't shift the content of these boxes
   when their decorative pseudo-elements overflow (overflow: hidden stays as the fallback) */
@supports (overflow: clip) { .ct-line, .ct-formcard, .e404 { overflow: clip; } }

@media (prefers-reduced-motion: reduce) {
  .ct-b-draw { stroke-dashoffset: 0 !important; animation: none !important; }
  .ct-b-num, .ct-b-score { opacity: 1 !important; animation: none !important; }
  .ct-board, .ct-steps li:nth-child(n), .ct-logo { transform: none !important; }
  .lg-doc, .lg-doc-sheet, .lg-doc:nth-child(n) .lg-doc-sheet { transform: none !important; }
  .lg-ds-sign, .lg-doc-btn svg, .ct-doc-dl svg { animation: none !important; }
  .ct-doc { transform: none !important; }
  .e404-x, .e404-y, .e404-spin, .e404-shadow, .e404-rim, .e404-net, .e404-digit, .e404-led, .lg-banner svg { animation: none !important; }
  .e404-x { opacity: 1; }
  .e404-tang, .e404-tang-lines { animation: none !important; opacity: 0; }
}
