:root {
    --bg-body:            url("../img/day.jpg");
    --bg-blur:            8px;
    --bg-container:       rgba(155, 188, 232, 0.3);
    --bg-primary:         rgba(65,  125, 228, 0.6);
    --bg-title:           rgba(42,  112, 235, 1);
    --bg-header:          rgba(42,  112, 235, 0.75);
    --bg-footer:          rgba(42,  112, 235, 0.75);
    --bg-sidebar:         rgba(155, 188, 232, 0.3);
    --bg-content:         rgba(155, 188, 232, 0.3);
    --bg-input:           rgba(108, 165, 230, 0.2);
    --text-primary:       rgba(234, 245, 255, 1);
    --text-content:       rgba(33,  55,  118, 1);
    --btn-bg:             rgba(42,  112, 235, 0.9);
    --btn-bg-solid:       rgba(55,  120, 238, 1);
    --btn-text:           rgba(234, 245, 255, 1);
    --btn-active-bg:      rgba(210, 229, 253, 1);
    --btn-active-text:    rgba(30,  55,  130, 1);
    --hover-bg:           rgba(92,  152, 238, 0.75);
    --progressbar-fill:   rgba(48,  114, 230, 0.75);
    --progressbar-bg:     rgba(0,   0,   0,   0.15);
    --input-border:       rgba(48,  114, 230, 0.75);
    --scrollbar-thumb:    rgba(48,  114, 230, 0.75);
    --scrollbar-track:    transparent;
    --tooltip-bg:         rgba(220, 232, 250, 0.9);
    --tooltip-text:       rgba(33,  55,  118, 1);
    --playlist-bg:        rgba(155, 192, 235, 0.75);
    --gloss-light:        rgba(255, 255, 255, 0.2);
    --gloss-mid:          rgba(255, 255, 255, 0.03);
    --gloss-dark:         rgba(0,   0,   0,   0.08);
    --shadow-drop:        0 8px 28px rgba(0, 0, 0, 0.15);
    --shadow-inset:       inset 0 1px 0 rgba(255, 255, 255, 0.11), inset 0 -1px 0 rgba(0, 0, 0, 0.06);
    --bevel:              1px solid rgba(255, 255, 255, 0.08);
    --bevel-bottom:       1px solid rgba(0,   0,   0,   0.2);
    --glass-border:       1px solid rgba(255, 255, 255, 0.16);
    --cursor-normal:      url("../img/cursors/arrow.png") 0 0, auto;
    --cursor-pointer:     url("../img/cursors/pointer.png") 5 1, pointer;
    --cursor-grab:        url("../img/cursors/grab.png") 8 6, grab;
    --cursor-grabbing:    url("../img/cursors/grabbing.png") 7 1, grabbing;
    --logo:               url("../img/logo.gif");
}
[data-theme="night"] {
    --bg-body:            url("../img/night.jpg");
    --bg-blur:            8px;
    --bg-container:       rgba(42,  42,  61,  0.3);
    --bg-primary:         rgba(26,  26,  46,  0.6);
    --bg-title:           rgba(22,  33,  62,  1);
    --bg-header:          rgba(22,  33,  62,  0.75);
    --bg-footer:          rgba(22,  33,  62,  0.75);
    --bg-sidebar:         rgba(42,  42,  61,  0.3);
    --bg-content:         rgba(42,  42,  61,  0.3);
    --bg-input:           rgba(58,  106, 153, 0.2);
    --text-primary:       rgba(234, 245, 255, 1);
    --text-content:       rgba(184, 184, 208, 1);
    --btn-bg:             rgba(22,  33,  62,  0.9);
    --btn-bg-solid:       rgba(42,  80,  144, 1);
    --btn-text:           rgba(234, 245, 255, 1);
    --btn-active-bg:      rgba(30,  58,  95,  1);
    --btn-active-text:    rgba(170, 212, 255, 1);
    --hover-bg:           rgba(74,  111, 165, 0.75);
    --progressbar-fill:   rgba(35,  87,  177, 0.75);
    --progressbar-bg:     rgba(0,   0,   0,   0.15);
    --input-border:       rgba(35,  87,  177, 0.75);
    --scrollbar-thumb:    rgba(35,  87,  177, 0.75);
    --scrollbar-track:    transparent;
    --tooltip-bg:         rgba(22,  22,  41,  0.9);
    --tooltip-text:       rgba(184, 184, 208, 1);
    --playlist-bg:        rgba(42,  42,  61,  0.75);
    --gloss-light:        rgba(255, 255, 255, 0.1);
    --gloss-mid:          rgba(255, 255, 255, 0.01);
    --gloss-dark:         rgba(0,   0,   0,   0.18);
    --shadow-drop:        0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-inset:       inset 0 1px 0 rgba(255, 255, 255, 0.11), inset 0 -1px 0 rgba(0, 0, 0, 0.06);
    --bevel:              1px solid rgba(255, 255, 255, 0.08);
    --bevel-bottom:       1px solid rgba(0,   0,   0,   0.2);
    --glass-border:       1px solid rgba(255, 255, 255, 0.16);
    --cursor-normal:      url("../img/cursors/arrownight.png") 0 0, auto;
    --cursor-pointer:     url("../img/cursors/pointernight.png") 5 1, pointer;
    --cursor-grab:        url("../img/cursors/grabnight.png") 8 6, grab;
    --cursor-grabbing:    url("../img/cursors/grabbingnight .png") 7 1, grabbing;
    --logo:               url("../img/logo.gif");
}
.gloss {
    background-image: linear-gradient(
        180deg,
        var(--gloss-light) 0%,
        var(--gloss-mid)   49%,
        var(--gloss-dark)  50%,
        transparent        100%
    );
}

