/* Shared Windows components and type scale. Loaded after the original page art styles. */
@media(min-width:761px) and (hover:hover) and (pointer:fine) {
  .window-drag-handle {cursor:grab;touch-action:none;user-select:none}
  .window-dragging .window-drag-handle {cursor:grabbing}
  .window-dragging {will-change:translate}
  .window-drag-handle :is(a,button,input,select) {touch-action:manipulation}
}
.breakout-locked-collection {grid-column:1/-1;margin-top:1.5rem}
.breakout-locked-collection>p {font:.875rem/1.6 var(--font-ui)}
.locked-art-preview {position:relative;overflow:hidden;aspect-ratio:16/10;background:#20282a}
.locked-art-preview>img {display:block;width:100%;height:100%;object-fit:contain;filter:blur(14px) brightness(.48);transform:scale(1.08);pointer-events:none;user-select:none}
.art-lock {position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:.375rem;color:#ffe35b;text-shadow:2px 2px #000;font:bold 1rem/1.4 var(--font-file)}
.art-lock-symbol {font-size:2.5rem}
.cursor-settings {margin:1rem 0;border:1px solid var(--theme-border);padding:.75rem;min-width:0}
.cursor-settings label {display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.cursor-settings select {max-width:100%;background:var(--theme-field);color:var(--theme-ink)}
.cursor-settings a {font-size:.75rem}
html[data-cursor=drone] {--desktop-cursor:url('assets/cursors/drone-pointer-649be13682bb508e.svg') 3 3,auto}
html[data-cursor=maus] {--desktop-cursor:url('assets/cursors/maus-pointer-56789e1029c5fe77.svg') 3 3,auto}
html[data-cursor=mouse] {--desktop-cursor:url('assets/cursors/mouse-pointer-3094e00d4bad47a7.png') 3 3,auto}
html[data-cursor=glorp] {--desktop-cursor:url('assets/cursors/glorp-pointer-dbb70bbeb863faf0.svg') 3 3,auto}
@media(any-pointer:fine) {
  html[data-cursor]:not([data-cursor=default]) body,html[data-cursor]:not([data-cursor=default]) body * {cursor:var(--desktop-cursor)}
  html[data-cursor]:not([data-cursor=default]) body :is(input:not([type=radio]):not([type=checkbox]):not([type=range]),textarea,[contenteditable=true]) {cursor:text}
  html[data-cursor]:not([data-cursor=default]) body .window-drag-handle {cursor:grab}
  html[data-cursor]:not([data-cursor=default]) body .window-dragging .window-drag-handle {cursor:grabbing}
}
:root {
  --font-ui: Tahoma, Verdana, Arial, sans-serif;
  --font-file: 'Courier New', monospace;
  --font-display: 'Arial Black', Arial, sans-serif;
  --font-personality: 'Comic Sans MS', 'Trebuchet MS', sans-serif;
  --space-xs: .5rem;
  --space-sm: .75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --panel-padding: 1.25rem;
  --control-height: 2.5rem;
  --taskbar-height: 3.5rem;
  /* Shared motion for popup/ad affirmatives and explicitly selected page buttons. */
  --affirmative-duration: 2.2s;
  --affirmative-scale-min: 1;
  --affirmative-scale-max: 1.12;
  --affirmative-background: #1557ff;
  --affirmative-ink: #fff;
  --affirmative-radius: 1rem;
  --affirmative-edge: #111;
  --affirmative-shadow: 4px 5px 0 var(--affirmative-edge);
  --affirmative-pressed-shadow: 1px 2px 0 var(--affirmative-edge);
  --button-hover-background: #9be574;
  --button-hover-ink: #102a0b;
}
body {font:1rem/1.6 var(--font-ui); padding:1.25rem 1.25rem calc(var(--taskbar-height) + 1.5rem)}
button, input {font-family:var(--font-ui)}
button, a, input, [tabindex] {scroll-margin-block:5rem}
:is(a,button,input,[tabindex]):focus-visible {outline:2px dashed #000080;outline-offset:3px;box-shadow:0 0 0 3px #fff}
.sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.ui-icon,.feature-icon {display:inline-block;object-fit:contain;flex-shrink:0;vertical-align:middle;image-rendering:pixelated}
.ui-icon {width:1.125rem;height:1.125rem}
.wallpaper-layer {position:fixed;inset:0;overflow:hidden;z-index:-1;pointer-events:none}
.wallpaper-layer .badge-wallpaper {position:absolute;z-index:auto}
.frog-cursor {position:fixed;inset:0;display:block;width:100%;height:100%;z-index:80;pointer-events:none;image-rendering:pixelated;contain:strict}
@media(prefers-reduced-motion:reduce) {.frog-cursor {display:none}}
.motion-paused .frog-cursor,.nonsense-muted .frog-cursor {display:none}
.desktop-window,.small-window,.retro-dialog {border-radius:0;padding:4px}
.desktop-label {font-size:.75rem;gap:var(--space-xs);overflow-wrap:anywhere}
.desktop-label>span {font-size:.75rem}
.title-bar {min-height:2.25rem;padding:.25rem .375rem;gap:var(--space-xs);font:700 .875rem/1.4 var(--font-ui)}
.title-bar>span:first-child {min-width:0;overflow-wrap:anywhere}
.title-bar>span:first-child>img {flex-shrink:0}
.window-controls {display:inline-flex;align-items:center;gap:.25rem;flex-shrink:0}
.window-control,.close-dialog {display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:0;border-radius:0;min-width:2rem;width:2rem;height:1.75rem;padding:.25rem;background:var(--silver);color:#111;box-shadow:var(--bevel);font:700 1.125rem/1 var(--font-ui)}
.window-control .ui-icon {width:.875rem;height:.875rem}
:is(.window-control,.close-dialog):hover {background:#dfdfdf}
:is(.window-control,.close-dialog):active {box-shadow:var(--sunken)}
.button {font:.875rem/1.45 var(--font-ui);min-height:var(--control-height);padding:.625rem .875rem;gap:var(--space-xs);border-radius:0}
.button:hover {box-shadow:var(--bevel),inset 0 0 0 3px #d8d8d8}
.button.primary:not(.affirmative):hover {box-shadow:inset -1px -1px #000,inset 1px 1px #8ba1ff,inset -2px -2px #00004c,inset 2px 2px #3c3cca;background:#15159a}
/* Breathing buttons share a rounded, chunky silhouette; ordinary Windows controls keep their bevels. */
:is(.cookie-joke,.decal-ad,.side-promo) .affirmative,.affirmative[data-breathe] {background:var(--affirmative-background);color:var(--affirmative-ink);border:3px solid var(--affirmative-edge);border-radius:var(--affirmative-radius);box-shadow:var(--affirmative-shadow);--button-hover-shadow:var(--affirmative-shadow);--button-pressed-shadow:var(--affirmative-pressed-shadow)}
.button:active,.button.active,.affirmative:active {box-shadow:var(--button-pressed-shadow,var(--sunken))}
:is(.cookie-joke,.decal-ad,.side-promo) .affirmative:active,.affirmative[data-breathe]:active {translate:3px 3px}
:where(.cookie-joke,.decal-ad,.side-promo) .affirmative,.affirmative:where([data-breathe]) {font-weight:700;text-transform:uppercase;animation:affirmative-breathe var(--affirmative-duration) ease-in-out infinite;transform-origin:center}
@keyframes affirmative-breathe {
  0%,100% {scale:var(--affirmative-scale-min)}
  50% {scale:var(--affirmative-scale-max)}
}
/* Freeze at the current size so hovering a growing edge cannot move the target away. */
.affirmative:is(:hover,:focus-visible,:active) {animation-play-state:paused}
.affirmative:is(:disabled,[aria-disabled=true]),.motion-paused .affirmative {animation:none;scale:1}
@media(prefers-reduced-motion:reduce) {.affirmative {animation:none;scale:1}}
.menu-bar {padding:.25rem .375rem;gap:.125rem;min-height:2.75rem}
.menu-bar a,.menu-bar .motion-toggle,.menu-bar .nonsense-toggle {display:inline-flex;align-items:center;justify-content:center;gap:.375rem;font-size:.875rem;line-height:1.4;min-height:2.5rem;padding:.5rem .625rem}
.menu-bar a[aria-current] {box-shadow:var(--sunken);background:#d5d5d5}
.social-toolbar {gap:.25rem;padding:.25rem .5rem}
.top-social-link {font-size:.875rem;min-height:2.5rem;padding:.5rem .625rem;gap:.5rem}
.top-social-link:active {box-shadow:var(--sunken);background:#ddd}
.top-social-link .brand-icon {width:1.25rem;height:1.25rem}
.address-bar {font-size:.875rem;padding:.5rem;gap:.75rem}
.address {min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.page-content {padding:var(--panel-padding) var(--space-lg) 0;margin:0 .375rem}
.extra-page,.mods-content {padding-top:var(--panel-padding)}
.hero {display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);gap:var(--space-lg);padding:1.25rem 0 1.5rem;align-items:center}
.hero-copy {min-width:0}
.twitch-unload {margin-bottom:.75rem}
.hero-meta {display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;margin-bottom:.625rem}
.hero .hero-meta .eyebrow {margin:0}
.changelog-launcher {min-height:2rem;padding:.375rem .625rem;font:.75rem/1.25 var(--font-file);flex-shrink:0}
#main>.title-bar>span:first-child {display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#main>.title-bar>span:first-child>img {vertical-align:middle}
#main>.title-bar>.changelog-launcher {display:inline-flex;align-items:center;margin-right:auto;min-width:3.5rem;border:0;background:transparent;color:#d3e8ff;box-shadow:none;white-space:nowrap;overflow-wrap:normal;text-decoration:underline;text-underline-offset:.2em}
#main>.title-bar>.changelog-launcher:hover {color:#e8f3ff}
.changelog-unread {animation:changelog-nudge 5s ease-in-out infinite;transform-origin:50% 60%}
.changelog-unread:is(:hover,:focus-visible) {animation-play-state:paused}
@keyframes changelog-nudge {0%,78%,94%,100% {transform:rotate(0)}81% {transform:rotate(-4deg)}84% {transform:rotate(3deg)}87% {transform:rotate(-2deg)}90% {transform:rotate(1deg)}}
.motion-paused .changelog-unread {animation:none}
@media(prefers-reduced-motion:reduce) {.changelog-unread {animation:none}}
.changelog-version {font-weight:bold}
.changelog-dialog {width:min(720px,calc(100vw - 1rem));max-height:calc(100dvh - 1rem)}
.changelog-body {padding:1rem;display:flex;flex-direction:column;gap:.75rem;min-height:0}
.changelog-notes {max-height:60dvh;overflow:auto;overscroll-behavior:contain;padding:1rem 1.25rem;background:var(--theme-field,#fffef5);color:var(--ink);border:2px inset var(--theme-border,#aaa);font:.9375rem/1.65 var(--font-ui)}
.changelog-entry h2 {margin:0;color:var(--navy);font:700 1.25rem/1.3 var(--font-ui)}
.changelog-date {margin:.25rem 0 1.5rem;font:.8125rem/1.5 var(--font-file);color:var(--theme-muted,#494951)}
.changelog-entry section+section {margin-top:1.75rem;padding-top:1.25rem;border-top:1px dashed var(--theme-border,#aaa)}
.changelog-entry h3 {margin:0 0 .75rem;font:700 1rem/1.4 var(--font-ui);color:var(--navy)}
.changelog-entry ul {margin:0;padding-left:1.25rem}
.changelog-entry li+li {margin-top:.75rem}
.changelog-entry+.changelog-entry {margin-top:2rem}
.changelog-text {display:block;width:100%;height:clamp(180px,45dvh,440px);resize:vertical;min-height:120px;max-height:60dvh;padding:.875rem;background:#fffef5;color:#171717;border:2px inset #aaa;font:.9375rem/1.6 var(--font-file);white-space:pre-wrap;overflow-wrap:anywhere}
.changelog-actions {display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.changelog-copy-status {margin:0;font:.8125rem/1.5 var(--font-ui);flex:1 1 200px}
@media(pointer:coarse) {.changelog-launcher {min-height:44px}}
.hero .eyebrow {font-size:.6875rem;margin:0 0 .625rem}
.hero h1 {font:900 clamp(2.4rem,4vw,3.5rem)/1.08 var(--font-display);letter-spacing:-.08rem;margin:0 0 .75rem}
.hero h1 span {font-family:var(--font-personality);letter-spacing:-.08rem}
.hero .hero-hook {font:700 clamp(1.05rem,1.6vw,1.25rem)/1.5 var(--font-ui);color:#155e53;max-width:32rem;margin:.75rem 0 1rem}
.hero-actions {gap:.625rem}
.hero-actions .primary {min-height:var(--control-height)}
.hero-actions>.button:not(.primary) {padding-inline:.875rem}
.hero-aside {display:block;padding:0;min-width:0}
.welcome-window {width:100%;max-width:280px;transform:none;margin:auto}
.welcome-body {padding:.75rem;text-align:center}
.welcome-body .pixel-monitor {width:104px;margin-bottom:.5rem}
.welcome-body .monitor-screen {height:76px;border-width:8px}
.welcome-body .monitor-art {object-fit:contain;image-rendering:auto}
.welcome-body h2 {font:700 1rem/1.3 var(--font-display);margin:.5rem 0}
.welcome-body p {font-size:.875rem;line-height:1.5;margin:.5rem 0}
.welcome-body .welcome-response {font:.75rem/1.4 var(--font-file);min-height:1.1rem;height:auto;margin:.5rem 0 0}
.welcome-body .okay-button {font-size:.875rem;min-width:0;width:100%}
.hero:has(.welcome-window.is-maximized) {grid-template-columns:1fr}
.welcome-window.is-maximized {max-width:none}
.welcome-window.is-maximized .welcome-body {padding:var(--space-lg)}
.welcome-reopen {margin:auto;display:flex}
.stream-window,.about-window,.art-window,.link-decal-window {margin-block:0 var(--space-lg)}
.stream-window-body,.about-body.about-profile,.journal-body,.art-window-body,.ranking-content,.discord-invite-card,.link-decal-body,.mod-promo-body,.decal-promo-body {padding:var(--panel-padding);margin:3px}
.about-body.about-profile {gap:var(--space-lg)}
.stream-heading {gap:var(--space-md)}
.stream-heading .eyebrow,.about-copy .eyebrow {font-size:.6875rem}
.stream-heading>p {font: .8125rem/1.5 var(--font-file);margin:0}
.stream-heading h2 {font:700 1.75rem/1.2 var(--font-personality)}
.stream-popout {font:.875rem/1.4 var(--font-ui);white-space:normal;min-height:2rem;display:inline-flex;align-items:center}
.about-copy>p {font:1rem/1.75 var(--font-ui);margin:1rem 0}
.about-copy>.about-hook {font:700 1.25rem/1.5 var(--font-personality)}
.about-copy>.business-contact {font:1rem/1.7 var(--font-ui);padding-top:1rem}
.about-portrait>span {font:.875rem/1.5 var(--font-file)}
/* Quiet motion stays inside the picture frames; captions and controls stay still. */
.about-portrait {overflow:hidden}
.about-portrait>img {transform-origin:50% 90%;animation:portrait-sway 10s ease-in-out infinite}
.merch-figure-photo {overflow:hidden}
.merch-figure-photo>img {animation:merch-float 8s ease-in-out infinite}
.about-portrait:is(:hover,:focus-within)>img,.merch-figure-photo:is(:hover,:focus-within)>img {animation-play-state:paused}
:is(#post-dialog,#art-dialog)[open] {animation:window-settle .22s ease-out}
@keyframes portrait-sway {0%,50%,100% {rotate:0deg}25% {rotate:-.8deg}75% {rotate:.8deg}}
@keyframes merch-float {0%,100% {translate:0 0}50% {translate:0 -3px}}
@keyframes window-settle {from {opacity:0;translate:0 -4px}to {opacity:1;translate:0 0}}
.motion-paused .about-portrait>img,.motion-paused .merch-figure-photo>img,.motion-paused :is(#post-dialog,#art-dialog) {animation:none}
@media(prefers-reduced-motion:reduce) {.about-portrait>img,.merch-figure-photo>img,:is(#post-dialog,#art-dialog) {animation:none}}
/* Two tiny accents on quiet subpages; gallery images and text remain still. */
[data-page=community] .online-dot {animation:community-light 8s ease-in-out infinite}
[data-page=art] .art-window>.title-bar>span[aria-hidden=true]>.ui-icon {transform-origin:50% 75%;animation:art-icon-sway 12s ease-in-out infinite}
[data-page=art] .art-window>.title-bar:hover>span[aria-hidden=true]>.ui-icon {animation-play-state:paused}
@keyframes community-light {0%,100% {opacity:.6}50% {opacity:1}}
@keyframes art-icon-sway {0%,60%,100% {rotate:0deg}70% {rotate:-6deg}80% {rotate:6deg}90% {rotate:0deg}}
.motion-paused[data-page=community] .online-dot,.motion-paused[data-page=art] .art-window>.title-bar>span[aria-hidden=true]>.ui-icon {animation:none}
@media(prefers-reduced-motion:reduce) {[data-page=community] .online-dot,[data-page=art] .art-window>.title-bar>span[aria-hidden=true]>.ui-icon {animation:none}}
.steamy-stats dt {font:700 .75rem/1.5 var(--font-file)}
.steamy-stats dd {font:.9375rem/1.6 var(--font-ui)}
.homepage-shortcuts {gap:var(--space-sm);padding:var(--space-md) 0;margin-bottom:var(--space-lg)}
.homepage-shortcuts .button {flex:1 1 10rem;font-size:.875rem;white-space:normal}
.section-heading,.art-gallery-heading {flex-wrap:wrap;gap:var(--space-sm)}
.section-heading h2,.ranking-content .section-heading h2,.art-gallery-heading h2 {font:700 1.125rem/1.4 var(--font-file)}
.section-heading>span,.art-gallery-heading>span {font:.8125rem/1.5 var(--font-file);white-space:normal}
.extra-heading {padding:.5rem 0 var(--space-lg);gap:var(--space-lg)}
.extra-heading h1,.mods-heading h1 {font-size:clamp(2rem,4.5vw,3.25rem);letter-spacing:-.07rem}
.extra-heading p:not(.eyebrow),.mods-heading p:not(.eyebrow),.journal-window .journal-body>p,.section-intro {font:.9375rem/1.7 var(--font-ui)}
.viewer-heading {font:700 1.125rem/1.5 var(--font-file)}
.social-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:var(--space-md)}
.social-grid>.social-link:last-child {grid-column:auto;justify-content:flex-start}
.social-link {padding:1rem;gap:.75rem;min-height:6rem}
.social-link:hover {transform:none;background:#d1d1d1;box-shadow:var(--bevel),inset 0 0 0 4px #d8d8d8}
.social-link:active {transform:none;box-shadow:var(--sunken);background:#ddd}
.social-label strong {font:700 1rem/1.4 var(--font-ui)}
.social-label small {font:.875rem/1.5 var(--font-ui);color:#333}
.social-label em {font:.75rem/1.5 var(--font-file)}
.social-label {overflow-wrap:anywhere}
.mod-promo-body h2,.decal-promo-body h2,.journal-window .journal-body h2 {font:700 1.5rem/1.3 var(--font-personality)}
.mod-promo-body p,.decal-promo-body>p,.link-decal-body p {font:.9375rem/1.65 var(--font-ui)}
.mod-promo-body strong,.mod-counter {font-size:.875rem;line-height:1.6}
.decal-promo-body small,.hp-joke small {font-size:.8125rem;line-height:1.5}
.hp-joke {font:.875rem/1.7 var(--font-file)}
.gallery-toolbar {gap:var(--space-md);padding:var(--space-sm)}
.filter-buttons {flex-wrap:wrap;gap:var(--space-xs)}
.filter-buttons .button {font-size:.875rem;min-width:0;flex:1 1 auto}
.search-label {flex:1 1 17rem;display:flex;flex-wrap:wrap;gap:.5rem;font-size:.875rem;justify-content:flex-start;min-width:0}
.search-label input {min-height:2.75rem;font:1rem/1.5 var(--font-ui);width:auto;flex:1 1 14rem;max-width:100%;padding:.5rem .625rem}
.gallery-status {font:.8125rem/1.6 var(--font-file);flex-wrap:wrap;padding:.75rem 0}
.gallery-status a {white-space:normal}
.folder-heading {gap:var(--space-xs);flex-wrap:wrap}
.folder-heading h2 {font-size:1.25rem}
.folder-heading>span:last-child {font:.8125rem/1.5 var(--font-file)}
.mod-grid,.art-gallery {grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:var(--space-md)}
/* Community creations keep compact preview cards even while the gallery has one entry. */
body[data-page=community-art] .art-gallery {grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr))}
body[data-page=community-art] .art-card {width:100%;max-width:240px;align-self:start}
.community-art-callout {background:#ffe55b;color:#171717;padding:1.25rem;margin:0 0 1.5rem;text-align:center}
.community-art-callout h2 {font:900 clamp(1.5rem,4vw,2.25rem)/1.3 var(--font-personality);margin:0 0 .5rem}
.community-art-callout p {font:.875rem/1.7 var(--font-ui);margin:0;overflow-wrap:anywhere}
.community-art-callout a {color:var(--navy);font-weight:700;text-underline-offset:.2em}
.mod-card h3 {font:700 1rem/1.5 var(--font-ui);min-height:0;margin:0 0 .5rem}
.mod-card-content {padding:.75rem}
.author-line,.art-credit,#art-credit,#mod-dialog-author,.creator-note,.promo-credit {font:.875rem/1.65 var(--font-ui);overflow-wrap:anywhere}
.author-line {margin:0 0 .75rem}
.card-actions {flex-wrap:wrap;gap:.5rem}
.card-actions .button {font-size:.875rem;min-height:var(--control-height);padding:.625rem .75rem;width:auto}
.card-file-name {font:.6875rem/1.5 var(--font-file)}
.photo-tabs,.card-photo-tabs {gap:.5rem;padding:.5rem .25rem;flex-wrap:wrap}
.art-photo-tabs:empty {display:none}
.photo-tab,.card-photo-tabs .photo-tab {font-size:.875rem;min-height:2.5rem;padding:.5rem .75rem}
.photo-note {font:.8125rem/1.5 var(--font-file);margin:.5rem .25rem}
.preview-zoom {font:.75rem/1.5 var(--font-ui)}
.preview-button:hover img {filter:none}
.preview-button:hover {box-shadow:var(--sunken),0 0 0 1px #000080}
.gallery-note,.submission-note {font:1rem/1.7 var(--font-ui);padding:var(--panel-padding);margin-block:var(--space-lg)}
.submission-note p,.gallery-note p {font:1rem/1.7 var(--font-ui);overflow-wrap:anywhere}
.gallery-note a,.submission-note a,.business-contact a {text-underline-offset:.2em}
.art-contact-note {font:.875rem/1.7 var(--font-ui);margin:1.5rem 0;overflow-wrap:anywhere}
.art-contact-note a {text-underline-offset:.2em}
.empty-state h2,.art-empty h2 {font:700 1.5rem/1.4 var(--font-personality)}
.art-empty .button {font-size:.875rem}
.notepad-sheet {min-height:13rem;background:#fffff3;padding:var(--space-lg);text-align:left}
.notepad-sheet h3 {font:700 1rem/1.5 var(--font-file);margin:0 0 1rem}
.notepad-sheet p {font:1rem/1.75 var(--font-file);margin:0 0 1rem}
.notepad-cursor {color:#000080;font:1.25rem var(--font-file)}
.post-row p {font:1rem/1.7 var(--font-ui)}
.post-title {font:700 1.125rem/1.5 var(--font-file)}
.post-row time {font-size:.8125rem}
#post-body p {white-space:pre-line}
.journal-illustration {display:block;width:min(240px,100%);height:auto;margin:1.25rem 0 0}
.home-feed {display:grid;gap:var(--space-md);align-content:start;min-width:0}
.home-feed>.small-window {min-width:0}
.home-feed .title-bar>a {display:inline-flex;align-items:center;min-height:2.5rem;padding:.25rem .375rem;color:#fff;font-size:.8125rem;white-space:nowrap;text-underline-offset:.2em}
.home-feed .title-bar>a:hover {background:var(--button-hover-background);color:var(--button-hover-ink)}
.home-feed .journal-body {padding:var(--space-md)}
.home-feed .journal-body h2 {margin:0 0 .75rem;font-size:1.375rem}
.ramble-heading,.ramble-page-title {display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.ramble-heading {align-items:center;margin-bottom:.75rem}
.home-feed .journal-body .ramble-heading h2 {margin:0}
.ramble-page-heading {display:block}
.ramble-page-title h1 {min-width:0}
.ramble-avatar {display:grid;width:72px;flex-shrink:0;line-height:0}
.ramble-avatar-large {width:128px}
.ramble-avatar img {grid-area:1/1;display:block;width:100%;height:auto}
.ramble-avatar-open {opacity:0;animation:ramble-talk 2.8s steps(1,end) infinite}
@keyframes ramble-talk {
  0%,22%,43%,65%,84%,100% {opacity:0}
  10%,32%,53%,74% {opacity:1}
}
.motion-paused .ramble-avatar-open {animation:none;opacity:0}
@media(prefers-reduced-motion:reduce) {.ramble-avatar-open {animation:none;opacity:0}}
@media(max-width:760px) {
  .ramble-heading,.ramble-page-title {gap:.75rem}
  .ramble-avatar {width:56px}
  .ramble-avatar-large {width:72px}
}
.home-latest-post {border-top:1px dashed #b7b7ad;padding-top:.75rem}
.home-latest-post time {font:.8125rem/1.5 var(--font-file);color:#555}
.home-latest-post h3 {font:700 1.0625rem/1.5 var(--font-file);margin:.375rem 0}
.home-post-title {color:var(--navy);text-underline-offset:.2em;overflow-wrap:anywhere}
.home-post-excerpt {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font:.9375rem/1.65 var(--font-ui);margin:.375rem 0 0}
.home-discord-body,.home-art-body {background:#eeeef1;margin:3px}
.home-discord-banner {display:block;box-shadow:var(--sunken);padding:3px}
.home-discord-banner img {display:block;width:100%;height:auto;max-height:11rem;object-fit:cover}
.home-discord-copy,.home-art-body {padding:var(--space-md)}
.home-discord-copy h2,.home-art-body h2 {font:700 1.25rem/1.4 var(--font-personality);color:var(--navy);margin:0 0 .375rem}
.home-discord-copy>p {font:.9375rem/1.6 var(--font-ui);margin:.375rem 0}
.home-discord-copy .discord-counts {margin:.75rem 0;padding:.625rem 0}
.home-discord-copy .discord-counts strong {font-size:1.25rem}
.home-discord-copy>.home-discord-status {font:.8125rem/1.5 var(--font-file);margin:.75rem 0 0}
.home-art-body h2 {margin-bottom:.75rem}
.home-art-window>.title-bar {display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
.home-art-window>.title-bar>a {grid-column:2;justify-self:center;text-align:center}
.home-art-window>.title-bar>.breakout-secret {grid-column:3;justify-self:end}
@media(max-width:680px) {
  .home-art-window>.title-bar {grid-template-columns:minmax(0,1fr) auto}
  .home-art-window>.title-bar>a {grid-column:1/-1;grid-row:2}
  .home-art-window>.title-bar>.breakout-secret {grid-column:2;grid-row:1}
}
.home-art-previews {display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:.625rem}
.home-art-preview {display:flex;flex-direction:column;min-width:0;padding:.375rem;background:var(--silver);box-shadow:var(--bevel);color:var(--navy);text-decoration:none}
.home-art-image {width:100%;background:#fff}
.home-art-preview img {display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff}
.home-art-title {font:700 .8125rem/1.5 var(--font-file);padding:.5rem .125rem .125rem;overflow-wrap:anywhere}
.home-art-credit {font:.8125rem/1.5 var(--font-ui);padding:.125rem;overflow-wrap:anywhere}
.home-art-empty {font:.9375rem/1.6 var(--font-ui);margin:0}
.home-art-preview:hover {background:var(--button-hover-background);color:var(--button-hover-ink)}
.home-art-preview:active {box-shadow:var(--sunken)}
@media(max-width:480px) {.home-art-previews {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:340px) {.home-art-previews {grid-template-columns:minmax(0,1fr)}}
.ranking-table {font-size:.875rem}
.rank-position {display:inline-flex;flex-direction:column;align-items:center;gap:.125rem;vertical-align:middle}
.rank-medal {display:block;width:24px;height:33px;object-fit:contain;image-rendering:pixelated}
.ranking-table th {font-size:.8125rem;overflow-wrap:anywhere}
.rank-member strong,.member-title,.member-reason {font-size:.875rem;line-height:1.6}
.ranking-empty>strong {font:700 1rem/1.5 var(--font-file)}
.ranking-empty p,.community-note>p {font:.9375rem/1.7 var(--font-ui)}
.ranking-footer {font:.8125rem/1.5 var(--font-file);flex-wrap:wrap}
.ranking-note {font:.9375rem/1.7 var(--font-ui);margin:1rem 0 .5rem}
.discord-invite-card>p:not(.eyebrow),.discord-invite-card .discord-count-note {font:.875rem/1.6 var(--font-ui)}
.discord-counts span {font-size:.875rem}
.retro-dialog {max-height:calc(100dvh - 1.5rem);max-width:calc(100% - 1.5rem)}
.mod-dialog-meta {gap:var(--space-md);flex-wrap:wrap;padding:.75rem .25rem}
.mod-dialog-meta h2 {font:700 1.25rem/1.5 var(--font-ui);margin:.25rem 0}
.mod-dialog-meta .button {font-size:.875rem}
.large-preview img {height:min(56vh,560px);max-height:none;min-height:0}
.preview-navigation {gap:.5rem;flex-wrap:wrap}
.preview-navigation .button {font-size:.875rem;min-height:var(--control-height)}
.image-frame {position:relative}
.image-state {position:absolute;left:.5rem;right:.5rem;bottom:.5rem;padding:.375rem .5rem;background:#000080;color:#fff;text-align:center;font:.8125rem/1.5 var(--font-file);pointer-events:none}
.image-loading>img {opacity:.3}
.image-failed>img {visibility:hidden}
.image-failed .image-state {top:.5rem;display:grid;place-items:center;background:#ddd;color:#000080;border:1px dashed #808080}
.stream-state {font:.8125rem/1.6 var(--font-file);margin:.5rem 0;color:#333}
.twitch-compact #twitch-fallback-note {font:.9375rem/1.6 var(--font-ui);margin:0;max-width:30rem}
.twitch-compact #twitch-fallback-note:empty {display:none}
.twitch-player-area.has-player {min-height:306px}
/* Keep extras behind the player itself without hiding them across the page. */
.twitch-persistent {position:fixed;z-index:97;background:#121216;overflow:hidden}
.twitch-persistent>div,.twitch-persistent iframe {display:block;width:100%;height:100%;border:0;min-width:400px;min-height:300px}
.decal-ad>.title-bar {font-size:.75rem}
.promo-window-label {display:inline-flex;align-items:center;gap:.375rem;min-width:0}
.promo-brand-icon {display:block;width:22px;height:22px;flex-shrink:0;object-fit:contain;padding:2px;background:#f3f3f3}
.decal-ad-body {padding:var(--space-md)}
.decal-ad-body>p {font:700 .875rem/1.6 var(--font-ui)}
.decal-ad .ad-actions {flex-wrap:wrap;gap:1rem}
.ad-actions .button {font-size:.875rem;min-height:var(--control-height)}
.decal-ad-body>.promo-author {font:.875rem/1.6 var(--font-ui)}
.cookie-joke {position:fixed;left:50%;right:auto;top:auto;bottom:calc(var(--taskbar-height) + .75rem);transform:translateX(-50%);z-index:60;max-height:calc(100dvh - var(--taskbar-height) - 1.5rem)}
.cookie-joke .title-bar {font-size:.8125rem}
.cookie-joke-body {padding:var(--space-md)}
.cookie-joke h2 {font:700 1.125rem/1.4 var(--font-file)}
.cookie-joke p {font:.9375rem/1.65 var(--font-ui)}
.cookie-actions .button {font-size:.875rem;min-height:var(--control-height)}
.cookie-actions {gap:1.25rem}
.tiny-no {font:10px var(--font-ui);min-width:44px;min-height:44px;padding:12px}
.ad-actions .tiny-no {margin-left:0;flex-shrink:0;align-self:center}
.side-promo {position:fixed;z-index:26;right:max(.75rem,env(safe-area-inset-right));top:50%;transform:translateY(-50%);width:17rem;max-width:calc(100vw - 1.5rem);max-height:calc(100dvh - var(--taskbar-height) - 1.5rem);overflow:auto;box-shadow:var(--bevel),5px 6px #0005}
.side-promo-body {padding:1rem;background:#fff6bb;text-align:center}
.side-promo[data-side-tone="pink"] .side-promo-body {background:#ffd1e9}
.side-promo[data-side-tone="purple"] .side-promo-body {background:#e4d4ff}
.side-promo[data-side-tone="blue"] .side-promo-body {background:#cceeff}
.side-promo[data-side-tone="green"] .side-promo-body {background:#d5f5c5}
.side-prize-icon {display:block;width:48px;height:48px;margin:0 auto .75rem;image-rendering:pixelated}
.side-promo-prize .side-promo-body {outline:2px dashed #a56700;outline-offset:-5px}
.side-promo h2 {font:700 1.125rem/1.5 var(--font-personality);color:var(--navy);margin:0 0 1rem}
.side-promo-actions {display:flex;align-items:center;gap:.75rem;padding:.25rem}
.side-promo-yes {flex:1;min-height:3.5rem;font:900 1.75rem/1.2 var(--font-display)}
.side-promo .tiny-no {margin-left:0;flex-shrink:0}
.side-promo .turn-off-ads {margin-bottom:0}
.side-promo[hidden] {display:none}
@media(max-width:680px) {.side-promo {top:auto;bottom:calc(var(--taskbar-height) + .75rem);transform:none}}
.page-footer {font:.875rem/1.6 var(--font-ui);padding:var(--space-md) 0;align-items:center}
.status-bar {font:.75rem/1.5 var(--font-ui);flex-wrap:wrap;min-width:0}
.status-bar>span {display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .5rem;overflow-wrap:anywhere;min-width:0}
.status-bar>span .ui-icon {width:1rem;height:1rem}
.taskbar {height:var(--taskbar-height);gap:.5rem;padding:.375rem .5rem;z-index:90}
.taskbar-controls {display:flex;align-items:center;gap:.375rem;flex-shrink:0}
.taskbar-toggle {display:inline-flex;align-items:center;justify-content:center;min-height:2rem;border:0;padding:.375rem .5rem;background:var(--silver);color:#111;box-shadow:var(--bevel);font:.75rem/1.25 var(--font-ui);white-space:nowrap}
.taskbar-toggle[aria-pressed=true],.taskbar-toggle:active {box-shadow:var(--sunken);background:#ddd}
.start-button {min-height:2.5rem;font-size:.875rem;padding:.375rem .625rem}
.task-button {display:inline-flex;align-items:center;gap:.5rem;border:0;min-width:0;width:13rem;max-width:45vw;min-height:2.5rem;font-size:.875rem;line-height:1.3;padding:.375rem .625rem;white-space:normal;text-align:left}
.clock {font-size:.875rem;padding:.5rem .625rem;white-space:nowrap}
.desktop-reopen {display:flex;flex-direction:column;max-width:18rem;margin:10vh auto 0;min-height:8rem;font-weight:700}
.main-window-maximized {padding: .5rem .5rem calc(var(--taskbar-height) + 1rem)}
.main-window-maximized .desktop-label {max-width:none}
.desktop-window.is-maximized {max-width:none;width:100%}
[data-window].is-minimized>:not(.title-bar) {display:none!important}
.desktop-window.is-minimized {max-width:32rem}
@media(max-width:950px) {
  .hero {grid-template-columns:minmax(0,1.3fr) minmax(230px,1fr);gap:var(--space-md)}
  .hero-actions .primary {width:auto}
  .community-layout,.lower-grid {grid-template-columns:1fr}
  .community-aside {display:block}
  .community-note {margin-top:var(--space-md)}
  .about-body.about-profile {grid-template-columns:200px minmax(0,1fr)}
}
@media(max-width:680px) {
  :root {--panel-padding:1rem}
  body {padding:.625rem .375rem calc(var(--taskbar-height) + 1rem)}
  .desktop-label {font-size:.75rem}
  .desktop-window {padding:3px}
  .page-content {padding:var(--space-md) .75rem 0;margin:0 .1875rem}
  .title-bar {font-size:.8125rem;min-height:2.5rem}
  .menu-bar a,.menu-bar .motion-toggle,.menu-bar .nonsense-toggle {font-size:.875rem;padding:.5rem;min-height:2.75rem}
  .menu-bar .motion-toggle {margin-left:0}
  .menu-bar a .ui-icon {width:1rem;height:1rem}
  .top-social-link {font-size:.875rem;gap:.375rem;padding:.5rem;min-height:2.75rem}
  .social-toolbar {gap:0;padding:.25rem}
  .address-bar {font-size:.8125rem}
  .hero {display:flex;flex-direction:column;align-items:stretch;padding:1rem 0;gap:1rem}
  .hero h1 {font-size:2.5rem;letter-spacing:-.07rem}
  .hero .hero-hook {font-size:1.0625rem}
  .hero-aside {padding:0;display:block}
  .welcome-window {max-width:none;width:100%}
  .welcome-body {display:grid;grid-template-columns:90px minmax(0,1fr);gap:.25rem .75rem;align-items:center;text-align:left;padding:.75rem}
  .welcome-body .pixel-monitor {grid-row:1/5;width:80px;margin:0}
  .welcome-body .monitor-screen {height:60px;border-width:6px}
  .welcome-body .monitor-neck {height:8px}
  .welcome-body .monitor-foot {height:8px}
  .welcome-body h2,.welcome-body p {margin:0}
  .welcome-body .welcome-response:empty {display:none}
  .welcome-window.is-maximized .welcome-body {display:block;text-align:center}
  .welcome-window.is-maximized .pixel-monitor {margin:0 auto .75rem;width:140px}
  .welcome-window.is-maximized .monitor-screen {height:96px}
  .stream-window-body,.about-body.about-profile,.journal-body,.art-window-body,.ranking-content,.discord-invite-card,.link-decal-body,.mod-promo-body,.decal-promo-body {padding:var(--panel-padding)}
  .stream-heading {display:block}
  .stream-heading h2 {font-size:1.5rem}
  .stream-heading>p {font-size:.8125rem;margin-top:.5rem}
  .stream-popout {font-size:.8125rem;max-width:40%;text-align:right}
  .about-body.about-profile {grid-template-columns:1fr;gap:var(--space-md)}
  .about-copy>p,.about-copy>.business-contact {font-size:1rem}
  .about-copy>.about-hook {font-size:1.25rem}
  .about-copy .eyebrow {font-size:.6875rem}
  .steamy-stats {grid-template-columns:1fr;gap:0}
  .steamy-stats dt {font-size:.75rem}
  .steamy-stats dd {font-size:.9375rem}
  .homepage-shortcuts .button {flex:1 1 9rem;font-size:.875rem}
  .extra-heading {padding-bottom:var(--space-lg);gap:var(--space-md)}
  .extra-heading h1,.mods-heading h1,body[data-page=community-art] .extra-heading h1 {font-size:2rem;line-height:1.2;overflow-wrap:anywhere}
  .extra-heading p:not(.eyebrow),.mods-heading p:not(.eyebrow) {font-size:.9375rem}
  .extra-heading .eyebrow,.mods-heading .eyebrow {font-size:.6875rem}
  .extra-heading>.art-sticker,.extra-heading>.trophy-sticker,.extra-heading>.notepad-sticker,.folder-sticker {display:none}
  .search-label {flex-basis:100%;width:100%;font-size:.875rem}
  .search-label input {flex-basis:100%;font-size:1rem}
  .filter-buttons {width:100%}
  .gallery-status,.folder-heading>span:last-child {font-size:.8125rem}
  .folder-heading>span:last-child {flex-basis:100%}
  .mod-card h3 {font-size:1rem}
  .author-line,.creator-note,.art-credit,.member-title,.member-reason,.rank-member strong {font-size:.875rem}
  .card-actions .button,.card-photo-tabs .photo-tab,.photo-tab {font-size:.875rem}
  .gallery-note,.submission-note,.gallery-note p,.submission-note p {font-size:1rem}
  .ranking-content .section-heading h2 {font-size:1.125rem}
  .ranking-table th {font-size:.8125rem;padding:.5rem .25rem}
  .ranking-table td {padding:.75rem .25rem}
  .ranking-table th:first-child {width:15%}
  .ranking-table th:nth-child(2) {width:40%}
  .ranking-empty>strong,.ranking-empty p {font-size:.9375rem}
  .ranking-footer {font-size:.8125rem}
  .mod-dialog-body {padding:.5rem}
  .mod-dialog-meta {padding:.75rem .25rem}
  .mod-dialog-meta h2 {font-size:1.125rem}
  .mod-dialog-meta .button {width:100%}
  .preview-navigation {padding:.5rem .25rem}
  .preview-navigation .button {font-size:.875rem;padding:.625rem .75rem}
  .large-preview img {height:45vh;min-height:140px;object-fit:contain}
  .cookie-joke p {font-size:.9375rem}
  .cookie-joke h2 {font-size:1.125rem}
  .cookie-joke .title-bar {font-size:.8125rem}
  .cookie-actions .button {font-size:.875rem;min-height:2.75rem}
  .decal-ad {max-height:calc(100dvh - var(--taskbar-height) - 1.5rem)}
  body:has(.cookie-joke) .decal-ad {max-height:calc(100dvh - var(--taskbar-height) - 1.5rem)}
  .decal-ad-body>p {font-size:.875rem}
  .decal-ad .ad-actions .button {font-size:.875rem}
  .status-bar {font-size:.75rem}
  .status-bar>span:nth-child(2) {display:none}
  .page-footer {font-size:.875rem}
  .task-button {font-size:.8125rem;max-width:43vw;width:auto;flex:1}
  .task-spacer {display:none}
  .clock {font-size:.8125rem;padding:.5rem}
}
@media(pointer:coarse) {
  .window-control,.close-dialog {min-width:44px;width:44px;min-height:44px;height:44px}
  .button {min-height:44px}
}
@media(max-width:360px) {
  .welcome-body {display:block;text-align:center}
  .welcome-body .pixel-monitor {display:none}
  .welcome-body p {margin:.375rem 0}
  .window-controls {gap:.125rem}
  .task-button .ui-icon {display:none}
}
@media(prefers-reduced-motion:reduce) {html{scroll-behavior:auto}}

.turn-off-ads {display:block;margin:.5rem auto 0;padding:.375rem .625rem;min-height:32px;border:0;background:transparent;color:inherit;text-decoration:underline;font:.75rem/1.5 var(--font-ui)}
.turn-off-ads:hover {background:#ffffff55;box-shadow:var(--bevel)}
.youtube-promo-player {position:relative;min-height:200px;margin:.75rem 0;background:#111}
.youtube-latest {display:block;border:0;width:100%;height:200px;min-width:200px}
.youtube-embed-fallback {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;min-height:200px;color:#fff;padding:1rem;font-family:var(--font-ui);font-size:.875rem;line-height:1.5}

/* Art details use the viewport; gallery cards always use small, still previews. */
#art-dialog {width:min(1100px,calc(100vw - 1.5rem))}
#art-dialog>.title-bar {position:sticky;top:0;z-index:2}
#art-dialog .large-preview img {width:auto;height:auto;max-width:100%;max-height:72dvh;min-height:0;object-fit:contain}
.youtube-embed-fallback .brand-icon {width:48px;height:48px}
.youtube-promo-player:has(.youtube-latest) .youtube-embed-fallback {display:none}
.promo-twitch .promo-image {height:auto;aspect-ratio:16/9;image-rendering:pixelated}
@media(pointer:coarse){.turn-off-ads{min-height:44px;min-width:44px}}

/* Green feedback belongs only to a real hover; resting and touch states keep their colors. */
@media(hover:hover) {
  :is(button,[role=button],a.button,.menu-bar a,.top-social-link,.social-link,.stream-popout,.mod-promo,.youtube-embed-fallback):not(.easter-word):not(:disabled):not([aria-disabled=true]):hover {
    background:var(--button-hover-background);
    color:var(--button-hover-ink);
    box-shadow:var(--button-hover-shadow,var(--bevel)),0 0 0 2px var(--button-hover-background);
  }
  :is(button,[role=button],a.button,.menu-bar a,.top-social-link,.social-link,.stream-popout,.mod-promo,.youtube-embed-fallback):not(.easter-word):not(:disabled):not([aria-disabled=true]):hover:active {
    box-shadow:var(--button-pressed-shadow,var(--sunken)),0 0 0 2px var(--button-hover-background);
  }
  .mod-promo:hover .mod-promo-body {background:var(--button-hover-background)}
}

/* One font for ad and cookie windows, including their controls and title bars. */
:is(.cookie-joke,.decal-ad,.side-promo).small-window,
:is(.cookie-joke,.decal-ad,.side-promo).small-window * {font-family:'Comic Sans MS','Comic Sans',cursive}

/* A small invitation near the top, with a readable Minecraft-style splash. */
.terrarium-invite{display:flex;flex-direction:column;align-items:center;gap:.65rem;padding:1.1rem .5rem .35rem}
.terrarium-cta{--affirmative-scale-min:1;--affirmative-scale-max:1.025;--affirmative-duration:4s;max-width:100%;text-align:center;text-transform:none!important}
.terrarium-cta .ui-icon{width:28px;height:28px;image-rendering:pixelated}
.terrarium-claim{display:block;color:#ffea36;font:700 .8rem/1.6 "Courier New",monospace;letter-spacing:.03em;transform:rotate(-4deg);text-shadow:-1px -1px 0 #423812,1px -1px 0 #423812,-1px 1px 0 #423812,1px 1px 0 #423812,2px 2px 0 #423812}
@media(max-width:600px){.terrarium-invite{padding-top:.9rem}.terrarium-cta{font-size:.82rem;gap:.45rem;padding:.65rem}.terrarium-claim{font-size:.75rem}}
