/* ── aboutmepage.css ─────────────────────────────────────────────────────────
   OS desktop mode for the about me page.
   style.css is left untouched.
   ──────────────────────────────────────────────────────────────────────────── */

/* GLOBAL: buttons never resize or change on any state */
button, input[type="button"], input[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    box-sizing: border-box;
    transition: none !important;
    transform: none !important;
}
button:hover, button:focus, button:active,
input[type="button"]:hover, input[type="button"]:focus, input[type="button"]:active,
input[type="submit"]:hover, input[type="submit"]:focus, input[type="submit"]:active {
    outline: none;
    transform: none !important;
    transition: none !important;
    padding: inherit;
    font-size: inherit;
    border-width: inherit;
}

html, body {
    overflow: hidden !important;
    height: 100% !important;
    background-image: url(wallpaper.png) !important;
    background-size: cover !important;
    background-position: center !important;
}

main {
    display: block !important;
    height: 0 !important;
    overflow: visible !important;
}

footer { display: none; }

/* ── All windows hidden by default ───────────────────────────────────────── */
.draggable-window {
    display: none;
    position: fixed !important;
    box-sizing: border-box;
    margin: 0 !important;
    z-index: 100;
    max-width: 90vw;
}

.draggable-window.open {
    display: block;
}

/* ── Window widths (positions are set by JS on open) ─────────────────────── */
#sec-ange   { width: 260px; }
#sec-me     { width: 360px; }
#sec-art    { width: 360px; }
#sec-site   { width: 380px; }
#sec-fav    { width: 260px; }
#sec-fandom { width: 460px; }
#sec-chars  { width: 360px; }
#sec-info   { width: 280px; }
#sec-poll   { width: 250px; }

/* ── Desktop icons ────────────────────────────────────────────────────────── */
#desktop-icons {
    position: fixed;
    inset: 0;
    bottom: 36px; /* above taskbar */
    z-index: 50;
    pointer-events: none;
}

.desktop-icon {
    pointer-events: all;
    position: absolute; /* JS will set top/left per grid cell */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 72px;
    padding: 6px 4px;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    transition: background 0.1s;
    box-sizing: border-box;
}

.desktop-icon:hover {
    background: rgba(255, 185, 216, 0.35);
}

.desktop-icon.active {
    background: rgba(255, 128, 180, 0.3);
    outline: 1px dashed #fb80b4;
}

.icon-img {
    font-size: 32px;
    line-height: 1;
    filter: drop-shadow(1px 2px 0px rgba(0,0,0,0.25));
}

.desktop-icon span {
    font-family: 'Pixelify Sans', 'Courier New', monospace;
    font-size: 11px;
    color: #fff;
    text-align: center;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    line-height: 1.2;
    word-break: break-word;
}

/* ── Window drag / cursor behaviour ──────────────────────────────────────── */
.window .content {
    cursor: default !important;
}

.window .title {
    cursor: grab;
}

/* ── inner layout helpers ─────────────────────────────────────────────────── */
.stamps { display: flex; justify-content: center; flex-wrap: wrap; }
.heh1 { display: flex; flex-direction: row; }
.heh2 { display: flex; flex-direction: row; }
.favoritethings    { border: none; height: 100%; width: 30%; padding: 10px; }
.favoritemedia     { border: none; height: 100%; width: 70%; padding: 10px; }
.whoami            { border: none; height: 100%; width: 50%; padding: 10px; }
.dramaticbackstory { border: none; height: 100%; width: 50%; padding: 10px; }
.hisanokirant      { border: none; height: 100%; width: 40%; padding: 10px; }
.personapic        { border: none; height: 100%; width: 76%; padding: 10px; }
.mediatab  { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; }
.chartab   { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; }
.itemandtitle  { display: flex; flex-direction: column; justify-content: center; padding: 20px; }
.itemandtitle2 { display: flex; flex-direction: column; justify-content: center; padding: 5px; }
.mediaitem  { height: 170px; width: 110px; }
.mediaitem2 { height: 100px; width: 100px; }

#status_hisa {
    display: inline-block;
    width: 47%;
    max-height: 400px;
    height: auto;
    margin: 4px 1%;
}

.current_image { width: 100%; height: auto; display: block; }
img[src*="sparkles"] { display: block; margin: 6px 0; }

/* ── Close button overlay (sits on top of .title::after pseudo-element) ───── */
.win-close-btn {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    cursor: pointer !important;
    z-index: 10;
    display: block;
}

/* title needs relative positioning for the close btn to anchor to */
.window .title {
    position: relative;
}

/* ── Taskbar ──────────────────────────────────────────────────────────────── */
#taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 36px;
    background: linear-gradient(180deg, #ffa0c7 0%, white 45%, #E263a2 47%, #ffa0c7 100%);
    border-top: 2px ridge #fd69a5;
    outline: solid 2px #EA4D8E;
    box-shadow:
        inset 13px 0px 6px -10px #f170a5,
        inset -13px 0px 6px -10px #f170a5,
        inset 0px 13px 6px -10px #ffffff,
        inset 0px -13px 6px -10px #f170a5;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 6px 0 0;
    z-index: 9999;
    box-sizing: border-box;
}