* {
    background-origin: border-box;
    cursor: inherit;
}

body {
    position: relative;
    background: none;
    font-family: "Times New Roman", Times, serif;
    margin: 0;
    padding: 0;
    color: var(--text-primary);
    cursor: var(--cursor-normal);
    transition: background-image 0.6s ease;
}
body::before {
    content: '';
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: var(--bg-body);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    filter: blur(var(--bg-blur));
    z-index: -1;
    transition: background-image 0.6s ease;
}
table {
    width: 100%;
}
a {
    color: var(--text-content);
    cursor: var(--cursor-pointer);
    margin-bottom: 5px;
}
p {
  margin-bottom: 10px;
}

hr {
    width: 100%;
    border-color: var(--text-content);
    margin: 30px auto;
    opacity: 0.6;
}
details summary hr {
    margin: 0;
}
#container {
    width: 1000px;
    margin: 38px auto;
    background-color: var(--bg-container);
    background-image: linear-gradient(
        180deg,
        var(--gloss-light) 0%,
        var(--gloss-mid)   48%,
        transparent        100%
    );
    border: var(--glass-border);
    border-radius: 64px 64px 56px 56px;
    padding: 10px;
    box-sizing: border-box;
    box-shadow: var(--shadow-drop), var(--shadow-inset);
    transition: all 0.4s ease;
}
#header {
    display: flex;
    align-items: center;
    background-color: var(--bg-header);
    background-image: linear-gradient(
        180deg,
        var(--gloss-light) 0%,
        var(--gloss-mid)   49%,
        var(--gloss-dark)  50%,
        transparent        100%
    );
    color: var(--text-primary);
    padding: 5px;
    font-size: 20px;
    font-style: italic;
    border-radius: 64px;
    border: var(--glass-border);
    backdrop-filter: blur(var(--bg-blur));
    -webkit-backdrop-filter: blur(var(--bg-blur));
    box-shadow: var(--shadow-drop), var(--shadow-inset);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    transition: all 0.4s ease;
}
#header-logo {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background-image:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.55) 0%,
            rgba(255, 255, 255, 0.10) 49%,
            rgba(0,   0,   0,   0.18) 50%,
            transparent                100%
        ),
        var(--logo);
    background-size: cover;
    background-position: center;
    margin: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.55);
    box-shadow: var(--shadow-drop), var(--shadow-inset);
    transition: all 0.4s ease;
}
#container > table {
    background-color: var(--bg-content);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04) 0%,
        transparent               40%
    );
    border-radius: 42px;
    border: var(--glass-border);
    backdrop-filter: blur(var(--bg-blur));
    -webkit-backdrop-filter: blur(var(--bg-blur));
    box-shadow: var(--shadow-drop), var(--shadow-inset);
    margin: 10px 0;
    table-layout: fixed;
    overflow: hidden;
    transition: all 0.4s ease;
}

