/* Catland: pink paper, stickers and a small Discord window. */
body.page-index {
    --pink: #f4a7c6;
    --paper: #f5d5e0;
    --ink: #603448;
    padding: 24px 28px;
    background: radial-gradient(ellipse at 12% 0%, #512c4b55, transparent 54%), linear-gradient(125deg, #201625, #191a2e 75%);
    color: #eee0eb;
}

.page-index #particles-js { opacity: 0.5; }
.page-index .container { max-width: 1040px; }
.page-index .site-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px dashed #b5819e4d; }
.page-index .site-wordmark { color: #c49bb4; font-family: Consolas, monospace; font-size: 0.74rem; }
.page-index .site-wordmark > span { margin-right: 7px; color: #f4a7c6; font-size: 1.35rem; }
body.page-index .music-player { position: static; width: auto; margin: 0; padding: 7px 10px; border: 1px solid #b5819e40; border-radius: 3px; background: #2b2035; box-shadow: 3px 3px 0 #100d1d55; backdrop-filter: none; }
body.page-index .music-player:hover { transform: none; box-shadow: 3px 3px 0 #100d1d55; }
.page-index .control-btn { width: 29px; height: 29px; border-radius: 3px; background: #a46b8b21; border-color: #a46b8b50; }
.page-index .track-info { font-size: 0.69rem; color: #d8b6ce; }
.page-index #volume-slider { width: 62px; }

.page-index .page-masthead { position: relative; overflow: visible; margin-bottom: 42px; padding: 28px 0 22px; border-bottom: 1px solid #b5819e52; }
.page-index .page-masthead::after { display: none; }
.page-index .masthead-copy { position: relative; z-index: 1; width: fit-content; padding-top: 8px; }
.page-index .masthead-note { margin-left: 5px; color: #d49dbd; font-family: 'Segoe Print', 'Comic Sans MS', cursive; font-size: 1rem; transform: rotate(-5deg); transform-origin: left; }
body.page-index .main-title { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 0 -6px; color: #f5b2ce; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: clamp(5rem, 10.5vw, 7.7rem); font-weight: 400; letter-spacing: -0.065em; line-height: 1.15; text-transform: none; text-shadow: 3px 3px 0 #683a5b; animation: none; }
body.page-index .main-title > span { display: inline-block; margin-top: 15px; color: #d58cab; font-family: Georgia, serif; font-size: 0.34em; font-style: normal; line-height: 1; transform: rotate(13deg); text-shadow: none; }
.page-index .subtitle { margin: 0 0 0 10px; color: #c39eb5; font-family: Consolas, monospace; font-size: 0.82rem; letter-spacing: 0.02em; }
.page-index .cat-postcard { position: absolute; top: 25px; right: 55px; width: 210px; padding: 11px 11px 10px; background: #f9dce5; color: #75435d; box-shadow: 6px 8px 0 #100a1c55; transform: rotate(7deg); }
.page-index .cat-postcard::before { content: ''; position: absolute; top: -11px; left: 60px; z-index: 1; width: 84px; height: 26px; background: #d0a2c1bf; border-left: 1px dashed #f7dae555; border-right: 1px dashed #f7dae555; transform: rotate(-12deg); }
.page-index .cat-postcard img { display: block; width: 100%; height: 162px; object-fit: cover; background: #f2bfd3; }
.page-index .cat-postcard figcaption { padding-top: 8px; text-align: center; font-family: 'Segoe Print', 'Comic Sans MS', cursive; font-size: 0.95rem; }
.page-index .masthead-scribble { position: absolute; top: 150px; right: 267px; width: 150px; height: 75px; color: #bf82a5; transform: rotate(-8deg); }
.page-index .stats { position: relative; z-index: 2; gap: 12px 18px; margin-top: 40px; }
.page-index .stats .stat-item { width: auto; padding: 5px 0; border: 0; border-bottom: 1px dotted #a17a9359; border-radius: 0; background: none; color: #ccb6c9; font-size: 0.79rem; }
.page-index .stat-item span { color: #ffd2e4; }
.page-index .stat-icon { display: inline-block; width: 14px; height: 14px; margin-right: 6px; color: #d69abb; vertical-align: -2px; }
.page-index .stat-item:hover { transform: none; box-shadow: none; }
.page-index .servers-nav { margin-left: auto; }
.page-index .servers-trigger { min-height: 40px; padding: 8px 14px; border: 1px solid #cf87ac; border-radius: 3px; background: #b96e9829; color: #f5c8df; box-shadow: 3px 3px 0 #0d0b1a55; font-size: 0.8rem; }
.page-index .servers-trigger:hover { background: #b96e9845; border-color: #ffd3e5; box-shadow: 3px 3px 0 #0d0b1a55; }

.page-index .content { overflow: visible; opacity: 1; transform: none; animation: none; }
.page-index .profile-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); grid-template-areas: 'notebook discord' 'message discord'; column-gap: 48px; row-gap: 28px; align-items: start; margin: 0 10px 20px; }
.page-index .profile-grid .info-block { grid-area: notebook; position: relative; display: block; height: auto; margin: 0; padding: 27px 30px 28px 54px; border: 1px solid #d4a4bb; border-radius: 2px 9px 4px 3px; background: repeating-linear-gradient(0deg, transparent 0 29px, #b877a518 29px 30px), var(--paper); color: var(--ink); box-shadow: 5px 6px 0 #0e091c50; transform: rotate(-1.5deg); backdrop-filter: none; transition: none; }
.page-index .info-block::before { content: ''; position: absolute; top: 0; bottom: 0; left: 35px; width: 1px; background: #c16b9645; }
.page-index .info-block::after { content: ''; position: absolute; top: 23px; bottom: 23px; left: 12px; width: 10px; background: radial-gradient(circle, #362237 0 3px, #bd88a355 3px 5px, transparent 5px) center top / 10px 56px repeat-y; }
.page-index .profile-grid .info-block:hover { transform: rotate(-1.5deg); box-shadow: 5px 6px 0 #0e091c50; border-color: #d4a4bb; }
.page-index .notebook-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; color: #9b5279; font-family: 'Segoe Print', 'Comic Sans MS', cursive; font-size: 1.23rem; font-weight: 400; }
.page-index .notebook-heading > span { white-space: nowrap; color: #b57597; font-family: Consolas, monospace; font-size: 0.9rem; }
.page-index .profile-fields { font-size: 0.95rem; }
.page-index .profile-fields > div { display: grid; grid-template-columns: 95px minmax(0, 1fr); align-items: baseline; gap: 12px; min-height: 38px; padding: 5px 0; }
.page-index .profile-fields dt { color: #87536e; font-size: 0.8rem; }
.page-index .profile-fields dd { color: #603448; overflow-wrap: anywhere; }
.page-index .friends-note { position: relative; width: fit-content; min-width: 220px; margin: 22px -47px -49px auto; padding: 12px 20px 16px; border: 1px solid #cf8daf; background: #eeb2ce; box-shadow: 3px 4px 0 #1c102a33; transform: rotate(4deg); }
.page-index .friends-note::before { content: ''; position: absolute; top: -9px; right: 23px; width: 50px; height: 18px; background: #fbe9ddb3; transform: rotate(-8deg); }
.page-index .friends-note__title { color: #8c476d; font-family: 'Segoe Print', 'Comic Sans MS', cursive; font-size: 0.88rem; }
.page-index .friends-note__title > span { margin-left: 9px; }
.page-index .friends-list { gap: 18px; margin-top: 4px; }
.page-index .friend-tag { padding: 0; border-radius: 0; border-bottom: 1px dashed #99587570; background: none; color: #6d3151; box-shadow: none; font-size: 0.9rem; font-weight: 500; overflow: visible; }
.page-index .friend-tag::before { display: none; }
.page-index .friend-tag:hover { transform: none; box-shadow: none; }

.page-index .discord-card { grid-area: discord; margin: 75px 0 0; padding: 0 20px 20px; overflow: visible; border: 1px solid #c08aad; border-radius: 6px 6px 2px 2px; background: #241d32; box-shadow: 7px 7px 0 #0e0a1e66; transform: rotate(1.5deg); backdrop-filter: none; transition: none; }
.page-index .discord-card::before { content: ''; position: absolute; top: -23px; left: 29px; z-index: 2; width: 12px; height: 38px; border: 2px solid #bca9c6; border-radius: 9px; background: transparent; transform: rotate(-14deg); }
.page-index .discord-card:hover { transform: rotate(1.5deg); border-color: #c08aad; box-shadow: 7px 7px 0 #0e0a1e66; }
.page-index .discord-card__header { margin: 0 -20px 22px; padding: 9px 13px; border-bottom: 1px solid #9d6e9359; border-radius: 5px 5px 0 0; background: #684160; }
.page-index .discord-card__eyebrow { color: #f6d2e6; font-family: Consolas, monospace; font-size: 0.78rem; letter-spacing: 0; text-transform: none; }
.page-index .discord-status-badge { gap: 6px; min-height: 0; padding: 2px 5px; border: 0; border-radius: 2px; background: #1f15293b; font-size: 0.7rem; box-shadow: none; }
.page-index .discord-status-badge::before { width: 6px; height: 6px; box-shadow: none; }
.page-index .discord-card__profile { gap: 13px; }
.page-index .discord-avatar-wrap { width: 60px; height: 60px; flex-basis: 60px; border-radius: 8px; }
.page-index .discord-avatar, .page-index .discord-avatar-fallback { border-radius: 8px; }
.page-index .discord-avatar-fallback { background: #9a658c; font-size: 1.2rem; }
.page-index .discord-display-name { font-size: 1.05rem; overflow-wrap: anywhere; }
.page-index .discord-username { font-size: 0.75rem; overflow-wrap: anywhere; }
.page-index .discord-username:empty { display: none; }
.page-index .discord-card__activity { padding: 14px 0 0; border: 0; border-top: 1px dashed #7d5a7b77; border-radius: 0; background: none; }
.page-index .discord-card__label { margin-bottom: 8px; color: #d2a1c1; font-family: Consolas, monospace; letter-spacing: 0; text-transform: none; font-size: 0.75rem; }
.page-index .discord-activity-title { font-size: 0.84rem; overflow-wrap: anywhere; }
.page-index .discord-activity-subtitle { font-size: 0.78rem; overflow-wrap: anywhere; }
.page-index .discord-card__footer { gap: 8px; flex-wrap: wrap; }
.page-index .discord-chip { padding: 0; border: 0; border-radius: 0; background: none; font-size: 0.65rem; }

.page-index .message { grid-area: message; position: relative; width: fit-content; max-width: calc(100% - 44px); margin: 15px 0 0 20px; padding: 20px 26px; overflow: visible; border: 0; border-radius: 1px; background: #be7d9f; color: #2b1c32; box-shadow: 4px 4px 0 #0e091b44; transform: rotate(-3deg); cursor: default; animation: none; }
.page-index .message::before { content: ''; position: absolute; top: -10px; left: 50px; width: 75px; height: 22px; background: #e9bfd4b3; transform: rotate(7deg); animation: none; transition: none; }
.page-index .message:hover { border: 0; background: #be7d9f; box-shadow: 4px 4px 0 #0e091b44; transform: rotate(-3deg); }
.page-index .message:hover::before { left: 50px; }
.page-index .message p { font-family: 'Segoe Print', 'Comic Sans MS', cursive; font-size: 0.88rem; font-style: normal; line-height: 1.9; }
.page-index .message__pin { position: absolute; top: -17px; right: 15px; color: #f5cbe0; font-size: 2rem; transform: rotate(17deg); }
.page-index .signature { margin-top: 30px; padding-right: 34px; opacity: 1; animation: none; color: #d9a8c7; font-family: 'Segoe Print', 'Comic Sans MS', cursive; font-size: 1.1rem; transform: rotate(-5deg); transform-origin: right; }
.page-index .signature div { font-family: inherit; text-shadow: none; }
.page-index .signature span { margin-left: 7px; }
.page-index .contact-info { display: flex; align-items: center; gap: 9px; margin-top: 28px; opacity: 1; animation: none; color: #a487a2; font-size: 0.76rem; text-align: left; }
.page-index .pulse { width: 5px; height: 5px; margin: 0; box-shadow: none; animation: none; }
.page-index footer { display: flex; margin-top: 18px; padding: 14px 0 8px; border-top: 1px dashed #b5819e40; opacity: 1; animation: none; color: #89768e; font-family: Consolas, monospace; font-size: 0.68rem; text-align: left; }
.page-index #splash-screen { background: radial-gradient(ellipse at center, #4e2b49, #1c192b 70%); }
.page-index .splash-title { font-family: Georgia, 'Times New Roman', serif; font-style: italic; text-transform: none; letter-spacing: -0.03em; }
.page-index .snowflake { opacity: 0.5; }

.page-index .servers-dialog { border: 1px solid #c08aad; border-radius: 5px; background: #261e34; box-shadow: 8px 8px 0 #100b1f77; }
.page-index .servers-dialog__heading h2 { font-family: 'Segoe Print', 'Comic Sans MS', cursive; font-size: 1.25rem; }
.page-index .server-destinations { grid-template-columns: 1fr; gap: 15px; }
.page-index .server-destination { display: grid; grid-template-columns: 105px minmax(0, 1fr); border-color: #986d8d59; border-radius: 3px; background: #30243b; box-shadow: none; }
.page-index .server-destination__art { height: 100%; min-height: 135px; border-right: 1px solid #986d8d40; border-bottom: 0; background: #523753; }
.page-index .server-destination--minecraft .server-destination__art { background: #354237; }
.page-index .server-destination__body { padding: 16px; }
.page-index .server-destination h3 { font-size: 1.1rem; }
.page-index .server-destination p { min-height: 0; margin: 5px 0 13px; }
.page-index .server-destination .server-action-btn { display: inline-flex; align-items: center; justify-content: space-between; width: auto; max-width: 100%; min-height: 36px; gap: 16px; padding: 8px 12px; border: 1px solid #b780a3; border-radius: 3px; background: #99658e3b; color: #f3cee3; font: 600 0.76rem/1.4 'Segoe UI', sans-serif; letter-spacing: 0; text-decoration: none; white-space: normal; cursor: pointer; box-shadow: none; }
.page-index .server-destination .server-action-btn:hover { background: #99658e66; }
.page-index .server-action-btn > svg { width: 16px; height: 16px; flex-shrink: 0; }
.page-index .server-action-btn:disabled { opacity: 0.45; cursor: default; }
.page-index #minecraft-server-count.is-offline { color: #d0a5bc; }
.page-index .clipboard-buffer { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; font-size: 16px; }
.page-index .server-destination__unavailable { min-height: 32px; padding: 5px 0; overflow-wrap: anywhere; }

@media (max-width: 950px) {
    body.page-index { padding: 20px; }
    .page-index .cat-postcard { right: 15px; width: 180px; }
    .page-index .cat-postcard img { height: 140px; }
    .page-index .masthead-scribble { right: 199px; width: 110px; }
    .page-index .profile-grid { column-gap: 32px; margin-inline: 5px; }
    .page-index .notebook-heading { font-size: 1.05rem; }
    .page-index .notebook-heading > span { display: none; }
    .page-index .profile-fields > div { grid-template-columns: 72px minmax(0, 1fr); gap: 8px; }
    .page-index .info-block { padding-right: 20px; }
    .page-index .stats .stat-item { font-size: 0.72rem; }
}

@media (max-width: 768px) {
    body.page-index { padding: 16px; }
    .page-index .site-topbar { gap: 8px; }
    .page-index .site-wordmark { max-width: 145px; font-size: 0.66rem; }
    .page-index .site-wordmark > span { display: none; }
    body.page-index .music-player { padding: 6px 8px; margin: 0; width: auto; }
    .page-index .track-info { display: none; }
    .page-index .control-btn { width: 28px; height: 28px; }
    .page-index #volume-slider { width: 45px; }
    .page-index .page-masthead { padding-top: 30px; margin-bottom: 35px; }
    body.page-index .main-title { font-size: clamp(4.3rem, 13.4vw, 6.4rem); }
    .page-index .cat-postcard { top: 28px; right: 7px; width: 140px; padding: 8px; }
    .page-index .cat-postcard img { height: 105px; }
    .page-index .cat-postcard figcaption { padding-top: 5px; font-size: 0.8rem; }
    .page-index .cat-postcard::before { left: 36px; width: 65px; height: 20px; }
    .page-index .masthead-scribble { display: none; }
    .page-index .masthead-note { font-size: 0.82rem; }
    .page-index .subtitle { font-size: 0.72rem; }
    .page-index .stats { gap: 8px 16px; margin-top: 35px; }
    .page-index .stats .stat-item { padding: 4px 0; font-size: 0.72rem; }
    .page-index .servers-trigger { min-height: 36px; padding: 7px 10px; }
    .page-index .profile-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'notebook' 'discord' 'message'; gap: 40px; margin-inline: 10px; }
    .page-index .profile-grid .info-block { padding: 24px 25px 26px 50px; }
    .page-index .notebook-heading { font-size: 1.2rem; }
    .page-index .notebook-heading > span { display: inline; }
    .page-index .profile-fields > div { grid-template-columns: 90px minmax(0, 1fr); }
    .page-index .friends-note { margin-right: -25px; margin-bottom: -43px; }
    .page-index .discord-card { width: min(370px, calc(100% - 10px)); justify-self: end; margin: 20px 0 0; padding: 0 18px 18px; }
    .page-index .discord-card__header { margin-inline: -18px; }
    .page-index .discord-card__header, .page-index .discord-card__profile { flex-direction: row; align-items: center; }
    .page-index .message { max-width: calc(100% - 10px); margin: 0 0 0 3px; padding: 17px 20px; }
    .page-index .signature { margin-top: 25px; padding-right: 12px; font-size: 1rem; }
}

@media (max-width: 480px) {
    .page-index .masthead-copy { padding-top: 5px; }
    body.page-index .main-title { font-size: clamp(3.7rem, 16.3vw, 4.9rem); }
    body.page-index .main-title > span { margin-top: 8px; font-size: 0.28em; }
    .page-index .cat-postcard { top: 26px; right: 4px; width: 106px; transform: rotate(9deg); }
    .page-index .cat-postcard img { height: 79px; }
    .page-index .cat-postcard figcaption { font-size: 0.7rem; }
    .page-index .cat-postcard::before { left: 24px; width: 49px; height: 16px; top: -7px; }
    .page-index .masthead-note { max-width: 180px; font-size: 0.73rem; }
    .page-index .subtitle { margin-left: 3px; font-size: 0.64rem; }
    .page-index .stats { margin-top: 35px; gap: 8px 13px; }
    .page-index .stats .stat-item { font-size: 0.66rem; }
    .page-index .servers-nav { margin-left: auto; }
    .page-index .profile-grid { margin-inline: 6px; }
    .page-index .profile-grid .info-block { padding: 24px 16px 25px 44px; }
    .page-index .info-block::before { left: 29px; }
    .page-index .info-block::after { left: 9px; }
    .page-index .notebook-heading { font-size: 1rem; }
    .page-index .notebook-heading > span { display: none; }
    .page-index .profile-fields { font-size: 0.87rem; }
    .page-index .profile-fields > div { grid-template-columns: 74px minmax(0, 1fr); }
    .page-index .profile-fields dt { font-size: 0.74rem; }
    .page-index .friends-note { min-width: 200px; margin-right: -15px; }
    .page-index .friend-tag { font-size: 0.83rem; }
    .page-index .message p { font-size: 0.72rem; }
    .page-index .server-destination { grid-template-columns: 72px minmax(0, 1fr); }
    .page-index .server-destination__art { min-height: 135px; }
    .page-index .server-destination__discord-logo { width: 42px; height: 34px; }
    .page-index .server-destination__cube { width: 72px; height: 72px; }
    .page-index .servers-dialog { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .page-index .splash-title { animation: none; }
}

@media (max-width: 360px) {
    body.page-index .main-title { font-size: 3rem; }
    .page-index .cat-postcard { right: 0; width: 90px; }
    .page-index .cat-postcard img { height: 66px; }
    .page-index .cat-postcard figcaption { font-size: 0.6rem; }
}
