/* B · Randevu akışı (randevu.html + randevu-sorgula.html).
   Yalnız tokens.css değişkenleri. Hareketler yalnız transform/opacity ile; prefers-reduced-motion'da kapanır. */

.no-js .rv-loading,
.no-js .rv-progress { display: none; }
.rv-noscript { margin-bottom: var(--space-5); }

/* ---------- üst bant ---------- */
.rv-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--yellow); color: var(--ink); border-bottom: 2px solid var(--ink);
}
.rv-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgb(23 19 11 / 0.14) 1.4px, transparent 1.6px);
  background-size: 15px 15px;
  -webkit-mask-image: linear-gradient(105deg, transparent 25%, var(--ink) 85%);
  mask-image: linear-gradient(105deg, transparent 25%, var(--ink) 85%);
}
/* Telefonda: rozet tam genişlik, başlık + logo yan yana, açıklama altta. Masaüstünde logo sağda. */
.rv-hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-4);
  grid-template-areas: 'eyebrow eyebrow' 'title art' 'lead lead';
  padding-block: var(--space-5) var(--space-6);
}
.rv-hero__text { display: contents; }
.rv-eyebrow { grid-area: eyebrow; justify-self: start; }
.rv-hero__title { grid-area: title; }
.rv-hero__lead { grid-area: lead; }
.rv-hero__art { grid-area: art; }
@media (min-width: 768px) {
  .rv-hero__inner { grid-template-areas: 'eyebrow art' 'title art' 'lead art'; align-content: center; padding-block: var(--space-7); }
  .rv-hero__title { align-self: end; }
  .rv-hero__lead { align-self: start; }
}
.rv-eyebrow {
  display: inline-block; max-width: 100%; margin: 0 0 var(--space-3); padding: 4px 12px;
  background: var(--ink); color: var(--yellow); border-radius: var(--radius-pill);
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.rv-hero__title { font-size: clamp(2.5rem, 1.4rem + 6vw, 6rem); margin: 0 0 var(--space-3); min-width: 0; }
.rv-hero__hl {
  display: inline-block; padding: 0 0.16em; margin-left: 0.04em;
  background: var(--ink); color: var(--yellow); border-radius: 8px; transform: rotate(-3deg);
}
.rv-hero__lead { max-width: 46ch; margin: 0; font-weight: 500; }
.rv-hero__logo {
  width: clamp(76px, 22vw, 230px); height: auto;
  transform: rotate(6deg); filter: drop-shadow(5px 6px 0 rgb(23 19 11 / 0.22));
  animation: rv-float 6s ease-in-out infinite;
}
.rv-hero--compact .rv-hero__title { font-size: clamp(2.2rem, 1.3rem + 4.6vw, 4.75rem); }
.rv-hero--compact .rv-hero__logo { width: clamp(80px, 16vw, 170px); }
@keyframes rv-float {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-8px); }
}

/* kayan yazı bandı */
.rv-marquee { background: var(--ink); color: var(--yellow); overflow: hidden; border-top: 2px solid var(--ink); }
.rv-marquee__track { display: flex; width: max-content; animation: rv-marquee 32s linear infinite; }
.rv-marquee__track span {
  display: inline-flex; align-items: center; padding: 9px 0; white-space: nowrap;
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.05em; text-transform: uppercase;
}
.rv-marquee__track span::after { content: '★'; margin-inline: 1.1em; color: var(--yellow-600); font-size: 0.8em; }
@keyframes rv-marquee { to { transform: translateX(-50%); } }

/* ---------- yerleşim ---------- */
.rv-layout {
  display: grid; gap: var(--space-5); align-items: start;
  padding-block: var(--space-5) var(--space-8);
}
@media (min-width: 1024px) {
  .rv-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-6); padding-top: var(--space-7); }
}
.rv-card {
  --pad: var(--space-4);
  position: relative; min-width: 0; padding: var(--pad);
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius-lg);
  box-shadow: 6px 6px 0 var(--ink); scroll-margin-top: 88px;
}
@media (min-width: 640px) { .rv-card { --pad: var(--space-6); } }

.rv-loading {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: var(--space-8) 0; color: var(--muted); font-weight: 600;
}

