@import url(./icons/icons.css);
a {
    text-decoration:none;
}
#add-close {
    float: right;
    cursor: pointer;
    font-size: 20px;
}
#add-error {
    color: red;
    font-size: 13px;
}
#add-inner input {
    width: 100%;
    padding: 7px;
    margin: 8px 0;
}
#add-panel {
    position: fixed;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    background: #222;
    color: white;
    padding: 20px;
    border-radius: 8px;
    transition: top 0.3s ease;
    z-index: 1000;
}
#add-panel.open {
    top: 80px;
}
.add-partner-btn {
    margin-bottom:40px;
}
#aiChat {
    position:fixed;
    top:120px;
    height:75%;
    left:0;
    right:0;
    bottom:0;
    overflow-y:auto;
    max-width:900px;
    margin:0 auto;
    padding:20px;
    padding-bottom:140px;
}
.aicopy-btn {
    position:absolute;
    top:8px;
    right:8px;
    background:#1f2937;
    color:white;
    border:none;
    padding:5px 9px;
    border-radius:8px;
    font-size:12px;
    cursor:pointer;
    opacity:.8;
}
.aicopy-btn:hover {
    opacity:1;
    background:#374151;
}
#aiInput {
    pointer-events:auto;
    width:75%;
    max-width:900px;
    display:block;
    margin:0 auto;
    padding:14px;
    border-radius:12px;
    border:none;
    outline:none;
    background:#3cbe37;
    color:white;
    font-size:16px;
}
#aiInput::placeholder {
    color:white;
}
.aiMsg {
    padding:12px 14px;
    border-radius:12px;
    margin:10px 0;
    line-height:1.5;
}
.analog-clock {
    display: block;
}
.apbtn {
    margin:5px;
}
.art {
    margin-right:15px;
}
.article {
    background: #222;
    padding: 1.2rem;
    border-radius: 8px;
    border:1px solid #666;
    margin-bottom: 1.3rem;
    margin-right: 5em;
    margin-left: 5em;
    transition: 0.3s ease;
}
#article-author img {
    border-radius:50%;
    border:1px solid #777;
}
#article-content {
    text-align:center;
    margin: 50px 0px;
    padding:40px 0px;
    background:#333;
    width:90%;
    border:1px solid black;
    border-radius:40px;
}
.article h2 {
    color:white;
}
.article:hover {
    background-color: #444;
}
.article p {
    color:#777;
}
#backBtn {
    position: absolute;
    top: 20px;
    left: 20px;
    border-radius: 6px;
    cursor: pointer;
}
#bannedAccountNotice {
    display: none;
    background: firebrick;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 10px;
    padding: 14px;
    margin: 10px auto;
    max-width: 500px;
    text-align: center;
}
#banOverlay {
    display: none;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}
