/* GBHC — styles site (thème hub + présentation) */

:root {
    --topbar-h: 52px;
    --chat-w: 300px;
    --gbhc-label: rgba(201, 169, 98, 0.75);
}

body.has-topbar {
    padding-top: var(--topbar-h, 52px);
}

body.has-chat {
    padding-right: var(--chat-w);
}

/* Panneau chat — toujours visible à droite (connecté) */
.gbhc-chat {
    position: fixed;
    top: var(--topbar-h, 52px);
    right: 0;
    bottom: 0;
    z-index: 95;
    width: var(--chat-w);
    display: flex;
    flex-direction: column;
    background: rgba(8, 8, 10, 0.96);
    border-left: 1px solid rgba(201, 169, 98, 0.35);
    backdrop-filter: blur(8px);
}

.gbhc-chat-head {
    flex: 0 0 auto;
    padding: 0.55rem 0.7rem;
    border-bottom: 1px solid rgba(201, 169, 98, 0.28);
}

.gbhc-chat-title {
    margin: 0;
    color: #d4af37;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.gbhc-chat-peer-bar {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    width: 100%;
}

.gbhc-chat-peer-bar[hidden] {
    display: none !important;
}

.gbhc-chat-title[hidden] {
    display: none !important;
}

.gbhc-chat-peer-photo {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(201, 169, 98, 0.45);
    background: #1a1a1e;
}

.gbhc-chat.is-peer-blocked .gbhc-chat-peer-photo {
    filter: grayscale(1) brightness(0.55);
    opacity: 0.55;
    border-color: rgba(160, 160, 160, 0.45);
}

.gbhc-chat-peer-name {
    flex: 1 1 auto;
    min-width: 0;
    color: #f5f0e6;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gbhc-chat.is-open {
    box-shadow: -4px 0 24px rgba(212, 175, 55, 0.12);
}

.gbhc-chat-hint {
    margin: 0.5rem 0;
    color: rgba(201, 169, 98, 0.7);
    font-size: 0.82rem;
    line-height: 1.4;
    text-align: center;
}

.gbhc-chat-msg {
    display: flex;
    flex-direction: column;
    margin: 0.35rem 0;
    max-width: 92%;
    position: relative;
}

.gbhc-chat-msg.is-mine {
    margin-left: auto;
    align-items: flex-end;
}

.gbhc-chat-msg.is-theirs {
    margin-right: auto;
    align-items: flex-start;
}

.gbhc-chat-msg .gbhc-chat-bubble {
    max-width: 100%;
    margin: 0;
}

.gbhc-chat-status {
    margin: 0.15rem 0.15rem 0 0;
    color: rgba(201, 169, 98, 0.75);
    font-size: 0.68rem;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
}

.gbhc-chat-status.is-read {
    color: rgba(212, 175, 55, 0.95);
}

.gbhc-chat-bubble {
    max-width: 92%;
    margin: 0.35rem 0;
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.35;
    word-break: break-word;
}

.gbhc-chat-bubble.is-mine {
    margin-left: auto;
    background: rgba(201, 169, 98, 0.28);
    border: 1px solid rgba(201, 169, 98, 0.4);
    color: #f5f0e6;
}

.gbhc-chat-bubble.is-theirs {
    margin-right: auto;
    background: rgba(245, 240, 230, 0.08);
    border: 1px solid rgba(201, 169, 98, 0.28);
    color: #f5f0e6;
}

.gbhc-chat-bubble.is-album-share {
    max-width: 96%;
    padding: 0.55rem 0.7rem;
}

.gbhc-chat-album-share-title {
    margin: 0 0 0.35rem;
    font-weight: 600;
    color: #d4af37;
}

.gbhc-chat-album-share-status {
    margin: 0 0 0.55rem;
    font-size: 0.82rem;
    color: rgba(245, 240, 230, 0.82);
}

.gbhc-chat-album-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.gbhc-chat-album-share-btn {
    min-height: 40px;
    margin: 0;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    border: 1px solid rgba(201, 169, 98, 0.5);
    background: rgba(12, 12, 14, 0.75);
    color: #f5f0e6;
    font-size: 0.82rem;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.gbhc-chat-album-share-btn:hover,
.gbhc-chat-album-share-btn:focus-visible {
    border-color: #d4af37;
    outline: 2px solid #d4af37;
    outline-offset: 1px;
}

.gbhc-chat-album-share-btn.is-refuse {
    border-color: rgba(220, 120, 120, 0.55);
    color: #f5c2c2;
}

.gbhc-chat-album-share-btn:disabled {
    opacity: 0.55;
    cursor: wait;
}

.gbhc-chat-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.gbhc-chat-head-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    min-width: 0;
}

.gbhc-chat-back {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(201, 169, 98, 0.35);
    border-radius: 8px;
    background: rgba(201, 169, 98, 0.12);
    color: #d4af37;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.gbhc-chat-back:hover,
.gbhc-chat-back:focus-visible {
    background: rgba(201, 169, 98, 0.22);
    outline: none;
}

.gbhc-chat-back[hidden] {
    display: none !important;
}

.gbhc-chat-previews {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.gbhc-chat-previews[hidden] {
    display: none !important;
}

.gbhc-chat-preview {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    width: 100%;
    margin: 0;
    padding: 0.5rem 0.55rem;
    border: 1px solid rgba(201, 169, 98, 0.28);
    border-radius: 10px;
    background: rgba(245, 240, 230, 0.05);
    color: #f5f0e6;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
    position: relative;
}

.gbhc-chat-preview:hover,
.gbhc-chat-preview:focus-visible {
    border-color: rgba(212, 175, 55, 0.55);
    background: rgba(201, 169, 98, 0.12);
    outline: none;
}

.gbhc-chat-preview.is-unread {
    border-color: rgba(212, 175, 55, 0.55);
    background: rgba(201, 169, 98, 0.16);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.12);
}

.gbhc-chat-preview-photo {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(201, 169, 98, 0.4);
    background: rgba(0, 0, 0, 0.35);
}

.gbhc-chat-preview.is-blocked .gbhc-chat-preview-photo {
    filter: grayscale(1) brightness(0.55);
    opacity: 0.55;
    border-color: rgba(160, 160, 160, 0.4);
}

.gbhc-chat-preview-meta {
    flex: 1 1 auto;
    min-width: 0;
}

.gbhc-chat-preview-name {
    margin: 0;
    color: #d4af37;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gbhc-chat-preview-text {
    margin: 0.15rem 0 0;
    color: rgba(245, 240, 230, 0.82);
    font-size: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gbhc-chat-preview-line {
    display: flex;
    align-items: flex-start;
    gap: 0.3rem;
    margin: 0.15rem 0 0;
    min-width: 0;
}

.gbhc-chat-preview-line .gbhc-chat-preview-text {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.gbhc-chat-preview-ticks {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    margin-top: 0.12rem;
    line-height: 1;
    letter-spacing: -0.12em;
    font-size: 0.72rem;
    font-weight: 700;
    user-select: none;
}

.gbhc-chat-preview-ticks[hidden] {
    display: none !important;
}

.gbhc-chat-preview-ticks.is-delivered {
    color: rgba(180, 180, 185, 0.85);
}

.gbhc-chat-preview-ticks.is-read {
    color: #22c55e;
}

.gbhc-chat-preview-del,
.gbhc-chat-media-del {
    flex: 0 0 auto;
    width: 1.55rem;
    height: 1.55rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 6px;
    background: rgba(8, 8, 10, 0.55);
    color: rgba(245, 240, 230, 0.75);
    font-size: 0.72rem;
    line-height: 1;
    cursor: pointer;
}

.gbhc-chat-preview-del:hover,
.gbhc-chat-preview-del:focus-visible,
.gbhc-chat-media-del:hover,
.gbhc-chat-media-del:focus-visible {
    color: #f5f0e6;
    border-color: rgba(212, 175, 55, 0.65);
    background: rgba(201, 169, 98, 0.2);
    outline: none;
}

.gbhc-chat-media-del {
    position: absolute;
    top: 0.2rem;
    right: 0.2rem;
    z-index: 2;
}

.gbhc-chat-list {
    flex: 1 1 auto;
    padding: 0.75rem 0.85rem;
}

.gbhc-chat-empty {
    margin: 1.5rem 0 0;
    text-align: center;
    color: rgba(201, 169, 98, 0.65);
    font-size: 0.85rem;
    line-height: 1.4;
}

.gbhc-chat-thread {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.gbhc-chat-messages {
    flex: 1 1 auto;
    overflow: auto;
    padding: 0.75rem 0.85rem;
}

.gbhc-chat-typing {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem 0.55rem;
    color: rgba(201, 169, 98, 0.85);
    font-size: 0.75rem;
}

.gbhc-chat-typing[hidden] {
    display: none !important;
}

.gbhc-chat-typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.45rem 0.65rem;
    border-radius: 12px;
    background: rgba(245, 240, 230, 0.08);
    border: 1px solid rgba(201, 169, 98, 0.28);
}

.gbhc-chat-typing-dots i {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d4af37;
    opacity: 0.35;
    animation: gbhc-typing-bounce 1.2s infinite ease-in-out;
}

.gbhc-chat-typing-dots i:nth-child(2) {
    animation-delay: 0.15s;
}

.gbhc-chat-typing-dots i:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes gbhc-typing-bounce {
    0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-3px); }
}

.gbhc-chat-compose[hidden] {
    display: none !important;
}

.gbhc-chat-compose {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.65rem 0.55rem calc(0.65rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(201, 169, 98, 0.28);
    background: rgba(4, 4, 6, 0.85);
}

.gbhc-chat-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    margin-bottom: 0.15rem;
}

.gbhc-chat-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    margin: 0;
    border-radius: 8px;
    border: 1px solid rgba(201, 169, 98, 0.4);
    background: rgba(12, 12, 14, 0.9);
    color: #f5f0e6;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.gbhc-chat-tool:hover,
.gbhc-chat-tool:focus-visible {
    border-color: rgba(212, 175, 55, 0.85);
    outline: none;
    background: rgba(40, 32, 12, 0.65);
}

.gbhc-chat-tool:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.gbhc-chat-tool.is-recording {
    border-color: rgba(248, 113, 113, 0.9);
    background: rgba(127, 29, 29, 0.55);
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.35);
}

