/* Day scene: the same objects in daylight, with ink on warm, worn surfaces.
   Scope every rule to the moon toggle so the night palette is untouched. */
body.rally-day { color-scheme: light; }
body.rally-day main .card {
    border-color: #a5a393 #777b6d #777b6d #a5a393;
    box-shadow: inset 1px 1px #fff8, 3px 4px #52574726;
}
body.rally-day main .card .card-header span {
    background-image: repeating-linear-gradient(0deg, #715136 0 2px, #906a48 2px 4px);
    -webkit-text-stroke-color: #715136;
    text-shadow: none;
}
body.rally-day .card[data-section="about"] {
    background: repeating-conic-gradient(#716c5410 0% 25%, transparent 0% 50%) 0 0 / 4px 4px, #e2dfcf;
}
body.rally-day .card[data-section="about"] :is(.card-content, .profile-section) { color: #303b32; }
body.rally-day .card[data-section="about"] .bio { text-shadow: none; }
body.rally-day .card[data-section="about"] .pronouns { color: #655c47; }
body.rally-day .card[data-section="about"] .bullet { color: #8b492b; }
body.rally-day .card[data-section="about"] .avatar-placeholder { border-color: #8b8269; }
@media (min-width:769px) {
    body.rally-day .card[data-section="about"] {
        background: radial-gradient(circle at 9px 9px, #686b5855 0 1px, #fff5 1px 2px, transparent 2px) 0 0 / 18px 18px,
            linear-gradient(110deg, #e9e6d8, #cfcebc);
    }
}
body.rally-day .profile-tool canvas { filter: brightness(.95) drop-shadow(3px 4px 0 #454c4233); }
body.rally-day .profile-tool.is-held canvas { filter: brightness(1.05) drop-shadow(6px 9px 1px #454c4244); }

body.rally-day .card[data-section="stars"] {
    background: repeating-conic-gradient(#fff1 0% 25%, transparent 0% 50%) 0 0 / 4px 4px, #a5b1a0;
    box-shadow: inset 2px 2px #dbe0ca, inset -2px -2px #717f6c, 4px 4px #7c8773, 7px 7px #515e4544;
}
body.rally-day .card[data-section="stars"] .card-header {
    background: #dedbc2; box-shadow: inset 0 2px #f5f0d9, inset 0 -2px #868e77;
}
body.rally-day .card[data-section="stars"] .card-header span { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; -webkit-text-stroke-color: #4d6048; background-image: repeating-linear-gradient(0deg, #4d6048 0 2px, #687554 2px 4px); }
body.rally-day .card[data-section="stars"] .card-content {
    background-image: linear-gradient(#c4cdb333, #c4cdb333), url('../images/shelf-recess.svg');
    background-size: 100% 100%, 100% 110px;
    border-color: #66745f; box-shadow: 1px 1px #e3e5d2;
}
body.rally-day .card[data-section="stars"] .star-link span {
    color: #28392c; background: #d8ddc7; border-color: #f0efdb #77816b #77816b #f0efdb; text-shadow: none;
}
body.rally-day .card[data-section="stars"] .star-link:is(:hover,:focus-visible) span { background: #f1ecd4; color: #243424; }
body.rally-day .card[data-section="stars"] .star-link:focus-visible { outline-color: #fff2c4; }

body.rally-day .card[data-section="status"] { background: #dce0d4; box-shadow: inset 0 0 22px #747e6d20; }
body.rally-day .status-landscape { opacity: .22; }
body.rally-day .card[data-section="status"] .status-header span { background-image: repeating-linear-gradient(0deg, #435448 0 2px, #596957 2px 4px); -webkit-text-stroke-color: #435448; }
body.rally-day .card[data-section="status"] .card-content { color: #26372e; text-shadow: 0 1px #e2e5d9; background: linear-gradient(transparent, #d4dacbd9); }
body.rally-day .card[data-section="status"] .status-float img { opacity: .65; filter: brightness(.35); }
body.rally-day .card[data-section="status"] .status-cover { opacity: 1; border-color: #778373; }

body.rally-day .card.guestbook { background-color: #e0d4b9; border-color: #817660; border-left-color: #5f5949; }
body.rally-day #guestbook-entries { scrollbar-color: #8b7e64 #e0d4b9; }
body.rally-day #guestbook-form :is(input,textarea) { background: #f5ecd570; }
body.rally-day .guestbook button { background: #e9dcc0; color: #3d3324; }
body.rally-day .guestbook button:hover { background: #f7ecd2; }
body.rally-day .card[data-section="setup"] { background: linear-gradient(110deg, #d6d0b9, #c5c1ab 58%, #b6b49f); }
body.rally-day .card[data-section="setup"] .setup-content--specs { background: #d0ccb7; border-color: #959882; }

body.rally-day .card[data-section="albums"] { background-color: #d5c7ac; }
body.rally-day .card[data-section="albums"] .albums-shelf {
    background-image: linear-gradient(#dfc9a022, #d5bd9022), url('../albums/images/background.jpg');
    box-shadow: inset 0 0 35px #624b3822, inset 3px 0 #e7d9ae60, inset -3px 0 #69564266;
}
body.rally-day .card[data-section="albums"] .card-header { background: linear-gradient(#e2d6bbf5, #e2d6bb99 65%, transparent); }
body.rally-day .card[data-section="albums"] .album-info { background: #ede1c9; border-color: #918163; box-shadow: 2px 4px #443e3233; }
body.rally-day .card[data-section="albums"] .album-info .album-title { color: #5b3e29; }
body.rally-day .card[data-section="albums"] .album-info .album-artist { color: #60563f; }

body.rally-day .card[data-section="projects"] { background: repeating-conic-gradient(#78745b0a 0% 25%, transparent 0% 50%) 0 0 / 4px 4px, #c8c9b9; }
body.rally-day .card[data-section="projects"] .project { background-color: #e4e1d0; border-color: #a5a58f; box-shadow: 3px 5px #50574330, inset 0 0 18px #84795718; }
body.rally-day .card[data-section="webring"] { background: repeating-linear-gradient(90deg, #c3b89b 0 3px, #cbbfa3 3px 4px, #c0b699 4px 10px); }
/* Keep the embedded directory and CRT picture in their dark, recessed openings. */
body.rally-day .leaves-toggle { background: repeating-linear-gradient(0deg, #e2decd 0 2px, #dad6c4 2px 4px); color: #77472c; border-color: #8b826c; box-shadow: 3px 3px #555c4933, inset 0 1px #fff8; }
body.rally-day .leaves-toggle[data-mode="off"] { color: #615f53; }
body.rally-day .leaves-toggle:focus-visible { outline-color: #77472c; }
body.rally-day .copyright-bar { color: #5b6253; border-color: #959e873f; }