#banOverlay .banExpires {
    margin-top: 8px;
    color: #aaa;
    font-size: 0.9em;
}
#banOverlay .banReason {
    margin-top: 10px;
    color: #ddd;
    max-width: 500px;
}
#banOverlay .banTitle {
    font-weight: bold;
    font-size: 1.2em;
    color: firebrick;
}
.blocked-item {
    background: #222;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}
.blocked-item .reason {
    font-size: 12px;
    color: #aaa;
}
.blocked-item .url {
    font-size: 15px;
    color: white;
}
blockquote{
    border-left:3px solid #777;
    padding-left:6px;
    color:#bbb;
}
body {
    background-image:url('/res/bg.png');
}
body.gl-scroll-locked {
    overflow: hidden;
}
body.light-bg #badges {
    background:#333;
    width:fit-content;
    align-self:center;
    padding:0px 10px 10px;
    border-radius:10px;
    border:1px solid white;
}
body.light-bg .btxt:not(.text .btxt):not(.note div .btxt):not(.donate .btxt):not(#extensionSection .btxt), body.light-bg #clock, body.light-bg #dateText, body.light-bg #digitalClock, body.light-bg #adminEmail .field-label, body.light-bg #adminEmail .composer-title, body.light-bg #adminEmail .field-hint {
    color: black;
}
body.light-bg .cdot, body.light-bg .hand, body.light-bg .mark  {
    background-color: #000
}
body.light-bg .discord {
    color: blue;
}
body.light-bg .displayName {
    background:#333;
    padding:10px 10px 10px;
    border-radius:10px;
    border:1px solid white;
}
body.light-bg hr:not(.text hr):not(.donate hr) {
    border-color: #000;
}
body.light-bg #stats div {
    color: #000;
    background:#333;
    border-radius:10px;
}
body.light-bg .showpopup {
    filter:invert(1);
}
body.light-bg textarea {
    background-color: #333
}
body.light-bg .tptxt {
    color: green;
}
body.light-bg .y {
    color: orange;
}
#browsers {
    height:calc(100vh - calc(var(--headerHeight) + var(--footerHeight)));
    width:100%;
}
#browsers:hover {
    cursor:none;
}
#btnLoop:not(.toggled)::after {
    content: "Off";
}
#btnPlay {
    padding:4px 9px 4px 9px;
}
.btxt {
    color:white;
}
.button {
    color:white;
    background:black;
    border:1px solid white;
    transition:0.3s all;
    cursor:pointer;
    text-decoration:none;
    padding:5px;
    border-radius:7px;
}
.button:hover {
    filter:invert(0.9);
}
.cdot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.channel-mention {
    background: rgba(79,163,255,0.1);
    padding:2px 4px;
    border-radius:5px;
}
.channel-mention:hover {
    text-decoration:underline;
}
.channelModal {
    position:relative;
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    color: white;
    max-height: 80vh;
    overflow-y: auto;
    width: 300px;
    display:block;
}
.channelOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
}
#channels .active, #privateList .active {
    background: #2a2a2a;
}
#channels li, #privateList li {
    border-top:1px solid gray;
    border-bottom:1px solid gray;
    padding: 10px;
    justify-content:space-between;
    list-style: none;
    cursor: pointer;
    display:flex;
    transition: 0.2s;
}
#channels li:hover, #privateList li:hover {
    background: #2a2a2a;
}
#channelTopBarName {
    color: #eee;
    font-weight: 600;
    font-size: 1.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#channelTopBarName:not(:empty)::before {
    content: "#";
    color: #777;
    margin-right: 4px;
}
.chat-img{
    max-height:500px;
    max-width:500px;
    width:fit-content;
    height:fit-content;
    object-fit:cover;
    border-radius:15px;
    cursor:pointer;
    transition:transform 0.15s;
}
.chat-img:hover{
    transform:scale(1.05);
}
#chatInput {
    width: 100%;
    background: transparent;
    border: none;
    color: #eee;
    padding: 10px;
    border-radius: 8px;
    resize:none;
}
#chatInput:focus-visible {
    outline:none;
}
#chatLog {
    overflow-x:hidden;
    flex: 1;
    padding: 20px;
}
#chatLog > div {
    border-bottom: 1px solid #333;
    padding: 10px 0;
}
#chatMsgFunctions {
    display:flex;
    background: #1a1a1a;
    border:1px solid #444;
    color:#eee;
    border-radius:8px;
    align-items:flex-start;
}
.chrome-newtab {
    padding: 1px 5px;
    cursor: pointer;
    color:white;
    margin-left:10px;
    border-radius:50%;
    transition:0.3s all;
}
.chrome-newtab:hover {
    background:#333;
}
.chrome-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow:hidden;
    max-width: 180px;
    opacity:1;
    width:180px;
    padding: 6px 10px;
    margin-right: 4px;
    background: #333;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    position:relative;
    font-size: 14px;
    transform:scale(1);
    color:white;
    transition: width 0.25s ease, opacity 0.2s ease, transform 0.2s ease, margin 0.25s ease;
}
.chrome-tab.active {
    background: #444;
    border-bottom: 2px solid white;
}
.chrome-tab .close-tab {
    margin-left: 8px;
    font-size: 14px;
    color:white;
    border-radius:50%;
    padding: 0px 3px;
    transition:0.3s all;
}
.chrome-tab.closing {
    width: 0px;
    opacity: 0;
    transform: scale(0.8);
    margin-right: 0px;
}
.chrome-tab.active .close-tab:hover {
    background:#777;
}
.chrome-tab:not(.active) .close-tab:hover {
    background:#666;
}
.chrome-tab:not(.active) .tab-title::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to right, transparent, transparent, transparent, transparent, transparent, transparent, transparent, #333);
}
.chrome-tab.active .tab-title::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to right, transparent, transparent, transparent, transparent, transparent, transparent, transparent, #444);
}
.chrome-tab:not(:hover) .tab-title {
    text-overflow: clip;
}
.chrome-tab.opening {
    width: 0px;
    opacity: 0;
    transform: scale(0.9);
    margin-right: 0px;
}
.clock {
    box-sizing:initial;
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 8px solid #22c55e;
}
#clock {
    color:white;
}
#clockView {
    display: none;
    width:fit-content;
    transform: rotate(270deg);
}
#closeMobilePanel{
    font-size:32px;
    padding-top:0 !important;
    padding-bottom:0 !important;
    align-self:flex-end;
    border:none;
    background:none;
    color:white;
}
.codeblock{
    background:#1e1f22;
    padding:8px 10px;
    border-radius:6px;
    overflow:auto;
    margin-top:4px;
    max-width:100%;
    font-size:0.88em;
    font-family:monospace;
    border: 1px solid #3a3b3e;
}
.codeblock-lang{
    display:block;
    font-size:0.78em;
    color:#80848e;
    margin-bottom:4px;
    text-transform:lowercase;
    font-family:monospace;
}
#confirmBtns {
    background:#333;
    color:white;
    border:1px solid #555;
    border-radius:20px;
    transition:0.3s all;
}
#confirmBtns:hover {
    background:#555;
    border:1px solid #888;
    border-radius:20px;
}
.contactme {
    border:1px solid black;
    border-radius:7px;
}
.content {
    flex: 1;
    text-align:left;
}
.controls {
    display:grid; 
    grid-template-columns: 1fr auto auto auto auto; 
    gap:12px; 
    align-items:center; 
    margin-top: 10px;
}
.controls-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#create-article-btn {
    display:none;
}
.credit-name {
    font-weight: bold;
    color: white;
}
.credit-role {
    font-weight: normal;
    color: #bbb;
}
.credits-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85em;
}
.credits-row:last-child {
    border-bottom: none;
}
#CTCbtn {
    color:black;
    border:none !important;
    transition:0.3s all;
}
#cuPromptBtns {
    background:#222;
    color:white;
    padding:5px;
    border:1px solid #999;
    border-radius: 10px;
    transition: 0.3s all;
}
#cuPromptBtns:hover {
    background:#444;
}
#currentFile {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cvp-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px 5px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.15s;
    line-height: 1;
}
.cvp-btn:hover {
    background: rgba(255,255,255,0.15);
}
.cvp-btn-row {
    display: flex;
    align-items: center;
    gap: 2px;
}
.cvp-center-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.55);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    pointer-events: auto;
}
.cvp-controls {
    padding: 0 8px 6px;
}
.cvp-player {
    position: relative;
    background: #000;
    user-select: none;
}
.cvp-player:fullscreen {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
}
.cvp-player:fullscreen video {
    max-height: 100vh;
    height: 100%;
}
.cvp-player video {
    width: 100%;
    max-height: 300px;
    display: block;
    background: #000;
    object-fit: contain;
}
.cvp-progress-dot {
    width: 10px;
    height: 10px;
    background: #00c800;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    pointer-events: none;
    box-shadow: 0 0 4px rgba(0,200,0,0.6);
}
.cvp-progress-fill {
    height: 100%;
    background: lime;
    border-radius: 2px;
    position: relative;
    pointer-events: none;
}
.cvp-progress-track {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    transition: height 0.15s;
    margin-bottom: 6px;
}
.cvp-progress-track:hover {
    height: 6px;
}
.cvp-spacer {
    flex: 1;
}
.cvp-time {
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
    font-family: monospace;
    letter-spacing: 0.03em;
    margin: 0 6px;
}
.cvp-ui {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.cvp-ui.visible {
    opacity: 1;
    pointer-events: auto;
}
#dateText {
    font-size: 1.3rem;
    opacity: 0.85;
    color:white;
}
.desc p {
	width: 560px;
	color: rgba(253, 253, 253, 0.514);
}
.deleteBtn {
    color:white;
    background: #333;
    border:1px solid #444;
    border-radius: 5px;
    padding:3px;
    font-size:0.7em;
    transition:0.3s all;
    margin-left:50px;
}
.deleteBtn:hover {
    background: #222;
    border-color: #333;
    color:grey;
}
#deleteTypingBtn {
    background: #7a1f1f;
}
#digitalClock {
    top: 18%;
    left: 50%;
    font-family: monospace;
    font-size: 1.1rem;
    color: white;
    letter-spacing: 1px;
    pointer-events: none;
}
#digitalClock.big {
    font-size: 64px;
    font-weight: bold;
    text-align: center;
}
.disabled { 
    opacity:0.5; 
    pointer-events:none; 
}
.discord {
    display: block;
    color:cyan;
    width:fit-content;
    transition:0.3s all;
}
.discord:hover {
    cursor:pointer;
    color:lightseagreen;
}
.discord-audio {
    width: 360px;
    flex-direction: column;
    display: flex;
    padding: 8px 10px 6px;
    background: #2b2d31;
    border-radius: 10px;
    color: #dbdee1;
    position: relative;
}
.discord-audio audio {
    display: none;
}
.discord-audio:hover .discordaudiodl {
    opacity: 1;
}
.discordaudiocontrols {
    display: flex;
    align-items: center;
    gap: 8px;
}
.discordaudiodl {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #383a40;
    color: #b5bac1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.15s, background 0.15s;
}
.discordaudiodl:hover {
    background: #4e5058;
    color: #fff;
}
.discordaudioplay {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: #383a40;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.discordaudioplay:hover {
    background: #4e5058;
}
.discordaudioseek {
    flex: 1;
    height: 4px;
    cursor: pointer;
    accent-color: green;
}
.discordaudiosize {
    font-size: 10px;
    color: #80848e;
}
.discordaudiotime {
    font-size: 11px;
    color: #b5bac1;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}
.discordaudiotop {
    display: flex;
    align-items:center;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 28px;
}
.discordaudiotop i {
    color:green;
    font-size:2.5em;
    margin-right:6px;
}
.discord-file-block {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #2b2d31;
    border: 1px solid #3f4147;
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 6px;
    max-width: 380px;
    min-width: 200px;
}
.discord-file-dl {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #383a40;
    color: #b5bac1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}
.discord-file-dl:hover {
    background: green;
    color: #fff;
}
.discord-file-icon {
    font-size: 28px;
    color: green;
    flex-shrink: 0;
}
.discord-file-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.discord-file-name {
    font-size: 13px;
    font-weight: 600;
    color: limegreen;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
}
.discord-file-size {
    font-size: 11px;
    color: #80848e;
}
.discord-vid-dl {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    background: #383a40;
    color: #b5bac1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}
.discord-vid-dl:hover {
    background: green;
    color: #fff;
}
.discord-vid-fname {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    color: #dbdee1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.discord-vid-size {
    font-size: 10px;
    color: #80848e;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    padding: 1px 5px;
    flex-shrink: 0;
}
.discord-vid-topbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #2b2d31;
    min-height: 32px;
}
.discord-vid-wrapper {
    display: inline-flex;
    flex-direction: column;
    background: #1e1f22;
    border: 1px solid #3f4147;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 6px;
    max-width: 400px;
    width: fit-content;
}
#displayNameSection {
    display: none;
}
.drag-handle {
    margin-right: 8px;
    cursor: grab;
}
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    min-width: 180px;
    background: inherit;
    border-radius: 6px;
    padding: 6px;
    z-index: 1000;
}
.dropdown a {
    background: none;
    border: none;
    color: inherit;
    text-align: left;
    padding: 8px;
    cursor: pointer;
    transition:0.3s all;
    border-radius:5px;
}
.dropdown a:hover {
    background: rgba(255,255,255,0.1);
}
.dropdown-toggle {
    border: none;
    transition:0.3s all;
}
.dropdown-toggle::after {
    content: none !important;
}
.dropdown-wrap {
    position: relative;
    transition:0.3s all;
}
.edit-input {
    width:95%;
    text-align:center;
}
.edited-label {
    font-size: 0.7em;
    color: #aaa;
    margin-top: 2px;
    margin-left: 35px;
}
#editMoviesContainer {
    right:-500px;
    display:none;
    position:absolute;
    width:500px;
    background:#222;
    z-index:2;
    margin-top:-12px;
    height:calc(100vh - calc(var(--headerHeight) + var(--footerHeight)));
    transition:0.5s all;
    border:1px solid #444;
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
}
.editor-section {
    display: none;
}
.editor-section.visible {
    display: block;
}
.editor-tab {
    padding: 0.4rem 1.1rem;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    font-size: 0.9rem;
    background: #181825;
    color: #6c7086;
    border: 1px solid #313145;
    border-bottom: none;
    transition: background 0.15s, color 0.15s;
    user-select: none;
}
.editor-tab.active {
    background: #1e1e2e;
    color: #cdd6f4;
    border-color: #45475a;
}
#editor-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #313145;
    padding-bottom: 0.4rem;
}
.embed{
    margin-top:6px;
}
#embFrame {
    width:100vw;
    height: calc(100vh - (var(--headerHeight) + var(--footerHeight)));
}
#entries div {
    max-width:75%;
    background:#111;
    color:white;
    border:1px solid white;
    border-radius: 10px;
    margin-bottom:10px;
}
#exitReply {
    color:white !important;  
    background:none !important;
    border:none !important;
    padding:0px !important;
}
#exitReply:hover {
    color:#888 !important;
}
#expandMoviesOrder {
    z-index:1;
    right:-2px;
    position:fixed;
    top:50%;
    padding:7px;
    background:#222;
    color:white;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top:1px solid #777;
    border-bottom:1px solid #777;
    border-left:1px solid #777;
    cursor:pointer;
    transition:0.5s all;
}
#expandMoviesOrder:hover {
    background:#444;
    cursor:pointer;
}
#extCheckContainer div {
    display:flex;
    justify-content: space-between;
    padding:0px 10px;
}
#extCheckContainer::-webkit-scrollbar  {
    display:flex !important;
}
#extCheckContainer::-webkit-scrollbar-thumb {
    background-color: grey;
    border-radius: 10px;
}
#extCheckContainer::-webkit-scrollbar-thumb:hover { 
    background-color: #888; 
}
#extCheckContainer::-webkit-scrollbar-track { 
    background: transparent;
}
#fields textarea {
    width:100%;
}
.file-item {
    padding: 12px;
    background: rgba(10,10,10,0.5);
    margin: 8px 0;
    border-radius: 10px;
    border:1px solid white;
}
.file-item button {
    margin-right: 10px;
}
.file-progress {
    width: 100%;
    background: #222;
    border-radius: 4px;
    overflow: hidden;
}
.file-progress-bar {
    height: 20px;
    color:white;
    transition: width 0.4s linear;
    white-space: nowrap;
}
#fLabel {
    transition:0.3s all;
}
.flex-center {
	display: flex;
	justify-content: center;
}
footer {
    position:fixed;
    bottom:0;
    display:flex;
    justify-content:space-between;
    padding:4px;
}
.g {
    color:green;
}
#gamesContainer .button {
    padding:10px;
    margin:10px;
}
#gameLibrary {
    color: white;
    padding: 20px 0 40px;
}
.glCard {
    position: relative;
    cursor: pointer;
    text-align: left;
    padding:10px;
    background:#333;
    border-radius:10px;
    border:1px solid #666;
}
.glCardThumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.5em;
}
.glCardThumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.glCardTitle {
    margin-top: 8px;
    font-size: 0.9em;
    color: #eee;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#glGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 24px 18px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
#glPagination {
    margin-top: 30px;
}
#glPlayerBar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #111;
    border-top: 1px solid #333;
}
#glPlayerBar button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    padding: 4px 10px;
}
#glPlayerFrame {
    flex: 1;
    width: 100%;
    border: none;
    background: #000;
}
#glPlayerMeta {
    padding: 10px 16px;
    background: #0a0a0a;
    color: #aaa;
    font-size: 0.85em;
}
#glPlayerMeta p {
    margin-top: 6px;
    color: #ccc;
}
#glPlayerOverlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: #000;
    display: flex;
    flex-direction: column;
}
#glSearch {
    width: 100%;
    padding: 10px 36px 10px 14px;
    border-radius: 8px;
    border: 1px solid #444;
    background: #111;
    color: white;
}
#glSearchWrap {
    position: relative;
    width: min(500px, 90vw);
    margin: 0 auto 20px;
}
#glSearchWrap .ic-search {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}
#glSortWrap {
    margin-bottom: 20px;
    color: #aaa;
    font-size: 0.9em;
}
#glSortWrap select {
    background: #111;
    color: white;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 4px 8px;
    margin-left: 6px;
}
.glSourceBtn {
    background: #111;
    color: white;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.9em;
    cursor: pointer;
    transition: 0.2s all;
}
.glSourceBtn.active {
    background: #3a3a3a;
    border-color: #8cbe37;
    color: #fff;
}
.glSourceBtn:hover {
    background: #262626;
}
#glSourceButtons {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-left: 6px;
    vertical-align: middle;
}
#glSourceWrap {
    margin-bottom: 20px;
    color: #aaa;
    font-size: 0.9em;
}
#gradientLeft, #gradientRight, #colorInput {
    width:50px;
}
#groupInfoBtn {
    background: none !important;
    border: none !important;
    color: #ccc !important;
    font-size: 1.3em;
    padding: 2px 6px !important;
}
#groupInfoHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#groupInfoInvite {
    margin: 10px 0;
    font-size: 0.9em;
    color: #ccc;
    word-break: break-all;
}
#groupInfoMembers img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
#groupInfoMembers .kickMemberBtn {
    margin-left: auto;
    padding: 4px 8px !important;
    font-size: 0.8em;
}
#groupInfoMembers li {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 90%;
    padding: 6px 10px;
}
#groupInfoMembers .owner-label {
    font-size: 0.75em;
    color: #aaa;
    display: block;
}
#groupInfoOwnerActions, #groupInfoLeaveActions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}
#groupInfoPanel {
    padding: 20px;
    margin: 0 auto;
    overflow-y: auto;
    color: #eee;
    max-width:90%;
}
.hand {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45%;
    height: 2px;
    background: white;
    transform-origin: 0% 50%;
    transform: rotate(0deg);
    transition: transform 0.05s linear;
}
header {
    height:var(--headerHeight);
    position:fixed;
}
header, footer {
    width:100%;
    z-index:5;
}
#header-center {
    display: flex;
    align-items: center;
    z-index:4;
}
#header-left {
    display: flex;
    align-items: center;
    z-index:4;
}
#header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    z-index:4;
}
#header-right #desktopNav a:not(.dropdown-wrap a), .dropdown-toggle {
    text-decoration:none;
    background: none;
    color: inherit;
    cursor: pointer;
    padding: 6px 8px;
    white-space: nowrap;
    transition:0.3s all;
}
.hl-auth { 
    color: #fab387; 
}
.hl-bool { 
    color: #f38ba8; 
    font-weight: 600;
}
.hl-data { 
    color: #f9e2af; 
}
.hl-key { 
    color: #89dceb; 
}
.hl-null { 
    color: #6c7086; 
    font-style: italic; 
}
.hl-number { 
    color: #fab387; 
}
.hl-rule-key { 
    color: #a6e3a1; 
    font-weight: 600; 
}
.hl-rules-root { 
    color: #89b4fa; 
    font-weight: 600; 
}
.hl-string { 
    color: #a6e3a1;
}
.hl-wildcard { 
    color: #cba6f7; 
}
#hour {
    width: 80px;
    height: 6px;
    transform: translateY(-3px)
}
hr {
    margin:auto;
    opacity:1;
    max-width:75%;
    color:white;
}
.hr2 {
    max-width:50%;
}
.inline-code{
    background:#2b2d31;
    color:#e3e5e8;
    padding:1px 5px;
    border-radius:4px;
    font-size:0.88em;
    font-family:monospace;
}
input[type="range"] {
    width:100%;
    background:lime;
    appearance:none; 
    height:6px; 
    border-radius:999px; 
    outline:none; 
}
input[type="range"]::-webkit-slider-thumb { 
    appearance:none; 
    width:14px; 
    height:14px; 
    border-radius:50%; 
    background:green; 
    cursor:pointer; 
}
#inputBar {
    position:fixed;
    bottom:5%;
    left:0;
    right:0;
    padding:20px 0;
    pointer-events:none;
    z-index:10;
}
.json-editor-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.json-editor-box {
    width: 600px;
    max-width: 95%;
    height: 70%;
    background: #1e1e1e;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
}
.json-editor-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
#jsonEditorTextarea {
    flex: 1;
    width: 100%;
    resize: none;
    background: #111;
    color: #0f0;
    font-family: monospace;
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 6px;
}
.json-editor-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}
@keyframes rgbAnimation {
    0% { background-color: red; }
    33% { background-color: green; }
    66% { background-color: blue; }
    100% { background-color: red; }
}
@keyframes spin { 
    to { 
        transform: rotate(360deg);
    } 
}
@keyframes spin1 {
    0%   { transform: rotateX(70deg) rotateZ(0deg) scale(1); }
    25%  { transform: rotateX(70deg) rotateZ(22.5deg) scale(1.05); }
    50%  { transform: rotateX(70deg) rotateZ(45deg) scale(1); }
    75%  { transform: rotateX(70deg) rotateZ(22.5deg) scale(0.95); }
    100% { transform: rotateX(70deg) rotateZ(0deg) scale(1); }
}
@keyframes spin2 {
    0%   { transform: rotateX(70deg) rotateZ(36deg) scale(1); }
    25%  { transform: rotateX(70deg) rotateZ(24deg) scale(0.95); }
    50%  { transform: rotateX(70deg) rotateZ(12deg) scale(1); }
    75%  { transform: rotateX(70deg) rotateZ(24deg) scale(1.05); }
    100% { transform: rotateX(70deg) rotateZ(36deg) scale(1); }
}
@keyframes spin3 {
    0%   { transform: rotateX(70deg) rotateZ(4deg) scale(1); }
    25%  { transform: rotateX(70deg) rotateZ(6.5deg) scale(1.05); }
    50%  { transform: rotateX(70deg) rotateZ(9deg) scale(1); }
    75%  { transform: rotateX(70deg) rotateZ(6.5deg) scale(0.95); }
    100% { transform: rotateX(70deg) rotateZ(4deg) scale(1); }
}
@keyframes sp-spin { 
    to { 
        transform: rotate(360deg); 
    } 
}
#left {
    flex: 2;
    background: #1a1a1a;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid #2a2a2a;
    padding: 20px;
}
.left { 
    display:flex; 
    align-items:center; 
    gap:6px; 
}
.left-margin {
	margin: 0px 16px;
}
.letter {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 120px;
    font-weight: bold;
    color: #8cbe37;
    transform: rotateX(20deg);
    text-shadow: 0 0 20px rgba(255,255,255,0.6);
}
#loader-slow-msg {
    position: fixed;
    bottom: -160px;
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 22px;
    color: white;
    text-align: center;
    font-size: 15px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: bottom 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#loader-slow-msg.visible {
    bottom: calc(var(--footerHeight) + 5px);
}
#logo {
    height: calc(var(--headerHeight) - 1px);
    transition:0.3s all;
}
#logo:hover, #toggle:hover, .dropdown-toggle:hover, #header-right a:hover,
.popup2 input:hover, .popup2 a:hover:not(.mini-profile-btn), #fLabel:hover,
.button:hover {
    filter:invert(0.9);
}
#logs {
    white-space:pre-wrap;
    padding:10px;
    margin-top:10px;
    border-radius:8px;
    height:150px;
    overflow:auto;
    font-size:13px;
}
.m {
    color:magenta;
}
main {
    height:100%;
    padding-top:var(--headerHeight);
    padding-bottom:var(--footerHeight);
}
.mark {
    position: absolute;
    width: 2px;
    height: 10px;
    background: white;
    top: 0;
    left: 49%;
    transform-origin: center 160px;
}
.mark.hour {
    height: 18px;
    width: 4px;
    background: #22c55e;
}
.mdtxt {
    color:darkcyan;
}
@media (hover: hover) {
    #vp-center-btn {
        display: none !important;
    }
    #vp-play-btn-desktop {
        display: flex;
    }
    #vp-vol-wrap:hover #vp-vol-slider-wrap {
        height: 90px;
        padding: 6px 0;
    }
}
@media (max-width: 380px) {
    .popup2 .tab-btn {
        min-width: 44px;
        padding: 10px;
    }
    .popup2 .tab-btn span {
        display: none;
    }
}
@media (max-width: 640px) {
    .controls { 
        grid-template-columns: 1fr 1fr 1fr 1fr; 
    }
    .now { 
        flex-direction: column; 
        align-items:flex-start; 
    }
    .time { 
        display:none; 
    }
}
@media (max-width: 700px) {
    .popup2 {
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        transform: none !important;
        border-radius: 0 !important;
    }
    .popup2 .account-btn, .popup2 .contact-btn-side {
        flex: 0 0 auto !important;
        margin: 0 !important;
        white-space: nowrap !important;
        padding: 8px 12px !important;
    }
    .popup2 #clockBar {
        display: none !important;
    }
    .popup2 .credits-row {
        flex-wrap: wrap !important;
    }
    .popup2 .field-group {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 5px !important;
        margin-bottom: 8px !important;
    }
    .popup2 input, .popup2 .section button, .popup2 .section a:not(.discord), #fLabel {
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        padding: 11px 8px !important;
        font-size: 0.95em !important;
    }
    .popup2 .popup-body {
        flex-direction: column !important;
    }
    .popup2 .popup-close {
        font-size: 24px !important;
        padding: 8px 12px !important;
    }
    .popup2 .popup-header {
        height: 48px !important;
        padding: 0 6px 0 14px !important;
    }
    .popup2 .popup-header h3 {
        font-size: 0.95em !important;
    }
    .popup2 .popup-content {
        padding: 14px !important;
        text-align: left !important;
    }
    .popup2 .popup-sidebar {
        width: 100% !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 8px 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.15) !important;
        scrollbar-width: thin !important;
    }
    .popup2 .popup-sidebar::-webkit-scrollbar {
        height: 4px !important;
    }
    .popup2 .preview-img-bg {
        height: 120px !important;
    }
    .popup2 .row-actions {
        display: flex !important;
        gap: 6px !important;
        width: 100% !important;
    }
    .popup2 .row-actions .button {
        flex: 1 !important;
        margin: 0 !important;
    }
    .popup2 .section {
        justify-content: stretch !important;
    }
    .popup2 .setting-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 12px 2px !important;
        gap: 10px !important;
    }
    .popup2.shows {
        transform: none !important;
    }
    .popup2 .tab-btn {
        flex-direction: column !important;
        gap: 3px !important;
        padding: 8px 12px !important;
        min-width: 62px !important;
        min-height: 44px !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
    .popup2 .tab-btn span {
        font-size: 0.72em !important;
    }
    .popup2 .tab-btn svg {
        width: 18px !important;
        height: 18px !important;
    }
    .popup2 .tab-list {
        flex-direction: row !important;
        flex: 0 0 auto !important;
        gap: 6px !important;
    }
    .popup2 .tab-title-bar {
        margin: -14px -14px 12px -14px !important;
        text-align: center !important;
    }
    .popup2 .theme-grid {
        justify-content: center !important;
        gap: 10px !important;
    }
    .sp-ctrl {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    .sp-ctrl-play {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .sp-detail-avatar {
        width: 70px;
        height: 70px;
    }
    .sp-detail-banner {
        height: 130px;
    }
    .sp-layout {
        flex-direction: column;
        max-height: calc(100vh - calc(var(--headerHeight) + var(--footerHeight) + 48px + 72px));
    }
    .sp-li-art {
        width: 32px;
        height: 32px;
    }
    .sp-lib-actions {
        margin-left: 0;
        flex-wrap: wrap;
        gap: 6px;
    }
    .sp-lib-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    .sp-lib-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .sp-li-drag {
        display: none;
    }
    .sp-li-num {
        display: none;
    }
    .sp-main {
        padding: 12px 10px 160px;
    }
    .sp-mobile-nav {
        display: flex !important;
    }
    .sp-now-card {
        padding: 10px 12px;
        gap: 10px;
    }
    .sp-now-card img {
        width: 44px;
        height: 44px;
    }
    .sp-player {
        height: auto !important;
        min-height: 72px;
        padding: 8px 10px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        align-items: center;
        bottom: calc(var(--footerHeight) + 48px) !important;
    }
    .sp-player-artist {
        font-size: 11px;
    }
    .sp-player-btns {
        gap: 10px;
    }
    .sp-player-center {
        order: 3;
        width: 100%;
        flex: none;
        gap: 4px;
    }
    .sp-player-left {
        width: auto;
        min-width: 0;
        flex: 1;
        gap: 8px;
    }
    .sp-player-right {
        display: none;
    }
    .sp-player-thumb {
        width: 40px;
        height: 40px;
    }
    .sp-player-title {
        font-size: 12px;
    }
    .sp-playlist-item {
        padding: 8px 8px;
        gap: 8px;
    }
    .sp-pl-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    #spResults {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    .sp-section-title {
        font-size: 16px;
    }
    .sp-seek {
        height: 3px;
    }
    .sp-sidebar {
        display:none !important;
    }
    .sp-song-card {
        font-size: 12px;
    }
}
@media (active: active) {
    @media (max-width: 900px) {
        #vp-center-btn {
            display: block !important;
        }
    }
}
@media (hover: hover) {
    @media (max-width: 900px) {
        #vp-center-btn {
            display: block !important;
        }
    }
}
@media (max-width: 900px) {
    .apbtn {
        display: block !important;
        width: 60% !important;
        margin: 10px auto !important;
    }
    #channelTopBarName {
        left:60px;
        position:relative;
    }
    .controls-group {
        width:100%;
    }
    #desktopNav {
        display:none;
    }
    .discord-audio {
        width: 220px;
        height:auto;
        border-radius:20px;
    }
    .discordaudiocontrols {
        gap: 5px;
        margin-bottom:4px;
    }
    .discordaudiodl {
        opacity: 1 !important;
    }
    .discordaudioplay {
        border-radius: 50% !important;
    }
    .discordaudiotime {
        text-align: center;
    }
    .discordaudiotop {
        font-size: 11px;
        margin-left:30px;
        margin-bottom:-7px;
    }
    .discordaudiotop .discordaudiosize {
        display:none;
    }
    .discordaudiotop i {
        display:none;
    }
    .discord-file-block {
        max-width: 100%;
    }
    .discord-vid-wrapper {
        max-width: 100%;
    }
    #donateUI > br{
        display:none;
    }
    #header-left {
        display:none;
    }
    #header-right {
        width:auto;
        justify-content:flex-end;
    }
    #loader-slow-msg {
        font-size: 10px;
    }
    #loader-slow-second-msg small {
        display:none;
    }
    #mbBtns > br {
        display:none;
    }
    .mbInp {
        display:block !important;
        width:55% !important;
        margin:40px auto !important;
    }
    .mbInp2 {
        display:block !important;
        width:55% !important;
        margin:0px auto;
        margin-bottom:4px;
    }
    .mbInp3 {
        width:55% !important;
        margin:0px auto;
        margin-bottom:4px;
    }
    .meta {
        flex-direction:column;
    }
    .meta span:not(#person span) {
        text-align:center;
    }
    .mobile-menu-btn {
        display:block;
    }
    #mobileToggle {
        display:block !important;
    }
    #partners {
        flex-direction:column;
        align-items:center;
    }
    #partners .partner-box {
        margin-bottom:40px;
    }
    #privateMenu fieldset {
        flex-direction:column;
    }
    #profileCard {
        display:flex;
        flex-direction:column;
        max-width: 95% !important;
    }
    #profileContent {
        display:flex !important;
        flex-direction:column;
        background:#333;
        padding:10px;
        border-radius:10px;
    }
    #profileContent .displayName div {
        flex-direction:column;
    }
    #profileContent .displayName div img {
        margin:0px !important;
        height:220px !important;
        width:220px !important;
    }
    #profileView {
        max-width:90%;
    }
    .qrDiv {
        display:flex;
        flex-direction:column;
        margin-left:20px;
    }
    .qr-layout {
        display:flex !important;
        flex-direction:column;
    }
    .qr-left {
        height:fit-content;
    }
    .qr-left div:not(.qrDiv) {
        height:fit-content;
        display:flex;
    }
    .qr-left #fields {
        width:100%;
        flex-direction:column;
    }
    #qrPreview {
        max-width:90vw;
    }
    #qrSize {
        margin-right:10px;
    }
    #right {
        width: 100%;
        right: -100% !important;
        transition: right 0.35s ease !important;
    }
    #right.open {
        right: 0 !important;
    }
    #rightToggleBtn {
        display: block !important;
        position: fixed;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        background: #2a2a2a;
        border: none;
        border-radius: 6px 0 0 6px;
        padding: 10px 14px;
        color: #fff;
        cursor: pointer;
        transition: right 0.35s cubic-bezier(0.65, 0.05, 0.36, 1) !important;
        z-index: 1000;
    }
    #rightToggleBtn:hover {
        background: #3a3a3a;
    }
    #rightToggleBtn.open {
        right:350px !important;
    }
    .section#before {
        width:75%;
        max-width:75%;
    }
    #section.section {
        width:75%;
        max-width:75%;
    }
    #sidebar {
        position:fixed;
        left: -100%;
        width:100% !important;
        top: var(--headerHeight);
        bottom: var(--footerHeight);
        height:calc(100vh - calc(var(--headerHeight) + var(--footerHeight)));
        z-index: 999;
        transition: 0.3s ease;
    }
    #sidebar.open {
        left:0;
        width:100%;
    }
    #signupSection > br {
        display:none;
    }
    #site-footer span:first-child {
        display:none !important;
    }
    #site-header {
        flex-wrap: nowrap;
    }
    #vp-play-btn-desktop {
        display: none;
    }
    #watchVideo {
        width: 75%;
    }
}
@media (min-width: 901px){
    #desktopNav{
        display:flex;
    }
    .mbInp2 {
        display:block !important;
        width:45% !important;
        margin:-5px auto;
    }
    .meta {
        flex-direction:row;
    }
    .meta span:not(#person span) {
        text-align:right;
    }
    .mobile-menu-btn{
        display:none;
    }
}
@media (max-width: 1100px) {
    #header-left {
        display:none;
    }
    .weather-switch {
        display:none;
    }
}
.mention {
    color: #4fa3ff;
    font-weight: bold;
    background: rgba(79,163,255,0.1);
    padding: 2px 4px;
    border-radius: 4px;
}
.mention:hover, .mention-self:hover {
    text-decoration: underline;
}
#mentionMenu {
    bottom: 105px;
    left: 0;
    width: calc(100% - 20px);
    margin: 0 10px;
    background: #1b1b1b;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 8px 0;
    display: none;
    flex-direction: column;
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}
#mentionsList {
    max-height: 150px;
    overflow-y: auto;
    background: #141414;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #333;
}
.mention-self {
    color: gold;
    font-weight: bold;
    background: rgba(255,215,0,0.15);
    padding: 2px 4px;
    border-radius: 4px;
}
#mentionToggleLabel input:checked + .slider::before {
    transform: translateX(17px);
}
#mentionToggleLabel .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height:20px;
    width:40px;
    transition: 0.3s;
    border-radius: 34px;
}
#mentionToggleLabel .slider::before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 3px;
    bottom: 2.5px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}