.gbhc-chat-block-btn {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.45);
}

.gbhc-chat-block-btn:hover:not(:disabled),
.gbhc-chat-block-btn:focus-visible:not(:disabled) {
    background: rgba(248, 113, 113, 0.18);
    border-color: rgba(248, 113, 113, 0.7);
    color: #fca5a5;
    outline: none;
}

.gbhc-chat-block-icon {
    display: block;
    width: 16px;
    height: 16px;
}

.gbhc-chat-report-btn {
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.45);
}

.gbhc-chat-report-btn:hover:not(:disabled),
.gbhc-chat-report-btn:focus-visible:not(:disabled) {
    background: rgba(251, 191, 36, 0.16);
    border-color: rgba(251, 191, 36, 0.75);
    color: #fcd34d;
    outline: none;
}

.gbhc-chat-report-icon {
    display: block;
    width: 16px;
    height: 16px;
}

.gbhc-chat-clip {
    width: 16px;
    height: 16px;
}

.gbhc-chat-report-panel {
    padding: 0.55rem 0.6rem;
    border: 1px solid rgba(201, 169, 98, 0.35);
    border-radius: 10px;
    background: rgba(8, 8, 10, 0.92);
}

.gbhc-chat-report-panel[hidden] {
    display: none !important;
}

.gbhc-chat-report-title {
    margin: 0 0 0.45rem;
    color: #d4af37;
    font-size: 0.82rem;
    font-weight: 600;
}

.gbhc-chat-report-select,
.gbhc-chat-report-text {
    width: 100%;
    margin: 0 0 0.45rem;
    padding: 0.4rem 0.5rem;
    border: 1px solid rgba(201, 169, 98, 0.35);
    border-radius: 8px;
    background: rgba(12, 12, 14, 0.95);
    color: #f5f0e6;
    font-size: 0.82rem;
}

.gbhc-chat-report-text {
    min-height: 4.2rem;
    resize: vertical;
}

.gbhc-chat-report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.gbhc-chat-report-submit,
.gbhc-chat-report-cancel {
    min-height: 36px;
    padding: 0.3rem 0.65rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.gbhc-chat-report-submit {
    border: 1px solid rgba(251, 191, 36, 0.55);
    background: rgba(251, 191, 36, 0.18);
    color: #fcd34d;
}

.gbhc-chat-report-cancel {
    border: 1px solid rgba(201, 169, 98, 0.35);
    background: transparent;
    color: rgba(245, 240, 230, 0.8);
}

.gbhc-chat-tool-file {
    position: relative;
    overflow: hidden;
}

.gbhc-chat-tool-file input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
}

.gbhc-chat-tool-file input:disabled {
    cursor: not-allowed;
}

.gbhc-chat-clip {
    display: block;
    color: #d4af37;
}

.gbhc-chat-media-choice {
    padding: 0.55rem 0.5rem;
    border: 1px solid rgba(201, 169, 98, 0.4);
    border-radius: 10px;
    background: rgba(12, 12, 14, 0.95);
}

.gbhc-chat-media-choice[hidden] {
    display: none !important;
}

.gbhc-chat-media-choice-title {
    margin: 0 0 0.45rem;
    color: #d4af37;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.gbhc-chat-media-choice-actions {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.gbhc-chat-media-choice-btn,
.gbhc-chat-media-choice-cancel {
    min-height: 44px;
    padding: 0.4rem 0.55rem;
    border-radius: 8px;
    border: 1px solid rgba(201, 169, 98, 0.4);
    background: rgba(8, 8, 10, 0.9);
    color: #f5f0e6;
    font-size: 0.85rem;
    cursor: pointer;
    touch-action: manipulation;
}

.gbhc-chat-media-choice-btn.is-primary {
    background: linear-gradient(135deg, #c9a962, #a88b3d);
    color: #1a1408;
    border-color: rgba(201, 169, 98, 0.7);
    font-weight: 600;
}

.gbhc-chat-media-choice-cancel {
    border-color: rgba(245, 240, 230, 0.25);
    color: rgba(245, 240, 230, 0.75);
    font-size: 0.8rem;
}

.gbhc-chat-media-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.gbhc-chat-media-badge {
    align-self: flex-start;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 169, 98, 0.4);
    background: rgba(8, 8, 10, 0.55);
    color: rgba(201, 169, 98, 0.9);
    font-size: 0.68rem;
    font-weight: 600;
}

.gbhc-chat-media-badge.is-ephemeral {
    border-color: rgba(248, 113, 113, 0.55);
    color: #fca5a5;
}

.gbhc-chat-bubble.is-ephemeral {
    border-color: rgba(248, 113, 113, 0.45);
}

.gbhc-chat-media-wrap.is-ephemeral {
    position: relative;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.gbhc-chat-media-wrap.is-ephemeral img,
.gbhc-chat-media-wrap.is-ephemeral video {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

.gbhc-chat-media-wrap.is-ephemeral.is-screen-guard::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;
    border-radius: 8px;
    background: #0a0a0c;
}

.gbhc-chat-bubble.is-fading {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.gbhc-chat-photo {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

.gbhc-chat-emoji-panel {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.25rem;
    max-height: 9.5rem;
    overflow: auto;
    padding: 0.35rem;
    border: 1px solid rgba(201, 169, 98, 0.35);
    border-radius: 10px;
    background: rgba(8, 8, 10, 0.95);
    -webkit-overflow-scrolling: touch;
}

.gbhc-chat-emoji-panel[hidden] {
    display: none !important;
}

.gbhc-chat-emoji-item {
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    font-size: 1.25rem;
    cursor: pointer;
    touch-action: manipulation;
}

.gbhc-chat-emoji-item:hover,
.gbhc-chat-emoji-item:focus-visible {
    background: rgba(201, 169, 98, 0.22);
    outline: none;
}

.gbhc-chat-rec-status {
    margin: 0;
    color: #fca5a5;
    font-size: 0.78rem;
    text-align: center;
}

.gbhc-chat-rec-status[hidden] {
    display: none !important;
}

.gbhc-chat-row {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    margin-top: 0.2rem;
}

.gbhc-chat-input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    padding: 0.45rem 0.55rem;
    border: 1px solid rgba(201, 169, 98, 0.35);
    border-radius: 8px;
    background: rgba(12, 12, 14, 0.9);
    color: #f5f0e6;
    font-size: 0.9rem;
}

.gbhc-chat-input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.gbhc-chat-send {
    flex: 0 0 auto;
    min-height: 44px;
    min-width: 44px;
    padding: 0.4rem 0.7rem;
    border: 1px solid rgba(201, 169, 98, 0.45);
    border-radius: 8px;
    background: linear-gradient(135deg, #c9a962, #a88b3d);
    color: #1a1408;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    touch-action: manipulation;
}

.gbhc-chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gbhc-chat-video,
.gbhc-chat-audio {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    background: #0a0a0c;
}

.gbhc-chat-video {
    max-height: 220px;
}

.gbhc-chat-audio {
    min-height: 36px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 900px) {
    :root {
        --chat-w: 260px;
    }
}

@media (max-width: 700px) {
    :root {
        --chat-w: min(100vw, 280px);
    }

    .gbhc-chat-title {
        font-size: 1rem;
    }

    .gbhc-chat-emoji-panel {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .gbhc-chat-send {
        padding: 0.4rem 0.55rem;
        font-size: 0.75rem;
    }
}

.gbhc-param-box {
    max-width: 28rem;
}

.gbhc-param-intro {
    margin: 0 0 1rem;
    color: rgba(201, 169, 98, 0.75);
    font-size: 0.88rem;
    line-height: 1.45;
}

.gbhc-param-toggle {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1.1rem;
    color: #f5f0e6;
    font-size: 0.95rem;
    cursor: pointer;
}

.gbhc-param-toggle input {
    width: 1.15rem;
    height: 1.15rem;
    accent-color: #c9a962;
}

.gbhc-param-sounds {
    margin: 0 0 1rem;
    padding: 0;
    border: none;
}

.gbhc-param-sound-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.55rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(201, 169, 98, 0.28);
    border-radius: 10px;
    background: rgba(245, 240, 230, 0.04);
}

.gbhc-param-sound-label {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    flex: 1 1 auto;
    min-width: 0;
    cursor: pointer;
    color: #f5f0e6;
}

.gbhc-param-sound-label input {
    margin-top: 0.2rem;
    accent-color: #c9a962;
}

.gbhc-param-sound-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.gbhc-param-sound-meta strong {
    font-size: 0.92rem;
    color: #d4af37;
}

.gbhc-param-sound-meta span {
    font-size: 0.78rem;
    color: rgba(245, 240, 230, 0.7);
}

.gbhc-param-preview {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    border: 1px solid rgba(201, 169, 98, 0.45);
    background: rgba(201, 169, 98, 0.14);
    color: #d4af37;
    font-size: 0.8rem;
    cursor: pointer;
}

.gbhc-param-preview:hover,
.gbhc-param-preview:focus-visible {
    background: rgba(201, 169, 98, 0.28);
    outline: none;
}

.gbhc-param-saved {
    margin: 0 0 0.75rem;
    color: #86efac;
    font-size: 0.85rem;
}

.gbhc-param-saved[hidden] {
    display: none;
}

.site-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--topbar-h, 52px);
    background: rgba(8, 8, 10, 0.92);
    border-bottom: 1px solid rgba(201, 169, 98, 0.35);
    backdrop-filter: blur(8px);
    overflow: visible;
}

.site-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left));
    gap: 0.75rem;
    position: relative;
}

