/* ---------------------------------------------------------------------------
   Meuspace web — studio skin
   ---------------------------------------------------------------------------
   The consumer web app now speaks the same visual language as Meuspace Studio:
   19px surfaces, hairline borders, layered soft shadows, eyebrow headers with
   an accent capsule, gradient primary actions, icon tiles and status capsules.

   Loaded after polish.css on every page. Visual-only: no layout behaviour,
   routes, forms or player logic are changed.
   --------------------------------------------------------------------------- */

:root {
    --ms-accent: #345a71;
    --ms-accent-light: #457796;
    --ms-accent-soft: rgba(69, 119, 150, 0.09);
    --ms-accent-line: rgba(69, 119, 150, 0.24);
    --ms-gradient: linear-gradient(135deg, #345a71 0%, #457796 100%);
    --ms-ink: #0f172a;
    --ms-muted: #64748b;
    --ms-faint: #94a3b8;
    --ms-page: #f4f6f8;
    --ms-line: rgba(15, 23, 42, 0.06);
    --ms-line-strong: rgba(15, 23, 42, 0.1);
    --ms-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 10px 30px rgba(15, 23, 42, 0.05);
    --ms-shadow-hover:
        0 3px 8px rgba(15, 23, 42, 0.04),
        0 20px 46px rgba(15, 23, 42, 0.09);
    --ms-shadow-accent: 0 8px 22px rgba(52, 90, 113, 0.22);
    --ms-radius: 19px;
    --ms-radius-control: 12px;
    --ms-radius-small: 14px;
    --ms-font: 'KiamboteFontRegular', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ms-font-bold: 'KiamboteFontBold', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------------------------------------------------------------------------
   Page canvas
   --------------------------------------------------------------------------- */

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--ms-page) !important;
    background-image:
        radial-gradient(1100px 420px at 50% -140px, rgba(69, 119, 150, 0.14), transparent 70%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--ms-ink);
    font-family: var(--ms-font);
}

/* Let the page gradient show through the Tailwind page shells. */
[class~="bg-[#F8FAFC]"] {
    background-color: transparent !important;
}

.bglight {
    background: transparent !important;
}

h1, h2, h3 {
    letter-spacing: -0.012em;
}

/* ---------------------------------------------------------------------------
   App chrome
   --------------------------------------------------------------------------- */

.ms-topbar {
    background: rgba(255, 255, 255, 0.88) !important;
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: var(--ms-line) !important;
    box-shadow:
        0 1px 0 rgba(15, 23, 42, 0.03),
        0 12px 34px rgba(15, 23, 42, 0.045);
}

#sidebar {
    background: linear-gradient(180deg, #345a71 0%, #2f5167 100%) !important;
    box-shadow: 24px 0 56px rgba(15, 23, 42, 0.18) !important;
}

#sidebar .custom-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.14);
}

/* ---------------------------------------------------------------------------
   Page header (eyebrow + title + subtitle)
   --------------------------------------------------------------------------- */

.ms-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 2px 2px 18px;
}

.ms-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: var(--ms-font-bold);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ms-muted);
}

.ms-eyebrow::before {
    content: "";
    flex: 0 0 auto;
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: var(--ms-accent);
}

.ms-title {
    margin: 9px 0 0;
    font-family: var(--ms-font-bold);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.025em;
    color: var(--ms-ink);
}

.ms-subtitle {
    margin: 8px 0 0;
    font-family: var(--ms-font);
    font-size: 13px;
    line-height: 1.5;
    color: var(--ms-muted);
}

.ms-header-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: var(--ms-radius-small);
    border: 1px solid var(--ms-accent-line);
    background: var(--ms-accent-soft);
    color: var(--ms-accent);
    font-size: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.ms-section-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--ms-line);
    font-family: var(--ms-font-bold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ms-faint);
}