#sidebar {
    width: 275px;
    flex-shrink: 0;
    background: none;
    padding: 10px;
    color: var(--text-primary);
    vertical-align: top;
    border-right: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    transition: all 0.4s ease;
}

#content {
    padding: 24px;
    line-height: 1;
    background: none;
    color: var(--text-content);
    font-size: 18px;
    vertical-align: top;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    transition: all 0.4s ease;
}

#web-buttons {
    overflow: hidden;
    width: 100%;
    text-align: center;
}
.mq-track {
    overflow: hidden;
    width: 100%;
}
.mq-inner {
    display: inline-block;
    white-space: nowrap;
    -webkit-animation: wb-scroll 22s linear infinite;
       -moz-animation: wb-scroll 22s linear infinite;
        -ms-animation: wb-scroll 22s linear infinite;
            animation: wb-scroll 22s linear infinite;
}
.mq-track:hover .mq-inner {
    -webkit-animation-play-state: paused;
       -moz-animation-play-state: paused;
        -ms-animation-play-state: paused;
            animation-play-state: paused;
}
.mq-inner img,
.mq-inner a,
.mq-inner iframe {
    margin-right: 2px;
    vertical-align: middle;
}
@-webkit-keyframes wb-scroll {
    from { -webkit-transform: translateX(0); }
    to   { -webkit-transform: translateX(-50%); }
}
@-moz-keyframes wb-scroll {
    from { -moz-transform: translateX(0); }
    to   { -moz-transform: translateX(-50%); }
}
@keyframes wb-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

#footer {
    background-color: var(--bg-footer);
    background-image: linear-gradient(
        180deg,
        var(--gloss-light) 0%,
        var(--gloss-mid)   49%,
        var(--gloss-dark)  50%,
        transparent        100%
    );
    color: var(--text-primary);
    text-align: center;
    padding: 10px;
    font-size: 14px;
    border-radius: 64px;
    border: var(--glass-border);
    backdrop-filter: blur(var(--bg-blur));
    -webkit-backdrop-filter: blur(var(--bg-blur));
    box-shadow: var(--shadow-drop), var(--shadow-inset);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}
#menu-title,
.counter-title,
#widgets-title,
#websites-title {
    text-align: center;
    font-size: 20px;
    font-style: italic;
    font-weight: bold;
    background-color: var(--bg-title);
    background-image: linear-gradient(
        180deg,
        var(--gloss-light) 0%,
        var(--gloss-mid)   49%,
        var(--gloss-dark)  50%,
        transparent        100%
    );
    color: var(--text-primary);
    border-radius: 36px;
    border: var(--glass-border);
    backdrop-filter: blur(var(--bg-blur));
    -webkit-backdrop-filter: blur(var(--bg-blur));
    padding: 16px;
    margin: 0 0 10px 0;
    box-shadow: var(--shadow-drop), var(--shadow-inset);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    transition: all 0.4s ease;
}
#menu {
    background-color: var(--bg-primary);
    background-image: linear-gradient(
        180deg,
        var(--gloss-light) 0%,
        var(--gloss-mid)   49%,
        var(--gloss-dark)  50%,
        transparent        100%
    );
    border-radius: 36px;
    border: var(--glass-border);
    backdrop-filter: blur(var(--bg-blur));
    -webkit-backdrop-filter: blur(var(--bg-blur));
    padding: 9px;
    box-shadow: var(--shadow-drop), var(--shadow-inset);
    transition: all 0.4s ease;
}
#menu a {
    display: block;
    padding: 8px 12px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}
