:root {
  --bg: #11151c;
  --panel: rgba(17, 21, 28, 0.88);
  --panel2: rgba(30, 36, 46, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --text: #eef1f5;
  --muted: #9aa5b4;
  --yellow: #f4c20d;
  --red: #e5484d;
  --green: #46a758;
  --blue: #3e8ed0;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; }
button { font: inherit; color: inherit; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; cursor: pointer; transition: transform .08s, background .15s, border-color .15s; }
button:hover { border-color: rgba(255, 255, 255, .35); }
button:active { transform: scale(.98); }
button.primary { background: var(--yellow); color: #111; font-weight: 800; border: none; }
button.danger { background: var(--red); border: none; font-weight: 700; }
button.ghost { background: transparent; border: none; font-size: 20px; padding: 6px 10px; }
button.big { font-size: 18px; padding: 14px 20px; }
.hidden { display: none !important; }
a { color: var(--yellow); }

#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; }
#loading { position: fixed; inset: 0; display: grid; place-items: center; background: var(--bg); font-family: Anton, sans-serif; font-size: 28px; letter-spacing: 1px; z-index: 100; }

/* Üst bar */
#hud { position: fixed; inset: 0; pointer-events: none; }
#hud > * { pointer-events: auto; }
.topbar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 16px; padding: 8px 14px; background: var(--panel); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.brand { display: flex; flex-direction: column; min-width: 0; }
.logo { font-family: Anton, sans-serif; font-size: 22px; letter-spacing: 1px; color: var(--yellow); line-height: 1; }
.unvan { font-size: 12px; color: var(--muted); }
.money { display: flex; gap: 18px; flex: 1; justify-content: center; flex-wrap: wrap; }
.money div { display: flex; flex-direction: column; align-items: center; }
.money small { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.money b { font-size: 15px; white-space: nowrap; }
.neg { color: var(--red); }
.pos { color: #7fd48b; }

.stats { position: absolute; top: 58px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; padding: 6px 12px; background: var(--panel); border-radius: 0 0 12px 12px; border: 1px solid var(--line); border-top: none; }
.stat { width: 110px; font-size: 11px; }
.stat .lbl { display: flex; justify-content: space-between; color: var(--muted); }
.stat .bar { height: 6px; background: rgba(255, 255, 255, .1); border-radius: 4px; overflow: hidden; margin-top: 3px; }
.stat .bar i { display: block; height: 100%; border-radius: 4px; transition: width .4s; }
.stat.flash { animation: flash .6s; }
@keyframes flash { 50% { transform: scale(1.08); } }

.ticker { position: absolute; top: 104px; left: 0; right: 0; height: 24px; overflow: hidden; background: rgba(229, 72, 77, .85); font-size: 12px; font-weight: 600; display: flex; align-items: center; }
.ticker div { white-space: nowrap; padding-left: 100%; animation: tick 60s linear infinite; }
@keyframes tick { to { transform: translateX(-100%); } }

/* Yan panel */
#side { position: absolute; top: 140px; left: 12px; bottom: 12px; width: 280px; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-tabs { display: flex; }
.side-tabs button { flex: 1; border-radius: 0; border: none; border-bottom: 2px solid transparent; background: transparent; }
.side-tabs button.active { border-bottom-color: var(--yellow); color: var(--yellow); }
.tab { flex: 1; overflow-y: auto; padding: 10px; }
.side-actions { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.side-actions button { flex: 1; white-space: nowrap; padding: 10px 8px; }
#sideToggle { position: absolute; left: 8px; top: 136px; display: none; background: var(--panel); border-radius: 10px; }
.pcard { background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-bottom: 8px; cursor: pointer; font-size: 12px; }
.pcard:hover { border-color: var(--yellow); }
.pcard h4 { margin: 0 0 2px; font-size: 14px; }
.pcard .meta { color: var(--muted); }
.pcard .phase { display: inline-block; font-size: 10px; font-weight: 800; text-transform: uppercase; padding: 2px 6px; border-radius: 6px; background: var(--blue); margin-right: 6px; }
.pcard.done { opacity: .6; }
.pcard.collapsed { border-color: var(--red); opacity: .9; }
.pcard.collapsed .phase { background: var(--red); }
.pbar { height: 5px; background: rgba(255, 255, 255, .1); border-radius: 3px; margin: 6px 0 2px; overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--yellow); }
.log-line { font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); padding: 6px 0; }

/* Kart */
.card { position: absolute; right: 92px; bottom: 16px; width: min(540px, calc(100vw - 410px)); max-height: calc(100vh - 160px); overflow-y: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); backdrop-filter: blur(8px); animation: rise .35s ease; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
.card-head { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.tag { font-weight: 800; text-transform: uppercase; letter-spacing: .5px; padding: 3px 8px; border-radius: 6px; background: var(--yellow); color: #111; }
.tag.kacis, .tag.cark { background: var(--red); color: #fff; }
.tag.genel { background: var(--blue); color: #fff; }
.tag.sistem { background: #8e7cc3; color: #fff; }
.proj { color: var(--muted); }
.card h2 { margin: 10px 0 6px; font-size: 21px; }
.card p { margin: 0 0 10px; line-height: 1.5; font-size: 15px; }
.twist { color: var(--yellow); font-style: italic; font-size: 13px !important; }
.choices { display: flex; flex-direction: column; gap: 8px; }
.choices button { text-align: left; font-size: 14px; line-height: 1.35; padding: 12px 14px; }
.choices button:hover { background: #2c3544; border-color: var(--yellow); }
.choices button .hint { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.result { font-weight: 600; font-size: 16px !important; }
.deltas { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip { font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.chip.good { background: rgba(70, 167, 88, .25); color: #9be3a6; }
.chip.bad { background: rgba(229, 72, 77, .25); color: #ff9ea1; }
.events { list-style: none; padding: 0; margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.events li { padding: 3px 0; }
.events li.olu { color: #ff9ea1; font-weight: 700; }
.ders { background: rgba(244, 194, 13, .1); border-left: 3px solid var(--yellow); padding: 10px 12px; border-radius: 8px; font-size: 13px; line-height: 1.5; margin-bottom: 12px; }
.ders b { color: var(--yellow); }
#devamBtn { width: 100%; }

/* Overlay */
.overlay { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(8, 10, 14, .72); backdrop-filter: blur(4px); z-index: 20; padding: 16px; overflow-y: auto; }
#start { background: radial-gradient(ellipse at center, rgba(17, 21, 28, .55), rgba(8, 10, 14, .92)); }
.start-box { max-width: 640px; text-align: center; }
.start-box h1 { font-family: Anton, sans-serif; font-size: clamp(48px, 11vw, 96px); margin: 0; color: var(--yellow); letter-spacing: 2px; line-height: 1; text-shadow: 0 6px 0 #000; }
.sub { font-size: 17px; line-height: 1.5; }
.start-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0; }
.count { color: var(--muted); }
.count b { color: var(--yellow); font-size: 20px; }
.disclaimer { font-size: 12px; color: var(--muted); line-height: 1.5; max-width: 560px; margin: 12px auto 0; }
.modal-box { position: relative; width: min(760px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #161b23; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.modal-box h2 { font-family: Anton, sans-serif; letter-spacing: 1px; color: var(--yellow); margin-top: 0; font-size: 32px; font-weight: 400; }
.modal-box h3 { margin: 18px 0 6px; }
.modal-box p, .modal-box li { line-height: 1.55; font-size: 14px; }
.close { position: absolute; top: 12px; right: 12px; }
#modal { z-index: 30; }
.rehber-item { background: var(--panel2); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.rehber-item h3 { margin: 0 0 6px; font-size: 16px; }
.rehber-item .korun { color: #9be3a6; }
.endings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.end-card { background: var(--panel2); border-radius: 10px; padding: 12px; font-size: 13px; }
.end-card.locked { opacity: .45; }
.end-card b { display: block; margin-bottom: 4px; }
.ending-box { text-align: center; }
.ending-box .tone-iyi h2 { color: #7fd48b; }
.ending-box .tone-kotu h2 { color: var(--red); }
.ending-box .tone-gri h2 { color: #c8c8c8; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.stat-grid div { background: var(--panel2); border-radius: 10px; padding: 10px; }
.stat-grid b { display: block; font-size: 20px; }
.stat-grid small { color: var(--muted); font-size: 11px; }


/* Konuşan karakter */
.banner { display: inline-block; font-family: Anton, sans-serif; letter-spacing: 1.5px; font-size: 13px; background: var(--red); color: #fff; padding: 3px 10px; border-radius: 4px; margin-bottom: 8px; animation: blink 1.2s steps(2) 3; }
@keyframes blink { 50% { opacity: .55; } }
.tag.hayat { background: #d4a017; color: #111; }
.tag.hikaye { background: #c2185b; color: #fff; }
.tag.hesap { background: #111; color: var(--yellow); border: 1px solid var(--yellow); }
.speaker { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; }
.avatar { flex: 0 0 46px; height: 46px; border-radius: 50%; background: linear-gradient(145deg, #2c3544, #1b212b); border: 2px solid var(--yellow); display: grid; place-items: center; font-size: 26px; }
.bubble { position: relative; background: #f6f1e4; color: #1a1a1a; border-radius: 4px 14px 14px 14px; padding: 9px 12px; font-size: 14.5px; line-height: 1.45; font-style: italic; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.bubble .sp-name { font-style: normal; font-size: 11px; color: #6b5e45; margin-bottom: 3px; text-transform: none; }
.bubble .sp-name b { color: #111; font-size: 12px; text-transform: capitalize; }
.reaction.good .bubble { background: #e3f6e6; }
.reaction.bad .bubble { background: #fde3e3; }
.reaction .avatar { flex-basis: 36px; height: 36px; font-size: 20px; }
.choices button.risky { border-color: rgba(244, 194, 13, .45); }
.events li.sin { color: #ffcf7a; font-weight: 700; }
.events li.goal-li { color: #9be3a6; font-weight: 700; }
.teaser { margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(62, 142, 208, .15); border: 1px dashed rgba(62, 142, 208, .6); font-size: 13px; }
.teaser small { display: inline-block; font-weight: 800; letter-spacing: 1px; color: #8cc2ef; margin-right: 6px; }

/* Hedef, hayatım */
.goal { padding: 8px 10px; font-size: 12px; background: rgba(244, 194, 13, .1); border-bottom: 1px solid var(--line); }
.goal small { color: var(--muted); }
.lux { display: flex; gap: 10px; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 9px; margin-bottom: 8px; font-size: 12px; }
.lux.own { border-color: var(--yellow); background: rgba(244, 194, 13, .08); }
.lux.locked { opacity: .5; }
.lux-ic { font-size: 28px; line-height: 1; }
.lux-b { flex: 1; min-width: 0; }
.lux-b b { display: block; font-size: 13px; }
.lux-b small { color: var(--muted); }
.lux-b p { margin: 4px 0 6px; color: #c8cfda; line-height: 1.35; }
.lux-b button { padding: 6px 10px; font-size: 12px; }
button:disabled { opacity: .5; cursor: not-allowed; }

/* Ahlak göstergesi */
.ahlak { position: absolute; right: 16px; top: 140px; width: 64px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; font-size: 9px; text-align: center; }
.ahlak small { color: var(--muted); font-weight: 800; letter-spacing: .5px; font-size: 8.5px; }
.ahlak-bar { position: relative; width: 12px; height: 150px; border-radius: 6px; background: linear-gradient(#46a758, #f4c20d 50%, #e5484d); }
.ahlak-bar i { position: absolute; left: 50%; width: 24px; height: 8px; border-radius: 4px; border: 2px solid #fff; transform: translate(-50%, -50%); transition: top .6s, background .6s; box-shadow: 0 0 10px rgba(0,0,0,.6); }
.ahlak b { font-size: 10px; line-height: 1.2; }

/* Bildirimler */
#toasts { position: absolute; top: 140px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 6px; z-index: 12; pointer-events: none; }
.toast { background: rgba(17, 21, 28, .95); border: 1px solid var(--yellow); color: #fff; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 13px; box-shadow: 0 8px 20px rgba(0,0,0,.4); animation: rise .3s ease; transition: opacity .5s, transform .5s; }
.toast.goal { border-color: #46a758; }
.toast.sin { border-color: var(--red); }
.toast.out { opacity: 0; transform: translateY(-10px); }
.float { position: fixed; transform: translateX(-50%); font-weight: 800; font-size: 16px; pointer-events: none; z-index: 40; animation: floatUp 1.8s ease-out forwards; text-shadow: 0 2px 6px #000; }
@keyframes floatUp { to { transform: translate(-50%, -40px); opacity: 0; } }
.legacy { background: var(--panel2); border-radius: 10px; padding: 10px 12px; }
.firma-row { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 14px; }
.firma-row label { font-size: 13px; color: var(--muted); }
.firma-row input { font: inherit; background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; width: 220px; }

/* Mobil */
@media (max-width: 860px) {
  .topbar { flex-wrap: wrap; gap: 6px; padding: 6px 10px; }
  .money { gap: 6px; order: 3; flex: 1 1 100%; justify-content: space-between; flex-wrap: nowrap; }
  .money b { font-size: 12px; }
  .money small { font-size: 9px; }
  .logo { font-size: 18px; }
  .brand { flex: 1; }
  .stats { top: 78px; left: 0; right: 0; transform: none; border-radius: 0; justify-content: space-between; gap: 4px; padding: 5px 8px; }
  .stat { width: auto; flex: 1; font-size: 9px; }
  .ticker { top: 116px; height: 20px; font-size: 11px; }
  #side { top: 140px; left: 8px; right: 8px; bottom: auto; width: auto; max-height: 55vh; z-index: 6; }
  #side.closed { display: none; }
  #sideToggle { display: block; top: 140px; left: auto; right: 8px; z-index: 7; }
  #side { right: 56px; }
  .card { left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 58vh; padding: 14px; }
  .card h2 { font-size: 18px; }
  .card p { font-size: 14px; }
  .choices button { padding: 10px 12px; font-size: 13px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .ahlak { flex-direction: row; top: 142px; right: 56px; left: 8px; width: auto; padding: 4px 8px; gap: 6px; }
  .ahlak-bar { width: auto; flex: 1; height: 8px; background: linear-gradient(90deg, #e5484d, #f4c20d 50%, #46a758); }
  .ahlak-bar i { top: 50% !important; left: var(--ahlak, 50%); height: 16px; width: 8px; }
  .ahlak small:first-child { order: 3; }
  .ahlak b { order: 4; white-space: nowrap; }
  .card { right: 8px; }
  .speaker .avatar { flex-basis: 38px; height: 38px; font-size: 21px; }
  .bubble { font-size: 13px; }
  #toasts { top: 150px; width: 90%; align-items: center; }
  .money div:nth-child(5) { display: none; }
}

/* ---------- Telefon: Harç ---------- */
.phone-btn { position: relative; }
.badge { position: absolute; top: 0; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; line-height: 17px; text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.badge.dot { min-width: 10px; width: 10px; height: 10px; padding: 0; top: 4px; right: 5px; font-size: 0; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { transform: scale(1.35); } }
.phone-wrap { position: fixed; inset: 0; z-index: 25; display: grid; place-items: center; background: rgba(8, 10, 14, .6); backdrop-filter: blur(3px); }
.phone { --ph: #f6f7f9; --phl: #e4e7ec; --pht: #15181d; --phm: #6b7380; width: 380px; height: min(760px, 94vh); background: var(--ph); color: var(--pht); border-radius: 42px; border: 10px solid #0b0d11; box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 0 0 1px #333; display: flex; flex-direction: column; overflow: hidden; animation: phoneIn .35s cubic-bezier(.2,1.3,.4,1); }
@keyframes phoneIn { from { transform: translateY(40px) scale(.94); opacity: 0; } }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 8px 22px 2px; font-size: 12px; font-weight: 700; }
.ph-status .notch { width: 90px; height: 22px; background: #0b0d11; border-radius: 12px; }
.ph-app { display: flex; align-items: baseline; gap: 8px; padding: 6px 16px 8px; border-bottom: 1px solid var(--phl); }
.ph-app b { font-family: Anton, sans-serif; font-size: 26px; letter-spacing: .5px; color: #e0592a; }
.ph-app small { color: var(--phm); font-size: 11px; flex: 1; }
.ph-app button { color: var(--pht); font-size: 18px; }
.ph-tabs { display: flex; border-bottom: 1px solid var(--phl); }
.ph-tabs button { flex: 1; background: none; border: none; border-radius: 0; padding: 9px 2px; font-size: 12px; font-weight: 700; color: var(--phm); border-bottom: 2px solid transparent; }
.ph-tabs button.active { color: #e0592a; border-bottom-color: #e0592a; }
.ph-body { flex: 1; overflow-y: auto; padding: 10px; -webkit-overflow-scrolling: touch; }
.ph-body .primary, .ph-body .danger { padding: 8px 14px; font-size: 13px; }
.ph-body button:disabled { opacity: .45; cursor: not-allowed; }
.ph-body .wide { width: 100%; margin: 10px 0 20px; }
.ph-trends { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.ph-trends span { flex: none; background: #fff; border: 1px solid var(--phl); border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 700; color: #2b5fd9; }
.ph-trends span.hot { background: #e5484d; color: #fff; border-color: #e5484d; animation: pulse 2s infinite; }
.ph-trends small { font-weight: 400; opacity: .75; }
.ph-post { background: #fff; border: 1px solid var(--phl); border-radius: 16px; margin-bottom: 10px; overflow: hidden; animation: rise .3s ease; }
.ph-post header { display: flex; align-items: center; gap: 8px; padding: 9px 10px; }
.ph-post header div { flex: 1; min-width: 0; font-size: 13px; }
.ph-post header small { display: block; color: var(--phm); font-size: 11px; }
.ph-post .av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,#f4c20d,#e0592a); display: grid; place-items: center; font-size: 18px; flex: none; }
.ph-post .tick { color: #2b5fd9; font-style: normal; font-size: 11px; }
.ph-post > p { margin: 4px 10px 8px; font-size: 13.5px; line-height: 1.4; }
.ph-post.news { background: #fff7f7; }
.ph-post.news .av { background: #7a1c20; }
.ph-post.viral { box-shadow: 0 0 0 2px #f4a20d; }
.ph-post.ifsa { box-shadow: 0 0 0 2px #e5484d; }
.ph-media { position: relative; }
.ph-photo { height: 190px; display: grid; place-items: center; position: relative; overflow: hidden; }
.ph-photo span { font-size: 84px; filter: drop-shadow(0 8px 12px rgba(0,0,0,.3)); }
.ph-photo em { position: absolute; bottom: 8px; left: 10px; font-style: normal; font-weight: 800; font-size: 12px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.7); letter-spacing: .5px; }
.stamp { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(-12deg); border: 4px solid #e5484d; color: #e5484d; background: rgba(255,255,255,.88); font-family: Anton, sans-serif; font-size: 19px; padding: 4px 12px; border-radius: 6px; white-space: nowrap; animation: stampIn .4s cubic-bezier(.3,1.6,.5,1); }
@keyframes stampIn { from { transform: translate(-50%,-50%) rotate(-12deg) scale(2.2); opacity: 0; } }
.ph-acts { display: flex; gap: 14px; padding: 8px 10px 0; font-size: 12.5px; font-weight: 700; }
.pill { font-size: 10.5px; font-weight: 800; padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: #fff1d6; color: #b36b00; }
.pill.bad { background: #ffe1e2; color: #c02a30; }
.pill.warn { background: #eef1f5; color: #4a5462; }
.ph-note { margin: 0 10px 8px; background: #fff8e1; border: 1px solid #f4d06f; border-radius: 10px; padding: 7px 9px; font-size: 12px; line-height: 1.35; }
.ph-note b { display: block; font-size: 11px; margin-bottom: 2px; }
.ph-note.bad { background: #ffeef0; border-color: #f3a5a8; }
.ph-cm { border-top: 1px solid var(--phl); padding: 6px 10px 8px; }
.ph-cm .c { display: flex; gap: 6px; font-size: 12.5px; line-height: 1.35; padding: 4px 0; }
.ph-cm .c > span { flex: none; }
.ph-cm .c b { color: #333; }
.ph-cm .c small { display: block; color: var(--phm); font-size: 10.5px; }
.ph-cm .c.magdur b, .ph-cm .c.usta b { color: #c02a30; }
.ph-cm .c.pinar b { color: #2b5fd9; }
.ph-cm .c.bot { opacity: .6; }
.ph-cm .more { background: none; border: none; padding: 4px 0; font-size: 12px; color: var(--phm); }
.ph-cm .rest { display: none; }
.ph-cm.open .rest { display: block; }
.ph-hint { font-size: 12.5px; background: #eef1f5; border-radius: 12px; padding: 9px 11px; margin-bottom: 10px; line-height: 1.4; }
.ph-hint small { color: var(--phm); }
.ph-compose { background: #fff; border: 1px solid var(--phl); border-radius: 14px; padding: 10px; margin-bottom: 9px; }
.ph-compose.lie { border-color: #f3a5a8; background: #fffafa; }
.ph-compose .top { display: flex; align-items: center; gap: 7px; font-size: 13.5px; }
.ph-compose .top b { flex: 1; }
.ph-compose .ic { font-size: 22px; }
.ph-compose p { font-size: 12.5px; color: #3c4450; margin: 6px 0 8px; line-height: 1.4; font-style: italic; }
.ph-empty { text-align: center; padding: 30px 10px; color: var(--phm); font-size: 14px; line-height: 2; }
.ph-prof { text-align: center; }
.ph-prof .av.big { width: 76px; height: 76px; margin: 6px auto; border-radius: 50%; background: linear-gradient(135deg,#f4c20d,#e0592a); display: grid; place-items: center; font-size: 40px; }
.ph-prof h3 { margin: 4px 0 0; }
.ph-prof > small { color: var(--phm); }
.ph-prof .nums { display: flex; justify-content: space-around; margin: 12px 0; }
.ph-prof .nums div { display: flex; flex-direction: column; }
.ph-prof .nums small { color: var(--phm); font-size: 11px; }
.ph-prof .bio { font-size: 12.5px; }
.ph-prof .ph-note { text-align: left; margin: 0 0 8px; }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 10px; }
.ph-grid div { aspect-ratio: 1; display: grid; place-items: center; font-size: 34px; position: relative; border-radius: 4px; }
.ph-grid i { position: absolute; top: 3px; right: 4px; font-size: 14px; font-style: normal; }
.ph-body .deltas { margin: 6px 0; }
.ph-body .chip { background: #eef1f5; color: #333; }
.ph-body .chip.good { background: #dff3e3; color: #1e7a33; }
.ph-body .chip.bad { background: #ffe1e2; color: #c02a30; }
.ph-body .events { list-style: none; padding: 0; margin: 6px 0; font-size: 13px; }
.ph-body .events li { padding: 3px 0; }
.ph-body .ders { background: #eaf6ec; border: 1px solid #b8e0bf; color: #1e4d27; border-radius: 10px; padding: 9px; font-size: 12.5px; line-height: 1.45; }
.ph-body .neg { color: #c02a30; }
@media (max-width: 860px) {
  .phone-wrap { background: var(--bg); }
  .phone { width: 100vw; height: 100dvh; border: none; border-radius: 0; }
  .ph-status { padding-top: max(8px, env(safe-area-inset-top)); }
  .ph-status .notch { visibility: hidden; }
}

/* ---------- Mini oyunlar ---------- */
.choices button.minich { border-color: rgba(62, 142, 208, .7); background: linear-gradient(90deg, rgba(62,142,208,.22), var(--panel2)); }
.mini-wrap { position: fixed; inset: 0; z-index: 28; display: grid; place-items: center; background: rgba(8, 10, 14, .75); backdrop-filter: blur(4px); padding: 12px; }
.mini-card { width: min(520px, 100%); max-height: 96vh; overflow-y: auto; background: #161b24; border: 2px solid var(--yellow); border-radius: 18px; padding: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.6); animation: phoneIn .3s cubic-bezier(.2,1.3,.4,1); }
.mini-head h3 { margin: 6px 0 4px; font-family: Anton, sans-serif; letter-spacing: .5px; font-size: 24px; color: var(--yellow); font-weight: 400; }
.mini-head p { margin: 0 0 10px; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.mini-tag { font-size: 11px; font-weight: 800; background: var(--blue); color: #fff; padding: 3px 8px; border-radius: 999px; }
.mini-time { height: 10px; background: rgba(255,255,255,.08); border-radius: 6px; overflow: hidden; margin-bottom: 12px; position: relative; }
.mini-time i { display: block; height: 100%; width: 100%; background: #46a758; transition: width .1s linear; }
.mini-time span { position: absolute; right: 6px; top: -1px; font-size: 9px; color: #fff; text-transform: uppercase; letter-spacing: .5px; }
.mini-score { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 12px; padding: 12px; border-radius: 12px; animation: stampIn2 .35s cubic-bezier(.3,1.6,.5,1); }
@keyframes stampIn2 { from { transform: scale(1.6); opacity: 0; } }
.mini-score b { font-family: Anton, sans-serif; font-size: 28px; font-weight: 400; }
.mini-score small { color: var(--muted); }
.mini-score.ok { background: rgba(70,167,88,.2); } .mini-score.ok b { color: #9be3a6; }
.mini-score.mid { background: rgba(244,162,13,.18); } .mini-score.mid b { color: #ffd27a; }
.mini-score.bad { background: rgba(229,72,77,.2); } .mini-score.bad b { color: #ff9ea1; }
.bubble-s { background: rgba(255,255,255,.07); border-radius: 12px; padding: 8px 11px; font-size: 13.5px; margin: 8px 0; min-height: 20px; }
.g { height: 10px; background: rgba(255,255,255,.1); border-radius: 6px; overflow: hidden; position: relative; }
.g i { display: block; height: 100%; width: 50%; background: var(--green); transition: width .15s, background .2s; }
.ratio { display: block; font-size: 14px; margin-top: 8px; }
.mini-body input[type=range] { width: 100%; accent-color: var(--yellow); height: 30px; }
.mini-body .big { width: 100%; margin-top: 10px; }
.beton .mixer { display: flex; align-items: center; gap: 12px; font-size: 54px; }
.beton .drum { width: 60px; height: 60px; border-radius: 50%; background: repeating-conic-gradient(#8a8f98 0 20deg, #5a5f68 20deg 40deg); animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.shake { display: inline-block; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px) rotate(-4deg); } 75% { transform: translateX(6px) rotate(4deg); } }
.beton .zone { position: relative; height: 8px; margin: -4px 8px 16px; }
.beton .zone i { position: absolute; top: 0; height: 100%; background: rgba(70,167,88,.55); border-radius: 4px; }
.beton .zone small { position: absolute; left: 50%; top: 9px; transform: translateX(-50%); white-space: nowrap; font-size: 10px; color: #6fcf7f; }
.beton .gauges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; font-size: 12px; }
.site .car-track { position: relative; height: 30px; border-bottom: 2px dashed rgba(255,255,255,.2); margin-bottom: 10px; font-size: 22px; display: flex; justify-content: flex-end; }
.site .car-track #tCar { position: absolute; left: 0; transform: scaleX(-1); transition: left .1s linear; }
.site .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.site .cell { font-size: 30px; padding: 10px 0; background: #222a36; border: 2px solid transparent; }
.site .cell.haz { border-color: #e5484d; background: #3a1f24; animation: pulse 1s infinite; }
.site .cell.fixed { border-color: #46a758; background: #1f3a26; }
.site .cell.wrong { background: #5a3a1a; }
.site .cell small { display: block; height: 13px; margin-top: 2px; font-size: 10px; line-height: 13px; font-weight: 700; color: #ffb3b3; white-space: nowrap; overflow: hidden; }
.site .cell.fixed small { color: #9be3a8; }
.site .hint { margin-top: 8px; font-size: 13px; color: var(--muted); }
.pz-man { display: flex; gap: 10px; align-items: center; }
.pz-man > span { font-size: 46px; }
.pz-man > div { flex: 1; }
.pz-row { display: grid; grid-template-columns: auto auto auto 1fr; gap: 8px; align-items: center; font-size: 13px; margin: 6px 0; }
.pz-row b { font-size: 20px; color: var(--yellow); }
.pz-btns { display: flex; gap: 8px; margin-top: 8px; }
.pz-btns button { flex: 1; }
.pz-log { font-size: 12px; color: var(--muted); margin-top: 8px; min-height: 40px; }
.tp-q { display: flex; justify-content: space-around; background: #0b0f14; border-radius: 12px; padding: 8px; font-family: monospace; }
.tp-q div { display: flex; flex-direction: column; align-items: center; }
.tp-q small { font-size: 10px; color: var(--muted); font-family: Inter, sans-serif; }
.tp-q b { font-size: 24px; color: #ff6b3d; }
.tp-desk { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 10px 0; }
.tp-desk .doc { display: flex; flex-direction: column; align-items: center; padding: 8px 2px; gap: 3px; }
.tp-desk .doc span { font-size: 26px; }
.tp-desk .doc small { font-size: 10px; line-height: 1.15; color: var(--muted); }
.tp-desk .doc.got { background: #1f3a26; border-color: #46a758; opacity: .6; }
.tp-desk .doc.bad { background: #3a1f24; border-color: #e5484d; opacity: .6; }
.tp-folder { font-size: 14px; }
.hv-line { font-size: 30px; text-align: center; letter-spacing: 2px; }
.hv-line b { filter: drop-shadow(0 0 6px var(--yellow)); }
.hv-bpm { display: grid; grid-template-columns: auto auto 1fr; gap: 10px; align-items: center; margin: 8px 0; }
.hv-bpm b { font-size: 28px; min-width: 50px; }
.hv-bpm .g { height: 16px; }
.hv-bpm .g em { position: absolute; left: 27%; width: 23%; top: 0; bottom: 0; border: 2px solid rgba(70,167,88,.9); border-radius: 4px; }
.hv-q b { display: block; margin-bottom: 6px; }
.hv-q button { display: block; width: 100%; text-align: left; margin-bottom: 5px; font-size: 13px; padding: 8px 10px; }
@media (max-width: 860px) {
  .tp-desk { grid-template-columns: repeat(3, 1fr); }
  .site .cell { font-size: 26px; padding: 8px 0; }
}

/* ---------- 3B sahnede tıklama balonu ---------- */
.pick-pop { position: fixed; z-index: 60; width: 300px; max-height: 70vh; overflow: auto; background: rgba(18, 22, 30, 0.96); color: #eee; border: 1px solid #f4c20d55; border-radius: 14px; padding: 12px 14px; box-shadow: 0 12px 32px rgba(0,0,0,.45); font-size: 14px; animation: ppIn .18s ease-out; }
.pick-pop h4 { margin: 0 24px 4px 0; font-size: 16px; }
.pick-pop p { margin: 8px 0; line-height: 1.4; }
.pick-pop .pp-meta { color: #aab; font-size: 12px; }
.pick-pop .pp-quote { font-style: italic; color: #ffe9a8; }
.pick-pop .pp-ders { background: #1e3a2a; border-left: 3px solid #46a758; padding: 6px 8px; border-radius: 6px; font-size: 12.5px; line-height: 1.4; }
.pick-pop .pp-row { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: #ccd; }
.pick-pop .pp-x { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: #aaa; font-size: 16px; cursor: pointer; }
.pick-pop .pp-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.pick-pop .pp-menu button { padding: 9px 6px; border-radius: 9px; border: 1px solid #444; background: #262c38; color: #fff; cursor: pointer; font-size: 13px; }
.pick-pop .pp-menu button:hover:not(:disabled) { background: #33405a; }
.pick-pop .pp-menu button:disabled { opacity: .45; cursor: default; }
.pick-pop .kesit { width: 100%; height: auto; background: #0e1320; border-radius: 8px; margin-top: 8px; }
.pick-pop .neg { color: #ff8a8d; }
@keyframes ppIn { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .pick-pop { left: 10px !important; right: 10px; top: 118px !important; width: auto; max-height: 42vh; } .pick-pop .kesit { max-height: 110px; } }

/* Sinematik an: üstte ve altta siyah şerit */
body::before, body::after { content: ''; position: fixed; left: 0; right: 0; height: 0; background: #000; z-index: 45; pointer-events: none; transition: height .6s ease; }
body::before { top: 0; } body::after { bottom: 0; }
body.cine::before, body.cine::after { height: 7vh; }

/* Kart seçenekleri sırayla gelir */
.choices button { animation: rise .32s ease backwards; }
.choices button:nth-child(2) { animation-delay: .06s; } .choices button:nth-child(3) { animation-delay: .12s; } .choices button:nth-child(4) { animation-delay: .18s; }
.choices button:active { transform: scale(.98); }
#resultBox:not(.hidden) { animation: rise .3s ease; }
.money-up { color: #7ee08f !important; } .money-down { color: #ff8a8d !important; }

/* Başlangıç seçimi */
.basla-baslik { margin: 18px 0 8px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.basla-sec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.basla-kart { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 12px 10px; border-radius: 14px; background: var(--panel2); border: 2px solid var(--line); color: var(--text); cursor: pointer; transition: transform .15s, border-color .15s; }
.basla-kart:hover { transform: translateY(-2px); }
.basla-kart .be { font-size: 28px; }
.basla-kart b { font-size: 15px; }
.basla-kart small { font-size: 12px; line-height: 1.35; color: var(--muted); }
.basla-kart.secili { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(244, 194, 13, .18); }
@media (max-width: 600px) {
  .basla-sec { grid-template-columns: 1fr; gap: 6px; }
  .basla-kart { flex-direction: row; flex-wrap: wrap; text-align: left; padding: 8px 12px; column-gap: 10px; }
  .basla-kart .be { font-size: 22px; }
  .basla-kart small { flex-basis: 100%; }
}
/* Rozetler */
.rozet-yeni { margin: 12px 0; }
.rozet-yeni p { margin: 0 0 8px; font-weight: 700; }
.rozet { display: inline-block; margin: 3px; padding: 6px 12px; border-radius: 999px; background: rgba(244, 194, 13, .15); color: var(--yellow); font-weight: 600; font-size: 14px; animation: rozetGel .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.rozet:nth-child(3) { animation-delay: .12s; } .rozet:nth-child(4) { animation-delay: .24s; } .rozet:nth-child(5) { animation-delay: .36s; }
@keyframes rozetGel { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.bir-tur { font-size: 14px; color: var(--muted); line-height: 1.6; }
.bir-tur b { color: var(--text); }
.toast.rozetT { background: #3a2f07; border-color: var(--yellow); color: var(--yellow); }

/* Kariyeri bitiren seçenek uyarısı */
#choices .biter { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 10px; font-size: 0.78em; background: rgba(244,194,13,0.16); color: #f4c20d; white-space: nowrap; }

/* Az yazı, çok hareket: mühür, zıplayan etki çipleri, sırayla gelen seçenekler */
.damga { position: absolute; top: 54px; right: 18px; z-index: 5; pointer-events: none; font: 30px Anton, Impact, sans-serif; letter-spacing: 2px; padding: 4px 14px; border: 4px solid currentColor; border-radius: 8px; transform: rotate(-12deg); opacity: .9; animation: damga .45s cubic-bezier(.2, 1.6, .4, 1) both; background: rgba(0, 0, 0, .25); }
.damga.kirmizi { color: #ff5a5f; } .damga.yesil { color: #6fd680; } .damga.sari { color: var(--yellow); }
@keyframes damga { from { transform: rotate(-12deg) scale(2.6); opacity: 0; } 70% { opacity: 1; } }
.deltas .chip { animation: cipZipla .4s cubic-bezier(.2, 1.5, .4, 1) both; }
.deltas .chip b { font-weight: 800; }
@keyframes cipZipla { from { transform: translateY(10px) scale(.6); opacity: 0; } }
.choices button { animation: secGel .3s ease both; }
.choices button:nth-child(2) { animation-delay: .06s; } .choices button:nth-child(3) { animation-delay: .12s; } .choices button:nth-child(4) { animation-delay: .18s; } .choices button:nth-child(5) { animation-delay: .24s; }
@keyframes secGel { from { transform: translateX(18px); opacity: 0; } }
.ders details summary { cursor: pointer; color: var(--yellow); font-weight: 700; list-style: none; }
.ders details summary::-webkit-details-marker { display: none; }
.ders details[open] summary { margin-bottom: 6px; }
.ders .ders-kotu details { display: inline; } .ders .ders-kotu details summary { display: inline; font-weight: 600; font-size: 12px; opacity: .85; }
.ders .ders-kotu details[open] { display: block; margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .damga, .deltas .chip, .choices button { animation: none; } }
/* Seçimden sonra soru metni kaybolur, ekranda sadece sonuç kalır */
.card.secildi #cardText, .card.secildi #cardTwist, .card.secildi #speaker { display: none; }
.card { overflow-x: hidden; }
.damga { top: 12px; right: 14px; font-size: 24px; }
.card p.secim { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
#parilti { position: fixed; inset: 0; pointer-events: none; z-index: 40; opacity: 0; }
#parilti.kirmizi { box-shadow: inset 0 0 120px 20px rgba(229, 72, 77, .55); animation: parilti .9s ease-out; }
#parilti.yesil { box-shadow: inset 0 0 120px 20px rgba(70, 167, 88, .45); animation: parilti .9s ease-out; }
@keyframes parilti { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #parilti { display: none; } }

/* Telefonda kaydırarak seçme */
.card { touch-action: pan-y; }
.card.kayiyor { user-select: none; -webkit-user-select: none; }
.choices button { position: relative; overflow: hidden; }
.choices button::after { content: '✓'; position: absolute; right: 12px; top: 50%; transform: translateY(-50%) scale(calc(.4 + var(--k, 0) * .8)); opacity: var(--k, 0); font-weight: 800; color: var(--yellow); pointer-events: none; }
.choices button.kayan { border-color: var(--yellow); background: linear-gradient(90deg, rgba(244, 194, 13, calc(var(--k, 0) * .28)), var(--panel2)); }
.choices button.hazir { background: rgba(244, 194, 13, .3); box-shadow: 0 0 0 2px var(--yellow) inset; }
.choices button.hazir::after { color: #fff; }
.choices button.durt { animation: durt .7s ease !important; }
@keyframes durt { 20% { transform: translateX(26px); } 45% { transform: translateX(-8px); } 70% { transform: translateX(10px); } }
.kaydir-ipucu { text-align: center; font-size: 12px; color: var(--muted); padding: 2px 0 0; animation: ipucu 2.4s ease-in-out infinite; }
@keyframes ipucu { 50% { opacity: .45; } }

/* Animasyonlu yüzler */
.avatar.yuz { overflow: hidden; padding: 0; background: radial-gradient(circle at 50% 40%, #3a4558, #1b212b); }
.yuz-svg { width: 100%; height: 100%; display: block; }
.yuz .gz { transform-box: fill-box; transform-origin: center; animation: kirp 4.6s infinite; animation-delay: var(--kd, 0s); }
@keyframes kirp { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.yuz .ag-a, .yuz .gz-m, .yuz .ag-g, .yuz .ag-k, .yuz .yn, .yuz .kz, .yuz .kzs, .yuz .mts { display: none; }
.yuz .ks-l, .yuz .ks-r { transform-box: fill-box; transform-origin: center; transition: transform .25s; }
.yuz.konus .ag-n { display: none; }
.yuz.konus .ag-a { display: inline; transform-box: fill-box; transform-origin: center; animation: konus .2s ease-in-out infinite alternate; }
.yuz.konus .yuz-svg { animation: kafaSalla 1.1s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes konus { from { transform: scaleY(.2); } }
@keyframes kafaSalla { 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg) translateY(-1px); } }
.yuz.mutlu .ag-n, .yuz.mutlu .gz { display: none; }
.yuz.mutlu .ag-g, .yuz.mutlu .gz-m, .yuz.mutlu .yn, .yuz.mutlu .mts { display: inline; }
.yuz.mutlu .ks-l, .yuz.mutlu .ks-r { transform: translateY(-2px); }
.yuz.mutlu .yuz-svg { animation: sevin .5s ease-in-out 3; transform-origin: 50% 100%; }
.yuz.mutlu .mts { animation: parla 1s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes sevin { 50% { transform: translateY(-5px) scale(1.04); } }
@keyframes parla { from { opacity: .3; transform: scale(.7) rotate(-20deg); } }
.yuz.kizgin .ag-n { display: none; }
.yuz.kizgin .ag-k, .yuz.kizgin .kz, .yuz.kizgin .kzs { display: inline; }
.yuz.kizgin .ks-l { transform: rotate(20deg) translateY(1.5px); }
.yuz.kizgin .ks-r { transform: rotate(-20deg) translateY(1.5px); }
.yuz.kizgin .yuz-svg { animation: titre .09s linear 8; }
.yuz.kizgin .kzs { animation: parla .5s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes titre { 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }
.reaction .avatar.yuz { flex-basis: 46px; height: 46px; }
.reaction.good .avatar.yuz { border-color: #6fd680; } .reaction.bad .avatar.yuz { border-color: #ff5a5f; }
@media (prefers-reduced-motion: reduce) { .yuz .gz, .yuz .yuz-svg, .yuz .ag-a { animation: none !important; } }
.speaker > .avatar.yuz { flex-basis: 54px; height: 54px; }
@media (max-width: 860px) { .speaker > .avatar.yuz { flex-basis: 44px; height: 44px; } }

/* ---------- Gazete manşeti ---------- */
.gazete-ort { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 16px; background: rgba(8, 10, 14, .62); backdrop-filter: blur(3px); cursor: pointer; animation: gzKarar .25s ease-out; }
.gazete-ort.gidiyor { animation: gzGit .25s ease-in forwards; }
.gazete { width: min(440px, 100%); background: #f3ecd9; color: #1b1b1b; padding: 14px 16px 12px; border-radius: 3px; box-shadow: 0 18px 50px rgba(0,0,0,.55), inset 0 0 40px rgba(120, 90, 40, .18); font-family: Georgia, 'Times New Roman', serif; animation: gzDon .7s cubic-bezier(.2, 1.3, .4, 1); transform-origin: center; }
.gz-ust { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 3px double #1b1b1b; padding-bottom: 4px; font-size: 11px; color: #555; }
.gz-ust b { font-size: 20px; letter-spacing: 2px; color: #1b1b1b; font-weight: 900; white-space: nowrap; }
.gz-baslik { margin: 10px 0 8px; font-size: clamp(22px, 6.4vw, 30px); line-height: 1.05; font-weight: 900; letter-spacing: -.5px; color: #111; text-wrap: balance; }
.ton-kotu .gz-baslik { color: #8c1010; }
.gz-govde { display: flex; gap: 12px; align-items: center; border-top: 1px solid #b9ad92; padding-top: 8px; }
.gz-foto { width: 96px; flex: 0 0 96px; height: auto; background: #d8cfb8; filter: grayscale(1) contrast(1.1); border: 1px solid #9c917a; }
.gz-alt { margin: 0; font-size: 15px; line-height: 1.35; font-style: italic; }
.gz-ders { margin: 10px 0 0; padding: 7px 9px; background: #fff6e0; border-left: 4px solid #c0392b; font-family: system-ui, sans-serif; font-size: 13px; line-height: 1.35; }
.ton-iyi .gz-ders { border-left-color: #2e8b57; background: #eef8ee; }
.gz-kapat { display: block; margin-top: 10px; text-align: right; font-family: system-ui, sans-serif; color: #776c55; font-size: 12px; }
@keyframes gzDon { from { transform: scale(.15) rotate(-540deg); opacity: 0; } 70% { opacity: 1; } to { transform: scale(1) rotate(-1.5deg); } }
@keyframes gzKarar { from { background: rgba(8, 10, 14, 0); } }
@keyframes gzGit { to { opacity: 0; transform: translateY(30px); } }
@media (max-width: 420px) { .gz-ust span:last-child { display: none; } .gz-foto { width: 72px; flex-basis: 72px; } }
@media (prefers-reduced-motion: reduce) { .gazete { animation: none; transform: rotate(-1deg); } }
.stat-diger { margin: 8px 0 4px; text-align: center; }
.stat-diger summary { cursor: pointer; color: var(--muted, #9aa3ad); font-size: 13px; padding: 6px; }
.stat-diger .stat-grid { margin-top: 6px; }
.nasil-liste { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.nasil-liste li { background: var(--panel2); border-radius: 10px; padding: 9px 12px; line-height: 1.4; }
.pz-man > .avatar.yuz { width: 64px; height: 64px; flex: 0 0 64px; font-size: 0; }
/* Kart başı tek satır: etiket kırılmaz, proje adı sığmazsa üç noktayla kısalır */
.card-head .tag { white-space: nowrap; flex: 0 0 auto; }
.card-head .proj { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.son-ders { margin: 10px 0; padding: 8px 10px; text-align: left; font-size: 14px; line-height: 1.4; background: rgba(240, 180, 40, .1); border-left: 4px solid #e0a020; border-radius: 6px; }
.hv-line { display: flex; align-items: center; justify-content: center; gap: 8px; }
.hv-line > .avatar { flex: 0 0 52px; height: 52px; letter-spacing: 0; }
.tp-memur { display: flex; align-items: center; gap: 8px; }
.tp-memur > .avatar { flex: 0 0 46px; height: 46px; }
.tp-memur > .bubble-s { flex: 1; margin: 0; }
.kontrol5 ol { margin: 8px 0 0; padding-left: 22px; text-align: left; font-size: 14px; line-height: 1.45; }
.kontrol5 li { margin-bottom: 4px; }
.kontrol5 summary { color: var(--yellow); font-weight: 700; font-size: 14px; }
.modal-box:not(.ending-box) h2:first-of-type { padding-right: 40px; }
@media (max-width: 480px) { .modal-box:not(.ending-box) h2:first-of-type { font-size: 26px; } }
