:root {
  --ink: #0a0a0b;
  --charcoal: #141416;
  --elevated: #1b1b1e;
  --hair: rgba(255, 255, 255, 0.08);
  --hair-strong: rgba(255, 255, 255, 0.16);
  --fog: #f4f4f3;
  --mute: #86868c;
  --amber: #f6b73c;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-sans: Inter, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --nav-h: calc(84px + var(--safe-bottom));
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  touch-action: manipulation;
  -ms-touch-action: manipulation;
  overscroll-behavior: none;
}

body {
  background: var(--ink);
  color: var(--fog);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  margin: 0 auto;
  min-height: 100%;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  position: relative;
  padding-bottom: var(--nav-h);
}
body.auth-screen .app-shell {
  padding-bottom: 0;
  min-height: 100dvh;
  background: transparent;
}
body.auth-screen {
  background: var(--ink);
}

.page {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.page::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.public-share .app-shell {
  padding-bottom: 0;
}
.public-share .page {
  padding-top: max(0.75rem, env(safe-area-inset-top));
  padding-bottom: 2rem;
}
.public-share .diary-head {
  padding-top: 0.65rem;
}
.cal-month-view {
  display: block;
  padding: 0 0 1.5rem;
}
.cal-month-view__chrome {
  display: block;
  width: 100%;
  margin: 0 0 0.35rem;
}
.cal-month-view__title {
  margin: 0.85rem 0 0.65rem;
}
.cal-month-view__grid {
  display: block;
  width: 100%;
}
.cal-month-view .month-detail {
  padding-top: 0.25rem;
}
.giiggs-grad {
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
}
.giiggs-grad-text {
  background-image: linear-gradient(135deg, #ff5a97 0%, #ff9a4d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--hair);
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(16px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1;
  color: #fff;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
  box-shadow: 0 6px 20px -6px rgba(255, 90, 80, 0.7);
}
.logo__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.logo__wordmark {
  display: block;
  height: 1.55rem;
  width: auto;
  max-width: 9.5rem;
  object-fit: contain;
  object-position: left center;
}
.logo__email {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}
.logo__email--topbar {
  height: 2.35rem;
  width: auto;
  max-width: 7.5rem;
}
.logo__icon {
  display: block;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  flex-shrink: 0;
}

.topbar__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}
.topbar__back {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--hair);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.4rem;
  line-height: 1;
}
.topbar__spacer {
  flex: 1;
  min-width: 0;
}
.topbar__icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  flex-shrink: 0;
}
.topbar__icon--share {
  width: 2.75rem;
  height: 2.75rem;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.topbar__share-svg {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
}
.topbar__icon:active {
  background: rgba(255, 255, 255, 0.06);
}

.px {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.pt {
  padding-top: 1.25rem;
}
.pb {
  padding-bottom: 2rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
}
.h1 {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.muted {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  line-height: 1.45;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
}
.section-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.panel {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
  text-align: left;
  width: 100%;
  transition: border-color 0.15s, transform 0.15s;
}
.panel:active {
  transform: scale(0.985);
}
.panel--open {
  border-style: dashed;
  border-color: rgba(255, 106, 61, 0.45);
  background: rgba(255, 106, 61, 0.06);
}
.panel__day {
  min-width: 6.25rem;
  width: auto;
  flex-shrink: 0;
  padding-right: 0.25rem;
}
.panel__day strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}
.panel__day span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
}
.panel__body {
  flex: 1;
  min-width: 0;
}
.panel__body strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}
.panel__body span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}
.panel__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--elevated);
}
.panel__cta {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ff9a4d;
}

.card-promo {
  display: flex;
  gap: 1rem;
  margin: 1.75rem 1.25rem 0;
  padding: 1rem;
  border-radius: 1.5rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
}
.card-promo__art {
  width: 34%;
  flex-shrink: 0;
  aspect-ratio: 3 / 4;
  border-radius: 0.85rem;
  overflow: hidden;
  background: linear-gradient(160deg, #2a1518, #1b1b1e 55%, #241810);
  display: grid;
  place-items: end center;
  padding: 0.6rem;
}
.card-promo__art span {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.15;
}
.card-promo__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.card-promo__body h3 {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.15;
}
.card-promo__body p {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.5);
}

/* Musician home — Figma weekend / poster / requests */
.home-hero {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.home-hero__photo {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--elevated);
}
.home-hero__photo--placeholder {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
}
.home-hero__name {
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.1;
}
.home-hero__role {
  margin: 0.35rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ff9a4d;
}

.home-alert {
  padding: 0.85rem 0.9rem;
  border-radius: 1.15rem;
  border: 2px solid rgba(255, 122, 77, 0.9);
  background: linear-gradient(180deg, rgba(255, 90, 80, 0.16), rgba(255, 106, 61, 0.06));
  box-shadow: 0 0 0 0 rgba(255, 122, 77, 0.35);
  animation: home-alert-flash 1.7s ease-in-out infinite;
}
.home-alert__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.home-alert__head strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}
.home-alert__pulse {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: #ff6a3d;
  box-shadow: 0 0 0 0 rgba(255, 106, 61, 0.7);
  animation: home-alert-dot 1.7s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes home-alert-flash {
  0%, 100% {
    border-color: rgba(255, 90, 150, 0.55);
    box-shadow: 0 0 0 0 rgba(255, 90, 150, 0.2);
  }
  50% {
    border-color: rgba(255, 154, 77, 1);
    box-shadow: 0 0 0 5px rgba(255, 154, 77, 0.18);
  }
}
@keyframes home-alert-dot {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 106, 61, 0.65);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(255, 106, 61, 0);
  }
}
.home-req--alert,
.attention__row--alert {
  border-color: rgba(255, 154, 77, 0.35);
  background: rgba(10, 10, 12, 0.55);
}
@media (prefers-reduced-motion: reduce) {
  .home-alert,
  .home-alert__pulse {
    animation: none;
  }
}

.wk-panel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 4.85rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
  text-align: left;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}
.wk-panel--photo {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: #0a0a0b;
  background-image: var(--wk-photo);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-clip: padding-box;
  box-shadow: none;
}
.wk-panel--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(10, 10, 12, 0.94) 0%,
    rgba(10, 10, 12, 0.86) 40%,
    rgba(10, 10, 12, 0.4) 70%,
    rgba(10, 10, 12, 0.22) 100%
  );
}
.wk-panel--photo .wk-panel__day,
.wk-panel--photo .wk-panel__body,
.wk-panel--photo .wk-panel__cta {
  position: relative;
  z-index: 1;
}
.wk-panel:active {
  transform: scale(0.99);
}
.wk-panel--avail {
  border-color: rgba(255, 106, 61, 0.45);
  background: rgba(255, 106, 61, 0.08);
}
.wk-panel--empty {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
}
.wk-panel--off {
  opacity: 0.75;
}
.wk-panel__day {
  width: 4.6rem;
  flex-shrink: 0;
}
.wk-panel__day strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
}
.wk-panel__day span {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
}
.wk-panel__body {
  flex: 1;
  min-width: 0;
}
.wk-panel__body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wk-panel__body span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}
.wk-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
}
.wk-status i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: currentColor;
}
.wk-status--ok {
  color: #6ee7a8;
}
.wk-status--pending {
  color: #fbbf24;
}
.wk-panel__cta {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.15rem;
  font-weight: 700;
}
.wk-panel__plus {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.home-poster-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
  text-align: left;
  color: inherit;
}
.home-poster-cta:active {
  transform: scale(0.99);
}
.home-poster-cta__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  flex-shrink: 0;
  box-shadow: 0 8px 22px -8px rgba(255, 90, 80, 0.7);
}
.home-poster-cta__body {
  flex: 1;
  min-width: 0;
}
.home-poster-cta__body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}
.home-poster-cta__body span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}
.home-poster-cta__chev {
  font-size: 1.15rem;
  font-weight: 700;
}

.home-req {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
}
.home-req__thumb {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--elevated);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.home-req__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}
.home-req__body {
  min-width: 0;
  width: 100%;
}
.home-req__body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-req__body span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}
.home-req__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.65rem;
  border: 0;
  background-image: linear-gradient(135deg, #ff2f86, #ff6a3d, #ffa63d);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.home-cal {
  border-radius: 1.5rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
  overflow: hidden;
}
.home-cal__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  color: inherit;
  text-decoration: none;
}
.home-cal__main strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
}
.home-cal__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.home-cal__stats em {
  font-style: normal;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}