.ms-section-head::before {
    content: "";
    flex: 0 0 auto;
    width: 14px;
    height: 2.5px;
    border-radius: 999px;
    background: var(--ms-accent);
}

.ms-section-head i {
    color: var(--ms-accent-light);
}

/* ---------------------------------------------------------------------------
   Surfaces
   --------------------------------------------------------------------------- */

.ms-card {
    background: #fff;
    border: 1px solid var(--ms-line);
    border-radius: var(--ms-radius);
    box-shadow: var(--ms-shadow);
}

.ms-card-pad {
    padding: 18px;
}

.ms-card-hover {
    transition:
        transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),
        border-color 0.18s ease;
}

.ms-card-hover:hover {
    transform: translateY(-2px);
    border-color: var(--ms-line-strong);
    box-shadow: var(--ms-shadow-hover);
}

/* Tailwind surfaces across the app adopt the studio card language. */
:where(div, section, article, aside, li, form, header).bg-white.rounded-lg,
:where(div, section, article, aside, li, form, header).bg-white.rounded-xl,
:where(div, section, article, aside, li, form, header).bg-white.rounded-2xl,
a.block.bg-white.rounded-lg,
a.block.bg-white.rounded-xl,
a.group.block.bg-white.rounded-lg,
a.group.block.bg-white.rounded-xl {
    border-radius: var(--ms-radius) !important;
    border-color: var(--ms-line) !important;
    box-shadow: var(--ms-shadow);
}

a.block.bg-white.rounded-lg,
a.block.bg-white.rounded-xl,
a.group.block.bg-white.rounded-lg,
a.group.block.bg-white.rounded-xl {
    transition:
        transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),
        border-color 0.18s ease;
}

a.block.bg-white.rounded-lg:hover,
a.block.bg-white.rounded-xl:hover,
a.group.block.bg-white.rounded-lg:hover,
a.group.block.bg-white.rounded-xl:hover {
    transform: translateY(-2px);
    border-color: var(--ms-line-strong) !important;
    box-shadow: var(--ms-shadow-hover);
}

.shadow-sm,
.shadow,
.shadow-md {
    box-shadow: var(--ms-shadow) !important;
}

/* Modals and dropdown surfaces. */
#paymentModal > div,
#amountModal > div,
#txModal > div,
#nostrLoadingModal > div,
#profileDropdownMenu,
#artistOptionsMenu,
#contenstArea,
#chatSwitcherMenu {
    border-radius: var(--ms-radius) !important;
    border-color: var(--ms-line) !important;
    box-shadow: var(--ms-shadow-hover) !important;
}

/* ---------------------------------------------------------------------------
   Primary actions
   --------------------------------------------------------------------------- */

.ms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--ms-radius-control);
    font-family: var(--ms-font-bold);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        background-color 0.16s ease,
        border-color 0.16s ease,
        color 0.16s ease;
}

.ms-btn-primary {
    background: var(--ms-gradient);
    color: #fff !important;
    box-shadow: var(--ms-shadow-accent);
}

.ms-btn-primary:hover {
    color: #fff !important;
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(52, 90, 113, 0.27);
}

.ms-btn-secondary {
    background: #fff;
    border-color: var(--ms-line-strong);
    color: var(--ms-accent) !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.ms-btn-secondary:hover {
    background: rgba(69, 119, 150, 0.05);
    border-color: var(--ms-accent-line);
    color: var(--ms-accent) !important;
}

.ms-btn-ghost {
    background: var(--ms-accent-soft);
    color: var(--ms-accent) !important;
}

.ms-btn-ghost:hover {
    background: rgba(69, 119, 150, 0.14);
    color: var(--ms-accent) !important;
}

/* Tailwind primary buttons already using the brand fill become gradients. */
button[class~="bg-[#457796]"][class~="text-white"],
a[class~="bg-[#457796]"][class~="text-white"] {
    background-color: transparent !important;
    background-image: var(--ms-gradient) !important;
    border-color: transparent !important;
    box-shadow: var(--ms-shadow-accent) !important;
    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        filter 0.16s ease;
}

button[class~="bg-[#457796]"][class~="text-white"]:hover,
a[class~="bg-[#457796]"][class~="text-white"]:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(52, 90, 113, 0.27) !important;
}