.message {
    display: flex;
    gap: 10px;
    background: #1f1f1f;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}
.message img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}
#messages {
    list-style: none;
    padding: 0;
}
#messages li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    background-color: black;
    width: 75vw;
    overflow-wrap: anywhere;
    padding: 10px;
    border-radius: 25px;
    color: white;
    border: 1px solid white;
}
#messagesTopBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    min-height: 0;
    background: #222;
    border-bottom: 1px solid #333;
    gap: 10px;
}
#messagesTopBarRight {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.meta {
    display: flex;
    align-items:center;
    gap: 10px;
    overflow: auto;
    color:white;
}
.meta span:not(#person span) {
    width:100%;
}
.mini-engine-popup {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 300px;
    max-width: 90vw;
    background: #111;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 14px;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.mini-engine-popup .search-engine-desc {
    font-size: 0.7em;
}
.mini-engine-popup .search-engine-grid {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 2px;
}
.mini-engine-popup .search-engine-item {
    padding: 8px 10px;
}
.mini-engine-popup .search-engine-title {
    font-size: 0.85em;
}
.mini-engine-popup.shows {
    display: block;
}
.mini-profile-btn {
    display:flex;
    align-items:center;
    flex-direction: row;
    gap:6px;
    background:black;
    border:1px solid #444;
    border-radius:7px;
    padding:3px;
    transition:all 0.3s;
    color:white;
}
.mini-profile-btn:hover {
    background:white;
    color:black;
}
.mini-profile-edit {
    margin-bottom:0px !important;
    text-align:left;
    font-size:0.9em;
}
.mini-profile-pic {
    width:40px;
    height:40px;
    border-radius:50%;
}
.mini-profile-username {
    font-weight:bold;
}
#minute {
    width: 120px;
    height: 4px;
    transform: translateY(-2px);
}
.mobile-menu-btn{
    font-size:28px;
    background:none;
    border:none;
    color:white;
    cursor:pointer;
}
#mobileOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    display: none;
}
#mobileSidePanel{
    position:fixed;
    top:0;
    right:-100%;
    width:80%;
    height:100%;
    background:#111;
    z-index:9999;
    padding:20px;
    display:flex;
    flex-direction:column;
    gap:10px;
    transition:0.35s ease;
    overflow-y: auto;
}
#mobileSidePanel a:not(#lgbtn),
#mobileSidePanel button{
    color:white;
    background:none;
    border:1px solid #444;
    padding:10px;
    text-align:left;
    border-radius:6px;
}
#mobileToggle {
    display:none;
    position:fixed;
    left: 10px;
    top: 70px;
    z-index: 1000;
}
.model { 
    background:#8cbe37; 
    border:1px solid #374151; 
    color:white; 
}
#movies {
    display:flex;
    flex-direction:row;
    gap:20px;
    flex-wrap:wrap;
    padding:30px;
    justify-content:center;
}
.movie-card {
    transition: transform 0.2s, box-shadow 0.2s;
}
.movie-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(0,0,0,0.6);
}
.movie-item {
    padding: 10px;
    margin-bottom: 6px;
    max-width:75%;
    text-align:left;
    background: #222;
    border: 1px solid #444;
    border-radius:10px;
    cursor: grab;
    color:white;
    user-select: none;
}
.movie-item.dragging {
    opacity: 0.5;
}
#moviesOrder {
    max-height: 75%;
    overflow-y: auto;
    overflow-x: hidden;
}
.msg { 
    margin: 6px 0; 
    transition:0.3s all;
    overflow-x: visible;
    overflow-y: visible;
}
.msg-text {
    overflow: hidden;
    max-width: 100%;
}
.msg-text > * {
    max-width: 100%;
}
.msg-header {
    color: #aaa;
    font-size: 0.85em;
}
.msg-header #msgTimestamp {
    width:100%;
    text-align:right;
}
.msg:hover #msgBtns {
    display:flex;
}
.msg button:not(#mobileMenuBtn):not(#closeMobilePanel):not(.dropdown-toggle):not(.dropdown.themed button):not(#weatherContainer div button) {
    padding: 2px 3px;
    border-radius: 6px;
    background: #333;
    color: white;
    cursor: pointer;
}
#msgBtns {
    height:0px;
    gap:2px;
    justify-content:flex-end;
    display:none;
    transition:0.3s all;
}
#msgBtns button {
    height:fit-content;
    margin-top:-10px;
    font-size:12px;
}
#msgName {
    color: #aaa;
    cursor: pointer;
}
#musicPage {
    display: flex;
    flex-direction: column;
    height: calc(100vh - calc(var(--headerHeight) + var(--footerHeight)));
    background: #0a0a0c;
    color: #fff;
    font-family: inherit;
}
#nav-buttons {
    display:flex;
    gap:6px;
    margin-left:10px;
}
#nav-buttons button, #nav-buttons a {
    background:inherit;
    border:none;
    color:white;
    padding:5px 8px;
    border-radius:50%;
    cursor:pointer;
    transition:0.3s all;
}
#nav-buttons button:hover, #nav-buttons a:hover {
    background:#555;
}
#networkWarning {
    display:none; 
    color:darkgoldenrod; 
    padding:6px 10px; 
    border-radius:5px; 
    margin:10px 0; 
    font-weight:bold;
}
:not(pre) > code {
    background:green;
    padding:3px 6px;
    border-radius:6px;
    color:burlywood;
}
:not(pre)>code[class*=language-], pre[class*=language-] {
    border-radius:12px;
    position:relative;
    border:1px solid #1f2937;
}
.notes {
    color:white;
    background:black;
    padding:5px;
    border:1px solid white;
    border-radius:10px;
}
#notesContainer {
    width:50vw;
}
.note button {
    font-size: 16px !important;
}
.notifDot {
    color: red;
    font-weight: bold;
    margin-right: 6px;
}
.now {
    display:flex;
    color:white;
    width:75%;
}
#ntp {
    height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #111;
    padding:10px;
    color: white;
    text-align: center;
}
.nwsBackbtn {
    top: calc(20px + var(--headerHeight));
    left: 40px;
    position:fixed;
}
.p-3 {
    padding-top:0px !important;
}
#panel {
    overflow:scroll;
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100%;
    background: #111;
    color: white;
    padding: 20px;
    transition: right 0.3s ease;
    z-index: 998;
    display: flex;
    flex-direction: column;
}
#panel.open {
    right: 0;
}
#panel-btn {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 999;
}
#panel-header {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    margin-bottom: 15px;
}
.partner-box {
    width: 180px;
    height: 180px;
    display: flex;
    border:1px solid white;
    flex-direction: column;
    background: #1c1c1c;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.partner-box.active a {
    position:absolute;
    z-index:999;
    margin-top: 10px;
    font-size: 12px;
    color: #4da6ff;
    text-decoration: none;
    bottom:0;
    width:100%;
    text-align:center;
}
.partner-box.active img {
    opacity: 0.3;
}
.partner-box.active .partner-content {
    opacity: 1;
    transform: translateY(0);
}
.partner-box.active .ptnName {
    height: 100%;
    padding-top: 15px;
    background: rgba(100,100,100,0.7);
}
.partner-box.editing {
    width:400px;
    height:400px;
}
.partner-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}
.partner-box:not(.active) a {
    display: none;
}
.partner-box:not(.editing):hover {
    transform: scale(1.05);
}
.partner-content {
    z-index:998;
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    color:white;
    height: calc(100% - 40px);
    padding: 10px;
    border-top:1px solid white;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(200px);
    transition: all 0.4s ease;
    font-size: 13px;
    color:white;
    overflow: auto;
}
#partners {
    display:flex;
    justify-content:space-evenly;
}
.perks {
    list-style-type: disc;
    padding-left: 25px;
    text-align: left;
    display: inline-block;
}
#perksContainer ul {
    text-align:left;
    max-width:50%;
}
#person {
    display:flex;
    flex-direction:row;
    width:fit-content;
    text-wrap:nowrap;
    gap:10px;
}
#person img {
    border-radius:50%;
    border:1px solid #777;
}
#phrase {
    margin-top: 20px;
    margin-bottom:20px;
    font-size: 18px;
    opacity: 0.9;
}
#pinnedMessagesBtn {
    background: none !important;
    border: none !important;
    color: #ccc !important;
    font-size: 1.2em;
    padding: 2px 8px !important;
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
}
#pinnedMessagesBtn:hover {
    color: #fff !important;
}
#pinnedMessagesList {
    list-style: none;
    margin: 0;
    padding: 6px;
    overflow-y: auto;
}
#pinnedMessagesList .pinnedMsgEmpty {
    color: #888;
    border:none;
    border-radius:10px;
    background:none;
    text-align: center;
    padding: 24px 10px;
    font-size: 0.9em;
}
#pinnedMessagesList li.pinnedMsgItem {
    display: flex;
    gap: 10px;
    padding: 8px;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
}
#pinnedMessagesList li.pinnedMsgItem:hover {
    background: #262626;
}
#pinnedMessagesList li.pinnedMsgItem img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
#pinnedMessagesPanel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    max-width: 85vw;
    max-height: 420px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#pinnedMessagesPanelHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid #333;
    color: #eee;
    font-weight: 700;
}
#pinnedMessagesPanelHeader span {
    display: flex;
    align-items: center;
    gap: 8px;
}
#pinnedMessagesWrap {
    position: relative;
}
.pinnedMsgAuthor {
    color: #eee;
    font-weight: 600;
    font-size: 0.9em;
}
.pinnedMsgBody {
    min-width: 0;
    flex: 1;
}
.pinnedMsgHeader {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.pinnedMsgText {
    color: #ccc;
    font-size: 0.88em;
    overflow-wrap: anywhere;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pinnedMsgTime {
    color: #888;
    font-size: 0.75em;
}
#planet-loader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #0d1117, #000);
    display: flex;
    top:var(--headerHeight);
    bottom:var(--footerHeight);
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: opacity 0.6s ease;
}
.planet-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
}
#pollContainer {
    background:#111;
    border-radius:15px;
    width:90%;
    padding:5px;
}
.popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
}
.popup-backdrop.shows {
    opacity: 1;
    visibility: visible;
}
.popup2 {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(720px, 92vw);
    height: min(580px, 84vh);
    background-image:url('/res/popupbg.jpg');
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    border-radius: 14px;
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    z-index: 2001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.popup2 .account-btn {
    text-align: center;
    margin-bottom: 6px;
}
.popup2 #clockBar {
    font-size: 12px;
    opacity: 0.85;
    font-weight: 400;
}
.popup2 .contact-btn-side, .popup2 #CTCbtn {
    text-align: center;
    margin-top: 6px;
    color: white;
}
.popup2 hr {
    margin-top:10px;
    margin-bottom:10px;
}
.popup2 input, .popup2 button, .popup2 a.button {
    margin: 3px 2px;
    transition:0.3s all;
    font-size: 0.82em;
}
.popup2 input, .popup2 .section button, .popup2 .section a:not(.discord), #fLabel {
    background:black;
    width:fit-content;
    padding:4px 6px;
    border-radius:4px;
    border:1px solid white;
    color:white;
}
.popup2 .popup-body {
    flex: 1;
    display: flex;
    min-height: 0;
}
.popup2 .popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 9px;
    border-radius: 6px;
    transition: 0.3s all;
}
.popup2 .popup-close:hover {
    background: rgba(255,255,255,0.15);
}
.popup2 .popup-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 16px;
    text-align: center;
    color: white;
}
.popup2 .popup-header {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.popup2 .popup-header h3 {
    margin: 0;
}
.popup2 .popup-sidebar {
    width: 190px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 10px;
    overflow-y: auto;
    border-right: 1px solid rgba(255,255,255,0.15);
    background: rgba(10,10,10,0.7);
}
.popup2 .section {
    margin-bottom: 10px;
    display:flex;
    flex-wrap:wrap;
    justify-self:center;
    gap:5px;
}
.popup2.shows {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
    border:1px solid rgba(200,200,200,0.5);
}
.popup2 .tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid transparent;
    color: white;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85em;
    text-align: left;
    transition: 0.3s all;
}
.popup2 .tab-btn:hover {
    background: rgba(255,255,255,0.3);
}
.popup2 .tab-btn.active {
    background: rgba(255,255,255,0.3);
    font-weight: 600;
}
.popup2 .tab-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.popup2 .tab-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.popup2 .tab-pane {
    display: none;
}
.popup2 .tab-pane.active {
    display: block;
}
.popup2 .tab-panes-wrapper {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}
.popup2 .tab-title-bar {
    margin: -16px -16px 12px -16px;
    padding: 10px 16px;
    font-size: 0.95em;
    font-weight: 600;
    color: white;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.3);
    flex-shrink: 0;
}
pre code {
    font-size:.75em !important;
}
.preview-img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid white;
    margin: 4px auto;
    display: none;
}
.preview-img-bg {
    width: 100%;
    height: 70%;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    border: 1px solid white;
    margin: 4px auto;
    display: none;
}
.preview-img-bg.show {
    display: block;
}
.preview-img.show {
    display: block;
}
#privateList li .dm-pfp {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
#privateList li.group-item .private-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #eee;
    font-size: 1.1em;
}
#privateMenu {
    padding: 24px;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
}
#privateMenu fieldset {
    border: 1px solid #444;
    border-radius: 8px;
    padding: 14px;
    display: flex;
    gap: 8px;
}
#privateMenu fieldset input {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 6px;
    color: #eee;
    padding: 8px 10px;
}
#privateMenu fieldset legend {
    padding: 0 6px;
    font-size: 0.95em;
    color: #ccc;
    width: auto;
}
#profileCard {
    padding:20px 30px;
    max-width:80%;
}
#profileContainer {
    justify-content:center;
}
#profileRow {
    display: flex;
    align-items: center;
}
#profileSection {
    padding: 15px;
    border: 1px solid #333;
    border-radius: 12px;
    background: #202020;
    cursor:pointer;
    margin-bottom: 15px;
}
#profileSection:hover {
    background: #2a2a2a;
}
.progress {
    background:black;
    padding:9px;
    display:flex; 
    align-items:center; 
    gap:10px;
    border:1px solid white;
    transition:0.3s all;
}
#progressBar {
    width: 0%;
    height: 100%;
    background-color: limegreen;
    border-radius: 10px;
    transition: width 0.2s;
}
#progressContainer {
    width: 80vw;
    background-color: #333;
    border-radius: 10px;
    margin: 20px auto;
    height: 20px;
    display: none;
    overflow: hidden;
}
#proxy {
    height: calc(100vh - (var(--headerHeight) + var(--footerHeight)));
}
.ptnDelete-btn {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(100,100,100,0.7);
    border: none;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
}
.ptnEdit-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(100,100,100,0.7);
    border: none;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
}
.ptnEdit-panel {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(100,100,100,0.7);
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index:999;
}
.ptnEdit-panel button {
    font-size: 11px;
    padding: 3px;
    cursor: pointer;
}
.ptnEdit-panel input {
    font-size: 11px;
    padding: 3px;
}
.ptnName {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    padding-top: 10px;
    color:white;
    text-align: center;
    background: rgba(100,100,100,0.7);
    transition: all 0.4s ease;
    z-index: 2;
    font-weight: bold;
}
.ptnShow {
    display:block;
}
#pxyApps {
    display: grid;
    width:100%;
    grid-template-columns: repeat(auto-fit, 100px);
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}
#pxyApps .btxt {
    font-size: 14px;
    margin: 0;
}
#pxyApps div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}
#pxyApps div:hover {
    background: rgba(255,255,255,0.08);
    transform: scale(1.05);
}
#pxyApps img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 8px;
}
#pxyClock {
    margin-top:-30px;
}
#pxyClock #pxyDate {
    font-size: 18px;
    margin-top: 5px;
    opacity: 0.8;
}
#pxyClock #pxyTime {
    font-size: 80px;
    font-weight: 600;
    color: #8cbe37;
}
#pxySearch {
    background: #333;
    border-top:1px solid #999;
    padding:5px;
    align-items:center;
    margin:0;
    display:flex;
}
.qr-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr 460px;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px;
}
.qr-left, .qr-middle {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.qr-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.qr-stage {
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.r {
    color:red;
}
#reply {
    width:100%;
    height:50px;
    margin-bottom:-10px;
    background:#444;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    display:flex;
    justify-content:space-between;
    padding:8px;
    align-items: self-start;
}
#right {
    width: 350px;
    background: #1f1f1f;
    height: calc(100% - calc(var(--headerHeight) + var(--footerHeight)));
    position: fixed;
    right: 0;
    top: var(--headerHeight);
    padding: 20px;
    overflow-y: auto;
    border-left: 1px solid #2a2a2a;
    z-index: 900;
    transition: none;
}
#right.open {
    right: 0;
}
#rightToggleBtn {
    display: none;
}
#rightToggleBtn:hover {
    background: #3a3a3a;
}
.ring {
    position: absolute;
    border: 3px solid rgba(0,255,0,0.6);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
}
.ring1 {
    width: 220px;
    height: 80px;
    margin: -40px 0 0 -110px;
    animation: spin1 6s linear infinite;
}
.ring2 {
    width: 180px;
    height: 60px;
    margin: -30px 0 0 -90px;
    animation: spin2 6.5s linear infinite;
}
.ring3 {
    width: 250px;
    height: 100px;
    margin: -50px 0 0 -125px;
    animation: spin3 7s linear infinite;
}
#rolesContainer ul {
    text-align:left;
    max-width:50%;
}
:root {
    --headerHeight: 60px;
    --footerHeight: 32px;
}
#rules-editor {
    flex: 1;
    padding: 0.75rem 1rem;
    outline: none;
    overflow: visible;
    white-space: pre;
    word-break: break-all;
    overflow-wrap: anywhere;
    color: #cdd6f4;
    caret-color: #cdd6f4;
    min-height: 420px;
}
#rules-gutter {
    min-width: 2.8rem;
    padding: 0.75rem 0.5rem;
    text-align: right;
    color: #555;
    background: #181825;
    border-right: 1px solid #313145;
    user-select: none;
    line-height: 1.6;
    font-size: 0.78rem;
}
#rules-gutter div {
    height: 1.6em;
}
#rules-status {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-left: auto;
}
#rules-toolbar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}
#rules-wrap {
    display: flex;
    border: 1px solid #3e3e3e;
    border-radius: 6px;
    overflow: auto;
    background: #1e1e2e;
    font-family: "Fira Code", "Cascadia Code", "Consolas", monospace;
    font-size: 0.82rem;
    line-height: 1.6;
    min-height: 420px;
    max-height: 70vh;
}
#search {
    width: 100%;
    font-size: 16px;
    margin-bottom: 10px;
}
.search-engine-check {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    color: #22c55e;
    align-items: center;
    justify-content: center;
}
.search-engine-check svg {
    width: 14px;
    height: 14px;
}
.search-engine-desc {
    font-size: 0.75em;
    color: #9a9a9a;
    margin-top: 2px;
}
.search-engine-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.search-engine-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 10px;
    border: 2px solid #333;
    background: rgba(255,255,255,0.03);
    cursor: pointer;
    box-sizing: border-box;
    transition: 0.2s all;
}
.search-engine-item:hover {
    border-color: #555;
    background: rgba(255,255,255,0.06);
}
.search-engine-item.selected {
    border-color: #22c55e;
    box-shadow: 0 0 6px rgba(34,197,94,0.5);
    background: rgba(34,197,94,0.08);
}
.search-engine-item.selected .search-engine-check {
    display: flex;
}
.search-engine-title {
    font-weight: 600;
    color: white;
    font-size: 0.92em;
}
#searchEngineTrigger {
    cursor: pointer;
}
.search-preview-box {
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid #333;
    font-size: 0.8em;
    color: #ccc;
    word-break: break-all;
    font-family: monospace;
}
.search-section-sub {
    font-size: 0.78em;
    color: #9a9a9a;
    margin: 0 0 10px 0;
}
.search-section-title {
    font-weight: 600;
    color: white;
    margin: 0 0 2px 0;
}
#second {
    width: 140px;
    height: 2px;
    background: #22c55e;
    transform: translateY(-1px);
}
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
#sendBtn {
    width: 100%;
    margin-top: 8px;
    background: #444;
    border: none;
    color: white;
    padding: 12px;
    border-radius: 8px;
    transition: 0.2s;
}
#sendBtn:hover {
    background: #666;
}
#serverLogs {
    background:#333;
}
#settings {
    display:flex;
    justify-content:center;
    max-width:900px;
    flex-direction:column;
}
.settings-button {
    position: fixed;
    bottom: calc(var(--footerHeight) + 5px);
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.settings-button:hover img {
    transform: rotate(180deg);
}
.settings-button img {
    width: 30px;
    height: 30px;
    transition: transform 0.4s ease;
}
#setup, #clockView {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.showpopup {
    color:white;
    height:56px;
    width:56px;
    text-align:center;
    border-radius: 50%;
    position: fixed;
    bottom: calc(var(--footerHeight) + 5px);
    right:90px;
    font-size: 2em;
    background: rgba(111,111,111,.15);
    cursor: pointer;
    border:1px solid white;
    transition:0.3s all;
}
.showpopup:hover {
    background: rgba(255,255,255,.15);
    border-color:black;
    color:black;
}
#sidebar {
    width: 400px;
    flex-shrink:0;
    background: #181818;
    border-right: 1px solid #333;
    overflow-y: auto;
    padding: 15px;
}
#sidebarPfp {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid white;
    margin-right: 12px;
    object-fit: cover;
}
.sidebarTabBtn {
    flex: 1;
    background: #222 !important;
    border: 1px solid #444 !important;
    color: #ccc !important;
    font-size: 0.85em;
    padding: 8px 6px !important;
}
.sidebarTabBtn.active {
    background: #2a2a2a !important;
    border-color: #2a2a2a !important;
    color: white !important;
}
#sidebarTabs {
    display: flex;
    gap: 6px;
    padding: 10px 10px 0 10px;
}
#sidebar::-webkit-scrollbar { 
    display: none; 
}
#site-header {
    display: flex;
    height:var(--headerHeight);
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    gap: 12px;
    z-index:11;
}
#sj-address {
    width: 100%;
    height:30px;
	background: none;
	font-family: inherit;
	padding: 0px 17px;
	border: 1px solid rgb(255, 255, 255, 0.2);
	color: white;
	outline: none;
    border-radius: 20px;
	transition: 0.3s all;
}
#sj-address:focus {
	border: 1px solid rgba(253, 253, 253, 0.514);
	border-radius: 6px;
    box-shadow:none;
}
#sj-address:hover {
    background:#555;
    color:#999;
}
#sj-address::placeholder {
    color:#888;
}
#sj-error {
    width:100%;
    text-align:center;
    font-size:1.5em;
	color: #ff6666 !important;
	white-space: pre-wrap;
}
#sj-error-code {
	font-size: 12px;
    width:100%;
    text-align: center;
	color: #fff;
}
#sj-error-code::before {
    content: "Error Code:"
}
#sj-form {
    height:30px;
    width:90%;
    flex:1;
    margin-left:10px;
}
#sj-frame {
	border: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: calc(100vh - (var(--headerHeight) + var(--footerHeight)));
	margin-top:var(--headerHeight);
	background-color: #111;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 34px;
}
.slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}
#snowContainer {
    position: fixed;
    top: 0;
    left: 0;
    z-index:2;
    width: 100%;
    height: var(--headerHeight);
    pointer-events: none;
}
.snowflake {
    position: absolute;
    top: -10px;
    background: transparent;
    border-radius: 50%;
    opacity: 0.8;
}
.sp-album-card {
    background: #111115;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: background .15s, transform .15s;
}
.sp-album-card:hover { 
    background: #1e1e28; 
    transform: translateY(-2px); 
}
.sp-album-card img { 
    width: 100%; 
    border-radius: 8px; 
    margin-bottom: 8px; 
    display: block; 
    aspect-ratio: 1; 
    object-fit: cover; 
}
.sp-album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    padding-bottom: 20px;
}
.sp-album-title { 
    font-size: 13px; 
    font-weight: 500; 
    color: #f0f0f5; 
    margin-bottom: 3px; 
}
.sp-back-btn { 
    margin-bottom: 16px; 
}
.sp-card-add-btn {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0,0,0,.65) !important;
    border-radius: 50% !important;
    padding: 5px !important;
    font-size: 16px !important;
    opacity: 0;
    transition: opacity .15s;
}
.sp-card-album {
    font-size: 11px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.sp-card-artist {
    font-size: 12px;
    color: #1db954;
    cursor: pointer;
}
.sp-card-artist:hover { 
    text-decoration: underline; 
}
.sp-card-cover {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-bottom: 10px;
}
.sp-card-overlay {
    position: absolute;
    top: 14px;
    left: 12px;
    width: calc(100% - 24px);
    aspect-ratio: 1;
    border-radius: 8px;
    background: rgba(0,0,0,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .15s;
    font-size: 24px;
    color: #fff;
}
.sp-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #f0f0f5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}
.sp-ctrl {
    background: none;
    border: none;
    color: #8888aa;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    transition: color .15s, transform .15s;
    line-height: 1;
}
.sp-ctrl:hover  { 
    color: #fff; 
    transform: scale(1.12); 
}
.sp-ctrl-active { 
    color: #1db954 !important; 
}
.sp-ctrl-play {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sp-ctrl-play:hover { 
    background: #f0f0f5; 
    color: #000; 
    transform: scale(1.06); 
}
.sp-detail-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,.2);
    flex-shrink: 0;
}
.sp-detail-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .3;
}
.sp-detail-hero {
    position: relative;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    background: linear-gradient(to bottom, #2a2a3a, #0a0a0c);
}
.sp-detail-info h2 { 
    font-size: 2rem; 
    font-weight: 800; 
    letter-spacing: -.03em; 
}
.sp-detail-overlay {
    position: absolute;
    bottom: 20px;
    left: 24px;
    display: flex;
    align-items: flex-end;
    gap: 18px;
}
#spDownloadLibBtn { 
    gap: 6px;
}
.sp-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
    max-height: calc(100vh - calc(var(--headerHeight) + var(--footerHeight)));
    height:100%;
}
.sp-li-art {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #222;
}
.sp-lib-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}
.sp-lib-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    border-radius: 20px;
    background: #18181e;
    border: 1px solid #2a2a3a;
    color: #ccc;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.sp-lib-btn:hover { 
    background: #26263a; 
    color: #fff; 
}
.sp-lib-btn-danger:hover { 
    background: #3a1818; 
    border-color: #7a2020; 
    color: #f55; 
}
.sp-lib-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
}
.sp-li-drag { 
    color: #444; 
    cursor: grab; 
    font-size: 14px; 
    flex-shrink: 0; 
}
.sp-li-num { 
    color: #8888aa; 
    font-size: 12px; 
    width: 20px; 
    text-align: right; 
    flex-shrink: 0; 
}
.sp-li-play { 
    color: #8888aa; 
    font-size: 13px; 
    flex-shrink: 0; 
}
.sp-li-source { 
    display: flex; 
    align-items: center; 
}
.sp-li-title { 
    flex: 1; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}