.home-cal__pending {
  color: #fcd34d !important;
}
.home-cal__stats i {
  font-style: normal;
  color: rgba(255, 255, 255, 0.2);
}
.home-cal__add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem;
  border-top: 1px solid var(--hair);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
}

.home-songbook {
  position: relative;
  display: block;
  padding: 1.25rem;
  border-radius: 1.5rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
  color: inherit;
  text-decoration: none;
}
.home-songbook__chev {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.home-songbook__label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ff9a4d;
}
.home-songbook strong {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.15;
  padding-right: 1.5rem;
}
.home-songbook__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}
.home-songbook__tags span {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Weekend poster sheet */
.m-poster-sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}
.m-poster-sheet__panel {
  width: 100%;
  max-width: 28rem;
  max-height: 94%;
  overflow: auto;
  padding: 0.85rem 1rem 1.35rem;
  border-radius: 1.5rem 1.5rem 0 0;
  border-top: 1px solid var(--hair);
  background: var(--charcoal);
  -webkit-overflow-scrolling: touch;
}
.m-poster-sheet__handle {
  width: 2.5rem;
  height: 0.25rem;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}
.m-poster-sheet__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ff9a4d;
}
.m-poster-sheet h2 {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
}
.m-poster-sheet__formats {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.m-poster-sheet__formats button {
  flex: 1;
  padding: 0.65rem 0.35rem;
  border-radius: 0.85rem;
  border: 1px solid var(--hair);
  background: var(--elevated);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}
.m-poster-sheet__formats button.is-on {
  border-color: transparent;
  color: #fff;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
}
.m-poster-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
}
.m-poster-tools__group {
  display: inline-flex;
  gap: 0.3rem;
}
.m-poster-tools__group button {
  min-width: 2.6rem;
  height: 2rem;
  padding: 0 0.7rem;
  border-radius: 0.65rem;
  border: 1px solid var(--hair);
  background: var(--elevated);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
}
.m-poster-tools__group button.is-on {
  border-color: transparent;
  color: #fff;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
}
.m-poster-tools__group button:disabled {
  opacity: 0.35;
}
.m-poster-bg {
  margin-top: 0.7rem;
}
.m-poster-bg__label {
  margin: 0 0 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.m-poster-bg__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.m-poster-bg__swatch {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0;
}
.m-poster-bg__swatch.is-on {
  box-shadow: 0 0 0 2px #ff6a3d;
}
.m-poster-bg__photo,
.m-poster-bg__reset {
  height: 1.85rem;
  padding: 0 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid var(--hair);
  background: var(--elevated);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 600;
}
.m-poster-preview-wrap {
  display: grid;
  place-items: center;
  margin-top: 0.85rem;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
}
.m-poster-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0.85rem;
  border: 0;
  background: #0a0a0b;
  color: #fff;
  --m-poster-fs: 1;
}
.m-poster-card--solid {
  background: var(--m-poster-bg, #0a0a0b);
}
.m-poster-card--photo {
  background-color: #0a0a0b;
  background-image: var(--m-poster-bg-image);
  background-size: cover;
  background-position: center;
}
.m-poster-card__shade {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.4), rgba(8, 8, 10, 0.78));
  pointer-events: none;
}
.m-poster-card--photo .m-poster-card__shade {
  display: block;
}
.m-poster-card--photo .m-poster-card__glow,
.m-poster-card--solid .m-poster-card__glow {
  opacity: 0.16;
}
.m-poster-card--story {
  width: 72%;
  aspect-ratio: 9 / 16;
}
.m-poster-card__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(36px);
  opacity: 0.22;
  pointer-events: none;
  background-image: linear-gradient(135deg, #ff2f86, #ffa63d);
}
.m-poster-card__glow--a {
  width: 9rem;
  height: 9rem;
  top: -3.5rem;
  right: -3rem;
}
.m-poster-card__glow--b {
  width: 7rem;
  height: 7rem;
  bottom: -3.5rem;
  left: -2.5rem;
  opacity: 0.14;
}
.m-poster-card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.85rem 0.9rem 0.75rem;
  box-sizing: border-box;
}
.m-poster-card--story .m-poster-card__inner {
  padding: 1.1rem 0.95rem 1rem;
}
.m-poster-card__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.m-poster-card__brand-icon {
  display: block;
  width: calc(1.2rem * var(--m-poster-fs));
  height: calc(1.2rem * var(--m-poster-fs));
  object-fit: contain;
  flex-shrink: 0;
}
.m-poster-card__brand-word,
.m-poster-card__brand img:not(.m-poster-card__brand-icon) {
  display: block;
  height: calc(1.1rem * var(--m-poster-fs));
  width: auto;
  max-width: calc(6.5rem * var(--m-poster-fs));
  object-fit: contain;
}
.m-poster-card__brand span {
  font-family: var(--font-display);
  font-size: calc(0.85rem * var(--m-poster-fs));
  font-weight: 800;
  letter-spacing: 0.04em;
}
.m-poster-card__who {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0;
}
.m-poster-card__who-text {
  min-width: 0;
  flex: 1;
}
.m-poster-card--right .m-poster-card__who {
  flex-direction: row-reverse;
}
.m-poster-card--right .m-poster-card__who-text {
  text-align: right;
}
.m-poster-card__who img,
.m-poster-card__who .m-poster-card__avatar {
  width: calc(2.7rem * var(--m-poster-fs));
  height: calc(2.7rem * var(--m-poster-fs));
  border-radius: 0.7rem;
  object-fit: cover;
  flex-shrink: 0;
  background: #1a1a1e;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
.m-poster-card__avatar {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: calc(1.15rem * var(--m-poster-fs));
  color: rgba(255, 255, 255, 0.85);
}
.m-poster-card__who strong {
  display: block;
  font-family: var(--font-display);
  font-size: calc(1.22rem * var(--m-poster-fs));
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.m-poster-card__who em {
  display: block;
  margin-top: 0.2rem;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: calc(0.62rem * var(--m-poster-fs));
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff9a4d;
}
.m-poster-card__nights {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  flex: 1;
  margin-top: 0.65rem;
  min-height: 0;
  overflow: hidden;
}
.m-poster-card__night {
  border-left: 2px solid #ff6a3d;
  padding: 0 0 0 0.7rem;
}
.m-poster-card--right .m-poster-card__night {
  border-left: 0;
  border-right: 2px solid #ff6a3d;
  padding: 0 0.7rem 0 0;
  text-align: right;
}
.m-poster-card__night .day {
  font-family: var(--font-mono);
  font-size: calc(0.72rem * var(--m-poster-fs));
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.25;
}
.m-poster-card__night .day .time {
  margin-left: 0.4rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
}
.m-poster-card__night .venue {
  font-family: var(--font-display);
  font-size: calc(1.26rem * var(--m-poster-fs));
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  overflow-wrap: anywhere;
  margin-top: 0.12rem;
}
.m-poster-card__empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 0.8rem;
  border-radius: 0.85rem;
  border: 1px dashed rgba(255, 154, 77, 0.45);
  background: rgba(255, 106, 61, 0.08);
}
.m-poster-card--right .m-poster-card__empty {
  text-align: right;
}
.m-poster-card__empty strong {
  font-family: var(--font-display);
  font-size: calc(1rem * var(--m-poster-fs));
  font-weight: 800;
  color: #ff9a4d;
}
.m-poster-card__empty span {
  font-family: var(--font-mono);
  font-size: calc(0.65rem * var(--m-poster-fs));
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}
.m-poster-card__foot {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
}
.m-poster-card__foot-cta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: calc(0.58rem * var(--m-poster-fs));
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  border-radius: 0.85rem;
  padding: 0.7rem 1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 0.12s;
}
.btn:active {
  transform: scale(0.98);
}
.btn-grad {
  color: #fff;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
  box-shadow: 0 10px 28px -8px rgba(255, 90, 80, 0.55);
}
.btn-ghost {
  border: 1px solid var(--hair-strong);
  background: var(--elevated);
  color: #fff;
}
.btn-sm {
  margin-top: 0.75rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.8rem;
}