/* XP-style start button */
#taskbar-start {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 14px;
    font-family: 'Pixelify Sans', monospace;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    text-shadow: 1px 1px 0 #a03060;
    background: linear-gradient(180deg, #ff8dc0 0%, #e0337a 45%, #c0105a 47%, #e8609c 100%);
    border-right: 2px solid #df387d;
    box-shadow: inset 2px 0 0 #ffb8d8, inset 0 2px 0 #ffb8d8, inset -1px 0 0 #c06090;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    cursor: pointer;
}
#taskbar-start:hover {
    background: linear-gradient(180deg, #ffadd4 0%, #e8508e 45%, #d0306e 47%, #f080b0 100%);
    color: #fff;
}

/* divider between start and window buttons */
#taskbar-divider {
    width: 2px;
    height: 24px;
    background: linear-gradient(180deg, transparent, #df387d, transparent);
    margin: 0 2px;
    flex-shrink: 0;
}

/* clock on the right */
#taskbar-clock {
    margin-left: auto;
    font-family: 'Pixelify Sans', monospace;
    font-size: 13px;
    color: #7a003a;
    text-shadow: 0 1px 0 #ffd6e8;
    background: linear-gradient(180deg, #FFF4F6, #ffd6e8);
    border: 1px solid #df387d;
    box-shadow: inset 1px 1px 0 #fff4f8, inset -1px -1px 0 #c06090;
    padding: 2px 8px;
    white-space: nowrap;
    flex-shrink: 0;
    height: 22px;
    display: flex;
    align-items: center;
}

/* taskbar window buttons */
.taskbar-btn {
    font-family: 'Pixelify Sans', monospace;
    font-size: 12px;
    color: #7a003a;
    background: linear-gradient(180deg, #FFF4F6 0%, #ffd6e8 100%);
    border: 1.5px solid #df387d;
    box-shadow: inset 2px 0 0 #fff0f6, inset 0 2px 0 #fff0f6, inset -1px -1px 0 #c06090;
    padding: 2px 8px;
    cursor: pointer;
    white-space: nowrap;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: none;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    height: 26px;
    line-height: 1;
}

.taskbar-btn.visible {
    display: flex;
}

.taskbar-btn:hover {
    background: linear-gradient(180deg, #fff8fb 0%, #ffe4f0 100%);
}

.taskbar-btn.focused {
    background: linear-gradient(180deg, #f0a0c8 0%, #ffd0e8 100%);
    box-shadow: inset 1px 1px 0 #c06090, inset -1px -1px 0 #fff4f8;
}

.taskbar-btn-icon {
    font-size: 14px;
    flex-shrink: 0;
}



/* ── Icon drag ghost (snap target highlight) ──────────────────────────────── */
#icon-snap-ghost {
    position: absolute;
    width: 72px;
    height: 88px;
    border: 1px dashed #fb80b4;
    background: rgba(255, 185, 216, 0.2);
    border-radius: 4px;
    pointer-events: none;
    display: none;
    z-index: 49;
}

.desktop-icon.dragging {
    opacity: 0.5;
    z-index: 9998 !important;
    transition: none;
}

/* ── Error popup ──────────────────────────────────────────────────────────── */
#error-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.15);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#error-window {
    width: 320px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
}

#error-titlebar {
    position: relative;
}

/* the ::after close image is already rendered by style.css — wire up click area */
#error-titlebar .win-close-btn {
    right: 2px;
}

#error-body {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 12px;
    margin-top: 4px;
}

#error-icon {
    font-size: 36px;
    flex-shrink: 0;
}

#error-msg {
    font-family: 'Pixelify Sans', monospace;
    font-size: 14px;
    color: #fb80b4;
    margin: 0;
    line-height: 1.6;
}

#error-footer {
    display: flex;
    justify-content: center;
    padding: 6px 0 2px;
}

#error-ok {
    font-family: 'Pixelify Sans', monospace;
    font-size: 13px;
    color: #7a003a;
    background: linear-gradient(180deg, #FFF4F6, #ffd6e8);
    border: 2px solid #df387d;
    box-shadow: inset 1px 1px 0 #fff4f8, inset -1px -1px 0 #c06090;
    padding: 4px 28px;
    cursor: pointer;
    letter-spacing: 0.05em;
}
#error-ok:hover {
    background: linear-gradient(180deg, #fff0f6, #ffd0e8);
}

#error-popup.hidden {
    display: none;
}

/* ── Per-window title icons — ::before hidden, real img injected by JS ───── */
#sec-ange .title::before, #sec-me .title::before, #sec-art .title::before,
#sec-site .title::before, #sec-fav .title::before, #sec-fandom .title::before,
#sec-chars .title::before, #sec-info .title::before, #sec-poll .title::before {
    content: none;
}

.title-icon {
    width: 16px;
    height: 16px;
    image-rendering: pixelated;
    vertical-align: middle;
    float: left;
    margin-right: 3px;
    margin-top: 1px;
    margin-left: 1px;
}

/* ── Fandom media player ─────────────────────────────────────────────────── */
#sec-fandom { width: 640px; }

#sec-fandom .content {
    background: #f2a0c4 !important;
    padding: 8px !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 6px !important;
    height: 380px !important;
    overflow: hidden !important;
    border-radius: 0 0 4px 4px;
}

/* LEFT playlist */
#fandom-playlist {
    width: 130px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border: 2px solid #c0507a;
    border-radius: 6px;
    background: #fde8f2;
    overflow: hidden;
    box-shadow: inset 2px 2px 0 #fff0f6, inset -1px -1px 0 #c06090;
}

