:root {
    color-scheme: dark;
    --page-background: #000000;
    --text: #f5f5f5;
    --muted: #9c9c9c;
    --border: #242424;
    --row-hover: #101010;
    --input-background: #090909;
    --input-border: #3a3a3a;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--page-background);
}

body {
    min-height: 100%;
    margin: 0;
    padding: 74px 0 32px;
    background: var(--page-background);
    color: var(--text);
    font-family: Verdana, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

a {
    color: var(--text);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.gfnos-banner {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: #000000;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
}

.gfnos-banner:hover {
    text-decoration: none;
}

.gfnos-banner-art {
    position: absolute;
    inset: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 32px;
    pointer-events: none;
}

.banner-leaf {
    flex: 0 0 auto;
    height: 48px;
    fill: #ffffff;
}

.banner-leaf-1 { width: 95px; opacity: 0.35; }
.banner-leaf-2 { width: 85px; opacity: 0.22; }
.banner-leaf-3 { width: 100px; opacity: 0.40; }
.banner-leaf-4 { width: 90px; opacity: 0.25; }
.banner-leaf-5 { width: 90px; opacity: 0.38; }
.banner-leaf-6 { width: 95px; opacity: 0.28; }
.banner-leaf-7 { width: 85px; opacity: 0.35; }
.banner-leaf-8 { width: 90px; opacity: 0.30; }

.gfnos-banner-pill {
    position: relative;
    z-index: 2;
    padding: 4px 22px;
    border-radius: 20px;
    background: #000000;
    box-shadow: 0 0 16px 16px #000000;
}

.gfnos-banner-text {
    display: inline-block;
    color: #ffffff;
    font-family: "Handel Gothic", "Arial Black", "Trebuchet MS", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                text-shadow 0.2s ease;
    will-change: opacity, transform;
}

.gfnos-banner:hover .gfnos-banner-text {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes sway-left {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
    50% { transform: translate3d(-1px, -2px, 0) rotate(-4deg) scale(1.02); }
}

@keyframes sway-right {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
    50% { transform: translate3d(1px, -1px, 0) rotate(5deg) scale(1.03); }
}

@keyframes sway-flipped-left {
    0%, 100% { transform: translate3d(0, 0, 0) scaleX(-1) rotate(0deg); }
    50% { transform: translate3d(-1px, -2px, 0) scaleX(-1) rotate(-3deg); }
}

@keyframes sway-flipped-right {
    0%, 100% { transform: translate3d(0, 0, 0) scaleX(-1) rotate(0deg); }
    50% { transform: translate3d(1px, -1px, 0) scaleX(-1) rotate(4deg); }
}

.sway-1 {
    animation: sway-left 4.2s ease-in-out infinite;
    transform-origin: bottom left;
    will-change: transform;
}

.sway-2 {
    animation: sway-right 4.8s ease-in-out 0.3s infinite;
    transform-origin: bottom right;
    will-change: transform;
}

.sway-3 {
    animation: sway-flipped-left 5s ease-in-out 0.6s infinite;
    transform-origin: bottom center;
    will-change: transform;
}

.sway-4 {
    animation: sway-flipped-right 4.5s ease-in-out 0.1s infinite;
    transform-origin: bottom center;
    will-change: transform;
}

.page-shell {
    width: min(800px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 13px;
    line-height: 1.65;
}

.site-header p {
    margin: 0;
}

h1 {
    margin: 4px 0 14px;
    color: var(--text);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

form {
    margin: 0;
}

#search {
    display: block;
    width: 250px;
    max-width: 100%;
    height: 32px;
    margin: 0 auto 20px;
    padding: 5px 9px;
    border: 1px solid var(--input-border);
    border-radius: 3px;
    outline: none;
    background: var(--input-background);
    color: var(--text);
    font: inherit;
}

#search:focus {
    border-color: #707070;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

#search::placeholder {
    color: #8e8e8e;
}

table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

th {
    padding: 0 10px 7px;
    color: var(--text);
    font-size: 12px;
    font-weight: 400;
    text-align: left;
}

th:first-child,
td:first-child {
    width: 60%;
}

th:nth-child(2),
td:nth-child(2) {
    width: 28%;
}

th:last-child,
td:last-child {
    width: 12%;
    text-align: right;
}

td {
    overflow: hidden;
    padding: 6px 10px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    text-align: left;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

tbody tr:hover td {
    background: var(--row-hover);
}

td a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

tr.parent a {
    color: var(--muted);
}

[hidden] {
    display: none !important;
}

@media (max-width: 700px) {
    .gfnos-banner-art {
        padding: 0 14px;
    }

    .banner-leaf-2,
    .banner-leaf-3,
    .banner-leaf-6,
    .banner-leaf-7 {
        display: none;
    }

    .page-shell {
        width: min(100% - 20px, 800px);
    }

    th:first-child,
    td:first-child {
        width: 58%;
    }

    th:nth-child(2),
    td:nth-child(2) {
        width: 30%;
    }

    th,
    td {
        padding-right: 6px;
        padding-left: 6px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }

    .banner-leaf-4,
    .banner-leaf-5 {
        display: none;
    }

    .site-header {
        font-size: 12px;
    }

    h1 {
        font-size: 17px;
    }

    th:nth-child(2),
    td:nth-child(2) {
        display: none;
    }

    th:first-child,
    td:first-child {
        width: 78%;
    }

    th:last-child,
    td:last-child {
        width: 22%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .banner-leaf,
    .gfnos-banner-text {
        animation: none !important;
        transition: none !important;
        will-change: auto;
    }
}
