.tonv-dash-wrap {
    --brand: #4a0849;
    --brand-dark: #2c032b;
    --brand-mid: #6e1a6c;
    --brand-soft: #f5eef7;
    --card: #ffffff;
    --tx: #241024;
    --mut: #655266;
    --line: #e4d6e8;
    --tr: #4a0849;
    --accent: #6e1a6c;
    --accent-soft: #efe2f3;
    --track: #e8dce9;
    color-scheme: light;
    box-sizing: border-box;
    width: 100%;
    min-height: calc(100vh - 80px);
    padding: calc(28px + env(safe-area-inset-top, 0px)) 28px calc(28px + env(safe-area-inset-bottom, 0px)) 28px;
    font-size: clamp(13px, min(1.02vw, 1.85vh), 21px);
    background:
        radial-gradient(ellipse 65% 55% at 10% 5%, rgba(110, 26, 108, 0.28), transparent 60%),
        radial-gradient(ellipse 55% 50% at 92% 90%, rgba(74, 8, 73, 0.35), transparent 60%),
        linear-gradient(155deg, #5b1059 0%, #4a0849 52%, #240223 100%);
    position: relative;
    z-index: 1;
    color: var(--tx);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    overflow-x: hidden;
}

.tonv-dash-wrap *,
.tonv-dash-wrap *::before,
.tonv-dash-wrap *::after {
    box-sizing: border-box;
}

.tonv-dash-wrap > .tonv-hdr,
.tonv-dash-wrap > .tonv-main,
.tonv-dash-wrap > .tonv-ftr {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
}

.tonv-dash-wrap .tr { color: var(--brand); font-weight: 700; }
.tonv-dash-wrap .en { color: var(--mut); font-weight: 600; display: block; }

.tonv-dash-wrap .tonv-hdr,
.tonv-dash-wrap .tonv-panel {
    background: linear-gradient(180deg, #ffffff 0%, #faf6fc 100%);
    border-radius: .9rem;
    border: 1px solid var(--line);
    box-shadow: 0 .6rem 1.4rem rgba(20, 2, 20, 0.28);
}

.tonv-dash-wrap .tonv-hdr {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: .5rem 1rem;
    flex: none;
}

.tonv-dash-wrap .hl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
}

.tonv-dash-wrap .org-badge {
    background: var(--brand);
    color: #ffffff;
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: .12em;
    padding: .35rem .65rem;
    border-radius: .5rem;
    flex: none;
}

.tonv-dash-wrap .ttl {
    text-align: center;
    font-size: 2.15rem;
    line-height: 1.1;
    font-weight: 800;
    margin: 0;
    letter-spacing: .01em;
    color: var(--brand);
}

.tonv-dash-wrap .ttl .en {
    display: inline;
    font-weight: 700;
    color: var(--mut);
}

.tonv-dash-wrap .clock {
    justify-self: end;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.tonv-dash-wrap .year-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .4rem;
    margin-bottom: .2rem;
}

.tonv-dash-wrap .year-bar label {
    font-size: .72rem;
    font-weight: 700;
    color: var(--mut);
    margin: 0;
    cursor: pointer;
}

.tonv-dash-wrap .year-select {
    padding: .2rem .55rem;
    border-radius: .5rem;
    border: 1px solid #cbb6d1;
    background: #ffffff;
    color: var(--brand);
    font-weight: 800;
    font-size: .82rem;
    cursor: pointer;
}

.tonv-dash-wrap .year-select:focus {
    outline: none;
    border-color: var(--brand);
}

.tonv-dash-wrap .clock b { font-size: 1.25rem; display: block; color: var(--brand); line-height: 1.08; }
.tonv-dash-wrap .clock span { font-size: .74rem; color: var(--mut); }
.tonv-dash-wrap .clock #dt,
.tonv-dash-wrap .clock #dte { display: block; line-height: 1.15; }

.tonv-dash-wrap .tonv-main {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    gap: .65rem;
}

.tonv-dash-wrap .tonv-panel {
    padding: .65rem .8rem;
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
}

.tonv-dash-wrap .span-5 { grid-column: span 5; }
.tonv-dash-wrap .span-4 { grid-column: span 4; }
.tonv-dash-wrap .span-3 { grid-column: span 3; }

.tonv-dash-wrap h2 {
    font-size: 1.18rem;
    margin: 0 0 .4rem;
    display: flex;
    align-items: center;
    gap: .45rem;
    flex: none;
    line-height: 1.12;
    color: var(--tx);
}

.tonv-dash-wrap h2 .en { font-size: 1em; line-height: 1.12; }

.tonv-dash-wrap h2 .ic {
    width: 2rem;
    height: 2rem;
    border-radius: .5rem;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    background: var(--accent-soft);
    color: var(--brand);
    flex: none;
}

.tonv-dash-wrap .body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.tonv-dash-wrap .total {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--brand-soft);
    border: 1px solid var(--line);
    border-left: .35rem solid var(--brand);
    border-radius: .65rem;
    padding: .35rem .8rem;
    font-size: 1.08rem;
}

