/* Personal additions to the 00е homepage. */
.y2k-header { background: repeating-linear-gradient(45deg, rgba(122,28,255,.25) 0 10px, transparent 10px 20px); }
.y2k-wordart { font-size: clamp(34px, 5.3vw, 55px); }
.y2k-wordart span { animation-name: y2k-hue; }
.y2k-wordart span + span { font-size: .47em; }
.y2k-welcome { grid-template-columns: minmax(0, 1fr) 218px; }
.y2k-frame { margin: 8px 0 0; }
.portrait img { width: 100%; height: auto; }
.photo-button { display: block; width: 100%; padding: 3px; border: 3px outset #bfc4d4; background: #151127; cursor: zoom-in; }
.photo-button img { display: block; width: 100%; height: auto; }
.portrait .photo-button { padding: 0; border: 0; }
.photo-button:hover { border-color: #ff2bd6; box-shadow: 0 0 10px #ff2bd6; }
button, a { -webkit-tap-highlight-color: #ff2bd644; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #fff200; outline-offset: 3px; }
.channel-link { display: inline-block; text-decoration: none; margin-top: 6px; padding: 9px 8px; }
.channel-link:visited, .guest-body .y2k-button:visited { color: white; }
.signature { color: #ff8de3; font: italic 12px/1.4 var(--y2k-comic); }
.lime { color: #39ff14; }
.tiny { font-size: 11px; }
h3 { color: #00f0ff; font: bold 14px/1.3 var(--y2k-comic); margin: 9px 0 5px; }
.party-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.party p { font-size: 11px; margin: 6px 0; }
.poster { height: 230px; background: #fff; }
.poster img { width: 100%; height: 100%; object-fit: contain; margin: 0 auto; }
[data-photo="stigmata"] img { max-width: 297.5px; }
#runner { color: #fff200; filter: drop-shadow(1px 1px 0 #000); }
.feature-event { display: grid; grid-template-columns: 48% 1fr; gap: 10px; align-items: center; padding: 10px 0; }
.feature-event + .feature-event { border-top: 1px dotted #5555ff; }
.feature-event p { font-size: 12px; margin: 8px 0; }
.controls { display: grid; gap: 6px; }
.controls button { width: 100%; padding: 7px 3px; font-size: 11px; }
.silver-button { border: 2px outset #eee; background: linear-gradient(#eee, #aaa); color: #111; padding: 5px 7px; font: bold 11px/1.3 Tahoma, sans-serif; cursor: pointer; }
.silver-button:active { border-style: inset; }
.y2k-pet { background: transparent; border: 0; padding: 10px 0; width: 100%; }
.big-number { display: block; font: bold 50px/1 'Courier New', monospace; color: #39ff14; text-shadow: 0 0 8px #39ff14; }
.mini-dossier { text-align: center; }
.sport-grid { display: grid; grid-template-columns: 31% 1fr; gap: 9px; align-items: start; margin-top: 12px; }
.run-game { margin-top: 12px; padding: 9px; border: 3px ridge #aaa; background: #090025; }
.run-top { display: flex; justify-content: space-between; gap: 8px; color: #39ff14; font: bold 14px/1.4 'Courier New', monospace; }
.run-track { position: relative; margin: 14px 0 5px; height: 57px; background: repeating-linear-gradient(0deg, #502237 0 17px, #ddd 18px 19px); border: 2px inset #bbb; }
#runner { position: absolute; left: 0; bottom: 4px; font-size: 30px; transition: left .12s ease-out; z-index: 1; }
.finish { position: absolute; right: 0; top: 0; bottom: 0; writing-mode: vertical-rl; background: #fff; color: #000; font-size: 8px; font-weight: bold; text-align: center; }
progress { display: block; width: 100%; height: 13px; accent-color: #39ff14; }
.run-controls { display: flex; gap: 8px; margin-top: 10px; }
#run-status { margin-bottom: 0; font-size: 11px; color: #fff200; }
.merch-album { grid-template-columns: repeat(3, 1fr); }
.y2k-album img { display: block; width: 100%; height: auto; }
.album-title { margin: 0 0 9px; }
.friends-album { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.friends-album figure { margin: 0; }
.friends-album img { height: 240px; object-fit: contain; }
.friends-album figcaption { font: 11px/1.3 var(--y2k-comic); color: #00f0ff; margin-top: 5px; text-align: center; }
.quote-body { background: linear-gradient(135deg, #190535, #070019); }
.quote-mark { height: 30px; font: bold 60px/1 Georgia, serif; color: #ff2bd6; }
blockquote { margin: 0 0 13px; min-height: 100px; font: italic 16px/1.3 var(--y2k-comic); color: #fff200; }
.quote-body .y2k-button { padding: 6px 8px; font-size: 11px; }
.y2k-poll label { padding: 5px 0; }
.y2k-poll-bar { height: 11px; }
#poll-status { font-size: 11px; margin-bottom: 0; color: #39ff14; }
.guest-body { margin: 8px; border: 2px dashed #ff2bd6; text-align: center; background: #200019; }
.guest-body .y2k-button { display: inline-block; padding: 10px; text-decoration: none; }
.smiley-line { color: #fff200; font: bold 23px/1.1 'Courier New', monospace; }
.text-button { padding: 0; background: transparent; border: 0; color: #33ccff; text-decoration: underline; font: inherit; cursor: pointer; }
.y2k-window[hidden] { display: none; }
.y2k-window-bar { touch-action: none; }
.y2k-window-body p { margin: 0; }
#lightbox { padding: 7px; max-width: calc(100vw - 20px); max-height: 95svh; border: 4px ridge #bbb; background: #c0c0c0; color: #000; }
#lightbox::backdrop { background: #000d; }
.lightbox-bar { display: flex; gap: 10px; align-items: center; justify-content: space-between; color: #fff; background: linear-gradient(90deg,#000080,#1084d0); padding: 4px 6px; font: bold 12px/1.3 Tahoma,sans-serif; }
#large-photo { display: block; margin: 7px auto; width: auto; height: auto; max-width: min(85vw, var(--photo-max)); max-height: 73svh; }
.lightbox-controls { display: flex; justify-content: space-between; gap: 8px; }
.y2k-toast { max-width: calc(100vw - 20px); text-align: center; }
body.giga .y2k-box { box-shadow: 0 0 15px #ff2bd6, inset 0 0 15px #7a1cff55; }
body.giga .y2k-burst { animation-duration: 1.4s; }
body.giga .y2k-globe { animation-duration: 1s; }
body.giga .y2k-header { background-color: #310042; }
body.frozen *, body.frozen::before, body.frozen { animation-play-state: paused !important; }
body.frozen .y2k-spark { display: none; }
@media (max-width: 760px) {
.y2k-header { grid-template-columns: 49px minmax(0,1fr) 44px; }
.y2k-wordart { font-size: clamp(27px, 7.2vw, 48px); }
.y2k-wordart span + span { font-size: .4em; }
.y2k-tagline { font-size: 10px; }
.y2k-burst { width: 46px; height: 46px; font-size: 9px; }
.y2k-globe { width: 38px; height: 38px; }
.y2k-clock { font-size: 9px; }
.y2k-nav { grid-template-columns: repeat(3, 1fr); gap: 4px; }
.y2k-nav a { font-size: 10px; padding: 7px 2px; }
.y2k-nav a::before { content: ''; }
.y2k-new { font-size: 7px; margin-left: 1px; }
.y2k-welcome { grid-template-columns: minmax(0,1fr) 39%; gap: 8px; }
.y2k-hello { font-size: 19px; }
.y2k-welcome p, .y2k-welcome li { font-size: 12px; }
.y2k-welcome p { margin: 8px 0; }
.y2k-welcome .channel-link { padding: 8px 5px; font-size: 11px; }
.portrait { width: 100%; }
.y2k-construction strong { font-size: 9px; }
.poster { height: 185px; }
.party h3 { font-size: 13px; }
.feature-event { grid-template-columns: 46% 1fr; }
.feature-event h3 { font-size: 13px; }
.friends-album img { height: 200px; }
blockquote { min-height: 0; }
.y2k-box h2 { padding: 5px 6px; }
.y2k-window { width: min(290px, calc(100vw - 24px)); top: auto; bottom: 15px; right: auto; transform: translateY(160%); }
.y2k-layout > aside > :not(nav) { order: 2; }
.silver-button, .y2k-player-controls button { min-height: 35px; }
.controls { grid-template-columns: 1fr 1fr; }
.controls #vibe { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation: none !important; transition: none !important; }
.y2k-spark { display: none; }
}
