/* ═══════════════════════════════════════════════════════════════
   music.css — Music page (.mp-*) and Live page (#page-live)
   ═══════════════════════════════════════════════════════════════ */

/* ── Music page ── */
.mp {
              background: 0 0;
              min-height: calc(100vh - 80px)
            }

            .mp-sidebar {
              border-right: 1px solid var(--border2);
              display: flex;
              flex-direction: column;
              position: sticky;
              top: 0;
              height: calc(100vh - 80px);
              overflow-y: auto;
              scrollbar-width: none;
              background: rgba(20, 18, 16, .55);
              backdrop-filter: blur(18px);
              -webkit-backdrop-filter: blur(18px)
            }

            html.light-mode .mp-sidebar {
              background: rgba(255, 255, 255, .55)
            }

            .mp-sidebar::-webkit-scrollbar {
              display: none
            }

            .mp-sidebar-identity {
              padding: 32px 20px 24px;
              border-bottom: 1px solid var(--border);
              display: flex;
              flex-direction: column;
              align-items: center;
              text-align: center;
              gap: 0
            }

            .mp-av-ring {
              width: 90px;
              height: 90px;
              overflow: hidden;
              border-radius: 50%;
              margin-bottom: 16px;
              flex-shrink: 0
            }

            .mp-av-ring img {
              width: 100%;
              height: 100%;
              object-fit: cover
            }

            .mp-sidebar-name {
              font-family: 'Big Shoulders Display', sans-serif;
              font-size: 32px;
              font-weight: 900;
              letter-spacing: 3px;
              text-transform: uppercase;
              color: var(--ink);
              line-height: 1;
              margin-bottom: 6px
            }

            .mp-sidebar-sub {
              display: none
            }

            .mp-sidebar-bio {
              display: none
            }

            .mp-sidebar-streams {
              padding: 0;
              display: flex;
              flex-direction: column;
              flex: 1
            }

            .mp-sidebar-stream-head {
              display: none
            }

            .mp-sidebar-stream-link {
              display: flex;
              align-items: center;
              gap: 10px;
              padding: 12px 16px;
              text-decoration: none;
              border-bottom: 1px solid var(--border);
              transition: background .1s;
              position: relative
            }

            .mp-sidebar-stream-link::before {
              content: '';
              position: absolute;
              left: 0;
              top: 0;
              bottom: 0;
              width: 0;
              background: var(--ink);
              transition: width .15s
            }

            .mp-sidebar-stream-link:hover::before {
              width: 3px
            }

            .mp-sidebar-stream-link:hover {
              background: var(--s1)
            }

            .mp-sidebar-stream-link .mp-stream-icon-wrap {
              width: 20px;
              height: 20px;
              flex-shrink: 0;
              position: relative;
              overflow: visible
            }

            .mp-sidebar-stream-name {
              font-family: 'DM Mono', monospace;
              font-size: 9px;
              letter-spacing: 1.5px;
              text-transform: uppercase;
              color: var(--ink);
              flex: 1
            }

            .mp-sidebar-stream-arrow {
              font-family: 'DM Mono', monospace;
              font-size: 9px;
              color: var(--ink3);
              transition: transform .15s, color .15s
            }

            .mp-sidebar-stream-link:hover .mp-sidebar-stream-arrow {
              transform: translateX(4px);
              color: var(--ink)
            }

            .mp-eras-section {
              padding: 0
            }

            .mp-eras-header {
              padding: 40px 36px 24px;
              display: flex;
              align-items: flex-end;
              justify-content: center;
              border-bottom: 1px solid var(--border2);
              margin-bottom: 0;
              position: relative;
              top: 0;
              z-index: 2;
              background: rgba(20, 18, 16, .55);
              backdrop-filter: blur(18px);
              -webkit-backdrop-filter: blur(18px)
            }

            html.light-mode .mp-eras-header {
              background: rgba(255, 255, 255, .55)
            }

            .mp-eras-headline {
              font-family: Mostwasted, cursive;
              font-size: clamp(32px, 4vw, 52px);
              color: var(--ink);
              line-height: 1;
              letter-spacing: 1px
            }

            /* position admin add button to the right while keeping headline centered */

            .mp-eras-header .mp-admin-add {
              position: absolute;
              right: 20px;
              top: 50%;
              transform: translateY(-50%);
              z-index: 3
            }

            .mp-admin-add {
              display: none;
              background: 0 0;
              border: 1px solid var(--border2);
              font-family: 'DM Mono', monospace;
              font-size: 7px;
              letter-spacing: 2px;
              text-transform: uppercase;
              color: var(--ink3);
              padding: 5px 12px;
              cursor: pointer;
              transition: all .15s;
              flex-shrink: 0
            }

            body.talk-admin .mp-admin-add {
              display: block
            }

            .mp-admin-add:hover {
              border-color: var(--ink);
              color: var(--ink)
            }

            .mp-eras-grid {
              display: grid;
              grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
              gap: 2px;
              background: 0 0
            }

            .mp-era-card-wrapper {
              background: 0 0
            }

            .mp-era-card-outer {
              display: flex;
              flex-direction: column;
              background: 0 0;
              cursor: pointer
            }

            .mp-era-card-outer:hover .mp-era-card img {
              transform: scale(1.08);
              filter: grayscale(0%)
            }

            .mp-era-card {
              background: 0 0;
              position: relative;
              overflow: hidden;
              aspect-ratio: 1;
              width: 100%
            }

            .mp-era-card img {
              position: absolute;
              inset: 0;
              width: 100%;
              height: 100%;
              object-fit: cover;
              transition: transform .8s cubic-bezier(.16, 1, .3, 1);
              filter: grayscale(20%)
            }

            .mp-era-card-placeholder {
              position: absolute;
              inset: 0;
              background: repeating-linear-gradient(-45deg, var(--s1) 0, var(--s1) 8px, var(--s2) 8px, var(--s2) 16px);
              display: flex;
              align-items: center;
              justify-content: center;
              font-family: 'Bebas Neue', sans-serif;
              font-size: 11px;
              letter-spacing: 4px;
              color: var(--ink3)
            }

            .mp-era-card-foot {
              position: relative;
              z-index: 1;
              padding: 0;
              background: 0 0
            }

            .mp-era-card-foot-inner {
              display: none
            }

            .mp-era-card-tag {
              display: none
            }

            .mp-era-card-title {
              display: none
            }

            .mp-era-card-date {
              display: none
            }

            .mp-era-card-label {
              padding: 10px 4px 4px
            }

            .mp-era-card-label-title {
              font-family: 'Cormorant Garamond', serif;
              font-weight: 300;
              font-size: 15px;
              letter-spacing: 4px;
              text-transform: uppercase;
              color: var(--ink);
              line-height: 1
            }

            .mp-era-card-label-tag {
              font-family: 'DM Mono', monospace;
              font-size: 6px;
              letter-spacing: 3px;
              text-transform: uppercase;
              color: var(--ink3);
              margin-top: 4px
            }

            .mp-era-card-date {
              font-family: 'DM Mono', monospace;
              font-size: 7px;
              letter-spacing: 1px;
              color: rgba(237, 232, 222, .3);
              margin-top: 5px
            }

            .mp-era-badge {
              position: absolute;
              top: 0;
              left: 0;
              z-index: 2;
              font-family: 'DM Mono', monospace;
              font-size: 6px;
              letter-spacing: 3px;
              text-transform: uppercase;
              padding: 5px 12px
            }

            .mp-era-badge.live {
              display: none
            }

            .mp-era-badge.upcoming {
              background: var(--ink);
              color: var(--bg)
            }

            .mp-era-badge.era {
              background: rgba(0, 0, 0, .6);
              color: rgba(237, 232, 222, .4)
            }

            .era-modal-bg {
              display: none;
              position: fixed;
              inset: 0;
              background: rgba(0, 0, 0, .96);
              z-index: 600;
              align-items: center;
              justify-content: center
            }

            .era-modal-bg.open {
              display: flex
            }

            .era-modal {
              background: var(--bg);
              border: 1px solid rgba(237, 232, 222, .08);
              width: min(92vw, 820px);
              max-height: 90vh;
              display: grid;
              grid-template-columns: 1fr 1fr;
              overflow: hidden;
              position: relative
            }

            .era-modal-photo {
              background: var(--s1);
              overflow: hidden;
              display: flex;
              align-items: center;
              justify-content: center;
              min-height: 380px;
              position: relative
            }

            .era-modal-photo img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              filter: grayscale(15%)
            }

            .era-modal-photo:hover img {
              filter: grayscale(0%)
            }

            .era-modal-photo-empty {
              font-family: 'Bebas Neue', sans-serif;
              font-size: 11px;
              letter-spacing: 4px;
              color: var(--ink3)
            }

            .era-modal-photo-upload {
              position: absolute;
              bottom: 0;
              left: 0;
              right: 0;
              display: none;
              background: rgba(0, 0, 0, .8)
            }

            body.talk-admin .era-modal-photo-upload {
              display: block
            }

            .era-modal-photo-upload label {
              font-family: 'DM Mono', monospace;
              font-size: 6px;
              letter-spacing: 2px;
              text-transform: uppercase;
              padding: 8px 16px;
              display: block;
              color: rgba(237, 232, 222, .5);
              cursor: pointer;
              text-align: center
            }

            .era-modal-side {
              padding: 36px 32px;
              overflow-y: auto;
              border-left: 1px solid rgba(237, 232, 222, .06);
              display: flex;
              flex-direction: column
            }

            .era-modal-close {
              position: absolute;
              top: 16px;
              right: 16px;
              z-index: 2;
              background: 0 0;
              border: none;
              color: rgba(237, 232, 222, .25);
              font-size: 16px;
              cursor: pointer;
              font-family: 'DM Mono', monospace;
              letter-spacing: 1px;
              transition: color .15s
            }

            .era-modal-close:hover {
              color: rgba(237, 232, 222, .8)
            }

            .era-modal-tag {
              font-family: 'DM Mono', monospace;
              font-size: 6px;
              letter-spacing: 5px;
              text-transform: uppercase;
              color: rgba(237, 232, 222, .3);
              margin-bottom: 12px
            }

            .era-modal-name {
              font-family: 'Bebas Neue', sans-serif;
              font-size: clamp(32px, 5vw, 52px);
              letter-spacing: 4px;
              color: var(--ink);
              line-height: .9;
              border-bottom: 1px solid var(--border);
              padding-bottom: 18px;
              margin-bottom: 18px
            }

            .era-modal-desc {
              font-family: 'Cormorant Garamond', serif;
              font-style: italic;
              font-size: 14px;
              line-height: 1.9;
              color: var(--ink3);
              flex: 1;
              white-space: pre-line
            }

            .era-modal-links {
              margin-top: 20px;
              display: flex;
              flex-direction: column;
              gap: 1px
            }

            .era-modal-link {
              display: flex;
              align-items: center;
              justify-content: space-between;
              padding: 11px 14px;
              font-family: 'DM Mono', monospace;
              font-size: 8px;
              letter-spacing: 2px;
              text-transform: uppercase;
              color: var(--ink3);
              text-decoration: none;
              transition: all .15s;
              border-bottom: 1px solid var(--border)
            }

            .era-modal-link:hover {
              color: var(--ink);
              padding-left: 20px
            }

            .era-modal-edit {
              display: none;
              margin-top: 18px;
              gap: 6px;
              flex-wrap: wrap
            }

            body.talk-admin .era-modal-edit {
              display: flex
            }

            .era-modal-edit button {
              font-family: 'DM Mono', monospace;
              font-size: 7px;
              letter-spacing: 2px;
              text-transform: uppercase;
              background: 0 0;
              border: 1px solid var(--border);
              color: var(--ink3);
              padding: 5px 10px;
              cursor: pointer;
              transition: all .15s
            }

            .era-modal-edit button:hover {
              border-color: var(--ink);
              color: var(--ink)
            }

            /* Responsive: make the era modal narrower on small screens and stack content */

            @media (max-width: 520px) {
              .era-modal {
                width: min(92vw, 360px) !important;
                max-height: calc(100vh - 40px) !important;
                display: grid !important;
                grid-template-columns: 1fr !important;
                grid-auto-rows: min-content !important;
                padding: 0 !important;
                border-radius: 10px !important;
              }
              .era-modal-photo {
                min-height: 220px !important;
                border-bottom: 1px solid rgba(237, 232, 222, .06);
              }
              .era-modal-side {
                padding: 18px !important;
                border-left: none !important;
                max-height: calc(100vh - 260px) !important;
                overflow: auto !important;
              }
              .era-modal-name {
                font-size: 22px !important;
                padding-bottom: 8px !important;
                margin-bottom: 8px !important
              }
              .era-modal-tag {
                font-size: 9px !important;
                letter-spacing: 3px
              }
              .era-modal-close {
                top: 10px;
                right: 10px
              }
              .era-modal-desc {
                font-size: 13px;
                line-height: 1.5
              }
              .era-modal-links .era-modal-link {
                padding: 10px 12px
              }
            }

            .mp-stream-section {
              display: none
            }

            .mp-stream-links {
              display: none
            }

            @media(max-width:780px) {
              .mp-eras-grid {
                grid-template-columns: repeat(2, 1fr)
              }
              .era-modal {
                grid-template-columns: 1fr
              }
              .era-modal-photo {
                min-height: 220px
              }

              /* Mobile: Fix sidebar height to match content instead of full viewport */
              .mp-sidebar {
                height: auto !important;
                min-height: auto !important;
                position: relative !important;
                top: auto !important;
              }

              /* Mobile: compact streaming-service row — icon + label pill buttons */
              .mp-sidebar-streams {
                flex: none !important;
                height: auto !important;
                flex-direction: row !important;
                flex-wrap: wrap !important;
                gap: 4px !important;
                padding: 6px 8px !important;
                align-items: flex-start !important;
              }

              .mp-sidebar-stream-link {
                flex: 0 0 auto !important;
                width: auto !important;
                min-width: 0 !important;
                max-width: none !important;
                height: auto !important;
                padding: 5px 8px !important;
                gap: 4px !important;
                flex-direction: row !important;
                align-items: center !important;
                justify-content: flex-start !important;
                border-bottom: none !important;
                border-radius: 6px !important;
                box-sizing: border-box !important;
              }

              .mp-stream-icon-wrap {
                width: 14px !important;
                height: 14px !important;
                display: flex;
                align-items: center;
                justify-content: center
              }
              .mp-stream-icon-wrap svg {
                width: 14px !important;
                height: 14px !important
              }
              .mp-sidebar-stream-name {
                font-size: 8px !important;
                line-height: 1 !important;
                white-space: nowrap !important;
                text-align: left !important
              }

              /* very narrow screens */
              @media (max-width:400px) {
                .mp-sidebar-stream-link {
                  padding: 4px 6px !important;
                  gap: 3px !important
                }
                .mp-stream-icon-wrap {
                  width: 12px !important;
                  height: 12px !important
                }
                .mp-stream-icon-wrap svg {
                  width: 12px !important;
                  height: 12px !important
                }
                .mp-sidebar-stream-name {
                  font-size: 7px !important
                }
              }
            }