.site-topbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 0 1 auto;
}

.site-topbar-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(201, 169, 98, 0.4);
    border-radius: 8px;
    background: rgba(12, 12, 14, 0.88);
    cursor: pointer;
    flex-shrink: 0;
}

.site-topbar-burger:hover,
.site-topbar-burger:focus-visible {
    border-color: rgba(212, 175, 55, 0.7);
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.35);
}

.site-topbar-burger-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #d4af37;
    border-radius: 1px;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.site-topbar-burger.is-open .site-topbar-burger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-topbar-burger.is-open .site-topbar-burger-bar:nth-child(2) {
    opacity: 0;
}

.site-topbar-burger.is-open .site-topbar-burger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-topbar-menu {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.75rem;
}

.site-topbar-name {
    color: #d4af37;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.site-topbar-user {
    color: rgba(245, 240, 230, 0.75);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 10rem;
}

.hub-login-switch {
    margin: 1rem 0 0;
    text-align: center;
    color: rgba(201, 169, 98, 0.75);
    font-size: 0.95rem;
}

.hub-login-switch a {
    color: #d4af37;
    text-decoration: none;
}

.hub-login-switch a:hover,
.hub-login-switch a:focus-visible {
    text-decoration: underline;
    outline: none;
}

.gbhc-age-rules {
    margin: 0 0 1rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(201, 169, 98, 0.35);
    border-radius: 10px;
    background: rgba(8, 8, 10, 0.55);
    text-align: left;
}

.gbhc-age-rules-title {
    margin: 0 0 0.45rem;
    color: #d4af37;
    font-size: 0.95rem;
    font-weight: 700;
}

.gbhc-age-rules-list {
    margin: 0;
    padding-left: 1.15rem;
    color: rgba(245, 240, 230, 0.88);
    font-size: 0.82rem;
    line-height: 1.45;
}

.gbhc-age-rules-list li + li {
    margin-top: 0.35rem;
}

.gbhc-age-confirm {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0.85rem 0 1rem;
    padding: 0.65rem 0.7rem;
    border: 1px solid rgba(201, 169, 98, 0.4);
    border-radius: 10px;
    background: rgba(201, 169, 98, 0.08);
    color: #f5f0e6;
    font-size: 0.86rem;
    line-height: 1.4;
    cursor: pointer;
    text-align: left;
}

.gbhc-age-confirm input {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    accent-color: #c9a962;
}

.hub-login-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.gbhc-infos-intro {
    margin: 0 0 1rem;
    color: rgba(201, 169, 98, 0.85);
    font-size: 0.95rem;
    line-height: 1.45;
    text-align: center;
}

.gbhc-setup-back {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
}

.gbhc-setup-back:hover,
.gbhc-setup-back:focus-visible {
    text-decoration: underline;
    outline: none;
}

.gbhc-infos-box {
    max-width: 720px;
    width: 100%;
}

.gbhc-infos-about {
    min-height: 7rem;
    resize: vertical;
    font-family: inherit;
}

select.hub-login-input {
    appearance: auto;
    cursor: pointer;
}

select.hub-login-input.gbhc-looking-select {
    width: auto;
    max-width: 15rem;
    min-width: 11rem;
    display: block;
}

.gbhc-city-wrap {
    position: relative;
    width: 100%;
}

.gbhc-city-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 200;
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
    max-height: 220px;
    overflow-y: auto;
    background: rgba(12, 12, 14, 0.96);
    border: 1px solid rgba(201, 169, 98, 0.45);
    border-radius: 6px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.gbhc-city-suggest-item {
    padding: 0.55rem 0.85rem;
    color: #f5f0e6;
    cursor: pointer;
    font-size: 0.95rem;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.gbhc-city-suggest-item:hover,
.gbhc-city-suggest-item.is-active,
.gbhc-city-suggest-item:focus-visible {
    background: rgba(201, 169, 98, 0.18);
    color: #d4af37;
    outline: none;
}

.gbhc-setup-box {
    max-width: 720px;
    width: 100%;
}

/* Libellés champs — même jaune que l’étape 2 */
.gbhc-setup .hub-login-label,
.gbhc-setup legend.hub-login-label,
.gbhc-setup .gbhc-check-group-title,
.gbhc-setup .gbhc-photo-section-title,
.gbhc-setup .gbhc-check-hint,
.gbhc-setup .gbhc-appear-field .hub-login-label,
.gbhc-profil .gbhc-profil-fact-lab {
    color: var(--gbhc-label) !important;
}

/* Titres de cadres / sections — jaune vif (étapes + fiche profil) */
.gbhc-setup legend.hub-login-label,
.gbhc-profil .gbhc-profil-section-title {
    color: #d4af37 !important;
}

.gbhc-setup .hub-login-title {
    color: var(--gbhc-label);
}

.gbhc-setup .hub-login-box.gbhc-setup-box,
.gbhc-setup .hub-login-box.gbhc-infos-box {
    max-width: 720px;
    width: min(720px, 100%);
}

.gbhc-setup-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
}

.gbhc-setup-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.45rem 0.6rem;
    text-decoration: none;
    color: rgba(245, 240, 230, 0.7);
    border: 1px solid rgba(201, 169, 98, 0.28);
    border-radius: 6px;
    font-size: 0.9rem;
}

.gbhc-setup-tab.is-active {
    color: #d4af37;
    border-color: rgba(201, 169, 98, 0.7);
    background: rgba(201, 169, 98, 0.12);
}

.gbhc-setup-tab.is-done:not(.is-active) {
    color: rgba(201, 169, 98, 0.9);
}

.gbhc-setup-tab.is-locked {
    opacity: 0.45;
    pointer-events: none;
}

.gbhc-photo-tabs {
    display: flex;
    gap: 0.45rem;
    margin: 0 0 1rem;
}

.gbhc-photo-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.4rem 0.55rem;
    text-decoration: none;
    color: rgba(245, 240, 230, 0.75);
    border: 1px solid rgba(201, 169, 98, 0.28);
    border-radius: 6px;
    font-size: 0.88rem;
}

.gbhc-photo-tab.is-active {
    color: #d4af37;
    border-color: rgba(201, 169, 98, 0.7);
    background: rgba(201, 169, 98, 0.12);
}

.gbhc-photo-section-title {
    margin: 0 0 0.35rem;
    color: var(--gbhc-label);
    font-size: 1.05rem;
    font-weight: 600;
}

.gbhc-photo-preview-wrap {
    margin: 0.75rem 0;
    text-align: center;
}

.gbhc-photo-preview {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(201, 169, 98, 0.4);
}