#menu a:hover {
    background-color: var(--hover-bg);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(255, 255, 255, 0.0)  50%,
        rgba(0,   0,   0,   0.05) 100%
    );
    color: var(--text-primary);
    border-radius: 24px;
    box-shadow: var(--shadow-inset);
}
#widgets {
    position: relative;
    z-index: 1;
    background-color: var(--bg-primary);
    background-image: linear-gradient(
        180deg,
        var(--gloss-light) 0%,
        var(--gloss-mid)   49%,
        var(--gloss-dark)  50%,
        transparent        100%
    );
    border-radius: 36px;
    border: var(--glass-border);
    backdrop-filter: blur(var(--bg-blur));
    -webkit-backdrop-filter: blur(var(--bg-blur));
    padding: 9px;
    margin-top: 9px;
    box-shadow: var(--shadow-drop), var(--shadow-inset);
    transition: all 0.4s ease;
}
#widgets-content {
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
}
#counter {
    background-color: var(--bg-content);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04) 0%,
        transparent               40%
    );
    color: var(--text-content);
    border-radius: 36px;
    border: var(--glass-border);
    backdrop-filter: blur(var(--bg-blur));
    -webkit-backdrop-filter: blur(var(--bg-blur));
    padding: 9px;
    margin-top: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 2px 6px rgba(0, 0, 0, 0.09);
    transition: all 0.4s ease;
}
#counter a {
    text-decoration: none;
    color: inherit;
    cursor: var(--cursor-pointer);
}
#counter a:hover {
    background-color: var(--hover-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-inset);
}
.counter-visits {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 8px 12px;
    color: var(--text-content);
    border-radius: 10px;
    transition: all 0.4s ease;
}
.counter-val {
    font-weight: bold;
    font-size: 18px;
    color: var(--text-content);
    transition: all 0.4s ease;
}
.counter-goatcounter {
    display: flex;
    justify-content: space-between;
    text-align: center;
    font-size: 12px;
    padding: 8px 12px;
    color: var(--text-content);
    border-radius: 10px;
    transition: all 0.4s ease;
}
.counter-visits:hover,
.counter-goatcounter:hover {
    background-color: var(--hover-bg);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(255, 255, 255, 0.0)  50%,
        rgba(0,   0,   0,   0.05) 100%
    );
    color: var(--text-primary);
    border-radius: 24px;
    box-shadow: var(--shadow-inset);
}
#websites {
    background-color: var(--bg-primary);
    background-image: linear-gradient(
        180deg,
        var(--gloss-light) 0%,
        var(--gloss-mid)   49%,
        var(--gloss-dark)  50%,
        transparent        100%
    );
    border-radius: 36px;
    border: var(--glass-border);
    backdrop-filter: blur(var(--bg-blur));
    -webkit-backdrop-filter: blur(var(--bg-blur));
    padding: 9px;
    margin-top: 9px;
    box-shadow: var(--shadow-drop), var(--shadow-inset);
    transition: all 0.4s ease;
}
#websites-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}
#rick {
    display: none;
    width: 100%;
    height: 100%;
}
.wplayer-widget {
    position: relative;
    z-index: 10;
    width: 100%;
    background: var(--bg-content);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04) 0%,
        transparent               40%
    );
    color: var(--text-primary);
    border-radius: 36px 36px 30px 30px;
    border: var(--glass-border);
    backdrop-filter: blur(var(--bg-blur));
    -webkit-backdrop-filter: blur(var(--bg-blur));
    padding: 9px;
    margin-top: 10px;
    font-family: "Times New Roman", Times, serif;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    box-sizing: border-box;
}
.wplayer-widget * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.wplayer-widget-title {
    text-align: center;
    font-size: 20px;
    font-style: italic;
    font-weight: bold;
    background-color: var(--bg-title);
    background-image: linear-gradient(
        180deg,
        var(--gloss-light) 0%,
        var(--gloss-mid)   49%,
        var(--gloss-dark)  50%,
        transparent        100%
    );
    color: var(--text-primary);
    border-radius: 36px;
    border: var(--glass-border);
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(var(--bg-blur));
    -webkit-backdrop-filter: blur(var(--bg-blur));
    padding: 16px;
    margin: 0 0 11px 0;
    box-shadow: var(--shadow-drop), var(--shadow-inset);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    transition: all 0.4s ease;
}
.wplayer-widget-body {
    background: var(--bg-content);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.03) 0%,
        transparent               40%
    );
    color: var(--text-content);
    border-radius: 20px;
    backdrop-filter: blur(var(--bg-blur));
    -webkit-backdrop-filter: blur(var(--bg-blur));
    padding: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: all 0.4s ease;
}
.wplayer-track-info {
    overflow: hidden;
    position: relative;
    height: 1.4em;
    margin-bottom: 8px;
    font-style: italic;
    font-weight: bold;
    font-size: 13px;
}
#wp-title-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}
#wp-title {
    position: absolute;
    top: 0;
    white-space: nowrap;
    will-change: transform;
    animation: wplayer-marquee 4s linear infinite;
}
@keyframes wplayer-marquee {
    from { left: 100%; transform: translateX(0); }
    to   { left: 0;    transform: translateX(-100%); }
}
.content-marquee-wrap {
    overflow: hidden;
    position: relative;
    height: 1.4em;
    width: 100%;
}
.content-marquee-text {
    position: absolute;
    top: 0;
    white-space: nowrap;
    animation: wplayer-marquee linear infinite;
}
#wp-title-wrapper:hover #wp-title,
.content-marquee-wrap:hover .content-marquee-text {
    animation-play-state: paused;
}
.wplayer-controls {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
    flex-wrap: nowrap;
}
.wplayer-btn {
    background-color: var(--btn-bg);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.09) 0%,
        rgba(255, 255, 255, 0.01) 49%,
        rgba(0,   0,   0,   0.08) 50%,
        transparent               100%
    );
    border: none;
    color: var(--text-primary);
    font-weight: bold;
    font-size: 13px;
    width: 36px;
    height: 36px;
    padding: 0;
    flex: none;
    text-align: center;
    border-radius: 50%;
    cursor: var(--cursor-pointer);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    transition: all 0.15s ease;
    line-height: 36px;
}
.wplayer-btn:hover {
    background-color: var(--hover-bg);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.11) 0%,
        rgba(255, 255, 255, 0.02) 49%,
        rgba(0,   0,   0,   0.06) 50%,
        transparent               100%
    );
    border-radius: 24px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}