/* ── Live page ── */
#page-live {
            position: relative;
            min-height: calc(100vh - 80px);
            background: url('https://i.pinimg.com/originals/53/c4/81/53c4812e63fc6c48b6c60894adad299b.jpg') repeat;
            background-size: 38px;
            image-rendering: pixelated;
            image-rendering: crisp-edges;
            padding: 20px;
            box-sizing: border-box
          }

          #page-live::after {
            content: '';
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: 0;
            background: repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(0, 0, 0, .15) 2px, rgba(0, 0, 0, .15) 3px), repeating-linear-gradient(90deg, transparent 0, transparent 2px, rgba(0, 0, 0, .05) 2px, rgba(0, 0, 0, .05) 3px)
          }

          .live-wrap {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            width: 100%;
            border-radius: 8px 8px 0 0;
            overflow: hidden;
            box-shadow: 0 0 0 1px var(--border2), 0 24px 64px rgba(0, 0, 0, .4)
          }

          .live-content {
            display: flex;
            flex-direction: row;
            align-items: stretch
          }

          .live-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 18px;
            border-bottom: 1px solid var(--border2);
            background: var(--s1);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            gap: 12px
          }

          .live-header-left {
            display: flex;
            align-items: center;
            gap: 12px
          }

          .live-header-right {
            display: flex;
            align-items: center;
            gap: 10px
          }

          .live-dot {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: var(--pk);
            box-shadow: 0 0 6px 2px rgba(212, 160, 181, .5);
            animation: live-pulse 1.4s ease-in-out infinite;
            flex-shrink: 0
          }

          @keyframes live-pulse {
            0%,
            100% {
              box-shadow: 0 0 6px 2px rgba(212, 160, 181, .5)
            }
            50% {
              box-shadow: 0 0 14px 5px rgba(212, 160, 181, .9)
            }
          }

          .live-badge {
            font-family: 'DM Mono', monospace;
            font-size: 7px;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: var(--pk);
            border: 1px solid var(--pk);
            padding: 2px 7px;
            border-radius: 0;
            animation: live-badge-glow 2s ease-in-out infinite
          }

          @keyframes live-badge-glow {
            0%,
            100% {
              box-shadow: none
            }
            50% {
              box-shadow: 0 0 8px rgba(212, 160, 181, .4)
            }
          }

          .live-header-info {
            display: flex;
            flex-direction: column;
            gap: 2px
          }

          .live-title {
            font-family: Sprayerz, cursive;
            font-size: 18px;
            letter-spacing: 2px;
            color: var(--ink);
            line-height: 1
          }

          .live-sub {
            font-family: 'DM Mono', monospace;
            font-size: 7px;
            letter-spacing: 2px;
            color: var(--ink3);
            text-transform: uppercase
          }

          .live-viewer-count {
            font-family: 'DM Mono', monospace;
            font-size: 8px;
            letter-spacing: 1px;
            color: var(--ink2);
            background: rgba(255, 255, 255, .05);
            border: 1px solid var(--border2);
            padding: 3px 8px;
            border-radius: 3px;
            display: flex;
            align-items: center;
            gap: 5px
          }

          .live-viewer-count::before {
            content: '';
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--pk);
            flex-shrink: 0;
            animation: live-pulse 2s ease-in-out infinite
          }

          .live-twitch-link {
            font-family: 'DM Mono', monospace;
            font-size: 7px;
            letter-spacing: 2px;
            color: var(--ink2);
            text-transform: uppercase;
            text-decoration: none;
            border: 1px solid var(--border2);
            padding: 5px 12px;
            transition: border-color .15s, color .15s, background .15s;
            border-radius: 3px
          }

          .live-twitch-link:hover {
            border-color: var(--pk);
            color: var(--ink);
            background: rgba(212, 160, 181, .08)
          }

          .live-left {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            overflow: hidden
          }

          .live-player {
            width: 100%;
            aspect-ratio: 16/9;
            flex-shrink: 0;
            background: var(--bg);
            position: relative;
            overflow: hidden
          }

          .live-offline {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            gap: 14px;
            padding: 40px;
            background: var(--bg)
          }

          .live-offline-avatar {
            width: 72px;
            height: 72px;
            border-radius: 50%;
            border: 2px solid rgba(212, 160, 181, .3);
            overflow: hidden;
            box-shadow: 0 0 0 6px rgba(212, 160, 181, .06), 0 0 32px rgba(212, 160, 181, .12)
          }

          .live-offline-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: saturate(.4) brightness(.7)
          }

          .live-offline-title {
            font-family: Sprayerz, cursive;
            font-size: 28px;
            letter-spacing: 3px;
            color: var(--ink2);
            text-align: center
          }

          .live-offline-sub {
            font-family: 'DM Mono', monospace;
            font-size: 8px;
            letter-spacing: 2px;
            color: var(--ink3);
            text-transform: uppercase;
            text-align: center;
            line-height: 2
          }

          .live-offline-follow {
            font-family: 'DM Mono', monospace;
            font-size: 8px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--pk);
            text-decoration: none;
            border: 1px solid rgba(212, 160, 181, .5);
            padding: 7px 20px;
            margin-top: 4px;
            border-radius: 2px;
            transition: background .15s, border-color .15s;
            display: inline-block
          }

          .live-offline-follow:hover {
            background: rgba(212, 160, 181, .1);
            border-color: var(--pk)
          }

          .live-desc {
            background: var(--s1);
            border-top: 1px solid var(--border2);
            max-height: 200px;
            overflow-y: auto;
            position: relative;
            flex-shrink: 0
          }

          .live-desc-label {
            font-family: 'DM Mono', monospace;
            font-size: 7px;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: var(--pk);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px
          }

          .live-desc-label::after {
            content: '';
            flex: 1;
            height: 1px;
            background: rgba(212, 160, 181, .2)
          }

          .live-desc-inner {
            padding: 14px 16px
          }

          .live-desc-content {
            font-family: 'DM Mono', monospace;
            font-size: 11px;
            line-height: 1.7;
            color: var(--ink2)
          }

          .live-desc-content img {
            max-width: 100%;
            border-radius: 4px;
            margin: 8px 0;
            display: block
          }

          .live-desc-content p {
            margin: 0 0 6px
          }

          .live-desc-content p:last-child {
            margin-bottom: 0
          }

          .live-desc-empty {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 1px;
            color: var(--ink3);
            text-transform: uppercase
          }

          .live-desc-edit-btn {
            position: absolute;
            top: 10px;
            right: 12px;
            background: 0 0;
            border: 1px solid var(--border2);
            color: var(--ink3);
            font-size: 14px;
            line-height: 1;
            cursor: pointer;
            border-radius: 4px;
            padding: 2px 8px;
            transition: border-color .15s, color .15s;
            z-index: 2
          }

          .live-desc-edit-btn:hover {
            border-color: var(--pk);
            color: var(--ink)
          }

          .live-chat-panel {
            width: 280px;
            flex-shrink: 0;
            background: var(--s1);
            border-left: 1px solid var(--border2);
            display: flex;
            flex-direction: column;
            overflow: hidden
          }

          .live-chat-header {
            padding: 11px 14px;
            border-bottom: 1px solid var(--border2);
            font-family: 'DM Mono', monospace;
            font-size: 7px;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: var(--ink3);
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
            background: var(--s2)
          }

          .live-chat-header::before {
            content: '';
            display: inline-block;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--pk);
            animation: live-pulse 2s ease-in-out infinite
          }

          .live-chat-body {
            flex: 1;
            min-height: 200px;
            overflow: auto
          }

          #page-live ::-webkit-scrollbar {
            width: 3px
          }

          #page-live ::-webkit-scrollbar-track {
            background: 0 0
          }

          #page-live ::-webkit-scrollbar-thumb {
            background: var(--border2)
          }

}