.attention {
  margin-top: 2rem;
}
.attention__row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
}
.attention__dot {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.35rem;
  border-radius: 999px;
  flex-shrink: 0;
  background: var(--amber);
}
.attention__dot--cancel {
  background: #ff5a4d;
}
.attention__row strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}
.attention__row span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.musician-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  text-align: left;
  padding: 0.85rem;
  border-radius: 1.1rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
}
.musician-card img,
.musician-card__fallback {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}
.musician-card__fallback {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
}
.musician-card__meta {
  flex: 1;
  min-width: 0;
}
.musician-card__meta strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}
.musician-card__meta span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}
.musician-card__match {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #ff9a4d;
  text-align: right;
}

.list-block {
  margin-top: 1.5rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
}
.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--hair);
}
.list-row:last-child {
  border-bottom: 0;
}
.list-row span {
  font-size: 0.875rem;
}
.list-row em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 28rem;
  z-index: 30;
  border-top: 1px solid var(--hair);
  background: rgba(10, 10, 11, 0.95);
  backdrop-filter: blur(18px);
  padding-bottom: var(--safe-bottom);
}
.bottom-nav__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.55rem 0.5rem 0.7rem;
}
.bottom-nav__item,
.bottom-nav__fab-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.2rem 0;
}
.bottom-nav__item.is-active,
.bottom-nav__fab-wrap.is-active {
  color: #fff;
}
.bottom-nav__item > svg {
  width: 1.7rem;
  height: 1.7rem;
}
.bottom-nav__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.bottom-nav__dot {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 999px;
  background: transparent;
}
.bottom-nav__item.is-active .bottom-nav__dot {
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
}
.bottom-nav__fab {
  display: grid;
  place-items: center;
  width: 3.85rem;
  height: 3.85rem;
  margin-top: -1.35rem;
  border-radius: 1.1rem;
  color: #fff;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
  box-shadow: 0 10px 28px -6px rgba(255, 90, 80, 0.7);
}
.bottom-nav__fab svg {
  width: 1.85rem;
  height: 1.85rem;
}
.bottom-nav__fab-wrap .bottom-nav__label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}
.bottom-nav__fab-wrap.is-active .bottom-nav__label {
  color: #fff;
}

/* Calendar — year overview (3 months across) */
.cal-year {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  padding: 0.25rem 0.7rem 1.5rem;
}
.mini-month {
  border: 0;
  border-radius: 0.55rem;
  background: #161618;
  padding: 0.35rem 0.28rem 0.4rem;
  text-align: left;
  width: 100%;
  color: inherit;
}
.mini-month__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.15rem;
  margin: 0 0 0.15rem;
  padding: 0 0.1rem;
}
.mini-month__name {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}
.mini-month__chev {
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  color: #ff4d6a;
  transform: translateY(-1px);
}
.mini-month__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px 0;
}
.mini-month__wd {
  font-family: var(--font-mono);
  font-size: 0.34rem;
  color: rgba(255, 255, 255, 0.28);
  text-align: center;
  padding-bottom: 1px;
  line-height: 1;
}
.mini-month .day-cell {
  aspect-ratio: 1;
  width: 100%;
  max-height: none;
  border-radius: 999px;
  font-size: 0.38rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
}
.mini-month .day-cell--confirmed {
  color: #fff;
  font-weight: 700;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 60%, #ff8a3d 100%);
  box-shadow: 0 0 8px 1px rgba(255, 70, 90, 0.55);
}
.mini-month .day-cell--pending {
  color: #fbbf24;
  background: transparent;
  box-shadow: inset 0 0 0 1.25px #fbbf24;
}
.mini-month .day-cell--wanted {
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.mini-month .day-cell--available {
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.mini-month .day-cell--unavailable {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  background: #2a2a2e;
  box-shadow: none;
}
.mini-month .day-cell--booked {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}
.day-cell {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.28);
  border: 0;
  background: transparent;
  padding: 0;
}
.day-cell--today {
  border: 2px solid #22c55e;
  box-sizing: border-box;
}
.mini-month .day-cell--today {
  border-width: 1.5px;
}
.month-detail .day-cell--today {
  border-width: 2px;
}
.day-cell--confirmed {
  color: #fff;
  font-weight: 600;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
  box-shadow: 0 2px 10px -2px rgba(255, 90, 80, 0.55);
}
.day-cell--pending {
  color: #fcd34d;
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.6);
  background: rgba(251, 191, 36, 0.05);
}
.day-cell--wanted {
  color: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.day-cell--selectable {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 106, 61, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 61, 0.5);
}
.day-cell--selected {
  color: #fff;
  font-weight: 600;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
}
.day-cell--req-pick,
.day-cell--highlight {
  animation: reqPickPulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 0 14px 2px rgba(255, 106, 61, 0.65);
  z-index: 1;
}
.day-cell--req-off {
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
  opacity: 0.72;
}
@keyframes reqPickPulse {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.08);
    filter: brightness(1.12);
  }
}
.req-cal-preview {
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.req-cal-preview__head {
  margin-bottom: 0.4rem;
}
.req-cal-preview__hint {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  line-height: 1.3;
}
.req-cal-preview__months {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}
.req-cal-preview__month {
  pointer-events: auto;
}
.req-cal-preview__month .day-cell {
  cursor: default;
}
.req-cal-preview__month button.day-cell {
  cursor: pointer;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}
.req-cal-preview__month .day-cell--selected,
.req-cal-preview__month .day-cell--req-pick {
  font-weight: 700;
}
.req-cal-preview__open {
  margin-top: 0.55rem;
  width: auto;
  display: inline-flex;
}
.cal-highlight-banner {
  margin: 0.75rem 0.7rem 0;
  padding: 0.65rem 0.8rem;
  border-radius: 0.65rem;
  background: rgba(255, 106, 61, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 61, 0.35);
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}
.cal-highlight-banner strong {
  color: #fff;
}
.day-cell--booked {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
}
.day-cell--unavailable {
  color: rgba(255, 255, 255, 0.14);
  text-decoration: line-through;
}
.day-cell--available {
  color: #37c98f;
  box-shadow: inset 0 0 0 1px rgba(55, 201, 143, 0.5);
  background: rgba(55, 201, 143, 0.08);
}

.cal-toolbar {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}
.cal-toolbar__hint {
  min-height: 1.1rem;
  margin-top: 0.45rem;
  font-size: 0.78rem;
}
.cal-pick {
  position: sticky;
  bottom: 4.5rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 1.25rem 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 1rem;
  border: 1px solid var(--hair);
  background: rgba(20, 20, 22, 0.92);
  backdrop-filter: blur(12px);
}
.cal-pick[hidden] {
  display: none !important;
}
.cal-pick span {
  font-size: 0.85rem;
  font-weight: 600;
}

.month-detail {
  padding: 0.5rem 1.25rem 2rem;
}
.month-detail__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}
.month-detail .day-cell {
  border-radius: 10px;
  font-size: 0.95rem;
}
.month-detail__wd {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
  padding-bottom: 0.35rem;
}