.wplayer-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15), inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
.wplayer-btn.active-mode {
    background-color: var(--btn-active-bg);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.11) 0%,
        rgba(255, 255, 255, 0.01) 49%,
        rgba(0,   0,   0,   0.06) 50%,
        transparent               100%
    );
    color: var(--btn-active-text);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.wplayer-btn-play {
    font-size: 14px;
}
.wplayer-progress-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.wplayer-progressbar {
    flex: 1;
    height: 6px;
    background: var(--progressbar-bg);
    border-radius: 4px;
    overflow: hidden;
    cursor: var(--cursor-pointer);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(0, 0, 0, 0.08);
}
.wplayer-progressbar-fill {
    height: 100%;
    width: 0%;
    background-color: var(--progressbar-fill);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.1)  0%,
        rgba(255, 255, 255, 0.01) 49%,
        rgba(0,   0,   0,   0.05) 50%,
        transparent               100%
    );
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: width 0.25s linear;
}
.wplayer-time {
    font-family: "Times New Roman", Times, serif;
    font-size: 10px;
    color: var(--text-content);
    white-space: nowrap;
}
.wplayer-toggle-playlist-btn {
    width: 100%;
    text-align: center;
    background-color: var(--btn-bg);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.01) 49%,
        rgba(0,   0,   0,   0.08) 50%,
        transparent               100%
    );
    border: none;
    color: var(--text-primary);
    font-family: "Times New Roman", Times, serif;
    font-style: italic;
    font-size: 13px;
    padding: 5px 16px;
    border-radius: 24px;
    cursor: var(--cursor-pointer);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    transition: all 0.15s ease;
}
.wplayer-toggle-playlist-btn:hover {
    background-color: var(--hover-bg);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}
