.dashboard-body .app-primary-nav [data-app-tab="share"] .nav-icon {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 9px;
    background: var(--lime, #c2f781);
    color: #172016;
    font-size: 1.45rem;
    line-height: 1;
}

.app-topbar-action {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel-2);
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    list-style: none;
    font-size: 1.2rem;
}

.app-profile-menu {
    position: relative;
    z-index: 12;
}

.app-profile-menu summary::-webkit-details-marker {
    display: none;
}

.app-profile-menu > nav {
    position: absolute;
    inset: calc(100% + 8px) 0 auto auto;
    display: grid;
    width: min(245px, calc(100vw - 32px));
    max-height: min(62dvh, 440px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--panel-2, #171d19);
    box-shadow: 0 18px 48px #0008;
}

.app-profile-menu a,
.app-share-tabs a {
    display: flex;
    align-items: center;
    min-height: 43px;
    padding: 0 12px;
    border-radius: 10px;
    color: inherit;
    font-size: .92rem;
    text-decoration: none;
}

.app-profile-menu a:hover,
.app-profile-menu a:focus-visible,
.app-share-tabs a:hover {
    background: var(--panel-3, #202822);
}

.app-share-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 14px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--panel);
}

.app-share-tabs a {
    justify-content: center;
    padding-inline: 4px;
}

.app-share-tabs a[aria-current="page"] {
    background: var(--panel-3);
    color: var(--lime);
    font-weight: 700;
}

.app-upload-card h2 {
    margin: 0 0 14px;
    font-size: 1.12rem;
}

.app-upload-card form {
    display: grid;
    gap: 14px;
}

.app-upload-card form > button {
    justify-self: start;
}

.dashboard-body .story-strip {
    margin-bottom: 18px;
    padding-block: 9px;
    background: transparent;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--border);
}

.app-primary-nav a:focus-visible,
.app-topbar-action:focus-visible,
.app-share-tabs a:focus-visible {
    outline: 2px solid var(--lime, #c2f781);
    outline-offset: -2px;
}

.profile-highlights h2 {
    margin: 14px 0 4px;
    font-size: 1.02rem;
}

.profile-highlights .story-ring-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.story-poll {
    display: grid;
    gap: 8px;
}

.story-poll > summary {
    cursor: pointer;
}

.story-poll .edit-field {
    margin-top: 8px;
}

.chat-voice-tools {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.chat-voice-tools[hidden],
.chat-voice-tools [hidden] {
    display: none;
}

.chat-voice-player {
    display: block;
    width: min(100%, 245px);
    height: 42px;
}

.inline-reel-preview {
    position: relative;
    display: grid;
    place-items: center;
    width: min(100%, 245px);
    aspect-ratio: 9 / 14;
    margin: 10px 0;
    overflow: hidden;
    border-radius: 16px;
    background: #0b0912;
}

.inline-reel-preview video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.inline-reel-preview span {
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #fff;
    border-radius: 50%;
    background: #11101bd9;
}

.chat-message .inline-reel-preview {
    width: clamp(100px, 32vw, 145px);
    margin: 0;
}

.chat-shell .chat-message {
    width: fit-content;
    max-width: min(78%, 420px);
    padding: 5px 8px;
}

.chat-shell .chat-message-text {
    font-size: .84rem;
    line-height: 1.35;
}

.chat-shell .chat-message-meta {
    margin-top: 0;
}

.chat-shell .chat-message .chat-reactions:empty {
    display: none;
}

.chat-attachments {
    display: flex;
    align-items: center;
    gap: 3px;
}

.chat-shell .chat-attachments .action-button {
    display: grid;
    place-items: center;
    width: 35px;
    min-height: 40px;
    padding: 0;
    font-size: 1rem;
}

.chat-shell .chat-compose textarea {
    min-height: 40px;
    max-height: 88px;
    padding: 9px;
}

.profile-edit-page .edit-wrap {
    max-width: 640px;
    margin-inline: auto;
}

.profile-edit-photo {
    justify-items: start;
    padding: 14px;
    border-radius: 16px;
    background: var(--panel-2);
}

.profile-edit-details {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.profile-edit-details label:last-child { grid-column: 1 / -1; }
.profile-edit-details input { min-width: 0; width: 100%; }
.profile-location { color: var(--muted); }

.settings-link-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr));
    gap: 10px;
}

.settings-link-groups section {
    display: grid;
    gap: 4px;
}

.settings-link-groups h2 { margin: 0 0 6px; font-size: 1rem; }
.settings-link-groups a {
    padding: 8px 9px;
    border-radius: 8px;
    background: var(--panel-2);
    color: inherit;
}
