/* Shared controls for switching visual skins. The selected skin owns the page styling. */
.page-shell { position: relative; }
.cloud-layer { display: none; }
.page-shell > .hero { z-index: 10 !important; }
.hero-status-group { position: relative; z-index: 8; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.skin-switcher { position: relative; z-index: 8; flex: 0 0 auto; }
.skin-switch-button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 2px solid currentColor; border-radius: 50%; color: inherit; background: rgba(255, 255, 255, .92); box-shadow: 0 3px 0 rgba(0, 0, 0, .2); }
.skin-shirt-icon { display: block; width: 17px; height: 17px; fill: currentColor; }
.skin-switch-button:hover, .skin-switch-button:focus-visible { background: #fff; transform: translateY(-1px); }
.skin-menu { position: fixed; top: 8px; right: 8px; z-index: 30; display: grid; min-width: 118px; padding: 5px; border: 2px solid currentColor; border-radius: 8px; background: rgba(255, 255, 255, .97); box-shadow: 0 5px 0 rgba(0, 0, 0, .2); }
.skin-menu[hidden] { display: none; }
.skin-menu button { padding: 7px 9px; border: 0; border-radius: 5px; color: inherit; background: transparent; text-align: left; font-size: 12px; font-weight: 700; }
.skin-menu button:hover, .skin-menu button:focus-visible, .skin-menu button.is-selected { background: rgba(120, 160, 120, .18); }
.skin-menu button.is-selected::before { content: '✓ '; }

/* Each skin places and dresses the control according to its own visual language. */
body.skin-default .skin-switch-button { width: 32px; height: 32px; border: 1px solid #b6cdb8; border-radius: 50%; color: var(--mint-deep); background: rgba(255, 253, 247, .9); box-shadow: 0 2px 0 rgba(44, 75, 59, .12); }
body.skin-default .skin-shirt-icon { width: 15px; height: 15px; }
body.skin-default .skin-switch-button:hover, body.skin-default .skin-switch-button:focus-visible { border-color: var(--mint-deep); background: var(--mint); }

body.skin-fresh-green .skin-switch-button { width: 34px; height: 34px; border: 3px solid var(--gd); border-radius: 50%; color: var(--gd); background: var(--soft); box-shadow: 0 3px 0 rgba(42, 122, 71, .28); }
body.skin-fresh-green .hero-status-group .hero-status { margin-top: 0; }
body.skin-fresh-green .hero-status-group { position: absolute; right: 28px; bottom: 36px; }
body.skin-fresh-green .skin-switch-button:hover, body.skin-fresh-green .skin-switch-button:focus-visible { background: #fff; box-shadow: 0 4px 0 rgba(42, 122, 71, .24); }

body.skin-sweet-pink .skin-switch-button { width: 42px; height: 34px; border: 3px solid #fff; border-radius: 17px; color: #fff; background: linear-gradient(135deg, #ff8fbb, #b69cf2); box-shadow: 0 5px 12px rgba(190, 70, 130, .28); }
body.skin-sweet-pink .skin-switch-button:hover, body.skin-sweet-pink .skin-switch-button:focus-visible { filter: brightness(1.06); box-shadow: 0 6px 15px rgba(190, 70, 130, .35); }

body.skin-stardew .skin-switch-button { width: 40px; height: 38px; border: 3px solid var(--wood-dark); border-radius: 0; color: var(--wood-dark); background: var(--parchment); box-shadow: inset 0 0 0 2px var(--parchment-deep), 3px 3px 0 rgba(40, 22, 8, .35); }
body.skin-stardew .skin-shirt-icon { width: 16px; height: 16px; }
body.skin-stardew .skin-switch-button:hover, body.skin-stardew .skin-switch-button:focus-visible { background: #fff6d6; transform: translateY(-1px); }

body.skin-stardew .cloud-layer { display: block; }

@media (max-width: 1500px) {
  body.skin-stardew .cloud-layer { display: none; }
}

@media (max-width: 980px) {
  body.skin-fresh-green .hero-status-group { position: relative; right: auto; bottom: auto; }
}

@media (max-width: 650px) {
  .hero-status-group { align-self: stretch; justify-content: flex-start; }
}