.diary-head {
  padding: 0.35rem 0.85rem 0.55rem;
}
.diary-head__eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.diary-head__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 0.35rem;
}
.diary-head__year {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.diary-schedule {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #161618;
  color: inherit;
  text-align: left;
  max-width: 9.5rem;
}
.diary-schedule__label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.1;
}
.diary-schedule__value {
  font-size: 0.68rem;
  font-weight: 700;
  color: #ff6a4d;
  line-height: 1.15;
}
.diary-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
}
.diary-stats__booked { color: #ff5a5f; }
.diary-stats__pending { color: #f5c542; }
.diary-stats__open { color: rgba(255, 255, 255, 0.45); }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  padding: 0.15rem 0.85rem 0.65rem;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.45);
}
.legend i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 3px;
  display: inline-block;
  box-sizing: border-box;
}
.legend i.confirmed {
  border-radius: 999px;
  background-image: linear-gradient(135deg, #ff2f86, #ffa63d);
  box-shadow: 0 0 6px rgba(255, 70, 90, 0.5);
}
.legend i.pending {
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px #fbbf24;
}
.legend i.wanted {
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1.25px rgba(255, 255, 255, 0.28);
}
.legend i.available {
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1.25px rgba(255, 255, 255, 0.4);
}
.legend i.blocked {
  border-radius: 999px;
  background: #3a3a40;
}
.legend i.sq-confirmed {
  border-radius: 3px;
  background-image: linear-gradient(135deg, #ff2f86, #ff6a3d);
}
.legend i.sq-pending {
  border-radius: 3px;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px #fbbf24;
}
.legend i.sq-wanted {
  border-radius: 3px;
  background: transparent;
  box-shadow: inset 0 0 0 1.25px rgba(255, 255, 255, 0.28);
}
.legend i.sq-plain {
  border-radius: 999px;
  background: #2a2a2e;
}

/* Landing / Auth */
.landing {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.25rem calc(2rem + var(--safe-bottom));
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(255, 47, 134, 0.28), transparent 55%),
    radial-gradient(90% 60% at 10% 20%, rgba(255, 166, 61, 0.16), transparent 50%),
    var(--ink);
}
.landing h1 {
  margin: 1rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.landing p {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 18rem;
}

.auth {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100dvh;
  padding: 2rem 1.25rem calc(1.75rem + var(--safe-bottom));
  overflow: hidden;
  background: var(--ink);
}
.auth__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.auth__glow--a {
  width: 18rem;
  height: 18rem;
  top: -4rem;
  right: -5rem;
  background: rgba(255, 47, 134, 0.35);
  animation: authPulse 7s ease-in-out infinite;
}
.auth__glow--b {
  width: 16rem;
  height: 16rem;
  bottom: 10%;
  left: -6rem;
  background: rgba(255, 166, 61, 0.22);
  animation: authPulse 8.5s ease-in-out infinite reverse;
}
@keyframes authPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}
.auth__brand,
.auth__card,
.auth__foot {
  position: relative;
  z-index: 1;
}
.logo--auth {
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}
.logo--auth .logo__icon {
  width: 4.25rem;
  height: 4.25rem;
  filter: drop-shadow(0 12px 28px rgba(255, 90, 80, 0.45));
}
.logo--auth .logo__wordmark {
  height: 2.35rem;
  max-width: 14rem;
}
.logo--auth .logo__mark {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  font-size: 1.45rem;
  box-shadow: 0 12px 32px -8px rgba(255, 90, 80, 0.75);
}
.logo--auth .logo__text {
  font-size: 1.65rem;
  letter-spacing: -0.03em;
}
.auth__brand {
  text-align: center;
  margin-bottom: 1.75rem;
}
.auth__tagline {
  margin: 0.9rem auto 0;
  max-width: 17rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.45;
}
.auth__card {
  border-radius: 1.6rem;
  border: 1px solid var(--hair-strong);
  background: rgba(27, 27, 30, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 1.35rem 1.2rem 1.25rem;
  box-shadow:
    0 24px 60px -28px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.auth__card-head {
  margin-bottom: 1.15rem;
}
.auth__card-head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.auth__card-head p {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: none;
}
.auth__form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.auth__field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.auth__input {
  width: 100%;
  border-radius: 0.95rem;
  border: 1px solid var(--hair);
  background: rgba(10, 10, 11, 0.72);
  color: #fff;
  padding: 0.95rem 1rem;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.auth__input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}
.auth__input:focus {
  border-color: rgba(255, 106, 61, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 106, 61, 0.18);
}
.auth__password {
  position: relative;
}
.auth__password .auth__input {
  padding-right: 4.25rem;
}
.auth__eye {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  height: 2.2rem;
  padding: 0 0.75rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 600;
}
.auth__submit {
  margin-top: 0.35rem;
  min-height: 3.15rem;
  font-size: 1rem;
  border-radius: 1rem;
}
.auth__submit:disabled {
  opacity: 0.7;
}
.auth__error {
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(255, 90, 80, 0.12);
  border: 1px solid rgba(255, 90, 80, 0.35);
  color: #ff8fa3;
  font-size: 0.85rem;
  font-weight: 600;
}
.auth__google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin: 0 0 0.15rem;
  padding: 0.72rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #fff;
  color: #1f1f1f;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.auth__google:hover {
  background: #f4f4f5;
  color: #111;
}
.auth__google-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.auth__or {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.95rem 0 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.auth__or::before,
.auth__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.auth__foot {
  margin: 1.35rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}
.auth__foot a {
  color: #ff9a4d;
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .auth__glow--a,
  .auth__glow--b,
  .animate-rise {
    animation: none !important;
  }
}

.song-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--hair);
}
.song-row:last-child {
  border-bottom: 0;
}
.song-row strong {
  display: block;
  font-size: 0.9rem;
}
.song-row span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.toast {
  position: fixed;
  left: 50%;
  top: 1rem;
  transform: translateX(-50%);
  z-index: 50;
  width: min(92%, 28rem);
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
  box-shadow: 0 10px 40px -10px rgba(255, 90, 80, 0.8);
  animation: toast-rise 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes toast-rise {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-rise {
  animation: rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes sheet-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hidden {
  display: none !important;
}

.field {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
  color: #fff;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  outline: none;
}
.field:focus {
  border-color: rgba(255, 255, 255, 0.25);
}
.field--area {
  resize: none;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 1.1rem;
}
.field--lyrics {
  font-family: var(--font-mono), ui-monospace, monospace;
  font-size: 0.8rem;
  line-height: 1.45;
  white-space: pre;
  overflow-x: auto;
  tab-size: 4;
}
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.songbook-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.songbook-hero {
  margin-bottom: 1.1rem;
}
.songbook-hero__title {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.songbook-hero__lead {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.45);
  max-width: 22rem;
}
.songbook-search {
  margin-top: 0.25rem;
}
.songbook-search__input {
  border-radius: 1rem;
  background: var(--elevated);
}
.songbook-block {
  margin-top: 1.5rem;
}

/* -------- Stage (musician songbook shell) -------- */
html.stage-mode,
body.stage-mode {
  overflow-x: hidden;
  max-width: 100%;
}
body.stage-mode .app-shell {
  padding-bottom: 0;
  overflow-x: hidden;
  max-width: min(28rem, 100%);
  width: 100%;
}
.stage {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding: 0 !important;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
}
.stage-head {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: calc(0.85rem + var(--safe-top, 0px)) 1rem 0.85rem;
  border-bottom: 1px solid var(--hair);
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(18px);
}
.stage-exit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 42%;
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
}
.stage-exit:active {
  color: #fff;
}
.stage-head__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}
.stage-head__spacer {
  width: 4.5rem;
  max-width: 42%;
  flex-shrink: 1;
  min-width: 0;
}
.stage-body {
  flex: 1;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1.35rem 1.25rem calc(6.5rem + var(--safe-bottom, 0px));
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}
.stage-panel {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.stage-panel.hidden {
  display: none !important;
}
.stage-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.stage-lead {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.stage-block {
  margin-top: 1.35rem;
  min-width: 0;
}
.stage-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}
.stage-search .field {
  width: 100%;
  max-width: 100%;
  border-radius: 1rem;
  background: var(--charcoal);
  box-sizing: border-box;
}
.stage-action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
  color: inherit;
  text-align: left;
  box-sizing: border-box;
  min-width: 0;
}
.stage-action__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--elevated);
  flex-shrink: 0;
}
.stage-action__icon--grad {
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
}
.stage-action__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.stage-action__body strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}
.stage-action__body span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stage .song-list,
.stage .song-row,
.stage .stack,
.stage .panel {
  max-width: 100%;
  min-width: 0;
}
.stage-action__badge {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
}
.stage-action__badge.is-live {
  background: rgba(61, 220, 132, 0.15);
  color: #3ddc84;
}
.stage-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1rem;
}
.stage-stat {
  border-radius: 1rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
  padding: 1rem;
}
.stage-stat strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}
.stage-req-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
}
.stage-req-row .req-tip-msgs {
  flex: 1 1 100%;
  order: 3;
}
.stage-req-row__text {
  flex: 1;
  min-width: 0;
}
.stage-req-row__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stage-req-row__text span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stage-req-row__meta {
  text-align: right;
  flex-shrink: 0;
}
.stage-req-row__meta strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}
.stage-req-row__meta span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}
.stage-empty {
  margin: 0;
  padding: 1.5rem 1rem;
  text-align: center;
  border-radius: 1rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}