/* ---------- ilerleme ---------- */
.rv-progress { margin-bottom: var(--space-5); }
.rv-progress__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 var(--space-3); }
.rv-progress__count { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.rv-progress__name { font-weight: 800; }
.rv-steps-wrap { position: relative; }
.rv-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; list-style: none; }
.rv-steps__item { display: flex; justify-content: center; }
.rv-steps__btn {
  display: grid; justify-items: center; align-content: start; gap: 6px;
  min-width: 44px; min-height: 44px; padding: 0 2px; border: 0; background: none;
  color: var(--muted); font-size: var(--fs-xs); font-weight: 700; cursor: pointer;
}
.rv-steps__btn:disabled { cursor: default; }
.rv-steps__num {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--line-strong); color: var(--muted);
  font-weight: 800; font-size: var(--fs-sm);
  transition: transform var(--dur) var(--ease-spring), background-color var(--dur), border-color var(--dur), color var(--dur);
}
.rv-steps__label { display: none; text-align: center; line-height: 1.2; }
.rv-steps__item.is-done .rv-steps__num { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.rv-steps__item.is-done .rv-steps__btn { color: var(--ink); }
.rv-steps__item.is-done .rv-steps__btn:not(:disabled):hover .rv-steps__num { transform: scale(1.08); }
.rv-steps__item.is-current .rv-steps__num { background: var(--yellow); border-color: var(--ink); color: var(--ink); transform: scale(1.12); }
.rv-steps__item.is-current .rv-steps__btn { color: var(--ink); }
.rv-steps__track {
  position: absolute; z-index: 0; top: 17px; left: 8.33%; right: 8.33%; height: 4px;
  background: var(--line); border-radius: 4px; overflow: hidden;
}
.rv-steps__fill {
  position: absolute; inset: 0; background: var(--ink);
  transform: scaleX(0); transform-origin: left center; transition: transform var(--dur-slow) var(--ease-out);
}
@media (min-width: 640px) {
  .rv-steps__label { display: block; }
  .rv-progress__name { display: none; }
}

/* ---------- adımlar ---------- */
.rv-form { position: relative; }
.rv-hp { position: absolute; left: -10000px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.rv-step__head { margin-bottom: var(--space-5); }
.rv-step__kicker { margin: 0 0 4px; font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.rv-step__title { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 2.9rem); margin: 0 0 var(--space-2); scroll-margin-top: 96px; }
.rv-step__lead { margin: 0; color: var(--ink-3); max-width: 60ch; }
.rv-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.rv-label { display: block; padding: 0; margin-bottom: var(--space-3); font-weight: 800; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.06em; }
.rv-error { margin: var(--space-3) 0 0; }
.rv-alert { margin-bottom: var(--space-4); }
.rv-alert a { font-weight: 800; }
.rv-alert p { margin: 0 0 4px; }
.rv-alert p:last-child { margin-bottom: 0; }
.rv-optional { color: var(--muted); font-weight: 600; }
.rv-req { color: var(--muted); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }

/* kural kutusu */
.rv-rule {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: var(--space-5); padding: 14px 16px;
  background: var(--ink); color: var(--paper); border-radius: var(--radius); box-shadow: 4px 4px 0 var(--yellow-700);
}
.rv-rule__icon {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); font-weight: 900;
  animation: rv-pulse 2.4s var(--ease-out) infinite;
}
.rv-rule__title { margin: 0 0 4px; font-weight: 800; color: var(--yellow); font-size: var(--fs-md); }
.rv-rule__text { margin: 0; font-size: var(--fs-sm); line-height: 1.5; }
@keyframes rv-pulse {
  0%, 70%, 100% { transform: scale(1); }
  80% { transform: scale(1.18); }
  90% { transform: scale(0.96); }
}

/* ---------- 1 · kategori kartları ---------- */
.rv-tiers { display: grid; gap: var(--space-5) var(--space-4); padding: 4px 8px 8px 0; }
/* Kategori sayısı kadar sütun (bugün 2): /api/site tiers'tan çizilir */
@media (min-width: 760px) { .rv-tiers { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }
.rv-tier { position: relative; display: block; isolation: isolate; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rv-tier__input,
.rv-day__input,
.rv-slot__input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
/* sert gölge ayrı katmanda: kart kalkarken yalnız transform değişir */
.rv-tier__shadow {
  position: absolute; inset: 0; z-index: 0; border-radius: var(--radius); background: var(--ink);
  transform: translate(4px, 4px);
}
.rv-tier__card {
  position: relative; z-index: 1; display: grid; gap: 6px; height: 100%;
  padding: var(--space-4) var(--space-4) var(--space-4);
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius);
  transition: transform var(--dur) var(--ease-out), background-color var(--dur);
}
.rv-tier:hover .rv-tier__card { transform: translate(-2px, -3px) rotate(-0.4deg); }
.rv-tier__input:checked ~ .rv-tier__card { background: var(--yellow); transform: translate(-3px, -4px); }
.rv-tier__input:focus-visible ~ .rv-tier__card { box-shadow: var(--focus-ring); }
.rv-tier__check {
  position: absolute; top: -14px; right: -14px; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--ink); border: 2px solid var(--surface);
  transform: scale(0) rotate(-40deg); transition: transform var(--dur) var(--ease-spring);
}
.rv-tier__check::after {
  content: ''; width: 13px; height: 7px; margin-top: -3px;
  border-left: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); transform: rotate(-45deg);
}
.rv-tier__input:checked ~ .rv-tier__card .rv-tier__check { transform: scale(1) rotate(0deg); }
.rv-tier__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; min-height: 62px; }
.rv-tier__ribbon {
  align-self: flex-start; padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--ink); color: var(--yellow); font-size: var(--fs-xs); font-weight: 800; white-space: nowrap;
}
.rv-tier__ribbon--soft { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line-strong); }
.rv-tier--hot .rv-tier__ribbon { background: var(--red); color: var(--surface); }
.rv-tier__name { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.4rem); line-height: 1; }
.rv-tier--hot .rv-tier__name { color: var(--red); }
.rv-tier--hot .rv-tier__input:checked ~ .rv-tier__card .rv-tier__name { color: var(--ink); }
.rv-tier__stats { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-weight: 700; color: var(--ink-3); }
.rv-tier__stat b { font-size: 1.9rem; line-height: 1; color: var(--ink); }
.rv-tier__sep { color: var(--line-strong); font-weight: 400; font-size: 1.4rem; }
.rv-tier__pace {
  justify-self: start; padding: 2px 10px; border-radius: var(--radius-pill);
  background: var(--surface-2); border: 1px dashed var(--line-strong); font-size: var(--fs-xs); font-weight: 700; color: var(--ink-3);
}
.rv-tier__input:checked ~ .rv-tier__card .rv-tier__pace { background: rgb(255 255 255 / 0.55); border-color: rgb(23 19 11 / 0.35); color: var(--ink); }
.rv-tier__win, .rv-tier__lose { display: block; font-size: var(--fs-sm); line-height: 1.45; }
.rv-tier__win { padding-top: 8px; margin-top: 4px; border-top: 2px dashed var(--line-strong); }
.rv-tier__win strong { color: var(--green); }
.rv-tier__lose { color: var(--ink-3); }
.rv-tier__lose strong { color: var(--red); }
.rv-tier__input:checked ~ .rv-tier__card .rv-tier__win { border-top-color: rgb(23 19 11 / 0.3); }
.rv-tier__input:checked ~ .rv-tier__card :is(.rv-tier__win strong, .rv-tier__lose strong, .rv-tier__lose, .rv-tier__stats) { color: var(--ink); }
.rv-tiers.is-invalid .rv-tier__card { border-color: var(--red); animation: rv-shake 380ms var(--ease-out); }