.gbhc-photo-upload-form {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.gbhc-photo-file {
    padding: 0.45rem;
}

.gbhc-album-grid {
    list-style: none;
    margin: 0.75rem 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.gbhc-album-pills,
.gbhc-album-tiles {
    list-style: none;
    margin: 0.85rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem;
}

.gbhc-album-pill {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 169, 98, 0.45);
    background: rgba(12, 12, 14, 0.72);
    color: #f5f0e6;
    font-size: 0.92rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

a.gbhc-album-pill:hover,
a.gbhc-album-pill:focus-visible {
    border-color: #d4af37;
    background: rgba(201, 169, 98, 0.16);
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Pastille album = carré mosaïque (comme photo de profil) */
.gbhc-album-tile {
    position: relative;
    display: block;
    width: 150px;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 98, 0.45);
    background: rgba(12, 12, 14, 0.88);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    text-decoration: none;
    line-height: 0;
}

a.gbhc-album-tile:hover,
a.gbhc-album-tile:focus-visible {
    border-color: #d4af37;
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

.gbhc-album-mosaic {
    display: grid;
    width: 100%;
    height: 100%;
    gap: 2px;
    background: #0a0a0c;
}

.gbhc-album-mosaic.is-one {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.gbhc-album-mosaic.is-two {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

.gbhc-album-mosaic.is-three {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.gbhc-album-mosaic.is-three img:first-child {
    grid-row: 1 / span 2;
}

.gbhc-album-mosaic.is-four {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.gbhc-album-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gbhc-album-mosaic-empty {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(28, 28, 32, 0.98), rgba(12, 12, 14, 0.98));
}

.gbhc-album-tile.is-locked .gbhc-album-mosaic img {
    filter: blur(10px);
    transform: scale(1.12);
}

.gbhc-album-tile-lock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 4, 6, 0.42);
    pointer-events: none;
}

.gbhc-album-tile-lock::before {
    content: '';
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.85);
    background:
        linear-gradient(rgba(212, 175, 55, 0.95), rgba(212, 175, 55, 0.95)) center 42% / 0.35rem 0.7rem no-repeat,
        radial-gradient(circle at 50% 38%, transparent 0 0.28rem, rgba(212, 175, 55, 0.95) 0.28rem 0.42rem, transparent 0.43rem);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.gbhc-album-tile-add-wrap {
    position: relative;
}

.gbhc-album-tile-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    margin: 0;
    padding: 0;
    border-radius: 14px;
    border: 1px dashed rgba(201, 169, 98, 0.65);
    background: rgba(12, 12, 14, 0.55);
    color: #d4af37;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.gbhc-album-tile-add:hover,
.gbhc-album-tile-add:focus-visible,
.gbhc-album-tile-add.is-open {
    border-style: solid;
    background: rgba(201, 169, 98, 0.16);
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

.gbhc-album-open-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.gbhc-album-back {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.2rem 0;
    color: #d4af37;
    text-decoration: none;
    font-size: 0.9rem;
}

.gbhc-album-back:hover,
.gbhc-album-back:focus-visible {
    text-decoration: underline;
    outline: none;
}

.gbhc-album-pill.is-public {
    border-color: rgba(201, 169, 98, 0.55);
}

.gbhc-album-pill.is-private {
    border-color: rgba(160, 160, 170, 0.55);
    color: rgba(245, 240, 230, 0.88);
}

.gbhc-album-pill.is-private::before {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    margin-right: 0.45rem;
    border-radius: 50%;
    background: rgba(180, 180, 190, 0.85);
    box-shadow: 0 0 0 2px rgba(180, 180, 190, 0.25);
}

.gbhc-album-pill-add-wrap {
    position: relative;
    flex: 1 1 100%;
}

.gbhc-album-create {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
}

.gbhc-album-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    border: 1px dashed rgba(201, 169, 98, 0.65);
    background: rgba(12, 12, 14, 0.55);
    color: #d4af37;
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    -webkit-appearance: none;
    appearance: none;
}

.gbhc-album-add:hover,
.gbhc-album-add:focus-visible,
.gbhc-album-add.is-open {
    border-style: solid;
    background: rgba(201, 169, 98, 0.16);
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

.gbhc-album-create-choices {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: min(100%, 16rem);
    padding: 0.65rem;
    border-radius: 10px;
    border: 1px solid rgba(201, 169, 98, 0.45);
    background: rgba(8, 8, 10, 0.98);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.gbhc-album-create-choices[hidden] {
    display: none !important;
}

.gbhc-album-create-choices form {
    margin: 0;
}

.gbhc-album-create-choice {
    display: block;
    min-height: 48px;
    width: 100%;
    margin: 0;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(201, 169, 98, 0.45);
    background: rgba(28, 28, 32, 0.98);
    color: #f5f0e6 !important;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
    cursor: pointer;
    text-align: left;
    -webkit-appearance: none;
    appearance: none;
}

.gbhc-album-create-choice.is-private {
    border-color: rgba(160, 160, 170, 0.55);
}

.gbhc-album-create-choice:hover,
.gbhc-album-create-choice:focus-visible {
    border-color: #d4af37;
    background: rgba(201, 169, 98, 0.18);
    outline: 2px solid #d4af37;
    outline-offset: 1px;
}

.gbhc-album-item {
    position: relative;
    width: 100px;
    height: 100px;
}

.gbhc-album-photo-zoom {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    line-height: 0;
    font: inherit;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
}

.gbhc-album-photo-zoom:focus-visible {
    outline: 2px solid rgba(212, 175, 55, 0.85);
    outline-offset: 2px;
}

.gbhc-album-photo-zoom img {
    pointer-events: none;
}

.gbhc-album-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(201, 169, 98, 0.35);
    display: block;
}

/* Filigrane anti-réutilisation — photos album */
.gbhc-album-wm {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
}

.gbhc-album-wm-user {
    display: block;
    max-width: 140%;
    padding: 0 0.25rem;
    color: rgba(255, 255, 255, 0.42);
    font-weight: 700;
    font-size: clamp(0.72rem, 2.8vw, 1.15rem);
    line-height: 1.05;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    transform: rotate(-32deg);
    user-select: none;
}

.gbhc-album-wm-site {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.2rem;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    user-select: none;
}

.gbhc-album-wm-tile .gbhc-album-wm-user {
    font-size: 0.95rem;
}

.gbhc-album-wm-tile .gbhc-album-wm-site {
    font-size: 0.5rem;
    bottom: 0.35rem;
}

.gbhc-album-share-ask {
    margin: 0;
    display: inline-flex;
}

.gbhc-album-share-ask-row {
    margin: 1rem 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.gbhc-album-share-ask-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    min-width: 5.5rem;
    margin: 0;
    padding: 0.7rem 1.25rem;
    border-radius: 10px;
    border: 1px solid rgba(201, 169, 98, 0.65);
    background: linear-gradient(135deg, #c9a962, #a88b3d);
    color: #1a1408;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.gbhc-album-share-ask-btn.is-no {
    background: rgba(12, 12, 14, 0.85);
    color: #f5f0e6;
    border-color: rgba(201, 169, 98, 0.45);
}

.gbhc-album-share-ask-btn:hover,
.gbhc-album-share-ask-btn:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

.gbhc-album-del {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #f5f0e6;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.gbhc-album-del:hover,
.gbhc-album-del:focus-visible {
    background: rgba(180, 40, 40, 0.9);
    outline: 2px solid #d4af37;
}

.gbhc-setup-tab-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    border: 1px solid currentColor;
    font-size: 0.8rem;
}

.gbhc-setup-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.gbhc-setup-btn-secondary,
.gbhc-setup-btn-ghost {
    min-height: 44px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
}

.gbhc-setup-btn-secondary {
    background: transparent;
    color: #d4af37;
    border: 1px solid rgba(201, 169, 98, 0.55);
}

.gbhc-setup-btn-ghost {
    background: transparent;
    color: rgba(245, 240, 230, 0.65);
    border: 1px solid transparent;
}

.gbhc-setup-btn-secondary:hover,
.gbhc-setup-btn-secondary:focus-visible,
.gbhc-setup-btn-ghost:hover,
.gbhc-setup-btn-ghost:focus-visible {
    color: #d4af37;
    border-color: rgba(201, 169, 98, 0.45);
    outline: none;
}

.gbhc-setup-soon {
    margin: 0.5rem 0 0;
    color: rgba(245, 240, 230, 0.85);
    line-height: 1.55;
    text-align: center;
}

.gbhc-check-fieldset {
    margin: 0.85rem 0 0.35rem;
    padding: 0.65rem 0.75rem 0.7rem;
    border: 1px solid rgba(201, 169, 98, 0.32);
    border-radius: 8px;
    background: rgba(8, 8, 10, 0.45);
}

.gbhc-check-fieldset .hub-login-label {
    margin: 0 0 0.25rem;
    font-size: 0.82rem;
}

.gbhc-check-hint {
    margin: 0 0 0.5rem;
    color: var(--gbhc-label);
    font-size: 0.72rem;
    line-height: 1.3;
}

.gbhc-check-group {
    margin: 0.55rem 0 0.15rem;
}

.gbhc-check-group:first-of-type {
    margin-top: 0.25rem;
}

.gbhc-check-group-title {
    margin: 0 0 0.35rem;
    color: var(--gbhc-label);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.gbhc-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem 0.55rem;
}

.gbhc-check-list > li {
    margin: 0;
    flex: 0 0 auto;
}

.gbhc-check-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 0;
    padding: 0.2rem 0.4rem;
    color: rgba(245, 240, 230, 0.92);
    font-size: 0.78rem;
    line-height: 1.2;
    border: 1px solid rgba(201, 169, 98, 0.22);
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

.gbhc-check-label:hover,
.gbhc-check-label:has(input:focus-visible) {
    border-color: rgba(201, 169, 98, 0.55);
}

.gbhc-check-label input {
    width: 0.85rem;
    height: 0.85rem;
    accent-color: #c9a962;
    flex-shrink: 0;
    margin: 0;
}

.gbhc-appear-fieldset {
    margin-top: 0.75rem;
}

.gbhc-appear-fieldset .gbhc-check-list {
    margin-bottom: 0.85rem;
}

.gbhc-appear-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.75rem;
    align-items: flex-end;
}

.gbhc-appear-field {
    flex: 1 1 8rem;
    min-width: 7rem;
}

.gbhc-appear-field .hub-login-label {
    margin-bottom: 0.25rem;
    font-size: 0.78rem;
}

.gbhc-appear-field .hub-login-input {
    font-size: 0.85rem;
    padding: 0.4rem 0.55rem;
    min-height: 2.1rem;
}


.site-topbar-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-topbar-end {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 0 0 auto;
}

.site-topbar-abonnement {
    margin: 0;
    flex: 0 1 auto;
    max-width: min(100%, 11.5rem);
}

.site-topbar-abonnement .gbhc-profil-abonnement-badge {
    min-height: 36px;
    padding: 0.25rem 0.65rem 0.25rem 0.5rem;
    border-radius: 8px;
    gap: 0.4rem;
}

.site-topbar-abonnement .gbhc-profil-abonnement-gem {
    width: 10px;
    height: 10px;
}

.site-topbar-abonnement .gbhc-profil-abonnement-name {
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-topbar-abonnement .gbhc-profil-abonnement-fin {
    font-size: 0.65rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.site-topbar-abonnement {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.site-topbar-abonnement:hover .gbhc-profil-abonnement-badge,
a.site-topbar-abonnement:focus-visible .gbhc-profil-abonnement-badge {
    filter: brightness(1.12);
    outline: 2px solid rgba(212, 175, 55, 0.55);
    outline-offset: 2px;
}

.site-topbar-links-end {
    margin-left: auto;
    flex: 0 0 auto;
}

.site-topbar-logout {
    flex: 0 0 auto;
    border-color: rgba(201, 169, 98, 0.35);
    color: #d4af37;
}

.site-topbar-link {
    color: #f5f0e6;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0 0.7rem;
    border-radius: 4px;
    border: 1px solid transparent;
    box-sizing: border-box;
    height: calc(var(--topbar-h, 52px) - 12px);
    min-height: 0;
    max-height: calc(var(--topbar-h, 52px) - 12px);
    display: inline-flex;
    align-items: center;
}

.site-topbar-link:hover,
.site-topbar-link:focus-visible,
.site-topbar-link.is-active {
    color: #d4af37;
    border-color: rgba(201, 169, 98, 0.45);
    outline: none;
}

.site-topbar-logout:hover,
.site-topbar-logout:focus-visible {
    color: #f5f0e6;
    border-color: rgba(212, 175, 55, 0.65);
    outline: none;
}

.gbhc-presentation {
    position: relative;
    z-index: 50;
    max-width: 720px;
    margin: 0 auto;
    padding: calc(10vh) max(16px, env(safe-area-inset-right)) 3rem max(16px, env(safe-area-inset-left));
}

.gbhc-presentation-inner {
    text-align: center;
}

.gbhc-presentation-title {
    margin: 0.75rem 0 0.5rem;
    color: #d4af37;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.gbhc-presentation-tagline {
    margin: 0 0 1.75rem;
    color: rgba(201, 169, 98, 0.85);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.45;
}

.gbhc-presentation-body {
    text-align: left;
    color: #f5f0e6;
    font-size: 1.05rem;
    line-height: 1.7;
}

.gbhc-presentation-body p {
    margin: 0 0 1.1rem;
}

.gbhc-presentation-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 800px) {
    .gbhc-presentation {
        padding-top: 2.5rem;
    }

    .site-topbar-inner {
        gap: 0.5rem;
    }
}

.gbhc-home {
    position: relative;
    z-index: 50;
    max-width: 1100px;
    margin: 0 auto;
    padding: calc(6vh) max(16px, env(safe-area-inset-right)) 3rem max(16px, env(safe-area-inset-left));
}

.gbhc-latest {
    margin-top: 2.5rem;
}

.gbhc-latest-title {
    margin: 0 0 1.25rem;
    text-align: center;
    color: #d4af37;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 600;
}

.gbhc-latest-empty {
    text-align: center;
    color: rgba(201, 169, 98, 0.75);
}

.gbhc-latest-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.gbhc-latest-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 0;
    background: rgba(12, 12, 14, 0.72);
    border: 1px solid rgba(201, 169, 98, 0.28);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gbhc-latest-card:has(.gbhc-latest-card-link:hover),
.gbhc-latest-card:has(.gbhc-latest-card-link:focus-visible) {
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25);
}

.gbhc-latest-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 0.85rem 0.6rem 1rem;
    min-height: 44px;
    outline: none;
}

.gbhc-latest-card-link:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: -2px;
}

.gbhc-latest-photo-wrap {
    display: inline-flex;
    line-height: 0;
    margin-top: 0.45rem;
}

.gbhc-latest-card-link:hover .gbhc-latest-photo,
.gbhc-latest-card-link:focus-visible .gbhc-latest-photo {
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.35);
}

.gbhc-latest-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(201, 169, 98, 0.45);
    background: #1a1a1e;
    box-sizing: border-box;
}

/* Cercle photo = couleur d’abonnement (visible aux autres · pas le libellé texte) */
.gbhc-abo-ring.is-aucun .gbhc-latest-photo,
.gbhc-abo-ring.is-aucun .gbhc-profil-photo {
    border-color: #8b93a1;
    box-shadow: 0 0 0 2px rgba(120, 130, 145, 0.35);
}

.gbhc-abo-ring.is-bronze .gbhc-latest-photo,
.gbhc-abo-ring.is-bronze .gbhc-profil-photo {
    border-color: #c4803a;
    box-shadow: 0 0 0 2px rgba(196, 128, 58, 0.45);
}

.gbhc-abo-ring.is-argent .gbhc-latest-photo,
.gbhc-abo-ring.is-argent .gbhc-profil-photo {
    border-color: #c8d2dc;
    box-shadow: 0 0 0 2px rgba(180, 190, 205, 0.5);
}

.gbhc-abo-ring.is-or .gbhc-latest-photo,
.gbhc-abo-ring.is-or .gbhc-profil-photo {
    border-color: #e8c450;
    box-shadow: 0 0 0 2px rgba(232, 196, 80, 0.55);
}

.gbhc-profil-photo-box.gbhc-abo-ring.is-aucun {
    box-shadow: 0 0 0 3px #8b93a1, 0 8px 24px rgba(0, 0, 0, 0.35);
}

.gbhc-profil-photo-box.gbhc-abo-ring.is-bronze {
    box-shadow: 0 0 0 3px #c4803a, 0 8px 24px rgba(0, 0, 0, 0.35);
}

.gbhc-profil-photo-box.gbhc-abo-ring.is-argent {
    box-shadow: 0 0 0 3px #c8d2dc, 0 8px 24px rgba(0, 0, 0, 0.35);
}

.gbhc-profil-photo-box.gbhc-abo-ring.is-or {
    box-shadow: 0 0 0 3px #e8c450, 0 8px 24px rgba(0, 0, 0, 0.35);
}

.gbhc-profil-photo-wrap > .gbhc-abo-ring:not(.gbhc-profil-photo-box) {
    display: inline-flex;
    line-height: 0;
    border-radius: 14px;
}

.gbhc-latest-presence {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    max-width: 100%;
    min-height: 22px;
    padding: 0.2rem 0.55rem 0.2rem 0.4rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    border: 1px solid transparent;
    background: rgba(8, 8, 10, 0.55);
}

.gbhc-latest-presence .gbhc-profil-presence-dot {
    width: 7px;
    height: 7px;
}

.gbhc-latest-presence-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gbhc-latest-presence.is-connecte {
    border-color: rgba(52, 211, 153, 0.55);
    color: #6ee7b7;
}

.gbhc-latest-presence.is-connecte .gbhc-profil-presence-dot {
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.28);
}

.gbhc-latest-presence.is-absent {
    border-color: rgba(251, 146, 60, 0.65);
    color: #fdba74;
}

.gbhc-latest-presence.is-absent .gbhc-profil-presence-dot {
    background: #f97316;
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.28);
}

