/* Route announcer */
	.astro-route-announcer {
		position: absolute;
		left: 0;
		top: 0;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		overflow: hidden;
		white-space: nowrap;
		width: 1px;
		height: 1px;
	}@font-face {
    font-family: 'Wanted Sans Variable';
    src: url('/fonts/WantedSansStdVariable.ttf');
}

@font-face {
    font-family: 'Abolition';
    src: url('/fonts/AbolitionTest-Regular.ttf');
}

@font-face {
    font-family: 'Azonix';
    src: url('/fonts/Azonix.otf');
}

@font-face {
    font-family: 'Industry-Bold';
    src: url('/fonts/Industry-Bold.ttf');
}

:root {
    --text: #fff;
    --text-sub: #ececec;
    --text-subber: #aaa;
    --text-subberer: #777;

    --da: #444;
    --dark: #333;
    --darker: #222;
    --darkerer: #111;

    --accent: #00ff86;

    --ease-expo-o: cubic-bezier(0.16, 1, 0.3, 1);

    --ele-fire: #fe0000;
    --ele-fire-bg: #360000;

    --ele-water: #0376f6;
    --ele-water-bg: #001334;

    --ele-electric: #f700f2;
    --ele-electric-bg: #340033;

    --ele-iron: #fe9000;
    --ele-iron-bg: #351900;

    --ele-wind: #2cec73;
    --ele-wind-bg: #033113;
}

html,
body {
    margin: 0;
    /* height: 100%; */

    overflow-x: hidden;

    font-family: "Wanted Sans Variable", "Wanted Sans", sans-serif;
}

body {
    margin: 0;
    padding: 0;
    padding-top: 64px;
    position: relative;

    font-size: 16px;

    color: var(--text-sub);

    background: no-repeat center / 100% 100% radial-gradient(ellipse at center, transparent 30%, black 120%) fixed,
        repeat center / 600px 600px url("/common/bg.png") fixed !important;
}

a {
    color: var(--accent);
    text-decoration: underline;
    display: inline-block;
    cursor: pointer;
}

a.fragment {
    color: inherit;
    text-decoration: none;
    cursor: inherit;
}



code {
    padding: 2px;
    background-color: rgba(255, 255, 255, 0.05);
    box-sizing: border-box;

    border-radius: 4px;
}

ul {
    padding-left: 20px;
}

button {
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    /* width: 100%;
    max-height: 32px; */

    padding: 8px 16px;
    box-sizing: border-box;

    background-color: var(--darkerer);
    color: var(--text-sub);
    border: 1px solid var(--da);
    /* border-radius: 4px; */

    transition: background-color 0.2s var(--ease-expo-o),
        color 0.2s var(--ease-expo-o);

    font-family: inherit;

    cursor: pointer;
}

button:hover {
    background-color: var(--darker);
    color: var(--text);
}

button.square {
    width: 32px;
    height: 32px;
    padding: 0;
    /* font-size: 24px; */
}

input {
    padding: 0px 8px;
    box-sizing: border-box;

    background-color: black;
    color: var(--text-sub);
    border: 1px solid var(--da);
    /* border-radius: 4px; */
    font-family: "Wanted Sans Variable", "Wanted Sans", sans-serif;

    font-size: 14px;
}

input[type="text"] {
    width: 100%;
    min-height: 32px;
    max-height: 32px;
}

input[type="number"] {
    width: 100px;
    min-height: 32px;
    max-height: 32px;
}

input[type="color"] {
    width: 100px;
    min-height: 32px;
    max-height: 32px;

    padding: 0;
}

input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    cursor: pointer;
}

input[disabled] {
    color: var(--text-subberer);
}

textarea {
    padding: 6px 8px;
    box-sizing: border-box;

    background-color: black;
    color: var(--text-sub);
    border: 1px solid var(--da);
    /* border-radius: 4px; */
    font-family: "Wanted Sans Variable", "Wanted Sans", sans-serif;

    height: 64px;
    min-height: 64px;
    font-size: 14px;
}

div.content {
    margin: 128px auto;

    width: calc(100% - 64px);
    max-width: 900px;
    height: auto;
}

div.generic-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, 1fr);
}

div.generic-box {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    padding: 16px;
    box-sizing: border-box;
}

div.generic-box.feedback {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 8px;
    flex-direction: column;

    color: var(--text);

    margin: auto;
    width: 100%;
    max-width: 500px;
}