.fandom-playlist-title {
    font-family: 'Pixelify Sans', monospace;
    font-size: 10px;
    color: #7a003a;
    padding: 4px 8px 3px;
    border-bottom: 1px solid #e080b0;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #FFF4F6 0%, #ffd6e8 100%);
}

#fandom-list {
    overflow-y: scroll;
    flex: 1;
}

#fandom-list::-webkit-scrollbar { width: 5px; }
#fandom-list::-webkit-scrollbar-track { background: #fde8f2; }
#fandom-list::-webkit-scrollbar-thumb { background: #e080b0; border-radius: 3px; }

.fandom-item {
    font-family: 'Pixelify Sans', monospace;
    font-size: 10px;
    color: #7a003a;
    padding: 4px 7px;
    cursor: pointer;
    border-bottom: 1px solid #f4c0d8;
    line-height: 1.3;
}

.fandom-item:hover { background: #ffd6e8; }
.fandom-item.active { background: #e8609c; color: #fff; }

/* MIDDLE player — CRT monitor shape */
#fandom-player {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 0;
    padding: 6px;
    background: #f2a0c4;
}

/* the CRT screen */
#fandom-screen {
    width: 100%;
    flex: 1;
    background: #3a0020;
    border-radius: 16px 16px 10px 10px;
    border: 4px solid #c0507a;
    box-shadow:
        inset 3px 3px 8px rgba(255,255,255,0.1),
        inset -3px -3px 8px rgba(0,0,0,0.3),
        0 0 0 3px #f2a0c4,
        0 0 0 5px #c0507a;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

#fandom-screen-header {
    padding: 4px 8px 2px;
    font-family: 'Pixelify Sans', monospace;
    font-size: 10px;
    color: #f4aecf;
    letter-spacing: 1px;
    background: rgba(0,0,0,0.3);
    text-transform: uppercase;
    flex-shrink: 0;
}

/* marquee title */
#fandom-title-wrap {
    background: rgba(0,0,0,0.3);
    overflow: hidden;
    flex-shrink: 0;
    padding: 0 6px 2px;
}

#fandom-title {
    font-family: 'Pixelify Sans', monospace;
    font-size: 13px;
    color: #fff;
    white-space: nowrap;
    display: inline-block;
    animation: fandom-marquee 8s linear infinite;
}

@keyframes fandom-marquee {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

#fandom-art-wrap {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#fandom-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CRT scanline overlay */
#fandom-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.08) 2px,
        rgba(0,0,0,0.08) 4px
    );
    pointer-events: none;
    border-radius: inherit;
}

/* CRT base/stand */
#fandom-stand {
    width: 50px;
    height: 8px;
    background: linear-gradient(180deg, #c0507a, #a03060);
    border-radius: 0 0 4px 4px;
    border: 2px solid #a03060;
    border-top: none;
    box-shadow: 0 2px 0 #802050;
    flex-shrink: 0;
}

/* progress bar */
#fandom-progress-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    flex-shrink: 0;
    font-family: 'Pixelify Sans', monospace;
    font-size: 10px;
    color: #3a0020;
}

#fandom-time-cur, #fandom-time-dur {
    font-family: 'Pixelify Sans', monospace;
    font-size: 9px;
    color: #7a003a;
    white-space: nowrap;
    flex-shrink: 0;
}

#fandom-seek {
    flex: 1;
    height: 4px;
    accent-color: #df387d;
    cursor: pointer;
    margin: 0;
}

#fandom-controls {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

#fandom-vol-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    flex-shrink: 0;
}

#fandom-vol {
    flex: 1;
    height: 4px;
    accent-color: #df387d;
}

/* RIGHT info */
#fandom-info {
    width: 150px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border: 2px solid #c0507a;
    border-radius: 6px;
    background: #fde8f2;
    overflow: hidden;
    box-shadow: inset 2px 2px 0 #fff0f6, inset -1px -1px 0 #c06090;
}

#fandom-info-header {
    font-family: 'Pixelify Sans', monospace;
    font-size: 10px;
    color: #7a003a;
    padding: 4px 8px 3px;
    border-bottom: 1px solid #e080b0;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(180deg, #FFF4F6 0%, #ffd6e8 100%);
}

#fandom-info-title {
    font-family: 'Pixelify Sans', monospace;
    font-size: 12px;
    color: #7a003a;
    padding: 6px 8px 4px;
    border-bottom: 1px solid #f4c0d8;
}

#fandom-desc {
    font-family: 'Pixelify Sans', monospace;
    font-size: 10px;
    color: #a03060;
    line-height: 1.6;
    padding: 6px 8px;
    overflow-y: auto;
    flex: 1;
}

#fandom-desc::-webkit-scrollbar { width: 5px; }
#fandom-desc::-webkit-scrollbar-track { background: #fde8f2; }
#fandom-desc::-webkit-scrollbar-thumb { background: #e080b0; border-radius: 3px; }

/* ── Prevent music player buttons from resizing ───────────────────────────── */
.controls {
    flex-shrink: 0 !important;
    width: 100px !important;
    min-width: 100px !important;
}

.seeking {
    flex-shrink: 0 !important;
    min-width: 0 !important;
}

.songtitle {
    flex-shrink: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

/* ── Hard-lock music player control button sizes ─────────────────────────── */
table.controls {
    flex-shrink: 0 !important;
    min-width: 100px !important;
    width: 100px !important;
}

.ctrlimg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    display: block !important;
}