.ms-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    border: 1px solid var(--ms-line-strong);
    background: #fff;
    color: var(--ms-muted);
    transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.ms-icon-btn:hover {
    background: var(--ms-accent-soft);
    border-color: var(--ms-accent-line);
    color: var(--ms-accent);
}

/* ---------------------------------------------------------------------------
   Fields and labels
   --------------------------------------------------------------------------- */

.ms-label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--ms-font-bold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ms-muted);
}

.ms-input {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px !important;
    border: 1px solid var(--ms-line-strong) !important;
    border-radius: var(--ms-radius-control) !important;
    background: rgba(15, 23, 42, 0.018) !important;
    color: var(--ms-ink);
    font-family: var(--ms-font);
    font-size: 13px;
    box-shadow: none !important;
    outline: none;
    transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.ms-input:focus {
    border-color: rgba(69, 119, 150, 0.55) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(69, 119, 150, 0.14) !important;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
textarea,
select {
    border-radius: var(--ms-radius-control);
}

/* ---------------------------------------------------------------------------
   Status capsules
   --------------------------------------------------------------------------- */

.ms-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 22px;
    padding: 3px 8px;
    border-radius: 999px;
    font-family: var(--ms-font-bold);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ms-pill-accent {
    background: var(--ms-accent-soft);
    color: var(--ms-accent);
}

.ms-pill-live {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.ms-pill-success {
    background: rgba(47, 143, 99, 0.11);
    color: #2f8f63;
}

.ms-pill-warning {
    background: rgba(245, 158, 11, 0.13);
    color: #b45309;
}

.ms-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    font-family: var(--ms-font);
    font-size: 11px;
    color: var(--ms-muted);
}

.ms-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--ms-faint);
}

/* ---------------------------------------------------------------------------
   Empty states
   --------------------------------------------------------------------------- */

.ms-empty,
#emptyState,
#loginPrompt {
    border-radius: var(--ms-radius) !important;
    border: 1px solid var(--ms-line) !important;
    background: #fff !important;
    box-shadow: var(--ms-shadow) !important;
}

.ms-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 42px 24px;
    text-align: center;
}

.ms-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ms-accent-soft);
    color: var(--ms-accent);
    font-size: 20px;
}

#emptyState > div:first-child,
#loginPrompt > div:first-child {
    border-radius: 50% !important;
    border-color: var(--ms-accent-line) !important;
    background: var(--ms-accent-soft) !important;
    color: var(--ms-accent) !important;
}

/* ---------------------------------------------------------------------------
   Auth screens
   --------------------------------------------------------------------------- */

.ms-auth-card {
    border-radius: 24px !important;
    border: 1px solid var(--ms-line) !important;
    box-shadow:
        0 30px 70px rgba(15, 23, 42, 0.1),
        0 4px 14px rgba(15, 23, 42, 0.04) !important;
}

.ms-auth-card h3 {
    letter-spacing: -0.025em;
}

.ms-auth-icon {
    border-radius: 50% !important;
    border-color: var(--ms-accent-line) !important;
    background: var(--ms-accent-soft) !important;
    color: var(--ms-accent) !important;
    box-shadow: none !important;
}

/* ---------------------------------------------------------------------------
   Home feed (legacy markup)
   --------------------------------------------------------------------------- */