div.generic-box.feedback textarea {
    width: 100%;
    min-height: 200px;
    resize: vertical;
}

a.button-link {
    text-decoration: none;
}

div.hero-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    color: var(--text);

    border-image: url("/common/ui/ui_9s_button.png") 21 21 21 21 fill / 21px 21px 21px 21px;
    padding: 21px 21px 21px 21px;

    transform: scale(1);
    transition: transform 0.5s var(--ease-expo-o) !important;

    pointer-events: all;
    cursor: pointer;
    user-select: none;

    position: relative;
}

div.hero-button:hover:active {
    transform: scale(0.98) !important;
}

div.hero-button:hover {
    transform: scale(1.05) !important;
}

div.hero-button::after {
    content: '';

    top: 50%;
    left: 50%;
    width: calc(100% + 16px);
    height: calc(100% + 16px);

    border: 1px solid var(--accent);

    transform: translate(-50%, -50%);
    opacity: 0;

    position: absolute;

    pointer-events: none;

    transition: width 0.5s var(--ease-expo-o),
        height 0.5s var(--ease-expo-o),
        opacity 0.5s var(--ease-expo-o);
}

div.hero-button:hover::after {
    width: calc(100% - 21px);
    height: calc(100% - 21px);
    opacity: 1;
}

div.hero-button i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-right: 8px;

    font-size: 24px;
}

div.hero-button.custom img {
    width: 32px;
    height: 32px;

    object-fit: contain;
    object-position: center;

    padding: 8px;
    margin-right: 8px;
}

div.hero-button.custom.large img {
    width: auto;
    height: 64px;

    aspect-ratio: 1;

    border: 1px solid var(--da);

    margin: 0;
    padding: 0;
}

div.hero-button-content {
    display: flex;
    align-items: flex-start;
    justify-content: stretch;
    flex-direction: column;
}

div.hero-button.custom.large div.hero-button-content {
    margin-left: 8px;
}

div.hero-button-content span {
    color: var(--text-subber);
    font-size: 14px;
}

div.text-content {
    border-image: url("/common/ui/ui_9s_div.png") 48 48 48 48 fill / 48px 48px 48px 48px;
    padding: 48px 48px 48px 48px;

    color: var(--text-sub);
}

div.text-content h1,
div.text-content h2,
div.text-content h3,
div.text-content h4 {
    margin: 0;
    margin-top: 8px;
    color: var(--text)
}

.sub-text {
    color: var(--text-subberer);
    font-size: 14px;
}

div.update-log {
    display: flex;
    align-items: flex-start;
    justify-content: stretch;
    flex-direction: column;

    min-height: 500px;
    height: 500px;

    overflow-y: auto;

    padding: 16px;
    box-sizing: border-box;

    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: 2px solid var(--dark);
    border-radius: 6px;
}

div.update-entry {
    display: flex;
    align-items: flex-start;
    justify-content: stretch;

    width: 100%;

    gap: 16px;

    text-align: left;
}

div.update-entry p.update-date {
    color: var(--text);
    font-weight: bold;

    min-width: 100px;
    text-align: center;
    text-wrap: nowrap;

    font-family: monospace;
    line-height: 16px;

    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    box-sizing: border-box;
    border-radius: 4px;
}

div.update-entry div.update-content {
    margin-top: 4px;
    color: var(--text-sub);
}

.astro-code {
    padding: 16px;
    border-radius: 4px;

    border: 1px solid var(--dark);
    background-color: var(--darkerer) !important;

    margin: 0;
}

.astro-code code {
    background-color: transparent;
}

.fullwidth {
    width: 100%;
}

div.search-bar input {
    margin: 4px 0;
    border-radius: 4px;
    border: 2px solid var(--dark);
    background-color: var(--darkerer);

    color: var(--text);
    font-family: inherit;

    box-sizing: border-box;

    padding: 14px 16px;
    min-height: 48px;
}

div.search-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

div.search-filter {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 2px;
    margin: 4px;

    width: min-content;
    height: 48px;

    flex-direction: row;
    border-radius: 4px;
    overflow: hidden;
}

div.search-filter-option {
    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--darker);

    padding: 4px 8px;

    cursor: pointer;
    user-select: none;

    color: var(--text);
    font-size: 18px;

    height: 100%;
}

div.search-filter-option:hover {
    background-color: var(--dark);
}