.prev-track, .playpause-track, .next-track {
    flex-shrink: 0 !important;
    min-width: 16px !important;
}

/* ── ME window ───────────────────────────────────────────────────────────── */
.me-card {
    background: #FFF4F6;
    border: 2px solid #f4aecf;
    box-shadow: inset 2px 0 0 #fff0f6, inset 0 2px 0 #fff0f6, inset -1px -1px 0 #e8c0d4;
    padding: 7px 10px;
    margin-bottom: 8px;
}

.me-card-name {
    font-family: 'Pixelify Sans', monospace;
    font-size: 16px;
    font-weight: bold;
    color: #7a003a;
    margin-bottom: 5px;
}

.me-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.me-tag {
    font-family: 'Pixelify Sans', monospace;
    font-size: 10px;
    color: #a03060;
    background: #FFF4F6;
    border: 1.5px solid #f4aecf;
    padding: 1px 6px;
}

.me-section {
    border-left: 3px solid #f4c8db;
    padding-left: 8px;
    margin-bottom: 8px;
}

.me-section-title {
    font-family: 'Pixelify Sans', monospace;
    font-size: 11px;
    font-weight: bold;
    color: #e8609c;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.me-text {
    font-size: 12px;
    margin: 0;
    line-height: 1.7;
}

/* ── POLL ────────────────────────────────────────────────────────────────── */
.poll-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: 'Pixelify Sans', monospace;
    height: 100%;
}

.poll-question {
    font-size: 12px;
    color: #7a003a;
    font-weight: bold;
    border-left: 3px solid #f4c8db;
    padding-left: 7px;
    line-height: 1.5;
}

.poll-body {
    flex: 1;
    min-height: 80px;
    position: relative;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 2px;
    visibility: visible;
}

.poll-options.hidden {
    visibility: hidden;
    position: absolute;
    top: 0; left: 0;
}

.poll-results {
    display: flex;
    flex-direction: column;
    visibility: hidden;
    position: absolute;
    top: 0; left: 0; right: 0;
}

.poll-results.visible {
    visibility: visible;
    position: relative;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.poll-btn,
.poll-btn:hover, .poll-btn:focus, .poll-btn:active,
.poll-toggle-btn,
.poll-toggle-btn:hover, .poll-toggle-btn:focus, .poll-toggle-btn:active {
    font-family: 'Pixelify Sans', monospace !important;
    font-size: 12px !important;
    color: #7a003a !important;
    background: linear-gradient(180deg, #FFF4F6 0%, #ffd6e8 100%) !important;
    border: 1.5px solid #df387d !important;
    padding: 2px 8px !important;
    box-shadow: inset 2px 0 0 #fff0f6, inset 0 2px 0 #fff0f6, inset -1px -1px 0 #c06090 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transform: none !important;
    transition: none !important;
    line-height: normal !important;
    margin: 0 !important;
    text-decoration: none !important;
}

.poll-btn { display: block !important; width: 100% !important; text-align: left !important; }
.poll-toggle-btn { display: inline-block !important; width: auto !important; align-self: flex-end !important; text-align: center !important; }

.poll-bar-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.poll-label {
    font-size: 11px;
    color: #a03060;
    width: 40px;
    flex-shrink: 0;
}

.poll-bar-bg {
    flex: 1;
    height: 10px;
    background: #fff0f6;
    border: 1.5px solid #f4aecf;
}

.poll-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f4aecf, #ffb6d9);
    width: 0%;
    transition: width 0.4s ease;
}

.poll-pct {
    font-size: 10px;
    color: #c06090;
    width: 28px;
    text-align: right;
    flex-shrink: 0;
}

.poll-total {
    font-size: 10px;
    color: #c06090;
    text-align: right;
    margin-top: 2px;
}



/* ── FAVORITES ───────────────────────────────────────────────────────────── */
.fav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.fav-tile {
    background: #FFF4F6;
    border: 1.5px solid #f4aecf;
    padding: 4px 7px;
    box-shadow: inset 1px 1px 0 #fff0f6;
}

.fav-label {
    font-family: 'Pixelify Sans', monospace;
    font-size: 9px;
    color: #e8609c;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1px;
}

.fav-value {
    font-family: 'Pixelify Sans', monospace;
    font-size: 11px;
    color: #7a003a;
}

/* ── FAV TOGGLE ──────────────────────────────────────────────────────────── */
.fav-toggle-row {
    display: flex;
    gap: 4px;
    margin-bottom: 7px;
}

.fav-toggle,
.fav-toggle:hover,
.fav-toggle:focus,
.fav-toggle:active {
    font-family: 'Pixelify Sans', monospace !important;
    font-size: 11px !important;
    color: #7a003a !important;
    background: linear-gradient(180deg, #FFF4F6 0%, #ffd6e8 100%) !important;
    border: 1.5px solid #df387d !important;
    padding: 2px 10px !important;
    box-shadow: inset 2px 0 0 #fff0f6, inset 0 2px 0 #fff0f6, inset -1px -1px 0 #c06090 !important;
    cursor: pointer !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transform: none !important;
    transition: none !important;
    line-height: normal !important;
    margin: 0 !important;
}

.fav-toggle.active,
.fav-toggle.active:hover,
.fav-toggle.active:focus,
.fav-toggle.active:active {
    font-family: 'Pixelify Sans', monospace !important;
    font-size: 11px !important;
    color: #7a003a !important;
    background: linear-gradient(180deg, #ffd6e8 0%, #ffb6d9 100%) !important;
    border: 1.5px solid #df387d !important;
    padding: 2px 10px !important;
    box-shadow: inset 2px 0 0 #fff0f6, inset 0 2px 0 #fff0f6, inset -1px -1px 0 #c06090 !important;
    outline: none !important;
    transform: none !important;
    transition: none !important;
    line-height: normal !important;
    margin: 0 !important;
}

.fav-tile.dislike {
    border-color: #d4b0c0;
    background: #fff8fa;
}

.fav-tile.dislike .fav-label {
    color: #b06080;
}

.fav-tile.dislike .fav-value {
    color: #5a2040;
}

/* ── MUSIC PLAYER ────────────────────────────────────────────────────────── */
#sec-music { width: 480px; }

#music-playlist {
    width: 130px;
    min-width: 130px;
    background: #fde8f2;
    border-right: 2px solid #f4aecf;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

#music-player-mid {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 0;
    background: #f2a0c4;
    overflow: hidden;
}

#music-screen {
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

#music-screen-header {
    display: none;
}

#music-albumart-wrap {
    width: 100%;
    position: relative;
    padding-bottom: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

#music-albumart {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: pixelated;
}