.gbhc-latest-presence.is-deconnecte {
    border-color: rgba(248, 113, 113, 0.65);
    color: #fca5a5;
}

.gbhc-latest-presence.is-deconnecte .gbhc-profil-presence-dot {
    background: #ef4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.28);
}

.gbhc-latest-avail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.45rem;
    min-height: 22px;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 169, 98, 0.4);
    background: rgba(8, 8, 10, 0.45);
    color: rgba(245, 240, 230, 0.88);
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1;
}

.gbhc-latest-avail.is-now {
    border-color: rgba(212, 175, 55, 0.7);
    background: rgba(212, 175, 55, 0.14);
    color: #d4af37;
}

.gbhc-photos-blurred .gbhc-latest-photo,
.gbhc-profil-photo.is-blurred {
    filter: blur(10px);
    transform: scale(1.05);
}

.gbhc-latest-info {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    width: 100%;
}

.gbhc-latest-name {
    color: #f5f0e6;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.gbhc-latest-card-link:hover .gbhc-latest-name,
.gbhc-latest-card-link:focus-visible .gbhc-latest-name {
    color: #d4af37;
}

.gbhc-latest-meta {
    color: rgba(201, 169, 98, 0.8);
    font-size: 0.78rem;
    line-height: 1.35;
}

.gbhc-hashtag {
    display: inline-block;
    color: #d4af37;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.gbhc-latest-looking {
    color: rgba(212, 175, 55, 0.95);
    font-size: 0.72rem;
    line-height: 1.3;
    margin-top: 0.15rem;
}


.gbhc-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin: 1.5rem 0 0.5rem;
}

.gbhc-pager-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0.35rem 0.7rem;
    color: #f5f0e6;
    text-decoration: none;
    border: 1px solid rgba(201, 169, 98, 0.35);
    border-radius: 6px;
    font-size: 0.9rem;
}

.gbhc-pager-link:hover,
.gbhc-pager-link:focus-visible {
    color: #d4af37;
    border-color: rgba(201, 169, 98, 0.7);
    outline: none;
}

.gbhc-pager-link.is-active {
    color: #040406;
    background: linear-gradient(135deg, #c9a962, #a88b3d);
    border-color: transparent;
    font-weight: 600;
}

.gbhc-pager-link.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.gbhc-pager-meta {
    margin: 0;
    text-align: center;
    color: rgba(201, 169, 98, 0.7);
    font-size: 0.85rem;
}

.gbhc-profil {
    position: relative;
    z-index: 50;
    max-width: 820px;
    margin: 0 auto;
    padding: calc(52px + 3vh) max(16px, env(safe-area-inset-right)) 2.5rem max(16px, env(safe-area-inset-left));
}

.gbhc-profil-card {
    position: relative;
    text-align: left;
    padding: 1.5rem 1.5rem 1.65rem;
    background: rgba(12, 12, 14, 0.94);
    border: 1px solid rgba(201, 169, 98, 0.35);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.gbhc-profil-card.has-tabs {
    padding: 0;
    border-radius: 0 16px 16px 16px;
    overflow: hidden;
}

.gbhc-profil-card-body {
    padding: 0;
}

.gbhc-profil-card.has-tabs .gbhc-profil-card-body {
    padding: 1.35rem 1.5rem 1.65rem;
}

.gbhc-profil-tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 0.35rem;
    margin: 0;
    padding: 0.55rem 0.5rem 0 0;
    list-style: none;
    width: 100%;
    box-sizing: border-box;
    background: rgba(12, 12, 14, 0.94);
    border-bottom: 1px solid rgba(201, 169, 98, 0.35);
    border-radius: 0 16px 0 0;
    overflow: hidden;
}

.gbhc-profil-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    z-index: 1;
    min-height: 44px;
    min-width: 6rem;
    padding: 0.55rem 1.25rem;
    margin: 0;
    text-decoration: none;
    color: rgba(201, 169, 98, 0.72);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    border: 1px solid rgba(201, 169, 98, 0.4);
    border-bottom: none;
    /* gauche = angle 90° (comme le cadre) · droite = arrondi */
    border-radius: 0 18px 0 0;
    background: rgba(22, 20, 18, 0.98);
    background-clip: padding-box;
    box-sizing: border-box;
    box-shadow: inset 0 1px 0 rgba(212, 175, 55, 0.1);
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease, filter 0.15s ease;
}