div.search-filter-option.selected {
    background-color: var(--da);
    font-weight: bold;
}


div.search-filter-option>img {
    min-width: 32px;
    height: 32px;

    object-fit: contain;
    object-position: center;
}

div.search-filter-option:last-child {
    border-right: none;
}

div.search-results {
    display: grid;
    /* grid-template-rows: 128px; */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-template-rows: repeat(auto-fill, minmax(200px, 1fr));

    /* gap: 8px; */

    margin: auto;
    margin-top: 8px;

    min-height: 600px;
}

div.search-results.center {
    display: flex;

    max-width: 760px;
    justify-content: stretch;
    min-height: initial;
}

div.search-results.advise {
    display: block;

    overflow-y: auto;

    max-height: 600px;
}

div.search-results.advise>.advise-entry {
    margin-bottom: 4px;
    backdrop-filter: blur(2px);
}

div.search-results.rapture {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    grid-template-rows: repeat(auto-fill, minmax(128px, 1fr));
}

div.nikke-card.rapture,
div.nikke-card.rapture > img {
    aspect-ratio: 1 !important;
}

div.search-result > a {
    width: 100%;
    height: 100%;

    color: white;
}

div.content.split {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;

    max-width: 1000px;

    gap: 16px;

    margin: 64px auto;

    overflow: visible;
}

div.button-tray {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

div.button-tray.no-bg>button {
    background: none;
    border: none;

    font-size: 16px;
    color: var(--text-subber);
}

div.button-tray.no-bg>button:hover {
    color: var(--text);
}

@keyframes enter {
    0% {
        transform: scale(1) translateY(16px);
        /* opacity: 0; */
        filter: opacity(0);
    }

    100% {
        transform: initial;
        /* opacity: 1; */
        filter: opacity(1);
    }
}

@keyframes enter-r {
    0% {
        transform: scale(1) translateX(16px);
        filter: opacity(0);
    }

    100% {
        transform: initial;
        filter: opacity(1);
    }
}

@keyframes enter-l {
    0% {
        transform: scale(1) translateX(-16px);
        filter: opacity(0);
    }

    100% {
        transform: initial;
        filter: opacity(1);
    }
}

.e-enter {
    /* opacity: 0; */
    filter: opacity(0);
    animation: enter 1s var(--ease-expo-o) forwards;
}

.e-enter-r {
    /* opacity: 0; */
    filter: opacity(0);
    animation: enter-r 1s var(--ease-expo-o) forwards;
}

.e-enter-l {
    /* opacity: 0; */
    filter: opacity(0);
    animation: enter-l 1s var(--ease-expo-o) forwards;
}

div.nikke-preview {
    position: fixed;
    top: 50vh;
    transform: translateY(-50%);
    width: 400px;
    height: calc(100vh - 128px - 2px - 128px);

    image-rendering: crisp-edges;
}

div.nikke-preview>.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

div.nikke-preview>.layer>.spine-player {
    aspect-ratio: 1;
    left: 50%;
    transform: translateX(-50%) translate(-50%, -50%);
}

div.nikke-preview>.layer>.spine-player>canvas {
    width: 200% !important;
    height: 200% !important;

    pointer-events: none;
}

div.rapture-preview {
    position: fixed;
    top: 50vh;
    transform: translateY(-50%);
    width: 400px;
    height: calc(100vh - 128px - 2px - 128px);
    overflow: visible;

    /* image-rendering: crisp-edges; */
}

div.rapture-preview>canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


div.split-filler {
    flex-shrink: 0;
}

div.nikke-info {
    z-index: 10;
    color: var(--text-sub);

    box-sizing: border-box;

    padding: 0 16px;
    padding-bottom: 16px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);

    max-width: 584px;
    width: 100%;

    min-height: calc(100vh - 256px);

    transition: transform 0.5s var(--ease-expo-o);
}

div.nikke-info>h1,
div.nikke-info>p,
div.nikke-info h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: var(--text);
}

div.nikke-info>h1 {
    align-items: flex-start;
}

div.nikke-info>h1>*:not(span),
div.nikke-info>h2>*:not(span) {
    font-size: 16px;
}

div.skill-content {
    position: relative;
    border: 2px solid var(--da);
    background-color: var(--darkerer);
    padding: 24px;
    box-sizing: border-box;
    line-height: 1.5;

    margin-bottom: 16px;
}

