@font-face {
    font-family: 'JetBrains Mono';
    src: url('jetbrainsmono.ttf') format('truetype-variations'),
         url('jetbrainsmono.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

:root {
    --accent: #a0d490;
    --accent-dark: #273d23;
    --bg-black: #050505;
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

main, section, header {
    display: block;
}

html {
    scrollbar-color: #273d23 #050505;
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #050505;
    background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
    background: #273d23;
    background: var(--accent-dark);
    border: 1px solid #a0d490;
    border: 1px solid var(--accent);
}

html, body {
    width: 100%;
    min-height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    background: #050505;
    background: var(--bg-black);
    font-family: 'JetBrains Mono', monospace;
    color: #a0d490;
    color: var(--accent);
    text-transform: lowercase;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

#life-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    width: 100vw;
    height: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

.lang-switch {
    position: absolute;
    top: 16px;
    top: clamp(16px, 4vh, 28px);
    right: 16px;
    right: clamp(16px, 4vw, 28px);
    z-index: 70;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    border: 2px solid #a0d490;
    border: 2px solid var(--accent);
    box-shadow: 3px 3px 0px #273d23;
    box-shadow: 3px 3px 0px var(--accent-dark);
    background: #050505;
    background: var(--bg-black);
    padding: 2px 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-size: clamp(0.75rem, 2.5vw, 0.9rem);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.lang-btn {
    background: transparent;
    border: none;
    color: #a0d490;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: inherit;
    padding: 3px 7px;
    cursor: pointer;
    text-transform: lowercase;
    -webkit-transition: background 0.1s, color 0.1s;
    transition: background 0.1s, color 0.1s;
    -webkit-tap-highlight-color: transparent;
}

.lang-btn.active {
    background: #a0d490;
    background: var(--accent);
    color: #050505;
    color: var(--bg-black);
    font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
    .lang-btn:hover:not(.active) {
        background: #273d23;
        background: var(--accent-dark);
    }
}

.lang-btn:active:not(.active) {
    background: #273d23;
    background: var(--accent-dark);
}

.lang-divider {
    color: #a0d490;
    color: var(--accent);
    opacity: 0.6;
    padding: 0 1px;
    font-size: inherit;
}

.container {
    position: relative;
    z-index: 50;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    padding: clamp(14px, 2.5vh, 32px) 16px;
    text-align: center;
    gap: 14px;
    gap: clamp(12px, 1.8vh, 18px);
    margin: auto 0;
    -webkit-transition: padding 0.2s ease, gap 0.2s ease;
    transition: padding 0.2s ease, gap 0.2s ease;
    -webkit-animation: floatUp 0.3s ease-out;
    -moz-animation: floatUp 0.3s ease-out;
    -o-animation: floatUp 0.3s ease-out;
    animation: floatUp 0.3s ease-out;
}

@-webkit-keyframes floatUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(12px);
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}
@-moz-keyframes floatUp {
    0% {
        opacity: 0;
        -moz-transform: translateY(12px);
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        -moz-transform: translateY(0);
        transform: translateY(0);
    }
}
@-o-keyframes floatUp {
    0% {
        opacity: 0;
        -o-transform: translateY(12px);
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}
@keyframes floatUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(12px);
        -moz-transform: translateY(12px);
        -ms-transform: translateY(12px);
        -o-transform: translateY(12px);
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}

.container.support-open {
    padding-top: 10px;
    padding-top: clamp(8px, 1.2vh, 16px);
    padding-bottom: 18px;
    padding-bottom: clamp(12px, 2vh, 22px);
    gap: 10px;
    gap: clamp(8px, 1.4vh, 14px);
}

.title-wrapper {
    position: relative;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    max-width: 90vw;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    white-space: nowrap;
    min-height: 52px;
    min-height: clamp(3rem, 10vw, 4.2rem);
}

.typed-title {
    position: relative;
    font-size: 40px;
    font-size: clamp(2.5rem, 8.5vw, 3.2rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    display: inline-block;
    text-align: center;
    line-height: 1.25;
    min-height: 1.25em;
}

.cursor {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 4px;
    color: #ffffff;
    -webkit-animation: blink 0.9s infinite steps(1);
    animation: blink 0.9s infinite steps(1);
    font-weight: normal;
    pointer-events: none;
}

@-webkit-keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.bio-section {
    max-width: 560px;
    max-width: min(92vw, 560px);
    width: 100%;
    text-align: center;
    text-transform: none;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 6px;
    padding: 10px 14px;
    padding: clamp(8px, 2vw, 14px) clamp(12px, 2.5vw, 20px);
    background: #050505;
    background: rgba(5, 5, 5, 0.75);
    border: 1px dashed #273d23;
    border: 1px dashed var(--accent-dark);
    box-shadow: 2px 2px 0px #273d23;
    box-shadow: 2px 2px 0px var(--accent-dark);
    line-height: 1.5;
}

.bio-title {
    font-size: 16px;
    font-size: clamp(0.92rem, 3.2vw, 1.15rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.bio-desc {
    font-size: 13.5px;
    font-size: clamp(0.78rem, 2.5vw, 0.92rem);
    color: #a0d490;
    color: var(--accent);
    opacity: 0.92;
    font-weight: 400;
}

.highlight {
    color: #ffffff;
    font-weight: 700;
}

.links-group {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
    gap: clamp(8px, 1.5vh, 12px);
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    max-width: 560px;
    max-width: min(92vw, 560px);
    width: 100%;
}

.buttons-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 10px;
    gap: clamp(6px, 1.5vw, 12px);
    width: 100%;
}

.container > * + * {
    margin-top: 14px;
}

.bio-section > * + * {
    margin-top: 6px;
}

.links-group > * + * {
    margin-top: 10px;
}

.buttons-row > * + * {
    margin-left: 10px;
}

.dropdown-items > * + * {
    margin-top: 3px;
}

.thnx-content > * + * {
    margin-top: 4px;
}

@supports (gap: 10px) {
    .container > * + * {
        margin-top: 0;
    }
    .bio-section > * + * {
        margin-top: 0;
    }
    .links-group > * + * {
        margin-top: 0;
    }
    .buttons-row > * + * {
        margin-left: 0;
    }
    .dropdown-items > * + * {
        margin-top: 0;
    }
    .thnx-content > * + * {
        margin-top: 0;
    }
}

.site-btn {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 0;
    -moz-box-flex: 1;
    -ms-flex: 1 1 0;
    flex: 1 1 0;
    min-width: 0;
    text-decoration: none;
    color: #a0d490;
    color: var(--accent);
    background: #050505;
    background: var(--bg-black);
    padding: 10px 14px;
    padding: clamp(8px, 1.8vh, 11px) clamp(8px, 1.8vw, 18px);
    border: 2px solid #a0d490;
    border: 2px solid var(--accent);
    box-shadow: 3px 3px 0px #273d23;
    box-shadow: 3px 3px 0px var(--accent-dark);
    font-size: 14.5px;
    font-size: clamp(0.82rem, 2.5vw, 1.05rem);
    display: block;
    text-align: center;
    line-height: 1.3;
    position: relative;
    font-family: 'JetBrains Mono', monospace;
    -webkit-transition: -webkit-transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease, color 0.1s ease;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease, color 0.1s ease;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.toggle-btn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.toggle-btn.active {
    background: #a0d490;
    background: var(--accent);
    color: #050505;
    color: var(--bg-black);
    font-weight: 700;
    -webkit-transform: translate(2px, 2px);
    -ms-transform: translate(2px, 2px);
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #273d23;
    box-shadow: 1px 1px 0px var(--accent-dark);
}

.arrow-icon {
    font-family: inherit;
    font-weight: 700;
    font-size: 0.85em;
    display: inline-block;
    -webkit-transition: -webkit-transform 0.2s ease;
    transition: transform 0.2s ease;
    margin-left: 6px;
}

.toggle-btn.active .arrow-icon {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

@media (hover: hover) and (pointer: fine) {
    .site-btn:hover:not(.active) {
        -webkit-transform: translate(2px, 2px);
        -ms-transform: translate(2px, 2px);
        transform: translate(2px, 2px);
        box-shadow: 1px 1px 0px #273d23;
        box-shadow: 1px 1px 0px var(--accent-dark);
        background: #a0d490;
        background: var(--accent);
        color: #050505;
        color: var(--bg-black);
    }
}

.site-btn:active:not(.active) {
    -webkit-transform: translate(2px, 2px);
    -ms-transform: translate(2px, 2px);
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #273d23;
    box-shadow: 1px 1px 0px var(--accent-dark);
    background: #a0d490;
    background: var(--accent);
    color: #050505;
    color: var(--bg-black);
}

.accordion-container {
    width: 100%;
    overflow: hidden;
    display: block;
    -webkit-transition: height 0.26s cubic-bezier(0.4, 0, 0.2, 1);
    transition: height 0.26s cubic-bezier(0.4, 0, 0.2, 1);
    height: 0;
}

.accordion-inner {
    width: 100%;
    position: relative;
    padding-top: 4px;
    padding-bottom: 4px;
}

.accordion-dropdown {
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    position: absolute;
    top: 4px;
    left: 0;
    right: 0;
    padding: 8px 12px;
    background: #050505;
    background: rgba(5, 5, 5, 0.96);
    border: 2px solid #a0d490;
    border: 2px solid var(--accent);
    box-shadow: 4px 4px 0px #273d23;
    box-shadow: 4px 4px 0px var(--accent-dark);
    text-align: left;
    -webkit-animation: fadeIn 0.2s ease forwards;
    animation: fadeIn 0.2s ease forwards;
    z-index: 2;
}

.accordion-dropdown.open {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

.accordion-dropdown.closing {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 1;
    -webkit-animation: fadeOut 0.22s ease forwards;
    animation: fadeOut 0.22s ease forwards;
}

.dropdown-items {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 3px;
    width: 100%;
}

.accordion-dropdown.slide-right {
    -webkit-animation: slideInRight 0.22s ease forwards;
    animation: slideInRight 0.22s ease forwards;
}

.accordion-dropdown.slide-left {
    -webkit-animation: slideInLeft 0.22s ease forwards;
    animation: slideInLeft 0.22s ease forwards;
}

.accordion-dropdown.slide-out-left {
    -webkit-animation: slideOutLeft 0.22s ease forwards;
    animation: slideOutLeft 0.22s ease forwards;
}

.accordion-dropdown.slide-out-right {
    -webkit-animation: slideOutRight 0.22s ease forwards;
    animation: slideOutRight 0.22s ease forwards;
}

@-webkit-keyframes slideInRight {
    from { opacity: 0; -webkit-transform: translateX(18px); }
    to { opacity: 1; -webkit-transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: translateX(0); }
}

@-webkit-keyframes slideInLeft {
    from { opacity: 0; -webkit-transform: translateX(-18px); }
    to { opacity: 1; -webkit-transform: translateX(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-18px); }
    to { opacity: 1; transform: translateX(0); }
}

@-webkit-keyframes slideOutLeft {
    from { opacity: 1; -webkit-transform: translateX(0); }
    to { opacity: 0; -webkit-transform: translateX(-18px); }
}
@keyframes slideOutLeft {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-18px); }
}

@-webkit-keyframes slideOutRight {
    from { opacity: 1; -webkit-transform: translateX(0); }
    to { opacity: 0; -webkit-transform: translateX(18px); }
}
@keyframes slideOutRight {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(18px); }
}

@-webkit-keyframes fadeIn {
    from { opacity: 0; -webkit-transform: translateY(-6px); }
    to { opacity: 1; -webkit-transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

@-webkit-keyframes fadeOut {
    from { opacity: 1; -webkit-transform: translateY(0); }
    to { opacity: 0; -webkit-transform: translateY(-6px); }
}
@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-6px); }
}

.project-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 3px;
    padding: 6px 8px;
    border-bottom: 1px dashed #273d23;
    border-bottom: 1px dashed var(--accent-dark);
    cursor: pointer;
    text-decoration: none;
    -webkit-transition: background 0.15s ease;
    transition: background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.project-item:last-child {
    border-bottom: none;
}

@media (hover: hover) and (pointer: fine) {
    .project-item:hover {
        background: rgba(160, 212, 144, 0.12);
    }
    .project-item:hover .project-name {
        color: #ffffff;
    }
    .project-item:hover .project-url {
        color: #ffffff;
        opacity: 1;
    }
}

.project-item:active {
    background: rgba(160, 212, 144, 0.2);
}

.project-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 4px;
}

.project-name {
    font-size: 13.5px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #a0d490;
    color: var(--accent);
    -webkit-transition: color 0.15s ease;
    transition: color 0.15s ease;
}

.project-url {
    font-size: 11px;
    font-size: 0.7rem;
    color: #a0d490;
    color: var(--accent);
    opacity: 0.7;
    font-family: 'JetBrains Mono', monospace;
    word-break: break-all;
    -webkit-transition: color 0.15s ease, opacity 0.15s ease;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.project-desc {
    font-size: 11.5px;
    font-size: 0.72rem;
    color: #ffffff;
    opacity: 0.9;
    line-height: 1.35;
    text-transform: none;
}

.crypto-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 2px;
    padding: 4px 6px;
    border-bottom: 1px dashed #273d23;
    border-bottom: 1px dashed var(--accent-dark);
    cursor: pointer;
    -webkit-transition: background 0.15s ease;
    transition: background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.crypto-item:last-child {
    border-bottom: none;
}

@media (hover: hover) and (pointer: fine) {
    .crypto-item:hover {
        background: rgba(160, 212, 144, 0.12);
    }
    .crypto-item:hover .copy-hint {
        opacity: 1;
    }
}

.crypto-item:active {
    background: rgba(160, 212, 144, 0.2);
}

.crypto-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.crypto-name {
    font-size: 13px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #a0d490;
    color: var(--accent);
}

.copy-hint {
    font-size: 11px;
    font-size: 0.7rem;
    color: #a0d490;
    color: var(--accent);
    opacity: 0.65;
    -webkit-transition: opacity 0.15s, color 0.15s;
    transition: opacity 0.15s, color 0.15s;
}

.crypto-addr {
    font-size: 11.3px;
    font-size: clamp(0.66rem, 2.15vw, 0.71rem);
    color: #ffffff;
    word-break: break-all;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.35;
    text-transform: none;
    -webkit-user-select: all;
    -moz-user-select: all;
    -ms-user-select: all;
    user-select: all;
}

.thnx-wrapper {
    position: absolute;
    top: 16px;
    top: clamp(16px, 4vh, 28px);
    left: 16px;
    left: clamp(16px, 4vw, 28px);
    z-index: 70;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    font-family: 'JetBrains Mono', monospace;
    opacity: 0.55;
    -webkit-transition: opacity 0.15s ease;
    transition: opacity 0.15s ease;
}

.thnx-wrapper:hover,
.thnx-wrapper.open {
    opacity: 1;
}

.thnx-btn {
    background: #050505;
    background: var(--bg-black);
    border: 1px dashed #273d23;
    border: 1px dashed var(--accent-dark);
    color: #a0d490;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    padding: 3px 7px;
    cursor: pointer;
    text-transform: lowercase;
    -webkit-transition: background 0.1s, color 0.1s, border-color 0.1s;
    transition: background 0.1s, color 0.1s, border-color 0.1s;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .thnx-btn:hover {
        background: #273d23;
        background: var(--accent-dark);
        border-color: #a0d490;
        border-color: var(--accent);
    }
}

.thnx-btn:active {
    background: #273d23;
    background: var(--accent-dark);
    border-color: #a0d490;
    border-color: var(--accent);
}

.thnx-content {
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
    padding: 8px 10px;
    background: #050505;
    background: rgba(5, 5, 5, 0.95);
    border: 1px solid #273d23;
    border: 1px solid var(--accent-dark);
    box-shadow: 2px 2px 0px #273d23;
    box-shadow: 2px 2px 0px var(--accent-dark);
    text-align: left;
    font-size: 11px;
    font-size: clamp(0.68rem, 2vw, 0.78rem);
    -webkit-animation: fadeIn 0.15s ease;
    animation: fadeIn 0.15s ease;
    white-space: nowrap;
}

.thnx-wrapper.open .thnx-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

.thnx-link {
    color: #a0d490;
    color: var(--accent);
    text-decoration: none;
    opacity: 0.8;
    -webkit-transition: opacity 0.1s, color 0.1s;
    transition: opacity 0.1s, color 0.1s;
}

@media (hover: hover) and (pointer: fine) {
    .thnx-link:hover {
        opacity: 1;
        color: #ffffff;
        text-decoration: underline;
    }
}

.thnx-link:active {
    opacity: 1;
    color: #ffffff;
}

.webring-wrapper {
    position: fixed;
    bottom: 14px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 60;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr auto 1fr;
    grid-template-columns: 1fr auto 1fr;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: 560px;
    max-width: min(92vw, 560px);
    width: 100%;
    background: #050505;
    background: rgba(5, 5, 5, 0.9);
    border: 1px dashed #273d23;
    border: 1px dashed var(--accent-dark);
    box-shadow: 2px 2px 0px #273d23;
    box-shadow: 2px 2px 0px var(--accent-dark);
    padding: 3px;
    padding: clamp(2px, 0.6vh, 4px);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    white-space: nowrap;
    opacity: 0.75;
    line-height: 1.2;
    -webkit-transition: opacity 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    transition: opacity 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.webring-wrapper:hover {
    opacity: 1;
    border-color: #a0d490;
    border-color: var(--accent);
}

.webring-link {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    min-height: 24px;
    color: #a0d490;
    color: var(--accent);
    text-decoration: none;
    padding: 2px 6px;
    padding: clamp(2px, 0.5vh, 3px) clamp(5px, 1.2vw, 7px);
    -webkit-transition: color 0.12s ease, background 0.12s ease;
    transition: color 0.12s ease, background 0.12s ease;
    -webkit-tap-highlight-color: transparent;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

.webring-side {
    gap: 4px;
    white-space: nowrap;
}

.webring-prev {
    -ms-grid-column: 1;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    justify-self: start;
    margin-right: 48px;
    margin-right: clamp(36px, 8vw, 64px);
}

.webring-next {
    -ms-grid-column: 3;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    justify-self: end;
    margin-left: 48px;
    margin-left: clamp(36px, 8vw, 64px);
}

.webring-arrow {
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    font-weight: 700;
}

.webring-name {
    white-space: nowrap;
}

.webring-main {
    -ms-grid-column: 2;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    justify-self: center;
    font-weight: 700;
    border-left: 1px dashed #273d23;
    border-left: 1px dashed var(--accent-dark);
    border-right: 1px dashed #273d23;
    border-right: 1px dashed var(--accent-dark);
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
    .webring-link:hover {
        color: #ffffff;
        background: rgba(160, 212, 144, 0.15);
    }
}

.webring-link:active {
    color: #ffffff;
    background: rgba(160, 212, 144, 0.25);
}