.gbhc-profil-tab:first-child {
    margin-left: 0;
    z-index: 3;
}

.gbhc-profil-tab:nth-child(2) {
    z-index: 2;
}

.gbhc-profil-tab:nth-child(3),
.gbhc-profil-tab:nth-child(4) {
    z-index: 1;
}

a.gbhc-profil-tab:hover,
a.gbhc-profil-tab:focus-visible {
    color: #f5f0e6;
    border-color: rgba(212, 175, 55, 0.65);
    background: rgba(40, 34, 18, 0.98);
    outline: none;
    filter: brightness(1.06);
    z-index: 4;
}

.gbhc-profil-tab.is-active {
    z-index: 5;
    color: #d4af37;
    border-color: rgba(201, 169, 98, 0.6);
    background: rgba(12, 12, 14, 0.94);
    box-shadow:
        inset 0 1px 0 rgba(212, 175, 55, 0.22),
        0 -2px 12px rgba(212, 175, 55, 0.12);
    cursor: default;
    filter: none;
}

.gbhc-profil-tab.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 3px;
    background: rgba(12, 12, 14, 0.94);
}

.gbhc-param-subtitle {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.gbhc-profil-parametres .gbhc-param-intro {
    margin: 0 0 1rem;
}

.gbhc-profil-album-hint {
    margin: 0 0 0.75rem;
    color: rgba(201, 169, 98, 0.75);
    font-size: 0.85rem;
}

.gbhc-profil-blocked-empty {
    margin: 0.35rem 0 0;
    color: rgba(201, 169, 98, 0.75);
    font-size: 0.92rem;
}

.gbhc-profil-blocked-list {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.gbhc-profil-blocked-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(201, 169, 98, 0.28);
    border-radius: 10px;
    background: rgba(245, 240, 230, 0.04);
}

.gbhc-profil-blocked-link {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #f5f0e6;
}

.gbhc-profil-blocked-photo {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(201, 169, 98, 0.4);
    background: #1a1a1e;
}

.gbhc-profil-blocked-name {
    font-weight: 600;
    color: #d4af37;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gbhc-profil-blocked-form {
    flex: 0 0 auto;
    margin: 0;
}

.gbhc-profil-unblock-btn {
    min-height: 40px;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(248, 113, 113, 0.45);
    border-radius: 8px;
    background: rgba(248, 113, 113, 0.12);
    color: #fca5a5;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.gbhc-profil-unblock-btn:hover,
.gbhc-profil-unblock-btn:focus-visible {
    background: rgba(248, 113, 113, 0.22);
    border-color: rgba(248, 113, 113, 0.75);
    outline: none;
}

.gbhc-profil-head {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.gbhc-profil-photo-wrap {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    width: 150px;
}

.gbhc-profil-edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 36px;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
    border: 1px solid rgba(201, 169, 98, 0.5);
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.22), rgba(168, 139, 61, 0.12));
    color: #d4af37;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
}

.gbhc-profil-edit-btn:hover,
.gbhc-profil-edit-btn:focus-visible {
    border-color: rgba(212, 175, 55, 0.85);
    color: #f5f0e6;
    outline: none;
}

.gbhc-profil-marital-view {
    margin: 0;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    line-height: 1.3;
}

.gbhc-profil-marital-lab {
    color: rgba(201, 169, 98, 0.72);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gbhc-profil-marital-val {
    color: #d4af37;
    font-size: 0.88rem;
    font-weight: 600;
}

.gbhc-profil-photo-box {
    position: relative;
    display: block;
    width: 150px;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.gbhc-profil-photo-box .gbhc-profil-photo {
    width: 100%;
    height: 100%;
}

.gbhc-profil-photo-zoom-trigger {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    line-height: 0;
    font: inherit;
    color: inherit;
}

.gbhc-profil-photo-zoom-trigger:focus-visible {
    outline: 2px solid rgba(212, 175, 55, 0.85);
    outline-offset: 2px;
}

.gbhc-profil-photo-zoom-trigger .gbhc-profil-photo {
    pointer-events: none;
}

/* Lightbox zoom photo (profil visité) */
body.gbhc-lightbox-open {
    overflow: hidden;
}

.gbhc-photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.gbhc-photo-lightbox[hidden] {
    display: none !important;
}

.gbhc-photo-lightbox.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.gbhc-photo-lightbox.is-leaving {
    opacity: 0;
    pointer-events: none;
}

.gbhc-photo-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 6, 0.88);
    cursor: pointer;
}

.gbhc-photo-lightbox-panel {
    position: relative;
    z-index: 1;
    max-width: min(92vw, 720px);
    max-height: min(88vh, 900px);
    transform: scale(0.88) translateY(12px);
    opacity: 0;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.gbhc-photo-lightbox.is-visible .gbhc-photo-lightbox-panel {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.gbhc-photo-lightbox.is-leaving .gbhc-photo-lightbox-panel {
    transform: scale(0.92) translateY(8px);
    opacity: 0;
}

.gbhc-photo-lightbox-frame {
    position: relative;
    display: inline-block;
    max-width: 100%;
    line-height: 0;
    border-radius: 14px;
    overflow: hidden;
}

.gbhc-photo-lightbox-img {
    display: block;
    max-width: 100%;
    max-height: min(88vh, 900px);
    width: auto;
    height: auto;
    border-radius: 14px;
    border: 2px solid rgba(212, 175, 55, 0.55);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    object-fit: contain;
    background: #121214;
}

.gbhc-album-wm-lightbox .gbhc-album-wm-user {
    font-size: clamp(1.6rem, 6vw, 3.2rem);
    color: rgba(255, 255, 255, 0.38);
}

.gbhc-album-wm-lightbox .gbhc-album-wm-site {
    font-size: 0.7rem;
    bottom: 0.55rem;
    color: rgba(255, 255, 255, 0.4);
}

.gbhc-photo-lightbox-close {
    position: absolute;
    top: -0.55rem;
    right: -0.55rem;
    z-index: 2;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.65);
    background: rgba(8, 8, 10, 0.92);
    color: #d4af37;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.gbhc-photo-lightbox-close:hover,
.gbhc-photo-lightbox-close:focus-visible {
    background: rgba(40, 32, 12, 0.95);
    outline: 2px solid rgba(212, 175, 55, 0.7);
    outline-offset: 2px;
}

.gbhc-profil-photo {
    display: block;
    width: 150px;
    height: 150px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid rgba(212, 175, 55, 0.55);
    background: #1a1a1e;
}

.gbhc-profil-photo.is-blurred {
    filter: blur(10px);
}

.gbhc-profil-photo-form {
    margin: 0;
    position: absolute;
    right: 0.4rem;
    bottom: 0.4rem;
    z-index: 3;
    line-height: 0;
}

.gbhc-profil-cam {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(8, 8, 10, 0.45);
    border: 1px solid rgba(245, 240, 230, 0.35);
    color: rgba(245, 240, 230, 0.9);
    cursor: pointer;
    backdrop-filter: blur(2px);
    transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
    opacity: 0.7;
}

.gbhc-profil-cam:hover,
.gbhc-profil-cam:focus-within {
    opacity: 1;
    background: rgba(8, 8, 10, 0.7);
    border-color: rgba(212, 175, 55, 0.75);
    color: #d4af37;
    outline: none;
}

.gbhc-profil-cam-icon {
    display: block;
}

.gbhc-profil-chat-btn {
    position: absolute;
    right: 0.4rem;
    bottom: 0.4rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(201, 169, 98, 0.95), rgba(140, 110, 40, 0.95));
    border: 2px solid rgba(245, 240, 230, 0.85);
    color: #1a1408;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    font: inherit;
}

.gbhc-profil-chat-btn:hover,
.gbhc-profil-chat-btn:focus-visible {
    filter: brightness(1.1);
    outline: 2px solid rgba(212, 175, 55, 0.85);
    outline-offset: 2px;
}

.gbhc-profil-chat-icon {
    display: block;
}

.gbhc-profil-photo-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.gbhc-profil-head-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.gbhc-profil-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.gbhc-profil-identity {
    min-width: 0;
    flex: 1 1 12rem;
}

.gbhc-profil-name {
    margin: 0;
    color: #d4af37;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 600;
    line-height: 1.1;
}

.gbhc-profil-basics {
    margin: 0.35rem 0 0;
    color: rgba(201, 169, 98, 0.9);
    font-size: 0.95rem;
    line-height: 1.4;
}

.gbhc-profil-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex: 0 1 auto;
}

.gbhc-profil-presence-form,
.gbhc-profil-avail-form {
    margin: 0;
}

