:root {
    color-scheme: light;
    --bg: #eef2f6;
    --surface: #ffffff;
    --text: #15202b;
    --muted: #5c6b7a;
    --line: #d5dee8;
    --header: #f7f9fc;
    --header-text: #15202b;
    --header-muted: #4d5d6e;
    --header-hover: rgba(15, 23, 42, 0.06);
    --header-line: #d5dee8;
    --accent: #5C33AB;
    --accent-2: #8B5AD4;
    --brand: #5C33AB;
    --fill: linear-gradient(120deg, #452484 0%, #5C33AB 52%, #7344C2 100%);
    --pill: #efe8f7;
    --danger: #9b2335;
    --shadow: 0 18px 40px rgba(15, 28, 45, 0.08);
    --ease: cubic-bezier(.22, .8, .28, 1);
}
html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0c1219;
    --surface: #161e28;
    --text: #e7edf5;
    --muted: #9aabbd;
    --line: #2a3644;
    --header: #070d16;
    --header-text: #f4f7fb;
    --header-muted: #d5deea;
    --header-hover: rgba(255, 255, 255, 0.08);
    --header-line: rgba(255, 255, 255, 0.16);
    --accent: #D4C4F8;
    --accent-2: #A78BFA;
    --brand: #8B5AD4;
    --pill: #2a2438;
    --danger: #ff8b98;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--muted) 72%, var(--line)) var(--bg);
}
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--muted) 65%, var(--line));
    border: 3px solid var(--bg);
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
::-webkit-scrollbar-corner { background: var(--bg); }
body {
    margin: 0;
    min-height: 100vh;
    background-color: var(--bg);
    background-image:
        radial-gradient(900px 420px at 0% -10%, rgba(92, 51, 171, 0.18), transparent 55%),
        radial-gradient(700px 380px at 100% 0%, rgba(139, 90, 212, 0.14), transparent 50%),
        linear-gradient(rgba(92, 51, 171, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(92, 51, 171, 0.045) 1px, transparent 1px);
    background-size: auto, auto, 48px 48px, 48px 48px;
    color: var(--text);
    font: 16px/1.6 "Segoe UI", system-ui, sans-serif;
    text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }
.site-header {
    background: color-mix(in srgb, var(--header) 92%, transparent);
    color: var(--header-text);
    position: sticky;
    top: 0;
    z-index: 5;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid var(--header-line);
}
html[data-theme="dark"] .site-header { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #5C33AB 18%, #8B5AD4 50%, #C4B5FD 82%, transparent);
    pointer-events: none;
}
.bar, .categories, main, .site-footer, .notice { width: min(1400px, calc(100% - 64px)); margin: 0 auto; }
.bar { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand {
    color: var(--header-text);
    font-weight: 750;
    font-size: 1.25rem;
    letter-spacing: -0.04em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.brand span {
    background: linear-gradient(100deg, #452484, #5C33AB 42%, #8B5AD4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
html[data-theme="dark"] .brand span { background-image: linear-gradient(100deg, #F4ECFF, #D4C4F8 58%, #C4B5FD); }
.search { flex: 1; display: flex; align-items: center; gap: 8px; }
.search input, input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    border-radius: 12px;
    padding: 10px 12px;
    font: inherit;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.search input { flex: 1; width: auto; min-width: 0; }
.site-header .search input {
    background: color-mix(in srgb, var(--header-text) 6%, transparent);
    border-color: var(--header-line);
    color: var(--header-text);
}
.site-header .search input::placeholder { color: color-mix(in srgb, var(--header-text) 55%, transparent); }
.search input:focus, input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 28%, transparent);
}
.account { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.account a, .account button, button {
    color: var(--header-text);
    background: transparent;
    border: 0;
    font: inherit;
    cursor: pointer;
    appearance: none;
}
.account a, .categories a, .admin-nav a, .pill, .actions button, .text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.account a {
    border-radius: 999px;
    padding: 6px 10px;
    transition: background .2s var(--ease), transform .2s var(--ease);
}
.account a:hover { background: var(--header-hover); }
.account .button, button[type="submit"]:not(.theme-toggle):not(.ghost):not(.text-link):not(.icon-btn), .auth button, .stack button, .install button, .comment-form button[type="submit"] {
    background: var(--fill);
    color: white;
    border-radius: 999px;
    padding: 8px 14px;
    transition: transform .18s var(--ease), filter .18s var(--ease), background .18s;
}
button[type="submit"]:not(.theme-toggle):not(.ghost):not(.text-link):not(.icon-btn):hover, .account .button:hover, .comment-form button[type="submit"]:hover { filter: brightness(1.08); transform: translateY(-1px); }
button:active { transform: scale(0.97); }
.theme-toggle, .account .ghost {
    border: 1px solid var(--header-line) !important;
    background: transparent !important;
    color: var(--header-text) !important;
    border-radius: 999px;
    padding: 6px 12px !important;
}
.categories { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 8px 0 16px; scrollbar-width: none; }
.categories::-webkit-scrollbar { display: none; }
.categories a {
    color: var(--header-muted);
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 6px 12px;
    white-space: nowrap;
    transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s;
}
.categories a.active, .categories a:hover {
    background: var(--header-hover);
    color: var(--header-text);
}
.categories a.active { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
main { padding: 32px 0 64px; }
.page-head h1, .article h1, .auth h1, .editor-head h1 { letter-spacing: -0.04em; margin: 0 0 8px; line-height: 1.15; }
.page-head, .article, .auth, .stack { animation: rise .5s var(--ease) both; }
.page-head p, .lead, .meta, .hint, small { color: var(--muted); }
.meta .who { color: var(--text); font-weight: 600; }
.meta .made { color: var(--muted); }
.body .seealso { margin-top: 22px; }
.hero, .card, .feed-card, .auth, .stack, .comment, .stats article {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
}
.hero, .card, .feed-card, .comment, .stats article {
    animation: rise .55s var(--ease) both;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.front {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    grid-template-rows: clamp(320px, calc(100svh - 250px), 440px);
    gap: 20px;
    align-items: stretch;
    margin-bottom: 28px;
}
.front-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; height: 100%; min-height: 0; }
.spot { display: flex; flex-direction: column; min-height: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: inherit; }
.spot .shot { position: relative; flex: 1 1 auto; min-height: 148px; overflow: hidden; }
.spot .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.spot-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: grid;
    gap: 2px;
    padding: 42px 12px 10px;
    background: linear-gradient(to top, rgba(5, 10, 18, .92) 0%, rgba(5, 10, 18, .55) 55%, transparent);
}
.spot-label { color: #E6D6FF; font-size: .72rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.spot-copy h2 { margin: 0; color: #fff; font-size: .98rem; line-height: 1.25; letter-spacing: -0.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spot-copy small { color: rgba(255, 255, 255, .78); }
.front-hero { position: relative; display: block; height: 100%; min-height: 0; border-radius: 18px; overflow: hidden; color: #fff; background: #102033; }
.front-hero .shot { position: absolute; inset: 0; }
.front-hero .shot img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.front-hero .shot-credit { display: none; }
.front-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 56px 22px 14px; background: linear-gradient(to top, rgba(5, 10, 18, .94) 0%, rgba(5, 10, 18, .72) 48%, transparent); }
.front-label { color: #E6D6FF; font-size: .75rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.front-copy h1 { color: #fff; margin: 6px 0 6px; font-size: clamp(1.25rem, 2vw, 1.85rem); line-height: 1.12; letter-spacing: -0.03em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.front-copy p { color: rgba(255, 255, 255, .9); margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.front-copy small { color: rgba(255, 255, 255, .75); }
.topics { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px 26px; margin: 44px 0 16px; padding: 8px 0 8px; }
.topic { flex: 0 0 96px; width: 96px; text-align: center; color: var(--muted); }
.topic img {
    width: 84px;
    height: 84px;
    margin: 0 auto;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 3px solid var(--brand);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 28%, transparent);
    animation: topic-float 2.8s ease-in-out infinite;
}
.topic:nth-child(2) img { animation-delay: .18s; }
.topic:nth-child(3) img { animation-delay: .36s; }
.topic:nth-child(4) img { animation-delay: .54s; }
.topic:nth-child(5) img { animation-delay: .72s; }
.topic:nth-child(6) img { animation-delay: .9s; }
.topic:nth-child(7) img { animation-delay: 1.08s; }
.topic:nth-child(8) img { animation-delay: 1.26s; }
.topic:nth-child(9) img { animation-delay: 1.44s; }
.topic:nth-child(10) img { animation-delay: 1.62s; }
.topic:hover img { animation-play-state: paused; transform: translateY(-6px) scale(1.08); box-shadow: 0 10px 18px color-mix(in srgb, var(--accent) 32%, transparent); }
.topic span { display: block; margin-top: 8px; font-size: .78rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topic:hover span { color: var(--accent); }
@keyframes topic-float {
    0%, 100% { transform: translateY(0); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 28%, transparent); }
    50% { transform: translateY(-5px); box-shadow: 0 8px 16px color-mix(in srgb, var(--brand) 42%, transparent), 0 0 0 4px color-mix(in srgb, var(--brand) 28%, transparent); }
}
.band {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 28px 0 18px;
}
.band h2 {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: -0.04em;
    line-height: 1.2;
    background: linear-gradient(100deg, var(--brand), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.band::after {
    content: "";
    flex: 1;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--accent-2) 35%, transparent), transparent);
}
.front-more { margin-top: 0; }
.grid.mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: stretch;
}
.grid.mosaic > .card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.grid.mosaic > .card:nth-child(9n+1),
.grid.mosaic > .card:nth-child(9n+2),
.grid.mosaic > .card:nth-child(9n+3) { grid-column: span 2; }
.grid.mosaic > .card:nth-child(9n+4) {
    grid-column: span 4;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}
.grid.mosaic > .card:nth-child(9n+4) .shot { flex: 1 1 auto; min-height: 220px; }
.grid.mosaic > .card:nth-child(9n+4) .shot img { height: 100%; min-height: 280px; object-fit: cover; }
.grid.mosaic > .card:nth-child(9n+4) h2 { font-size: 1.45rem; }
.grid.mosaic > .card:nth-child(9n+5),
.grid.mosaic > .card:nth-child(9n+6) { grid-column: span 2; align-self: start; }
.grid.mosaic > .card:nth-child(9n+5) .shot img,
.grid.mosaic > .card:nth-child(9n+6) .shot img { height: 168px; }
.grid.mosaic > .card:nth-child(9n+7),
.grid.mosaic > .card:nth-child(9n+8) { grid-column: span 3; }
.grid.mosaic > .card:nth-child(9n+7) .shot img,
.grid.mosaic > .card:nth-child(9n+8) .shot img { height: 240px; }
.grid.mosaic > .card:nth-child(9n) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(280px, 1.2fr) minmax(0, 1fr);
    align-items: stretch;
}
.grid.mosaic > .card:nth-child(9n) .shot { grid-column: 1; grid-row: 1 / span 3; }
.grid.mosaic > .card:nth-child(9n) .shot img { height: 100%; min-height: 240px; max-height: 340px; object-fit: cover; }
.grid.mosaic > .card:nth-child(9n) h2,
.grid.mosaic > .card:nth-child(9n) p,
.grid.mosaic > .card:nth-child(9n) small { grid-column: 2; }
.grid.mosaic > .card:nth-child(9n) h2 { margin-top: 22px; font-size: 1.4rem; }
.grid.mosaic > .card:nth-child(9n) small { margin-bottom: 18px; }
.hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; overflow: hidden; margin-bottom: 22px; color: inherit; }
.hero:hover, .card:hover, .feed-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.hero img, .card img, .feed-card img, .cover { transition: transform .6s var(--ease); }
.hero:hover img, .card:hover img, .feed-card:hover img { transform: scale(1.045); }
.hero img, .card img { width: 100%; object-fit: cover; background: #102033; }
.hero img { height: 320px; }
.hero div { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { overflow: hidden; color: inherit; display: block; }
.card img { height: 269px; }
.card .shot .pill {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 1;
    margin: 0;
    background: rgba(6, 10, 18, 0.78);
    color: #f8fafc;
}
.card h2, .card p, .card small { margin-left: 16px; margin-right: 16px; }
.card h2 { margin-top: 14px; }
.card h2, .feed-card h2, .hero h2 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.02em; }
.card p, .hero p, .feed-card p { color: var(--muted); }
.grid .card:nth-child(1) { animation-delay: .04s; }
.grid .card:nth-child(2) { animation-delay: .1s; }
.grid .card:nth-child(3) { animation-delay: .16s; }
.grid .card:nth-child(4) { animation-delay: .22s; }
.grid .card:nth-child(5) { animation-delay: .28s; }
.grid .card:nth-child(6) { animation-delay: .34s; }
.feed .feed-card:nth-child(2) { animation-delay: .06s; }
.feed .feed-card:nth-child(3) { animation-delay: .12s; }
.feed .feed-card:nth-child(4) { animation-delay: .18s; }
.feed .feed-card:nth-child(5) { animation-delay: .24s; }
.pill {
    display: inline-flex;
    background: var(--pill);
    color: var(--text);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.82rem;
    margin-top: 12px;
    width: fit-content;
}
.feed-page { max-width: 760px; margin-inline: auto; }
.step-btn {
    position: fixed;
    top: 46vh;
    z-index: 4;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
    cursor: pointer;
}
a.step-btn { text-decoration: none; }
.step-prev { left: max(12px, calc(50% - 438px)); }
.step-next { right: max(12px, calc(50% - 438px)); }
.step-btn .ico { width: 22px; height: 22px; }
.step-btn { transition: opacity .2s var(--ease), transform .18s var(--ease), border-color .18s; }
.step-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.step-btn:disabled, .step-btn.is-off { opacity: .38; pointer-events: none; }
.step-btn.is-away { opacity: 0; pointer-events: none; }
.neighbors { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.neighbor {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 74px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    color: var(--text);
}
.neighbor.next { justify-content: flex-end; text-align: right; }
.neighbor > span { display: grid; gap: 2px; min-width: 0; font-weight: 650; line-height: 1.3; }
.neighbor small { color: var(--muted); font-size: .74rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.neighbor.is-off { opacity: .45; }
.neighbor .ico { flex: none; }
.feed-page h1 { margin: 0 0 4px; font-size: 1.35rem; letter-spacing: -0.03em; }
.feed-page .topics { margin-top: 12px; }
.feed { display: grid; gap: 16px; }
.feed-card { display: grid; gap: 10px; padding: 16px; color: inherit; }
.feed-by { margin: 0; color: var(--muted); font-size: .92rem; }
.feed-by a { color: var(--text); font-weight: 700; }
.feed-card h2 { margin: 0; font-size: 1.2rem; }
.feed-card h2 a { color: inherit; }
.feed-card p { margin: 0; }
.feed-card .shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; object-fit: cover; background: #102033; }
.feed-meta { color: var(--muted); font-size: .88rem; }
.feed-find {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 4px;
    padding: 6px 6px 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}
.feed-find .ico { flex: none; color: var(--muted); }
.feed-find input {
    flex: 1;
    min-width: 0;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
}
.feed-find input:focus { outline: none; }
.feed-find button { height: 40px; padding: 0 16px; flex: none; }
.feed-query { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }
.feed-query a { color: var(--accent); }
.feed-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.feed-tags a {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--pill);
    color: var(--text);
    font-size: .82rem;
}
.feed-tags a:hover { color: var(--accent); }
.feed-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.feed-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; flex: none; }
.feed-actions form { display: inline-flex; margin: 0; }
.feed-actions .icon-btn {
    position: relative;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
}
.feed-actions .icon-btn::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    transform: translate(-50%, -50%) scale(.86);
    transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s;
    z-index: 0;
}
.feed-actions .icon-btn .ico { position: relative; z-index: 1; width: 22px; height: 22px; transform-origin: center; }
.feed-actions .icon-btn:hover,
.feed-actions .icon-btn:active {
    transform: none;
    background: transparent;
    color: var(--accent);
}
.feed-actions .icon-btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
    background: color-mix(in srgb, var(--accent) 16%, var(--surface));
    box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 22%, transparent);
}
.feed-actions .icon-btn:active::before { transform: translate(-50%, -50%) scale(.92); }
.feed-actions .icon-btn.is-on .ico { animation: icon-beat 1.6s ease-in-out infinite; }
.article { max-width: 760px; margin-inline: auto; }
.listen {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 18px auto 8px;
}
.listen-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 86%, transparent);
    box-shadow: 0 12px 32px color-mix(in srgb, var(--accent) 16%, transparent);
}
.listen-main, .listen-stop, .listen-rates button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    border-radius: 999px;
    height: 40px;
    padding: 0 16px;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    transition: transform .18s var(--ease), border-color .18s, background .18s, color .18s, box-shadow .18s;
}
.listen-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    line-height: 0;
    transform: translateY(-0.5px);
}
.listen-main [data-listen-label] { line-height: 1; }
.listen-main { position: relative; font-weight: 650; }
.listen-main::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid var(--accent);
    opacity: 0;
    pointer-events: none;
}
.listen-main:not(.is-on)::after { animation: listen-ping 2.4s ease-out infinite; }
.listen-main:hover, .listen-stop:hover, .listen-rates button:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 22%, transparent);
}
.listen-main.is-on {
    background: var(--fill);
    border-color: transparent;
    color: #fff;
    animation: listen-glow 1.5s ease-in-out infinite;
}
.listen-main.is-on .listen-glyph { animation: listen-eq .9s ease-in-out infinite; }
.listen-stop[hidden], .listen-glyph[hidden], .listen-note[hidden] { display: none; }
.listen .ico { display: block; width: 18px; height: 18px; }
.listen-rates {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: var(--surface);
}
.listen-rates button {
    border: 0;
    border-radius: 0;
    height: 40px;
    min-width: 46px;
    padding: 0 12px;
    justify-content: center;
    color: var(--muted);
    background: transparent;
}
.listen-rates button + button { border-left: 1px solid var(--line); }
.listen-rates button.is-on {
    background: color-mix(in srgb, var(--accent) 18%, var(--surface));
    color: var(--text);
}
.listen-note {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
    text-align: center;
}
@keyframes listen-ping {
    0% { transform: scale(1); opacity: .55; }
    100% { transform: scale(1.28); opacity: 0; }
}
@keyframes listen-glow {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, #fff 0%, transparent); }
    50% { box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 70%, transparent); }
}
@keyframes listen-eq {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}
.is-reading {
    background: color-mix(in srgb, var(--accent) 16%, transparent);
    border-radius: 8px;
    box-decoration-break: clone;
}
::highlight(spoken) {
    background-color: color-mix(in srgb, var(--accent) 34%, transparent);
    color: inherit;
}
.cover { width: 100%; height: auto; border-radius: 18px; margin: 18px 0; background: #102033; }
.body h2, .body h3 { letter-spacing: -0.02em; line-height: 1.28; }
.body h2 { margin: 1.55em 0 .4em; font-size: 1.35rem; }
.body h3 { margin: 1.2em 0 .35em; font-size: 1.12rem; }
.body p { margin: 0 0 .95em; }
.body ul { margin: .2em 0 1.05em; padding-left: 1.2em; display: grid; gap: .4em; }
.body li { padding-left: .15em; }
.body li::marker { color: var(--accent); }
.body strong { font-weight: 750; }
.body .video { margin: 18px 0; }
.body .video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; background: #102033; }
.body p { animation: rise .45s var(--ease) both; }
.body p:nth-of-type(2) { animation-delay: .05s; }
.body p:nth-of-type(3) { animation-delay: .1s; }
.actions, .inline, .admin-nav { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.actions button, .inline button, .admin-nav a {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 12px;
    transition: transform .18s var(--ease), border-color .18s, background .18s;
}
.actions button:hover, .admin-nav a:hover { transform: translateY(-1px); border-color: var(--accent); }
.comments { max-width: 760px; margin: 36px auto 0; }
.comment { padding: 14px; margin-top: 12px; }
.comment.reply { margin-left: 28px; }
.after { max-width: 760px; margin: 48px auto 0; display: grid; gap: 36px; }
.after .related, .after .comments { max-width: none; margin: 0; }
.after h2 { margin: 0; font-size: 1.25rem; letter-spacing: -0.03em; }
.related-list { display: grid; gap: 12px; margin-top: 14px; }
.related-item {
    display: grid;
    gap: 10px;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    color: inherit;
}
.related-link {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    color: inherit;
    text-decoration: none;
}
.related-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.related-item img { width: 168px; height: 112px; object-fit: cover; border-radius: 12px; background: #102033; }
.related-copy { display: grid; gap: 4px; min-width: 0; }
.related-copy .pill { margin: 0; }
.related-copy strong { font-size: 1.05rem; line-height: 1.3; letter-spacing: -0.02em; }
.related-copy p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.talk-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.talk-count {
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--pill);
    color: var(--text);
    font-size: .85rem;
    font-weight: 700;
}
.composer {
    display: grid;
    gap: 10px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
}
.composer label { font-weight: 650; }
.composer textarea { min-height: 120px; resize: vertical; }
.composer-bar { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.talk .comment-form button[type="submit"] {
    min-width: 168px;
    padding: 10px 28px;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 32%, transparent);
}
.talk .comment-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px color-mix(in srgb, var(--accent) 46%, transparent);
}
.replying { margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .9rem; }
.replying[hidden] { display: none; }
.replying strong { color: var(--text); }
.composer.guest { grid-template-columns: 1fr auto; align-items: center; }
.composer.guest p { margin: 0; color: var(--muted); }
.composer .enter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--fill);
    color: white;
    border-radius: 999px;
    padding: 8px 14px;
}
.thread { display: grid; gap: 12px; margin-top: 14px; }
.talk .comment {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin: 0;
}
.talk .comment header { display: flex; align-items: baseline; gap: 8px; }
.talk .comment header small { color: var(--muted); }
.talk .comment p { margin: 6px 0; }
.talk .comment.reply { margin: 12px 0 0; }
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--pill);
    color: var(--text);
    font-weight: 750;
}
.auth, .stack, .install { max-width: 560px; display: grid; gap: 8px; }
.install { margin: 40px auto; }
.notice {
    background: #e7f6ee;
    color: #135c38;
    padding: 12px 14px;
    border-radius: 12px;
    margin-top: 16px;
    animation: rise .4s var(--ease) both;
}
.notice.error, .danger { background: #fdecee; color: var(--danger); }
html[data-theme="dark"] .notice { background: #163528; color: #d7f5e5; }
html[data-theme="dark"] .notice.error { background: #3a1820; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.stats article { padding: 16px; }
.stats article:nth-child(2) { animation-delay: .06s; }
.stats article:nth-child(3) { animation-delay: .12s; }
.stats article:nth-child(4) { animation-delay: .18s; }
.stats strong { display: block; font-size: 1.6rem; letter-spacing: -0.04em; }
table { width: 100%; border-collapse: collapse; margin-top: 18px; }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.pager { display: flex; gap: 8px; margin-top: 20px; }
.pager a { padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; transition: transform .18s var(--ease), background .18s; }
.pager a:hover { transform: translateY(-1px); }
.pager a.active { background: var(--fill); color: white; }
.empty, .stream-sentinel { color: var(--muted); text-align: center; }
.stream-sentinel { margin: 8px 0 0; }
.site-footer { color: var(--muted); padding-bottom: 32px; }
.link { background: none; border: 0; color: var(--accent); padding: 0; cursor: pointer; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--muted); font-size: .92rem; margin: 0 0 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current="page"] { color: var(--text); }
.related { max-width: 760px; margin: 48px auto 8px; }
.related h2 { margin: 0 0 14px; letter-spacing: -0.03em; }
.field-hint { color: var(--muted); font-weight: 400; font-size: .85rem; }
.tags { display: flex; gap: 8px; padding: 0; list-style: none; flex-wrap: wrap; }
.tags li { background: var(--pill); border-radius: 999px; padding: 4px 10px; }
@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
.ico { width: 18px; height: 18px; flex: none; }
.i-bilim, .i-arama { color: #22d3ee; }
.i-teknoloji, .i-panel { color: #a78bfa; }
.i-otomobil { color: #fbbf24; }
.i-cevre { color: #34d399; }
.i-savunma-sanayi, .i-begen { color: #fb7185; }
.i-uretim-endustrisi { color: #fb923c; }
.i-oyun-dunyasi, .i-kayit { color: #c084fc; }
.i-yazilim { color: #38bdf8; }
.i-yapay-zeka { color: #a3e635; }
.i-gundem, .i-akis { color: #67e8f9; }
.i-yer-imi, .i-mail { color: #60a5fa; }
.i-giris, .i-kilit, .i-yorum { color: #f9a8d4; }
.i-istatistik { color: #38bdf8; }
.shot { position: relative; display: block; overflow: hidden; }
.shot img { width: 100%; height: 100%; }
.shot-credit {
    position: absolute;
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: rgba(6, 10, 18, 0.72);
    color: #f8fafc;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 0.72rem;
}
.hero .shot, .card .shot { display: block; }
.hero .shot img { height: 320px; }
.card .shot img { height: 269px; }
.feed-card .shot img { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 16px; object-fit: cover; }
.cover-frame { margin: 18px 0 8px; }
.cover-frame figcaption, .admin-cover figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 8px; }
.editor { max-width: 760px; margin-inline: auto; }
.editor-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 8px; }
.editor-head h1 { margin: 0; }
.editor-head p { margin: 6px 0 0; }
.editor .admin-nav { margin: 14px 0 18px; }
.editor-form { display: grid; gap: 14px; }
.editor-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    display: grid;
    gap: 8px;
}
.editor-panel h2 { margin: 0 0 4px; font-size: 1rem; letter-spacing: -0.02em; }
.editor-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.editor-row > div { display: grid; gap: 8px; align-content: start; }
.editor-cover { margin: 0; display: grid; gap: 8px; }
.editor-cover .shot img { width: 100%; height: 320px; object-fit: cover; border-radius: 18px; }
.editor-cover figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 8px; }
.editor-cover input[type="file"] { color: var(--muted); }
.editor-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.editor-bar .danger-form { margin: 0; }
.editor .comments { margin-top: 28px; }
.gate {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    max-width: 920px;
    margin: 8px auto 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    animation: rise .55s var(--ease) both;
}
.gate-aside {
    padding: 36px 28px;
    color: #f8fbff;
    background:
        radial-gradient(280px 160px at 15% 20%, rgba(196, 181, 253, 0.42), transparent 70%),
        radial-gradient(320px 200px at 82% 88%, rgba(92, 51, 171, 0.72), transparent 68%),
        linear-gradient(165deg, #2A1454, #120C22 72%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 460px;
}
.gate-aside h2 { margin: 14px 0 8px; letter-spacing: -0.04em; font-size: 2rem; }
.gate-aside p { margin: 0; color: #d5e2f2; }
.gate-marks { display: flex; gap: 8px; }
.gate-marks .ico { width: 36px; height: 36px; padding: 6px; border-radius: 12px; background: rgba(255,255,255,.08); }
.gate .auth { max-width: none; margin: 0; padding: 32px; border: 0; box-shadow: none; background: transparent; animation: none; }
.gate .auth h1, .auth label, .stats article { display: flex; align-items: center; gap: 8px; }
.table-wrap { overflow-x: auto; }
.row-actions { display: flex; gap: 8px; align-items: center; }
.row-actions form, .danger-form { margin: 0; }
.table-wrap .shot img { width: 92px; height: 58px; object-fit: cover; border-radius: 8px; }
.danger-form { margin-top: 18px; }
.danger-form button { background: var(--danger) !important; }
.admin-nav a.active { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.stats article { display: grid; gap: 4px; align-content: start; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
@media (max-width: 900px) {
    .bar { flex-wrap: wrap; padding: 12px 0; }
    .search { order: 3; flex-basis: 100%; }
    .hero, .grid, .grid.mosaic, .stats, .gate, .editor-row, .front { grid-template-columns: 1fr; }
    .grid.mosaic > .card:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
        display: block;
        align-self: stretch;
    }
    .grid.mosaic > .card:nth-child(n) .shot img { height: 210px; min-height: 0; max-height: none; }
    .grid.mosaic > .card:nth-child(n) .shot,
    .grid.mosaic > .card:nth-child(n) h2,
    .grid.mosaic > .card:nth-child(n) p,
    .grid.mosaic > .card:nth-child(n) small { grid-column: auto; grid-row: auto; }
    .front { grid-template-rows: none; }
    .front-hero { height: 240px; }
    .front-side { height: auto; }
    .spot { min-height: 160px; }
    .gate-aside { min-height: 200px; }
    .hero img, .hero .shot img { height: 210px; }
    .hero div { padding: 8px 16px 18px; }
}
.admin-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-top: 16px;
}
.admin-layout.pipeline { grid-template-columns: minmax(320px, 440px) minmax(0, 1fr); }
.panel-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
    margin-top: 16px;
}
.admin-layout > .panel-card { margin-top: 0; }
.panel-card h2 { margin: 0 0 12px; font-size: 1.05rem; letter-spacing: -0.03em; }
.panel-form { display: grid; gap: 12px; }
.panel-form > label, .filters label { display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }
.panel-form .check, .member-row .check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}
.panel-form .check input, .member-row input[type="checkbox"] { width: auto; }
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: end;
}
.filters input, .filters select { width: 100%; min-width: 0; }
.filters .grow { flex: 1 1 220px; }
.filters > label:not(.grow) { flex: 0 1 180px; }
.filters button, .link-quiet { height: 46px; }
.link-quiet { display: inline-flex; align-items: center; color: var(--muted); padding: 0 4px; }
.list-count { color: var(--muted); font-size: .88rem; margin: 12px 0 0; }
.bulk-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.bulk-bar .check { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: .92rem; }
.bulk-bar .check input, .pick-col input { width: 18px; height: 18px; accent-color: var(--accent); }
.bulk-bar .danger-btn:disabled { opacity: .45; cursor: not-allowed; }
.pick-col { width: 42px; text-align: center; }
.data-table { margin-top: 8px; }
.data-table th {
    font-size: .75rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 650;
}
.data-table td { vertical-align: middle; }
.data-table .title { font-weight: 650; color: var(--text); }
.admin-meta { display: block; color: var(--muted); font-size: .82rem; word-break: break-word; }
.admin-meta.danger { background: transparent; }
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: .78rem;
    border: 1px solid var(--line);
    white-space: nowrap;
}
.badge-live { color: #166534; background: #e7f6ee; border-color: #b7e4c7; }
.badge-work { color: #5C33AB; background: #f3eaff; border-color: #ddcff5; }
.badge-bad { color: #9b2335; background: #fdecee; border-color: #f3c2c8; }
.badge-mute { color: var(--muted); background: var(--pill); }
html[data-theme="dark"] .badge-live { color: #bbf7d0; background: #163528; border-color: #1f6b45; }
html[data-theme="dark"] .badge-work { color: #E6D6FF; background: #241838; border-color: #4C3478; }
html[data-theme="dark"] .badge-bad { color: #fecdd3; background: #3a1820; border-color: #6b2430; }
.member-list { display: grid; margin-top: 8px; }
.member-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.4fr) minmax(160px, .8fr) auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.member-row select { width: 100%; }
.row-actions { justify-content: flex-end; }
.danger-btn, .comment .danger-btn {
    background: transparent !important;
    color: var(--danger) !important;
    border: 1px solid color-mix(in srgb, var(--danger) 45%, var(--line)) !important;
}
.runs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.runs li { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.run-card { display: grid; gap: 12px; align-content: start; }
.pager span { color: var(--muted); padding: 6px 2px; }
.swal2-popup {
    background: var(--surface) !important;
    color: var(--text) !important;
    border: 1px solid var(--line);
    border-radius: 18px !important;
}
.swal2-title, .swal2-html-container { color: var(--text) !important; }
.swal2-timer-progress-bar { background: var(--fill) !important; }
.swal2-confirm {
    background: var(--fill) !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 18px color-mix(in srgb, #5C33AB 35%, transparent) !important;
}
.swal2-cancel { border-radius: 999px !important; }
.swal2-icon.swal2-warning { border-color: #C4B5FD !important; color: #C4B5FD !important; }
.swal2-icon.swal2-info,
.swal2-icon.swal2-question { border-color: #8B5AD4 !important; color: #8B5AD4 !important; }
.swal2-container.swal2-top-end {
    inset: 84px 16px auto auto !important;
    width: auto !important;
    height: auto !important;
    pointer-events: none !important;
}
.swal2-container.swal2-top-end .swal2-popup { pointer-events: auto !important; }
@media (max-width: 900px) {
    .admin-layout, .admin-layout.pipeline, .member-row { grid-template-columns: 1fr; }
    .neighbors { grid-template-columns: 1fr; }
    .step-btn { width: 40px; height: 40px; }
    .related-link { grid-template-columns: 112px minmax(0, 1fr); }
    .related-item img { width: 112px; height: 84px; }
    .composer.guest, .talk .comment.reply { grid-template-columns: 1fr; }
    .talk .comment.reply { margin-left: 0; }
}
.actions button.text-link:hover { border: 0; transform: none; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.actions button.text-link, a.text-link {
    background: transparent;
    color: var(--accent);
    border: 0;
    padding: 0;
    border-radius: 0;
    font-weight: 650;
    text-decoration: none;
}
.actions button.text-link.is-on { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.actions form { display: inline; }
.icon-actions { gap: 4px; }
#eylemler {
    justify-content: center;
    gap: 22px;
    margin: 22px 0 8px;
}
#eylemler .icon-btn {
    position: relative;
    display: grid;
    place-items: center;
}
#eylemler .icon-btn::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: transparent;
    transform: translate(-50%, -50%) scale(.92);
    transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s;
    z-index: 0;
}
#eylemler .icon-btn .ico {
    position: relative;
    z-index: 1;
    display: block;
    transform-origin: center;
}
#eylemler .icon-btn:hover {
    transform: none;
    background: transparent;
    color: var(--accent);
}
#eylemler .icon-btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
    background: color-mix(in srgb, var(--accent) 16%, var(--surface));
    box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 22%, transparent);
}
#eylemler .icon-btn:active::before { transform: translate(-50%, -50%) scale(.94); }
#eylemler .icon-btn.is-on .ico { animation: icon-beat 1.6s ease-in-out infinite; }
@keyframes icon-beat {
    0%, 100% { transform: scale(1); }
    45% { transform: scale(1.14); }
}
.actions button.icon-btn, button.icon-btn {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--text);
    box-shadow: none;
}
.icon-btn .ico { width: 40px; height: 40px; }
.actions button.icon-btn:hover, button.icon-btn:hover {
    transform: translateY(-2px);
    border: 0;
    background: transparent;
    color: var(--accent);
    text-decoration: none;
}
.icon-btn.is-on { color: var(--accent); }
.icon-btn.is-on .ico path { fill: currentColor; }
.related-item { position: relative; }
.related-item .icon-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    background: color-mix(in srgb, var(--surface) 90%, transparent);
}
.related-item .icon-btn .ico { width: 24px; height: 24px; }
.share-link, button.share-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--accent);
    background: transparent;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}
.share-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.share-note { margin: 12px 0 0; color: var(--muted); font-size: .88rem; }
.story-end { margin-top: 6px; }
.story-end-copy p { margin: 0 0 .75em; }
.story-end-copy p:last-child { margin-bottom: 0; }
.assist-fab {
    position: fixed;
    z-index: 4;
    top: max(188px, 32vh);
    right: max(16px, calc(50% - 492px));
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--surface);
    color: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 45%, var(--line)), 0 14px 34px color-mix(in srgb, var(--accent) 32%, transparent);
    animation: assist-float 3.4s ease-in-out infinite;
}
.assist-fab .ico { width: 32px; height: 32px; position: relative; z-index: 1; }
@media (max-width: 900px) {
    .assist-fab { top: auto; bottom: 24px; right: 16px; width: 56px; height: 56px; }
}
.assist-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: assist-pulse 2.4s ease-out infinite;
}
.assist-ring.delay { animation-delay: 1.2s; }
@keyframes assist-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
@keyframes assist-pulse {
    0% { transform: scale(.86); opacity: .75; }
    100% { transform: scale(1.55); opacity: 0; }
}
.sheet {
    width: min(460px, calc(100% - 32px));
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}
.sheet::backdrop { background: rgba(6, 10, 16, .62); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sheet-head h2 { margin: 0; font-size: 1.2rem; }
.sheet-close {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}
.sheet-close:hover { color: var(--text); }
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-grid a, .share-grid button {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: transparent;
    color: var(--text);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.share-grid a:hover, .share-grid button:hover { border-color: var(--accent); color: var(--accent); }
.sheet-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--fill);
    color: white;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.sheet-go:disabled { opacity: .7; cursor: wait; }
.assist-out {
    margin: 0;
    padding: 14px 16px;
    border-left: 3px solid var(--accent);
    background: var(--surface);
    border-radius: 0 14px 14px 0;
    white-space: pre-wrap;
}
.legal { max-width: 760px; margin-inline: auto; }
.legal h2 { margin: 1.4em 0 .4em; font-size: 1.2rem; }
.legal p { line-height: 1.6; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 10px; }
.legal-nav a { color: var(--muted); text-decoration: none; }
.legal-nav a:hover { color: var(--accent); }
.cookie-banner[hidden] { display: none; }
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 30;
    display: grid;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 18px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}
.cookie-banner p { margin: 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.social-login { display: grid; gap: 10px; margin: 8px 0 18px; }
.social-login .share-link { justify-content: center; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; color: var(--text); }
.social-login .share-link:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }
.social-login .i-google { width: 18px; height: 18px; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; margin: 4px 0 0; }
.auth-links a { color: var(--muted); }
.auth-links a:hover { color: var(--accent); }
.account-card {
    max-width: 640px;
    margin: 8px auto 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.account-card .contact-form label { display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }
.account-card input { background: color-mix(in srgb, var(--bg) 70%, var(--surface)); }
.account-card .contact-form button, .account-pass button { justify-self: end; }
.account-pass { display: grid; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.account-pass h2 { margin: 0; font-size: 1.05rem; }
.account-pass p { margin: 0; color: var(--muted); }
.brand-logo { height: 36px; width: auto; max-width: 180px; object-fit: contain; border-radius: 8px; }
.logo-field { display: grid; gap: 10px; }
.logo-preview { width: 72px; height: 72px; object-fit: contain; border-radius: 16px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 70%, var(--surface)); }
.repeat { display: grid; gap: 10px; }
.repeat-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 160px auto; gap: 10px; align-items: end; }
.repeat-extra { grid-template-columns: 180px minmax(0, 1fr) auto; }
.repeat-row .ghost, .set-panel > .ghost {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    border-radius: 999px;
    padding: 8px 14px;
}
.social-follow { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.social-follow a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
}
.social-follow a:hover { color: var(--accent); border-color: var(--accent); }
.site-extras { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 10px 0 0; padding: 0; list-style: none; color: var(--muted); }
.site-extras span { color: var(--text); }
@media (max-width: 800px) {
    .repeat-row, .repeat-extra { grid-template-columns: 1fr; }
}
.related-item .share { margin: 0 0 4px; }
.auth form { display: grid; gap: 8px; }
.auth form h2 { margin: 8px 0 0; font-size: 1rem; }
.assistant-page { max-width: 760px; margin-inline: auto; }
.assist-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.assist-head h1 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; letter-spacing: -0.04em; }
.assist-head p { margin: 0; color: var(--muted); }
.assist-left {
    margin: 0;
    min-width: 96px;
    padding: 10px 14px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}
.assist-left strong { display: block; font-size: 1.45rem; line-height: 1.1; color: var(--accent); letter-spacing: -0.04em; }
.assist-left span { color: var(--muted); font-size: .75rem; }
.assist-panel, .topic-picks { display: grid; gap: 10px; }
.topic-pick {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    color: inherit;
    cursor: pointer;
}
a.topic-pick { grid-template-columns: minmax(0, 1fr); }
.topic-pick:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.topic-pick:has(input:checked) {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
}
.topic-pick input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.topic-pick-body { display: grid; gap: 4px; min-width: 0; }
.topic-pick .pill { margin: 0; }
.topic-pick strong { font-size: 1rem; line-height: 1.35; letter-spacing: -0.02em; }
.ask-field { display: grid; gap: 8px; color: var(--muted); }
.ask-field textarea { min-height: 120px; resize: vertical; border-radius: 16px; }
.assist-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.assist-actions button { min-width: 132px; }
.assist-actions button:disabled { opacity: .55; cursor: not-allowed; }
.assist-enter { margin-top: 16px; }
.assist-log { display: grid; gap: 12px; margin-top: 28px; }
.assist-log h2 { margin: 0; font-size: 1.15rem; letter-spacing: -0.03em; }
.assist-log article {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}
.assist-log header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.assist-log header small, .assist-log p { color: var(--muted); }
.assist-log p { margin: 8px 0 0; }
@media (max-width: 700px) {
    .assist-head { flex-direction: column; align-items: stretch; }
    .assist-left { width: fit-content; }
}
.badge-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.badge-list li, .mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.badge-list li {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    color: var(--muted);
}
.badge-list li.is-on { color: var(--text); border-color: var(--accent); }
.badge-list small { display: block; color: var(--muted); font-weight: 450; }
.mini-badge {
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--pill);
    color: var(--text);
    font-size: .75rem;
}
.captcha { margin: 8px 0; }
.site-footer { display: grid; gap: 8px; }
.nav-count, .note-count {
    display: inline-grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--fill);
    color: #fff;
    font-size: .72rem;
    font-weight: 750;
    line-height: 1;
}
.note-bell { position: relative; }
.note-bell summary {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    list-style: none;
    cursor: pointer;
    color: var(--header-text);
}
.note-bell summary::-webkit-details-marker { display: none; }
.note-bell summary:hover, .note-bell[open] summary { background: var(--header-hover); }
.note-bell .ico { width: 20px; height: 20px; }
.note-count { position: absolute; top: 2px; right: 0; }
.note-menu {
    position: absolute;
    z-index: 6;
    top: calc(100% + 8px);
    right: 0;
    width: min(340px, 78vw);
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow);
}
.note-menu strong { font-size: .92rem; }
.note-menu p, .note-menu small, .note-menu span { color: var(--muted); }
.note-menu a {
    display: grid;
    gap: 2px;
    padding: 8px;
    border-radius: 12px;
    color: var(--text);
    background: transparent;
}
.note-menu a:hover { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.note-menu .note-all { color: var(--accent); }
.inbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 16px; }
.inbox-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.inbox-filters a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}
.inbox-filters a.active { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.inbox { display: grid; gap: 12px; }
.inbox-item {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.inbox-item.is-new { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.inbox-item header, .inbox-item footer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.inbox-item header time, .inbox-item header a, .inbox-item .hint { color: var(--muted); font-size: .88rem; }
.inbox-item p { margin: 12px 0; }
.inbox-item .kind {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--pill);
    font-size: .75rem;
}
.inbox-item .kind.is-live { background: color-mix(in srgb, var(--accent) 22%, var(--surface)); color: var(--accent); }
.inbox-item footer form { margin: 0; }
.set-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.set-tabs button {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 16px;
    font: inherit;
    cursor: pointer;
}
.set-tabs button.is-on { background: var(--fill); color: #fff; border-color: transparent; }
.set-form { margin-top: 12px; }
.set-panel { display: grid; gap: 14px; }
.set-panel[hidden] { display: none; }
.set-panel h2 { margin: 0; }
.set-panel label { display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }
.set-panel .check { display: flex; align-items: center; gap: 8px; color: var(--text); }
.set-save { display: flex; justify-content: flex-end; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.mail-account-head, .mail-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.mail-account-head { justify-content: flex-start; }
.mail-account-head h2, .mail-account-head p { margin: 0; }
.mail-account-head p { color: var(--muted); font-size: .92rem; }
.mail-account-mark, .contact-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: none;
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent) 16%, var(--surface));
    color: var(--accent);
}
.mail-identity { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mail-box {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: color-mix(in srgb, var(--bg) 55%, var(--surface));
}
.mail-box h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1rem; }
.mail-pair { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; }
.mail-foot .ghost {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    border-radius: 999px;
    padding: 8px 14px;
}
.contact-card {
    max-width: 760px;
    margin: 8px auto 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.contact-intro { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-intro h1 { margin: 0 0 6px; letter-spacing: -0.04em; }
.contact-intro p { margin: 0; color: var(--muted); }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: .88rem; color: var(--muted); }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card input, .contact-card select, .contact-card textarea,
.mail-identity input, .mail-box input, .mail-box select {
    background: color-mix(in srgb, var(--bg) 70%, var(--surface));
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form button { justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; }
.traffic-hint { margin: 0 0 18px; }
.traffic-hint a { margin-left: 8px; }
.range-nav { margin-bottom: 4px; }
.insight {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 18px 18px;
    margin: 16px 0;
}
.insight h2 { margin: 0 0 12px; font-size: 1.05rem; letter-spacing: -0.03em; }
.insight-grid { display: grid; grid-template-columns: 1.35fr .8fr; gap: 16px; align-items: start; }
.insight-grid > .insight, .insight-stack .insight { margin: 0; }
.insight-stack { display: grid; gap: 16px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; margin: 0 0 8px; color: var(--muted); font-size: .88rem; }
.chart-legend li { display: flex; align-items: center; gap: 6px; }
.chart-legend i, .swatch-visitors, .swatch-views, .swatch-reads { width: 10px; height: 10px; border-radius: 999px; display: block; }
.swatch-visitors, .swatch-visitors-bar { background: #5C33AB; fill: #5C33AB; }
.swatch-views, .swatch-views-bar { background: #38bdf8; fill: #38bdf8; }
.swatch-reads, .swatch-reads-bar { background: #34d399; fill: #34d399; }
.visit-chart { width: 100%; height: auto; display: block; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-label { fill: var(--muted); font-size: 11px; font-family: "Segoe UI", system-ui, sans-serif; }
.meter { display: grid; grid-template-columns: minmax(88px, 148px) 1fr auto; gap: 8px; align-items: center; margin: 8px 0; }
.meter-track { height: 8px; background: var(--pill); border-radius: 999px; overflow: hidden; }
.meter-track span { display: block; height: 100%; background: var(--fill); border-radius: 999px; }
.hour-chart { display: flex; align-items: flex-end; gap: 4px; height: 148px; }
.hour-col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; }
.hour-plot { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.hour-plot span { display: block; width: 100%; border-radius: 4px 4px 0 0; background: #5C33AB; }
.hour-col.is-now .hour-plot span { background: #38bdf8; }
.hour-col small { height: 16px; color: var(--muted); font-size: 10px; line-height: 16px; }
@media (max-width: 900px) {
    .insight-grid { grid-template-columns: 1fr; }
    .mail-identity, .contact-row, .mail-pair { grid-template-columns: 1fr; }
    .mail-foot, .contact-form button { justify-self: stretch; }
    .mail-foot { flex-direction: column; align-items: stretch; }
    .contact-card { padding: 18px; }
}

