:root, .com-club {
    --cl-accent: #f2b705;
    --cl-accent-strong: #d99e00;
    --cl-accent-dark: #7a5800;
    --cl-ink: #2b2100;
    --cl-soft: #fff6d6;
    --cl-line: #ebe5d6;
    --cl-text: #2f2c27;
    --cl-muted: #7a7468;
    --cl-radius: 14px;
}
.com-club { color: var(--cl-text); }
.com-club a { color: var(--cl-accent-dark); }
.com-club a:hover { color: #4d3800; }
.com-club .btn-primary { background: var(--cl-accent); border-color: var(--cl-accent-strong); color: var(--cl-ink); font-weight: 600; }
.com-club .btn-primary:hover, .com-club .btn-primary:focus { background: var(--cl-accent-strong); border-color: #b98700; color: var(--cl-ink); }
.com-club .btn-outline-secondary { color: #4a4744; border-color: #cfc9bb; background: #fff; }
.com-club .btn-outline-secondary:hover { background: var(--cl-soft); color: var(--cl-ink); border-color: var(--cl-accent-strong); }
.cl-muted { color: var(--cl-muted); font-size: .9em; }
.cl-empty { padding: 1.5rem; border: 1px dashed var(--cl-line); border-radius: var(--cl-radius); text-align: center; color: var(--cl-muted); background: #fffdf6; }
.cl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; margin-bottom: 1rem; }
.cl-head h1 { margin: 0; }
.cl-intro { margin: 0 0 1rem; color: #4a4744; }
.cl-cols { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 1.5rem; align-items: start; }
.cl-main, .cl-side { display: grid; gap: 1.25rem; min-width: 0; }
/* Two columns only when the component has room (a sidebar of modules may be next to it) */
.com-club { container-type: inline-size; }
@container (max-width: 860px) { .cl-cols { grid-template-columns: minmax(0, 1fr); } }
/* Page of a member: the wall in the component, the profile column in the right column of the site */
.cl-profile-aside { display: grid; gap: 1.6rem; container-type: normal; }
.cl-profile-aside .cl-box { margin-top: 0; }
.cl-profile-aside .cl-fields { grid-template-columns: auto 1fr; }
.cl-profile-aside .cl-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* tablets in landscape: one column, with air */
@media (min-width: 992px) and (max-width: 1199.98px) {
    body.com_club.view-profile .site-grid { grid-template-areas: ". banner banner banner banner ." ". top-a top-a top-a top-a ." ". top-b top-b top-b top-b ." ". comp comp comp comp ." ". side-r side-r side-r side-r ." ". bot-a bot-a bot-a bot-a ." ". bot-b bot-b bot-b bot-b ."; }
}
@media (max-width: 1199.98px) {
    body.com_club.view-profile .container-sidebar-right { margin-top: 2rem; padding: 1.25rem 1.5rem; }
    body.com_club.view-profile .cl-profile-aside { gap: 2rem; }
    body.com_club.view-profile .cl-profile-aside .cl-thumbs { grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr)); }
}

/* Boxes */
.cl-box { background: none; border: 0; border-radius: 0; padding: 0; margin-top: 2.25rem; }   /* open layout, as on the home page */
.cl-box--accent { background: none; }
.cl-box:first-child { margin-top: 0; }
.com-club .cl-box__title, .alfogon .cl-box__title { margin: 0 0 .9rem; font-family: Arial, Helvetica, sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: #2f2c27; }
.com-club .cl-box__title::after, .alfogon .cl-box__title::after { content: ""; display: block; width: 2.5rem; height: 3px; margin-top: .45rem; border-radius: 2px; background: var(--cl-accent); }
.cl-box__title a { color: inherit; text-decoration: none; }
.com-club .cl-box__sub { font-size: .95rem; margin: .75rem 0 .35rem; color: var(--cl-text); font-family: inherit; }
.cl-box__more { margin: .6rem 0 0; font-size: .9rem; font-weight: 600; }
.cl-n { display: inline-block; min-width: 1.6em; padding: 0 .45em; border-radius: 1em; background: var(--cl-soft); color: var(--cl-accent-dark); font-size: .9em; text-align: center; letter-spacing: 0; }
.cl-text { line-height: 1.6; }
.cl-badge { display: inline-flex; align-items: center; padding: .35rem .8rem; border-radius: 2rem; background: var(--cl-soft); color: var(--cl-accent-dark); font-weight: 600; }
.com-club .cl-section-title { margin: 0 0 .75rem; font-family: Arial, Helvetica, sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cl-accent-dark); }
.cl-wall { border: 0 !important; }

/* Avatars and members */
.cl-avatar { border-radius: 50%; object-fit: cover; flex: none; display: inline-block; background: var(--cl-soft); }
.cl-avatar--none { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; line-height: 1; }
.cl-avatar--app { background: var(--cl-soft); }
.cl-who { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; }
.cl-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: 1rem .75rem; list-style: none; margin: 0; padding: 0; }
.cl-people--small { grid-template-columns: repeat(auto-fill, minmax(4.4rem, 1fr)); gap: .6rem .4rem; }
.cl-person { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; min-width: 0; }
.cl-person__link { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-decoration: none; color: var(--cl-text) !important; min-width: 0; max-width: 100%; }
.cl-person__pic { position: relative; display: inline-flex; }
.cl-person__name { font-weight: 600; font-size: .92rem; line-height: 1.2; overflow-wrap: anywhere; }
.cl-people--small .cl-person__name { font-size: .78rem; font-weight: 500; }
.cl-person__status { font-size: .8rem; color: var(--cl-muted); line-height: 1.25; }
.cl-person__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; font-size: .8rem; }
.cl-link-small { font-size: .8rem; }
.cl-person__actions--btns { flex-direction: row; justify-content: center; gap: .5rem; margin: .45rem 0 .2rem; }
.cl-ibtn { position: relative; display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0; border-radius: 50%; border: 1.5px solid #cfc9bb; background: #fff; color: #5b564b; text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.cl-ibtn > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cl-ibtn__ico { width: 18px; height: 18px; flex: none; }
.com-club .cl-ibtn--msg, .com-club .cl-ibtn--msg:hover { color: var(--cl-ink); text-decoration: none; }
.cl-ibtn--msg { background: var(--cl-accent); border-color: var(--cl-accent-strong); }
.cl-ibtn--msg:hover, .cl-ibtn--msg:focus-visible { background: var(--cl-accent-strong); border-color: var(--cl-accent-dark); transform: translateY(-1px); }
.com-club .cl-ibtn--remove { color: #6f6a5e; text-decoration: none; }
.com-club .cl-ibtn--remove:hover, .com-club .cl-ibtn--remove:focus-visible { color: #b42318; border-color: #e7a59e; background: #fff4f3; transform: translateY(-1px); }
.cl-ibtn--sm { width: 2rem; height: 2rem; }
.cl-ibtn--sm .cl-ibtn__ico { width: 15px; height: 15px; }
/* tooltip */
.cl-ibtn::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px); padding: .3rem .55rem; border-radius: 6px; background: #2b2722; color: #fff; font-size: .75rem; font-weight: 500; line-height: 1.2; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s, transform .15s; z-index: 20; }
.cl-ibtn::before { content: ""; position: absolute; bottom: calc(100% + 3px); left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: #2b2722; border-bottom: 0; opacity: 0; transition: opacity .15s; pointer-events: none; z-index: 20; }
.cl-ibtn:hover::after, .cl-ibtn:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.cl-ibtn:hover::before, .cl-ibtn:focus-visible::before { opacity: 1; }
.cl-online { position: absolute; right: 4%; bottom: 4%; width: 12px; height: 12px; border-radius: 50%; background: #3fae49; border: 2px solid #fff; }
.cl-online--big { width: 20px; height: 20px; border-width: 3px; right: 8%; bottom: 8%; }

/* Hero (profile, group, event) */
.cl-hero { display: flex; gap: 1.5rem; align-items: center; padding: 1.25rem; margin-bottom: 1.5rem; border-radius: 18px;
    background: linear-gradient(135deg, #fff3c4 0%, #ffe48a 55%, #f9cf4a 100%); }
.cl-hero__pic { position: relative; flex: none; }
.cl-hero__pic .cl-avatar { border: 4px solid #fff; box-shadow: 0 2px 10px rgba(80, 60, 0, .2); }
.cl-hero__img { width: 160px; height: 160px; object-fit: cover; border-radius: 16px; border: 4px solid #fff; box-shadow: 0 2px 10px rgba(80, 60, 0, .2); display: block; }
.cl-hero__info { min-width: 0; }
.cl-hero__info h1 { margin: 0 0 .25rem; color: var(--cl-ink); overflow-wrap: anywhere; }
.cl-hero__status { margin: 0 0 .4rem; font-style: italic; color: #4d3f12; }
.cl-hero__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.cl-stats { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; list-style: none; margin: .25rem 0 0; padding: 0; color: #4d3f12; font-size: .92rem; }
.cl-stats a { color: inherit; text-decoration: none; }
.cl-facts { display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; margin: .5rem 0 0; color: #3d3210; }
.cl-facts dt { font-weight: 700; }
.cl-facts dd { margin: 0; }
@media (max-width: 575.98px) {
    .cl-hero { flex-direction: column; text-align: center; }
    .cl-hero__actions, .cl-stats { justify-content: center; }
    .cl-facts { text-align: left; }
}

/* Profile fields */
.cl-fields { display: grid; grid-template-columns: minmax(6rem, auto) 1fr; gap: .3rem .75rem; margin: 0; font-size: .93rem; }
.cl-fields dt { color: var(--cl-muted); font-weight: 600; }
.cl-fields dd { margin: 0; overflow-wrap: anywhere; }

/* Thumbnails */
.cl-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; list-style: none; margin: 0; padding: 0; }
.cl-thumbs--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cl-thumbs a { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 1; background: var(--cl-soft); }
.cl-thumbs--wide a { aspect-ratio: 16 / 10; }
.cl-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-play { position: relative; display: block; }
.cl-play::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2.6rem; height: 2.6rem; transform: translate(-50%, -50%); border-radius: 50%;
    background: rgba(0, 0, 0, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* Welcome of the community */
.cl-welcome { display: flex; align-items: center; gap: 1.5rem; padding: 1.4rem 1.6rem; margin-bottom: 1.25rem; border-radius: 18px;
    background: linear-gradient(135deg, #fff3c4 0%, #ffe48a 60%, #f9cf4a 100%); }
.cl-welcome__text { flex: 1 1 auto; min-width: 0; }
.cl-welcome h1 { margin: 0 0 .35rem; color: var(--cl-ink); }
.cl-welcome__intro { margin: 0 0 .75rem; color: #4d3f12; font-size: 1.05rem; max-width: 42rem; }
.cl-welcome__stats { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; margin: 0; padding: 0; color: #4d3f12; }
.cl-welcome__stats strong { font-size: 1.15rem; color: var(--cl-ink); }
.cl-dot { display: inline-block; width: 10px; height: 10px; margin-right: .35rem; border-radius: 50%; background: #3fae49; box-shadow: 0 0 0 3px rgba(63, 174, 73, .25); }
.cl-welcome__join { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; }
.cl-welcome__art { flex: none; width: 7.5rem; height: 7.5rem; }
@media (max-width: 575.98px) { .cl-welcome__art { display: none; } .cl-welcome { padding: 1.1rem; } }

/* Status form, tabs, chips */
.cl-status { display: flex; align-items: center; gap: .6rem; padding: .75rem; background: #fff; border: 1px solid var(--cl-line); border-radius: var(--cl-radius); }
.cl-status input { flex: 1 1 auto; min-width: 0; padding: .55rem .8rem; border: 1px solid #d9d4c7; border-radius: 2rem; }
.cl-status input:focus { outline: 0; border-color: var(--cl-accent-strong); box-shadow: 0 0 0 .2rem rgba(242, 183, 5, .25); }
.cl-tabs { display: flex; flex-wrap: wrap; gap: .25rem; border-bottom: 2px solid var(--cl-line); margin: 0 0 1rem; }
.cl-tab { padding: .5rem .9rem; margin-bottom: -2px; border-bottom: 3px solid transparent; color: #4a4744 !important; text-decoration: none; font-weight: 600; }
.cl-tab.is-active { border-bottom-color: var(--cl-accent); color: var(--cl-ink) !important; }
.cl-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.cl-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .8rem; border: 1px solid var(--cl-line); border-radius: 2rem; background: #fff; color: #4a4744 !important; text-decoration: none; font-size: .9rem; }
.cl-chip span { color: var(--cl-muted); font-size: .85em; }
.cl-chip.is-active { background: var(--cl-accent); border-color: var(--cl-accent-strong); color: var(--cl-ink) !important; font-weight: 600; }
.cl-chip.is-active span { color: var(--cl-ink); }

/* Activity stream */
.cl-stream { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.cl-act { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: .9rem; align-items: start; padding: .9rem 0; border-bottom: 1px solid #f2eee5; text-align: left; }
.cl-act:last-child { border-bottom: 0; }
.cl-act__body { min-width: 0; border-left: 4px solid var(--cl-accent); padding: .05rem 0 .1rem .85rem; }
.cl-act__head { margin: 0; line-height: 1.45; }
.cl-act__when { font-size: .82rem; font-weight: 700; color: #8a6b1c; white-space: nowrap; }
.cl-act__when::after { content: "·"; margin: 0 .45rem; color: #c9b98e; font-weight: 400; }
.cl-act__text a { font-weight: 600; text-decoration: none; }
.cl-act__quote { margin: .3rem 0 0; padding: 0; background: none; border: 0; color: #3d3a33; line-height: 1.5; overflow-wrap: anywhere; }
.cl-act__media { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .55rem; }
.cl-act__media a { display: block; border-radius: 12px; overflow: hidden; }
.cl-act__media img { display: block; width: 12rem; height: 9rem; object-fit: cover; transition: transform .2s; }
.cl-act__media a:hover img { transform: scale(1.04); }
@container (max-width: 640px) {
    .cl-act { grid-template-columns: 40px minmax(0, 1fr); }
    .cl-act__media img { width: 9rem; height: 6.75rem; }
}


.cl-more { text-align: center; margin: 1rem 0 0; }

/* Wall */
.cl-wall { background: none; border: 0; border-radius: 0; padding: 0; }
.cl-wall__form { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: 1rem; }
.cl-wall__field { flex: 1 1 auto; display: flex; flex-direction: column; gap: .4rem; align-items: flex-end; min-width: 0; }
.cl-wall textarea { width: 100%; padding: .55rem .75rem; border: 1px solid #d9d4c7; border-radius: 12px; resize: vertical; }
.cl-wall textarea:focus { outline: 0; border-color: var(--cl-accent-strong); box-shadow: 0 0 0 .2rem rgba(242, 183, 5, .25); }
.cl-wall__list, .cl-replies { list-style: none; margin: 0; padding: 0; }
.cl-post { display: flex; gap: .65rem; padding: .7rem 0; border-top: 1px solid #f2eee5; }
.cl-post__body { min-width: 0; flex: 1 1 auto; }
.cl-post__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem; }
.cl-post__del { margin-left: auto; color: #b0aa9d !important; text-decoration: none; font-size: 1.2rem; line-height: 1; padding: 0 .25rem; }
.cl-post__del:hover { color: #b3261e !important; }
.cl-post__text { margin-top: .2rem; line-height: 1.5; overflow-wrap: anywhere; }
.cl-replies { margin-top: .4rem; padding-left: .25rem; border-left: 2px solid #f4ecd2; }
.cl-post--reply { padding: .45rem 0 .45rem .6rem; border-top: 0; }
.cl-reply { margin-top: .35rem; font-size: .9rem; }
.cl-reply summary { cursor: pointer; color: var(--cl-accent-dark); font-weight: 600; list-style: none; display: inline; }
.cl-reply summary::-webkit-details-marker { display: none; }
.cl-reply form { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; margin-top: .4rem; }

/* The wall of a profile is inside a box of the page */
.cl-wall--bare { border: 0 !important; padding: 0; background: none; border-radius: 0; }

/* Search */
.cl-search { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; padding: .75rem; background: var(--cl-soft); border-radius: var(--cl-radius); }
.cl-search input, .cl-search select { flex: 1 1 10rem; min-width: 0; padding: .5rem .75rem; border: 1px solid #ddd3b8; border-radius: 10px; background: #fff; }
.cl-search input[type=search] { flex-basis: 16rem; }
.cl-total { color: var(--cl-muted); }
.cl-pagination { margin-top: 1.25rem; }

/* Cards (groups, videos) */
.cl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.cl-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--cl-line); border-radius: var(--cl-radius); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.cl-card:hover { box-shadow: 0 6px 18px rgba(80, 60, 0, .12); transform: translateY(-2px); }
.cl-card__img { display: block; aspect-ratio: 4 / 3; background: var(--cl-soft); overflow: hidden; position: relative; }
.cl-cards--video .cl-card__img { aspect-ratio: 16 / 9; }
.cl-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-card__body { padding: .75rem .9rem .9rem; }
.cl-card__title { font-size: 1.05rem; margin: 0 0 .2rem; line-height: 1.3; }
.cl-card__title a { text-decoration: none; color: var(--cl-text) !important; }
.cl-card__title a:hover { color: var(--cl-accent-dark) !important; }
.cl-card__meta { margin: 0; font-size: .85rem; color: var(--cl-muted); }
.cl-card__meta .cl-who { font-weight: 500; }
.cl-card__text { margin: .4rem 0 0; font-size: .9rem; color: #4a4744; }
.cl-duration { position: absolute; right: .4rem; bottom: .4rem; padding: .05rem .4rem; border-radius: 4px; background: rgba(0, 0, 0, .75); color: #fff; font-size: .78rem; }

/* Events */
.cl-events__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.cl-eventrow { display: flex; gap: 1rem; align-items: flex-start; padding: .9rem; background: #fff; border: 1px solid var(--cl-line); border-radius: var(--cl-radius); }
.cl-eventrow__img img { width: 7rem; height: 5.25rem; object-fit: cover; border-radius: 10px; display: block; }
.cl-eventrow__body { min-width: 0; flex: 1 1 auto; }
.cl-date { flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 4.2rem; padding: .35rem 0; border-radius: 12px; background: var(--cl-accent); color: var(--cl-ink) !important; text-decoration: none; line-height: 1.1; }
.cl-date__d { font-size: 1.6rem; font-weight: 800; }
.cl-date__m { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.cl-date--big { width: 9rem; height: 9rem; border: 4px solid #fff; }
.cl-date--big .cl-date__d { font-size: 3.4rem; }
.cl-date--big .cl-date__m { font-size: 1rem; }
@media (max-width: 575.98px) { .cl-eventrow__img { display: none; } }
.cl-minilist { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .93rem; }

/* Photos */
.cl-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 1.25rem 1rem; list-style: none; margin: 0; padding: 0; }
.cl-album__cover { position: relative; display: block; aspect-ratio: 1; border-radius: var(--cl-radius); overflow: hidden; background: var(--cl-soft);
    box-shadow: 6px 6px 0 -1px #fff, 6px 6px 0 0 var(--cl-line); }
.cl-album__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-album__n { position: absolute; right: .5rem; bottom: .5rem; padding: .1rem .5rem; border-radius: 1rem; background: rgba(0, 0, 0, .65); color: #fff; font-size: .8rem; font-weight: 700; }
.cl-album .cl-card__title { margin-top: .65rem; }
.cl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .5rem; list-style: none; margin: 0; padding: 0; }
.cl-grid a { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--cl-soft); }
.cl-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.cl-grid a:hover img { transform: scale(1.04); }
.cl-upload { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 1rem; padding: .75rem; background: var(--cl-soft); border-radius: var(--cl-radius); }
.cl-upload label { font-weight: 600; }
.cl-photo__stage { position: relative; margin: 0 0 1rem; background: #1d1b18; border-radius: var(--cl-radius); overflow: hidden; text-align: center; }
.cl-photo__stage img { max-width: 100%; max-height: 75vh; display: inline-block; vertical-align: middle; }
.cl-photo__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 2.8rem; height: 2.8rem; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255, 255, 255, .9); color: #2f2c27 !important; text-decoration: none; font-size: 2rem; line-height: 1; }
.cl-photo__nav--prev { left: .75rem; }
.cl-photo__nav--next { right: .75rem; }
.cl-inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1rem; }
.cl-inline-form input[type=text] { flex: 1 1 14rem; min-width: 0; padding: .35rem .6rem; border: 1px solid #d9d4c7; border-radius: 8px; }
.cl-viewer { position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1rem; background: rgba(15, 13, 10, .92); }
.cl-viewer img { max-width: 100%; max-height: calc(100vh - 7rem); border-radius: 8px; }
.cl-viewer p { margin: 0; color: #fff; text-align: center; }
.cl-viewer button { position: absolute; border: 0; background: rgba(255, 255, 255, .15); color: #fff; width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.cl-viewer__close { top: 1rem; right: 1rem; }
.cl-viewer__prev { left: 1rem; top: 50%; }
.cl-viewer__next { right: 1rem; top: 50%; }
.cl-viewer__open { margin-top: .25rem; color: #ffd75a !important; }

/* Videos */
.cl-player { position: relative; aspect-ratio: 16 / 9; margin: 0 0 1.25rem; border-radius: var(--cl-radius); overflow: hidden; background: #000; }
.cl-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cl-minivideos { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.cl-minivideos li { display: grid; grid-template-columns: 7rem 1fr; gap: .6rem; align-items: center; font-size: .9rem; }
.cl-minivideos img { width: 7rem; height: 3.95rem; object-fit: cover; border-radius: 8px; display: block; }

/* Messages */
.cl-threads { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--cl-line); border-radius: var(--cl-radius); }
.cl-thread { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-top: 1px solid #f2eee5; }
.cl-thread:first-child { border-top: 0; }
.cl-thread.is-unread { background: #fffbea; }
.cl-thread__link { display: grid; min-width: 0; flex: 1 1 auto; text-decoration: none; color: var(--cl-text) !important; }
.cl-thread__who { font-weight: 700; }
.cl-thread.is-unread .cl-thread__subject { font-weight: 700; }
.cl-thread__text { color: var(--cl-muted); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-thread__when { flex: none; }
.cl-bubbles { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .75rem; }
.cl-bubble { display: flex; gap: .6rem; align-items: flex-end; max-width: 46rem; }
.cl-bubble--me { flex-direction: row-reverse; margin-left: auto; }
.cl-bubble__body { min-width: 0; }
.cl-bubble__text { padding: .65rem .9rem; border-radius: 16px 16px 16px 4px; background: #f3f0ea; line-height: 1.5; overflow-wrap: anywhere; }
.cl-bubble--me .cl-bubble__text { border-radius: 16px 16px 4px 16px; background: #ffe9a3; }
.cl-bubble--me .cl-bubble__when { text-align: right; }
.cl-reply-form { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.cl-reply-form textarea { width: 100%; padding: .65rem .8rem; border: 1px solid #d9d4c7; border-radius: 12px; }

/* Forms */
.cl-form { display: grid; gap: .35rem; max-width: 46rem; }
.cl-form label { font-weight: 600; margin-top: .55rem; }
.cl-form input[type=text], .cl-form input[type=url], .cl-form input[type=date], .cl-form input[type=datetime-local], .cl-form select, .cl-form textarea {
    width: 100%; padding: .5rem .75rem; border: 1px solid #d9d4c7; border-radius: 10px; background: #fff; }
.cl-form input:focus, .cl-form select:focus, .cl-form textarea:focus { outline: 0; border-color: var(--cl-accent-strong); box-shadow: 0 0 0 .2rem rgba(242, 183, 5, .25); }
.cl-form__two { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .5rem 1rem; }
.cl-form__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.cl-form__del { margin-left: auto; }
.cl-form__pic { width: 8rem; height: 6rem; object-fit: cover; border-radius: 10px; }
.cl-check { display: flex !important; align-items: center; gap: .4rem; font-weight: 400 !important; }
.cl-fieldset { border: 1px solid var(--cl-line); border-radius: var(--cl-radius); padding: .5rem 1rem 1rem; margin: 0 0 1rem; background: #fff; }
.cl-fieldset legend { float: none; width: auto; padding: 0 .4rem; font-size: 1rem; font-weight: 700; color: var(--cl-accent-dark); }
.cl-edit__avatar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cl-frow__in { display: flex; gap: .5rem; align-items: flex-start; }
.cl-frow__in > :first-child { flex: 1 1 auto; }
.cl-frow__in .cl-acc { flex: 0 0 8rem; width: 8rem; font-size: .85rem; }
.cl-to { margin: 0; }
@media (max-width: 575.98px) { .cl-frow__in { flex-direction: column; } .cl-frow__in .cl-acc { flex-basis: auto; width: 100%; } }

/* Modules */
.cl-mod-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.cl-mod-item { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; line-height: 1.35; }
.cl-mod-item > img, .cl-mod-item > a > img { width: 3.2rem; height: 3.2rem; object-fit: cover; border-radius: 10px; flex: none; display: block; }
.cl-mod-item__body { min-width: 0; }
.cl-mod-item__body a { font-weight: 600; text-decoration: none; }
.cl-mod-item__meta { display: block; color: var(--cl-muted); font-size: .82rem; }
.cl-mod-quote { display: block; color: #4a4744; font-size: .88rem; overflow-wrap: anywhere; }
.cl-mod-avatars { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.cl-mod-avatars a { position: relative; display: inline-flex; }