.tonv-dash-wrap .total .en { font-size: .95em; }

.tonv-dash-wrap .total .n {
    font-size: 1.85rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: var(--brand);
}

.tonv-dash-wrap .grid {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: .4rem;
}

.tonv-dash-wrap .tile {
    border: 1px solid var(--line);
    background: #ffffff;
    border-radius: .6rem;
    padding: .32rem .48rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.tonv-dash-wrap .tile::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: .22rem;
    background: var(--brand);
}

.tonv-dash-wrap .tile .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tonv-dash-wrap .oi {
    width: 1.85rem;
    height: 1.85rem;
    flex: none;
}

.tonv-dash-wrap .tile .n {
    font-size: 1.22rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--tx);
}

.tonv-dash-wrap .tile .l {
    font-size: .66rem;
    line-height: 1.15;
    color: var(--tx);
}

.tonv-dash-wrap .bar,
.tonv-dash-wrap .hrow .t {
    background: var(--track);
    border-radius: .3rem;
    overflow: hidden;
}

.tonv-dash-wrap .bar { height: .26rem; margin-top: .22rem; }

.tonv-dash-wrap .bar i,
.tonv-dash-wrap .hrow .t i {
    display: block;
    height: 100%;
    background: var(--brand);
    width: 0;
    transition: width .5s ease;
}

.tonv-dash-wrap .rows {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.tonv-dash-wrap .hrow {
    display: grid;
    grid-template-columns: 9.5rem minmax(0, 1fr) 3.4rem;
    align-items: center;
    gap: .45rem;
    font-size: .7rem;
}

.tonv-dash-wrap .hrow .nm {
    display: flex;
    align-items: center;
    gap: .38rem;
    line-height: 1.15;
    color: var(--tx);
}

.tonv-dash-wrap .hrow .oi { width: 1.45rem; height: 1.45rem; }
.tonv-dash-wrap .hrow .t { height: .68rem; border-radius: .4rem; }
.tonv-dash-wrap .hrow .t i { border-radius: .4rem; }
.tonv-dash-wrap .hrow b.v {
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: var(--tx);
    font-size: .78rem;
}

.tonv-dash-wrap .ld {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.tonv-dash-wrap .dn {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    gap: .65rem;
    border: 1px solid var(--line);
    border-left: .3rem solid var(--brand);
    background: #ffffff;
    border-radius: .65rem;
    padding: .38rem .55rem;
}

.tonv-dash-wrap .ld-card-v2 { gap: .7rem; }

.tonv-dash-wrap .ld-chart-box {
    position: relative;
    width: 4.4rem;
    height: 4.4rem;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
}

.tonv-dash-wrap .ld-chart-box canvas {
    width: 100% !important;
    height: 100% !important;
}

.tonv-dash-wrap .ld-center-stat {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    line-height: 1.05;
}

.tonv-dash-wrap .ld-center-stat b {
    font-size: .78rem;
    font-weight: 800;
    color: var(--brand);
    font-variant-numeric: tabular-nums;
}

.tonv-dash-wrap .ld-center-stat span {
    font-size: .5rem;
    font-weight: 700;
    color: var(--mut);
    margin-top: 1px;
}

.tonv-dash-wrap .dn .info { font-size: .7rem; flex: 1; min-width: 0; }
.tonv-dash-wrap .dn .head {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .7rem;
    line-height: 1.15;
}

.tonv-dash-wrap .dn .head .oi { width: 1.5rem; height: 1.5rem; }
.tonv-dash-wrap .dn .head span { color: var(--tx); }

.tonv-dash-wrap .lv {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: .22rem;
    padding: .18rem .42rem;
    border-radius: .35rem;
    font-size: .68rem;
    line-height: 1.15;
    gap: .3rem;
}

.tonv-dash-wrap .lv.a {
    background: #f3eaf5;
    border-left: .22rem solid var(--brand);
}

.tonv-dash-wrap .lv.b {
    background: #f6f3f8;
    border-left: .22rem solid #8c6b8b;
}

.tonv-dash-wrap .lv b.v {
    font-size: .86rem;
    font-variant-numeric: tabular-nums;
    color: var(--tx);
}

.tonv-dash-wrap .dd-split {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: .45rem;
}

.tonv-dash-wrap .gauges {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .35rem;
}

.tonv-dash-wrap .g {
    border: 1px solid var(--line);
    background: #ffffff;
    border-radius: .6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 4rem .25rem .5rem;
    min-height: 0;
}

.tonv-dash-wrap .g svg {
    width: 3.7rem;
    height: 3.7rem;
    flex: none;
}

.tonv-dash-wrap .g .v {
    font-size: 1.15rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--brand);
}

.tonv-dash-wrap .g .l { font-size: .62rem; line-height: 1.2; }

.tonv-dash-wrap .donor-rate-box {
    border: 1px solid var(--line);
    border-left: .3rem solid var(--brand);
    background: #ffffff;
    border-radius: .6rem;
    padding: .45rem .55rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}

.tonv-dash-wrap .dr-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .35rem;
    flex: none;
}