/* Telefonda daha kısa kart: burger kulesi solda, bilgiler sağda */
@media (max-width: 759px) {
  .rv-tier__card { grid-template-columns: 50px minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .rv-tier__head { display: contents; }
  .rv-tier__stack { grid-column: 1; grid-row: 1 / span 3; align-self: center; }
  .rv-tier__ribbon { grid-column: 2; grid-row: 1; justify-self: start; }
  .rv-tier__name { grid-column: 2; grid-row: 2; }
  .rv-tier__stats { grid-column: 2; grid-row: 3; }
  .rv-tier__pace, .rv-tier__win, .rv-tier__lose { grid-column: 1 / -1; }
}

/* burger yığını (zorluk göstergesi) */
.rv-tier__stack { display: flex; flex-direction: column; align-items: center; }
.rv-burger { position: relative; display: block; width: 40px; height: 20px; margin-top: -1px; }
.rv-burger__top {
  position: absolute; left: 0; right: 0; top: 0; height: 11px;
  background: var(--orange); border: 2px solid var(--ink); border-radius: 20px 20px 3px 3px;
}
.rv-burger__top::after {
  content: ''; position: absolute; left: 7px; top: 2px; width: 9px; height: 3px; border-radius: 3px;
  background: var(--yellow-200);
}
.rv-burger__patty { position: absolute; left: -2px; right: -2px; top: 10px; height: 5px; border-radius: 3px; background: var(--ink-2); }
.rv-burger__bottom {
  position: absolute; left: 2px; right: 2px; bottom: 0; height: 7px;
  background: var(--orange); border: 2px solid var(--ink); border-radius: 2px 2px 8px 8px;
}
.rv-tier__input:checked ~ .rv-tier__card .rv-burger { animation: rv-drop 560ms var(--ease-spring) both; }
.rv-tier__input:checked ~ .rv-tier__card .rv-burger:nth-last-child(2) { animation-delay: 90ms; }
.rv-tier__input:checked ~ .rv-tier__card .rv-burger:nth-last-child(3) { animation-delay: 180ms; }
@keyframes rv-drop {
  from { transform: translateY(-22px) scale(0.9); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes rv-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
}

/* ---------- 2 · gün ve saat ---------- */
.rv-avail { display: grid; gap: var(--space-5); }
.rv-days-wrap { position: relative; margin-inline: calc(-1 * var(--pad)); }
.rv-days-wrap::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 28px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--surface));
}
.rv-days {
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding-inline: var(--pad);
  padding: 8px var(--pad) 14px; scrollbar-width: thin;
}
.rv-days__sk { flex: none; width: 78px; height: 118px; border-radius: var(--radius); }
.rv-day { flex: none; scroll-snap-align: start; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rv-day__box {
  display: grid; justify-items: center; gap: 2px; width: 78px; padding: 10px 6px;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast), color var(--dur-fast);
}
.rv-day:hover .rv-day__box { transform: translateY(-2px); }
.rv-day__wd { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.rv-day__num { font-size: 2.1rem; line-height: 1; }
.rv-day__mon { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.rv-day__meta {
  margin-top: 5px; padding: 2px 8px; border-radius: var(--radius-pill);
  background: var(--green-100); color: var(--green); font-size: 11px; font-weight: 800; white-space: nowrap;
}
.rv-day__input:checked + .rv-day__box { background: var(--ink); color: var(--yellow); transform: translateY(-4px); animation: rv-pop 320ms var(--ease-spring); }
.rv-day__input:checked + .rv-day__box .rv-day__mon { color: var(--yellow-200); }
.rv-day__input:checked + .rv-day__box .rv-day__meta { background: var(--yellow); color: var(--ink); }
.rv-day__input:focus-visible + .rv-day__box { box-shadow: var(--focus-ring); }
.rv-day.is-full { cursor: not-allowed; }
.rv-day.is-full .rv-day__box { background: var(--surface-2); border-style: dashed; border-color: var(--line-strong); box-shadow: none; color: var(--muted); }
.rv-day.is-full:hover .rv-day__box { transform: none; }
.rv-day.is-full .rv-day__meta { background: var(--red-100); color: var(--red); }

.rv-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.rv-slots__sk { height: 62px; }
.rv-slot { display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rv-slot__box {
  display: grid; justify-items: center; align-content: center; gap: 1px; min-height: 62px; padding: 8px 6px;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius-sm);
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast);
}
.rv-slot.is-free:hover .rv-slot__box { transform: translate(-1px, -2px); }
.rv-slot__time { font-size: 1.15rem; font-weight: 800; }
.rv-slot__meta { font-size: 11px; font-weight: 700; color: var(--green); }
.rv-slot__input:checked + .rv-slot__box { background: var(--yellow); transform: translate(-2px, -2px); animation: rv-pop 320ms var(--ease-spring); }
.rv-slot__input:checked + .rv-slot__box .rv-slot__meta { color: var(--ink); }
.rv-slot__input:focus-visible + .rv-slot__box { box-shadow: var(--focus-ring); }
.rv-slot:is(.is-full, .is-past, .is-closed) { cursor: not-allowed; }
.rv-slot:is(.is-full, .is-past, .is-closed) .rv-slot__box {
  background: var(--surface-2); border-style: dashed; border-color: var(--line-strong); box-shadow: none; color: var(--muted);
}
.rv-slot.is-full .rv-slot__time { text-decoration: line-through; text-decoration-thickness: 2px; }
.rv-slot.is-full .rv-slot__meta { color: var(--red); }
.rv-slot:is(.is-past, .is-closed) .rv-slot__meta { color: var(--muted); }
@keyframes rv-pop {
  0% { transform: scale(0.92); }
  60% { transform: scale(1.06) translate(-2px, -2px); }
  100% { transform: translate(-2px, -2px); }
}
.rv-day__input:checked + .rv-day__box { animation-name: rv-pop-day; }
@keyframes rv-pop-day {
  0% { transform: scale(0.94); }
  60% { transform: scale(1.05) translateY(-4px); }
  100% { transform: translateY(-4px); }
}
.rv-empty { padding: var(--space-5) var(--space-4); text-align: center; color: var(--muted); grid-column: 1 / -1; }
.rv-empty p { margin: 0 0 var(--space-2); }
.rv-empty strong { color: var(--ink); }
.rv-avail-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); margin-top: var(--space-5); }
.rv-avail-note { margin: 0; max-width: 56ch; }
.rv-refresh, .rv-consent__read, .rv-copy, .sq-again, .sq-links .btn, .sq-video { min-height: 44px; }