#music-track-name {
    font-family: 'Pixelify Sans', monospace;
    font-size: 11px;
    color: #7a003a;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 6px 8px 0;
}

#music-progress-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    font-family: 'Pixelify Sans', monospace;
    font-size: 10px;
    color: #3a0020;
    padding: 6px 8px 0;
    box-sizing: border-box;
}

#music-seek {
    flex: 1;
    height: 4px;
    accent-color: #df387d;
}

#music-controls {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

#music-vol-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 0 8px 8px;
    box-sizing: border-box;
}

#music-vol {
    flex: 1;
    height: 4px;
    accent-color: #df387d;
}



/* ── FANDOM + MUSIC CTRL BUTTONS ─────────────────────────────────────────── */
.fandom-ctrl-btn,
.fandom-ctrl-btn:hover,
.fandom-ctrl-btn:focus,
.fandom-ctrl-btn:active {
    font-family: 'Pixelify Sans', monospace !important;
    font-size: 12px !important;
    color: #7a003a !important;
    background: linear-gradient(180deg, #FFF4F6 0%, #ffd6e8 100%) !important;
    border: 1.5px solid #df387d !important;
    padding: 2px 8px !important;
    box-shadow: inset 2px 0 0 #fff0f6, inset 0 2px 0 #fff0f6, inset -1px -1px 0 #c06090 !important;
    cursor: pointer !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transform: none !important;
    transition: none !important;
    line-height: normal !important;
    margin: 0 !important;
    width: 40px !important;
    height: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}



/* ── LOGIN SCREEN ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Jacquard+12&display=swap');

#login-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #2a0018;
    display: flex;
    flex-direction: column;
    font-family: 'Pixelify Sans', monospace;
    transition: opacity 1.2s ease;
}

/* top bar */
#login-topbar {
    height: 48px;
    background: linear-gradient(180deg, #a0206a 0%, #6b0040 100%);
    border-bottom: 3px solid #df387d;
    display: flex;
    align-items: center;
    padding: 0 24px;
    flex-shrink: 0;
}

#login-topbar-logo {
    font-family: 'Jacquard 12', serif;
    font-size: 26px;
    color: #ffd6e8;
    letter-spacing: 2px;
}

/* middle */
#login-mid {
    flex: 1;
    display: flex;
    align-items: stretch;
}

/* left panel */
#login-left {
    width: 36%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 50px;
    gap: 12px;
}

#login-welcome-text {
    font-family: 'Jacquard 12', serif;
    font-size: 90px;
    color: #ffd6e8;
    font-style: italic;
    line-height: 1;
}

#login-divider-h {
    width: 100%;
    height: 1px;
    background: #f4aecf66;
}

#login-sub {
    font-size: 12px;
    color: #f4c8db;
}

/* vertical divider */
#login-divider-v {
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, #f4aecf55 20%, #f4aecf55 80%, transparent 100%);
    flex-shrink: 0;
}

/* right panel */
#login-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    gap: 10px;
}

/* user tile — like the XP highlight box */
#login-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 3px;
    width: fit-content;
}

#login-user:hover {
    background: rgba(244,174,207,0.12);
    border-color: rgba(244,174,207,0.3);
}

#login-user.selected {
    background: rgba(223,56,125,0.3);
    border-color: #f4aecf;
}

#login-pfp {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border: 3px solid #f4aecf;
    flex-shrink: 0;
}

#login-user-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

#login-username {
    font-size: 18px;
    color: #fff0f6;
}

#login-password-wrap {
    display: none;
    align-items: center;
    gap: 5px;
}

#login-password {
    font-family: 'Pixelify Sans', monospace;
    font-size: 13px;
    background: #fff0f6;
    border: 2px solid #df387d;
    color: #3a0020;
    padding: 3px 8px;
    outline: none;
    width: 170px;
    -webkit-appearance: none;
    appearance: none;
}

#login-submit,
#login-submit:hover,
#login-submit:focus,
#login-submit:active {
    background: linear-gradient(180deg, #FFF4F6 0%, #ffd6e8 100%) !important;
    border: 2px solid #df387d !important;
    color: #7a003a !important;
    font-size: 15px !important;
    width: 28px !important;
    height: 28px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transform: none !important;
    transition: none !important;
}

