:root {
  --ink: #22140d;
  --ink-soft: rgba(34, 20, 13, 0.66);
  --paper: #f4e7cf;
  --paper-2: #fffaf0;
  --plum: #2a2024;
  --dop: #ff5a36;
  --dop-2: #ffb21f;
  --sus: #7b5cff;
  --red: #b3261e;
  --ok: #2f7a43;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(40, 24, 14, .24), 0 1px 1px rgba(40, 24, 14, .16);
  --ease: cubic-bezier(.22, .9, .28, 1);
  --spring: cubic-bezier(.16, 1, .3, 1);
  --head: "Zilla Slab", Rockwell, Georgia, serif;
  --hand: Kalam, "Bradley Hand", cursive;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  font-family: "Fira Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--plum); }
/* clip: telefon alttan taşar; hidden olsaydı odaklanınca sayfa kayardı. */
body {
  position: relative; overflow: clip;
  background: radial-gradient(110% 80% at 45% 42%, #3a2c31 0%, var(--plum) 60%, #1f1719 100%);
  user-select: none;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
button:focus-visible { outline: 3px solid var(--dop-2); outline-offset: 3px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.chip { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }

/* --- Sahne --- */
.stage { position: absolute; inset: 0; display: flex; padding: 92px 330px 14px 14px; } /* sağ: eğik telefonun sol kenarı evi örtmesin */
#scene { flex: 1; min-width: 0; min-height: 0; width: 100%; height: 100%; overflow: visible; }
#scene { transition: filter .5s var(--ease); }
body.is-focused #scene { filter: brightness(.82) saturate(.85); }
#scene .obj { cursor: pointer; transition: filter .25s var(--ease); }
/* Hover: elle çizilmiş titrek çerçeve (#sketch filtresi ambience.js'te). */
#scene .obj:hover, #scene .obj.is-hover, #scene .obj:focus-visible, .actor.npc:hover, .actor.npc:focus-visible { filter: url(#sketch); outline: none; }
#scene .item { transition: opacity .6s var(--ease), transform .6s var(--ease); transform-box: fill-box; transform-origin: center bottom; }
#scene .item.is-gone { opacity: 0; transform: translateY(-14px) scale(.9); pointer-events: none; }
#scene .dust { opacity: 0; transition: opacity 1.2s ease .4s; }
#scene .dust.is-shown { opacity: 1; }
#scene .tv-screen { animation: tv 1.9s steps(1) infinite; } #scene .screen { animation: pc 4.3s steps(1) infinite; }
@keyframes tv { 0%, 100% { fill: #4a6b8f; } 20% { fill: #8fb6d6; } 45% { fill: #34506e; } 70% { fill: #6f95ba; } }
@keyframes pc { 0%, 100% { fill: #7fb3e6; } 33% { fill: #8fcf9a; } 66% { fill: #e6a07f; } }
#amb-wall .clock-face { fill: #f8f4ea; stroke: #3b2d25; stroke-width: 1.1; } #amb-wall line { stroke: #3b2d25; stroke-linecap: round; } #amb-wall .hand.h { stroke-width: 2; } #amb-wall .hand.m { stroke-width: 1.3; } #amb-wall .hub { fill: #b3261e; }
#amb-air, #amb-light { pointer-events: none; } #amb-light { mix-blend-mode: screen; }
.wisp { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; animation: wisp 2.7s ease-out infinite; }
@keyframes wisp { 0% { opacity: 0; transform: translateY(2px) scale(.6, .5); } 30% { opacity: .75; } 100% { opacity: 0; transform: translate(3px, -16px) scale(1.2, 1.1); } }
.motes { opacity: calc(var(--day, 1) * .9); } .mote { fill: #fff6d0; animation: mote 8s ease-in-out infinite alternate; }
@keyframes mote { 0% { transform: translate(0, 0); opacity: .2; } 50% { opacity: .95; } 100% { transform: translate(6px, -9px); opacity: .3; } }
#amb-tv { opacity: calc(.3 + (1 - var(--day, 1)) * .7); animation: flicker 1.9s steps(1) infinite; } .monitor-spill { opacity: calc((1 - var(--day, 1)) * .9); }
@keyframes flicker { 0%, 100% { filter: none; } 20% { filter: brightness(1.5); } 45% { filter: brightness(.6); } 70% { filter: brightness(1.2); } }
#night { mix-blend-mode: multiply; transition: opacity 1.5s linear; pointer-events: none; }
#glows { mix-blend-mode: screen; transition: opacity 1.5s linear; pointer-events: none; }
.room-label rect { fill: rgba(34, 20, 13, .85); }
.room-label text { fill: var(--paper); font-size: 9.5px; font-weight: 700; letter-spacing: .01em; }
.actor { pointer-events: none; --step: .38s; --ease: cubic-bezier(.45, 0, .55, 1); }
.actor.npc { pointer-events: auto; cursor: pointer; }
.actor .leg, .actor .arm, .actor .head, .actor .upper, .actor .bob, .actor .sway, .emo path { transform-box: fill-box; }
.actor .leg, .actor .arm, .actor .sway { transform-origin: 50% 0; }
.actor .head, .actor .upper, .actor .bob, .actor .bun { transform-origin: 50% 100%; }
.actor.is-left .lit { transform: translate(calc(var(--dx) * 1px), calc(var(--dy) * 1px)); } .actor.is-left .rim { transform: translate(-.9px, .7px); }
.actor .upper { animation: breathe 3.2s var(--ease) infinite; }
.actor.is-walking .bob { animation: walk calc(var(--step) / 2) var(--ease) infinite; } /* adım başına bir zıplama: temasta basılır, havada uzar; .sway (önlük, tespih, topuz) yarım adım geriden gelir */
.actor.is-walking .leg.l, .actor.is-walking .leg.r { animation: stride var(--step) var(--ease) infinite; }
.actor.is-walking .arm.l, .actor.is-walking .arm.r { animation: swing var(--step) var(--ease) infinite; }
.actor.is-walking .leg.r, .actor.is-walking .arm.l { animation-delay: calc(var(--step) / -2); }
.actor.is-walking .sway { animation: sway var(--step) var(--ease) infinite calc(var(--step) * -.3); }
.actor:not(.is-walking):not([data-pose]) .sway { animation: sway 5.2s var(--ease) infinite; } /* bekleme: her karakterin kendi huyu, farklı sürelerle */
.actor[data-actor=player]:not(.is-walking) .head { animation: peek 6.5s var(--ease) infinite; }
.actor[data-actor=anne]:not(.is-walking) .arm.l { animation: wipe 7s var(--ease) infinite; }
.actor[data-actor=anne]:not(.is-walking) .arm.r { animation: wipe-r 7s var(--ease) infinite; }
.actor[data-actor=baba]:not(.is-walking) .arm.l { animation: tespih 2.6s var(--ease) infinite; } .actor[data-actor=baba]:not(.is-walking) .beads { animation: sway 2.6s var(--ease) infinite -.5s; }
.actor[data-actor=kurye]:not(.is-walking) .head, .actor[data-actor=komsu]:not(.is-walking) .head { animation: look 5.8s var(--ease) infinite; } .actor[data-actor=komsu]:not(.is-walking) .head { animation-duration: 8.3s; }
.actor[data-actor=alici]:not(.is-walking):not([data-pose]) .bob { animation: heel 4.4s var(--ease) infinite; }
.actor[data-pose] .shadow, .actor .back, .actor .lap, .actor.is-back .head, .actor.is-back .arm, .actor.is-back .leg, .actor.is-back .fo { display: none; }
.actor.is-back .back { display: inline; } .actor[data-pose] .upper { animation-duration: 4.6s; }
.actor[data-pose=sit_sofa] .lap { display: inline; } .actor[data-pose=sit_sofa] .leg { display: none; } .actor[data-pose=sit_sofa] .bob { transform: translateY(13px); }
@keyframes walk { 0%, 100% { transform: rotate(2.5deg) scale(1.035, .955); } 50% { transform: translateY(-2.6px) rotate(2.5deg) scale(.98, 1.03); } }
@keyframes stride { 0%, 100% { transform: translateY(-1.8px) rotate(17deg); } 50% { transform: rotate(-15deg); } }
@keyframes swing { 0%, 100% { transform: rotate(-19deg); } 50% { transform: rotate(17deg); } }
@keyframes sway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } } @keyframes breathe { 0%, 100% { transform: none; } 50% { transform: scaleY(1.025); } }
@keyframes peek { 0%, 58%, 100% { transform: none; } 64%, 88% { transform: translate(1px, 1.2px) rotate(9deg); } } @keyframes look { 0%, 30%, 100% { transform: none; } 38%, 55% { transform: rotate(-7deg); } 63%, 80% { transform: rotate(5deg); } }
@keyframes heel { 0%, 70%, 100% { transform: none; } 74%, 82% { transform: translateY(-1.6px) scaleY(1.02); } 78%, 86% { transform: scale(1.02, .98); } } @keyframes tespih { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(5deg); } }
@keyframes wipe { 0%, 70%, 100% { transform: none; } 74%, 82%, 90% { transform: rotate(-24deg); } 78%, 86% { transform: rotate(-10deg); } }
@keyframes wipe-r { 0%, 70%, 100% { transform: none; } 74%, 82%, 90% { transform: rotate(10deg); } 78%, 86% { transform: rotate(24deg); } }
.emo { filter: drop-shadow(0 0 .8px #fffaf0) drop-shadow(0 0 .8px #fffaf0); }
.emo path { stroke: var(--ink); stroke-linejoin: round; }
.emo .z { stroke-width: 2.4; animation: zfloat 2.4s ease-out infinite both; }
.sweat path { fill: #9fd3ff; stroke-width: 1.2; animation: drip 1.6s ease-in infinite both; }
.spark { fill: #ffd34d; stroke-width: 1; transform-origin: center; animation: twinkle 1.4s ease-in-out infinite both; }
@keyframes zfloat { 0% { opacity: 0; transform: translate(0, 4px) scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(6px, -8px) scale(1.1); } }
@keyframes drip { 0% { opacity: 0; transform: translateY(-3px); } 20%, 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(9px); } }
@keyframes twinkle { 0%, 100% { transform: scale(0) rotate(0); } 50% { transform: scale(1.15) rotate(45deg); } }

.bubble { animation: pop .35s var(--spring) both; transform-box: fill-box; transform-origin: center bottom; }
.bubble rect, .bubble .tail { fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.bubble .seam { stroke: var(--paper); stroke-width: 2.6; }
.bubble text { font-size: 9px; font-weight: 900; fill: var(--ink); }
.bubble.mood rect, .bubble.mood .tail { fill: var(--ink); }
.bubble.mood .seam { stroke: var(--ink); }
.bubble.mood text { fill: var(--paper); }
body.is-focused .door-ding, body.is-focused .visitor-say { display: none; } /* kurye/alıcı yazısı sonuç kartının arkasında kalmasın */
@keyframes pop { from { opacity: 0; transform: translateY(4px) scale(.85); } to { opacity: 1; transform: none; } }

/* --- Üst şerit --- */
.topbar { position: absolute; top: 16px; left: 18px; right: 18px; display: flex; gap: 14px; align-items: stretch; }
.dop { flex: 1; min-width: 0; padding: 8px 14px; display: flex; align-items: center; gap: 14px; }
.dop-t { font-family: var(--head); font-size: 20px; letter-spacing: .02em; font-weight: 400; }
.meter { flex: 1; min-width: 60px; height: 26px; border: 2px solid var(--ink); border-radius: 6px; background: #3a2a22; position: relative; overflow: hidden; }
.meter i { position: absolute; inset: 0 auto 0 0; background: repeating-linear-gradient(90deg, var(--dop) 0 22px, #ff7a4f 22px 26px); transition: width .8s var(--ease); }
.meter span { position: absolute; right: 8px; top: 50%; translate: 0 -50%; font-weight: 700; font-size: 16px; color: var(--paper); text-shadow: 0 1px 3px rgba(40, 24, 14, .24), 0 1px 1px rgba(40, 24, 14, .16), 0 1px 3px rgba(40, 24, 14, .24), 0 1px 1px rgba(40, 24, 14, .16), 0 1px 3px rgba(40, 24, 14, .24), 0 1px 1px rgba(40, 24, 14, .16), 0 1px 3px rgba(40, 24, 14, .24), 0 1px 1px rgba(40, 24, 14, .16); }
.state { font-weight: 900; font-size: 13px; letter-spacing: .04em; background: var(--dop-2); padding: 3px 8px; border: 2px solid var(--ink); border-radius: 5px; white-space: nowrap; }
.state.is-low { background: var(--red); color: var(--paper); }
.hud { padding: 8px 16px; display: flex; gap: 20px; align-items: center; }
.hud small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--ink-soft); }
.hud .clock, .hud .money { display: block; font-size: 22px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
/* Oyun bekletirken (kart, olay, rehber) saat söner; kısa beklemelerde yanıp sönmesin diye gecikmeli. */
.hud .clock { transition: opacity .15s; }
.hud .clock.is-waiting { opacity: .4; transition-delay: .35s; }
/* Para basamak atlayınca üst çubuk kaymasın: dopamin çubuğu yerinde kalır (gün adı yalnız gün geçişinde, kart altında değişir). */
@media (min-width: 761px) { .hud .money { min-width: 92px; } } /* "9.999 ₺" sığar; telefonda yer dar */
.speeds { display: flex; gap: 6px; }
.speeds button { min-width: 36px; height: 32px; border: 2px solid var(--ink); border-radius: 5px; font-family: var(--mono); font-weight: 700; font-size: 15px; display: grid; place-items: center; transition: background .15s, color .15s; }
.speeds button:hover { background: var(--paper-2); }
.speeds button.is-on { background: var(--ink); color: var(--paper); }
.pause { width: 10px; height: 12px; border-inline: 3.5px solid currentColor; }

/* --- Aile paneli --- */
.side { position: absolute; top: 104px; right: 18px; width: 258px; padding: 12px; display: grid; gap: 10px; }
.rel { display: grid; grid-template-columns: 42px 1fr 36px; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; }
.alert-badge { padding: 5px 9px; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); line-height: 1.25; } .alert-badge b { display: block; font-size: 12px; letter-spacing: .06em; } .alert-badge small { font-size: 11px; font-weight: 700; color: var(--ink-soft); } .alert-badge.is-on { background: var(--red); color: var(--paper); box-shadow: 0 1px 6px rgba(40, 24, 14, .24), 0 1px 1px rgba(40, 24, 14, .16); } .alert-badge.is-on small { color: #ffe1d8; }
.av { width: 42px; height: 42px; border: 2px solid var(--ink); border-radius: 50%; }
.mini { height: 11px; margin-top: 3px; border: 2px solid var(--ink); border-radius: 4px; background: #d9c7a7; overflow: hidden; }
.mini i { display: block; height: 100%; transition: width .8s var(--ease); }
.n { font-size: 17px; font-weight: 700; text-align: right; }

/* --- Ana görev --- */
.goal { position: absolute; left: 18px; bottom: 18px; padding: 10px 18px 12px; max-width: min(560px, calc(100vw - 360px)); }
.goal .t { font-family: var(--head); font-size: 14px; color: var(--ink-soft); }
.goal .s { font-family: var(--head); font-size: 26px; line-height: 1.15; margin: 2px 0 6px; }
.goal .m { font-size: 14px; font-weight: 700; }
.goal .xp { display: inline-block; vertical-align: middle; font-family: "Fira Sans", "Segoe UI", system-ui, sans-serif; font-size: 12px; font-weight: 800; padding: 1px 7px; margin-left: 6px; border: 2px solid var(--ink); border-radius: 5px; background: #bfe3b4; white-space: nowrap; }

/* --- Telefon --- */
.phone {
  position: absolute; right: 30px; bottom: -36px; width: 286px; height: 470px; padding: 12px;
  border-radius: 40px; background: #161112; border: 2px solid var(--ink); box-shadow: 0 14px 42px rgba(0, 0, 0, .42);
  rotate: -4deg; transition: translate .4s var(--spring), rotate .4s var(--spring);
}
.phone:hover { rotate: -2deg; translate: 0 -8px; }
.phone .screen { height: 100%; border-radius: 28px; padding: 14px 12px 52px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; background: #efe6d6; }
.phone .bar { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; font-weight: 700; padding: 0 6px; }
.notifs { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; overflow: hidden; }
.notif { background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 8px 10px; font-size: 13px; font-weight: 500; line-height: 1.28; animation: slide .5s var(--spring) both; }
.notif b { display: block; font-size: 11px; font-weight: 700; letter-spacing: .01em; color: var(--ink-soft); margin-bottom: 1px; }
.notif.mail { background: #ffe1d8; border-color: var(--red); }
.notif.mail b { color: var(--red); }
/* Bildirim yokken kilit ekranı: büyük saat ve gün (ui.js hud data-time/data-day yazar). */
@media (min-width: 761px) and (min-height: 501px) { /* telefonda bildirimler şerit olur, saat yok */
  .notifs:empty { justify-content: center; align-items: center; text-align: center; gap: 2px; }
  .notifs:empty::before { content: attr(data-time); font-family: var(--head); font-size: clamp(36px, 7vh, 64px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
  .notifs:empty::after { content: attr(data-day); font-size: 13px; font-weight: 700; color: var(--ink-soft); }
}
@keyframes slide { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; padding: 0 6px; }
.app { display: grid; justify-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; line-height: 1.1; text-align: center; }
.app .tile { width: 48px; height: 48px; border-radius: 14px; border: 2px solid var(--ink); display: grid; place-items: center; transition: translate .2s var(--spring); }
.app .tile svg { width: 28px; height: 28px; }
.app .tile b { font-family: var(--head); font-weight: 400; font-size: 20px; }
.app .tile.is-art { box-shadow: inset 0 -4px 0 rgba(34, 20, 13, .22), inset 0 3px 0 rgba(255, 255, 255, .22); }
.app .tile.is-art svg { width: 34px; height: 34px; }
.app:hover .tile { translate: 0 -3px; }

/* --- Kartlar --- */
.layer { position: absolute; inset: 0; pointer-events: none; }
.layer > * { pointer-events: auto; }
.card {
  position: absolute; width: 340px; padding: 16px; background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 0 3px 18px rgba(40, 24, 14, .24), 0 1px 1px rgba(40, 24, 14, .16);
  animation: card-in .5s var(--ease) both;
}
.card.center { left: 50%; top: 50%; translate: -50% -50%; width: 400px; rotate: -1deg; }
.card.is-leaving { animation: card-out .22s ease-in both; }
.card.is-sliding { transition: top .42s var(--ease), left .42s var(--ease); }
/* Zar düştükten sonra sonuç alanı kartı aşağı doğru büyüterek açılır (ui.js openReveal). */
.reveal { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .42s var(--ease), opacity .3s ease .08s; }
.reveal.is-shut { grid-template-rows: 0fr; opacity: 0; }
.reveal-in { min-height: 0; overflow: hidden; }
.reveal.is-open > .reveal-in { overflow: visible; }
/* Hareketi azalt: oyuncu ayarı ya da işletim sistemi; ikisi de html.az-hareket olur (a11y/apply.js). */
.az-hareket .reveal, .az-hareket .card.is-sliding { transition: none; }
@keyframes card-in { 0% { opacity: 0; transform: translateY(18px) scale(.86) rotate(-3deg); } 55% { opacity: 1; transform: translateY(-4px) scale(1.03) rotate(.8deg); } 100% { opacity: 1; transform: none; } }
@keyframes card-out { 30% { transform: translateY(-4px) scale(1.02); } 100% { opacity: 0; transform: translateY(16px) scale(.9) rotate(2deg); } }
.card.gold { box-shadow: 0 3px 18px rgba(40, 24, 14, .24), 0 1px 1px rgba(40, 24, 14, .16), 0 0 0 4px #ffd34d, 0 0 46px 10px rgba(255, 190, 50, .55); }
.card .head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.card .icon { flex: none; width: 42px; height: 42px; border: 2px solid var(--ink); border-radius: 8px; display: grid; place-items: center; font-family: var(--head); font-size: 22px; background: var(--dop-2); }
.who { display: block; font-family: var(--head); font-size: 15px; color: var(--ink-soft); margin-bottom: 4px; }
.center-tag { text-align: center; }
.card h3 { margin: 2px 0 4px; font-family: var(--head); font-weight: 400; font-size: 22px; line-height: 1.1; }
.card p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink-soft); }
.choices { display: flex; flex-direction: column; gap: 8px; }
.choice {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left;
  padding: 10px 12px; border-radius: 8px; background: var(--paper-2); border: 2px solid var(--ink);
  font-size: 15px; font-weight: 700; transition: translate .15s, box-shadow .15s;
}
.choice:hover:not(:disabled) { translate: -2px -2px; box-shadow: 0 2px 9px rgba(40, 24, 14, .24), 0 1px 1px rgba(40, 24, 14, .16); }
.choice.primary { background: var(--ink); color: var(--paper); }
.choice:disabled { opacity: .45; cursor: default; border-style: dashed; }
.choice small { display: block; font-size: 12px; font-weight: 500; opacity: .72; margin-top: 2px; } .card p.lock-note { margin: -4px 0 10px; padding: 6px 10px; border: 2px solid var(--red); border-radius: 6px; background: #ffe1d8; color: var(--red); font-size: 13px; font-weight: 700; }
.dc { flex: none; font-family: var(--mono); font-size: 12px; font-weight: 700; padding: 2px 7px; border: 2px solid var(--ink); border-radius: 5px; background: var(--dop-2); color: var(--ink); white-space: nowrap; }
.dc.hard { background: #ff9a5c; } .dc.vhard { background: var(--red); color: var(--paper); } .dc.easy { background: #bfe3b4; }
.card .close { margin-top: 10px; width: 100%; padding: 8px; border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.card .close:hover { background: rgba(34, 20, 13, .07); }

/* --- Zar --- */
.dice { display: flex; justify-content: center; gap: 18px; margin: 10px 0 8px; }
.die {
  width: 66px; height: 66px; border-radius: 12px; background: #fff; border: 2px solid var(--ink); box-shadow: var(--shadow);
  display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 8px;
}
.die:first-child { rotate: -10deg; } .die:last-child { rotate: 8deg; }
.die i { width: 11px; height: 11px; border-radius: 50%; background: var(--red); place-self: center; visibility: hidden; }
.die.rolling { animation: tumble .18s linear infinite; }
.die.landed { animation: land .5s var(--spring); }
@keyframes tumble { 0% { transform: rotate(0) translateY(-6px); } 50% { transform: rotate(180deg) translateY(2px); } 100% { transform: rotate(360deg) translateY(-6px); } }
@keyframes land { from { transform: scale(1.25) rotate(-12deg); } to { transform: none; } }
.mods { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; min-height: 22px; }
.mod { font-size: 12px; font-weight: 700; padding: 2px 8px; border: 2px solid var(--ink); border-radius: 5px; animation: pop .3s var(--spring) both; }
.mod.up { background: #bfe3b4; } .mod.down { background: #ffc6b6; } .mod.is-over { opacity: .42; text-decoration: line-through; } .mod.cap { background: var(--ink); color: var(--paper); }
.total { text-align: center; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--ink-soft); margin: 6px 0 2px; letter-spacing: .01em; } .total .clamp { display: block; font-family: "Fira Sans", system-ui, sans-serif; font-size: 11px; letter-spacing: 0; font-weight: 600; margin-top: 2px; }
.total .rescue { display: table; margin: 4px auto 0; padding: 2px 8px; background: #ffe9a8; color: var(--ink); border: 2px dashed var(--ink); border-radius: 6px; } /* Toparlan izi (Tur 7 X23) */
.outcome { text-align: center; animation: pop .4s var(--spring) both; }
.outcome h3 { font-size: 30px; margin: 6px 0; }
.outcome.crit-fail h3 { color: var(--red); } .outcome.crit-win h3 { color: var(--ok); } .outcome .sale-note { margin: 6px auto 0; width: fit-content; max-width: 100%; padding: 3px 9px; border: 2px dashed var(--ink-soft); border-radius: 4px; font: 700 13px/1.35 var(--mono); color: var(--ink-soft); }
.deltas { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 10px 0 12px; }
.delta { font-family: var(--mono); font-size: 13px; font-weight: 700; padding: 3px 9px; border: 2px solid var(--ink); border-radius: 5px; }
.delta.good { background: #bfe3b4; } .delta.bad { background: #ffc6b6; }
.ok { display: block; width: 100%; padding: 11px; border-radius: 8px; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); font-weight: 900; font-size: 15px; letter-spacing: .04em; }
.ok:hover { background: #3a2418; }

/* --- Uçan sayılar, gün kartı, şüphe vinyeti --- */
.float { position: absolute; font-family: var(--mono); font-weight: 700; font-size: 16px; pointer-events: none; padding: 1px 7px; border: 2px solid var(--ink); border-radius: 5px; animation: float 1.8s var(--ease) both; white-space: nowrap; }
.float.good { background: #bfe3b4; } .float.bad { background: #ffc6b6; }
@keyframes float { 0% { opacity: 0; transform: translate(-50%, 6px); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -54px); } }
.confetti, .stat-chip, .takvim { position: absolute; pointer-events: none !important; }
.confetti { border: 1.5px solid var(--ink); }
.flash-fail { position: absolute; inset: 0; pointer-events: none; z-index: 9; -webkit-backdrop-filter: grayscale(1) contrast(1.15); backdrop-filter: grayscale(1) contrast(1.15); background: rgba(60, 20, 15, .12); }
.stat-chip { display: flex; align-items: center; gap: 5px; padding: 3px 9px 3px 5px; white-space: nowrap; font-size: 14px; font-weight: 700; border: 2px solid var(--ink); border-radius: 999px; box-shadow: 0 1px 6px rgba(40, 24, 14, .24), 0 1px 1px rgba(40, 24, 14, .16); background: color-mix(in srgb, var(--c) 34%, var(--paper-2)); }
.stat-chip b { font-family: var(--mono); } .stat-chip svg { width: 18px; height: 18px; } .stat-chip.is-down { border-style: dashed; }
.takvim { top: 96px; left: 50%; z-index: 4; width: 156px; transform: translate(-50%, 0) rotate(-2deg); filter: drop-shadow(0 2px 12px rgba(40, 24, 14, .24), 0 1px 1px rgba(40, 24, 14, .16)); }
/* TV yakın planı açıkken gün kartı TV'nin soluna geçer, ekranı örtmesin. */
@media (min-width: 761px) and (min-height: 501px) { body:has(.tv-izle:not([hidden])) .takvim { left: calc(50% - 300px); } }
.takvim .rings { height: 18px; background: var(--red); border: 2px solid var(--ink); border-radius: 6px 6px 0 0; display: flex; justify-content: space-around; }
.takvim .rings i { width: 8px; height: 18px; margin-top: -9px; border: 2.5px solid var(--ink); border-radius: 5px; background: #c9c3b6; }
.takvim .page { display: grid; justify-items: center; padding: 6px 10px 10px; background: var(--paper-2); border: 2px solid var(--ink); border-top: 2px dashed rgba(34, 20, 13, .35); text-align: center; }
.takvim .old { position: absolute; left: 0; right: 0; top: 18px; transform-origin: 8% 0; }
.takvim small { font-size: 12px; font-weight: 700; letter-spacing: .01em; color: var(--ink-soft); }
.takvim b { font-family: var(--head); font-weight: 400; font-size: 58px; line-height: 1; } .takvim .is-sunday b, .takvim .is-sunday span { color: var(--red); }
.takvim span { font-weight: 900; font-size: 14px; letter-spacing: .06em; }
.takvim em { margin-top: 6px; padding-top: 5px; border-top: 1px solid rgba(34, 20, 13, .25); font-size: 10.5px; font-style: normal; line-height: 1.3; color: var(--ink-soft); }
.vignette { position: absolute; inset: 0; pointer-events: none; transition: box-shadow 1.2s; }

/* --- Başlangıç ve bitiş --- */
.screen-full { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(28, 20, 20, .7); animation: fade .6s ease both; z-index: 5; }
@keyframes fade { from { opacity: 0; } }
.title { text-align: center; max-width: 560px; padding: 30px 32px 26px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 0 16px 48px rgba(0, 0, 0, .42); rotate: -1deg; }
.title .kicker { display: inline-block; font-family: var(--hand); font-size: 17px; font-weight: 700; color: var(--ink-soft); rotate: -2deg; }
.title h1 { font-family: var(--head); font-weight: 400; font-size: clamp(38px, 6vw, 62px); line-height: .98; margin: 16px 0 14px; }
.title p { font-size: 16px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 22px; }
.title .go { padding: 13px 32px; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--dop-2); font-family: var(--head); font-size: 18px; transition: translate .15s, box-shadow .15s; }
.title .go:hover { translate: -2px -2px; box-shadow: 0 3px 18px rgba(40, 24, 14, .24), 0 1px 1px rgba(40, 24, 14, .16); }
.title .go:active { translate: 2px 2px; box-shadow: 0 1px 6px rgba(40, 24, 14, .24), 0 1px 1px rgba(40, 24, 14, .16); }
.title .keys { margin-top: 16px; font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.credits { background: none; border: 0; box-shadow: none; rotate: none; color: var(--paper); }
.credits .big { font-family: var(--head); font-size: clamp(30px, 5vw, 52px); line-height: 1.08; animation: fade 1s ease both; }
.credits .small { margin-top: 12px; font-family: var(--mono); font-size: 17px; font-weight: 500; opacity: .8; animation: fade 1s ease .3s both; }
.report { width: 400px; max-width: calc(100vw - 32px); }
.report .row { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; padding: 5px 0; border-bottom: 2px dashed rgba(34, 20, 13, .2); }
.report .row b { font-family: var(--mono); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.badge { font-size: 12px; font-weight: 700; padding: 3px 8px; border: 2px solid var(--ink); border-radius: 5px; background: var(--dop-2); }

/* Hareketi azalt: oyuncu ayarı ya da işletim sistemi; ikisi de html.az-hareket olur (a11y/apply.js). */
.az-hareket *, .az-hareket *::before, .az-hareket *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
.az-hareket .emo path { animation: none !important; }
@media (max-width: 760px) {
  .stage { padding: 150px 6px 200px 6px; }
  .tv-izle { top: 150px; }
  .takvim { top: 150px; scale: .78; transform-origin: 50% 0; }
  .topbar { top: max(8px, env(safe-area-inset-top, 0px)); left: 8px; right: 8px; gap: 8px; flex-direction: column; }
  .dop { padding: 6px 10px; gap: 8px; }
  .dop-t { font-size: 14px; }
  .meter { height: 22px; }
  .meter span { font-size: 13px; }
  .state { font-size: 11px; padding: 2px 6px; }
  .hud { padding: 6px 10px; gap: 10px; justify-content: space-between; }
  .hud small { font-size: 10px; }
  .hud .clock, .hud .money { font-size: 17px; }
  .speeds { gap: 4px; }
  .speeds button { min-width: 44px; height: 44px; }
  .side { top: auto; bottom: 150px; left: 8px; right: 8px; width: auto; padding: 6px 8px; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .rel { grid-template-columns: 28px 1fr auto; gap: 5px; font-size: 12px; }
  .av { width: 28px; height: 28px; border-width: 2px; }
  .n { font-size: 13px; }
  .goal { left: 8px; right: 8px; bottom: 108px; max-width: none; padding: 4px 10px; box-shadow: 0 2px 9px rgba(40, 24, 14, .24), 0 1px 1px rgba(40, 24, 14, .16); }
  .goal .t, .goal .s { display: none; }
  .goal .m { font-size: 11px; }
  .phone { width: auto; left: 8px; right: 8px; height: 104px; bottom: -14px; rotate: none; border-radius: 24px; padding: 8px; }
  .phone:hover { rotate: none; translate: none; }
  .phone .screen { border-radius: 16px; padding: 8px; }
  .phone .bar, .notifs { display: none; }
  .apps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .app { font-size: 9px; }
  .app .tile { width: 44px; height: 44px; border-radius: 12px; }
  .card, .card.center { width: min(92vw, 360px); left: 50% !important; top: auto !important; bottom: 12px; translate: -50% 0; rotate: none; max-height: 80vh; overflow: auto; }
}

/* ===== Salondaki televizyon (tv.js, tv-art.js): evdeki ekranda yayın, yakın plan ve kanal düğmeleri ===== */
#scene .tv-screen.is-off, #scene .tv-screen.is-on-air { animation: none; }
#scene .tv-screen.is-off { fill: #1c2027; }
#amb-tv.tv-off { visibility: hidden; }
.tv-talk, .tv-steam, .tv-bars, .tv-spot, .tv-run, .tv-ball, .tv-bounce, .tv-tick, .tv-lower, .tv-wave, .tv-hand, .tv-spin, .tv-drift, .tv-sway, .tv-rock, .tv-stir, .tv-hop, .tv-ring, .tv-ads, .tv-bob, .tv-walk, .tv-noise, .tv-roll, .tv-pulse, .tv-drip, .tv-slide { transform-box: fill-box; transform-origin: center; }
/* Yayın rejisi (tv-art-kit.js): B çekimi taban stilde gizli, kesmeyle gelir; hareket azaltılınca donmuş kare A çekimidir. */
.tv-cutb { opacity: 0; animation: tv-cut 10s steps(1) infinite; }
@keyframes tv-cut { 0% { opacity: 0; } 50% { opacity: 1; } }
/* Kamera grupları kareden taşan parçalar (kayan panolar) içerir: dönüşüm merkezi çerçevenin ortası, grubun kutusu değil. */
.tv-pan, .tv-push, .tv-shake { transform-box: view-box; transform-origin: 160px 90px; }
.tv-pan { animation: tv-pan 16s ease-in-out infinite alternate; } .tv-push { animation: tv-push 10s ease-in-out infinite alternate; }
@keyframes tv-pan { from { transform: scale(1.08) translate(-7px, 2px); } to { transform: scale(1.12) translate(7px, -3px); } }
@keyframes tv-push { from { transform: scale(1.02); } to { transform: scale(1.14); } }
.tv-lower { animation: tv-lower 10s cubic-bezier(.2, .8, .3, 1) infinite; }
@keyframes tv-lower { 0% { transform: translateX(-330px); } 8%, 86% { transform: translateX(0); } 94%, 100% { transform: translateX(-330px); } }
/* Altyazı varken alttaki bantlar çekilir (view/tv-flow.js "has-sub"): yazılar üst üste binmez. */
.tv-lower > *, .tv-band { transition: opacity .25s; }
.has-sub .tv-lower > *, .has-sub .tv-band { opacity: 0; }
.tv-win { animation: tv-blink 2.6s steps(1) infinite; } .tv-glow { animation: tv-glow 3s ease-in-out infinite alternate; }
@keyframes tv-glow { from { opacity: .35; } to { opacity: .95; } }
.tv-wave { animation: tv-wave .7s ease-in-out infinite alternate; } @keyframes tv-wave { to { transform: translateY(-3px); } }
.tv-hand { transform-origin: 0 100%; animation: tv-hand 1.4s ease-in-out infinite alternate; } @keyframes tv-hand { from { transform: rotate(-8deg); } to { transform: rotate(14deg); } }
.tv-spin { animation: tv-spin 24s linear infinite; } .tv-stir { animation: tv-spin 3s linear infinite; } @keyframes tv-spin { to { transform: rotate(360deg); } }
.tv-drift { animation: tv-drift 12s ease-in-out infinite alternate; } @keyframes tv-drift { from { transform: translateX(-18px); } to { transform: translateX(18px); } }
.tv-sway { transform-origin: 50% 0; animation: tv-sway 2.6s ease-in-out infinite alternate; } .tv-rock { transform-origin: 50% 100%; animation: tv-sway 2.2s ease-in-out infinite alternate; }
@keyframes tv-sway { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
.tv-hop { animation: tv-hop .45s ease-in-out infinite alternate; } @keyframes tv-hop { to { transform: translateY(-4px); } }
.tv-bob { animation: tv-bob .5s ease-in-out infinite alternate; } @keyframes tv-bob { to { transform: translateY(-6px); } }
.tv-timer { animation: tv-timer 10s linear infinite; } @keyframes tv-timer { to { stroke-dashoffset: 189; } }
.tv-ring { animation: tv-ring .9s steps(2) infinite; } @keyframes tv-ring { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }
.tv-ads { animation: tv-ads 6s linear infinite; } @keyframes tv-ads { to { transform: translateX(-320px); } }
.tv-shake { animation: tv-shake .32s steps(2) infinite; } @keyframes tv-shake { from { transform: scale(1.07) translate(-2px, 1px); } to { transform: scale(1.07) translate(2px, -1px); } }
.tv-walk { animation: tv-walk 9s ease-in-out infinite alternate; } @keyframes tv-walk { from { transform: translateX(-30px); } to { transform: translateX(30px); } }
.tv-neon { animation: tv-neon 4.5s steps(1) infinite; } @keyframes tv-neon { 0% { fill: #7a2e8a; } 33% { fill: #1f6f8b; } 66% { fill: #b8325a; } }
.tv-noise { animation: tv-noise .3s steps(1) infinite; } @keyframes tv-noise { 33% { transform: translate(-5px, 3px); } 66% { transform: translate(-8px, -4px); } }
.tv-roll { animation: tv-roll 3s linear infinite; } @keyframes tv-roll { from { transform: translateY(-100px); } to { transform: translateY(130px); } }
.tv-pulse { animation: tv-pulse 1.6s ease-in-out infinite alternate; } @keyframes tv-pulse { to { transform: scale(1.08); } }
.tv-drip { animation: tv-drip 3.5s ease-in infinite; } @keyframes tv-drip { 0%, 40% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(30px); opacity: 0; } }
.tv-slide { animation: tv-slide 5s linear infinite; } @keyframes tv-slide { to { transform: translateX(-40px); } }
.tv-talk { animation: tv-talk .5s steps(2) infinite; }
.tv-steam { animation: tv-steam 1.8s ease-out infinite; }
.tv-bars { animation: tv-bars 2.4s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.tv-spot { animation: tv-spot 2.8s ease-in-out infinite alternate; transform-origin: 50% 0; }
.tv-run { animation: tv-run 2.2s ease-in-out infinite alternate; }
.tv-ball { animation: tv-ball 3.2s ease-in-out infinite; }
.tv-bounce { animation: tv-bounce .9s cubic-bezier(.3, 0, .4, 1) infinite alternate; }
.tv-blink { animation: tv-blink 1.2s steps(1) infinite; }
.tv-tick { transform-origin: 0 50%; animation: tv-tick 38s linear infinite; }
@keyframes tv-talk { 50% { transform: scaleY(.3); } }
@keyframes tv-steam { from { transform: translateY(0); opacity: .8; } to { transform: translateY(-16px); opacity: 0; } }
@keyframes tv-bars { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
@keyframes tv-spot { from { transform: rotate(-16deg); } to { transform: rotate(16deg); } }
@keyframes tv-run { from { transform: translate(-10px, 6px); } to { transform: translate(14px, -6px); } }
@keyframes tv-ball { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(70px, -22px); } 65% { transform: translate(-50px, 20px); } }
@keyframes tv-bounce { to { transform: translateY(-14px); } }
@keyframes tv-blink { 50% { opacity: .35; } }
@keyframes tv-tick { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.tv-izle { max-height: calc(100vh - 100px); overflow-y: auto; overscroll-behavior: contain; position: absolute; top: 84px; left: 50%; translate: -50% 0; rotate: -.6deg; width: min(400px, calc(100vw - 32px)); padding: 12px 12px 10px; background: #2b2622; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 0 3px 18px rgba(40, 24, 14, .24), 0 1px 1px rgba(40, 24, 14, .16); animation: card-in .4s var(--ease) both; }
.tv-izle[hidden] { display: none; }
/* TV açıkken zar kartı ekranın altına iner: programı örtmesin (Tur 8 Y10). Telefonda kart zaten alttan açılır. */
@media (min-width: 761px) and (min-height: 501px) { body:has(.tv-izle:not([hidden])) .card.center { top: auto; bottom: 16px; translate: -50% 0; } } /* telefonda kart alt panel kalır (Tur 9 W1) */
.tv-kasa { border: 3px solid #111; border-radius: 10px; overflow: hidden; background: #000; line-height: 0; }
.tv-ekran { display: block; width: 100%; height: auto; }
.tv-izle.is-flip .tv-kasa { animation: tv-kar .26s steps(3); }
@keyframes tv-kar { from { filter: contrast(3) brightness(2) grayscale(1); } to { filter: none; } }
.tv-kumanda { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 9px; color: #f3ead8; }
.tv-kumanda .tv-rehber-ac { padding: 0 10px; white-space: nowrap; }
.tv-bolum { margin: 8px 2px 0; color: #f3ead8; font-size: 12.5px; line-height: 1.35; }
.tv-bolum:empty { display: none; }
.tv-kumanda button { min-width: 36px; min-height: 36px; font: inherit; font-weight: 800; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; box-shadow: 0 1px 6px rgba(40, 24, 14, .24), 0 1px 1px rgba(40, 24, 14, .16); cursor: pointer; }
.tv-kumanda .tv-kapat { margin-left: auto; padding: 0 12px; }
.tv-ad { flex: 1 1 140px; min-width: 0; overflow: hidden; font-size: 13px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.tv-ad::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; vertical-align: -1px; background: var(--tv-kanal, #c23b2e); border: 2px solid #f3ead8; border-radius: 50%; }
.tv-flash { opacity: 0; animation: tv-flash 3.4s steps(1) infinite; } .tv-rain { animation: tv-rain .7s linear infinite; }
@keyframes tv-flash { 0% { opacity: .9; } 4% { opacity: 0; } 46% { opacity: .75; } 49% { opacity: 0; } }
@keyframes tv-rain { to { transform: translate(-4px, 26px); } }
/* Yayın akışı (tv-guide.js): koyu kasa, krem kâğıt; mobilde kendi içinde kayar. */
.tv-rehber { max-height: min(70vh, 520px); overflow-y: auto; overscroll-behavior: contain; padding: 10px; background: #2b2622; border: 2px solid var(--ink); border-radius: 14px; color: #f3ead8; }
.tv-rehber h2 { margin: 2px 4px 10px; font-size: 16px; font-weight: 800; }
.tv-rehber-liste { display: grid; gap: 10px; }
.tv-rehber-kanal { cursor: pointer; transition: translate .15s var(--ease); background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 10px; box-shadow: 0 2px 9px rgba(40, 24, 14, .24), 0 1px 1px rgba(40, 24, 14, .16); overflow: hidden; }
.tv-rehber-kanal:hover, .tv-rehber-kanal:focus-visible { translate: -1px -1px; box-shadow: 0 2px 12px rgba(40, 24, 14, .24), 0 1px 1px rgba(40, 24, 14, .16); outline: none; }
.tv-rehber-kanal:focus-visible { outline: 3px solid #f2c94c; outline-offset: 2px; }
.tv-rehber-kanal h3 { display: flex; align-items: center; gap: 8px; margin: 0; padding: 6px 8px; font-size: 14px; font-weight: 800; border-bottom: 2px solid var(--ink); }
.tv-rehber-logo { padding: 1px 6px; color: #fff; background: var(--tv-kanal, #c23b2e); border: 2px solid var(--ink); border-radius: 6px; font-size: 12px; }
.tv-rehber-kilit { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 1px 6px; font-size: 11px; color: #f2c94c; background: var(--ink); border-radius: 6px; }
.tv-rehber-kanal ol { margin: 0; padding: 0; list-style: none; }
.tv-rehber-satir { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 6px 8px; font-size: 13px; line-height: 1.3; border-top: 1px dashed rgba(59, 45, 37, .35); }
.tv-rehber-satir:first-child { border-top: 0; }
.tv-rehber-saat { flex: 0 0 auto; min-width: 92px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tv-rehber-ad { flex: 1 1 140px; min-width: 0; font-weight: 700; }
.tv-rehber-tur { font-size: 11px; font-weight: 700; opacity: .7; }
.tv-rehber-canli, .tv-rehber-tekrar { padding: 0 5px; font-size: 10px; font-weight: 800; border-radius: 4px; color: #fff; background: #d72f2f; }
.tv-rehber-tekrar { background: #6b6259; }
.tv-rehber-satir.is-now { background: #fbe7a1; }
.tv-rehber-satir.is-derbi { box-shadow: inset 4px 0 0 #d72f2f; }
.tv-rehber-satir.is-derbi .tv-rehber-ad::after { content: " · DERBİ"; color: #d72f2f; font-weight: 800; }
/* Hareketi azalt: oyuncu ayarı ya da işletim sistemi; ikisi de html.az-hareket olur (a11y/apply.js). */
.az-hareket .tv-art [class^="tv-"], .az-hareket .tv-izle, .az-hareket .tv-izle.is-flip .tv-kasa { animation: none !important; }
.card .icon.app-logo svg { width: 30px; height: 30px; }