.stage-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  width: 100%;
  max-width: 100vw;
  border-top: 1px solid var(--hair);
  background: rgba(10, 10, 11, 0.95);
  backdrop-filter: blur(18px);
  padding-bottom: var(--safe-bottom, 0px);
  overflow-x: hidden;
  box-sizing: border-box;
}
.stage-nav__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  width: 100%;
  max-width: min(28rem, 100%);
  margin: 0 auto;
  padding: 0.65rem 0.35rem 0.85rem;
  box-sizing: border-box;
  gap: 0;
}
.stage-nav__item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.15rem 0.15rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font: inherit;
}
.stage-nav__item.is-active {
  color: #fff;
}
.stage-nav__item span {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stage-nav__item i {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 999px;
  background: transparent;
  flex-shrink: 0;
}
.stage-nav__item.is-active i {
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
}
.stage-nav__icon-wrap {
  position: relative;
  display: grid;
  place-items: center;
}
.stage-nav__badge {
  position: absolute;
  top: -0.45rem;
  right: -0.65rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  color: #fff;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
}
.stage-add-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.15rem;
}
.stage-add-opt {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--elevated);
  color: inherit;
  text-align: left;
}
.stage-add-opt strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}
.stage-add-opt em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.5);
}
.song-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.55rem;
}
.offline-note {
  margin: 0.55rem 0 0;
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
}

.req-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 47, 134, 0.08), rgba(255, 166, 61, 0.04)),
    var(--charcoal);
  text-align: left;
}
.req-card__icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  color: #fff;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
  flex-shrink: 0;
}
.req-card__body {
  flex: 1;
  min-width: 0;
}
.req-card__body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}
.req-card__body span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}
.req-card__badge {
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
}
.req-card__badge.is-live {
  background: rgba(61, 220, 132, 0.15);
  color: #3ddc84;
}

.song-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 0.75rem;
  background: var(--charcoal);
  border: 1px solid var(--hair);
  padding: 0.65rem 0.65rem 0.65rem 0.75rem;
  transition: border-color 0.15s, background 0.15s;
  max-width: 100%;
  min-width: 0;
}
.song-row:active,
.song-row:focus-within {
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--elevated);
}
.song-row__main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
  text-align: left;
  padding: 0;
  color: inherit;
}
.song-row__text {
  min-width: 0;
  flex: 1;
  text-align: left;
}
.song-row__title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.song-row__title strong {
  display: block;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}
.song-row__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
  min-width: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
}
.song-row__artist {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.85);
}
.song-row__capo {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
}
.song-row__fav {
  flex-shrink: 0;
  font-style: normal;
  font-size: 0.8rem;
  line-height: 1;
  background: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.song-row__pdf {
  flex-shrink: 0;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.15rem 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ff9a4d;
}
.song-row__key {
  display: none;
}
.song-row__key--empty {
  display: none;
}
.song-row__actions {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}
.song-row__icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  border: 1px solid var(--hair);
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}
.song-row__icon:active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.song-row__icon--danger {
  color: rgba(255, 138, 154, 0.75);
}
.song-row__icon--danger:active {
  color: #ff8a9a;
}
.setlist-item__main .song-row__key {
  width: 1.9rem;
  height: 1.9rem;
  font-size: 0.68rem;
}
.panel.setlist-row {
  border-radius: 1rem;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.sheet-host {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: none;
}
.sheet-host--full {
  align-items: stretch;
  background: #050506;
}
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}
.sheet {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 28rem;
  max-height: min(92dvh, 100%);
  margin: 0;
  border-radius: 1.5rem 1.5rem 0 0;
  border-top: 1px solid var(--hair);
  background: var(--charcoal);
  padding: 0;
  overflow: hidden;
  transform: none;
  animation: sheet-up 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.sheet__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 1.15rem 1.15rem 0.5rem;
}
.sheet__actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 1.15rem 1rem;
  border-top: 1px solid var(--hair);
  background: var(--charcoal);
}
.sheet__handle {
  width: 2.5rem;
  height: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 auto 1rem;
}
.sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.sheet__head .sheet__title {
  margin-top: 0.2rem;
}
.sheet__close {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  border: 1px solid var(--hair);
  background: var(--elevated, rgba(255, 255, 255, 0.06));
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
}
.sheet__title {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
}

.sheet--event {
  max-height: min(70dvh, 28rem);
}
.event-sheet__confirm {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}
.sheet--tall {
  height: min(94dvh, 100%);
  max-height: min(94dvh, 100%);
}
.sheet--tall .sheet__handle {
  margin-bottom: 0.45rem;
}
.sheet--tall .sheet__scroll {
  padding-top: 0.85rem;
}
.sheet--tall .auth__field {
  margin-top: 0.55rem;
}
.sheet--tall .auth__input,
.sheet--tall .field--area {
  padding: 0.7rem 0.85rem;
}
.sheet--tall .sheet__title {
  font-size: 1.25rem;
}

/* Guest booking request — all fields visible, no inner scroll */
.sheet--fit {
  height: auto;
  max-height: min(100dvh - env(safe-area-inset-top, 0px), 100%);
}
.sheet--fit .sheet__scroll {
  flex: 0 1 auto;
  overflow: visible;
  padding: 0.65rem 1rem 0.25rem;
}
.sheet--fit .sheet__handle {
  margin: 0.35rem auto 0.55rem;
}
.sheet--fit .sheet__title {
  margin: 0.15rem 0 0;
  font-size: 1.15rem;
  line-height: 1.2;
}
.sheet--fit .sheet__actions {
  padding: 0.45rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
}
.req-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.55rem;
}
.req-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.req-form .auth__field {
  margin: 0;
  display: block;
}
.req-form .auth__field > .eyebrow {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.62rem;
}
.req-form .auth__input,
.req-form .field--area {
  padding: 0.55rem 0.7rem;
  font-size: 0.88rem;
  border-radius: 0.7rem;
  line-height: 1.25;
}
.req-form .field--area {
  min-height: 0;
  resize: none;
}
.req-form__note {
  margin: 0.15rem 0 0;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
}
@media (max-height: 700px) {
  .sheet--fit .sheet__scroll {
    padding-top: 0.45rem;
  }
  .req-form {
    gap: 0.3rem;
    margin-top: 0.4rem;
  }
  .req-form .auth__input,
  .req-form .field--area {
    padding: 0.45rem 0.6rem;
    font-size: 0.82rem;
  }
  .sheet--fit .sheet__title {
    font-size: 1.05rem;
  }
}
.event-sheet {
  padding-bottom: 1.35rem;
}
.event-sheet__date {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.event-sheet__title {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.event-sheet__badge {
  display: inline-flex;
  align-items: center;
  margin-top: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
}
.event-sheet__badge--pending {
  background-image: linear-gradient(135deg, #f0a020 0%, #ff8a3d 100%);
}
.event-sheet__meta {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Cancel gig → find cover (musician) */
.cover-flow {
  padding: 0 1.15rem 1.5rem;
}
.cover-flow__eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 154, 77, 0.85);
}
.cover-flow__eyebrow--danger {
  color: rgba(252, 165, 165, 0.85);
}
.cover-flow__title {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.cover-flow__sub {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}
.cover-flow__copy,
.cover-flow__hint {
  margin: 1rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}
.cover-flow__promo {
  margin-top: 1.15rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 106, 61, 0.3);
  background: rgba(255, 106, 61, 0.06);
}
.cover-flow__promo-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
}
.cover-flow__promo-copy {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}
.cover-flow__promo .btn {
  margin-top: 0.85rem;
  width: 100%;
}
.cover-flow__btn-danger {
  margin-top: 1.1rem;
  width: 100%;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
  color: #fca5a5;
  font-family: var(--font-display);
  font-weight: 700;
}
.cover-flow__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}
.cover-flow__empty {
  margin: 1rem 0 0;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
.cover-pick {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 12, 14, 0.6);
  color: inherit;
  text-align: left;
}
.cover-pick.is-on {
  border-color: rgba(255, 106, 61, 0.55);
  background: rgba(255, 106, 61, 0.08);
}
.cover-pick__body {
  flex: 1;
  min-width: 0;
}
.cover-pick__name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cover-pick__meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
}
.cover-flow__avail {
  font-weight: 600;
  color: #6ee7b7;
}
.cover-flow__avail--unk {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}
.cover-pick__check {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: transparent;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.cover-pick.is-on .cover-pick__check {
  border-color: transparent;
  color: #fff;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
}
.cover-avatar {
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}
.cover-avatar--fallback {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}
.cover-flow__msg {
  margin-top: 1.1rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0a0b;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
}
.cover-flow__msg-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.7rem 0;
}
.cover-msg-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.55rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.cover-msg-row__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.cover-flow__fine {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}
.cover-flow__warn {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: #fbbf24;
}
.cover-flow__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.1rem;
}
.cover-flow__actions .btn,
.cover-flow [data-cover-to-send],
.cover-flow [data-cover-skip],
.cover-flow [data-cover-back],
.cover-flow [data-cover-send-email],
.cover-flow [data-cover-send-share],
.cover-flow [data-close-sheet] {
  width: 100%;
}
.edit-event__rename {
  font-size: 0.8rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.55);
}