.headingb2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-family: var(--ms-font-bold);
    font-size: clamp(20px, 2.2vw, 27px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.headingb2::before {
    content: "";
    flex: 0 0 auto;
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: var(--ms-accent);
}

.headingflex1 {
    align-items: flex-end;
    padding-bottom: 4px;
}

.viewtxt {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--ms-accent-soft);
    color: var(--ms-accent);
    font-family: var(--ms-font-bold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.16s ease, color 0.16s ease;
}

.viewtxt:hover {
    background: rgba(69, 119, 150, 0.16);
    color: var(--ms-accent);
    text-decoration: none;
}

.livevideopart {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ms-line) !important;
    border-radius: var(--ms-radius);
    background: #fff;
    box-shadow: var(--ms-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.livevideopart:hover {
    transform: translateY(-2px);
    border-color: var(--ms-line-strong) !important;
    box-shadow: var(--ms-shadow-hover);
}

.homenewd1 .livevideopart > img,
.homenewd1 .livevideopart > a > img {
    border-radius: 0;
}

.homenewd2 .livevideopart {
    padding: 10px;
}

.homenewd2 .livevideopart > img,
.homenewd2 .livevideopart > a > img {
    border-radius: var(--ms-radius-small);
}

.showlivevideo {
    top: 14px !important;
    left: 14px !important;
    padding: 5px 9px !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px !important;
    background: rgba(15, 23, 42, 0.62) !important;
    color: #fff !important;
    font-family: var(--ms-font-bold);
    font-size: 9px !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
    opacity: 1 !important;
    backdrop-filter: blur(6px);
}

.showlivevideo span {
    width: 6px !important;
    height: 6px !important;
    margin-right: 5px !important;
    background: #f43f5e !important;
}

.homenewd2 .showlivevideo {
    top: 16px !important;
    left: 16px !important;
}

.livevideometa {
    padding: 14px;
}

.homenewd1 .livevideometa {
    background: linear-gradient(to top, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.05) 62%, transparent);
    align-items: flex-end;
}

.homenewd2 .livevideometa {
    padding: 10px 4px 2px !important;
}

.livevideometa h2 {
    font-family: var(--ms-font-bold);
    font-size: 14px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.homenewd2 .livevideometa h2 {
    font-size: 11.5px !important;
}

.livevideometa p {
    font-family: var(--ms-font);
    font-size: 10px;
    letter-spacing: 0.02em;
}

.livevideometa img {
    width: 38px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    object-fit: cover;
}

.homenewd2 .livevideometa img {
    width: 30px;
    height: 30px;
    border-width: 1px;
    border-color: var(--ms-line);
}

.iconlivevideo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
}

/* ---------------------------------------------------------------------------
   Artists directory (legacy markup)
   --------------------------------------------------------------------------- */

.mainprogilesp {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.mainprogilesp > div {
    margin: 0 !important;
    padding: 20px 16px;
    border: 1px solid var(--ms-line);
    border-radius: var(--ms-radius);
    background: #fff;
    box-shadow: var(--ms-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mainprogilesp > div:hover {
    transform: translateY(-2px);
    border-color: var(--ms-line-strong);
    box-shadow: var(--ms-shadow-hover);
}

.topborderspan {
    display: none !important;
}

.mainprogilesp .profmeta {
    margin: 0 !important;
    gap: 4px;
}

.profmeta .imgprof1 {
    margin-right: 0 !important;
}

.profmeta .imgprof1 img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 2px solid var(--ms-accent-soft);
    object-fit: cover;
}

.mainprogilesp .profmeta h2 {
    margin: 10px 0 0 !important;
    font-family: var(--ms-font-bold);
    font-size: 13px;
    letter-spacing: -0.01em;
    text-align: center;
}

.mainprogilesp .profmeta p {
    margin: 3px 0 0 !important;
    font-family: var(--ms-font);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ms-muted);
    text-align: center;
}

/* ---------------------------------------------------------------------------
   Collection page (legacy markup)
   --------------------------------------------------------------------------- */

.metaprocollection {
    overflow: hidden;
    border: 1px solid var(--ms-line);
    border-radius: var(--ms-radius);
    background: #fff;
    box-shadow: var(--ms-shadow);
}

.metaprocollection img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0 !important;
    object-fit: cover;
}

.metaprocollectionmetadata,
.metaprocollectionmetadataAddtional {
    margin: 0 !important;
    line-height: 1.3 !important;
}

.metaprocollectionmetadata {
    padding: 16px 16px 0;
}

.metaprocollectionmetadataAddtional {
    padding: 4px 16px 16px;
    flex-wrap: wrap;
    gap: 2px;
}

.metaprocollectionmetadataAddtional h2 {
    color: var(--ms-muted) !important;
    font-family: var(--ms-font) !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.collectionRow {
    height: 56px;
    margin: 0 0 8px !important;
    padding: 0 10px;
    border: 1px solid var(--ms-line);
    border-radius: var(--ms-radius-small);
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    align-items: center;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.collectionRow:hover {
    transform: translateY(-1px);
    border-color: var(--ms-accent-line);
    background: #fff !important;
    box-shadow: var(--ms-shadow);
}

.collectionRow img {
    border-radius: 8px;
    object-fit: cover;
}

.collectionPlayButtonArea,
.collectionInfoArea,
.collectionDateArea,
.collectionStatsArea {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.collectionDateArea,
.collectionStatsArea {
    justify-content: center !important;
    text-align: center !important;
}

.collectionInfoArea span,
.collectionDateArea span,
.collectionStatsArea span {
    color: var(--ms-ink) !important;
    font-family: var(--ms-font) !important;
}

/* ---------------------------------------------------------------------------
   Profile setup (legacy markup)
   --------------------------------------------------------------------------- */

.editproftxt h2 {
    font-family: var(--ms-font-bold);
    font-size: 24px;
    letter-spacing: -0.025em;
}

.editprofilemain,
.profilebasic {
    padding: 22px !important;
    border: 1px solid var(--ms-line);
    border-radius: var(--ms-radius);
    background: #fff;
    box-shadow: var(--ms-shadow);
}

.basictxt {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-family: var(--ms-font-bold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ms-muted);
}

.basictxt::before {
    content: "";
    width: 16px;
    height: 3px;
    border-radius: 999px;
    background: var(--ms-accent);
}

.form-control {
    min-height: 46px;
    border: 1px solid var(--ms-line-strong) !important;
    border-radius: var(--ms-radius-control) !important;
    background-color: rgba(15, 23, 42, 0.018);
    color: var(--ms-ink);
    font-family: var(--ms-font);
    font-size: 13px;
    box-shadow: none !important;
}

.form-control:focus {
    border-color: rgba(69, 119, 150, 0.55) !important;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(69, 119, 150, 0.14) !important;
}

.btn-primary {
    border: 0 !important;
    border-radius: 13px !important;
    background: var(--ms-gradient) !important;
    box-shadow: var(--ms-shadow-accent) !important;
    font-family: var(--ms-font-bold);
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.btn-primary:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(52, 90, 113, 0.27) !important;
}

/* ---------------------------------------------------------------------------
   Small shared details
   --------------------------------------------------------------------------- */

#unreadBadge.hidden {
    display: none !important;
}

#unreadBadge:not(.hidden) {
    display: inline-flex;
}

/* Profile section eyebrows gain the studio capsule marker. */
.user-profile-section > h2::before,
.user-profile-section > div > h2::before {
    content: "";
    flex: 0 0 auto;
    width: 14px;
    height: 2.5px;
    border-radius: 999px;
    background: var(--ms-accent);
}

/* Player transcript chip and toolbar surfaces keep the same calm finish. */
.transcript-header {
    background: rgba(69, 119, 150, 0.04) !important;
}

/* ---------------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------------- */

@media (max-width: 640px) {
    .ms-page-header {
        gap: 12px;
        padding-bottom: 14px;
    }

    .ms-header-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 14px;
    }

    .profilesection {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}