/* ---------- 3 · bilgiler ---------- */
.rv-fields { display: grid; gap: 0 var(--space-4); }
@media (min-width: 640px) {
  .rv-fields { grid-template-columns: 1fr 1fr; }
  .rv-field--wide { grid-column: 1 / -1; }
}
.rv-prefix { position: relative; }
.rv-prefix__at {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-weight: 800; color: var(--muted); pointer-events: none;
}
.rv-prefix .input { padding-left: 32px; }
.rv-fields input[type='date'] { display: block; min-width: 0; }
.rv-fields input[type='date']::-webkit-date-and-time-value { text-align: left; }

/* 18 yaş altı: veli bilgileri (§10.7) */
.rv-guardian {
  margin: var(--space-2) 0 var(--space-4); padding: var(--space-4); min-width: 0;
  background: var(--yellow-50); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 4px 4px 0 var(--yellow-600);
}
/* legend çerçevenin içinde dursun (float hilesi) */
.rv-guardian__title { float: left; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0; font-size: var(--fs-lg); font-weight: 800; }
.rv-guardian__title + * { clear: both; }
.rv-guardian__badge {
  display: inline-grid; place-items: center; min-width: 40px; height: 28px; padding: 0 6px; border-radius: 8px;
  background: var(--ink); color: var(--yellow); font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.02em;
}
.rv-guardian .rv-fields { align-items: start; }
.rv-guardian__note { margin: 6px 0 var(--space-3); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); max-width: 70ch; }

/* ---------- 4 · sağlık beyanı ---------- */
.rv-health {
  margin-bottom: var(--space-4); padding: var(--space-4);
  background: var(--red-100); border: 2px solid var(--red); border-radius: var(--radius);
}
.rv-health__title { margin: 0 0 var(--space-4); font-size: var(--fs-lg); font-weight: 800; line-height: 1.3; }
.rv-health__how { margin: calc(-1 * var(--space-2)) 0 var(--space-3); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
/* Her durum ayrı satır: metin + "Bende yok" kutusu (tek tek işaretlenir; "tümünü seç" yok) */
.rv-conditions { display: grid; gap: 10px; margin: 0 0 var(--space-3); padding: 0; list-style: none; }
.rv-cond { animation: rv-cond-in 420ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
.rv-cond__label {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  min-height: 60px; padding: 10px 10px 10px 14px; cursor: pointer;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius-sm); box-shadow: 3px 3px 0 var(--red);
  font-size: var(--fs-md); font-weight: 700; line-height: 1.35;
  transition: transform var(--dur-fast) var(--ease-out);
}
.rv-cond__label:hover { transform: translate(-1px, -1px); }
.rv-cond__label:active { transform: translate(1px, 1px); }
.rv-cond__text { min-width: 0; overflow-wrap: anywhere; }
.rv-cond__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--red); }
.rv-cond__icon::before, .rv-cond__icon::after {
  content: ''; position: absolute; left: 7px; top: 12.5px; width: 14px; height: 3px; border-radius: 2px; background: var(--surface);
}
.rv-cond__icon::before { transform: rotate(45deg); }
.rv-cond__icon::after { transform: rotate(-45deg); }
.rv-cond__box {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px 6px 8px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 800; white-space: nowrap;
}
.rv-cond__box input {
  appearance: none; flex: none; width: 26px; height: 26px; margin: 0; cursor: pointer;
  display: grid; place-content: center; background: var(--surface); border: 2px solid var(--ink); border-radius: 7px;
}
.rv-cond__box input::after {
  content: ''; width: 12px; height: 7px; margin-top: -3px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: rotate(-45deg) scale(0); transition: transform var(--dur-fast) var(--ease-spring);
}
.rv-cond__box input:checked { background: var(--yellow); }
.rv-cond__box input:checked::after { transform: rotate(-45deg) scale(1); }
.rv-cond__box input[aria-invalid='true'] { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-100); }
.rv-cond.is-ok .rv-cond__label { box-shadow: 3px 3px 0 var(--green); }
.rv-cond.is-ok .rv-cond__box { background: var(--yellow); }
.rv-cond.is-ok .rv-cond__icon { background: var(--green); }
.rv-cond.is-ok .rv-cond__icon::before { left: 6px; top: 15px; width: 8px; transform: rotate(45deg); }
.rv-cond.is-ok .rv-cond__icon::after { left: 9px; top: 12.5px; width: 14px; transform: rotate(-50deg); }
@media (max-width: 420px) {
  .rv-cond__label { grid-template-columns: 24px minmax(0, 1fr); row-gap: 8px; padding: 10px 12px; }
  .rv-cond__icon { width: 24px; height: 24px; }
  .rv-cond__icon::before, .rv-cond__icon::after { left: 5px; top: 10.5px; }
  .rv-cond__box { grid-column: 2; justify-self: start; }
}
.rv-health__error { margin: 0 0 var(--space-3); }
.rv-health__count { margin: 0 0 var(--space-2); font-size: var(--fs-sm); font-weight: 800; color: var(--ink-2); }
.rv-health__count.is-done { color: var(--green); }
@keyframes rv-cond-in { from { opacity: 0; transform: translateY(10px); } }
.rv-health__note { margin: 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.rv-summary__note { margin: 4px 0 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-3); }
.rv-privacy-note {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: var(--space-5); padding: 12px 14px;
  background: var(--green-100); border: 1px solid #a9dcb8; border-radius: var(--radius-sm);
}
.rv-privacy-note p { margin: 0; font-size: var(--fs-sm); }
.rv-privacy-note__icon { position: relative; flex: none; width: 22px; height: 26px; margin-top: 1px; }
.rv-privacy-note__icon::before {
  content: ''; position: absolute; left: 4px; top: 0; width: 14px; height: 13px;
  border: 3px solid var(--green); border-bottom: 0; border-radius: 8px 8px 0 0;
}
.rv-privacy-note__icon::after { content: ''; position: absolute; left: 0; bottom: 0; width: 22px; height: 15px; border-radius: 4px; background: var(--green); }

/* ---------- 5 · yasal metinler ---------- */
.rv-readsteps { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 var(--space-5); padding: 0; list-style: none; }
.rv-readsteps li {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px;
  background: var(--yellow-50); border: 1px solid var(--yellow-600); border-radius: var(--radius-pill);
  font-size: var(--fs-sm); font-weight: 700;
}
.rv-readsteps__n {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); color: var(--yellow); font-size: var(--fs-xs); font-weight: 900;
}