.list-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
}
.list-check.is-on {
  border-color: transparent;
  background: var(--elevated);
}
.list-check strong {
  display: block;
  font-size: 0.9rem;
}
.list-check span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}
.list-check__mark {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  border: 1px solid var(--hair);
  color: rgba(255, 255, 255, 0.3);
}
.list-check.is-on .list-check__mark {
  border: 0;
  color: #fff;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
}

.setlist-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--hair);
  border-radius: 0.85rem;
  background: var(--charcoal);
  padding: 0.35rem;
}
.setlist-item__order {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  width: 2rem;
  flex-shrink: 0;
}
.setlist-item__order button {
  width: 1.5rem;
  height: 1.15rem;
  border-radius: 0.35rem;
  background: var(--elevated);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
}
.setlist-item__order span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
}
.setlist-item__main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
  text-align: left;
  padding: 0.45rem 0.35rem;
}
.setlist-item__main strong {
  display: block;
  font-size: 0.875rem;
  color: #fff;
}
.setlist-item__main span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.chip-row.tight button {
  background: none;
  border: 0;
  color: #ff9a4d;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.25rem;
}
.chip {
  border-radius: 0.75rem;
  padding: 0.5rem 0.85rem;
  background: var(--elevated);
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
}
.chip.is-on {
  color: #fff;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
}
.toggle {
  position: relative;
  width: 2.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: #fff;
  transition: left 0.15s;
}
.toggle.is-on {
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
}
.toggle.is-on::after {
  left: 1.15rem;
}

.import-drop {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}
.import-drop strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.import-drop span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-height: 700px) {
  .sheet {
    max-height: min(96dvh, 100%);
  }
  .sheet__title {
    font-size: 1.2rem;
  }
  .field--area {
    min-height: 6.5rem;
  }
}