.wplayer-toggle-playlist-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), inset 0 1px 4px rgba(0, 0, 0, 0.09);
}
.wplayer-playlist {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background-color: var(--playlist-bg);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04) 0%,
        transparent               30%
    );
    border-radius: 16px;
    border: var(--glass-border);
    backdrop-filter: blur(var(--bg-blur));
    -webkit-backdrop-filter: blur(var(--bg-blur));
    overflow-y: auto;
    max-height: 256px;
    z-index: 9999;
    padding: 4px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.wplayer-playlist.open {
    display: block;
}
.wplayer-playlist-item {
    padding: 5px 12px;
    cursor: var(--cursor-pointer);
    font-size: 13px;
    color: var(--text-content);
    border-radius: 16px;
    margin: 4px;
    transition: all 0.2s ease;
}
.wplayer-playlist-item:hover {
    background-color: var(--hover-bg);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.07) 0%,
        transparent               50%
    );
    color: var(--text-content);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.wplayer-playlist-item.active {
    background-color: var(--bg-title);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.01) 49%,
        rgba(0,   0,   0,   0.06) 50%,
        transparent               100%
    );
    color: var(--text-primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1px 4px rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
#widgets-content .kofi-widget {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
    box-sizing: border-box;
    background-color: var(--btn-bg);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.01) 49%,
        rgba(0,   0,   0,   0.08) 50%,
        transparent               100%
    );
    color: rgba(255, 255, 255, 1);
    border-radius: 24px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: var(--cursor-pointer);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    transition: all 0.15s ease;
}
#widgets-content .kofi-widget:hover {
    background-color: var(--hover-bg);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}
#widgets-content .kofi-widget:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.11), inset 0 1px 4px rgba(0, 0, 0, 0.09);
}
.kofi-widget-icon {
    width: 24px;
    height: auto;
    display: block;
    margin-right: 8px;
}
details summary {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: var(--cursor-pointer);
    list-style: none;
    white-space: nowrap;
}
details summary::-webkit-details-marker {
    display: none;
}
details summary::before {
    content: "►";
    font-size: 1rem;
    display: inline-block;
}
details[open] summary::before {
    content: "▼";
}
button {
    all: unset;
    display: inline-block;
    background-color: var(--btn-bg);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.09) 0%,
        rgba(255, 255, 255, 0.01) 49%,
        rgba(0,   0,   0,   0.08) 50%,
        transparent               100%
    );
    color: var(--btn-text);
    padding: 5px 12px;
    border-radius: 16px;
    cursor: var(--cursor-pointer);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    transition: all 0.15s ease;
    vertical-align: middle;
    position: relative;
    top: 1px;
    margin-bottom: 4px;
}
button:hover {
    background-color: var(--hover-bg);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}
button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.11), inset 0 1px 4px rgba(0, 0, 0, 0.09);
}
select,
input[type="number"] {
    background-color: var(--bg-input);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.03) 0,
        transparent               100%
    );
    color: var(--text-content);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    padding: 4px 10px;
    font-family: "Times New Roman", Times, serif;
    font-size: 12px;
    cursor: var(--cursor-pointer);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}
textarea,
input[type="url"] {
    background-color: var(--bg-input);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.02) 0%,
        transparent               30%
    );
    color: var(--text-content);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    padding: 6px 8px;
    font-family: "Times New Roman", Times, serif;
    font-size: 18px;
    outline: none;
    cursor: var(--cursor-normal);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.07);
}

textarea,
.wplayer-playlist {
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

textarea::-webkit-scrollbar,
.wplayer-playlist::-webkit-scrollbar {
    width: 8px;
    cursor: var(--cursor-grab);
}

textarea::-webkit-scrollbar-track,
.wplayer-playlist::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 12px;
    margin: 4px;
    cursor: var(--cursor-normal);
}

textarea::-webkit-scrollbar-thumb,
.wplayer-playlist::-webkit-scrollbar-thumb {
    border-radius: 12px;
    background-color: var(--scrollbar-thumb);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.14) 0%,
        rgba(255, 255, 255, 0.02) 49%,
        rgba(0,   0,   0,   0.08) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    cursor: var(--cursor-grab);
}

