/* Çok oyunculu: öğrenci sayfası (/coklu), yönetici paneli (/sunucu), puan tablosu, podyum ve araştırma paneli. */
.hero__title span:last-child { isolation: isolate; }
body.page-plain { min-height: 100vh; }
#app { width: min(1240px, 100% - 40px); margin: 0 auto; padding: 28px 0 60px; }
body.in-game #app { padding: 0; }

/* ───────── Katılma ───────── */
.join { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; min-height: calc(100vh - 88px); }
.join__hero { display: grid; gap: 16px; justify-items: start; }
.join__mascot { width: 170px; height: 170px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.join__mascot svg { margin-top: 26px; animation: bob 5s ease-in-out infinite; }
.join h1 { font-size: clamp(44px, 7vw, 76px); line-height: .95; }
.join h1 b { color: var(--orange-deep); }
.join__lead { font-size: 20px; font-weight: 600; color: var(--muted); max-width: 34ch; }
.join__card { display: grid; gap: 16px; padding: 28px; border-radius: 28px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow-lg); animation: pop .5s var(--spring) both; }
.code-input { font-family: var(--display) !important; font-weight: 800; font-size: 30px !important; letter-spacing: .3em; text-transform: uppercase; text-align: center; background: var(--sun-soft) !important; border-color: #ffd98a !important; }
.avatars { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.avatars legend { font-family: var(--display); font-weight: 700; font-size: 17px; padding: 0; margin-bottom: 10px; }
.avatars legend em { font-style: normal; font-family: var(--body); font-weight: 600; font-size: 14px; color: var(--muted); }
.avatars__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.avatars__btn { display: grid; justify-items: center; gap: 4px; padding: 8px 2px 6px; border-radius: 16px; border: 2px solid transparent; background: var(--surface-2); transition: transform .25s var(--spring), border-color .2s, background .2s; }
.avatars__btn span:last-child { font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.1; text-align: center; }
.avatars__btn:hover { transform: translateY(-3px); }
.avatars__btn.is-on { border-color: var(--ink); background: var(--sun-soft); transform: translateY(-3px); }
.avatars__btn.is-on span:last-child { color: var(--ink); }

/* ───────── Öğrenci sayfaları ───────── */
.mp-page { display: grid; gap: 20px; animation: fade .35s both; }
.mp-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 18px; border-radius: 24px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow-sm); }
.mp-head__me { display: flex; align-items: center; gap: 10px; }
.mp-head__me b { display: block; font-family: var(--display); font-size: 19px; line-height: 1.1; }
.mp-head__me small { color: var(--muted); font-weight: 700; }
.mp-head__title { flex: 1; text-align: center; min-width: 200px; }
.mp-head__title h1 { font-size: 28px; }
.mp-head__title p { color: var(--muted); font-weight: 600; }
.rounds { list-style: none; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.rounds li { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 2px solid var(--line); font-family: var(--display); font-weight: 700; color: var(--muted); }
.rounds li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-1); font-weight: 800; color: var(--blue-deep); }
.rounds li.is-done { color: var(--green); border-color: #b7e8cd; }
.rounds li.is-done span { background: var(--green-soft); color: var(--green); }
.rounds li.is-now { color: var(--ink); background: var(--sun-soft); border-color: #ffd98a; }
.rounds li.is-now span { background: var(--sun); color: var(--ink); }

.lobby { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; }
.lobby__code { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 14px; border-radius: 20px; background: var(--sun-soft); }
.lobby__code small { font-weight: 800; color: #7a4b00; text-transform: uppercase; letter-spacing: .06em; }
.lobby__code b { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: .2em; }
.lobby__me { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 16px; }
.lobby__me .av { animation: bob 4s ease-in-out infinite; }
.lobby__me h2 { font-size: 30px; }
.lobby__me p { color: var(--muted); font-weight: 600; }
.lobby__rules { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; }
.lobby__rules li { display: grid; justify-items: center; text-align: center; gap: 2px; padding: 14px 10px; border-radius: 20px; background: var(--sky-1); animation: rise .5s var(--spring) both; }
.lobby__rules li:nth-child(2) { animation-delay: .08s; } .lobby__rules li:nth-child(3) { animation-delay: .16s; } .lobby__rules li:nth-child(4) { animation-delay: .24s; }
.lobby__rules b { font-family: var(--display); font-size: 19px; line-height: 1.1; }
.lobby__rules small { color: var(--muted); font-weight: 700; font-size: 14px; }
.lr-ico { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: var(--surface); font-family: var(--display); font-weight: 800; font-size: 22px; box-shadow: var(--shadow-sm); margin-bottom: 4px; }
.lobby__duo { position: relative; display: inline-block; }
.lobby__mascot { position: absolute; right: -64px; bottom: -6px; }
.lobby__mascot svg { animation: wave 2.6s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes wave { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-8deg); } 30% { transform: rotate(6deg); } 45% { transform: rotate(-4deg); } 60% { transform: rotate(0); } }
.lobby__players h3 { font-size: 20px; margin-bottom: 10px; }
.lobby__players { grid-column: 1 / -1; }
.lobby__players h3 span { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--sky-1); font-size: 15px; vertical-align: middle; }
.lobby__players ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.lobby__players li { display: flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 999px; background: var(--surface-2); border: 2px solid var(--line); font-weight: 700; animation: pop .35s var(--spring) both; }
.lobby__players li.is-me { background: var(--sun-soft); border-color: #ffd98a; }

.waiting { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 36px 20px; }
.waiting__icon { width: 160px; height: 160px; border-radius: 50%; background: var(--sky-1); display: grid; place-items: center; overflow: hidden; }
.waiting__icon svg { margin-top: 26px; animation: bob 4s ease-in-out infinite; }
.waiting h2 { font-size: 32px; color: var(--green); }
.waiting p { color: var(--muted); font-weight: 600; max-width: 46ch; }
.review-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.review-grid__lb { position: sticky; top: 16px; display: grid; gap: 12px; }
.waiting-bar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border-radius: 16px; background: var(--surface); border: 2px solid var(--line); font-weight: 800; color: var(--muted); }
.final__you { text-align: center; font-size: 20px; font-weight: 700; background: var(--sun-soft); border-color: #ffd98a; }
.final__you b { font-family: var(--display); font-size: 28px; color: var(--orange-deep); }
.my-reports { display: grid; gap: 14px; }
.my-reports .chips { justify-content: flex-start; }
.final__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ───────── Puan tablosu ───────── */
.lb { padding: 20px; border-radius: 24px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); }
.lb__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.lb__head h3 { font-size: 24px; }
.lb__pending { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--sun-soft); font-size: 14px; font-weight: 800; }
.lb__pending.inline { margin-left: 6px; }
.lb__list { list-style: none; display: grid; gap: 8px; }
.lb__row {
  display: grid; grid-template-columns: 40px auto 44px 1fr auto auto; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 18px;
  background: var(--surface-2); border: 2px solid transparent; animation: rise .4s var(--ease) both;
}
.lb__row:nth-child(2) { animation-delay: .05s; } .lb__row:nth-child(3) { animation-delay: .1s; } .lb__row:nth-child(n+4) { animation-delay: .15s; }
.lb__row.r1 { background: #fff4cf; border-color: #ffd98a; }
.lb__row.r2 { background: #eef3f8; border-color: #cfdbe6; }
.lb__row.r3 { background: #ffeadb; border-color: #ffc9a3; }
.lb__row.is-me { box-shadow: 0 0 0 3px var(--sky-4); }
.lb__rank { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); font-family: var(--display); font-weight: 800; font-size: 18px; }
.r1 .lb__rank { background: var(--sun); }
.lb__delta { font-size: 12px; font-weight: 800; padding: 2px 6px; border-radius: 8px; }
.lb__delta.up { color: var(--green); background: var(--green-soft); }
.lb__delta.down { color: var(--red); background: var(--red-soft); }
.lb__delta.same { color: var(--dim); }
.lb__row:not(:has(.lb__delta)) { grid-template-columns: 40px 44px 1fr auto auto; }
.lb__name { font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb__rounds { display: flex; gap: 4px; }
.lb__chip { min-width: 34px; height: 30px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); font-size: 13px; font-weight: 800; }
.lb__chip.is-latest { border-color: var(--sky-4); background: var(--sky-1); }
.lb__chip.none { color: var(--dim); }
.lb__chip.pending { color: var(--muted); }
.lb__total { text-align: right; line-height: 1; }
.lb__total b { display: block; font-family: var(--display); font-weight: 800; font-size: 24px; }
.lb__total small { font-size: 12px; font-weight: 700; color: var(--muted); }
.lb__legend { margin-top: 12px; color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; }

/* ───────── Podyum ───────── */
.final { display: grid; gap: 22px; }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 12px; max-width: 640px; width: 100%; margin: 10px auto 0; }
.podium__col { display: grid; gap: 8px; animation: rise .7s var(--spring) both; animation-delay: calc(var(--i) * .15s + .1s); }
.podium__col.first { animation-delay: .5s; }
.podium__who { display: grid; justify-items: center; gap: 4px; text-align: center; }
.podium__who b { font-family: var(--display); font-size: 18px; line-height: 1.15; word-break: break-word; }
.podium__crown { color: #e6a700; animation: bob 2.6s ease-in-out infinite; filter: drop-shadow(0 4px 6px rgba(230, 167, 0, .4)); }
.podium__pts strong { font-family: var(--display); font-size: 26px; }
.podium__pts small { color: var(--muted); font-weight: 700; }
.podium__block { display: grid; place-items: center; border-radius: 18px 18px 6px 6px; font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--ink); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .1); }
.first .podium__block { height: 150px; background: linear-gradient(180deg, #ffe17a, var(--sun)); }
.second .podium__block { height: 110px; background: linear-gradient(180deg, #f1f6fb, #cddbe8); }
.third .podium__block { height: 84px; background: linear-gradient(180deg, #ffd9bb, #ffb98a); }
.podium__col.is-empty .podium__block { display: none; }
.final__table { display: grid; gap: 10px; }
.final__incomplete { padding-top: 6px; }

/* ───────── Yönetici ───────── */
.host-login { min-height: calc(100vh - 88px); display: grid; place-items: center; }
.host-login__card { width: min(460px, 100%); display: grid; gap: 14px; justify-items: center; text-align: center; padding: 32px 28px; border-radius: 28px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow-lg); animation: pop .5s var(--spring) both; }
.host-login__card form { width: 100%; display: grid; gap: 14px; text-align: left; }
.host-login__mascot { width: 130px; height: 130px; border-radius: 50%; background: var(--sky-1); display: grid; place-items: center; overflow: hidden; }
.host-login__mascot svg { margin-top: 22px; }
.host-login h1 { font-size: 30px; }
.host-login h1 b { color: var(--orange-deep); }
.host-shell { display: grid; gap: 20px; }
.host-bar { position: sticky; top: 10px; z-index: 20; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 14px; border-radius: 22px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 2px solid var(--line); box-shadow: var(--shadow-sm); }
.host-bar__brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none !important; font-family: var(--display); font-weight: 700; font-size: 18px; }
.host-bar__brand svg { flex: none; }
.host-bar__brand b { color: var(--orange-deep); }
.host-bar nav { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sky-1); }
.host-bar nav button { padding: 8px 16px; border: 0; border-radius: 999px; background: none; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--blue-deep); }
.host-bar nav button.is-on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.host-bar__right { margin-left: auto; }
.host-main { display: grid; gap: 20px; }
.host-hero { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; background: linear-gradient(120deg, #fff 40%, var(--sun-soft)); }
.host-hero h1 { font-size: clamp(30px, 4vw, 42px); margin: 4px 0 6px; }
.host-hero__form { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.host-hero__form .field { min-width: 180px; }
.host-foot { display: flex; gap: 10px; justify-content: flex-start; }

.room-top { display: grid; grid-template-columns: auto 1fr auto auto; gap: 20px; align-items: center; }
.room-top__code { display: grid; padding: 10px 20px; border-radius: 20px; background: var(--sun-soft); text-align: center; }
.room-top__code small, .room-top__join small { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.room-top__code b { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: .14em; line-height: 1.1; }
.room-top__join { display: grid; gap: 6px; min-width: 0; }
.room-top__join a { font-weight: 800; word-break: break-all; }
.room-top__join div { display: flex; gap: 8px; flex-wrap: wrap; }
.room-top__stats { display: flex; gap: 10px; }
.room-top__stats div { display: grid; justify-items: center; padding: 8px 16px; border-radius: 16px; background: var(--sky-1); }
.room-top__stats b { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.1; }
.room-top__stats small { font-size: 13px; font-weight: 700; color: var(--muted); }
.room-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.room-grid--wide { grid-template-columns: 1.6fr 1fr; }
.room-grid aside.card { display: grid; gap: 12px; }
.room-grid aside h2 { margin-bottom: 0; }
.pl-list { list-style: none; display: grid; gap: 8px; }
.pl { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 16px; background: var(--surface-2); border: 2px solid transparent; animation: rise .35s var(--ease) both; }
.pl.is-done { background: var(--green-soft); border-color: #b7e8cd; }
.pl__info { flex: 1; min-width: 0; }
.pl__info b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl__info small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 13px; }
.pl__bar { width: 110px; height: 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.pl__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sky-4), var(--green)); transition: width .6s var(--ease); }
.pl-list--compact .pl { padding: 6px 8px; }
.dotstat { width: 9px; height: 9px; border-radius: 50%; background: #b8c4cf; }
.dotstat.on { background: #2fb67a; box-shadow: 0 0 0 3px var(--green-soft); }
.badge { padding: 4px 10px; border-radius: 999px; background: var(--sky-1); color: var(--blue-deep); font-size: 13px; font-weight: 800; white-space: nowrap; }
.badge.ok { background: var(--green-soft); color: var(--green); }
.badge.wait { background: var(--sun-soft); color: #7a4b00; }
.badge.off { background: #eef1f4; color: var(--muted); }
.case-order { list-style: none; display: grid; gap: 8px; }
.case-order li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); border: 2px solid transparent; }
.case-order span { grid-row: span 2; align-self: center; padding: 4px 10px; border-radius: 10px; background: var(--surface); font-family: var(--display); font-weight: 800; font-size: 14px; }
.case-order b { font-family: var(--display); }
.case-order small { color: var(--muted); font-weight: 600; }
.case-order li.is-now { background: var(--sun-soft); border-color: #ffd98a; }
.case-order li.is-done { opacity: .7; }
.case-order li.is-done span { background: var(--green-soft); color: var(--green); }
.round-banner { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; }
.round-banner__info h2 { font-size: 30px; margin: 2px 0; }
.round-banner__ctl { display: grid; gap: 10px; justify-items: end; }
.extend { display: flex; gap: 8px; }
.end-confirm { display: grid; gap: 10px; justify-items: end; max-width: 360px; padding: 14px; border-radius: 18px; background: var(--red-soft); text-align: right; animation: pop .3s var(--spring); }
.review-banner { background: linear-gradient(120deg, #fff 50%, var(--green-soft)); grid-template-columns: 1fr auto; }
.warn-note { margin-top: 8px; padding: 10px 14px; border-radius: 14px; background: var(--sun-soft); font-weight: 700; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.lb-fold summary { cursor: pointer; font-family: var(--display); font-weight: 700; color: var(--blue-deep); padding: 6px 0; }
.lb-fold .lb { margin-top: 8px; box-shadow: none; padding: 12px; }
.final-host .card__head { align-items: flex-end; }
.final-host__btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* ───────── Araştırma paneli ───────── */
.stats { display: grid; gap: 20px; }
.stats__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.stats__head h1 { font-size: clamp(28px, 4vw, 40px); margin: 4px 0; }
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.kpi { display: grid; gap: 2px; padding: 18px; border-radius: 20px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow-sm); }
.kpi:nth-child(1) { border-top: 6px solid var(--sky-4); }
.kpi:nth-child(2) { border-top: 6px solid var(--sun); }
.kpi:nth-child(3) { border-top: 6px solid #4cc38a; }
.kpi:nth-child(4) { border-top: 6px solid var(--orange); }
.kpi:nth-child(5) { border-top: 6px solid #a78bfa; }
.kpi b { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1.1; }
.kpi span { font-weight: 800; }
.kpi small { color: var(--muted); font-size: 13px; font-weight: 600; }
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hbar { display: grid; grid-template-columns: 170px 1fr auto; gap: 10px; align-items: center; margin-bottom: 10px; font-size: 15px; }
.hbar__l { font-weight: 700; }
.hbar__t { height: 14px; border-radius: 999px; background: var(--sky-1); overflow: hidden; }
.hbar__t i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sky-4), var(--orange)); }
.hbar b { font-size: 14px; white-space: nowrap; }
.hist { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; align-items: end; height: 190px; padding-top: 20px; border-bottom: 2px solid var(--line); }
.hist__col { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.hist__col i { width: 100%; min-height: 2px; border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg, var(--sky-4), #7cc8f5); }
.hist__n { font-size: 12px; font-weight: 800; margin-bottom: 3px; }
.hist__col small { position: absolute; bottom: -22px; font-size: 11px; font-weight: 700; color: var(--muted); }
.srcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.src { display: grid; padding: 12px; border-radius: 16px; text-align: center; }
.src b { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.1; }
.src span { font-size: 13px; font-weight: 700; }
.src--ai { background: var(--sky-1); }
.src--fallback { background: var(--sun-soft); }
.src--auto { background: #eef1f4; }
.export { display: grid; gap: 10px; }
.export h2 { margin-bottom: 0; }
.export__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); }
.export__row div { flex: 1; min-width: 200px; }
.export__row b { display: block; }
.export__row small { color: var(--muted); font-weight: 600; }

/* ───────── Oyun içi maskot konumu ───────── */
.game__foot { position: relative; }
.game__foot .buddy { position: absolute; right: 18px; bottom: calc(100% + 6px); pointer-events: none; z-index: 2; }

/* ───────── Madalyalar ve podyum kutlaması ───────── */
.lb__medal { width: 36px; height: 36px; display: block; }
.lb__row .lb__rank:has(.lb__medal) { background: none; }
.podium-stage { position: relative; isolation: isolate; padding-top: 12px; overflow-x: clip; }
.podium-rays {
  position: absolute; z-index: -1; left: 50%; top: 40%; width: 640px; height: 640px; translate: -50% -50%; pointer-events: none; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 201, 60, .22) 0 10deg, transparent 10deg 24deg);
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent); mask: radial-gradient(closest-side, #000 30%, transparent);
  animation: raysSpin 40s linear infinite;
}
.podium-mascot { position: absolute; right: max(0px, calc(50% - 380px)); bottom: 0; z-index: 1; animation: rise .7s var(--spring) both 1.2s; }
.podium-mascot svg { width: 110px; height: auto; }
.podium__col.third { animation-delay: .15s; } .podium__col.second { animation-delay: .5s; } .podium__col.first { animation-delay: .9s; }
.podium__block { position: relative; overflow: hidden; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .7), inset 0 -6px 0 rgba(0, 0, 0, .1), var(--shadow); }
.podium__block::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%); translate: -120% 0; animation: shine 2.8s ease-in-out 2s infinite; }
.first .podium__who .av { box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--sun), 0 10px 24px -8px rgba(230, 167, 0, .7); }
.podium__crown { animation: crownDrop .8s var(--spring) both 1.3s, bob 2.6s ease-in-out 2.2s infinite; }
@keyframes raysSpin { to { rotate: 360deg; } }
@keyframes shine { 0%, 60% { translate: -120% 0; } 100% { translate: 120% 0; } }
@keyframes crownDrop { from { opacity: 0; transform: translateY(-30px) rotate(-20deg) scale(1.4); } }

@media (max-width: 600px) {
  .podium-mascot svg { width: 64px; }
  .podium-rays { width: 420px; height: 420px; }
  .game__foot .buddy { right: 10px; }
  .buddy__m svg { width: 44px; }
  .reward { gap: 10px; }
  .stars svg { width: 32px; height: 32px; }
}
@media (max-width: 860px) {
  /* Telefonda ödül şeridi göstergenin hemen altında; uzun açıklama sonra */
  .report__head > .gauge { order: 0; }
  .report__head > .reward { order: 1; }
  .report__head > .report__intro { order: 2; }
  .report__head > .cats { order: 3; }
  .game__body { padding-bottom: 84px; }
  .game__foot:has(> .btn:nth-of-type(3)) .btn--fire { flex-basis: 100%; order: -1; }
}
@media (max-width: 600px) {
  .podium-mascot { display: none; }
  .buddy__say { font-size: 13px; padding: 4px 9px; }
}
.podium-mascot { right: auto; left: max(0px, calc(50% - 450px)); }
@media (max-width: 860px) {
  /* telefonda maskot yalnızca tepki anında belirir; içeriği kalıcı olarak örtmez */
  .game__foot .buddy { opacity: 0; transform: translateY(12px) scale(.8); transform-origin: 100% 100%; transition: opacity .2s, transform .35s var(--spring); }
  .game__foot .buddy.is-active { opacity: 1; transform: none; }
}
/* Katılma sayfası: ana sayfayla aynı gökyüzü paneli */
.join__hero {
  position: relative; isolation: isolate; overflow: hidden; align-self: stretch; align-content: center; padding: 40px 36px; border-radius: 32px; color: #fff;
  background: radial-gradient(60% 50% at 50% 26%, rgba(214, 238, 255, .5), transparent 70%), linear-gradient(180deg, #0a55a1, #1167b8 60%, #1670c2);
  box-shadow: var(--shadow-lg);
}
.join__hero h1 { color: #fff; }
.join__hero h1 b { color: var(--sun); }
.join__hero .join__lead { color: #fff; }
.join__hero .join__mascot { background: rgba(255, 255, 255, .92); border-color: transparent; }
@media (max-width: 860px) { .join__hero { padding: 22px 18px; border-radius: 26px; } }
@media (min-width: 861px) { .join__hero { justify-items: center; text-align: center; } .join__hero .join__lead { margin: 0 auto; } }

/* ───────── Hesap düğmesi, giriş/kayıt ve haftalık puan tablosu ───────── */
.acc-chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 6px; border-radius: 999px; border: 2px solid var(--line-2); background: var(--surface); color: var(--ink); font-family: var(--display); font-weight: 700; text-decoration: none !important; box-shadow: 0 3px 0 var(--line); max-width: 170px; }
.acc-chip span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-chip--in { padding-left: 12px; }
.acc-chip:hover { border-color: var(--sky-4); }
.acc { max-width: 560px; margin: 0 auto; }
.acc__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 999px; background: var(--surface); border: 2px solid var(--line); margin-bottom: 16px; }
.acc__tabs button { padding: 10px; border: 0; border-radius: 999px; background: none; font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--blue-deep); }
.acc__tabs button.is-on { background: var(--ink); color: #fff; }
.acc__form { display: grid; gap: 14px; padding: 24px; border-radius: 26px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); animation: pop .4s var(--spring) both; }
.acc__form .avatars__grid { grid-template-columns: repeat(6, 1fr); }
.acc__form .avatars__btn span:last-child { font-size: 11px; }
.pw { position: relative; display: block; }
.pw input { padding-right: 52px; }
.pw__eye { position: absolute; right: 6px; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; font-size: 18px; }
.pw__eye[aria-pressed="true"] { background: var(--sky-1); }
.acc__privacy { font-size: 14px; color: var(--muted); font-weight: 600; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.acc__card { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 30px 24px; border-radius: 28px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); }
.acc__card h3 { font-size: 30px; }
.acc__av .av { animation: bob 4s ease-in-out infinite; }
.acc__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin: 8px 0; }
.acc__stats div { padding: 12px; border-radius: 18px; background: var(--sky-1); }
.acc__stats dt { font-weight: 800; color: var(--muted); font-size: 14px; }
.acc__stats dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1.1; }
.acc__stats small { font-size: 15px; color: var(--muted); }
.acc__btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.acc__out { margin-top: 6px; }

.board { display: grid; gap: 16px; max-width: 820px; margin: 0 auto; }
.board__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.board__range { color: var(--muted); font-weight: 700; font-size: 15px; }
.board__cta { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 20px; background: var(--sun-soft); border: 2px solid #ffd98a; color: var(--ink); text-decoration: none !important; font-weight: 600; }
.board__cta > svg:last-child { margin-left: auto; flex: none; }
.board__me { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 18px; background: var(--sky-1); font-weight: 600; }
.board__empty { display: grid; justify-items: center; gap: 8px; padding: 30px; text-align: center; font-weight: 700; color: var(--muted); }
.board__podium { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; }
.bp { position: relative; display: grid; justify-items: center; gap: 4px; padding: 18px 10px 14px; border-radius: 24px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); text-align: center; animation: rise .6s var(--spring) both; }
.bp--p0 { grid-column: 2; grid-row: 1; } .bp--p1 { grid-column: 1; grid-row: 1; animation-delay: .1s; } .bp--p2 { grid-column: 3; grid-row: 1; animation-delay: .2s; }
.bp--1 { padding-top: 26px; background: linear-gradient(180deg, #fff7dc, #fff); border-color: #ffd98a; }
.bp em { font-style: normal; color: var(--muted); font-weight: 600; }
.bp b { font-family: var(--display); font-size: 18px; line-height: 1.15; word-break: break-word; }
.bp__pts { font-family: var(--display); font-weight: 800; font-size: 24px; }
.bp__pts small { font-size: 14px; color: var(--muted); }
.bp__medal { position: absolute; top: -14px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; border: 2px solid #1e1b1b; }
.bp.is-me, .board__list li.is-me { box-shadow: 0 0 0 3px var(--sky-4), var(--shadow); }
.board__list { list-style: none; display: grid; gap: 8px; }
.board__list li { display: grid; grid-template-columns: 36px 36px 1fr auto auto; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 18px; background: var(--surface); border: 2px solid var(--line); }
.br__rank { font-family: var(--display); font-weight: 800; font-size: 18px; text-align: center; }
.br__name { font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br__name em { font-style: normal; color: var(--muted); font-weight: 600; }
.br__cases { color: var(--muted); font-weight: 700; font-size: 14px; }
.br__pts b { font-family: var(--display); font-size: 20px; }
@media (max-width: 600px) {
  .acc-chip span:last-child { display: none; }
  .acc-chip { padding: 0 6px; }
  .acc-chip--in { padding: 0 10px; }
  .acc__form { padding: 18px 14px; }
  .acc__form .avatars__grid { grid-template-columns: repeat(4, 1fr); }
  .board__podium { gap: 6px; }
  .bp b { font-size: 15px; }
  .board__list li { grid-template-columns: 28px 36px 1fr auto; padding: 8px 10px; }
  .br__cases { display: none; }
}

/* ───────── Yönetici: öğrenciler, bildirimler, kara liste ───────── */
.nav-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; }
.count--hot { background: var(--red-soft); color: var(--red); }
.alerts-card { border-color: #ffd0c8; }
.alert-list { list-style: none; display: grid; gap: 10px; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 18px; background: #fff6f4; border: 2px solid #ffd0c8; }
.alert__txt { flex: 1; min-width: 0; }
.alert__txt small { color: var(--muted); }
.alert__txt p { margin: 2px 0; }
.alert__btns { display: flex; gap: 6px; flex-wrap: wrap; }
.st-search { display: flex; gap: 8px; }
.st-search input, .bl-form input { padding: 8px 12px; border-radius: 12px; border: 2px solid var(--line-2); font-size: 15px; min-width: 0; }
.st-search input { width: 260px; }
.tbl tr.is-blocked td { background: #f6f7f9; color: var(--muted); }
.st-detail td { background: var(--surface-2); }
.res-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.res-list li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.res-list b { grid-row: span 2; font-family: var(--display); font-size: 22px; align-self: center; }
.res-list small { color: var(--muted); }
.bl-form { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.bl-form input[type="email"] { flex: 1 1 220px; }
.bl-form input:not([type]) { flex: 1 1 180px; }
.bl-list { list-style: none; display: grid; gap: 6px; }
.bl-list li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); }
.bl-list li .btn { margin-left: auto; }
@media (max-width: 600px) { .st-search { width: 100%; } .st-search input { flex: 1; width: auto; } .alert { flex-wrap: wrap; } }
@media (max-width: 430px) { .brand__name { display: none; } }

/* tablolar kendi içinde kaysın; ızgara hücresi tabloyla genişlemesin */
.host-shell, .host-main, .host-main > * { min-width: 0; }

/* ───────── Mini oyunlar: Duygu Gölü ───────── */
.game-cards { display: grid; gap: 18px; max-width: 900px; margin: 0 auto; }
.game-card { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: center; padding: 20px; border-radius: 28px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); }
.game-card__art { position: relative; height: 190px; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #8fd3ff 0 22%, #2f8fd8 22%, #0f5fae); }
.gc-fish { position: absolute; width: 58px; height: 40px; border-radius: 50% 40% 40% 50%; background: var(--c); border: 3px solid #1e1b1b; display: grid; place-items: center; animation: gcSwim 6s ease-in-out infinite alternate; }
.gc-f0 { left: 12%; top: 40%; } .gc-f1 { left: 52%; top: 62%; animation-delay: -2s; } .gc-f2 { left: 30%; top: 78%; animation-delay: -4s; }
.gc-hook { position: absolute; left: 70%; top: 0; width: 3px; height: 48%; background: #1e1b1b; animation: bob 3s ease-in-out infinite; }
.gc-hook::after { content: ""; position: absolute; bottom: -10px; left: -7px; width: 12px; height: 14px; border: 3px solid #1e1b1b; border-top: 0; border-radius: 0 0 10px 10px; }
.game-card__txt { display: grid; gap: 10px; justify-items: start; }
.game-card__txt h3 { font-size: 28px; }
.game-card__txt p { color: var(--muted); font-weight: 600; }
@keyframes gcSwim { to { translate: 40px -6px; } }

.lake { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(15, 42, 68, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .25s both; }
.lake__inner { width: min(1100px, 100%); height: min(820px, 100%); display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 28px; background: var(--sky-0); box-shadow: var(--shadow-lg); animation: pop .4s var(--spring) both; overflow: auto; }
.lake__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lake__title { font-family: var(--display); font-size: 22px; margin-right: auto; }
.lake__chip { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 2px solid var(--line); font-family: var(--display); font-weight: 800; }
.lake__time.is-low { background: var(--red-soft); color: var(--red); border-color: #ffb3a8; }
.lake__prompt { padding: 12px 16px; border-radius: 20px; background: var(--surface); border: 2px solid var(--line); }
.lake__case { font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; }
.lake__prompt p:not(.lake__case) { font-weight: 600; }
.lake__q { margin-top: 4px; font-size: 18px; }
.lake__q span { display: block; font-size: 15px; color: var(--green); font-weight: 800; }
.lake__water { position: relative; flex: 1; min-height: 340px; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #4fb3f0, #1f7fd0 45%, #0d5aa6); box-shadow: inset 0 8px 0 rgba(255, 255, 255, .35); }
.lake__wave { position: absolute; left: -10%; right: -10%; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .12); animation: cloudDrift 9s ease-in-out infinite alternate; }
.lake__wave.w1 { top: 30%; } .lake__wave.w2 { top: 70%; animation-delay: -4s; }
.fish { position: absolute; left: 0; top: 0; width: 132px; height: 80px; padding: 0; border: 0; background: none; cursor: pointer; will-change: transform; }
.fish__wrap, .fish__face { position: absolute; inset: 0; display: block; transition: transform .2s; }
.fish__body { width: 100%; height: 100%; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .15)); transition: transform .2s var(--spring); }
.fish__face { display: grid; place-items: center; grid-template-rows: auto auto; align-content: center; padding-right: 18px; pointer-events: none; }
.fish__face i { font-style: normal; font-family: var(--display); font-weight: 800; font-size: 13px; line-height: 1; padding: 1px 6px; border-radius: 8px; background: rgba(255, 255, 255, .9); color: #1d1410; margin-top: -2px; white-space: nowrap; }
.fish:hover .fish__body, .fish:focus-visible .fish__body { transform: scale(1.08); }
.fish:focus-visible { outline: 3px solid #fff; outline-offset: 2px; border-radius: 20px; }
.fish.is-caught { animation: reel .45s ease-in forwards; }
.fish.is-miss .fish__body { animation: wiggleCard .5s var(--spring); }
@keyframes reel { to { opacity: 0; translate: 0 -260px; scale: .6; } }
.lake__msg { position: absolute; left: 50%; top: 12px; translate: -50% -20px; padding: 6px 14px; border-radius: 999px; font-weight: 800; opacity: 0; transition: opacity .2s, translate .3s var(--spring); pointer-events: none; }
.lake__msg.is-on { opacity: 1; translate: -50% 0; }
.lake__msg.ok { background: var(--green-soft); color: var(--green); } .lake__msg.no { background: var(--sun-soft); color: #7a4b00; }
.lake__panel { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 22px; border-radius: 24px; background: var(--surface); border: 2px solid var(--line); }
.lake__review h3, .lake__end h2 { font-size: 28px; }
.lake__emos { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.lake__emos span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px 4px 4px; border-radius: 999px; font-family: var(--display); font-weight: 800; color: #1d1410; }
.lake__why { max-width: 60ch; font-weight: 600; }
.lake__big { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; }
.lake__big small { font-size: 20px; color: var(--muted); }
.lake__end .reward { width: 100%; max-width: 520px; }
.lake__btns { display: flex; gap: 10px; }
@media (max-width: 700px) {
  .game-card { grid-template-columns: 1fr; }
  .lake { padding: 0; } .lake__inner { height: 100%; border-radius: 0; padding: 10px; }
  .fish { width: 92px; height: 56px; } .fish__face svg { width: 28px; height: 28px; }
  .lake__q { font-size: 16px; }
}

/* ───────── Ön test / son test ───────── */
.ptest { display: grid; gap: 16px; max-width: 760px; margin: 0 auto; }
.ptest__head { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 24px; background: linear-gradient(120deg, var(--sun-soft), #fff); border: 2px solid #ffd98a; }
.ptest__head svg { flex: none; }
.ptest__head h3 { font-size: 24px; }
.ptest__list { list-style: none; display: grid; gap: 12px; }
.ptest__q { padding: 16px; border-radius: 22px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow-sm); }
.ptest__q fieldset { border: 0; margin: 0; padding: 0; }
.ptest__q legend, .ptest__legend { display: flex; gap: 10px; align-items: flex-start; font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.3; margin-bottom: 10px; padding: 0; }
.ptest__legend em { font-style: normal; font-family: var(--body); font-size: 14px; color: var(--muted); }
.ptest__n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); font-weight: 800; }
.ptest__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ptest__opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 2px solid var(--line-2); background: var(--surface-2); font-weight: 700; cursor: pointer; transition: border-color .2s, background .2s; }
.ptest__opt input { width: 20px; height: 20px; accent-color: var(--blue); flex: none; }
.ptest__opt:has(input:checked) { border-color: var(--ink); background: var(--sun-soft); }
.ptest__open { display: grid; }
.ptest__open textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line-2); background: var(--surface-2); font-size: 17px; resize: vertical; }
.ptest__open textarea:focus { outline: none; border-color: var(--sky-4); background: var(--surface); }
.ptest__done { max-width: 560px; margin: 0 auto; }
.ptest__score { font-family: var(--display); font-weight: 800; font-size: 54px; line-height: 1; }
.ptest__score small { font-size: 20px; color: var(--muted); }
.acc__tests { padding: 8px 12px; border-radius: 14px; background: var(--surface-2); font-weight: 600; }
.lvl { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .02em; vertical-align: middle; }
.lvl--kolay { background: var(--green-soft); color: var(--green); }
.lvl--orta { background: var(--sun-soft); color: #7a4b00; }
.lvl--zor { background: var(--red-soft); color: #a3261c; }
.lvl-rec { font-size: 11px; color: var(--blue-deep); font-weight: 800; text-transform: none; }
.acc-chip { position: relative; }
.acc-chip__dot { position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px #fff; }
.kpis--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 12px; }
.research b.up, .tbl b.up { color: var(--green); } .research b.down, .tbl b.down { color: var(--red); }
@media (max-width: 600px) { .ptest__opts { grid-template-columns: 1fr; } .ptest__head { flex-direction: column; text-align: center; } .kpis--4 { grid-template-columns: 1fr 1fr; } }

/* ───────── Ölçek formu (beşli Likert) ───────── */
.ptest__instr { color: var(--muted); font-weight: 600; font-size: 15px; margin-top: 4px; }
.ptest__scale { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; padding: 10px 14px; border-radius: 16px; background: var(--surface); border: 2px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
.ptest__scale b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sky-1); color: var(--blue-deep); font-size: 12px; }
.ptest__q.is-done { border-color: #b7e8cd; }
.likert { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.likert__opt { position: relative; display: grid; justify-items: center; gap: 4px; padding: 8px 4px; border-radius: 14px; border: 2px solid var(--line-2); background: var(--surface-2); cursor: pointer; text-align: center; transition: border-color .15s, background .15s, transform .2s var(--spring); }
.likert__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.likert__n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line-2); font-family: var(--display); font-weight: 800; }
.likert__t { font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.15; }
.likert__opt:hover { border-color: var(--sky-4); }
.likert__opt:has(input:checked) { border-color: var(--ink); background: var(--sun-soft); transform: translateY(-2px); }
.likert__opt:has(input:checked) .likert__n { background: var(--ink); color: #fff; border-color: var(--ink); }
.likert__opt:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.ptest__foot { position: sticky; bottom: 0; display: grid; gap: 8px; padding: 12px; border-radius: 20px; background: rgba(245, 251, 255, .95); border: 2px solid var(--line); box-shadow: var(--shadow); }
.ptest__count { text-align: center; font-weight: 800; color: var(--blue-deep); }
.research__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-bottom: 14px; }
.research__alpha { font-family: var(--display); font-size: 22px; }
@media (max-width: 600px) {
  .likert { gap: 4px; }
  .likert__t { display: none; }
  .likert__opt { padding: 8px 2px; }
  .research__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .acc-chip > span:not(.av) { display: none; }
  .acc-chip { padding: 0 6px; }
  .acc-chip--in span:last-child { display: inline; }
  .likert__opt:first-child .likert__t, .likert__opt:last-child .likert__t { display: block; font-size: 10px; }
}

/* ───────── Duygu Kabı (tek cihaz, 2–4 kişi) ───────── */
.game-card__art--paw { background: radial-gradient(circle at 50% 55%, #fff3d1 0 30%, #ffd98a 31% 34%, #8fd3ff 35%); }
.gp-bowl { position: absolute; left: 50%; top: 55%; width: 96px; height: 54px; translate: -50% -50%; border-radius: 0 0 60px 60px; background: #E0632F; border: 3px solid #1e1b1b; }
.gp-emo { position: absolute; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 2px solid #1e1b1b; animation: bob 3s ease-in-out infinite; }
.gp-e0 { left: 38%; top: 26%; } .gp-e1 { left: 54%; top: 30%; animation-delay: -1.5s; }
.gp-paw { position: absolute; font-size: 34px; animation: gpReach 2.4s ease-in-out infinite; }
.gp-p0 { left: 8%; bottom: 8%; } .gp-p1 { right: 8%; top: 8%; rotate: 180deg; animation-delay: -1.2s; }
@keyframes gpReach { 0%, 100% { translate: 0 0; } 50% { translate: 18px -14px; } }

.paw { position: fixed; inset: 0; z-index: 130; background: #1b2a3a; color: var(--ink); touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.paw__close { position: absolute; top: 10px; right: 10px; z-index: 20; }
.paw__setup { position: absolute; inset: 0; overflow: auto; display: grid; justify-items: center; align-content: center; gap: 14px; padding: 24px 16px; text-align: center; background: linear-gradient(180deg, #0a55a1, #1670c2); color: #fff; touch-action: auto; }
.paw__setup .paw__close { color: var(--ink); }
.paw__logo h2 { font-size: clamp(38px, 8vw, 60px); color: #fff; }
.paw__bowl-mini { font-size: 44px; }
.paw__rules { list-style: none; display: grid; gap: 8px; max-width: 520px; text-align: left; padding: 16px; border-radius: 22px; background: rgba(255, 255, 255, .12); font-weight: 600; }
.paw__q { font-family: var(--display); font-size: 24px; font-weight: 800; }
.paw__count { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.paw__setup .muted-note { color: #d8ecff; }

.paw__board { position: absolute; inset: 0; overflow: hidden; }
.paw__table { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, #ffe9c2 0 18%, transparent 19%), repeating-linear-gradient(90deg, #c98a52 0 46px, #bd7f48 46px 48px); }
.paw__bowl { position: absolute; left: 50%; top: 50%; width: min(56vmin, 260px); aspect-ratio: 1; translate: -50% -50%; display: grid; place-items: center; z-index: 2; }
.paw__bowl-back { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff7e6 0 54%, #E0632F 55% 70%, #B63F1E 71%); border: 4px solid #1e1b1b; box-shadow: 0 14px 0 rgba(0, 0, 0, .18); }
.paw__bowl-front { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 -16px 0 rgba(0, 0, 0, .08); pointer-events: none; }
.paw__slot { position: relative; z-index: 1; display: grid; place-items: center; }
.paw__item { display: grid; justify-items: center; gap: 2px; padding: 12px 14px 8px; border-radius: 22px; border: 3px solid #1e1b1b; font-family: var(--display); font-weight: 800; color: #1d1410; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .6), 0 6px 0 rgba(0, 0, 0, .2); animation: itemDrop .45s var(--spring) both; }
.paw__item--bomb { background: #ffe5e1; }
.paw__item--bomb svg { width: 70px; height: 70px; animation: wiggleCard .6s ease-in-out infinite; }
@keyframes itemDrop { from { opacity: 0; transform: translateY(-60px) scale(.6) rotate(-12deg); } }

.paw__seat { position: absolute; z-index: 3; display: flex; flex-direction: column-reverse; align-items: center; gap: 6px; } /* altta: düğme kenarda, skor ve oylama merkeze doğru */
.paw__seat--b { left: 0; right: 0; margin-inline: auto; width: max-content; bottom: 14px; }
.paw__seat--t { left: 0; right: 0; margin-inline: auto; width: max-content; top: 14px; }
.paw__seat--bl { left: 14px; bottom: 14px; } .paw__seat--br { right: 14px; bottom: 14px; }
.paw__seat--tl { left: 14px; top: 14px; } .paw__seat--tr { right: 64px; top: 14px; }
.paw__seat.is-flip { flex-direction: column; } /* üstte: düğme kenarda; yazılar karşıdaki oyuncuya dönük */
.paw__seat.is-flip > :not(.paw__arm) { rotate: 180deg; }
.paw__btn { width: clamp(84px, 20vmin, 120px); aspect-ratio: 1; border-radius: 50%; border: 5px solid #fff; background: radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--pc) 60%, white), var(--pc)); box-shadow: 0 0 0 4px #1e1b1b, 0 8px 0 rgba(0, 0, 0, .3); cursor: pointer; touch-action: none; transition: transform .1s; }
.paw__btn:active { transform: scale(.92); box-shadow: 0 0 0 4px #1e1b1b, 0 3px 0 rgba(0, 0, 0, .3); }
.paw__btn:focus-visible { outline: 4px solid #fff; outline-offset: 4px; }
.paw__btn-in { font-size: clamp(30px, 7vmin, 44px); }
.paw__score { display: flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--ps); border: 3px solid #1e1b1b; font-family: var(--display); font-weight: 800; }
.paw__score i { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #1e1b1b; }
.paw__score i.on { background: var(--pc); }
.paw__score b { margin-left: 4px; }
.paw__vote { display: flex; gap: 8px; min-height: 0; }
.paw__vote button { width: 64px; height: 56px; border-radius: 18px; border: 3px solid #1e1b1b; font-size: 28px; font-weight: 800; cursor: pointer; box-shadow: 0 5px 0 rgba(0, 0, 0, .3); animation: pop .35s var(--spring) both; }
.paw__yes { background: #7fe0a8; } .paw__no { background: #ffb3a8; }
.paw__voted, .paw__teller { padding: 6px 12px; border-radius: 999px; background: #fff; border: 3px solid #1e1b1b; font-weight: 800; }

/* Kol: köşedeki düğmeden kabın merkezine döndürülmüş; tüylü, çizgili (tekir) kol + büyük pati, kayarak uzanır */
.paw__arm { position: fixed; width: 100px; height: var(--len); transform-origin: 50% 100%; transform: rotate(var(--ang)); overflow: hidden; pointer-events: none; z-index: 2; }
.paw__limb { position: absolute; left: 0; top: 0; width: 100px; height: calc(var(--len) + 20px); display: flex; flex-direction: column; align-items: center; transform: translateY(calc(var(--len) + 4px)); transition: transform .26s cubic-bezier(.4, 1.5, .55, 1); }
.paw__arm.is-out .paw__limb { transform: translateY(-6px); transition: transform .2s cubic-bezier(.2, .8, .3, 1.1); }
.paw__head { width: 100px; height: 92px; flex: none; position: relative; z-index: 2; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .18)); }
.paw__sleeve { position: relative; flex: 1; width: 66px; margin-top: -26px; border: 4px solid #1e1b1b; border-top: 0; border-radius: 0 0 8px 8px;
  background: repeating-linear-gradient(180deg, #F6C99A 0 22px, #E9A96B 22px 32px); }
.paw__sleeve::before, .paw__sleeve::after { content: ""; position: absolute; top: 18px; width: 10px; height: 18px; background: #F6C99A; border: 3px solid #1e1b1b; border-radius: 50%; }
.paw__sleeve::before { left: -9px; } .paw__sleeve::after { right: -9px; } /* tüy tutamları */
.paw__sleeve i { position: absolute; left: 50%; bottom: 0; width: 100%; height: 34px; translate: -50% 0; background: var(--pc); border-top: 4px solid #1e1b1b; } /* oyuncu renginde kol bandı */
.paw__carry { position: absolute; top: -2px; left: 50%; translate: -50% 0; z-index: 3; scale: .62; }
.paw__carry .paw__item { animation: none; }
.paw__item.is-leaving { animation: leaveWobble .45s ease-in-out both; }
@keyframes leaveWobble { 0%, 100% { rotate: 0deg; } 25% { rotate: -9deg; } 75% { rotate: 9deg; } 100% { opacity: .2; scale: .8; } }

/* Daha büyük düğmeler, basınca göçme, liderin parlaması, yüzen puan */
.paw__btn { width: clamp(108px, 27vmin, 160px) !important; }
.paw__btn-in { font-size: clamp(40px, 10vmin, 62px) !important; }
.paw__btn.is-press { transform: scale(.9); }
.paw__seat.is-lead .paw__btn { box-shadow: 0 0 0 4px #1e1b1b, 0 0 0 10px rgba(255, 201, 60, .85), 0 8px 0 rgba(0, 0, 0, .3); animation: leadGlow 1.6s ease-in-out infinite; }
@keyframes leadGlow { 50% { box-shadow: 0 0 0 4px #1e1b1b, 0 0 0 16px rgba(255, 201, 60, .45), 0 8px 0 rgba(0, 0, 0, .3); } }
.paw__score { font-size: 18px; padding: 6px 12px; }
.paw__score i { width: 16px; height: 16px; }
.paw__float { position: absolute; left: 50%; top: -10px; translate: -50% 0; font-family: var(--display); font-weight: 800; font-size: 40px; text-shadow: 0 3px 0 #1e1b1b; pointer-events: none; animation: floatUp 1.1s ease-out both; }
.paw__float.ok { color: #7fe0a8; } .paw__float.no { color: #ff8a7a; }
.paw__seat.is-flip .paw__float { animation-name: floatDown; }
@keyframes floatUp { from { opacity: 0; transform: translateY(10px) scale(.6); } 25% { opacity: 1; transform: translateY(-20px) scale(1.1); } to { opacity: 0; transform: translateY(-70px); } }
@keyframes floatDown { from { opacity: 0; transform: translateY(-10px) scale(.6) rotate(180deg); } 25% { opacity: 1; transform: translateY(20px) scale(1.1) rotate(180deg); } to { opacity: 0; transform: translateY(70px) rotate(180deg); } }
.paw__board.is-shake { animation: boardShake .45s ease-in-out; }
@keyframes boardShake { 20% { translate: -8px 0; } 40% { translate: 8px 0; } 60% { translate: -5px 0; } 80% { translate: 4px 0; } }
.paw__count3 { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 18vmin, 120px); color: #fff; text-shadow: 0 6px 0 #1e1b1b; animation: pop .4s var(--spring) both; }
.paw__vote button { width: 76px; height: 64px; font-size: 32px; }
/* 3 kişi: üstteki oyuncu ortada, alttakiler köşelerde */
.paw--n3 .paw__seat--t { top: 14px; }
.paw__overlay { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; pointer-events: none; }
.paw__overlay > * { pointer-events: auto; }
.paw__flash { padding: 12px 20px; border-radius: 20px; background: #fff; border: 4px solid var(--pc, #1e1b1b); font-family: var(--display); font-weight: 800; font-size: 24px; box-shadow: var(--shadow-lg); animation: pop .35s var(--spring) both; }
.paw__flash.is-flip { rotate: 180deg; }
.paw__story { display: grid; justify-items: center; gap: 10px; max-width: min(420px, 82vw); pointer-events: none; }
.paw__story-card { display: grid; justify-items: center; gap: 4px; padding: 18px; border-radius: 26px; background: #fff; border: 5px solid var(--pc); text-align: center; box-shadow: var(--shadow-lg); animation: pop .45s var(--spring) both; }
.paw__story-card.is-flip { rotate: 180deg; }
.paw__story-emo { width: 92px; height: 92px; border-radius: 24px; display: grid; place-items: center; border: 3px solid #1e1b1b; }
.paw__story-card h3 { font-size: 30px; }
.paw__who { font-family: var(--display); font-weight: 800; color: var(--pc); }
.paw__hint { color: var(--muted); font-weight: 700; font-size: 14px; }
.paw__wait { padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, .92); font-size: 14px; font-weight: 600; text-align: center; }
.paw__result { display: grid; justify-items: center; padding: 16px 22px; border-radius: 22px; background: #fff; border: 4px solid #1e1b1b; font-family: var(--display); animation: pop .35s var(--spring) both; }
.paw__result b { font-size: 28px; } .paw__result.ok b { color: var(--green); } .paw__result.no b { color: var(--muted); }
.paw__end { display: grid; justify-items: center; gap: 10px; padding: 22px; border-radius: 28px; background: #fff; border: 5px solid var(--pc); box-shadow: var(--shadow-lg); pointer-events: auto; animation: pop .45s var(--spring) both; }
.paw__crown { font-size: 56px; animation: bob 2s ease-in-out infinite; }
.paw__end h3 { font-size: 32px; }
.paw__final { list-style: none; display: grid; gap: 6px; width: 100%; padding: 0; }
.paw__final li { display: flex; justify-content: space-between; gap: 20px; padding: 6px 12px; border-radius: 12px; border-left: 6px solid var(--pc); background: var(--surface-2); font-weight: 700; }
.paw__btns { display: flex; gap: 10px; }

.paw__btn { position: relative; z-index: 3; } /* kol düğmenin arkasından çıkar */
.paw__score, .paw__vote { position: relative; z-index: 3; }

/* Puan tablosu sekmeleri (Vakalar | Duygu Gölü) */
.board__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 999px; background: var(--surface); border: 2px solid var(--line); }
.board__tabs button { padding: 10px; border: 0; border-radius: 999px; background: none; font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--blue-deep); cursor: pointer; }
.board__tabs button.is-on { background: var(--ink); color: #fff; }
.board__how { text-align: center; color: var(--muted); font-weight: 700; font-size: 15px; }
.lake__saved { font-weight: 700; padding: 8px 12px; border-radius: 14px; background: var(--sun-soft); }
.lake__saved:empty { display: none; }

.note--expert{margin-top:.8rem;border-left:4px solid #2F6FC4;background:#f3f8ff}
.note__refs{margin-top:.5rem;font-size:.78rem;color:#4b5d75;line-height:1.45}
.refs li{font-size:.9rem;line-height:1.5;margin-bottom:.4rem}

/* ───────── Vaka sahne çizimleri ───────── */
.scene-art { display: block; width: 100%; height: 100%; }
.case__art--scene { height: 150px; background: #dcebfa; display: block; }
.case__art--scene::before { display: none; }
.case__art--scene .scene-art { transition: transform .6s var(--spring); transform-origin: 50% 60%; }
.case:hover .case__art--scene .scene-art { transform: scale(1.06); }
.dossier__art--scene { padding: 0; height: auto; aspect-ratio: 320 / 200; display: block; }
.dossier__art--scene::before { display: none; }
.dossier__art--scene .dossier__no { left: 10px; bottom: 10px; box-shadow: var(--shadow); }
.scene__pic { display: none; margin: 4px 0 16px; border-radius: 16px; overflow: hidden; border: 2px solid var(--line); aspect-ratio: 320 / 200; }
.lake__prompt { display: grid; grid-template-columns: 96px 1fr; column-gap: 14px; align-items: start; }
.lake__prompt > p { grid-column: 2; }
.lake__pic { grid-column: 1; grid-row: 1 / span 3; width: 96px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 2px solid var(--line); }
@media (max-width: 860px) { .scene__pic { display: block; } }
@media (max-width: 600px) {
  .cases .case { flex-direction: column; }
  .cases .case__art.case__art--scene { width: 100%; height: 132px; flex: none; border-radius: 6px 20px 0 0; }
  .case .stamp { left: auto; right: 8px; top: 8px; bottom: auto; font-size: 11px; }
  .lake__prompt { grid-template-columns: 64px 1fr; column-gap: 10px; }
  .lake__pic { width: 64px; }
}

/* ───────── Dedektif defteri (profil) ───────── */
.acc--me { display: grid; gap: 18px; max-width: 640px; }
.nb { padding: 24px; border-radius: 28px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); }
.nb h3 { font-size: 24px; margin-bottom: 6px; }
.nb__stats { grid-template-columns: repeat(3, 1fr); text-align: center; }
.nb__bar { height: 10px; border-radius: 999px; background: var(--sky-1); overflow: hidden; margin: 4px 0 14px; }
.nb__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4CC38A, #38AEF0); transition: width .6s var(--ease); }
.nb__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nb__item { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 8px 14px 8px 8px; border-radius: 18px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; transition: transform .2s var(--ease), border-color .2s; }
.nb__item:hover { border-color: var(--sky-4); transform: translateY(-2px); }
.nb__pic { width: 84px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); }
.nb__txt { display: grid; gap: 2px; min-width: 0; }
.nb__txt b { font-family: var(--display); font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb__txt small { color: var(--muted); font-weight: 700; }
.nb__stars { color: #E39A2D; letter-spacing: 1px; }
.nb__score { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--blue); }
.nb__empty { color: var(--muted); font-weight: 700; text-align: center; padding: 10px 0 4px; }
.acc__more { padding: 16px 20px; border-radius: 22px; background: var(--surface); border: 2px solid var(--line); }
.acc__more summary { font-family: var(--display); font-weight: 700; cursor: pointer; }
.acc__pw { display: grid; gap: 12px; margin-top: 14px; }
@media (max-width: 600px) { .nb { padding: 18px 14px; } .nb__stats dd { font-size: 24px; } .nb__item { grid-template-columns: 64px 1fr auto; } .nb__pic { width: 64px; } }

/* ───────── Arşiv araçları: arama + zorluk ───────── */
.archive-tools { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin: -6px 0 26px; }
.archive-search { position: relative; flex: 1 1 260px; max-width: 420px; display: block; color: var(--muted); }
.archive-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.archive-search input { width: 100%; height: 46px; padding: 0 16px 0 40px; border-radius: 999px; border: 2px solid var(--line-2); background: var(--surface); color: var(--ink); font: 700 16px var(--body); }
.archive-search input:focus { outline: none; border-color: var(--sky-4); box-shadow: 0 0 0 4px rgba(56, 174, 240, .22); }
.chip--sm { padding-block: 6px; font-size: 14px; }
.cases__empty { grid-column: 1 / -1; text-align: center; padding: 40px 12px; font-weight: 700; color: var(--muted); }
@media (max-width: 600px) { .archive-tools { margin-bottom: 18px; } .archive-search { max-width: none; } }
/* Proje grafiği: sütunlar ve fark kutusu yan yana, boşluk yok */
.bars { justify-content: center; gap: 28px; }
.bar { flex: 0 1 120px; }
.bars__delta { margin-left: 12px; }

/* ───────── Gizlilik ───────── */
.privacy { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.privacy__card { padding: 22px 24px; border-radius: 24px; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow-sm); }
.privacy__card h3 { font-size: 22px; margin-bottom: 10px; }
.privacy__card li { position: relative; padding-left: 22px; }
.privacy__card li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--sky-4); }
.privacy__note { margin-top: 18px; text-align: center; color: var(--muted); font-size: 14px; font-weight: 700; }

.pw-reset { display: grid; gap: 8px; justify-items: start; padding: 6px 4px; }
.pw-reset__code { font: 800 28px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; padding: 8px 16px; border-radius: 12px; background: var(--sun-soft, #fff3c4); border: 2px dashed var(--orange, #ff9f43); user-select: all; }

/* ───────── Mini oyun: Duygu Eşleştirme ───────── */
.memo__inner { height: auto; max-height: 100%; width: min(860px, 100%); }
.memo__hint { padding: 10px 14px; border-radius: 16px; background: var(--surface); border: 2px solid var(--line); font-weight: 700; min-height: 48px; }
.memo__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.memo__card { position: relative; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: 18px; background: none; cursor: pointer; perspective: 700px; color: var(--ink); }
.memo__back, .memo__front { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 2px; border-radius: 18px; border: 3px solid #1e1b1b; backface-visibility: hidden; transition: transform .45s var(--spring); }
.memo__back { background: repeating-linear-gradient(-45deg, #2f8fd8 0 14px, #38aef0 14px 28px); color: #fff; font: 800 40px var(--display); box-shadow: 0 5px 0 #1e1b1b; }
.memo__front { background: var(--surface); transform: rotateY(180deg); padding: 8px; text-align: center; box-shadow: 0 5px 0 #1e1b1b; }
.memo__card.is-open .memo__back { transform: rotateY(180deg); }
.memo__card.is-open .memo__front { transform: rotateY(0); }
.memo__card.is-done .memo__front { background: color-mix(in srgb, var(--c) 30%, white); }
.memo__card:focus-visible { outline: 4px solid var(--sky-4); outline-offset: 3px; }
.memo__face { width: 64px; height: 64px; border-radius: 50%; background: var(--c); display: grid; place-items: center; }
.memo__front b { font-family: var(--display); font-size: 17px; }
.memo__text { font-weight: 700; font-size: 16px; line-height: 1.3; }
.memo__end { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 30px 16px; }
.memo__end h3 { font-size: 34px; }
.memo__stars { font-size: 54px; line-height: 1; color: #f2b630; letter-spacing: 4px; }
.memo__stars span { color: #d5dfea; }
.memo__tip { max-width: 480px; padding: 12px 16px; border-radius: 16px; background: var(--sky-1); font-weight: 700; }
.memo__btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.game-card__art--memo { background: linear-gradient(160deg, #ffe9a8, #f6b27a); }
.gm-card { position: absolute; top: 50%; width: 78px; height: 98px; margin-top: -49px; display: grid; place-items: center; border-radius: 14px; border: 3px solid #1e1b1b; box-shadow: 0 5px 0 #1e1b1b; background: repeating-linear-gradient(-45deg, #2f8fd8 0 10px, #38aef0 10px 20px); color: #fff; font: 800 34px var(--display); }
.gm-c0 { left: calc(50% - 170px); transform: rotate(-8deg); } .gm-c1 { left: calc(50% - 84px); transform: rotate(-3deg); } .gm-c2 { left: calc(50% + 4px); transform: rotate(4deg); } .gm-c3 { left: calc(50% + 90px); transform: rotate(9deg); }
@media (max-width: 600px) {
  .memo__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .memo__card { aspect-ratio: 3 / 4; }
  .memo__face { width: 52px; height: 52px; } .memo__face svg { width: 46px; height: 46px; }
  .memo__text { font-size: 13px; } .memo__front b { font-size: 14px; }
  .gm-card { width: 60px; height: 78px; margin-top: -39px; } .gm-c0 { left: calc(50% - 134px); } .gm-c1 { left: calc(50% - 66px); } .gm-c2 { left: calc(50% + 4px); } .gm-c3 { left: calc(50% + 72px); }
}
@media (prefers-reduced-motion: reduce) { .memo__back, .memo__front { transition: none; } }

/* ───────── Mini oyun: Ne Derdin? ───────── */
.reply__inner { height: auto; max-height: 100%; width: min(760px, 100%); gap: 14px; }
.reply__scene { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 22px; background: var(--surface); border: 2px solid var(--line); }
.reply__face { flex: none; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; border: 3px solid #1e1b1b; box-shadow: 0 5px 0 #1e1b1b; transition: background .3s; }
.reply__face.is-happy { animation: pop .5s var(--spring); }
.reply__say b { font-family: var(--display); font-size: 18px; color: var(--blue); }
.reply__say p { font-size: 21px; font-weight: 700; line-height: 1.4; }
.reply__q { font-family: var(--display); font-weight: 800; font-size: 20px; min-height: 4px; }
.reply__opts { display: grid; gap: 10px; }
.reply__opt { padding: 14px 18px; border-radius: 18px; border: 3px solid #1e1b1b; background: var(--surface); color: var(--ink); font: 700 18px/1.4 var(--body); text-align: left; cursor: pointer; box-shadow: 0 4px 0 #1e1b1b; transition: transform .15s var(--ease), box-shadow .15s; }
.reply__opt:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 0 #1e1b1b; }
.reply__opt:focus-visible { outline: 4px solid var(--sky-4); outline-offset: 3px; }
.reply__opt:disabled { cursor: default; }
.reply__opt.is-ok { background: #d9f5e3; border-color: #1f7a4d; box-shadow: 0 4px 0 #1f7a4d; }
.reply__opt.is-bad { background: #ffe1dc; border-color: #b5392d; box-shadow: 0 4px 0 #b5392d; }
.reply__opt.is-off { opacity: .55; }
.reply__fb { padding: 12px 16px; border-radius: 16px; font-weight: 700; line-height: 1.45; }
.reply__fb.is-ok { background: #d9f5e3; color: #14532d; }
.reply__fb.is-bad { background: #fff3c4; color: #5a3d00; }
.reply__fb span { display: block; font-size: 14px; margin-top: 2px; }
.reply__next { justify-self: end; align-self: flex-end; }
.game-card__art--reply { background: linear-gradient(160deg, #d6f0dc, #8fd3ff); }
.gr-face { position: absolute; left: calc(50% - 90px); top: 50%; margin-top: -42px; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; border: 3px solid #1e1b1b; box-shadow: 0 5px 0 #1e1b1b; }
.gr-b { position: absolute; display: grid; place-items: center; min-width: 64px; height: 44px; padding: 0 12px; border-radius: 16px; border: 3px solid #1e1b1b; background: #fff; font: 800 24px var(--display); box-shadow: 0 4px 0 #1e1b1b; }
.gr-b0 { left: calc(50% + 6px); top: 30px; } .gr-b1 { left: calc(50% + 40px); top: 96px; color: #e5533d; background: #fff3c4; }
@media (max-width: 600px) { .reply__scene { padding: 12px; gap: 12px; } .reply__face { width: 72px; height: 72px; } .reply__face svg { width: 62px; height: 62px; } .reply__say p { font-size: 17px; } .reply__opt { font-size: 16px; padding: 12px 14px; } }