/* onay satırları (adım 4 ve 5) */
.rv-consents__hint { margin: calc(-1 * var(--space-2)) 0 var(--space-3); }
.rv-consents { display: grid; gap: var(--space-3); }
.rv-consent {
  position: relative; display: grid; gap: 4px 12px; padding: 14px 16px;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--line-strong);
  transition: box-shadow var(--dur) var(--ease-out), background-color var(--dur);
}
.rv-consent.is-locked { background: var(--surface-2); border-style: dashed; border-color: var(--ink-3); box-shadow: none; }
.rv-consent.is-read { box-shadow: 4px 4px 0 var(--green); }
.rv-consent__title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.rv-consent__lock { position: relative; flex: none; width: 14px; height: 16px; }
.rv-consent__lock::before {
  content: ''; position: absolute; left: 2px; top: 0; width: 10px; height: 9px;
  border: 2px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0;
}
.rv-consent__lock::after { content: ''; position: absolute; left: 0; bottom: 0; width: 14px; height: 9px; border-radius: 2px; background: currentColor; }
.rv-consent.is-read .rv-consent__lock::before { transform: translateX(5px) rotate(20deg); transform-origin: right bottom; transition: transform var(--dur) var(--ease-spring); }
.rv-consent.is-read .rv-consent__title { color: var(--green); }
.rv-consent__check { padding: 6px 0; }
.rv-consent__check .check__text { font-size: var(--fs-sm); font-weight: 600; }
.rv-consent.is-locked .rv-consent__check { cursor: pointer; }
.rv-consent.is-locked .check__text { color: var(--ink-3); }
.check input:disabled { cursor: not-allowed; border-style: dashed; border-color: var(--ink-3); background: var(--surface-2); }
.rv-consent.is-read .check input:not(:checked) { animation: rv-nudge 1.4s var(--ease-out) 2; }
@keyframes rv-nudge {
  0%, 60%, 100% { transform: scale(1); }
  70% { transform: scale(1.18); }
  85% { transform: scale(0.96); }
}
.rv-consent__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-left: 38px; }
.rv-consent__read { gap: 8px; }
.rv-consent__read-icon { position: relative; width: 14px; height: 16px; border: 2px solid currentColor; border-radius: 2px; }
.rv-consent__read-icon::before, .rv-consent__read-icon::after { content: ''; position: absolute; left: 2px; right: 2px; height: 2px; background: currentColor; }
.rv-consent__read-icon::before { top: 3px; }
.rv-consent__read-icon::after { top: 8px; }
.rv-consent.is-locked .rv-consent__read { --btn-bg: var(--yellow); }
.rv-consent__state { flex: 1 1 220px; margin: 0; font-size: var(--fs-xs); font-weight: 700; color: var(--orange); }
.rv-consent.is-read .rv-consent__state { color: var(--green); }
.rv-consent__error { margin: 4px 0 0 38px; }

/* ---------- yasal metin penceresi (okuma takibi) ---------- */
/* Telefonda başlık + metin + alt çubuk ekrana sığsın: metin alanı esner, alt çubuk hep görünür */
dialog.rv-legal[open] { display: flex; flex-direction: column; overflow: hidden; }
.rv-legal .dialog__head, .rv-legal__progress, .rv-legal__foot { flex: none; }
.rv-legal__body { flex: 1 1 auto; min-height: 0; max-height: none; overscroll-behavior: contain; }
@media (max-width: 639px) {
  dialog.rv-legal { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .rv-legal .dialog__head { padding: 10px 12px 10px 16px; }
  .rv-legal .dialog__head h2 { font-size: var(--fs-md); }
  .rv-legal__body { padding: 16px; }
  .rv-legal__foot { padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); gap: 6px 10px; }
}
.rv-legal__progress { position: relative; height: 5px; background: var(--line); overflow: hidden; }
.rv-legal__progress-fill {
  position: absolute; inset: 0; background: var(--yellow-600);
  transform: scaleX(0); transform-origin: left center; transition: transform 120ms linear;
}
.rv-legal__end {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: var(--space-5) 0 0; padding: 14px;
  border: 2px dashed var(--green); border-radius: var(--radius-sm); background: var(--green-100);
  color: var(--green); font-weight: 800; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.06em;
}
.rv-legal__end-icon { position: relative; width: 20px; height: 20px; border-radius: 50%; background: var(--green); }
.rv-legal__end-icon::after {
  content: ''; position: absolute; left: 6px; top: 5px; width: 8px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}
.rv-legal__foot { align-items: center; }
.rv-legal__status { flex: 1 1 100%; margin: 0; font-weight: 700; color: var(--orange); }
.rv-legal__status.is-read { color: var(--green); }
.rv-legal__body:focus-visible { box-shadow: inset 0 0 0 3px var(--yellow-600); border-radius: 0; }
@media (min-width: 640px) { .rv-legal__status { flex: 1 1 auto; } }