.gbhc-profil-presence {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 34px;
    padding: 0.3rem 0.8rem 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    font-family: inherit;
    line-height: 1;
}

.gbhc-profil-presence.is-connecte {
    border-color: rgba(52, 211, 153, 0.55);
    background: rgba(16, 185, 129, 0.16);
    color: #6ee7b7;
}

.gbhc-profil-presence.is-connecte .gbhc-profil-presence-dot {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.gbhc-profil-presence.is-absent {
    border-color: rgba(251, 146, 60, 0.65);
    background: rgba(249, 115, 22, 0.16);
    color: #fdba74;
}

.gbhc-profil-presence.is-absent .gbhc-profil-presence-dot {
    background: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.28);
}

.gbhc-profil-presence.is-deconnecte {
    border-color: rgba(248, 113, 113, 0.65);
    background: rgba(239, 68, 68, 0.16);
    color: #fca5a5;
}

.gbhc-profil-presence.is-deconnecte .gbhc-profil-presence-dot {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.28);
}

.gbhc-profil-presence-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.gbhc-profil-presence.is-clickable {
    cursor: pointer;
    min-height: 40px;
}

.gbhc-profil-presence.is-clickable:hover,
.gbhc-profil-presence.is-clickable:focus-visible {
    filter: brightness(1.12);
    outline: none;
}

.gbhc-profil-avail-select {
    display: block;
    min-width: 9rem;
    min-height: 34px;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 169, 98, 0.5);
    background: rgba(8, 8, 10, 0.8);
    color: #d4af37;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.gbhc-profil-avail-select:hover,
.gbhc-profil-avail-select:focus-visible {
    border-color: rgba(212, 175, 55, 0.85);
    outline: none;
}

.gbhc-profil-avail-select option {
    background: #121214;
    color: #f5f0e6;
}

.gbhc-profil-avail-view {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 169, 98, 0.45);
    background: rgba(8, 8, 10, 0.75);
    color: #d4af37;
    font-size: 0.8rem;
    font-weight: 600;
}

.gbhc-profil-avail-view.is-now {
    border-color: rgba(212, 175, 55, 0.8);
    background: rgba(212, 175, 55, 0.16);
}

.gbhc-profil-looking {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    align-items: baseline;
}

.gbhc-profil-looking-lab {
    margin: 0;
    color: rgba(201, 169, 98, 0.72);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gbhc-profil-looking-val {
    color: #f5f0e6;
    font-size: 0.92rem;
}

.gbhc-profil-about {
    margin: 0;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(201, 169, 98, 0.18);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(245, 240, 230, 0.92);
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.gbhc-profil-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.15rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(201, 169, 98, 0.16);
}

.gbhc-profil-abonnement {
    margin: 0;
}

.gbhc-profil-abonnement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
    min-height: 40px;
    padding: 0.35rem 0.8rem 0.35rem 0.6rem;
    border-radius: 10px;
    border: 1px solid transparent;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    text-align: left;
}

