/* Profile-only styles: do not change the shop, player, or member dashboards. */
.home-profile {
    --lp-ink: #f5eddd;
    --lp-muted: #c9c1b5;
    --lp-accent: #edbd76;
    --lp-gold: #d99a3b;
    --lp-line: #514a40;
    --lp-surface: #fff8eb;
    --lp-paper: #252423;
    color: var(--lp-ink);
    color-scheme: dark;
    background: linear-gradient(#171716ed, #171716ed), url("tile23.jpg") repeat;
    background-color: #171716;
}
.home-profile .lp-post, .home-profile .lp-composer, .home-profile > .messages {
    --lp-ink: #251b15;
    --lp-muted: #6d5546;
    --lp-accent: #7f2325;
    --lp-line: #d7cbbb;
    --lp-paper: #fffdf7;
    color: var(--lp-ink);
    color-scheme: light;
}
.home-profile main { padding: 0; min-height: 80vh; }
.lab-profile { max-width: 1180px; margin: 0 auto; padding: 0 28px 48px; font: 16px/1.55 'LabFont', sans-serif; letter-spacing: 0; }
.lab-profile *, .lab-profile *::before, .lab-profile *::after { box-sizing: border-box; }
.lab-profile h1, .lab-profile h2, .lab-profile h3, .lab-profile p { margin: 0; color: inherit; }
.lab-profile h1 { font-size: 38px; line-height: 1.15; }
.lab-profile h2 { font-size: 22px; line-height: 1.35; }
.lab-profile h3 { font-size: 18px; line-height: 1.35; }
.lab-profile a { color: var(--lp-accent); overflow-wrap: anywhere; }
.lab-profile a:hover { text-decoration: underline; }
.lab-profile button, .lab-profile input, .lab-profile textarea { font: inherit; letter-spacing: 0; }
.lab-profile button, .lab-profile summary { cursor: pointer; }
.lab-profile button:disabled { opacity: .6; cursor: wait; }
.lab-profile :focus-visible { outline: 3px solid var(--lp-accent); outline-offset: 3px; }
.lab-profile [id] { scroll-margin-top: 70px; }
.lab-profile .lp-muted, .lab-profile .lp-hint { color: var(--lp-muted); font-size: 14px; }
.lp-profile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px) minmax(0, 1fr); grid-template-areas: "brand video actions"; align-items: center; gap: 24px; padding: 24px 0; height: auto; }
.lp-profile-brand { grid-area: brand; display: flex; align-items: center; gap: 16px; min-width: 0; }
.lp-header-video { grid-area: video; width: 100%; min-width: 0; margin: 0 auto; }
.lp-header-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; background: #000; }
.lp-header-video > a { display: flex; justify-content: flex-end; align-items: center; gap: 7px; min-height: 44px; font-size: 14px; }
.lp-logo { flex: 0 0 104px; width: 104px; height: 104px; border-radius: 6px; border: 1px solid var(--lp-line); object-fit: contain; background: #000; }
.lp-identity { min-width: 0; }
.lab-profile .lp-kicker { color: var(--lp-accent); font-size: 14px; margin-bottom: 4px; }
.lp-identity h1 { margin-bottom: 8px; }
.lp-profile-actions { grid-area: actions; display: flex; gap: 10px; justify-self: end; }
.lab-profile .lp-button { display: inline-flex; gap: 9px; align-items: center; justify-content: center; min-height: 44px; padding: 9px 16px; color: var(--lp-ink); background: var(--lp-paper); border: 1px solid #9b8064; border-radius: 5px; font-size: 16px; line-height: 1.35; text-decoration: none; }
.lab-profile .lp-button:hover { background: #39332b; text-decoration: none; }
.lab-profile .lp-button-primary { background: var(--lp-accent); border-color: var(--lp-accent); color: #201b16; }
.lab-profile .lp-button-primary:hover { background: #ffd393; }
.lp-composer .lp-button:hover { background: #f1e5d2; }
.lp-composer .lp-button-primary { color: #fff8eb; }
.lp-composer .lp-button-primary:hover { background: #651b1d; }
.lp-tabs { display: flex; align-items: stretch; gap: 22px; border-block: 1px solid var(--lp-line); }
.lab-profile .lp-tabs a { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--lp-muted); padding: 14px 3px; min-height: 50px; border-bottom: 3px solid transparent; border-radius: 0; white-space: nowrap; font-size: 16px; }
.lab-profile .lp-tabs a:hover { background: transparent; color: var(--lp-ink); text-decoration: none; }
.lab-profile .lp-tabs .lp-tab-current { color: var(--lp-accent); border-bottom-color: var(--lp-accent); }
.lp-tabs span { font-size: 13px; color: var(--lp-muted); }
.lp-tabs .lp-subscribe { margin-left: auto; }
.lp-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 36px; padding-top: 28px; align-items: start; }
.lp-sidebar, .lp-feed { min-width: 0; }
.lp-sidebar-section { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--lp-line); }
.lp-sidebar-section h2 { margin-bottom: 12px; font-size: 20px; }
.lp-sidebar-section p { margin: 10px 0; }
.lp-collective { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--lp-line); }
.lp-collective > h3 { color: var(--lp-accent); margin-bottom: 12px; }
.lab-profile .lp-location { color: var(--lp-muted); }
.lp-location i { margin-right: 6px; }
.lp-socials { display: flex; gap: 7px; flex-wrap: wrap; margin: 14px 0; }
.lp-socials a { width: 44px; height: 44px; display: grid; place-items: center; font-size: 22px; border: 1px solid var(--lp-line); border-radius: 5px; }
.lp-socials a:hover { color: var(--lp-ink); border-color: var(--lp-accent); background: var(--lp-paper); }
.lp-details { border-top: 1px solid var(--lp-line); padding-top: 4px; margin-top: 12px; }
.lp-details summary { min-height: 44px; padding: 9px 0; color: var(--lp-accent); }
.lp-details > p { margin: 12px 0; }
.lp-details > h3 { margin-top: 16px; }
.lp-details[open] > summary { margin-bottom: 8px; }
.lp-text-links { display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0; }
.lp-text-links a { text-decoration: underline; text-underline-offset: 3px; }
.lp-record-heading { display: flex; align-items: center; gap: 12px; }
.lp-record-heading img { object-fit: contain; border-radius: 4px; }
.lp-record-heading span { min-width: 0; }
.lp-record-heading small { display: block; font-size: 14px; color: var(--lp-muted); margin-top: 4px; }
#lp-track-title { font-size: 15px; }
#lp-player { display: block; width: 100%; height: 46px; color-scheme: dark; }
.lp-tracks { max-height: 270px; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #9f8660 #252423; scrollbar-gutter: stable; margin: 0; padding: 0; list-style: none; }
.lp-tracks li { display: flex; align-items: center; border-bottom: 1px solid var(--lp-line); gap: 4px; }
.lp-tracks button { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; min-height: 44px; text-align: left; font-size: 14px; color: var(--lp-ink); background: transparent; border: 0; padding: 8px 2px; }
.lp-tracks button span { color: var(--lp-muted); font-size: 12px; }
.lp-tracks button[aria-current="true"] { color: var(--lp-accent); }
.lp-tracks li > a { display: grid; place-items: center; min-width: 40px; min-height: 44px; }
.lp-contact { display: grid; gap: 6px; }
.lp-contact a { display: flex; align-items: center; gap: 9px; min-height: 44px; }
.lp-feed-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 16px; }
.lp-feed-heading h2 { font-size: 20px; }
.lp-feed-heading > span { white-space: nowrap; }
.lp-join { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--lp-line); padding: 0 0 20px; margin-bottom: 20px; }
.lp-join > span { color: var(--lp-muted); }
.lp-composer { background: var(--lp-surface); padding: 20px; border: 1px solid var(--lp-line); border-radius: 6px; margin-bottom: 22px; box-shadow: 0 5px 18px #5332190d; }
.lp-composer-heading, .lp-composer-meta, .lp-composer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lp-composer-heading { margin-bottom: 12px; }
.lp-composer-heading label { font-size: 18px; }
.lp-composer textarea, .lp-composer input[type="url"] { display: block; width: 100%; padding: 12px; border: 1px solid #9b8064; background: var(--lp-paper); color: var(--lp-ink); border-radius: 4px; font-size: 16px; }
.lp-composer textarea { min-height: 100px; resize: vertical; }
.lp-composer textarea::placeholder, .lp-composer input::placeholder { color: var(--lp-muted); opacity: 1; }
.lp-composer-meta { color: var(--lp-muted); font-size: 13px; margin: 6px 0 16px; }
.lp-composer-meta output { white-space: nowrap; }
.lp-upload { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lp-upload label { color: var(--lp-accent); }
.lp-upload input { max-width: 100%; min-width: 0; width: 310px; font-size: 14px; }
.lp-upload input::file-selector-button { font: inherit; min-height: 40px; background: var(--lp-paper); color: var(--lp-ink); border: 1px solid #9b8064; border-radius: 4px; padding: 8px; margin-right: 8px; cursor: pointer; }
.lab-profile .lp-hint { margin-top: 6px; font-size: 13px; }
.lp-previews { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-preview { position: relative; width: 94px; margin-top: 12px; }
.lp-preview img { width: 94px; height: 80px; display: block; object-fit: contain; background: var(--lp-paper); border-radius: 4px; }
.lp-preview button { position: absolute; top: -8px; right: -8px; width: 32px; height: 32px; background: var(--lp-accent); border: 1px solid var(--lp-paper); border-radius: 50%; color: white; }
.lp-video-input label { display: block; margin: 4px 0 8px; font-size: 14px; }
.lp-composer-bottom { margin-top: 12px; }
.lp-composer-bottom p { font-size: 14px; }
.lp-errors { color: #9c252d; font-size: 14px; }
.lp-errors ul { padding-left: 18px; margin: 8px 0; }
.lp-post { border: 1px solid var(--lp-line); border-radius: 6px; background: var(--lp-surface); margin-bottom: 22px; overflow: hidden; box-shadow: 0 5px 18px #5332190d; }
.lp-pinned { border-top: 3px solid var(--lp-gold); }
.lp-pin-label { display: flex; gap: 8px; align-items: center; color: var(--lp-accent); font-size: 13px; padding: 12px 20px 0; }
.lp-post-heading { display: flex; align-items: center; gap: 12px; padding: 18px 20px 12px; height: auto; }
.lp-avatar { display: block; width: 44px; height: 44px; flex-shrink: 0; object-fit: cover; border: 1px solid #62584b; border-radius: 6px; background: #000; }
.lp-post-heading h3 { font-size: 18px; margin-bottom: 3px; }
.lp-post-author { min-width: 0; }
.lp-post-author h3 a { color: var(--lp-ink); }
.lp-post-copy { padding: 0 20px 18px; overflow-wrap: anywhere; }
.lp-post-copy h2 { font-size: 25px; line-height: 1.35; margin: 4px 0 12px; max-width: 600px; }
.lp-post-copy > p { margin: 10px 0 16px; }
.lp-post-text { white-space: normal; line-height: 1.65; }
.lp-welcome-links { display: flex; gap: 12px 24px; flex-wrap: wrap; margin: 14px 0; }
.lp-welcome-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.lp-lyric { white-space: pre-line; }
.lp-post-menu { position: relative; margin-left: auto; align-self: start; flex-shrink: 0; }
.lp-post-menu summary { display: grid; place-items: center; width: 44px; height: 44px; list-style: none; }
.lp-post-menu summary::-webkit-details-marker { display: none; }
.lp-post-menu form { position: absolute; right: 0; top: 42px; z-index: 2; width: 190px; background: var(--lp-paper); border: 1px solid var(--lp-line); border-radius: 4px; padding: 4px; box-shadow: 0 4px 16px #53321926; }
.lp-post-menu button { color: #9c252d; background: transparent; border: 0; padding: 10px; min-height: 44px; width: 100%; text-align: left; font-size: 14px; }
.lp-gallery { display: grid; gap: 2px; background: var(--lp-paper); }
.lp-gallery a { display: block; min-width: 0; }
.lp-gallery img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; margin: 0; border: 0; border-radius: 0; }
.lp-video { width: 100%; aspect-ratio: 16 / 9; margin: 14px 0; }
.lp-video iframe { width: 100%; height: 100%; display: block; border: 0; }
.lp-post > .lp-video { margin: 0; }
.lp-native-media { display: block; width: 100%; max-width: 100%; }
audio.lp-native-media { padding: 12px; color-scheme: light; }
.lab-profile .lp-post-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; position: static; margin: 0; padding: 8px 16px; text-align: left; color: var(--lp-muted); background: transparent; border: 0; border-top: 1px solid var(--lp-line); font-size: 14px; }
.lp-post-actions button, .lp-post-actions > a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 4px; color: var(--lp-muted); background: transparent; border: 0; border-radius: 3px; font: inherit; }
.lp-post-actions button[aria-pressed="true"] { color: var(--lp-accent); }
.lp-post-actions > a { margin-left: auto; }
.lp-action-status:not(:empty) { width: 100%; color: var(--lp-accent); padding-bottom: 8px; overflow-wrap: anywhere; }
.lp-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; padding: 8px 0; }
.lp-empty { padding: 20px 0; color: var(--lp-muted); }
.home-profile > .messages { max-width: 1124px; margin: 12px auto; padding: 12px 20px; background: var(--lp-surface); color: var(--lp-ink); border-left: 3px solid var(--lp-accent); }
@media (max-width: 1100px) {
    .lp-profile { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand actions" "video video"; gap: 20px; }
    .lp-header-video { width: min(100%, 480px); }
}
@media (max-width: 900px) {
    .lp-layout { grid-template-columns: 240px minmax(0,1fr); gap: 24px; }
    .lab-profile { padding-inline: 20px; }
    .lp-feed-heading > span { display: none; }
    .lp-profile-actions { gap: 6px; }
}
@media (max-width: 680px) {
    .lab-profile { padding: 0 14px 28px; font-size: 16px; }
    .lp-profile { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "video" "actions"; gap: 14px; padding: 16px 0 20px; }
    .lp-profile-brand { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 14px; }
    .lp-logo { width: 76px; height: 76px; }
    .lp-identity h1 { font-size: 30px; margin-bottom: 4px; }
    .lp-identity p { font-size: 14px; }
    .lab-profile .lp-kicker { font-size: 12px; }
    .lp-profile-actions { width: 100%; margin: 0; gap: 10px; }
    .lp-profile-actions a { flex: 1; }
    .lp-tabs { gap: 0; justify-content: space-between; }
    .lab-profile .lp-tabs a { font-size: 14px; gap: 5px; padding-inline: 2px; }
    .lp-tabs .lp-subscribe { margin-left: 0; }
    .lp-subscribe i { display: none; }
    .lp-layout { display: flex; flex-direction: column; padding-top: 20px; gap: 28px; }
    .lp-feed { order: 0; width: 100%; }
    .lp-sidebar { order: 1; width: 100%; border-top: 1px solid var(--lp-line); padding-top: 24px; }
    .lp-feed-heading { margin-bottom: 14px; }
    .lp-feed-heading h2 { font-size: 20px; }
    .lp-join { align-items: flex-start; flex-direction: column; gap: 10px; padding-bottom: 16px; margin-bottom: 16px; }
    .lp-join > span { font-size: 14px; }
    .lp-post, .lp-composer { margin-bottom: 16px; }
    .lp-composer { padding: 14px; }
    .lp-composer-meta { font-size: 12px; }
    .lp-pin-label { padding-inline: 16px; }
    .lp-post-heading { padding: 14px 16px 12px; gap: 10px; }
    .lp-post-copy { padding: 0 16px 14px; }
    .lp-post-copy h2 { font-size: 23px; }
    .lp-post-heading h3 { font-size: 17px; }
    .lp-welcome-links { gap: 8px 18px; margin: 10px 0; font-size: 15px; }
    .lp-pagination { font-size: 12px; gap: 7px; }
    .lp-pagination .lp-button { padding: 8px 10px; font-size: 14px; }
}