.qr-screen {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 1rem 1.5rem calc(2rem + var(--safe-bottom));
  overflow-y: auto;
}
.qr-screen__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.qr-card {
  border-radius: 1.5rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.qr-img {
  margin: 1.25rem auto 0;
  max-width: 17rem;
  aspect-ratio: 1;
  border-radius: 1rem;
  background: #fff;
  padding: 0.75rem;
}
.qr-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.customer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 1rem 1.25rem calc(2rem + var(--safe-bottom));
  overflow-y: auto;
  background: var(--ink);
  min-height: 100%;
}
.customer--public {
  padding-top: 0.25rem;
}
.customer__bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: var(--charcoal);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}
.customer__live {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #3ddc84;
  flex-shrink: 0;
}
.customer__url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.customer__bar button {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  border: 0;
  background: transparent;
}
.customer__hero {
  text-align: center;
}
.customer__name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.05;
}
.customer__sub {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}
.customer__h2 {
  margin: 1.5rem 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
}
.customer__search {
  margin-top: 0.75rem;
  border-radius: 1rem;
  background: var(--charcoal);
}
.customer__sec {
  margin: 1.5rem 0 0.55rem;
}
.customer__sent {
  text-align: center;
  padding: 3.5rem 0.5rem 1rem;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.customer__note {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.35rem;
}
.customer__sent-title {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
}
.customer__sent p {
  margin: 0.65rem 0 0;
  max-width: 18rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.45;
}
.customer__sent-song {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.customer__hint {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.7rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.35);
}
.customer__sent .btn {
  margin-top: 1.5rem;
  width: auto;
  min-width: 12rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  border: 0;
  background: transparent;
  padding: 0;
}
.aud-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.aud-song {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
}
.aud-song__text {
  flex: 1;
  min-width: 0;
}
.aud-song__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aud-song__text span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aud-song__btn {
  flex-shrink: 0;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
}
.aud-pick {
  margin-top: 0.25rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
}
.aud-pick__title {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
}
.aud-pick__artist {
  margin-top: 0.2rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}
.aud-tip-label {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}
.aud-tip-note {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}
.aud-tips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.aud-tip,
.aud-tip-other {
  border: 0;
  border-radius: 0.75rem;
  padding: 0.65rem 0.35rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  background: var(--elevated);
}
.aud-tip.is-on,
.aud-tip-other.is-on {
  color: #fff;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
}
.aud-tip-other {
  width: 100%;
  margin-top: 0.5rem;
}
.aud-tip-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid var(--hair);
  background: var(--elevated);
}
.aud-tip-input span {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
}
.aud-tip-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}
.aud-tip-msg-label {
  display: block;
  margin: 0.85rem 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.aud-tip-msg {
  width: 100%;
  min-height: 4.5rem;
  resize: vertical;
  margin: 0;
  box-sizing: border-box;
}
.req-tip-msgs {
  width: 100%;
  margin-top: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.req-tip-msg {
  margin: 0;
  padding: 0.45rem 0.55rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
  font-style: italic;
}
.req-tip-msg span {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: #ff9a4d;
  margin-right: 0.25rem;
}

/* Performance mode — full-bleed stage, portrait + landscape */
.perf-stage {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #070708;
}
.perf-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #070708;
  user-select: none;
}
.perf-glow {
  pointer-events: none;
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  top: -18vmax;
  right: -12vmax;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 47, 134, 0.16), transparent 68%);
  opacity: 0.9;
}
.perf-lyrics {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 5.75rem 1.25rem 6.25rem;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  color: #fff;
  -webkit-overflow-scrolling: touch;
}
.perf-lyrics__flow {
  width: 100%;
  max-width: 100%;
  column-count: 1;
  column-gap: 1.75em;
  font-size: 17px;
  line-height: 1.32;
}
.perf-lyrics .perf-section {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 0.9em;
  padding: 0;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
.perf-pdf-wrap {
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #111;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.perf-pdf-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  flex: 1;
}
.perf-screen:has(.perf-pdf-wrap) .perf-lyrics {
  padding: 0;
  overflow: hidden;
}
.perf-label {
  font-family: var(--font-mono);
  font-size: 0.58em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 154, 77, 0.75);
  margin-bottom: 0.2em;
}
.perf-lyric,
.perf-chorus {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: pre-wrap;
  font-family: var(--font-mono), ui-monospace, monospace;
}
.perf-lyric {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}
.perf-chorus {
  color: #ff8a3d;
  font-weight: 600;
}
.perf-chordline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.perf-seg {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 100%;
}
.perf-chord {
  font-weight: 600;
  color: #5aa2ff;
  font-size: 0.72em;
  line-height: 1.05;
  white-space: pre-wrap;
}
.perf-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.perf-empty {
  display: grid;
  place-content: center;
  height: 100%;
  text-align: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
}
.perf-dock {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  pointer-events: none;
}
.perf-dock .perf-pill,
.perf-dock .perf-chrome__right {
  pointer-events: auto;
}
.perf-dock--top {
  top: 0;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 0.45rem;
  padding: max(0.55rem, env(safe-area-inset-top)) 0.75rem 0.85rem;
  background: linear-gradient(to bottom, rgba(7, 7, 8, 0.97) 0%, rgba(7, 7, 8, 0.9) 70%, rgba(7, 7, 8, 0) 100%);
}
.perf-dock--bottom {
  bottom: 0;
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  padding: 0.85rem 0.75rem max(0.85rem, env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(7, 7, 8, 0.97) 0%, rgba(7, 7, 8, 0.9) 60%, rgba(7, 7, 8, 0) 100%);
}
.perf-dock--bottom .perf-pill {
  min-height: 2.75rem;
  align-self: stretch;
}
.perf-chrome__meta {
  min-width: 0;
}
.perf-chrome__index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}
.perf-chrome__right {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-self: end;
}
.perf-pill.is-warn {
  border-color: rgba(255, 120, 100, 0.55);
  background: rgba(255, 80, 80, 0.22);
  color: #ffb4a8;
}
.perf-songhead {
  margin: 0 0 1.1em;
  padding-bottom: 0.75em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  column-span: all;
  -webkit-column-span: all;
}
.perf-songhead strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35em;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: left;
  overflow-wrap: anywhere;
}
.perf-songhead span {
  display: block;
  margin-top: 0.35em;
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.55);
  text-align: left;
  overflow-wrap: anywhere;
}
.perf-songhead em {
  display: block;
  margin-top: 0.35em;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.62em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff9a4d;
}
.perf-queue {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(88%, 22rem);
  display: flex;
  flex-direction: column;
  background: rgba(10, 10, 12, 0.96);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  z-index: 6;
}
.perf-menu {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(90%, 22rem);
  display: flex;
  flex-direction: column;
  background: rgba(10, 10, 12, 0.98);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  z-index: 7;
}
.perf-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: max(0.85rem, env(safe-area-inset-top)) 1rem 0.85rem;
  border-bottom: 1px solid var(--hair);
}
.perf-menu__head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.perf-menu__head span {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
}
.perf-menu__head button {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  flex-shrink: 0;
}
.perf-menu__body {
  flex: 1;
  overflow-y: auto;
  padding: 0.55rem;
  -webkit-overflow-scrolling: touch;
}
.perf-menu__empty {
  text-align: center;
  margin: 1.5rem 0.5rem;
}
.perf-menu__back {
  display: block;
  width: 100%;
  margin-bottom: 0.45rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.7rem;
  border: 0;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  text-align: left;
}
.perf-menu__row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin-bottom: 0.35rem;
  padding: 0.7rem 0.65rem;
  border-radius: 0.85rem;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  color: inherit;
}
.perf-menu__row.is-now {
  border-color: rgba(255, 106, 61, 0.45);
  background: rgba(255, 106, 61, 0.12);
}
.perf-menu__text {
  flex: 1;
  min-width: 0;
}
.perf-menu__text strong {
  display: block;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.perf-menu__text span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.perf-menu__chev {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.1rem;
  line-height: 1;
}
.perf-menu__foot {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.7rem 0.75rem max(0.85rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--hair);
  background: rgba(7, 7, 8, 0.96);
}
.perf-menu__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.perf-menu__tab {
  min-height: 2.5rem;
  padding: 0.45rem 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
}
.perf-menu__tab.is-active {
  border-color: rgba(255, 106, 61, 0.55);
  background: rgba(255, 106, 61, 0.18);
  color: #fff;
}
.perf-menu__close-lyrics {
  min-height: 2.75rem;
  width: 100%;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 80, 80, 0.55);
  background: rgba(220, 40, 40, 0.88);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.perf-queue__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--hair);
}
.perf-queue__head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.perf-queue__head span {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
}
.perf-queue__head button {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.perf-queue__body {
  flex: 1;
  overflow-y: auto;
  padding: 0.55rem;
}
.perf-queue__row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin-bottom: 0.35rem;
  padding: 0.7rem 0.65rem;
  border-radius: 0.85rem;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  color: inherit;
}
.perf-queue__row.is-now {
  border-color: rgba(255, 106, 61, 0.45);
  background: rgba(255, 106, 61, 0.12);
}
.perf-queue__row.is-played {
  opacity: 0.55;
}
.perf-queue__row.is-played strong {
  text-decoration: line-through;
}
.perf-queue__n {
  width: 1.4rem;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
}
.perf-queue__text {
  flex: 1;
  min-width: 0;
}
.perf-queue__text strong {
  display: block;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.perf-queue__text span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.perf-queue__tag {
  flex-shrink: 0;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.perf-queue__row.is-now .perf-queue__tag {
  color: #ff9a4d;
}
.perf-queue__row.is-played .perf-queue__tag {
  color: #3ddc84;
}
.perf-font {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.perf-pill--icon {
  min-height: 2.15rem;
  min-width: 2.35rem;
  padding: 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
}
.perf-pill--icon svg {
  display: block;
}
#perfChords:not(.is-chords) {
  opacity: 0.45;
}
#perfChords.is-chords {
  opacity: 1;
}
.perf-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 2.45rem;
  padding: 0 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(28, 28, 32, 0.92);
  backdrop-filter: blur(12px);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
}
.perf-pill--wide {
  flex: 1;
  min-height: 2.75rem;
  font-size: 0.88rem;
}
.perf-pill.is-static {
  pointer-events: none;
  background: rgba(0, 0, 0, 0.35);
}
.perf-pill.is-chords {
  border-color: rgba(90, 162, 255, 0.45);
  background: rgba(90, 162, 255, 0.22);
  color: #9cc4ff;
}
.perf-pill:disabled {
  opacity: 0.28;
}
.perf-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background-image: linear-gradient(135deg, #ff2f86, #ffa63d);
}
.perf-reqdrawer {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(88%, 22rem);
  display: flex;
  flex-direction: column;
  background: rgba(10, 10, 12, 0.94);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  z-index: 5;
}
.perf-reqdrawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--hair);
}
.perf-reqdrawer__head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.perf-reqdrawer__head span {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.4);
}
.perf-reqdrawer__head button {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.perf-reqdrawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
}
.req-item {
  margin-bottom: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid var(--hair);
  background: var(--charcoal);
}
.req-item__top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.req-item__top strong {
  display: block;
  font-size: 0.875rem;
}
.req-item__top span {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
}
.req-item__meta {
  text-align: right;
  font-family: var(--font-mono);
}
.req-item__meta b {
  display: block;
  font-size: 0.8rem;
}
.req-item__meta em {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  color: #3ddc84;
}
.req-item__actions {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.65rem;
}
.req-item__actions button {
  flex: 1;
  border-radius: 0.55rem;
  padding: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
}
.req-item__actions button[data-open-req] {
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
}
.req-played {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
  padding: 0.35rem 0.5rem;
}

/* Landscape perform — exactly 2 columns; scroll if longer */
@media (orientation: landscape) {
  .perf-lyrics {
    padding: 4.1rem 1.5rem 4.5rem;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .perf-lyrics__flow {
    column-count: 2;
    -webkit-column-count: 2;
    column-gap: 1.75em;
    column-fill: balance;
    max-width: 100%;
  }
  .perf-dock--top {
    padding-top: max(0.4rem, env(safe-area-inset-top));
    padding-bottom: 0.55rem;
  }
  .perf-dock--top .perf-pill {
    min-height: 2.15rem;
    padding: 0 0.7rem;
    font-size: 0.72rem;
  }
  .perf-chrome__song {
    font-size: 0.85rem;
  }
  .perf-reqdrawer {
    width: min(42%, 20rem);
  }
  .perf-queue {
    width: min(42%, 20rem);
  }
  .perf-menu {
    width: min(42%, 20rem);
  }
}

@media (orientation: portrait) and (max-width: 480px) {
  .songbook-actions {
    grid-template-columns: 1fr 1fr;
  }
  .songbook-actions #btnCreate {
    grid-column: 1 / -1;
  }
}

/* Off-screen share cards (html2canvas) */
.share-card-host {
  position: fixed;
  left: -9999px;
  top: 0;
  pointer-events: none;
  z-index: -1;
}
.share-card-host--preview {
  position: static;
  left: auto;
  pointer-events: auto;
  z-index: auto;
  display: flex;
  justify-content: center;
  margin: 0 auto 1rem;
}
.share-card {
  width: 340px;
  max-width: 100%;
  background: #fff;
  padding: 1.5rem;
  border-radius: 18px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  color: #111;
}
.share-card__brand {
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ff5a97;
}
.share-card__brand-icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  flex-shrink: 0;
  background: #0a0a0b;
  border-radius: 0.3rem;
  padding: 0.15rem;
}
.share-card__brand-word,
.share-card__brand img:not(.share-card__brand-icon) {
  display: block;
  height: 1.35rem;
  width: auto;
  max-width: 7.5rem;
  object-fit: contain;
  background: #0a0a0b;
  border-radius: 0.35rem;
  padding: 0.35rem 0.55rem;
}
.share-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  line-height: 1.25;
}
.share-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}
.share-card__line {
  border-top: 1px solid #ddd;
  margin: 1.1rem 0;
}
.share-card__row {
  margin: 0.65rem 0;
  font-size: 1rem;
  line-height: 1.4;
}
.share-preview-wrap {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 0.25rem;
}