div.skill-content h1,
div.skill-content h2,
div.skill-content h3,
div.skill-content h4,
div.skill-content p {
    margin: 0;
}

div.skill-content h2 {
    max-width: calc(100% - 172px);
}

div#rapture-skills div.skill-content h2 {
    max-width: none;
}

div.skill-content h1,
div.skill-content h2,
div.skill-content h3,
div.skill-content h4 {
    color: white;
}

div.skill-content li {
    padding-inline-start: 1ch;
}

div.skill-content div.counter {
    position: absolute;
    right: 24px;
    top: 26px;
}

div.skill-content img {
    position: absolute;
    left: 24px;
    top: 24px;

    width: 60px;
    height: 60px;

    object-fit: contain;
    object-position: center;
}

div.skill-content h2.skill-name,
div.skill-content div.attributes {
    margin-left: 70px;
}

div.skill-content div.attributes {
    margin-bottom: 16px;
}

span.skill-bullet,
span.skill-bullet-desc {
    display: inline-block;
    position: relative;
    padding-left: 2ch;
}

span.skill-bullet>span.skill-bullet-desc {
    padding-left: 0;
}

span.skill-bullet::before {
    display: inline-block;
    content: '■';

    position: absolute;
    left: 0;
}

hr {
    border: none;
    height: 0;
    border-bottom: 2px dashed var(--da);
    margin: 8px 0;
}

div.attributes {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;

    flex-wrap: wrap;
    /* width: 100%; */

    gap: 4px;
}

div.attributes>span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 4px 8px;

    font-size: 12px;
    line-height: 12px;
    font-family: monospace;

    color: var(--text);
    background-color: var(--dark);
    border: 1px solid var(--da);
}

div.attributes>span>img {
    position: initial;
    width: 20px;
    height: 20px;

    /* margin: 4px 0; */

    object-fit: contain;
    object-position: center;
}

div.attributes>span.ele-fire {
    border-color: var(--ele-fire);
    background-color: var(--ele-fire-bg);
}

div.attributes>span.ele-water {
    border-color: var(--ele-water);
    background-color: var(--ele-water-bg);
}

div.attributes>span.ele-electric {
    border-color: var(--ele-electric);
    background-color: var(--ele-electric-bg);
}

div.attributes>span.ele-iron {
    border-color: var(--ele-iron);
    background-color: var(--ele-iron-bg);
}

div.attributes>span.ele-wind {
    border-color: var(--ele-wind);
    background-color: var(--ele-wind-bg);
}

.word-def {
    color: #f58b00;
    border-bottom: 1px dashed #f58b00;
}

.word-def {
    position: relative;
    cursor: help;
    border-bottom: 1px dotted currentColor;
}

.word-def::after {
    content: attr(data-def);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--darker);
    color: var(--text-sub);
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.5;
    white-space: pre-line;
    max-width: 280px;
    width: max-content;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
    pointer-events: none;
    z-index: 10;
}

.word-def:hover::after,
.word-def:active::after {
    opacity: 1;
    visibility: visible;
}

.list {
    display: flex;
    align-items: flex-start;
    justify-content: stretch;
    flex-direction: column;
    gap: 4px;
}

div.advise-question {
    width: 100%;
    border: 2px var(--da) solid;
    background-color: var(--darkerer);
    box-sizing: border-box;

    height: 52px;

    overflow-y: hidden;
}

div.advise-question.opened {
    height: auto;
}

div.advise-question>span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 16px;
    box-sizing: border-box;

    font-weight: bold;
    z-index: 2;

    background-color: var(--darkerer);
    height: 48px;

    cursor: pointer;
}

div.advise-question>span::after {
    content: '❯';
    position: absolute;
    top: 50%;
    right: 20px;

    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 0.5s var(--ease-expo-o);
}

div.advise-question.opened>span::after {
    transform: translate(-50%, -50%) rotate(270deg);
}

div.advise-entry-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s var(--ease-expo-o);
}

div.advise-question.opened>div.advise-entry-wrapper {
    grid-template-rows: 1fr;
}

div.advise-entry {
    min-height: 0;
    overflow: hidden;

    display: flex;
    align-items: flex-start;
    justify-content: stretch;
    flex-direction: column;
    gap: 8px;

    width: 100%;

    padding: 16px;
    box-sizing: border-box;

    font-weight: initial;
    pointer-events: none;

    background-color: rgba(255, 255, 255, 0.05);
}