/* bottom bar */
#login-bottom {
    height: 48px;
    background: linear-gradient(180deg, #6b0040 0%, #a0206a 100%);
    border-top: 3px solid #df387d;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    flex-shrink: 0;
}

#login-power {
    font-size: 12px;
    color: #ffd6e8;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,214,232,0.1);
    border: 1px solid rgba(244,174,207,0.35);
    padding: 5px 14px;
    border-radius: 3px;
}

#login-hint {
    font-size: 10px;
    color: rgba(244,174,207,0.55);
    text-align: right;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE — PHONE (max-width: 600px)
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {

    /* hide desktop elements */
    #desktop-icons, #taskbar, footer { display: none !important; }

    /* show phone home */
    #phone-home {
        display: flex !important;
    }

    /* windows become full screen apps */
    .draggable-window {
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        z-index: 500 !important;
        overflow: hidden !important;
    }

    .draggable-window .content {
        overflow-x: hidden !important;
    }

    .draggable-window .window {
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
        border: none !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* hide XP title bar on phone */
    .draggable-window .title {
        display: none !important;
    }

    /* content starts at top, padded below app bar */
    .draggable-window .content {
        padding-top: 106px !important;
    }

    .draggable-window .content {
        flex: 1 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        height: auto !important;
        max-height: none !important;
        padding-top: 106px !important;
        padding-bottom: 80px !important;
    }

    /* disable drag cursor on phone */
    .draggable-window .window { cursor: default !important; }

    /* ── phone app bar ── */
    #phone-app-bar {
        position: fixed !important;
        top: 44px; left: 0; right: 0;
        height: 40px;
        background: linear-gradient(180deg, #f4aecf, #e87aad) !important;
        border-bottom: 2px solid #c0507a !important;
        display: none;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        z-index: 999998 !important;
    }

    .draggable-window .content {
        padding-top: 106px !important;
    }

    #phone-back-btn,
    #phone-back-btn:hover,
    #phone-back-btn:focus,
    #phone-back-btn:active {
        font-family: 'Pixelify Sans', monospace !important;
        font-size: 13px !important;
        color: #fff !important;
        text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000 !important;
        background: none !important;
        border: none !important;
        padding: 8px 4px !important;
        cursor: pointer !important;
        outline: none !important;
        transform: none !important;
        transition: none !important;
        box-shadow: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    #phone-app-title {
        font-family: 'Pixelify Sans', monospace;
        font-size: 14px;
        color: #fff;
        text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    #phone-dock { display: flex !important; }

    /* hide win-close-btn inside apps on phone (use back button instead) */
    .draggable-window .win-close-btn { display: none !important; }

    /* ── fandom/music players on phone ── */
    #sec-fandom .content {
        flex-direction: column !important;
        height: auto !important;
    }
    #fandom-playlist { width: 100% !important; max-height: 130px !important; border-right: none !important; border-bottom: 2px solid #f4aecf !important; }
    #fandom-player   { width: 100% !important; }
    #fandom-info     { width: 100% !important; border-left: none !important; border-top: 2px solid #f4aecf !important; }

    #sec-music .content {
        flex-direction: column !important;
        height: auto !important;
    }
    #music-playlist { width: 100% !important; max-height: 130px !important; border-right: none !important; border-bottom: 2px solid #f4aecf !important; }

    /* LOGIN SCREEN on phone */
    #login-screen { background: url(lock.PNG) center/cover no-repeat !important; }
    #login-topbar, #login-mid, #login-bottom { display: none !important; }
    #phone-lock { display: flex !important; }
}

/* ── phone home screen (hidden by default, shown via media query) ── */
#phone-home {
    display: none;
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    background: url(open.PNG) center/cover no-repeat fixed;
    z-index: 200;
    padding-bottom: 100px;
    overflow-y: auto;
}

#phone-status-bar { display: none !important; }

#phone-icon-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 10px;
    padding: 20px 16px 10px;
    width: 100%;
    box-sizing: border-box;
    align-content: start;
}

.phone-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.phone-icon-img {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s;
}

.phone-icon:active .phone-icon-img {
    transform: scale(0.85);
}

.phone-icon-img img {
    width: 40px;
    height: 40px;
    image-rendering: pixelated;
}

.phone-icon span {
    font-family: 'Pixelify Sans', monospace;
    font-size: 11px;
    color: #fff;
    text-align: center;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    line-height: 1.2;
    max-width: 60px;
    word-break: break-word;
}

#phone-dock {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: auto;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 28px;
    display: none; /* shown in media query */
    justify-content: center;
    gap: 24px;
    align-items: center;
    padding: 12px 28px 10px;
    z-index: 300;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

#phone-home-indicator {
    position: fixed;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: #df387d;
    border-radius: 3px;
    opacity: 0.5;
    z-index: 301;
}

#phone-app-bar {
    display: none;
    z-index: 9999;
}

/* ── PHONE LOCK SCREEN ── */
#phone-lock {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    position: relative;
}

/* clock + date block — pinned to top */
#phone-lock-top {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 60px;
    gap: 6px;
    flex: 1;
    cursor: pointer;
}

#phone-lock-time {
    font-family: 'Jacquard 12', serif;
    font-size: 22vw;
    color: #fff;
    line-height: 1;
    width: 90%;
    text-align: center;
    text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000;
}