.conn-tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.conn-tabs__btn {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.conn-tabs__btn.is-on {
  background: rgba(255, 90, 150, 0.15);
  border-color: rgba(255, 90, 150, 0.45);
  color: #fff;
}
.conn-tabs__badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  margin-left: 0.2rem;
  border-radius: 999px;
  background: #ff5a97;
  color: #fff;
  font-size: 0.65rem;
}
.conn-find-filters {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.conn-find-filters .chip-row {
  flex-wrap: wrap;
}

/* Shared poster designer — mobile first */
.poster-page {
  padding-bottom: 1.5rem;
}
.poster-page__lead {
  margin: 0;
  font-size: 0.85rem;
}
.poster-formats {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.85rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.poster-formats::-webkit-scrollbar {
  display: none;
}
.poster-formats button {
  flex: 1 0 auto;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: var(--elevated);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.poster-formats button.is-on {
  border-color: transparent;
  color: #fff;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
}
.poster-stage {
  margin-top: 0.9rem;
  overflow: hidden;
}
.poster-stage__frame {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0a0b;
  overflow: hidden;
  touch-action: none;
}
.poster-stage__frame .canvas-container {
  position: absolute !important;
  left: 0;
  top: 0;
  margin: 0 !important;
}
#posterCanvas,
.poster-stage__frame canvas {
  display: block;
  max-width: none !important;
}
.poster-toolbar {
  margin-top: 1rem;
}
.poster-toolbar__scroll {
  display: flex;
  gap: 0.5rem;
  padding: 0 1.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.poster-toolbar__scroll::-webkit-scrollbar {
  display: none;
}
.poster-tool {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.25rem;
  min-width: 5.5rem;
  min-height: 3.35rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.85rem;
  border: 1px solid var(--hair);
  background: var(--elevated);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: left;
}
.poster-tool span {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.poster-tool--select select,
.poster-tool--range input,
.poster-tool--color input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}
.poster-tool--select select {
  background: #1a1a1e;
  color: #fff;
  border-radius: 0.35rem;
  padding: 0.15rem 0.2rem;
  -webkit-appearance: none;
  appearance: none;
}
.poster-tool--align {
  min-width: 6.25rem;
}
.poster-align {
  display: flex;
  gap: 0.25rem;
}
.poster-align button {
  flex: 1;
  min-width: 1.7rem;
  height: 1.55rem;
  padding: 0;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #121216;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
}
.poster-align button.is-on {
  border-color: transparent;
  color: #fff;
  background-image: linear-gradient(135deg, #ff2f86 0%, #ff6a3d 55%, #ffa63d 100%);
}
.poster-tool--select select option {
  background: #1a1a1e;
  color: #fff;
}
.poster-tool--color input {
  height: 1.5rem;
  padding: 0;
  cursor: pointer;
}
.poster-stocks {
  margin-top: 1rem;
}
.poster-stocks__row {
  display: flex;
  gap: 0.5rem;
}
.poster-stock {
  flex: 1;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 10;
}
.poster-stock img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.poster-actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}
@media (min-width: 800px) {
  .poster-page {
    max-width: 52rem;
    margin: 0 auto;
  }
  .poster-stage__frame {
    max-width: 36rem;
  }
  .poster-toolbar__scroll {
    flex-wrap: wrap;
    overflow: visible;
  }
  .poster-actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablet — iPad portrait and similar */
@media (min-width: 720px) {
  .app-shell {
    max-width: 56rem;
  }
  .bottom-nav {
    max-width: 56rem;
  }
  .px {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .topbar {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .cal-year {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    padding: 0.5rem 1.25rem 2rem;
  }
  .mini-month {
    padding: 0.55rem 0.45rem 0.6rem;
    border-radius: 0.75rem;
  }
  .mini-month__name {
    font-size: 0.78rem;
  }
  .mini-month__wd {
    font-size: 0.48rem;
  }
  .mini-month .day-cell {
    font-size: 0.52rem;
  }
  .month-detail {
    max-width: 42rem;
    margin: 0 auto;
  }
  .month-detail .day-cell {
    font-size: 1.05rem;
    border-radius: 12px;
  }
  .req-cal-preview__months {
    grid-template-columns: repeat(4, 1fr);
  }
  .home-weekend {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }
  .home-weekend > .muted {
    grid-column: 1 / -1;
  }
  .home-hero__name {
    font-size: 1.85rem;
  }
  .list-block {
    max-width: 40rem;
  }
  .song-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
  body.stage-mode .app-shell {
    max-width: 100%;
  }
  .stage {
    max-width: 56rem;
  }
  .sheet-host,
  .m-poster-sheet {
    align-items: center;
    padding: 2rem;
  }
  .sheet-host--full {
    align-items: stretch;
    padding: 0;
  }
  .sheet,
  .m-poster-sheet__panel {
    max-width: 32rem;
    border-radius: 1.25rem;
    border: 1px solid var(--hair);
    max-height: min(86dvh, 52rem);
  }
  .sheet {
    padding-bottom: 0;
  }
  .sheet__handle,
  .m-poster-sheet__handle {
    display: none;
  }
  .cal-pick {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }
  .diary-head {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .legend {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Desktop / iPad 13" / landscape tablet — same bottom tab bar as phone */
@media (min-width: 1024px) {
  .app-shell {
    max-width: 80rem;
  }
  .bottom-nav {
    max-width: 80rem;
  }
  .home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.85fr);
    gap: 0.5rem 2rem;
    align-items: start;
  }
  .home-weekend {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .home-layout__side .px {
    margin-top: 1.5rem !important;
  }
  .cal-year {
    gap: 1rem;
    padding: 0.75rem 1.5rem 2.5rem;
  }
  .mini-month {
    padding: 0.7rem 0.55rem 0.75rem;
  }
  .mini-month__name {
    font-size: 0.88rem;
  }
  .mini-month .day-cell {
    font-size: 0.62rem;
  }
  .month-detail {
    max-width: 48rem;
  }
  .list-block {
    max-width: 44rem;
  }
  .h1 {
    font-size: 2.35rem;
  }
  .stage {
    max-width: 72rem;
  }
  .song-list {
    grid-template-columns: 1fr 1fr;
  }
  body.auth-screen .app-shell {
    max-width: none;
  }
  .auth {
    display: grid;
    grid-template-columns: minmax(16rem, 1fr) minmax(22rem, 26rem);
    column-gap: 4rem;
    row-gap: 1.25rem;
    align-items: center;
    max-width: 68rem;
    width: 100%;
    margin: 0 auto;
    min-height: 100dvh;
    padding: 3.5rem 3rem;
    justify-content: center;
  }
  .auth__brand {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    text-align: left;
  }
  .logo--auth {
    align-items: flex-start;
  }
  .auth__tagline {
    max-width: 22rem;
    font-size: 1.15rem;
  }
  .auth__card {
    grid-column: 2;
    grid-row: 1;
  }
  .auth__foot {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }
  .sheet,
  .m-poster-sheet__panel {
    max-width: 34rem;
  }
}

@media (min-width: 1280px) {
  .cal-year {
    gap: 1.15rem;
  }
  .mini-month .day-cell {
    font-size: 0.7rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .panel:active,
  .wk-panel:active,
  .home-poster-cta:active,
  .song-row:active {
    transform: none;
  }
  .panel:hover,
  .wk-panel:hover,
  .list-row:hover,
  .song-row:hover,
  .home-poster-cta:hover,
  .home-cal__main:hover,
  .mini-month:hover {
    border-color: rgba(255, 255, 255, 0.22);
  }
  .bottom-nav__item:hover,
  .bottom-nav__fab-wrap:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
  }
  .day-cell {
    cursor: pointer;
  }
}