div.advise-entry>a.advise-link {
    position: absolute;
    top: 16px;
    right: 16px;
    pointer-events: all;
    font-weight: bold;
    text-decoration: none;
}

span.advise-name {
    padding-left: 8px;
    font-weight: bold;
    color: white;
}

span.advise-narration,
span.advise-monologue {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px;
    text-align: center;

    background-color: rgba(0, 0, 0, 0.8);
    border: 2px solid black;

    width: 100%;
    margin: auto;

    line-height: 1.5;

    min-height: 60px;
    box-sizing: border-box;
}

span.advise-choice,
span.advise-self {
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    border-image-slice: 57 62 59 64 fill;
    border-image-width: calc(57px * 0.59) calc(62px * 0.59) calc(59px * 0.59) calc(64px * 0.59);
    border-image-outset: calc(8px * 0.59) calc(7px * 0.59) calc(14px * 0.59) calc(6px * 0.59);
    border-image-repeat: stretch round;
    border-image-source: url('/common/choice_box.png');

    color: #fff;
    text-align: center;

    padding: 14px 48px;
    width: 100%;
    line-height: 1.5;
    text-align: center;
    min-height: 43px;

    letter-spacing: 0.3px;
    font-weight: bold;

    box-sizing: border-box;

    margin: auto;

    pointer-events: all;
}

span.advise-choice.bond {
    outline: 4px solid #ff4631;
    outline-offset: -4px;
}

span.advise-choice.bond::after {
    content: '';

    position: absolute;
    width: 16px;
    height: 16px;

    top: 50%;
    left: 32px;

    transform: translate(-50%, -50%);


    background-image: url('/common/heart.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

span.advise-speech {
    padding-left: 12px;
    color: var(--text-sub);
}

div.advise-outcome {
    display: inherit;
    justify-content: inherit;
    align-items: inherit;
    flex-direction: inherit;
    gap: inherit;

    background-color: rgba(0, 0, 0, 0.5);

    padding: 12px;

    width: 100%;
    box-sizing: border-box;

    margin: auto;
}

div.advise-entry hr {
    width: 100%;
}

div.list.nikke {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    width: 100%;
}

div.nikke-item {
    width: 100px;
    height: 100px;

    background-position: center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-color: var(--darkerer);

    border: 2px solid var(--da);
    border-radius: 4px;
}

span.other {
    opacity: 0.5;
    font-size: 12px;
}

span.other.white {
    opacity: 1;
}

b a {
    text-decoration: none;
}

@media screen and (max-width: 900px) {
    div.generic-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    div.search-results {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        grid-template-rows: repeat(auto-fill, minmax(200px, 1fr));
    }

    img.nikke-card-hex {
        width: 24px;
        height: 24px;
    }

    div.content.split,
    div.content.split.rapture {
        justify-content: stretch;
        flex-direction: column;
    }

    div.nikke-preview,
    div.rapture-preview {
        position: static;
        /* top: initial; */
        transform: scale(.75);
        width: 100%;
        height: 400px;
    }

    img#nikke-img {
        width: 100%;
        height: 100%;
        transform: none;
        position: static;
        object-fit: contain;
        object-position: center;
    }

    div.split-filler {
        display: none;
    }

    div.nikke-info {
        width: 100%;
        max-width: none;
    }

    div.attributes span {
        font-size: 10px;
        padding: 2px 4px;
    }

    body {
        font-size: 14px;
    }
}

input[type=range] {
    padding: 0;
    margin: 0;

    accent-color: var(--accent);
    border: none;

    background-color: transparent;

    width: 150px;
}

input[type=checkbox] {
    accent-color: var(--accent);
}

input[type=range]::-moz-range-track {
    background-color: var(--dark);
    height: 8px;
    border-radius: 4px;
}
input[type=range]::-moz-range-progress {
    background-color: var(--accent);
    height: 8px;
    border-radius: 4px;
}

input[type="range"]::-moz-range-thumb {
    background-color: var(--accent);
    border: 0;

    box-shadow: 0 0 8px black;
}

i.fa-solid.spin {
    animation: spin 2s infinite linear;
}

div.generic-space-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

table.chapter-stage-table {
    width: 100%;

    text-align: left;
    table-layout: fixed;

    overflow-x: auto;
    display: block;

    border: 1px solid var(--da);
}

table.chapter-stage-table.tower {
    /* height: 600px; */
    overflow-y: auto;
}

table.chapter-stage-table.tower tbody tr {
    content-visibility: auto;
    contain-intrinsic-size: auto 44px;
}

table.chapter-stage-table > tbody {
    display: block;
    min-width: 700px;
}

table.chapter-stage-table th {
    padding: 6px 16px;
}

table.chapter-stage-table tr {
    position: relative;
}

table.chapter-stage-table tr:first-child {
    background-color: var(--darker);
}

table.chapter-stage-table tr.chapter-stage:nth-child(odd) {
    background-color: rgba(6, 6, 6, 0.9);
}

table.chapter-stage-table tr.chapter-stage:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.9);
}

