﻿* {
    box-sizing: border-box;
    margin: 0;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    background: #0d0d12;
    font-family: -apple-system, "Segoe UI", sans-serif;
}

#phone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    overflow: hidden;
    width: 390px;
    height: 844px;
    border-radius: 44px;
    color: white;
    touch-action: none;
    user-select: none;
    background: url("wallpaper.jpg") center / cover, linear-gradient(160deg, #3a1c71, #d76d77 60%, #ffaf7b);
}

    #phone::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, .2);
    }

/* telefonda açılınca köşeler yuvarlak olmasın */
@media (max-width: 520px) {
    #phone {
        border-radius: 0;
    }
}

.ust {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;
    padding: 16px 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
}

.durum {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bilgi,
.buton,
.yukari {
    transition: opacity .3s;
}

.bilgi {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    text-align: center;
}

#saat {
    font-size: 88px;
    font-weight: 300;
    letter-spacing: -2px;
    line-height: 1;
}

#tarih {
    font-size: 20px;
    margin-top: 8px;
}

#phone .buton {
    position: absolute;
    bottom: 60px;
    width: 46px !important;
    height: 46px !important;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(16px);
}

    #phone .buton:active {
        background: rgba(255, 255, 255, .4);
    }

    #phone .buton svg {
        width: 22px !important;
        height: 22px !important;
    }

.sol {
    left: 40px;
}

.sag {
    right: 40px;
}

.yukari {
    position: absolute;
    bottom: 74px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 14px;
    opacity: .85;
}

.cizgi {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
    width: 150px;
    height: 24px;
    background: none;
    cursor: pointer;
}

    .cizgi::after {
        content: "";
        position: absolute;
        left: 10px;
        right: 10px;
        bottom: 10px;
        height: 5px;
        border-radius: 3px;
        background: #fff;
    }

#phone.acildi .bilgi,
#phone.acildi .buton,
#phone.acildi .yukari {
    opacity: 0;
    pointer-events: none;
}

/* şifre ekranı */
#sifre {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 110px;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(28px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(40px);
    transition: opacity .3s, transform .3s;
}

    #sifre.acik {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

.sifre-baslik {
    font-size: 18px;
    margin-bottom: 22px;
}

#noktalar {
    display: flex;
    gap: 18px;
    height: 16px;
}

    #noktalar i {
        width: 13px;
        height: 13px;
        border: 1.5px solid #fff;
        border-radius: 50%;
    }

        #noktalar i.dolu {
            background: #fff;
        }

    #noktalar.titre {
        animation: titre .4s;
    }

@keyframes titre {
    25% {
        transform: translateX(-12px);
    }

    75% {
        transform: translateX(12px);
    }
}

#ipucu {
    height: 20px;
    margin: 14px 0 18px;
    font-size: 13px;
    opacity: .85;
}

#tuslar {
    display: grid;
    grid-template-columns: repeat(3, 72px);
    gap: 14px;
}

    #tuslar button {
        height: 72px;
        border-radius: 50%;
        border: 0;
        background: rgba(255, 255, 255, .18);
        color: #fff;
        font-size: 28px;
        font-weight: 300;
    }

        #tuslar button:active {
            background: rgba(255, 255, 255, .4);
        }

    #tuslar .sifir {
        grid-column: 2;
    }

.iptal {
    position: absolute;
    bottom: 40px;
    right: 36px;
    border: 0;
    background: none;
    color: #fff;
    font-size: 16px;
}

/* ana ekran */
#ana {
    position: absolute;
    inset: 0;
    z-index: 6;
    padding: 66px 18px 0;
    background: rgba(0, 0, 0, .25);
    backdrop-filter: blur(28px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s;
}

    #ana.acik {
        opacity: 1;
        pointer-events: auto;
    }

.izgara {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 88px;
    gap: 0 8px;
}

.uyg {
    justify-self: center;
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border: 0;
    background: none;
    color: #fff;
    font-size: 11px;
    text-decoration: none;
}

.ikon {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #6b6f7a, #3b3e47);
    font-size: 24px;
    font-weight: 600;
}

    .ikon img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .ikon.takvim {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #fff;
        color: #000;
    }

        .ikon.takvim .tk-gun {
            margin-top: 3px;
            font-size: 10px;
            font-weight: 600;
            line-height: 1;
            color: #ff3b30;
        }

        .ikon.takvim .tk-sayi {
            font-size: 34px;
            font-weight: 300;
            line-height: 1.05;
        }

/* widget'lar */
.widget {
    grid-column: span 2;
    grid-row: span 2;
    height: 165px;
    border-radius: 24px;
    overflow: hidden;
}

.hava {
    position: relative;
    padding: 16px 18px;
    background: linear-gradient(160deg, rgba(70, 130, 210, .8), rgba(40, 80, 160, .8));
}

    .hava svg {
        position: absolute;
        top: 14px;
        right: 14px;
    }

#w-sehir {
    font-size: 16px;
    font-weight: 600;
}

#w-derece {
    font-size: 44px;
    font-weight: 300;
    line-height: 1.15;
}

#w-durum {
    position: absolute;
    left: 18px;
    bottom: 36px;
    font-size: 13px;
}