#phone-lock-date {
    font-family: 'Pixelify Sans', monospace;
    font-size: 15px;
    color: #fff;
    width: 90%;
    text-align: center;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    letter-spacing: 1px;
}

/* password container — slides up from bottom */
#phone-lock-pw-wrap {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

#phone-lock-pw-label {
    font-family: 'Pixelify Sans', monospace;
    font-size: 13px;
    color: #fff;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    letter-spacing: 2px;
}

#phone-lock-pw-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 70%;
}

#phone-lock-pw {
    font-family: 'Pixelify Sans', monospace;
    font-size: 16px;
    background: none;
    border: none;
    border-bottom: 2px solid #fff;
    color: #fff;
    padding: 6px 4px;
    outline: none;
    flex: 1;
    border-radius: 0;
    -webkit-appearance: none;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    text-align: center;
}

#phone-lock-pw::placeholder { color: rgba(255,255,255,0.5); }

#phone-lock-submit,
#phone-lock-submit:hover,
#phone-lock-submit:focus,
#phone-lock-submit:active {
    background: none !important;
    border: none !important;
    border-bottom: 2px solid #fff !important;
    color: #fff !important;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000 !important;
    font-family: 'Pixelify Sans', monospace !important;
    font-size: 18px !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transform: none !important;
    transition: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    flex-shrink: 0 !important;
}

#phone-lock-hint {
    font-family: 'Pixelify Sans', monospace;
    font-size: 13px;
    color: #fff;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    cursor: pointer;
    letter-spacing: 2px;
    text-align: center;
    position: absolute;
    bottom: 40px;
    width: 100%;
}

#phone-lock-indicator {
    width: 120px;
    height: 5px;
    background: rgba(255,255,255,0.4);
    border-radius: 3px;
    margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TABLET (601px – 1024px) — keep desktop, just enable touch
   ═══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 601px) and (max-width: 1024px) {
    #phone-home, #phone-app-bar, #phone-lock { display: none !important; }

    .draggable-window { touch-action: none; }

    /* slightly wider windows to fit tablet */
    #sec-fandom { width: 90vw !important; }
    #sec-music  { width: 70vw !important; }
}

/* ── SHARED PHONE STATUS BAR ─────────────────────────────────────────────── */
#phone-bar {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 44px;
    z-index: 999999;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    pointer-events: none;
    background: transparent;
}

/* solid bg behind status bar so scrolling content doesn't bleed through */
#phone-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    z-index: -1;
}

#phone-bar-home {
    font-family: 'Pixelify Sans', monospace;
    font-size: 13px;
    color: #fff;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    text-decoration: none;
    pointer-events: all;
    letter-spacing: 0.5px;
}

#phone-bar-notch {
    display: none;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    width: 110px;
    height: 30px;
    background: #000;
    border-radius: 999px;
    z-index: 1000001;
    pointer-events: none;
}

#phone-bar-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

#phone-bar-icons svg {
    display: block;
    filter: drop-shadow(1px 1px 0 #000) drop-shadow(-1px -1px 0 #000);
}

@media (max-width: 600px) {
    #phone-bar { display: flex !important; }
    #phone-bar-notch { display: block !important; }
    /* push lock clock down so it clears the bar */
    #phone-lock-top { padding-top: 50px; }
    /* push phone home grid down */
    #phone-icon-grid { padding-top: 54px; }
}

/* home link visible on lock, hidden on home; time opposite - toggled by JS */
#phone-bar-time {
    font-family: 'Pixelify Sans', monospace;
    font-size: 13px;
    color: #fff;
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PHONE — APP SPECIFIC STYLES
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {

    /* ── angel ── */
    #sec-ange .content {
        padding: 106px 16px 100px !important;
        overflow-x: hidden !important;
        height: auto !important;
        overflow-y: auto !important;
        font-size: 15px !important;
        line-height: 1.7 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }

    #sec-ange .content h2.monthmap {
        font-size: 14px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }

    #sec-ange .content p {
        margin: 0 !important;
        font-size: 15px !important;
    }

    #sec-ange #angelpfp,
    #sec-ange .content img.border {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        border-radius: 4px !important;
    }
}