textarea::-webkit-scrollbar-thumb:hover,
.wplayer-playlist::-webkit-scrollbar-thumb:hover {
    background-color: var(--hover-bg);
    cursor: var(--cursor-grab);
}

textarea::-webkit-scrollbar-thumb:active,
.wplayer-playlist::-webkit-scrollbar-thumb:active {
    cursor: var(--cursor-grabbing);
}

input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    height: 6px;
    background-color: var(--bg-input);
    background-image: linear-gradient(
        180deg,
        rgba(0,   0,   0,   0.1)  0,
        rgba(255, 255, 255, 0.02) 100%
    );
    border: none;
    border-radius: 12px;
    outline: none;
    vertical-align: middle;
    cursor: var(--cursor-grab);
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.1);
}
input[type="range"]:active {
    cursor: var(--cursor-grabbing);
}
input[type="range"]:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--btn-bg-solid);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.11) 0%,
        rgba(255, 255, 255, 0.0)  50%,
        rgba(0,   0,   0,   0.1)  100%
    );
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    cursor: var(--cursor-grab);
}
input[type="range"]:active::-webkit-slider-thumb {
    cursor: var(--cursor-grabbing);
}
input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--btn-bg-solid);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.11) 0%,
        rgba(255, 255, 255, 0.0)  50%,
        rgba(0,   0,   0,   0.1)  100%
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    cursor: var(--cursor-grab);
}
input[type="range"]:active::-moz-range-thumb {
    cursor: var(--cursor-grabbing);
}
input[type="color"] {
    -webkit-appearance: none;
    appearance: none;
    width: 36px;
    height: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0;
    cursor: var(--cursor-pointer);
    background: none;
    overflow: hidden;
    vertical-align: middle;
    margin-right: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}
input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 12px;
}
input[type="color"]::-moz-color-swatch {
    border: none;
    border-radius: 12px;
}
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid var(--input-border);
    background-color: var(--bg-input);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.04) 0,
        transparent               100%
    );
    cursor: var(--cursor-pointer);
    position: relative;
    vertical-align: middle;
    top: -1px;
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.08);
    transition: background 0.2s ease;
}
input[type="checkbox"]:checked {
    background-color: var(--bg-input);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.03) 0,
        transparent 100%
    );
}

input[type="radio"],
input[type="submit"] {
    cursor: var(--cursor-pointer);
}

.iframe-shield-wrap {
    position: relative;
    display: inline-block;
}
.iframe-shield {
    position: absolute;
    inset: 0;
    z-index: 9999;
    cursor: var(--cursor-normal);
}

label {
    position: relative;
    display: inline-block;
}
label:has(input[type="checkbox"]:checked)::after {
    content: "✓";
    position: absolute;
    left: 8px;
    top: 0px;
    transform: none;
    font-family: "Courier New", Courier, monospace;
    font-size: 22px;
    color: var(--text-content);
    line-height: 1;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.tooltip-target {
    cursor: var(--cursor-pointer);
}
.tooltip-box {
    position: fixed;
    background: var(--tooltip-bg);
    background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        transparent               40%
    );
    color: var(--tooltip-text);
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 8px;
    backdrop-filter: blur(var(--bg-blur));
    -webkit-backdrop-filter: blur(var(--bg-blur));
    white-space: normal;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transition: opacity 0.18s ease;
}
.tooltip-box.show {
    opacity: 1;
}
.tooltip-box:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
}
.tooltip-top:after {
    bottom: -5px;
    left: var(--arrow-x, 50%);
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--tooltip-bg);
}
.tooltip-bottom:after {
    top: -5px;
    left: var(--arrow-x, 50%);
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid var(--tooltip-bg);
}
.tooltip-left:after {
    right: -5px;
    top: var(--arrow-y, 50%);
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid var(--tooltip-bg);
}
.tooltip-right:after {
    left: -5px;
    top: var(--arrow-y, 50%);
    transform: translateY(-50%);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 5px solid var(--tooltip-bg);
}