.gbhc-profil-abonnement-gem {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    transform: rotate(45deg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.gbhc-profil-abonnement-txt {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
}

.gbhc-profil-abonnement-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.15;
}

.gbhc-profil-abonnement-fin {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.82;
    line-height: 1.2;
}

.gbhc-profil-abonnement.is-aucun .gbhc-profil-abonnement-badge {
    border-color: rgba(120, 130, 145, 0.4);
    background: linear-gradient(160deg, rgba(70, 78, 92, 0.55), rgba(40, 44, 52, 0.75));
    color: #b8c0cc;
}

.gbhc-profil-abonnement.is-aucun .gbhc-profil-abonnement-gem {
    background: linear-gradient(135deg, #9aa3b2, #6b7280);
}

.gbhc-profil-abonnement.is-bronze .gbhc-profil-abonnement-badge {
    border-color: rgba(196, 128, 58, 0.7);
    background: linear-gradient(145deg, rgba(120, 72, 28, 0.75), rgba(70, 40, 16, 0.9));
    color: #f0c49a;
    box-shadow: 0 4px 16px rgba(120, 70, 25, 0.35), inset 0 1px 0 rgba(255, 210, 150, 0.18);
}

.gbhc-profil-abonnement.is-bronze .gbhc-profil-abonnement-gem {
    background: linear-gradient(135deg, #e0a86a, #8b5a2b);
}

.gbhc-profil-abonnement.is-argent .gbhc-profil-abonnement-badge {
    border-color: rgba(200, 210, 220, 0.7);
    background: linear-gradient(145deg, rgba(130, 140, 155, 0.45), rgba(55, 62, 75, 0.9));
    color: #f1f5f9;
    box-shadow: 0 4px 16px rgba(80, 90, 110, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.gbhc-profil-abonnement.is-argent .gbhc-profil-abonnement-gem {
    background: linear-gradient(135deg, #f8fafc, #94a3b8);
}

.gbhc-profil-abonnement.is-or .gbhc-profil-abonnement-badge {
    border-color: rgba(232, 196, 80, 0.85);
    background: linear-gradient(145deg, rgba(180, 140, 40, 0.55), rgba(90, 65, 18, 0.92));
    color: #ffe9a8;
    box-shadow: 0 4px 18px rgba(180, 140, 40, 0.4), inset 0 1px 0 rgba(255, 236, 170, 0.3);
}

.gbhc-profil-abonnement.is-or .gbhc-profil-abonnement-gem {
    background: linear-gradient(135deg, #ffe08a, #c9a227);
}

/* Page abonnement */
.gbhc-abo-box {
    max-width: 28rem;
    width: min(100%, 28rem);
}

.gbhc-abo-current {
    margin: 0 0 1rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(201, 169, 98, 0.28);
    background: rgba(8, 8, 10, 0.45);
    color: #e8dfc8;
    font-size: 0.95rem;
}

.gbhc-abo-current-fin {
    display: block;
    margin-top: 0.25rem;
    color: rgba(201, 169, 98, 0.75);
    font-size: 0.85rem;
}

.gbhc-abo-intro,
.gbhc-abo-locked {
    margin: 0 0 1.1rem;
    color: rgba(245, 240, 230, 0.78);
    font-size: 0.92rem;
    line-height: 1.45;
}

.gbhc-abo-fieldset {
    margin: 0 0 1.15rem;
    padding: 0;
    border: none;
}

.gbhc-abo-legend {
    margin: 0 0 0.55rem;
    color: #d4af37;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.gbhc-abo-plans,
.gbhc-abo-pays {
    display: grid;
    gap: 0.45rem;
}

.gbhc-abo-plan,
.gbhc-abo-pay {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(201, 169, 98, 0.28);
    border-radius: 10px;
    background: rgba(8, 8, 10, 0.4);
    cursor: pointer;
    color: #f5f0e6;
}

.gbhc-abo-plan.is-selected,
.gbhc-abo-pay.is-selected,
.gbhc-abo-plan:has(input:checked),
.gbhc-abo-pay:has(input:checked) {
    border-color: rgba(212, 175, 55, 0.75);
    background: rgba(40, 32, 12, 0.55);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25);
}

.gbhc-abo-plan input,
.gbhc-abo-pay input {
    flex: 0 0 auto;
    accent-color: #d4af37;
}

.gbhc-abo-pay-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.gbhc-abo-pay-note {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(201, 169, 98, 0.8);
    line-height: 1.35;
}

.gbhc-abo-plan-label {
    flex: 1 1 auto;
    font-weight: 600;
}

.gbhc-abo-plan-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.gbhc-abo-plan-tier {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(201, 169, 98, 0.85);
}

.gbhc-abo-plan-price {
    flex: 0 0 auto;
    color: #d4af37;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.gbhc-abo-fake-banner {
    margin: 0 0 0.85rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    border: 1px dashed rgba(212, 175, 55, 0.55);
    background: rgba(60, 48, 12, 0.45);
    color: #e8d48a;
    font-size: 0.88rem;
    text-align: center;
}

.gbhc-abo-resume {
    margin: 0 0 1rem;
    color: rgba(245, 240, 230, 0.88);
    font-size: 0.95rem;
}

.gbhc-abo-fake-hint {
    margin: 0 0 1rem;
    color: rgba(245, 240, 230, 0.78);
    font-size: 0.92rem;
}

.gbhc-abo-fake-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.gbhc-abo-fake-form .hub-login-submit {
    margin-top: 1rem;
}

.gbhc-profil-section {
    margin: 1.35rem 0 0;
    padding: 1.15rem 0 0;
    border-top: 1px solid rgba(201, 169, 98, 0.22);
}

.gbhc-profil-section-title {
    margin: 0 0 0.85rem;
    color: #d4af37;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.gbhc-profil-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(201, 169, 98, 0.22);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(8, 8, 10, 0.35);
}

.gbhc-profil-fact {
    display: grid;
    grid-template-columns: minmax(5.5rem, 38%) 1fr;
    gap: 0.55rem;
    align-items: baseline;
    margin: 0;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid rgba(201, 169, 98, 0.12);
    border-right: 1px solid rgba(201, 169, 98, 0.12);
}

.gbhc-profil-fact:nth-child(2n) {
    border-right: none;
}

.gbhc-profil-fact:nth-last-child(-n+2) {
    border-bottom: none;
}

.gbhc-profil-fact-lab {
    margin: 0;
    color: rgba(201, 169, 98, 0.7);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.gbhc-profil-fact-val {
    margin: 0;
    color: #f5f0e6;
    font-size: 0.95rem;
    line-height: 1.3;
    font-weight: 500;
}

.gbhc-profil-chips {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.gbhc-profil-chips li {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(201, 169, 98, 0.4);
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.1);
    color: rgba(245, 240, 230, 0.92);
    font-size: 0.86rem;
}

.gbhc-profil-available-now {
    margin: 0 0 0.65rem;
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(212, 175, 55, 0.65);
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    color: #d4af37;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

@media (max-width: 800px) {
    .gbhc-profil-head {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .gbhc-profil-head-main {
        width: 100%;
        align-items: center;
    }

    .gbhc-profil-title-row {
        flex-direction: column;
        align-items: center;
    }

    .gbhc-profil-status {
        justify-content: center;
    }

    .gbhc-profil-looking {
        justify-content: center;
    }

    .gbhc-profil-about {
        text-align: left;
        width: 100%;
    }

    .gbhc-profil-toolbar {
        justify-content: center;
        width: 100%;
    }

    .gbhc-profil-photo,
    .gbhc-profil-photo-box,
    .gbhc-profil-photo-wrap {
        width: 128px;
    }

    .gbhc-profil-photo,
    .gbhc-profil-photo-box {
        height: 128px;
    }

    .gbhc-profil-facts {
        grid-template-columns: 1fr;
    }

    .gbhc-profil-fact {
        grid-template-columns: minmax(6rem, 40%) 1fr;
        border-right: none;
    }

    .gbhc-profil-fact:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(201, 169, 98, 0.12);
    }

    .gbhc-profil-fact:last-child {
        border-bottom: none;
    }
}

/* Administration — signalements */
.gbhc-admin {
    max-width: 820px;
    margin: 0 auto;
    padding: 1.25rem 1rem 2rem;
}

.gbhc-admin-title {
    margin: 0 0 0.35rem;
    color: #d4af37;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.75rem;
    font-weight: 600;
}

.gbhc-admin-lead {
    margin: 0 0 1rem;
    color: rgba(201, 169, 98, 0.8);
    font-size: 0.95rem;
}

.gbhc-admin-ok {
    margin: 0 0 0.85rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #86efac;
    font-size: 0.9rem;
}

.gbhc-admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1rem;
}

.gbhc-admin-filter {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.35rem 0.8rem;
    text-decoration: none;
    color: rgba(245, 240, 230, 0.75);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 8px;
    background: rgba(8, 8, 10, 0.45);
    font-size: 0.88rem;
    font-weight: 600;
}

.gbhc-admin-filter.is-active {
    color: #d4af37;
    border-color: rgba(212, 175, 55, 0.75);
    background: rgba(201, 169, 98, 0.14);
}

.gbhc-admin-empty {
    margin: 0.5rem 0 0;
    color: rgba(201, 169, 98, 0.75);
}

.gbhc-admin-reports {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.gbhc-admin-report {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 12px;
    background: rgba(12, 12, 14, 0.88);
}

.gbhc-admin-report-meta {
    flex: 1 1 220px;
    min-width: 0;
}

.gbhc-admin-report-who {
    margin: 0 0 0.35rem;
    color: #f5f0e6;
    font-size: 0.92rem;
    line-height: 1.35;
}

.gbhc-admin-report-who a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
}

.gbhc-admin-lab {
    color: rgba(201, 169, 98, 0.7);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.gbhc-admin-sep {
    margin: 0 0.25rem;
    color: rgba(201, 169, 98, 0.45);
}

.gbhc-admin-report-when {
    margin: 0 0 0.45rem;
    color: rgba(201, 169, 98, 0.75);
    font-size: 0.8rem;
}

.gbhc-admin-report-text {
    margin: 0;
    color: #f5f0e6;
    font-size: 0.9rem;
    line-height: 1.4;
}

.gbhc-admin-report-form {
    flex: 0 0 auto;
    margin: 0;
}

.gbhc-admin-handle-btn {
    min-height: 40px;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(34, 197, 94, 0.45);
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.gbhc-admin-handle-btn:hover,
.gbhc-admin-handle-btn:focus-visible {
    background: rgba(34, 197, 94, 0.22);
    outline: none;
}

/* Bouton upload photo (album / infos) — zone tactile, style hub */
.gbhc-photo-upload-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    min-width: min(100%, 16rem);
    padding: 0.65rem 1.15rem;
    margin: 0.35rem 0 0;
    border-radius: 10px;
    border: 1px solid rgba(201, 169, 98, 0.55);
    background: linear-gradient(135deg, #c9a962, #a88b3d);
    color: #1a1408;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

.gbhc-photo-upload-btn:hover,
.gbhc-photo-upload-btn:focus-within {
    filter: brightness(1.06);
    outline: 2px solid rgba(212, 175, 55, 0.55);
    outline-offset: 2px;
}

.gbhc-photo-upload-icon {
    flex: 0 0 auto;
}

.gbhc-photo-upload-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
}

.gbhc-chat-close-mobile,
.gbhc-chat-fab {
    display: none;
}

.gbhc-chat-close-mobile {
    flex: 0 0 auto;
    margin-left: auto;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid rgba(201, 169, 98, 0.4);
    border-radius: 8px;
    background: rgba(201, 169, 98, 0.12);
    color: #d4af37;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.gbhc-chat-fab {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 110;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 2px solid rgba(245, 240, 230, 0.85);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(201, 169, 98, 0.95), rgba(140, 110, 40, 0.95));
    color: #1a1408;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    touch-action: manipulation;
}

.gbhc-chat-fab:hover,
.gbhc-chat-fab:focus-visible {
    filter: brightness(1.08);
    outline: 2px solid rgba(212, 175, 55, 0.65);
    outline-offset: 2px;
}

/* ----- Responsive A à Z (après les composants) ----- */
@media (max-width: 800px) {
    body.has-chat {
        padding-right: 0;
    }

    body.gbhc-chat-mobile-open {
        overflow: hidden;
    }

    .site-topbar {
        height: auto;
        min-height: var(--topbar-h, 52px);
        overflow: visible;
    }

    .site-topbar-inner {
        flex-wrap: wrap;
        gap: 0.4rem;
        min-width: 0;
        height: auto;
        min-height: var(--topbar-h, 52px);
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
        padding-left: max(10px, env(safe-area-inset-left));
        padding-right: max(10px, env(safe-area-inset-right));
    }

    .site-topbar-burger {
        display: inline-flex;
    }

    .site-topbar-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        flex: 1 1 100%;
        width: 100%;
        gap: 0.35rem;
        margin: 0;
        padding: 0.55rem 0 0.65rem;
        border-top: 1px solid rgba(201, 169, 98, 0.28);
        background: rgba(8, 8, 10, 0.98);
    }

    .site-topbar-menu.is-open {
        display: flex;
    }

    .site-topbar-links,
    .site-topbar-end,
    .site-topbar-links-end {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-left: 0;
        gap: 0.35rem;
    }

    .site-topbar-link,
    .site-topbar-logout {
        width: 100%;
        height: auto;
        max-height: none;
        min-height: 44px;
        justify-content: flex-start;
        padding: 0.55rem 0.75rem;
        font-size: 0.92rem;
        box-sizing: border-box;
    }

    .site-topbar-abonnement {
        max-width: none;
        width: 100%;
    }

    .site-topbar-abonnement .gbhc-profil-abonnement-badge {
        width: 100%;
        min-height: 44px;
        justify-content: flex-start;
        padding: 0.45rem 0.75rem;
        box-sizing: border-box;
    }

    .gbhc-chat {
        width: 100%;
        max-width: 100vw;
        transform: translateX(100%);
        transition: transform 0.22s ease;
        z-index: 130;
        border-left: none;
        box-shadow: none;
    }

    .gbhc-chat.is-mobile-open {
        transform: translateX(0);
        box-shadow: -8px 0 28px rgba(0, 0, 0, 0.5);
    }

    .gbhc-chat-close-mobile,
    .gbhc-chat-fab {
        display: inline-flex;
    }

    body.gbhc-chat-mobile-open .gbhc-chat-fab {
        display: none;
    }

    .gbhc-admin {
        max-width: none;
        width: 100%;
        padding: calc(52px + 1.5vh) max(12px, env(safe-area-inset-right)) 5.5rem max(12px, env(safe-area-inset-left));
    }

    .gbhc-admin-title {
        font-size: 1.45rem;
    }

    .gbhc-admin-filters {
        gap: 0.4rem;
    }

    .gbhc-admin-filter {
        flex: 1 1 auto;
        min-height: 44px;
        justify-content: center;
        text-align: center;
    }

    .gbhc-admin-report {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .gbhc-admin-report-meta {
        flex: 1 1 auto;
    }

    .gbhc-admin-handle-btn,
    .gbhc-admin-report-form {
        width: 100%;
    }

    .gbhc-admin-handle-btn {
        min-height: 44px;
        width: 100%;
    }

    .gbhc-profil,
    .gbhc-home {
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
        padding-bottom: 5.5rem;
    }

    .gbhc-profil-tabs {
        overflow: hidden;
        flex-wrap: nowrap;
        gap: 0.25rem;
        padding: 0.45rem 0.35rem 0 0;
        width: 100%;
    }

    .gbhc-profil-tab {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        padding: 0.5rem 0.35rem;
        font-size: 0.78rem;
        letter-spacing: 0;
    }

    .gbhc-photo-upload-btn {
        width: 100%;
        min-width: 0;
    }

    .gbhc-latest-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 0.75rem;
    }
}

@media (pointer: coarse) {
    .gbhc-admin-filter,
    .gbhc-admin-handle-btn,
    .gbhc-photo-upload-btn,
    .gbhc-profil-unblock-btn,
    .gbhc-chat-fab {
        min-height: 44px;
    }
}