.sp-loading-state {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8888aa;
    font-size: 14px;
    padding: 32px 0;
    justify-content: center;
}
.sp-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    padding: 4px 6px;
    letter-spacing: -.01em;
}
.sp-logo i { 
    font-size: 20px; 
    color: #1db954; 
}
.sp-main {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px 80px;
    background: linear-gradient(to bottom, #16161e 0%, #0a0a0c 300px);
}
.sp-mobile-nav {
    display: none;
    position: fixed;
    bottom: var(--footerHeight);
    left: 0;
    right: 0;
    height: 48px;
    background: #0e0e12;
    border-top: 1px solid #1e1e28;
    z-index: 900;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-around;
}
.sp-mobile-nav-btn {
    flex: 1;
    background: none;
    border: none;
    color: #8888aa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 11px;
    cursor: pointer;
    transition: color .15s;
    padding: 0;
}
.sp-mobile-nav-btn:hover {
    color: #fff;
}
.sp-mobile-nav-btn.active {
    color: #1db954;
}
.sp-mobile-nav-btn i {
    font-size: 18px;
}
.sp-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sp-nav-btn {
    background: none;
    border: none;
    color: #8888aa;
    text-align: left;
    padding: 9px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background .15s, color .15s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sp-nav-btn:hover  { 
    background: #1e1e28; 
    color: #fff; 
}
.sp-nav-btn.active { 
    background: #1e1e28; 
    color: #fff; 
}
.sp-now-card {
    background: linear-gradient(135deg, #1a2a1a 0%, #111115 100%);
    border: 1px solid #1db95422;
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}
.sp-now-card img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #333;
}
.sp-now-meta { 
    flex: 1; 
    min-width: 0; 
}
.sp-now-sub { 
    font-size: 12px; 
    color: #8888aa; 
}
.sp-now-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.spoiler{
    background:#444;
    color:#444;
    padding:2px 4px;
    border-radius:4px;
    cursor:pointer;
}
.spoiler.reveal{
    color:white;
}
.sp-pip-art {
    max-width: 100vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #555;
    padding:3px;
}
.sp-pip-art img {
    object-fit: cover;
    max-height:100%;
    max-width:calc(100vw - 4px);
    border-radius:10px;
}
.sp-pip-artist {
    font-size: 11px;
    color: #a0a0b0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
    text-align: left;
}
.sp-pip-art-wrap {
    position: relative;
    width: calc(100vw - 4px);
    height:80vh;
    display:flex;
    justify-content:center;
    aspect-ratio: 1 / 1;
    flex: 1 1 auto;
    margin-top:2px;
    min-height: 0;
    background: #1e1e28;
    border-radius:10px;
}
.sp-pip-info {
    text-align: left;
    min-width: 0;
    width: 100%;
    padding: 10px 14px 12px;
    flex-shrink: 0;
    box-sizing: border-box;
}
.sp-pip-ov-controls {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.sp-pip-ov-bottom {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sp-pip-ov-btn {
    background: none;
    border: none;
    color: #eee;
    font-size: 15px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color .15s, transform .15s;
    flex-shrink: 0;
}
.sp-pip-ov-btn:hover {
    color: #fff;
    transform: scale(1.1);
}
.sp-pip-ov-btn.sp-pip-active {
    color: #1db954 !important;
}
.sp-pip-overlay {
    position: absolute;
    inset: 0;
    background: rgba(40, 40, 46, .55);
    display: flex;
    flex-direction: column;
    padding: 10px 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}
.sp-pip-overlay.show {
    opacity: 1;
    pointer-events: auto;
}
.sp-pip-ov-play {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    border: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform .15s, background .15s;
}
.sp-pip-ov-play:hover {
    transform: scale(1.06);
    background: #f0f0f5;
}
.sp-pip-ov-times {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #ddd;
    padding: 0 1px;
}
.sp-pip-root {
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    background: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: inherit;
    -webkit-user-select: none;
    min-height:135px;
    user-select: none;
    overflow: hidden;
}
.sp-pip-seek {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,.3);
    outline: none;
    margin: 0;
    cursor: pointer;
}
.sp-pip-seek::-moz-range-thumb {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
}
.sp-pip-seek::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0,0,0,.6);
}
.sp-pip-title {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    transition: transform 3s linear;
}
.sp-pip-title-wrap {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.sp-pip-title-wrap.sp-pip-marquee .sp-pip-title {
    transform: translateX(var(--sp-pip-marquee-dist, 0px));
}
.sp-pip-vol-popup {
    position: absolute;
    bottom: 250%;
    left: 50%;
    transform: translateX(-50%) rotate(270deg);
    margin-bottom: 8px;
    background: #181820;
    border: 1px solid #26262f;
    border-radius: 6px;
    width: 116px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    padding:5px;
    pointer-events: none;
    transition: opacity .15s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,.5);
}
.sp-pip-vol-popup.show {
    opacity: 1;
    pointer-events: auto;
}
.sp-pip-vol-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,.25);
    outline: none;
    margin: 0;
    cursor: pointer;
}
.sp-pip-vol-slider::-moz-range-thumb {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
}
.sp-pip-vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}
.sp-pip-vol-slider-wrap {
    width: 100px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sp-pip-vol-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sp-pl-add-btn {
    background: transparent;
    border: none;
    color: #8888aa;
    padding: 4px 6px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
    transition: color .15s, background .15s;
}
.sp-pl-add-btn:hover { 
    color: var(--accent, #8cbe37); 
    background: rgba(255,255,255,.06); 
}
.sp-pl-remove-lib-btn {
    background: transparent;
    border: none;
    color: #8888aa;
    padding: 4px 6px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
    transition: color .15s, background .15s;
    opacity: 0;
}
.sp-playlist-item:hover .sp-pl-remove-lib-btn {
    opacity: 1;
}
.sp-pl-remove-lib-btn:hover {
    color: #f55;
    background: rgba(255,80,80,.12);
}
.sp-player {
    height: 80px;
    position:fixed;
    bottom: var(--footerHeight);
    width:100%;
    background: #111115;
    border-top: 1px solid #1e1e28;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    gap: 16px;
    flex-shrink: 0;
    transform: translateY(100%);
    transition: transform .3s ease;
}
.sp-player-artist {
    font-size: 12px;
    color: #8888aa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sp-player-artist:hover { 
    color: #fff; 
    text-decoration: underline; 
}
.sp-player-btns {
    display: flex;
    align-items: center;
    gap: 16px;
}
.sp-player-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.sp-playlist-item.active .sp-li-play { 
    color: #1db954; 
}
.sp-player-left {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 220px;
    flex-shrink: 0;
}
.sp-player-meta { 
    min-width: 0; 
}
.sp-player-right {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 140px;
    flex-shrink: 0;
    justify-content: flex-end;
}
.sp-player-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #1e1e28;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #555;
    flex-shrink: 0;
    overflow: hidden;
}
.sp-player-thumb img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}
.sp-player-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sp-player.visible { 
    transform: translateY(0); 
}
.sp-playlist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 100px;
}
.sp-playlist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    background: #111115;
    cursor: pointer;
    transition: background .15s;
    font-size: 13px;
}
.sp-playlist-item:hover  { 
    background: #1a1a22;
}
.sp-playlist-item.active { 
    background: #1a2a1a; 
    color: #1db954; 
}
.sp-playlist-item.sp-dragging { 
    opacity: .4;
}
.sp-pl-card {
    background: var(--s2, #1e2030);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    border: 1px solid rgba(255,255,255,.07);
}
.sp-pl-card:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 24px rgba(0,0,0,.35); 
}
.sp-pl-card:hover .sp-pl-card-play-btn {
    opacity: 1;
    transform: scale(1);
}
.sp-pl-card-art {
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-color: #111;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.sp-pl-card-count { 
    font-size: 11px; 
    color: #8888aa; 
    margin-top: 2px; 
}
.sp-pl-card-info { 
    padding: 8px 10px 10px; 
}
.sp-pl-card-name { 
    font-size: 13px; 
    font-weight: 600; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
}
.sp-pl-card-play-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,.65);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity .15s, transform .15s;
}
.sp-pl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    padding: 8px 0 80px;
}
.sp-pl-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.sp-pl-modal-box {
    background: var(--s2, #1e2030);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 18px 20px 20px;
    width: min(360px, 92vw);
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.sp-pl-modal-close {
    background: none;
    border: none;
    color: #8888aa;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.sp-pl-modal-close:hover { 
    color: #fff;
}
.sp-pl-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}
.sp-pl-modal-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.07);
    cursor: pointer;
    font-size: 13px;
    text-align: left;
    width: 100%;
}
.sp-pl-modal-item:hover { 
    background: rgba(255,255,255,.1); 
}
.sp-pl-modal-list {
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sp-pl-remove-btn {
    background: transparent;
    border: none;
    color: #8888aa;
    padding: 4px 6px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
    transition: color .15s;
}
.sp-pl-remove-btn:hover { 
    color: #f55;
}
#spResults {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    padding-bottom: 20px;
}
.sp-search-btn {
    padding: 9px 18px;
    border-radius: 24px;
    border: none;
    background: #1db954;
    color: #000;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
}
.sp-search-btn:hover { 
    background: #1ed760; 
}
.sp-search-icon {
    position: absolute;
    left: 12px;
    color: #8888aa;
    font-size: 14px;
    pointer-events: none;
}
.sp-search-input {
    width: 100%;
    padding: 10px 12px 10px 34px;
    border-radius: 24px;
    border: 1px solid #2a2a3a;
    background: #18181e;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color .2s;
}
.sp-search-input:focus { 
    border-color: #1db954; 
}
.sp-search-input::placeholder { 
    color: #666; 
}
.sp-search-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.sp-search-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}
.sp-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 4px 0 10px;
    letter-spacing: -.01em;
}
.sp-seek {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, #1db954 var(--pct,0%), #333 var(--pct,0%));
    outline: none;
    cursor: pointer;
}
.sp-seek::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: none;
}
.sp-seek::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    opacity: 0;
    transition: opacity .15s;
}
.sp-seek:hover::-webkit-slider-thumb { 
    opacity: 1; 
}
.sp-seek-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 480px;
}
.sp-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #111115;
    border-right: 1px solid #1e1e28;
    display: flex;
    flex-direction: column;
    padding: 16px 12px;
    gap: 20px;
    overflow-y: auto;
}
.sp-sidebar-art {
    margin-top: auto;
    background: #18181e;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sp-sidebar-art img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #333;
}
.sp-sidebar-artist {
    font-size: 12px;
    color: #8888aa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sp-sidebar-meta { 
    min-width: 0; 
}
.sp-sidebar-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sp-song-card {
    background: #111115;
    border-radius: 12px;
    padding: 14px 12px 12px;
    cursor: pointer;
    position: relative;
    transition: background .15s, transform .15s;
}
.sp-song-card:hover  { 
    background: #1e1e28; 
    transform: translateY(-2px); 
}
.sp-song-card:hover .sp-card-add-btn { 
    opacity: 1; 
}
.sp-song-card:hover .sp-card-overlay, .sp-song-card.playing .sp-card-overlay { 
    opacity: 1; 
}
.sp-song-card.playing { 
    outline: 1px solid #1db954; 
}
.sp-song-card.sp-loading .sp-card-cover { 
    opacity: .4; 
}
.sp-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #333;
    border-top-color: #1db954;
    border-radius: 50%;
    animation: sp-spin .7s linear infinite;
}
.sp-stream-track {
    padding: 11px 14px;
    border-radius: 8px;
    background: #111115;
    margin-bottom: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    transition: background .15s;
}
.sp-stream-track:hover { 
    background: #1e1e28; 
}
.sp-stream-track.playing { 
    background: #1a1a22; 
    color: #1db954; 
}
.sp-tab { 
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
}
.sp-time {
    font-size: 11px;
    color: #8888aa;
    width: 34px;
    flex-shrink: 0;
    text-align: center;
}
.sp-track-count { 
    font-size: 12px; 
    color: #666; 
    white-space: nowrap; 
}
.sp-vol {
    width: 90px;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, #1db954 var(--pct,100%), #333 var(--pct,100%));
    outline: none;
    cursor: pointer;
}
.sp-vol::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: none;
}
.sp-vol::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}
#stats button {
    color:white;
    transition:0.3s all;
    background:none;
    border:none;
}
#stats button:hover {
    color:#888;
}
#stats small {
    margin-bottom:10px;
}
#statusDropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #1e1e1e;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 6px;
    z-index: 9999;
    min-width: 170px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    flex-direction: column;
    gap: 2px;
}
#statusLabel {
    font-size: 0.85em;
    color: #ccc;
}
.statusOption {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.88em;
    color: #eee;
}
.statusOption:hover {
    background: rgba(255,255,255,0.08);
}
.statusOption.selected .statusCheck {
    visibility: visible;
}
.statusOption .statusCheck {
    visibility: hidden;
    color: #4fa3ff;
}
.statusOption .statusOptionLabel {
    flex: 1;
}
#statusRow {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
    width: fit-content;
    padding: 2px 4px;
    border-radius: 6px;
    margin-top: 2px;
}
#statusRow:hover {
    background: rgba(255,255,255,0.06);
}
.subtext {
    font-size: 0.85em;
    color: #888;
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.switch input:checked + .slider {
    background-color: #4CAF50;
}
.switch input:checked + .slider::before {
    transform: translateX(26px);
}
.switch input:focus + .slider {
    box-shadow: 0 0 1px #4CAF50;
}
.szo2 {
    width:25%;
}
.szo3 {
    width:12.5%;
}
table { 
    width: 100%; 
    border-collapse: collapse; 
    margin-top: 20px; 
    color:white;
    background:#333;
}
.tab-frame {
    transition: opacity 0.25s ease;
    width: 100%;
    height: calc(100vh - calc(var(--footerHeight) + var(--headerHeight)) - 75px);
    border: none;
}
.tab-frame.active-frame {
    opacity: 1;
    display:block !important;
}
.tab-title {
    max-width: 100%;
    width:100%;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    display: inline-block;
}
.tab-title::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    pointer-events: none;
}
#tabs {
    overflow:hidden;
    display: flex;
    align-items: center;
    background: #222;
    padding: 4px;
    height:30px;
    overflow-x: auto;
}
.tenor-gif {
    height:300px;
    width:300px;
}
textarea.szo2 {
    height:100px;
}
.theme-check {
    display: none;
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #22c55e;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px black;
}
.theme-check svg {
    width: 11px;
    height: 11px;
}
.theme-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 4px;
}
.theme-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 62px;
}
.theme-name {
    font-size: 0.7em;
    color: white;
    margin-top: 4px;
    text-align: center;
}
.theme-option-group {
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 6px;
    box-sizing: border-box;
    transition: 0.2s all;
}
.theme-option-group .option-check {
    display: none;
    color: #22c55e;
    margin-left: 4px;
}
.theme-option-group.selected {
    border-color: #22c55e;
    box-shadow: 0 0 6px rgba(34,197,94,0.65);
}
.theme-option-group.selected .option-check {
    display: inline;
}
.theme-section-label {
    font-size: 0.78em;
    color: white;
    opacity: 0.85;
    text-align: center;
    display: block;
    margin-bottom: 2px;
}
.theme-swatch {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    border: 2px solid #777;
    cursor: pointer;
    box-sizing: border-box;
    transition: 0.2s all;
}
.theme-swatch:hover {
    transform: scale(1.06);
    border-color: #555;
}
.theme-swatch-particle {
    position: absolute;
    font-size: 13px;
    line-height: 1;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.45);
    transform-origin: center;
}
.theme-swatch-particle:nth-child(1) {
    top: 58%;
    left: 10%;
}
.theme-swatch-particle:nth-child(2) {
    top: 14%;
    left: 42%;
}
.theme-swatch-particle:nth-child(3) {
    top: 55%;
    left: 70%;
}
.theme-swatch-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 6px;
    pointer-events: none;
}
.theme-swatch.selected {
    border-color: #22c55e;
    box-shadow: 0 0 6px rgba(34,197,94,0.65);
}
.theme-swatch.selected .theme-check {
    display: flex;
}
th, td { 
    padding: 8px 12px; 
    border: 1px solid #444; 
    text-align: left; 
}
.timestamp {
    color:gray;
    font-size:14px;
}
.tinput {
    outline:none;
    background:transparent;
    border:none;
    min-height: calc(1.5em + .75rem + calc(var(--bs-border-width) * 2));
    margin-left:10px;
    width:100%;
}
.tinput:active {
    border:none;
    outline:none;
}
#toggle {
    background:none;
    color:black;
    border-radius:50%;
    border:1px solid black;
    transition:0.3s all;
}
.toggled::after {
    content: "On"
}
.token.comment { 
    color:#6b7280 
}
.token.string { 
    color:#34d399 
}
.token.keyword { 
    color:#60a5fa 
}
.token.function { 
    color:#fbbf24 
}
.token.number { 
    color:#f87171 
}
.tooltip {
    position: fixed;
    background: #222;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    max-width: 90vw;
    word-wrap: break-word;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.2s, transform 0.2s;
}
.tooltip.show {
    opacity: 1;
    transform: translateY(0);
}
#topbar {
    background: #222;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ccc;
}
#topRow {
    display: flex;
    margin-bottom: 2px;
    align-items:center;
    gap:5px;
}
.tptxt {
    color:lime;
}
.track {
    padding:7px;
    border-radius:10px;
    width:75%;
    border:1px solid white;
    display:flex;
    margin-bottom:5px;
    font-size:1.5em;
}
.track:active {
    cursor:grabbing;
}
.track.active {
    font-weight:bold;
}
.track:hover {
    cursor:grab;
}
.track span {
    margin-right:20px;
}
#typingContainer {
    min-width:500px !important;
}
.update-box {
    padding: 0px;
    max-width:75%;
    font-weight:bold;
    font-size:130%;
    margin-bottom:7px;
    border:1px solid white;
    border-radius:15px;
}
.user { 
    background:#0cbe37; 
    color:white; 
}
.user-item {
    background: #222;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 12px;
}
.user-item.banned {
    background: firebrick !important;
    border: 2px solid #fff !important;
    color: #fff !important;
}
.user-item.banned * {
    color: #fff !important;
}
.user-item.dnd {
	border: 2px solid darkred !important;
}
.user-item:hover {
    background: #333;
}
.user-item.idle {
	border: 2px solid darkgoldenrod !important;
}
.user-item.offline {
	border: 2px solid grey !important;
}
.user-item.online {
	border: 2px solid #69a84f !important;
}
#userpanel {
    display:flex;
    justify-content:center;
    display:none;
}
#videoPlayer {
    width: 95vw;
    max-height: calc(100vh - (var(--headerHeight) + var(--footerHeight)));
    border-radius: 10px;
    margin-top: 70px;
}
#vp-back-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
#vp-back-btn .ic {
    font-size: 16px;
}
.vp-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    transition: background 0.15s;
    line-height: 1;
}
.vp-btn:hover {
    background: rgba(255,255,255,0.15);
}
#vp-btn-row {
    display: flex;
    align-items: center;
    gap: 4px;
}
#vp-center-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.55);
    border: none;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 26px;
    pointer-events: auto;
}
#vp-controls {
    padding: 0 10px 8px;
}
#vp-dropup {
    position: absolute;
    bottom: calc(100% + 6px);
    right: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    min-width: 160px;
    display: none;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(0,0,0,0.6);
    z-index: 50;
}
#vp-dropup.open {
    display: flex;
}
.vp-menu-back {
    border-bottom: 1px solid #333;
    color: #aaa;
    font-size: 12px;
}
.vp-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    font-size: 13px;
    color: #eee;
    cursor: pointer;
    transition: background 0.12s;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    white-space: nowrap;
}
.vp-menu-item:hover {
    background: #2a2a2a;
}
.vp-menu-item.selected .vp-menu-check {
    display: block;
}
.vp-menu-item .vp-menu-check {
    margin-left: auto;
    color: lime;
    font-size: 13px;
    display: none;
}
#vp-menu-wrap {
    position: relative;
}
#vp-progress-dot {
    width: 12px;
    height: 12px;
    background: #00c800;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    pointer-events: none;
    box-shadow: 0 0 4px rgba(0,200,0,0.6);
}
#vp-progress-fill {
    height: 100%;
    background: lime;
    border-radius: 2px;
    position: relative;
    pointer-events: none;
    text-align:left;
}
#vp-progress-track {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    transition: height 0.15s;
    text-align:left;
}
#vp-progress-track:hover {
    height: 6px;
}
.vp-spacer {
    flex: 1;
}
#vp-time {
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    font-family: monospace;
    letter-spacing: 0.03em;
    min-width: 120px;
}
#vp-top-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
#vp-ui {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
}
#vp-ui.visible {
    opacity: 1;
    pointer-events: auto;
}
#vp-vol-slider {
    -webkit-appearance: none;
    appearance: none;
    writing-mode: vertical-lr;
    direction: rtl;
    width: 4px;
    height: 78px;
    border-radius: 2px;
    background: linear-gradient(to top, lime var(--vol-pct, 100%), rgba(255,255,255,0.25) var(--vol-pct, 100%));
    outline: none;
    cursor: pointer;
}
#vp-vol-slider::-moz-range-thumb {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #00c800;
    cursor: pointer;
    border: none;
}
#vp-vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #00c800;
    cursor: pointer;
}
#vp-vol-slider-wrap {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 0;
    overflow: hidden;
    transition: height 0.2s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(20,20,20,0.85);
    border-radius: 8px;
    padding: 0;
}
#vp-vol-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
}
#vp-wrapper {
    position: relative;
    width: 75vw;
    max-height: calc(100vh - (var(--headerHeight) + var(--footerHeight)));
    margin-top: 50px;
    border-radius: 12px;
    background: #000;
    user-select: none;
}
#vp-wrapper:fullscreen video, #vp-wrapper:-webkit-full-screen video {
    border-radius: 0;
    width: 100vw;
    height: 100vh;
    object-fit: contain;
}
#vp-wrapper:fullscreen, #vp-wrapper:-webkit-full-screen {
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
}
#vp-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
}
#watch-header {
    display: none;
    position: relative;
    align-items: center;
    gap: 12px;
    width: 75vw;
    margin-bottom: 8px;
    flex-direction: row;
    justify-content: flex-start;
}
#watchPanel {
    position: relative;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: -50px;
}
#watchVideo {
    width: 75vw;
    height: auto;
    border-radius: 12px;
    background: black;
    display: block;
}
::-webkit-scrollbar {
    display:none;
}
.y {
    color:yellow;
}
.yt-embed {
    position: relative;
    margin-top: 6px;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 16 / 9;
}
.yt-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}