.live-desc-modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, .7);
            z-index: 9000;
            align-items: center;
            justify-content: center
          }

          .live-desc-modal-overlay.active {
            display: flex
          }

          .live-desc-modal {
            background: var(--s2);
            border: 1px solid var(--border2);
            border-radius: 8px;
            width: 640px;
            max-width: 94vw;
            max-height: 80vh;
            display: flex;
            flex-direction: column;
            overflow: hidden
          }

          .live-desc-modal-head {
            padding: 14px 16px;
            border-bottom: 1px solid var(--border2);
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-shrink: 0
          }

          .live-desc-modal-title {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--ink2)
          }

          .live-desc-modal-close {
            background: 0 0;
            border: none;
            color: var(--ink3);
            font-size: 18px;
            cursor: pointer;
            line-height: 1;
            transition: color .15s
          }

          .live-desc-modal-close:hover {
            color: var(--ink)
          }

          .live-desc-toolbar {
            padding: 8px 12px;
            border-bottom: 1px solid var(--border2);
            display: flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
            flex-wrap: wrap
          }

          .live-desc-tb-btn {
            background: 0 0;
            border: 1px solid var(--border2);
            color: var(--ink2);
            font-size: 11px;
            padding: 3px 8px;
            border-radius: 3px;
            cursor: pointer;
            transition: border-color .15s, color .15s;
            font-family: 'DM Mono', monospace
          }

          .live-desc-tb-btn:hover {
            border-color: var(--pk);
            color: var(--ink)
          }

          .live-desc-tb-sep {
            width: 1px;
            height: 18px;
            background: var(--border2);
            flex-shrink: 0
          }

          .live-desc-editor {
            flex: 1;
            overflow-y: auto;
            padding: 14px 16px;
            min-height: 180px;
            outline: 0;
            font-family: 'DM Mono', monospace;
            font-size: 12px;
            line-height: 1.7;
            color: var(--ink)
          }

          .live-desc-editor img {
            max-width: 100%;
            border-radius: 4px;
            margin: 6px 0;
            display: block;
            cursor: pointer
          }

          .live-desc-editor[contenteditable]:empty::before {
            content: 'Write a description — text, links, photos...';
            color: var(--ink3);
            pointer-events: none
          }

          .live-desc-modal-foot {
            padding: 12px 16px;
            border-top: 1px solid var(--border2);
            display: flex;
            justify-content: flex-end;
            gap: 8px;
            flex-shrink: 0
          }

          .live-desc-save-btn {
            background: var(--pk);
            border: none;
            color: var(--bg);
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 2px;
            text-transform: uppercase;
            padding: 7px 18px;
            cursor: pointer;
            border-radius: 3px;
            transition: background .15s
          }

          .live-desc-save-btn:hover {
            background: var(--pk2)
          }

          .live-desc-cancel-btn {
            background: 0 0;
            border: 1px solid var(--border2);
            color: var(--ink2);
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 2px;
            text-transform: uppercase;
            padding: 7px 14px;
            cursor: pointer;
            border-radius: 3px;
            transition: border-color .15s
          }

          .live-desc-cancel-btn:hover {
            border-color: var(--ink2)
          }