@media (max-width: 600px) {

    /* ── art ── */
    #sec-art .content {
        padding: 106px 16px 120px !important;
        height: auto !important;
        overflow-y: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
    }

    #sec-art .me-card {
        padding: 14px !important;
        border-radius: 6px !important;
    }

    #sec-art .me-card-name {
        font-size: 17px !important;
        margin-bottom: 10px !important;
    }

    #sec-art .me-card-tags {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    #sec-art .me-tag {
        font-size: 12px !important;
        padding: 3px 9px !important;
    }

    #sec-art .me-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    #sec-art .me-section-title {
        font-size: 15px !important;
    }

    #sec-art .me-text {
        font-size: 14px !important;
        line-height: 1.75 !important;
        margin: 0 !important;
    }

    /* ── site ── */
    #sec-site .content {
        padding: 106px 16px 120px !important;
        height: auto !important;
        overflow-y: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }
    #sec-site .content > div {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        width: 100% !important;
    }
    #sec-site #angelpfp,
    #sec-site img.border {
        width: 100% !important;
        height: auto !important;
        margin-bottom: 0 !important;
    }
    #sec-site .content p {
        font-size: 14px !important;
        line-height: 1.75 !important;
        margin: 0 !important;
    }
    #sec-site .stamps {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    /* ── favourites ── */
    #sec-fav .content {
        padding: 106px 14px 120px !important;
        height: auto !important;
        overflow-y: auto !important;
    }
    #sec-fav .fav-toggle-row {
        margin-bottom: 14px !important;
        gap: 8px !important;
        display: flex !important;
    }
    #sec-fav .fav-toggle,
    #sec-fav .fav-toggle:hover,
    #sec-fav .fav-toggle:focus,
    #sec-fav .fav-toggle:active {
        font-size: 14px !important;
        padding: 8px 20px !important;
        flex: 1 !important;
    }
    #sec-fav .fav-toggle.active,
    #sec-fav .fav-toggle.active:hover {
        font-size: 14px !important;
        padding: 8px 20px !important;
        flex: 1 !important;
    }
    /* don't override display — let JS toggle show/hide */
    #sec-fav .fav-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    #sec-fav .fav-tile {
        padding: 10px !important;
    }
    #sec-fav .fav-label {
        font-size: 10px !important;
        margin-bottom: 3px !important;
    }
    #sec-fav .fav-value {
        font-size: 13px !important;
    }

    /* ── me ── */
    #sec-me .content {
        padding: 106px 16px 120px !important;
        height: auto !important;
        overflow-y: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
    }
    #sec-me .me-card {
        padding: 14px !important;
    }
    #sec-me .me-card-name {
        font-size: 17px !important;
        margin-bottom: 10px !important;
    }
    #sec-me .me-card-tags {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    #sec-me .me-tag {
        font-size: 12px !important;
        padding: 3px 9px !important;
    }
    #sec-me .me-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    #sec-me .me-section-title {
        font-size: 15px !important;
    }
    #sec-me .me-text {
        font-size: 14px !important;
        line-height: 1.75 !important;
        margin: 0 !important;
    }
    #sec-me .stamps {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    /* ── poll ── */
    #sec-poll .content {
        padding: 106px 16px 120px !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    #sec-poll .poll-wrap {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }
    #sec-poll .poll-question {
        font-size: 16px !important;
        text-align: center !important;
    }
    #sec-poll .poll-options {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    #sec-poll .poll-btn {
        width: 100% !important;
        padding: 12px !important;
        font-size: 15px !important;
    }
    #sec-poll .poll-bar-wrap {
        gap: 8px !important;
        margin-bottom: 8px !important;
    }
    #sec-poll .poll-label,
    #sec-poll .poll-pct {
        font-size: 13px !important;
    }

    /* ── programs ── */
    #sec-info .content {
        padding: 106px 16px 120px !important;
        height: auto !important;
        overflow-y: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
    }
    #sec-info .me-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    #sec-info .me-section-title {
        font-size: 15px !important;
    }
    #sec-info .me-text {
        font-size: 14px !important;
        line-height: 2 !important;
        margin: 0 !important;
    }
    #sec-info .stamps {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        padding-top: 0 !important;
    }


    /* ── fandom ── */
    #sec-fandom .content {
        padding-top: 106px !important;
        height: auto !important;
        overflow-y: auto !important;
        flex-direction: column !important;
        display: flex !important;
    }
    #fandom-playlist {
        width: 100% !important;
        max-height: 160px !important;
        border-right: none !important;
        border-bottom: 2px solid #f4aecf !important;
        flex-shrink: 0 !important;
    }
    #fandom-player {
        width: 100% !important;
        flex-shrink: 0 !important;
    }
    #fandom-art-wrap {
        height: 52vw !important;
    }
    #fandom-screen {
        width: 80vw !important;
        margin: 0 auto !important;
    }
    #fandom-info {
        width: 100% !important;
        border-left: none !important;
        border-top: 2px solid #f4aecf !important;
        padding: 12px 16px 40px !important;
        flex-shrink: 0 !important;
    }
    #fandom-info-title {
        font-size: 15px !important;
        margin-bottom: 8px !important;
    }
    #fandom-desc {
        font-size: 13px !important;
        line-height: 1.7 !important;
    }
    #fandom-controls {
        gap: 16px !important;
        padding: 8px 0 !important;
    }
    .fandom-ctrl-btn {
        font-size: 18px !important;
    }

    /* ── music ── */
    #sec-music .content {
        padding-top: 106px !important;
        height: auto !important;
        overflow-y: auto !important;
        flex-direction: column !important;
        display: flex !important;
    }
    #music-playlist {
        width: 100% !important;
        min-width: unset !important;
        max-height: 150px !important;
        border-right: none !important;
        border-bottom: 2px solid #f4aecf !important;
        flex-shrink: 0 !important;
    }
    #music-player-mid {
        width: 100% !important;
        flex-shrink: 0 !important;
    }
    #music-albumart-wrap {
        padding-bottom: 70vw !important;
    }
    #music-track-name {
        font-size: 14px !important;
        padding: 10px 12px 0 !important;
        white-space: normal !important;
    }
    #music-progress-wrap {
        padding: 8px 12px 0 !important;
        font-size: 12px !important;
    }
    #music-controls {
        gap: 16px !important;
        padding: 8px 0 !important;
    }
    #music-controls .fandom-ctrl-btn {
        font-size: 20px !important;
    }
    #music-vol-wrap {
        padding: 4px 12px 16px !important;
    }


}

/* force player buttons to render as text not emoji on all platforms */
.fandom-ctrl-btn {
    font-family: 'Pixelify Sans', monospace !important;
}