#w-min {
    position: absolute;
    left: 18px;
    bottom: 16px;
    font-size: 13px;
    opacity: .85;
}

.foto-w {
    background: url("gguk.jpg") center / cover, linear-gradient(160deg, #5b6170, #2c303b);
}

/* dock */
.dock {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 26px;
    display: flex;
    justify-content: space-around;
    padding: 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(16px);
}

/* uygulama ekranı */
#uygulama {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: flex;
    flex-direction: column;
    padding-top: 50px;
    background: #0f0f14;
    opacity: 0;
    pointer-events: none;
    transform: scale(.92);
    transition: opacity .25s, transform .25s;
}

    #uygulama.acik {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

.u-ust {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 12px;
    font-size: 20px;
    font-weight: 600;
}

#geri {
    border: 0;
    background: none;
    color: #4da3ff;
    font-size: 17px;
    font-weight: 400;
}

.u-icerik {
    flex: 1;
    overflow: auto;
    touch-action: pan-y;
    padding: 0 14px 50px;
}

.albumler {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.album {
    border: 0;
    background: none;
    color: #fff;
    text-align: left;
    font-size: 14px;
}

    .album b {
        display: block;
        margin-top: 6px;
        font-weight: 500;
    }

    .album small {
        color: #9a9aa6;
        font-size: 12px;
    }

.kapak {
    display: block;
    aspect-ratio: 1;
    border-radius: 12px;
}

.fg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.kare {
    aspect-ratio: 1;
    border: 0;
    padding: 0;
}

.buyuk {
    aspect-ratio: 3 / 4;
    border-radius: 14px;
}

.bos {
    padding-top: 60px;
    text-align: center;
    color: #9a9aa6;
}
.satir {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 4px;
    border: 0;
    border-bottom: 1px solid #26262e;
    background: none;
    color: #fff;
    text-align: left;
    font-size: 16px;
}

    .satir b {
        display: block;
        font-weight: 600;
    }

    .satir small {
        display: block;
        margin-top: 2px;
        color: #9a9aa6;
        font-size: 13px;
    }

.s-g {
    flex: 1;
    min-width: 0;
}

.s-ust {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

    .s-ust small {
        margin: 0;
    }

.s-alt {
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #9a9aa6;
    font-size: 14px;
}

.rozet {
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #25d366;
    color: #000;
    font-size: 12px;
    font-weight: 700;
}

.av {
    flex: none;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
}

.not-metin {
    padding: 6px 2px;
    font-size: 17px;
    line-height: 1.5;
}

.cagri.kirmizi b {
    color: #ff453a;
}

.tweet {
    display: flex;
    gap: 12px;
    padding: 12px 2px;
    border-bottom: 1px solid #26262e;
}

.t-g {
    flex: 1;
    min-width: 0;
}

.t-ust span {
    color: #9a9aa6;
    font-size: 14px;
}

.t-metin {
    margin: 4px 0 8px;
    font-size: 15px;
    line-height: 1.4;
    white-space: pre-wrap;
}

.t-alt {
    display: flex;
    justify-content: space-between;
    max-width: 260px;
    color: #9a9aa6;
    font-size: 13px;
}

    .t-alt span {
        display: flex;
        align-items: center;
        gap: 6px;
    }

.post {
    margin-bottom: 22px;
}

.p-ust {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 2px 8px;
}

    .p-ust .av {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

.p-resim {
    aspect-ratio: 1;
    border-radius: 4px;
}

.p-ikon {
    display: flex;
    gap: 16px;
    padding: 10px 2px 6px;
}

    .p-ikon svg {
        width: 24px;
        height: 24px;
    }

.p-begeni {
    padding: 0 2px;
    font-size: 14px;
    font-weight: 600;
}

.p-acik {
    padding: 4px 2px;
    font-size: 14px;
    line-height: 1.4;
}

.p-zaman {
    padding: 0 2px;
    color: #9a9aa6;
    font-size: 12px;
}

.sohbet {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.balon {
    max-width: 78%;
    padding: 7px 10px 5px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.35;
}

    .balon small {
        display: block;
        margin-top: 2px;
        text-align: right;
        font-size: 11px;
        opacity: .65;
    }

    .balon.them {
        align-self: flex-start;
        background: #202c33;
    }

    .balon.me {
        align-self: flex-end;
        background: #005c4b;
    }

.tk-baslik {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 18px;
    text-transform: capitalize;
}

    .tk-baslik button {
        padding: 0 10px;
        border: 0;
        background: none;
        color: #ff453a;
        font-size: 26px;
    }

.tk-izgara {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 6px;
    text-align: center;
}

    .tk-izgara small {
        padding-bottom: 4px;
        color: #9a9aa6;
        font-size: 12px;
    }

.gun {
    position: relative;
    display: grid;
    place-items: center;
    height: 38px;
    border-radius: 50%;
    font-size: 17px;
}

    .gun.bugun {
        background: #ff453a;
        color: #fff;
        font-weight: 600;
    }

    .gun i {
        position: absolute;
        bottom: 3px;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #9a9aa6;
    }

    .gun.bugun i {
        background: #fff;
    }

.tk-liste {
    margin-top: 18px;
}