/* ---------- 5 · özet ---------- */
.rv-summary { margin: 0 0 var(--space-5); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.rv-summary__row { display: grid; gap: 0 12px; align-items: center; padding: 6px 14px; border-bottom: 1px solid var(--line); }
.rv-summary__row:last-child { border-bottom: 0; }
.rv-summary__row:nth-child(odd) { background: var(--surface-2); }
.rv-summary__row dt { padding-top: 4px; font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.rv-summary__row dd { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; margin: 0; font-weight: 700; }
.rv-summary__value { min-width: 0; overflow-wrap: anywhere; }
.rv-summary__edit {
  flex: none; min-height: 44px; padding: 0 6px; border: 0; background: none;
  color: var(--ink); font-size: var(--fs-sm); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.rv-summary__edit:hover { color: var(--ink-3); }
@media (min-width: 560px) {
  .rv-summary__row { grid-template-columns: 150px minmax(0, 1fr); }
  .rv-summary__row dt { padding-top: 0; }
}
.rv-summary__docs { display: grid; gap: 4px; margin: 4px 0; padding: 0; list-style: none; font-size: var(--fs-sm); }
.rv-summary__docs li { position: relative; padding-left: 22px; }
.rv-summary__docs li::before { content: '–'; position: absolute; left: 4px; color: var(--muted); }
.rv-summary__docs li.is-ok::before { content: '✓'; left: 2px; color: var(--green); font-weight: 900; }
.rv-summary__when { font-weight: 600; color: var(--muted); }
.rv-remind { margin-bottom: var(--space-5); padding: var(--space-4); background: var(--yellow-50); border: 2px solid var(--yellow-600); border-radius: var(--radius); }
.rv-remind__title { margin: 0 0 var(--space-3); font-size: var(--fs-md); font-weight: 800; }
.rv-remind__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rv-remind__list li { position: relative; padding-left: 22px; font-size: var(--fs-sm); line-height: 1.5; }
.rv-remind__list li::before {
  content: ''; position: absolute; left: 3px; top: 0.5em; width: 9px; height: 9px; border-radius: 2px;
  background: var(--yellow); border: 2px solid var(--ink); transform: rotate(45deg);
}

/* ---------- 6 · beyan ve imza ---------- */
.rv-sign {
  display: grid; gap: var(--space-4); margin-bottom: var(--space-4); padding: var(--space-4);
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 5px 5px 0 var(--yellow);
}
@media (min-width: 640px) { .rv-sign { padding: var(--space-5); } }
.rv-sign__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; text-transform: uppercase; line-height: 1; }
.rv-statement { margin: 0; padding: 14px 16px 12px 18px; border-left: 5px solid var(--yellow); background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.rv-statement p { margin: 0 0 6px; font-size: var(--fs-sm); line-height: 1.6; font-weight: 600; }
.rv-statement__ver { font-size: var(--fs-xs); color: var(--muted); font-weight: 700; }
.rv-sign__name { margin: 0; }
.rv-namehint.is-ok { color: var(--green); font-weight: 700; }
.rv-namehint.is-ok::before { content: '✓ '; }
.rv-namehint.is-bad { color: var(--orange); font-weight: 700; }
.rv-pad__label { margin: 0 0 6px; font-weight: 700; font-size: var(--fs-sm); }
.rv-pad {
  position: relative; height: clamp(170px, 42vw, 230px); overflow: hidden;
  background: var(--surface) repeating-linear-gradient(0deg, transparent 0 27px, var(--yellow-50) 27px 28px);
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: inset 0 2px 0 rgb(23 19 11 / 0.06);
  transition: box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.rv-pad:focus-within, .rv-pad.is-signed { box-shadow: 0 0 0 4px var(--yellow-200); }
.rv-pad.is-invalid { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-100); animation: rv-shake 380ms var(--ease-out); }
.rv-pad__canvas {
  position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%;
  touch-action: none; user-select: none; -webkit-user-select: none; cursor: crosshair;
}
.rv-pad__canvas:focus { outline: none; }
.rv-pad__placeholder {
  position: absolute; z-index: 1; left: 0; right: 0; top: 38%; margin: 0; text-align: center; pointer-events: none;
  font-family: var(--font-display); font-size: clamp(1.1rem, 0.9rem + 1.4vw, 1.6rem); text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--line-strong); animation: rv-hint-pulse 2.6s ease-in-out infinite;
}
@keyframes rv-hint-pulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.rv-pad__x { position: absolute; z-index: 1; left: 16px; bottom: 26px; font-size: 1.5rem; font-weight: 800; color: var(--ink-3); pointer-events: none; }
.rv-pad__line { position: absolute; z-index: 1; left: 44px; right: 16px; bottom: 34px; height: 2px; background: var(--ink-3); opacity: 0.5; pointer-events: none; }
.rv-pad__bar { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); margin-top: 8px; }
.rv-pad__help { margin: 0; }
.rv-pad__clear { flex: none; min-height: 44px; }
.rv-pad-field .field__error { margin: 6px 0 0; }
.rv-sign__help { margin: 0; }
.rv-sign__help a, .rv-contact a { font-weight: 800; color: var(--ink); }

/* ---------- alt eylem çubuğu ---------- */
.rv-actions {
  position: sticky; bottom: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  margin: var(--space-5) calc(-1 * var(--pad)) calc(-1 * var(--pad));
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--surface); border-top: 2px solid var(--ink);
  border-radius: 0 0 calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px);
  box-shadow: 0 -10px 24px -16px rgb(23 19 11 / 0.45);
}
.rv-actions__back { flex: none; padding: 0 16px; }
.rv-actions__pick {
  flex: 1; min-width: 0; margin: 0; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rv-actions__next { flex: none; margin-left: auto; }
.rv-actions__arrow { transition: transform var(--dur-fast) var(--ease-out); }
.rv-actions__next:hover .rv-actions__arrow { transform: translateX(3px); }
.rv-actions.is-final .rv-actions__pick { display: none; }
.rv-actions.is-final .rv-actions__next { flex: 1; }
.rv-actions.is-final .rv-actions__arrow { display: none; }
.rv-actions.is-final .rv-actions__next { white-space: normal; text-align: center; line-height: 1.2; padding-inline: 16px; }
@media (max-width: 380px) {
  .rv-actions__back { width: 48px; padding: 0; }
  .rv-actions__back span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 768px) {
  .rv-actions {
    position: static; margin: var(--space-6) 0 0; padding: var(--space-5) 0 0;
    border-top: 2px dashed var(--line-strong); border-radius: 0; box-shadow: none;
  }
  .rv-actions.is-final .rv-actions__next { flex: none; }
  .rv-actions__next { min-width: 180px; }
}

/* ---------- başarı ekranı ---------- */
.rv-done { text-align: center; }
.rv-done__head { display: grid; justify-items: center; gap: 4px; margin-bottom: var(--space-5); }
.rv-done__badge {
  position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: var(--space-2);
  border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  animation: rv-badge 700ms var(--ease-spring) both;
}
.rv-done__badge::after {
  content: ''; width: 28px; height: 14px; margin-top: -6px;
  border-left: 5px solid var(--ink); border-bottom: 5px solid var(--ink); transform: rotate(-45deg);
}
@keyframes rv-badge {
  from { transform: scale(0) rotate(-90deg); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.rv-done__kicker { margin: 0; font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.rv-done__title { margin: 0; font-size: var(--fs-3xl); }
.rv-ticket {
  position: relative; display: grid; max-width: 560px; margin: 0 auto var(--space-5); text-align: left;
  background: var(--yellow); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-hard);
}
.rv-ticket__main { position: relative; padding: var(--space-5) var(--space-4); text-align: center; border-bottom: 2px dashed var(--ink); }
/* bilet kertikleri */
.rv-ticket__main::before,
.rv-ticket__main::after {
  content: ''; position: absolute; bottom: -13px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--ink);
}
.rv-ticket__main::before { left: -13px; clip-path: inset(0 0 0 50%); }
.rv-ticket__main::after { right: -13px; clip-path: inset(0 50% 0 0); }
.rv-ticket__label { margin: 0 0 4px; font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.rv-ticket__code {
  margin: 0 0 var(--space-3); font-family: var(--font-display); font-size: clamp(2.3rem, 1.4rem + 5vw, 3.6rem);
  line-height: 1; letter-spacing: 0.06em; overflow-wrap: anywhere; user-select: all;
}
.rv-ticket__note { margin: var(--space-3) auto 0; max-width: 42ch; font-size: var(--fs-sm); }
.rv-ticket__info { display: grid; gap: var(--space-3) var(--space-4); margin: 0; padding: var(--space-4) var(--space-5) var(--space-5); }
@media (min-width: 480px) { .rv-ticket__info { grid-template-columns: 1fr 1fr; } }
.rv-ticket__info dt { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.rv-ticket__info dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.rv-done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-bottom: var(--space-6); }
.rv-bring { max-width: 560px; margin: 0 auto var(--space-5); text-align: left; }
.rv-bring__title { font-size: var(--fs-lg); margin-bottom: var(--space-3); }
.rv-checklist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rv-checklist li { position: relative; padding: 10px 12px 10px 46px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: var(--fs-sm); font-weight: 600; }
.rv-checklist li::before {
  content: ''; position: absolute; left: 12px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--green);
}
.rv-checklist li::after {
  content: ''; position: absolute; left: 19px; top: 50%; width: 8px; height: 5px; margin-top: -4px;
  border-left: 2px solid var(--surface); border-bottom: 2px solid var(--surface); transform: rotate(-45deg);
}
.rv-done__home { margin: 0; font-weight: 700; }
.rv-doc { max-width: 760px; margin: 0 auto var(--space-6); text-align: left; }
.rv-doc__note { margin: calc(-1 * var(--space-2)) 0 var(--space-4); }

/* kutlama parçacıkları */
.rv-burst { position: fixed; inset: 0; z-index: 3000; overflow: hidden; pointer-events: none; }
.rv-bit { position: absolute; left: -5px; top: -7px; width: 10px; height: 14px; border-radius: 2px; will-change: transform, opacity; }
.rv-bit--0 { background: var(--yellow); border: 1.5px solid var(--ink); }
.rv-bit--1 { background: var(--red); width: 9px; height: 9px; border-radius: 50%; }
.rv-bit--2 { background: var(--ink); width: 5px; height: 16px; }
.rv-bit--3 { background: var(--orange); }
.rv-bit--4 { background: var(--yellow-600); width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); }

/* ---------- masaüstü seçim özeti ---------- */
.rv-aside { display: none; }
@media (min-width: 1024px) { .rv-aside { display: grid; gap: var(--space-4); position: sticky; top: 96px; } }
.rv-aside__card { padding: var(--space-5); background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); box-shadow: 6px 6px 0 var(--yellow-700); }
.rv-aside__title { margin: 0 0 var(--space-4); font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.02em; color: var(--yellow); line-height: 1; }
.rv-aside__list { display: grid; gap: var(--space-3); margin: 0; }
.rv-aside__list dt { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow-200); }
.rv-aside__list dd { margin: 0; font-weight: 700; }
.rv-aside__rule { margin: var(--space-4) 0 0; padding-top: var(--space-3); border-top: 1px dashed var(--ink-3); font-size: var(--fs-sm); color: var(--yellow-100); }
.rv-aside__help { margin: 0; padding-inline: 4px; }
.rv-aside__help a { font-weight: 800; }