tr.chapter-stage:hover {
    background-color: rgba(34, 34, 34, 0.9) !important;
}

tr.chapter-stage::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;

    background-image: var(--ibg);
    background-position: center;
    background-size: 100% auto;

    width: 100%;
    height: 100%;

    filter: blur(2px) grayscale(1) brightness(50%);

    transition: filter 0.5s var(--ease-expo-o);

    z-index: -1;
}

tr.chapter-stage:hover::after {
    filter: blur(0) grayscale(0) brightness(90%);
}

tr.chapter-stage {
    /* backdrop-filter: blur(4px); */
    position: relative;
    transition: background-color 0.5s var(--ease-expo-o);
    cursor: pointer;
}

table.chapter-stage-table tr:first-child::after {
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    position: absolute;
    border-bottom: 1px solid var(--da);
    border-collapse: collapse;

    z-index: -10;
}

table.chapter-stage-table td {
    vertical-align: middle;
    height: 64px;

    padding: 16px;

    white-space: nowrap;

    box-sizing: border-box;
}

table.chapter-stage-table td img,
table.chapter-stage-table td span {
    vertical-align: middle;
    text-wrap: nowrap;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

img.icon-32 {
    width: 32px;
    height: 32px;

    object-fit: contain;
    object-position: center;
}

img.icon-24 {
    width: 24px;
    height: 24px;

    object-fit: contain;
    object-position: center;
}

@media screen and (max-width: 700px) {
    div.update-entry {
        flex-direction: column;
        gap: 0;
    }

    div.update-entry p.update-date {
        margin: 0;
    }
}

.no-slide .e-enter,
.no-slide.e-enter {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
}@keyframes astroFadeInOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

@keyframes astroFadeIn {
	from {
		opacity: 0;
		mix-blend-mode: plus-lighter;
	}
	to {
		opacity: 1;
		mix-blend-mode: plus-lighter;
	}
}

@keyframes astroFadeOut {
	from {
		opacity: 1;
		mix-blend-mode: plus-lighter;
	}
	to {
		opacity: 0;
		mix-blend-mode: plus-lighter;
	}
}

@keyframes astroSlideFromRight {
	from {
		transform: translateX(100%);
	}
}

@keyframes astroSlideFromLeft {
	from {
		transform: translateX(-100%);
	}
}

@keyframes astroSlideToRight {
	to {
		transform: translateX(100%);
	}
}

@keyframes astroSlideToLeft {
	to {
		transform: translateX(-100%);
	}
}

@media (prefers-reduced-motion) {
	::view-transition-group(*),
	::view-transition-old(*),
	::view-transition-new(*) {
		animation: none !important;
	}

	[data-astro-transition-scope] {
		animation: none !important;
	}
}
div[data-astro-cid-l7arcky5].navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  width: 100%;
  height: 64px;
  overflow: hidden;
  background-color: var(--darkerer);
  border-bottom: 1px solid var(--dark);
  z-index: 9999;
}

div[data-astro-cid-l7arcky5].navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 64px);
  max-width: 900px;
  height: 100%;
}

div[data-astro-cid-l7arcky5].navbar-list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: auto;
  height: 100%;
}

div[data-astro-cid-l7arcky5].navbar-list {
  color: #fff;
}

div[data-astro-cid-l7arcky5].navbar-list a[data-astro-cid-l7arcky5].logo {
  font-weight: bold;
  font-size: 24px;
  color: #fff;
  padding: 0;
}

div[data-astro-cid-l7arcky5].navbar-list a[data-astro-cid-l7arcky5].logo:hover {
  background-color: unset;
}

div[data-astro-cid-l7arcky5].navbar-list a[data-astro-cid-l7arcky5].logo img[data-astro-cid-l7arcky5] {
  width: 32px;
}

