/* The page around the results: the AHG bar on top, a quiet line at the bottom. */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: transparent; }
a { color: var(--bordo-hi); }

.sayfa-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: calc(16px + env(safe-area-inset-top)) max(20px, calc((100vw - 1240px) / 2)) 16px;
    border-bottom: 1px solid var(--line);
    background: rgba(10, 11, 15, .55);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.sayfa-head__brand { font-size: 22px; }
.sayfa-head__tag { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

.sayfa-main { flex: 1; width: 100%; padding: 36px 20px 44px; }

.sayfa-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 16px max(20px, calc((100vw - 1240px) / 2)) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.sayfa-foot p { margin: 0; }
.sayfa-foot a { color: var(--muted); text-decoration: none; }
.sayfa-foot a:hover, .sayfa-foot a:focus { color: var(--text); }

@media (max-width: 560px) {
    .sayfa-head { padding-left: 16px; padding-right: 16px; }
    .sayfa-head__brand { font-size: 19px; }
    .sayfa-main { padding: 22px 14px 32px; }
    .sayfa-foot { padding-left: 16px; padding-right: 16px; padding-bottom: calc(72px + env(safe-area-inset-bottom)); justify-content: center; text-align: center; }
}

/* Broadcast views: nothing but the results. */
.ahgsy-yayin body { overflow: hidden; }
.ahgsy-yayin .sayfa-head, .ahgsy-yayin .sayfa-foot { display: none; }
.ahgsy-yayin .sayfa-main { padding: 0; }