.tonv-dash-wrap .dr-title {
    font-size: .72rem;
    line-height: 1.15;
}

.tonv-dash-wrap .dr-sub {
    font-size: .58rem;
    color: var(--mut);
    margin-top: .1rem;
}

.tonv-dash-wrap .dr-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    white-space: nowrap;
}

.tonv-dash-wrap .dr-chart-wrap {
    position: relative;
    flex: 1;
    min-height: 0;
    width: 100%;
    margin-top: .25rem;
}

.tonv-dash-wrap .dr-chart-wrap canvas {
    width: 100% !important;
    height: 100% !important;
}

.tonv-dash-wrap .donor {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    grid-template-rows: minmax(0, 1fr);
    gap: .65rem;
    align-items: center;
}

.tonv-dash-wrap .card3d {
    width: 100%;
    height: auto;
    max-height: 100%;
    aspect-ratio: 1.6;
    align-self: center;
    min-width: 0;
    border-radius: .85rem;
    background: linear-gradient(135deg, #4a0849 0%, #7d247b 100%);
    color: #ffffff;
    padding: .55rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 .6rem 1.2rem rgba(74, 8, 73, 0.28);
}

.tonv-dash-wrap .card3d .top,
.tonv-dash-wrap .card3d .s { font-size: .6rem; line-height: 1.15; opacity: .9; }

.tonv-dash-wrap .card3d .chip {
    width: 1.65rem;
    height: 1.2rem;
    border-radius: .28rem;
    background: linear-gradient(135deg, #f3d28a, #c8963e);
}

.tonv-dash-wrap .card3d .big {
    font-size: 1.35rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.tonv-dash-wrap .yb {
    align-self: stretch;
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: stretch;
    gap: .16rem;
}

.tonv-dash-wrap .yc {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    font-size: .5rem;
}

.tonv-dash-wrap .yc .v {
    white-space: nowrap;
    font-weight: 700;
    color: var(--tx);
    margin-bottom: .15rem;
    font-variant-numeric: tabular-nums;
}

.tonv-dash-wrap .yc .b {
    width: 100%;
    height: 0;
    border-radius: .3rem .3rem 0 0;
    background: linear-gradient(180deg, #8b3689, #4a0849);
    transition: height .8s ease;
}

.tonv-dash-wrap .yc.cur .b {
    background: linear-gradient(180deg, #b84ab6, #2c032b);
}

.tonv-dash-wrap .yc .y {
    color: var(--mut);
    white-space: nowrap;
    font-size: .52rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-top: .28rem;
}

.tonv-dash-wrap .live {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .45rem .9rem;
    border-radius: .7rem;
    background: var(--brand);
    color: #ffffff;
    user-select: none;
}

.tonv-dash-wrap .live .dot {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.tonv-dash-wrap .live .dot::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    transform: translate(-50%, -50%);
}

.tonv-dash-wrap .live .dot::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-bottom-color: transparent;
    transform: translate(-50%, -50%);
    animation: tonvBroadcastWave 1.8s ease-out infinite;
}

.tonv-dash-wrap .live > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.08;
    text-align: center;
}

.tonv-dash-wrap .live .tr,
.tonv-dash-wrap .live .en {
    display: block;
    color: #ffffff;
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
}

.tonv-dash-wrap .live .en {
    font-size: .68rem;
    letter-spacing: .14em;
    opacity: .92;
    margin-top: 2px;
}

@keyframes tonvBroadcastWave {
    0% { transform: translate(-50%, -50%) scale(0.75); opacity: 0.9; }
    75% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

.tonv-dash-wrap .tonv-ftr {
    flex: none;
    display: flex;
    justify-content: center;
}

.tonv-dash-wrap .src {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 2rem;
    padding: .22rem 1rem;
    font-size: .88rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.tonv-dash-wrap .src a {
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
}

.tonv-dash-wrap .src a:hover { text-decoration: underline; }

@media (min-width: 1200px) and (min-height: 700px) {
    .tonv-dash-wrap {
        height: 100vh;
        overflow: hidden;
    }
}

@media (max-width: 1199px) {
    .tonv-dash-wrap { font-size: 14px; height: auto; overflow: visible; }
    .tonv-dash-wrap .tonv-hdr { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .tonv-dash-wrap .clock { justify-self: center; text-align: center; }
    .tonv-dash-wrap .year-bar { justify-content: center; }
    .tonv-dash-wrap .ttl { font-size: 1.65rem; }
    .tonv-dash-wrap .tonv-main { grid-template-columns: 1fr; grid-template-rows: none; }
    .tonv-dash-wrap .span-5,
    .tonv-dash-wrap .span-4,
    .tonv-dash-wrap .span-3 { grid-column: 1 / -1; min-height: 14rem; }
    .tonv-dash-wrap .dd-split { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
    .tonv-dash-wrap { font-size: 13px; padding: .5rem; gap: .5rem; }
    .tonv-dash-wrap .ttl { font-size: 1.25rem; }
    .tonv-dash-wrap .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
    .tonv-dash-wrap .hrow { grid-template-columns: 7.2rem minmax(0, 1fr) 3rem; gap: .35rem; }
    .tonv-dash-wrap .gauges { grid-template-columns: 1fr; }
    .tonv-dash-wrap .donor { grid-template-columns: 1fr; grid-template-rows: auto auto; }
    .tonv-dash-wrap .card3d { max-width: 17rem; }
    .tonv-dash-wrap .yb { height: 9rem; }
}

.dr-foot {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.35;
    color: #655266;
}

.dr-foot b {
    color: #2b1a2c;
    font-weight: 700;
}

.dr-foot small {
    font-size: 10px;
    opacity: 0.9;
}
/* Uçuşan kalplerin kapsayıcısı */
.hearts {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 20;
}

/* Yukarı doğru süzülen her bir kalp */
.hh {
    position: absolute;
    width: var(--sz, 1.5rem);
    height: var(--sz, 1.5rem);
    animation: tonvHf var(--d, 2s) ease-out forwards;
    filter: drop-shadow(0 .12rem .12rem rgba(120, 0, 40, .35));
}

@keyframes tonvHf {
    0% {
        transform: translate(0, 0) scale(.3) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--dx, 0rem), -9rem) scale(1.1) rotate(var(--r, 0deg));
        opacity: 0;
    }
}

/* Kart üstüne gelince / aktifken kalp atışı animasyonu */
.card3d.on {
    animation: tonvBt .85s infinite;
}

@keyframes tonvBt {
    0%, 100% { transform: scale(1); }
    12% { transform: scale(1.06); }
    24% { transform: scale(1); }
    34% { transform: scale(1.035); }
    50% { transform: scale(1); }
}                                                                                                                                                                                                                                                                                            Kendi sayfanın mevcut kart ve animasyon kurallarına göre başka hangi parçayı ayıklayalım?