/* ---------- durum ekranları (kapalı / hata) ---------- */
.rv-state { display: grid; justify-items: center; gap: var(--space-2); padding: var(--space-7) var(--space-2); text-align: center; }
.rv-state p { margin: 0; max-width: 46ch; }
.rv-state__title { margin: 0; font-size: var(--fs-2xl); font-weight: 800; }
.rv-state__icon { position: relative; width: 72px; height: 72px; margin-bottom: var(--space-2); border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); }
.rv-state__icon::before,
.rv-state__icon::after { content: ''; position: absolute; top: 20px; width: 8px; height: 26px; border-radius: 2px; background: var(--ink); }
.rv-state__icon::before { left: 23px; }
.rv-state__icon::after { right: 23px; }
.rv-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-4); }

/* ---------- yasal metin penceresi ---------- */
dialog.dialog--wide { width: min(820px, calc(100vw - 32px)); }
.rv-legal__x { font-size: 1.6rem; line-height: 1; }
.rv-legal__body { font-size: var(--fs-sm); line-height: 1.65; }
.rv-legal__body > :first-child { margin-top: 0; }
.rv-legal__body :is(h2, h3, h4) { margin: var(--space-5) 0 var(--space-2); font-size: var(--fs-md); }
.rv-legal__body :is(ul, ol) { margin: 0 0 var(--space-4); padding-left: 1.3rem; }
.rv-legal__body li { margin-bottom: 4px; }
.rv-legal__body table { display: block; width: 100%; overflow-x: auto; margin: 0 0 var(--space-4); border-collapse: collapse; font-size: var(--fs-xs); }
.rv-legal__body :is(th, td) { padding: 6px 8px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.rv-legal__body th { background: var(--surface-2); }
.rv-legal__loading { display: flex; align-items: center; gap: 12px; padding: var(--space-5) 0; color: var(--muted); }
.rv-legal__version { margin: 0 auto 0 0; align-self: center; }

/* ---------- randevu sorgulama ---------- */
.sq-layout { display: grid; gap: var(--space-5); align-items: start; padding-block: var(--space-5) var(--space-8); }
@media (min-width: 960px) { .sq-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--space-6); padding-top: var(--space-7); } }
.sq-card { max-width: 720px; width: 100%; }
.sq-form__title { font-size: var(--fs-xl); margin-bottom: var(--space-4); }
.sq-code { position: relative; }
.sq-code__prefix {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%); pointer-events: none;
  font-size: 1.5rem; font-weight: 800; letter-spacing: 0.04em; color: var(--muted);
}
.sq-code__input { padding-left: 88px; text-transform: uppercase; }
.sq-code__input::placeholder, #sq-phone::placeholder { color: var(--line-strong); font-weight: 700; }
.sq-alert { margin-bottom: var(--space-4); }
.sq-privacy { margin: var(--space-3) 0 0; text-align: center; }
.sq-result__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); }
.sq-status { font-size: var(--fs-sm); padding: 5px 14px; }
.rv-bk { margin-bottom: var(--space-5); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.rv-bk__main { padding: var(--space-5) var(--space-4); background: var(--yellow); border-bottom: 2px solid var(--ink); }
.rv-bk.is-cancelled .rv-bk__main { background: var(--surface-2); }
.rv-bk.is-cancelled :is(.rv-bk__date, .rv-bk__time) { text-decoration: line-through; text-decoration-thickness: 3px; color: var(--ink-3); }
.rv-bk__code { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0 0 var(--space-2); font-size: var(--fs-sm); }
.rv-bk__code span { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.rv-bk__code strong { font-size: var(--fs-lg); letter-spacing: 0.06em; }
.rv-bk__date { margin: 0; font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.6rem); }
.rv-bk__time { margin: 4px 0 0; font-size: clamp(2.4rem, 1.6rem + 4vw, 3.6rem); line-height: 1; }
.rv-bk__kv { display: grid; gap: 0; margin: 0; }
.rv-bk__kv > div { display: grid; grid-template-columns: minmax(110px, 38%) minmax(0, 1fr); gap: 12px; padding: 9px var(--space-4); border-bottom: 1px solid var(--line); }
.rv-bk__kv > div:nth-child(even) { background: var(--surface-2); }
.rv-bk__kv dt { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); align-self: center; }
.rv-bk__kv dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.rv-bk__rule { margin: 0; padding: 12px var(--space-4); font-size: var(--fs-sm); font-weight: 600; background: var(--ink); color: var(--yellow-100); }
.sq-cancel {
  display: grid; gap: var(--space-3); align-items: center; padding: var(--space-4);
  border: 2px solid var(--red); border-radius: var(--radius); background: var(--red-100);
}
@media (min-width: 600px) { .sq-cancel { grid-template-columns: minmax(0, 1fr) auto; } }
.sq-cancel p { margin: 0; font-size: var(--fs-sm); }
.sq-cancel .sq-cancel__title { margin-bottom: 4px; font-size: var(--fs-md); font-weight: 800; }
.sq-note p { margin: 0 0 6px; }
.sq-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-2); }
.sq-cancelled { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-4); border: 2px dashed var(--line-strong); border-radius: var(--radius); }
.sq-cancelled p { margin: 0; }
.sq-outcome { padding: var(--space-5) var(--space-4); border: 2px solid var(--ink); border-radius: var(--radius); text-align: center; }
.sq-outcome.is-win { background: var(--green-100); }
.sq-outcome.is-lose { background: var(--surface-2); }
.sq-outcome__title { margin: 0 0 var(--space-2); font-size: var(--fs-2xl); }
.sq-outcome.is-win .sq-outcome__title { color: var(--green); }
.sq-facts { margin: var(--space-4) 0; text-align: left; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.sq-docwrap {
  display: grid; gap: var(--space-3); align-items: center; margin-top: var(--space-5); padding: var(--space-4);
  border: 2px solid var(--ink); border-radius: var(--radius); background: var(--yellow-50);
}
@media (min-width: 600px) { .sq-docwrap { grid-template-columns: minmax(0, 1fr) auto; } }
@media (max-width: 479px) { .sq-docwrap { padding: var(--space-3); } }
.sq-docwrap__text p { margin: 0; }
.sq-docwrap__title { font-weight: 800; font-size: var(--fs-md); margin-bottom: 4px !important; }
.sq-doc-btn { min-height: 44px; }
.sq-doc { grid-column: 1 / -1; margin-top: var(--space-3); }
.sq-help { display: grid; gap: var(--space-4); }
.sq-help__card { padding: var(--space-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.sq-help__card p { font-size: var(--fs-sm); }
.sq-help__card--yellow { background: var(--yellow); border: 2px solid var(--ink); box-shadow: var(--shadow-hard); }
.sq-help__title { font-size: var(--fs-lg); }
.sq-help__links .sq-links { margin-top: 0; }

/* ---------- hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  .rv-hero__logo, .rv-marquee__track, .rv-rule__icon, .rv-burger, .rv-done__badge,
  .rv-tiers.is-invalid .rv-tier__card, .rv-day__input:checked + .rv-day__box, .rv-slot__input:checked + .rv-slot__box,
  .rv-cond, .rv-pad__placeholder, .rv-pad.is-invalid, .rv-consent.is-read .check input {
    animation: none !important;
  }
  .rv-cond__label, .rv-cond__box input::after { transition: none !important; }
  .rv-legal__progress-fill { transition: none; }
  .rv-tier:hover .rv-tier__card { transform: none; }
  .rv-tier__input:checked ~ .rv-tier__card { transform: translate(-3px, -4px); }
  .rv-marquee__track { transform: none; }
}

@media print {
  .rv-hero, .rv-marquee, .rv-actions, .rv-aside, .rv-done__actions, .rv-copy, .sq-help, .rv-pad__bar, .sq-doc-btn { display: none !important; }
  /* Sorgula sayfası tarayıcıdan yazdırılınca düğmeler ve iptal kutusu kâğıda çıkmasın (QA 13.10) */
  .sq-again, .sq-cancel, .sq-dialog { display: none !important; }
  .rv-card { box-shadow: none; border-width: 1px; }
}