div[data-astro-cid-l7arcky5].navbar-list a[data-astro-cid-l7arcky5] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-subber);
  padding: 14px 16px;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color .2s, color .2s;
}

div[data-astro-cid-l7arcky5].navbar-list a[data-astro-cid-l7arcky5]:hover {
  background-color: var(--dark);
  color: var(--text);
}

div[data-astro-cid-l7arcky5].navbar-list .extra[data-astro-cid-l7arcky5] {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 0;
  margin-left: 8px;
  width: 20px;
  height: 20px;
  cursor: pointer !important;
}

div[data-astro-cid-l7arcky5].navbar-list .extra[data-astro-cid-l7arcky5]:hover {
  background-color: unset;
}

div[data-astro-cid-l7arcky5].navbar-list .extra[data-astro-cid-l7arcky5] img[data-astro-cid-l7arcky5] {
  width: 100%;
  height: 100%;
}
div[data-astro-cid-l7arcky5]#shooting-stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
}

div[data-astro-cid-l7arcky5]#stars {
  cursor: pointer;
  margin-left: 16px;
}

div[data-astro-cid-l7arcky5]#usc > a[data-astro-cid-l7arcky5] > img[data-astro-cid-l7arcky5] {
  display: block;
  object-fit: contain;
  object-position: center;
  margin-left: 16px;
}

span[data-astro-cid-l7arcky5].shooting-star {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #ffffff1a, 0 0 0 8px #ffffff1a, 0 0 20px #fff;
  animation: 3s linear infinite animate;
}

span[data-astro-cid-l7arcky5].shooting-star:before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, #fff, #0000);
}

@keyframes animate {
  0% {
    transform: rotate(315deg) translateX(0);
    opacity: 1;
  }

  70% {
    opacity: 1;
  }

  100% {
    transform: rotate(315deg) translateX(-1500px);
    opacity: 0;
  }
}

span[data-astro-cid-l7arcky5].shooting-star:first-child {
  top: 0;
  right: 0;
  left: initial;
  animation-delay: 0;
  animation-duration: 1s;
}

span[data-astro-cid-l7arcky5].shooting-star:nth-child(2) {
  top: 0;
  right: 80px;
  left: initial;
  animation-delay: .2s;
  animation-duration: 3s;
}

span[data-astro-cid-l7arcky5].shooting-star:nth-child(3) {
  top: 80px;
  right: 0;
  left: initial;
  animation-delay: .4s;
  animation-duration: 2s;
}

span[data-astro-cid-l7arcky5].shooting-star:nth-child(4) {
  top: 0;
  right: 180px;
  left: initial;
  animation-delay: .6s;
  animation-duration: 1.5s;
}

span[data-astro-cid-l7arcky5].shooting-star:nth-child(5) {
  top: 0;
  right: 400px;
  left: initial;
  animation-delay: .8s;
  animation-duration: 2.5s;
}

span[data-astro-cid-l7arcky5].shooting-star:nth-child(6) {
  top: 0;
  right: 600px;
  left: initial;
  animation-delay: 1s;
  animation-duration: 3s;
}

span[data-astro-cid-l7arcky5].shooting-star:nth-child(7) {
  top: 300px;
  right: 0;
  left: initial;
  animation-delay: 1s;
  animation-duration: 1.75s;
}

span[data-astro-cid-l7arcky5].shooting-star:nth-child(8) {
  top: 0;
  right: 700px;
  left: initial;
  animation-delay: 1.4s;
  animation-duration: 1.25s;
}

span[data-astro-cid-l7arcky5].shooting-star:nth-child(9) {
  top: 0;
  right: 1000px;
  left: initial;
  animation-delay: .75s;
  animation-duration: 2.25s;
}

span[data-astro-cid-l7arcky5].shooting-star:nth-child(10) {
  top: 0;
  right: 1000px;
  left: initial;
  animation-delay: 2.75s;
  animation-duration: 2.25s;
}
div[data-astro-cid-jo6i4kqk].footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
  text-align: center;
  overflow: hidden;
  background-color: var(--darkerer);
  border-top: 1px solid var(--dark);
  color: var(--text-sub);
  z-index: 9999;
}

div[data-astro-cid-jo6i4kqk].footer-inner {
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: calc(100% - 64px);
  max-width: 900px;
  height: 100%;
  font-size: 14px;
}
