/* A calmer, more current visual foundation for the existing Habbox pages. */
body.site-modern {
  --canvas: #f4f3f8;
  --surface: #fff;
  --surface-soft: #f8f7fc;
  --text: #25253b;
  --muted: #77778c;
  --line: #e9e7f0;
  --accent: #7452db;
  --accent-strong: #6340cb;
  --accent-soft: #f0ebff;
  --shadow: 0 18px 48px rgba(37, 29, 73, .08);
  color: var(--text);
}

body.site-modern.site-theme-dark {
  --canvas: #15151f;
  --surface: #20202d;
  --surface-soft: #282837;
  --text: #f3f1fb;
  --muted: #aaa8bd;
  --line: #363546;
  --accent: #aa91ff;
  --accent-strong: #9274f1;
  --accent-soft: #302a48;
  --shadow: 0 18px 48px rgba(0, 0, 0, .22);
}

body.site-modern .body-container { background: var(--canvas); color: var(--text); }
body.site-modern .left-nav {
  width: 264px;
  padding: 1.4em 1.1em;
  background: var(--surface);
  color: var(--text);
  border-right: 1px solid var(--line);
  box-shadow: 8px 0 28px rgba(32, 26, 58, .04);
}
body.site-modern .left-nav { padding-bottom: 5rem; }
body.site-modern .sidebar-help-link {
  position: absolute; right: 1rem; bottom: 1rem; left: 1rem; display: flex; align-items: center; gap: .7rem;
  min-height: 44px; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface-soft); color: var(--text); font-size: .9rem; font-weight: 650; text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
body.site-modern .sidebar-help-link:hover,
body.site-modern .sidebar-help-link:focus-visible { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-strong); }
body.site-modern .sidebar-help-link img { width: 19px; height: 19px; object-fit: contain; }
body.site-modern .habbox-logo { display: flex; justify-content: center; margin: .25rem 0 1.15rem; text-align: left; }
body.site-modern .habbox-logo .site-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-size: 1.08rem; font-weight: 800; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
body.site-modern .habbox-logo .site-brand img { width: 36px; height: 36px; object-fit: contain; image-rendering: pixelated; }
body.site-modern .habbox-logo .site-brand-tag { margin-left: 1px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-size: .52rem; font-weight: 750; letter-spacing: .08em; }
body.site-modern .left-nav .actions-buttons .lightMode,
body.site-modern .left-nav .actions-buttons .lang-button { background: var(--surface-soft); box-shadow: none; }
body.site-modern .left-nav .navigation-links .category-title {
  color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
}
body.site-modern .left-nav .navigation-links .navigation-link {
  min-height: 42px; padding: .45em .8em; margin-bottom: .25em; border-radius: 12px;
  color: var(--text); transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
body.site-modern .left-nav .navigation-links .navigation-link:hover,
body.site-modern .left-nav .navigation-links .navigation-link:focus-visible {
  background: var(--accent-soft); color: var(--accent-strong); transform: translateX(2px);
}
body.site-modern .margin-body { margin-left: 264px; }
body.site-modern .navigation-top {
  position: sticky; top: 0; z-index: 4; padding: .9em clamp(1.1em, 3vw, 2.5em);
  background: var(--surface); border-bottom: 1px solid var(--line); grid-template-columns: minmax(0, 1fr); justify-items: stretch;
}
body.site-modern .navigation-top .navigation-grid { display: flex; justify-content: flex-end; min-width: 0; width: 100%; }
body.site-modern .navigation-controls { display: flex; align-items: center; justify-content: flex-end; gap: .65rem; width: 100%; min-width: 0; }
body.site-modern .navigation-top .navigation-grid .navigation-top-item .navigation-top-box {
  color: var(--text); border-radius: 12px; transition: background 160ms ease, transform 160ms ease;
}
body.site-modern .navigation-top .navigation-grid .navigation-top-item .navigation-top-box:hover,
body.site-modern .navigation-top .navigation-grid .navigation-top-item .navigation-top-box:focus-visible {
  background: var(--accent-soft); transform: translateY(-1px);
}
body.site-modern .navigation-top .navigation-grid .navigation-top-item.search input {
  color: var(--text); background: var(--surface-soft); border: 1px solid var(--line); border-radius: 13px;
}
body.site-modern .navigation-top .navigation-grid .navigation-top-item.search input::placeholder { color: var(--muted); }
body.site-modern .navigation-controls .navigation-top-item.search { position: relative; flex: 0 1 220px; width: 220px; min-width: 150px; }
body.site-modern .navigation-controls .navigation-top-item.hotel { order: 1; }
body.site-modern .navigation-controls .navigation-top-item.search.profile-search { order: 2; }
body.site-modern .navigation-controls .navigation-language { order: 3; }
body.site-modern .navigation-controls .navigation-theme-toggle { order: 4; }
body.site-modern .navigation-controls .user-menu { order: 5; margin-left: auto; }
body.site-modern .navigation-controls .navigation-top-item.search input {
  width: 100%; height: 44px; padding: .55rem .8rem .55rem 2.45rem; border-radius: 999px; font-size: .9rem;
}
body.site-modern .navigation-controls .navigation-top-item.search .logo { left: .8rem; width: 1.1rem; height: 1.1rem; }
body.site-modern .navigation-controls #search-profile-box {
  top: calc(100% + .55rem); right: 0; left: auto; width: min(280px, calc(100vw - 2rem)); padding: .6rem;
  transform: none; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--text);
  box-shadow: var(--shadow); row-gap: .2rem;
}
body.site-modern .navigation-controls #search-profile-box .profile-row { display: block; padding: .55rem .7rem; border-radius: 8px; color: var(--text); }
body.site-modern .navigation-controls #search-profile-box .profile-row:hover { background: var(--accent-soft); color: var(--accent-strong); }
body.site-modern .navigation-controls .navigation-top-item.hotel { flex: 0 0 auto; }
body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-game {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem; width: 190px; min-width: 180px; height: 72px;
  padding: .45rem 1rem; overflow: visible; border: 1px solid #168a53; border-radius: 999px;
  background: #1f9d61; color: #fff; font-size: .95rem; font-weight: 750; box-shadow: 0 7px 18px rgba(24, 145, 87, .2);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-game:hover,
body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-game:focus-visible {
  border-color: #0e7242; background: #168650; color: #fff; box-shadow: 0 10px 22px rgba(24, 145, 87, .27); transform: translateY(-1px);
}
body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-logo {
  position: static; width: 31px; height: 29px; flex: 0 0 31px; transform: none !important; object-fit: none; image-rendering: auto;
}
body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-text { display: inline; margin: 0; }
body.site-modern .navigation-language { position: relative; flex: 0 0 auto; }
body.site-modern .navigation-controls .lang-button {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line);
  border-radius: 12px; background: var(--surface-soft); box-shadow: none; cursor: pointer; transition: border-color 160ms ease, background 160ms ease;
}
body.site-modern .navigation-controls .lang-button:hover,
body.site-modern .navigation-controls .lang-button:focus-visible { border-color: var(--accent); background: var(--accent-soft); }
body.site-modern .navigation-controls .lang-button img { display: block; width: 25px; height: auto; border-radius: 4px; }
body.site-modern .navigation-language .lang-box {
  top: calc(100% + .55rem); right: 0; left: auto; min-width: 185px; padding: .55rem; border: 1px solid var(--line);
  border-radius: 13px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); row-gap: .15rem;
}
body.site-modern .navigation-language .lang-box .lang-row { min-height: 38px; padding: .55rem .6rem .55rem 2.4rem; border-radius: 8px; color: var(--text); }
body.site-modern .navigation-language .lang-box .lang-row:hover { background: var(--accent-soft); color: var(--accent-strong); }
body.site-modern .navigation-language .lang-box .lang-row img { top: 50%; left: .6rem; width: 22px; transform: translateY(-50%); }
body.site-modern .navigation-theme-toggle {
  position: relative; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid var(--line);
  border-radius: 12px; color: var(--text); background: var(--surface); font-size: 1rem;
}
body.site-modern .navigation-theme-toggle:hover,
body.site-modern .navigation-theme-toggle:focus-within { border-color: var(--accent); color: var(--accent-strong); background: var(--accent-soft); }
body.site-modern .navigation-theme-toggle input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer;
}
body.site-modern .navigation-theme-toggle .theme-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
body.site-modern .navigation-theme-toggle:focus-within { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 2px; }
body.site-modern .user-menu { position: relative; justify-self: end; min-width: 0; z-index: 6; }
body.site-modern .user-menu-toggle {
  display: inline-flex; align-items: center; gap: .6rem; max-width: min(240px, 30vw); min-height: 44px;
  padding: .3rem .8rem .3rem .35rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface-soft); color: var(--text); cursor: pointer; font: inherit; text-align: left; list-style: none;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
body.site-modern .user-menu-toggle::-webkit-details-marker { display: none; }
body.site-modern .user-menu-toggle::marker { content: ""; }
body.site-modern .user-menu-toggle:hover,
body.site-modern .user-menu[open] .user-menu-toggle { border-color: var(--accent); background: var(--accent-soft); }
body.site-modern .user-menu-toggle:focus-visible,
body.site-modern .user-menu-link:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
body.site-modern .user-menu-avatar { position: relative; width: 4em; height: 4em; overflow: hidden; flex: 0 0 4em; border-radius: 50%; background: var(--surface); }
body.site-modern .user-menu-avatar img { position: absolute; top: 50%; left: 50%; max-width: none; transform: translate(-50%, -35%); image-rendering: pixelated; }
body.site-modern .user-menu-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .94rem; }
body.site-modern .user-menu-chevron { color: var(--muted); font-size: 1.15rem; line-height: 1; transform: translateY(-2px); }
body.site-modern .user-menu[open] .user-menu-chevron { transform: rotate(180deg) translateY(-2px); }
body.site-modern .user-menu-dropdown {
  position: absolute; top: calc(100% + .65rem); right: 0; width: min(260px, calc(100vw - 2rem)); padding: .45rem;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text);
  box-shadow: 0 16px 40px rgba(24, 20, 43, .2); text-align: left; z-index: 20;
}
body.site-modern .user-menu-heading { overflow: hidden; padding: .55rem .75rem .65rem; color: var(--muted); font-size: .82rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
body.site-modern .user-menu-link { display: flex; align-items: center; gap: .7rem; min-height: 40px; padding: .55rem .75rem; border-radius: 9px; color: var(--text); font-size: .92rem; text-decoration: none; transition: background 140ms ease, color 140ms ease; }
body.site-modern .user-menu-link:hover { background: var(--accent-soft); color: var(--accent-strong); }
body.site-modern .user-menu-link svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
body.site-modern .user-menu-divider { height: 1px; margin: .35rem .4rem; background: var(--line); }
body.site-modern .user-menu-link.user-menu-logout { color: #c54855; }
body.site-modern.site-theme-dark .user-menu-link.user-menu-logout { color: #ff8992; }
body.site-modern .page-container .page-content { max-width: 1540px; padding: 0 clamp(1.1em, 3vw, 3em); }
body.site-modern .box,
body.site-modern .box-title,
body.site-modern .home-grid .event-banner,
body.site-modern .home-grid .social-networks,
body.site-modern .home-grid .home-badges {
  color: var(--text); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
body.site-modern .home-grid .event-banner .lighter,
body.site-modern .home-grid .home-last-add,
body.site-modern .page-container .page-content .subtitle { color: var(--muted); }
body.site-modern .home-grid #carousel,
body.site-modern .home-grid #carousel .carousel__item { border-radius: 24px; }
body.site-modern .home-grid #carousel .carousel__item .carousel__container .carousel__title { text-transform: none; }
body.site-modern .home-grid .grid-friends .arrows,
body.site-modern .home-grid #carousel .carousel__arrow .arrow { display: grid; place-items: center; color: var(--text); cursor: pointer; }
body.site-modern .home-grid .grid-friends .arrows { font-family: "Segoe UI Symbol", Arial, sans-serif; font-size: 2rem; line-height: 1; }
body.site-modern .home-grid .grid-friends .arrows i,
body.site-modern .home-grid #carousel .carousel__arrow .arrow i { display: none; }
body.site-modern .home-grid .grid-friends .arrows[data-action="left"]::before { content: "‹"; }
body.site-modern .home-grid .grid-friends .arrows[data-action="right"]::before { content: "›"; }
body.site-modern .home-grid #carousel .carousel__arrow .arrow { width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 13px; color: var(--text); background: var(--surface); font-family: "Segoe UI Symbol", Arial, sans-serif; font-size: 1.8rem; line-height: 1; box-shadow: var(--shadow); }
body.site-modern .home-grid #carousel .carousel__arrow-left .arrow::before { content: "‹"; }
body.site-modern .home-grid #carousel .carousel__arrow-right .arrow::before { content: "›"; }
body.site-modern .landing-feature-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
body.site-modern .home-grid .home-badges .home-badge,
body.site-modern .home-grid .social-networks a { background: var(--surface-soft); border: 1px solid var(--line); }
body.site-modern input:not([type="checkbox"]):not([type="radio"]),
body.site-modern textarea,
body.site-modern select { color: var(--text); border-color: var(--line); border-radius: 12px; }
body.site-modern input::placeholder,
body.site-modern textarea::placeholder { color: var(--muted); }
body.site-modern .rounded-button,
body.site-modern .home-grid .event-banner .rounded-button {
  border: 1px solid var(--accent); border-radius: 12px; background: var(--accent); color: #fff;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
body.site-modern .rounded-button:hover,
body.site-modern .home-grid .event-banner .rounded-button:hover {
  background: var(--accent-strong); border-color: var(--accent-strong);
  box-shadow: 0 8px 18px rgba(116, 82, 219, .2); transform: translateY(-1px);
}
body.site-modern .footer-container { color: var(--muted); border-top: 1px solid var(--line); }
body.site-modern .footer-container a { color: var(--muted); }
body.site-modern.site-registration .register-flex {
  gap: clamp(2rem, 8vw, 8rem); padding: clamp(1.25rem, 5vw, 5rem);
  background: rgba(19, 18, 35, .76); backdrop-filter: blur(8px);
}
body.site-modern.site-registration .register-right {
  padding: clamp(1.5rem, 3vw, 3rem); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 28px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(16px);
}
@media (max-width: 1320px) {
  body.site-modern .margin-body { margin-left: 0; }
  body.site-modern .left-nav { width: 100vw; }
  body.site-modern .navigation-top { grid-template-columns: auto minmax(0, 1fr); }
  body.site-modern .navigation-top .navigation-grid { width: 100%; }
  body.site-modern .navigation-language .lang-box { top: calc(100% + .55rem); }
}
@media (max-width: 900px) {
  body.site-modern .navigation-controls { flex-wrap: wrap; gap: .5rem; }
  body.site-modern .navigation-controls .navigation-top-item.search { flex: 1 1 180px; max-width: 220px; }
  body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-game { width: 150px; min-width: 140px; height: 72px; padding-inline: .75rem; }
}
@media (max-width: 430px) {
  body.site-modern .navigation-top { padding-right: .8rem; padding-left: .8rem; }
  body.site-modern .navigation-controls .navigation-top-item.search { flex-basis: 100%; max-width: 220px; }
  body.site-modern .sidebar-help-link { right: 1rem; left: 1rem; }
}
@media (max-width: 720px) {
  body.site-modern .user-menu-toggle { gap: .35rem; padding-right: .55rem; }
  body.site-modern .user-menu-name { max-width: 8ch; font-size: .86rem; }
}
@media (max-width: 430px) {
  body.site-modern .user-menu-name { display: none; }
  body.site-modern .user-menu-toggle { gap: .3rem; padding: .25rem .5rem .25rem .3rem; }
}

/* Public landing page */
body.site-landing {
  --landing-bg: #f6f5fa;
  --landing-surface: #fff;
  --landing-text: #28273e;
  --landing-muted: #77768d;
  --landing-line: #e9e7f1;
  --landing-accent: #7452db;
  display: block; min-height: 100vh; overflow-x: hidden; color: var(--landing-text);
  background: radial-gradient(ellipse at 86% 0%, rgba(190, 170, 255, .17), transparent 34rem), var(--landing-bg);
}
body.site-landing.site-theme-dark {
  --landing-bg: #15151f; --landing-surface: #20202d; --landing-text: #f3f1fb;
  --landing-muted: #aaa8bd; --landing-line: #363546; --landing-accent: #aa91ff;
}
.landing-shell { width: min(1380px, 100%); margin: 0 auto; padding: 18px clamp(20px, 5.3vw, 76px) 26px; }
.landing-header,.landing-brand,.landing-nav,.landing-section-heading,.landing-footer,.landing-footer>div { display: flex; align-items: center; }
.landing-header { min-height: 64px; justify-content: space-between; gap: 26px; }
.landing-brand { gap: 10px; color: var(--landing-text); text-decoration: none; font-size: 1.22rem; font-weight: 800; letter-spacing: -.04em; }
.landing-brand-mark { width: 38px; height: 38px; object-fit: contain; image-rendering: pixelated; }
.landing-brand-tag { margin-left: 3px; padding: 5px 8px; border: 1px solid var(--landing-line); border-radius: 7px; color: var(--landing-muted); font-size: .55rem; letter-spacing: .1em; }
.landing-nav { gap: clamp(14px, 2.3vw, 34px); }
.landing-nav a,.landing-footer a { color: var(--landing-muted); text-decoration: none; font-size: .88rem; font-weight: 600; transition: color 160ms ease; }
.landing-nav a:hover,.landing-footer a:hover { color: var(--landing-accent); }
.landing-nav .landing-nav-cta { padding: 11px 17px; border-radius: 11px; color: #fff; background: #28273e; }
.site-theme-dark .landing-nav .landing-nav-cta { color: #211d32; background: #d7cbff; }
.landing-hero { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); align-items: center; gap: clamp(34px, 6vw, 84px); margin: clamp(42px, 7vh, 78px) 0 68px; }
.landing-intro { max-width: 550px; padding: 6px 0 10px; }
.landing-beta { margin: 0 0 22px; padding: 12px 16px; border-radius: 12px; }
.landing-eyebrow,.landing-section-kicker,.landing-caption-kicker { color: var(--landing-accent); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.landing-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; padding: 9px 13px; border: 1px solid var(--landing-line); border-radius: 999px; color: var(--landing-muted); background: var(--landing-surface); letter-spacing: .04em; text-transform: none; }
.landing-eyebrow-dot,.landing-online-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #3bbd85; box-shadow: 0 0 0 4px rgba(59, 189, 133, .13); }
.landing-intro h1 { max-width: 590px; margin: 0; color: var(--landing-text); font-size: clamp(2.7rem, 4.7vw, 4.35rem); font-weight: 800; letter-spacing: -.065em; line-height: 1.04; }
.landing-description { max-width: 490px; margin: 21px 0 26px; color: var(--landing-muted); font-size: 1.05rem; line-height: 1.7; }
.landing-login-form { display: flex; flex-direction: column; max-width: 440px; gap: 9px; }
.landing-login-form label { margin-top: 8px; color: var(--landing-text); font-size: .84rem; font-weight: 700; }
.landing-login-form input:not([type="hidden"]) { width: 100%; height: 52px; padding: 0 15px; border: 1px solid var(--landing-line); border-radius: 12px; color: var(--landing-text); background: var(--landing-surface); box-shadow: 0 2px 5px rgba(40, 39, 62, .025); font-size: .95rem; transition: border-color 160ms ease, box-shadow 160ms ease; }
.landing-login-form input:not([type="hidden"]):focus { border-color: var(--landing-accent); box-shadow: 0 0 0 4px rgba(116, 82, 219, .13); }
.landing-login-form input::placeholder { color: #a09eaf; }
.landing-password-field { position: relative; }
.landing-password-field input { padding-right: 52px !important; }
.landing-password-toggle { position: absolute; top: 50%; right: 7px; width: 38px; height: 38px; transform: translateY(-50%); border: 0; border-radius: 9px; color: var(--landing-muted); background: transparent; cursor: pointer; }
.landing-password-toggle:hover,.landing-password-toggle:focus-visible { color: var(--landing-accent); background: var(--landing-bg); }
.landing-login-form .claim-password { align-self: flex-end; margin: 3px 0 5px; color: var(--landing-accent); font-size: .82rem; text-decoration: none; }
.landing-login-button { min-height: 54px; margin-top: 3px; border: 0; border-radius: 12px; color: #fff; background: var(--landing-accent); box-shadow: 0 8px 18px rgba(116, 82, 219, .24); font: inherit; font-weight: 750; transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease; }
.landing-login-button:hover,.landing-login-button:focus-visible { filter: brightness(.94); box-shadow: 0 12px 24px rgba(116, 82, 219, .3); transform: translateY(-1px); }
.landing-signup-prompt { margin: 12px 0 0; color: var(--landing-muted); font-size: .88rem; text-align: center; }
.landing-signup-prompt a { margin-left: 4px; color: var(--landing-accent); font-weight: 750; text-decoration: none; }
.landing-art { position: relative; min-height: 550px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .44); border-radius: 30px; background-color: #cbc8d9; background-position: center; background-size: cover; box-shadow: 0 28px 70px rgba(43, 36, 77, .2); isolation: isolate; }
.landing-art::before,.landing-art-sheen { position: absolute; inset: 0; content: ""; pointer-events: none; }
.landing-art::before { z-index: 0; background: linear-gradient(180deg, rgba(26, 23, 45, .04) 25%, rgba(24, 21, 40, .82) 100%); }
.landing-art-sheen { z-index: 1; background: linear-gradient(135deg, rgba(255, 255, 255, .36), transparent 30%); mix-blend-mode: screen; }
.landing-online { position: absolute; z-index: 2; top: 20px; right: 20px; display: inline-flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid rgba(255, 255, 255, .52); border-radius: 12px; color: #fff; background: rgba(31, 29, 48, .73); box-shadow: 0 8px 26px rgba(26, 23, 45, .16); backdrop-filter: blur(12px); font-size: .78rem; }
.landing-online strong { font-size: .95rem; }
.landing-online-dot { width: 7px; height: 7px; flex-basis: 7px; }
.landing-art-caption { position: absolute; z-index: 2; right: clamp(24px, 4vw, 44px); bottom: clamp(26px, 4vw, 44px); left: clamp(24px, 4vw, 44px); color: #fff; }
.landing-caption-kicker { color: #d6caff; font-size: .68rem; }
.landing-art-caption h2 { margin: 9px 0 7px; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; letter-spacing: -.045em; }
.landing-art-caption p { max-width: 450px; margin: 0; color: rgba(255, 255, 255, .84); line-height: 1.5; }
.landing-art-caption a { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 11px 15px; border: 1px solid rgba(255, 255, 255, .38); border-radius: 11px; color: #fff; background: rgba(255, 255, 255, .14); text-decoration: none; font-size: .88rem; font-weight: 700; backdrop-filter: blur(10px); }
.landing-art-caption a:hover { background: rgba(255, 255, 255, .24); }
.landing-discover { padding: 27px 0 40px; border-top: 1px solid var(--landing-line); }
.landing-section-heading { justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.landing-section-kicker { font-size: .64rem; }
.landing-section-heading h2 { margin: 5px 0 0; color: var(--landing-text); font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 800; letter-spacing: -.04em; }
.landing-explore-link { color: var(--landing-accent); text-decoration: none; font-size: .87rem; font-weight: 750; }
.landing-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.landing-feature-card { position: relative; display: flex; flex-direction: column; min-height: 190px; padding: 22px 22px 24px; overflow: hidden; border: 1px solid var(--landing-line); border-radius: 18px; color: var(--landing-text); background: var(--landing-surface); box-shadow: 0 10px 30px rgba(37, 29, 73, .045); text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.landing-feature-card:hover,.landing-feature-card:focus-visible { transform: translateY(-4px); border-color: var(--landing-accent); box-shadow: 0 18px 42px rgba(37, 29, 73, .1); }
.landing-feature-icon { display: grid; width: 40px; height: 40px; margin-bottom: 16px; place-items: center; border-radius: 12px; color: var(--landing-accent); background: rgba(116, 82, 219, .12); }
.landing-feature-icon i { font-size: 1.05rem; }
.landing-feature-title { margin-bottom: 6px; font-size: .98rem; font-weight: 800; }
.landing-feature-copy { max-width: 320px; color: var(--landing-muted); font-size: .86rem; line-height: 1.55; }
.landing-feature-arrow { position: absolute; top: 21px; right: 22px; color: var(--landing-muted); font-size: 1.15rem; transition: color 160ms ease, transform 160ms ease; }
.landing-feature-card:hover .landing-feature-arrow { color: var(--landing-accent); transform: translate(2px, -2px); }
.landing-footer { min-height: 56px; justify-content: space-between; gap: 18px; border-top: 1px solid var(--landing-line); color: var(--landing-muted); font-size: .76rem; }
.landing-footer .landing-footer-brand { color: var(--landing-text); font-size: .9rem; font-weight: 800; }
.landing-footer>div { gap: 18px; }
body.site-landing .cookies-accept-container { border: 1px solid var(--landing-line); border-radius: 16px; color: var(--landing-text); background: var(--landing-surface); box-shadow: 0 16px 50px rgba(24, 21, 40, .18); }
body.site-landing .cookies-accept-container a { color: var(--landing-accent); }
body.site-landing .cookies-accept-container .close-container { color: var(--landing-muted); }

@media (max-width: 1020px) {
  .landing-hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 30px; margin-top: 45px; }
  .landing-art { min-height: 500px; }
}
@media (max-width: 800px) {
  .landing-shell { padding-inline: 22px; }
  .landing-nav { gap: 12px; }
  .landing-nav a:not(.landing-nav-cta) { display: none; }
  .landing-hero { grid-template-columns: 1fr; gap: 34px; margin: 35px 0 48px; }
  .landing-intro { max-width: 640px; }
  .landing-intro h1 { max-width: 600px; }
  .landing-art { min-height: min(70vw, 470px); }
}
@media (max-width: 560px) {
  .landing-shell { padding: 12px 17px 20px; }
  .landing-header { min-height: 54px; }
  .landing-brand-tag { display: none; }
  .landing-nav .landing-nav-cta { padding: 9px 12px; font-size: .78rem; }
  .landing-hero { margin-top: 34px; }
  .landing-intro h1 { font-size: clamp(2.55rem, 12vw, 3.5rem); }
  .landing-description { font-size: .96rem; }
  .landing-art { min-height: 430px; border-radius: 22px; }
  .landing-online { top: 13px; right: 13px; gap: 7px; padding: 9px 10px; font-size: .67rem; }
  .landing-art-caption { right: 21px; bottom: 22px; left: 21px; }
  .landing-art-caption p { font-size: .9rem; }
  .landing-section-heading { align-items: flex-end; }
  .landing-feature-grid { grid-template-columns: 1fr; }
  .landing-feature-card { min-height: 165px; }
  .landing-footer { flex-wrap: wrap; justify-content: flex-start; padding: 14px 0; }
  .landing-footer>div { width: 100%; }
  body.site-landing .cookies-accept-container { width: calc(100vw - 26px); margin-bottom: 10px; padding: 1em 3em 1em 1em; text-align: left; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  body.site-modern *,body.site-landing * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Landing page additions */
.landing-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.landing-theme-toggle {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid var(--landing-line);
  border-radius: 12px;
  color: var(--landing-text);
  background: var(--landing-surface);
  font-size: 1rem;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.landing-theme-toggle:hover,
.landing-theme-toggle:focus-visible {
  color: var(--landing-accent);
  border-color: var(--landing-accent);
  background: var(--landing-surface);
  transform: translateY(-1px);
}

.landing-latest {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(20px, 4vw, 42px);
  margin: 0 0 40px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: 22px;
  background: var(--landing-surface);
  box-shadow: 0 12px 34px rgba(37, 29, 73, .06);
}

.landing-latest-image {
  display: block;
  width: 100%;
  height: 230px;
  min-height: 230px;
  border-radius: 15px;
  object-fit: cover;
  background: var(--landing-bg);
}

.landing-latest-content {
  padding: 8px clamp(4px, 2.5vw, 28px) 8px 0;
}

.landing-latest-content h2 {
  margin: 9px 0 10px;
  color: var(--landing-text);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.2;
}

.landing-latest-content p {
  display: -webkit-box;
  max-width: 640px;
  margin: 0;
  overflow: hidden;
  color: var(--landing-muted);
  font-size: .95rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.landing-latest-content > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 17px;
  color: var(--landing-accent);
  font-size: .88rem;
  font-weight: 750;
  text-decoration: none;
}

.landing-latest-content > a:hover span { transform: translateX(3px); }
.landing-latest-content > a span { transition: transform 160ms ease; }

.landing-login-form input:focus-visible,
.landing-login-button:focus-visible,
.landing-nav a:focus-visible,
.landing-feature-card:focus-visible,
.landing-art-caption a:focus-visible,
.landing-latest-content > a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--landing-accent) 55%, white);
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .landing-theme-toggle { width: 38px; height: 38px; flex-basis: 38px; }
  .landing-latest { grid-template-columns: 1fr; gap: 17px; margin-bottom: 26px; padding: 12px; }
  .landing-latest-image { height: 185px; min-height: 185px; }
  .landing-latest-content { padding: 2px 5px 9px; }
}

/* Shared polish for member pages */
body.site-modern { background: var(--canvas); font-family: "Montserrat", "Open Sans", sans-serif; color-scheme: light; }
body.site-modern.site-theme-dark { color-scheme: dark; }
body.site-modern .page-container { background: var(--canvas); }
body.site-modern .page-container .page-content { padding-top: clamp(1.4rem, 3.2vw, 2.8rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
body.site-modern .page-content > .title, body.site-modern .page-content > h1.title, body.site-modern .page-content > h1:not(.subtitle) { color: var(--text); font-weight: 800; letter-spacing: -.045em; }
body.site-modern .page-content > .subtitle, body.site-modern .page-content > h2.subtitle { color: var(--muted); line-height: 1.65; }
body.site-modern .box, body.site-modern .box-title, body.site-modern .submenu, body.site-modern .faq-grid .box,
body.site-modern .ranking-box, body.site-modern .setting-box, body.site-modern .about-jobs,
body.site-modern .choose-job, body.site-modern .help-box, body.site-modern .request-view {
  color: var(--text); background-color: var(--surface); border-color: var(--line); box-shadow: var(--shadow);
}
body.site-modern .box-title, body.site-modern .box-title span { color: var(--text); }
body.site-modern .separator { background: var(--line); }
body.site-modern .page-content .rounded-button { min-height: 42px; padding-inline: 1.15rem; font-weight: 750; }
body.site-modern :focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, white); outline-offset: 3px; }

/* Forum */
body.site-modern .forum-header { align-items: center; gap: 1.25rem; margin-bottom: 1.4rem; padding: clamp(1.1rem, 2.5vw, 1.8rem); border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(120deg, var(--surface), var(--surface-soft)); box-shadow: var(--shadow); }
body.site-modern .forum-header .title { color: var(--text); font-weight: 800; letter-spacing: -.04em; }
body.site-modern .forum-header .subtitle { color: var(--muted); }
body.site-modern .forum-header .right { display: flex; align-items: center; gap: .6rem; }
body.site-modern .forum-header .right a { display: inline-grid; min-width: 42px; min-height: 42px; place-items: center; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface); text-decoration: none; font-weight: 700; }
body.site-modern .forum-header .right a:hover { color: var(--accent-strong); border-color: var(--accent); background: var(--accent-soft); }
body.site-modern .forum-categories-grid { gap: 14px; }
body.site-modern .forum-categories-grid .box.category, body.site-modern .forum-categories-grid .box.subject { min-height: 118px; border: 1px solid var(--line); border-radius: 17px; color: var(--text); background: var(--surface); box-shadow: 0 8px 24px rgba(37,29,73,.045); transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease; }
body.site-modern .forum-categories-grid .box.category:hover, body.site-modern .forum-categories-grid .box.subject:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
body.site-modern .forum-categories-grid .box .data .infos .title { color: var(--text); font-weight: 800; }
body.site-modern .forum-categories-grid .box .data .infos p, body.site-modern .forum-categories-grid .box .counter .text { color: var(--muted); }
body.site-modern .forum-categories-grid .box .counter, body.site-modern .forum-categories-grid .box .status-counter { color: var(--accent-strong); }
body.site-modern .forum-subject-header { gap: .65rem; margin-block: 1rem; }
body.site-modern .forum-subject-header > .box, body.site-modern .forum-subject-header .box-like { border: 1px solid var(--line); border-radius: 13px; color: var(--text); background: var(--surface); }
body.site-modern .forum-subject-view { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 8px 26px rgba(37,29,73,.045); }
body.site-modern .forum-subject-view .user-section { background: var(--surface-soft); border-right: 1px solid var(--line); }
body.site-modern .forum-subject-view .response-content, body.site-modern .forum-subject-view .subject-content { color: var(--text); background: var(--surface); }
body.site-modern .forum-subject-view .user-infos .username { color: var(--text); font-weight: 800; }
body.site-modern .forum-subject-view .posted-ago { color: var(--muted); }
body.site-modern .forum-subject-view .response-text, body.site-modern .forum-subject-view #subject-content-text { line-height: 1.75; overflow-wrap: anywhere; }
body.site-modern .forum-subject-view .response-buttons { border-top: 1px solid var(--line); }
body.site-modern .forum-subject-view .box-like-response, body.site-modern .forum-subject-header .box-like { cursor: pointer; transition: transform 150ms ease, background 150ms ease; }
body.site-modern .forum-subject-view .box-like-response:hover, body.site-modern .forum-subject-header .box-like:hover { transform: translateY(-1px); background: var(--accent-soft); }
body.site-modern .forum-pagination a { display: inline-grid; min-width: 38px; height: 38px; place-items: center; border-radius: 10px; color: var(--text); }
body.site-modern .forum-pagination a.active { color: #fff; background: var(--accent); }
body.site-modern .forum-pagination a.disabled { opacity: .42; }
body.site-modern .forum-new .first-line, body.site-modern .forum-new form > .box, body.site-modern .comment-box { padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }

/* News, profiles, activity and preferences */
body.site-modern .grid-article { align-items: start; gap: 18px; }
body.site-modern .grid-article .article-view .box-title { min-height: 230px; overflow: hidden; border-radius: 20px; background-position: center; background-size: cover; }
body.site-modern .grid-article .article-view > .box, body.site-modern .grid-article .last-news .one-new { border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: 0 8px 24px rgba(37,29,73,.045); }
body.site-modern .grid-article .article-view .box-title .short-description, body.site-modern .grid-article .article-author-infos { color: var(--muted); }
body.site-modern .grid-article .last-news .one-new { overflow: hidden; transition: transform 160ms ease, border-color 160ms ease; }
body.site-modern .grid-article .last-news .one-new:hover { transform: translateY(-2px); border-color: var(--accent); }
body.site-modern .grid-article .last-news .one-new .desc-element { color: var(--text); font-weight: 700; }
body.site-modern .article-comment, body.site-modern .article-comment .box { border-color: var(--line); border-radius: 14px; background: var(--surface-soft); }
body.site-modern .article-comment .comment-content { color: var(--text); line-height: 1.7; }
body.site-modern .profil-flex { align-items: start; gap: 18px; }
body.site-modern .profil-flex .right-side .user-view, body.site-modern .profil-flex .left-side > div, body.site-modern .profil-flex .second-line > div { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
body.site-modern .profil-flex .right-side .user-view .user-banner { min-height: 180px; background-position: center; background-size: cover; }
body.site-modern .profil-flex .right-side .user-view .user-infos-section { color: var(--text); background: var(--surface); }
body.site-modern .profil-flex .user-infos-section .light, body.site-modern .profil-flex .motto, body.site-modern .profil-flex .book-subtitle, body.site-modern .profil-flex .gallery-subtitle { color: var(--muted); }
body.site-modern .profil-flex .profile-badges .badge, body.site-modern .profil-flex .one-room, body.site-modern .profil-flex .one-friend { border-radius: 12px; background-color: var(--surface-soft); }
body.site-modern .profil-flex .left-side > .first-line { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.site-modern .profil-flex .first-line > .my-rooms, body.site-modern .profil-flex .first-line > .my-friends { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
body.site-modern .profil-flex .left-side .first-line .my-rooms .rooms-title, body.site-modern .profil-flex .left-side .first-line .my-friends .friends-title { margin-bottom: 1rem; color: var(--text); font-size: 20px; font-weight: 700; text-align: center; }
body.site-modern .profil-flex .left-side .first-line .my-rooms .rooms-list, body.site-modern .profil-flex .left-side .first-line .my-friends .friends-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; justify-content: center; padding: .75rem; border-radius: 1.5rem; background: var(--surface-soft); }
body.site-modern .profil-flex .left-side .first-line .my-rooms .rooms-list > .item-container { display: block; width: 100%; max-width: 70px; justify-self: center; }
body.site-modern .profil-flex .left-side .first-line .my-rooms .rooms-list .one-room, body.site-modern .profil-flex .left-side .first-line .my-friends .friends-list .one-friend { position: relative; display: flex; width: 100%; max-width: 70px; height: auto; aspect-ratio: 1; align-items: center; justify-content: center; justify-self: center; overflow: hidden; border: 0; border-radius: 12px; color: var(--text); background: var(--surface); text-decoration: none; }
body.site-modern .profil-flex .left-side .first-line .my-rooms .rooms-list .one-room img, body.site-modern .profil-flex .left-side .first-line .my-friends .friends-list .one-friend img { max-width: 100%; }
body.site-modern .profil-flex .left-side .first-line .my-rooms .rooms-list .one-room .room-thumbnail { width: 80%; height: 80%; object-fit: cover; }
body.site-modern .profil-flex .left-side .first-line .my-rooms .rooms-list .one-room.plus, body.site-modern .profil-flex .left-side .first-line .my-friends .friends-list .one-friend.plus { padding: 0; cursor: pointer; transition: transform 150ms ease, background 150ms ease; }
body.site-modern .profil-flex .left-side .first-line .my-rooms .rooms-list .one-room.plus:hover, body.site-modern .profil-flex .left-side .first-line .my-friends .friends-list .one-friend.plus:hover { transform: translateY(-2px); background: var(--accent-soft); }
body.site-modern .profil-flex .plus-symbol { display: inline-block; color: inherit; font-family: Arial, sans-serif; font-size: 30px; font-weight: 600; line-height: 1; }
body.site-modern .profil-flex .profile-widget-empty { display: grid; min-height: 76px; place-items: center; padding: .75rem; border-radius: 1.5rem; color: var(--muted); background: var(--surface-soft); text-align: center; }
body.site-modern .profil-flex .right-side .groups-section { margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 20px; color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
body.site-modern .profil-flex .right-side .groups-section .groups-section-title { margin-bottom: 1rem; color: var(--text); font-size: 20px; font-weight: 700; text-align: center; }
body.site-modern .profil-flex .right-side .groups-section .group-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
body.site-modern .profil-flex .right-side .groups-section .group-lines .group-line { display: flex; min-width: 0; min-height: 68px; align-items: center; gap: .65rem; padding: .6rem; border: 1px solid var(--line); border-radius: 14px; color: var(--text); background: var(--surface-soft); text-decoration: none; }
body.site-modern .profil-flex .right-side .groups-section .group-lines .group-line:hover { border-color: var(--accent); background: var(--accent-soft); }
body.site-modern .profil-flex .right-side .groups-section .group-lines .group-badge { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 0; border-radius: 11px; background: var(--surface); }
body.site-modern .profil-flex .right-side .groups-section .group-lines .group-badge img { max-width: 32px; max-height: 32px; }
body.site-modern .profil-flex .right-side .groups-section .group-lines .group-infos { min-width: 0; }
body.site-modern .profil-flex .right-side .groups-section .group-lines .group-name { overflow: hidden; color: var(--text); font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
body.site-modern .profil-flex .right-side .groups-section .group-lines .group-description { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: .78rem; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
body.site-modern .profil-flex .right-side .groups-section .group-lines .group-more-button { width: 100%; margin: 0; justify-content: center; padding: 0; font: inherit; cursor: pointer; }
body.site-modern .profil-flex .right-side .groups-section .group-lines .group-more-button .plus-symbol { font-size: 28px; }
body.site-modern .profil-flex .my-badges { margin-top: 1.5rem; padding: 1rem; }
body.site-modern .profil-flex .badges-title { margin-bottom: 1rem; color: var(--text); font-size: 20px; text-align: center; }
body.site-modern .profil-flex .badges-list { display: grid; grid-template-columns: repeat(4, 70px); gap: 1rem; justify-content: center; padding: 1rem; border-radius: 2rem; background: var(--surface-soft); }
body.site-modern .profil-flex .one-badge { position: relative; display: flex; width: 70px; height: 70px; align-items: center; justify-content: center; overflow: hidden; border: 0; border-radius: 1rem; background: var(--surface); }
body.site-modern .profil-flex .one-badge img { display: block; max-width: 48px; max-height: 48px; object-fit: contain; }
body.site-modern .profil-flex .one-badge.plus { color: var(--text); cursor: pointer; transition: background 150ms ease, transform 150ms ease; }
body.site-modern .profil-flex .one-badge.plus:hover { transform: translateY(-2px); background: var(--accent-soft); }
body.site-modern .profil-flex .one-badge.plus .plus-symbol { font-size: 30px; }
body.site-modern .profil-flex .one-badge.empty { opacity: .5; }
body.site-modern .profil-flex .badges-empty, body.site-modern .profil-flex .my-badges-empty { padding: 1.25rem; border-radius: 1.5rem; color: var(--muted); background: var(--surface-soft); text-align: center; }
#my-badges { width: min(800px, calc(100% - 32px)); max-width: 800px; max-height: 85vh; overflow: hidden; }
#my-badges .badges-popup-count { color: var(--muted); font-size: .85em; }
#my-badges .my-badges-popup-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: .75rem; max-height: 65vh; overflow-y: auto; padding: .5rem; }
#my-badges .my-badge-popup-item { display: grid; min-height: 68px; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
#my-badges .my-badge-popup-item img { display: block; max-width: 48px; max-height: 48px; object-fit: contain; }
body.site-modern .stats-grid .stats-box { min-height: 145px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
body.site-modern .stats-grid .stats-score { color: var(--accent-strong); font-weight: 800; }
body.site-modern .submenu { padding: .55rem; border: 1px solid var(--line); border-radius: 16px; }
body.site-modern .submenu .submenu-panel a { border-radius: 11px; }
body.site-modern .submenu .submenu-panel a.selected, body.site-modern .submenu .submenu-panel a:hover { background: var(--accent-soft); }
body.site-modern .grid-settings { gap: 14px; }
body.site-modern .grid-settings .setting-box { min-height: 150px; padding: 1.2rem; border: 1px solid var(--line); border-radius: 17px; }
body.site-modern .grid-settings .label-title { color: var(--text); font-weight: 800; }
body.site-modern .grid-settings .label-description { color: var(--muted); line-height: 1.55; }
body.site-modern .notifications-grid .one-notif { gap: 14px; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; color: var(--text); background: var(--surface); }
body.site-modern .notifications-grid .one-notif .message { color: var(--text); }
body.site-modern .notifications-grid .one-notif .link, body.site-modern .notifications-grid .one-notif .btn-read-notif { color: var(--accent-strong); }

/* Shop, help, rankings and recruitment */
body.site-modern .shop-header { gap: 1rem; margin-bottom: 1.2rem; padding: clamp(1.1rem, 2.5vw, 1.7rem); border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(120deg, var(--surface), var(--accent-soft)); }
body.site-modern .shop-header .title { color: var(--text); font-weight: 800; }
body.site-modern .shop-header .subtitle { color: var(--muted); }
body.site-modern .shop-header .shop-box { border: 1px solid var(--line); border-radius: 13px; color: var(--text); background: var(--surface); }
body.site-modern .shop-home-grid .offers-grid .box { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); transition: transform 160ms ease, border-color 160ms ease; }
body.site-modern .shop-home-grid .offers-grid .box:hover { transform: translateY(-3px); border-color: var(--accent); }
body.site-modern .shop-home-grid .offers-grid .box .title { color: var(--text); font-weight: 800; }
body.site-modern .shop-home-grid .offers-grid .box .price { color: var(--accent-strong); font-weight: 750; }
body.site-modern .shop-home-grid .the-converter { padding: clamp(1.2rem, 2.5vw, 2rem); border: 1px solid var(--line); border-radius: 19px; background: var(--surface); box-shadow: var(--shadow); }
body.site-modern .shop-home-grid .the-converter .title { color: var(--text); font-weight: 800; }
body.site-modern .shop-home-grid .the-converter .subtitle { color: var(--muted); }
body.site-modern .faq-grid { gap: 16px; }
body.site-modern .faq-grid > div { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: 0 8px 24px rgba(37,29,73,.045); }
body.site-modern .faq-grid .box-title { box-shadow: none; }
body.site-modern .faq-grid .box a { display: block; padding: .8rem .9rem; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
body.site-modern .faq-grid .box a:last-child { border-bottom: 0; }
body.site-modern .faq-grid .box a:hover { color: var(--accent-strong); background: var(--accent-soft); }
body.site-modern .grid-ranking .ranking-box { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; }
body.site-modern .grid-ranking .ranking-box .rank-box { min-height: 66px; border-bottom: 1px solid var(--line); color: var(--text); background: var(--surface); }
body.site-modern .grid-ranking .ranking-box .rank-box:nth-child(even) { background: var(--surface-soft); }
body.site-modern .grid-ranking .ranking-box .rank-box .rank-infos a { color: var(--text); font-weight: 750; }
body.site-modern .about-jobs, body.site-modern .choose-job { padding: clamp(1.1rem, 2.5vw, 1.8rem); border: 1px solid var(--line); border-radius: 18px; }
body.site-modern .about-jobs .title, body.site-modern .choose-job > .title { color: var(--text); font-weight: 800; }
body.site-modern .about-jobs p, body.site-modern .about-jobs .mentions-box .mention { color: var(--muted); line-height: 1.75; }
body.site-modern .about-jobs .mentions-box .mention { padding: .6rem .75rem; border-radius: 10px; background: var(--surface-soft); }
body.site-modern .team-grid { gap: 16px; }
body.site-modern .team-grid .team-user { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; color: var(--text); background: var(--surface); box-shadow: 0 8px 24px rgba(37,29,73,.05); transition: transform 170ms ease, box-shadow 170ms ease; }
body.site-modern .team-grid .team-user:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
body.site-modern .team-grid .team-user .banner { background-position: center; background-size: cover; }
body.site-modern .team-grid .team-user .content { color: var(--text); background: var(--surface); }
body.site-modern .team-grid .team-user .role, body.site-modern .team-grid .team-user .motto { color: var(--muted); }
body.site-modern .photo-box { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: 0 8px 24px rgba(37,29,73,.05); }
body.site-modern .photo-box .picture { border-radius: 14px; }
body.site-modern #gallery .photo-box .counter { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-width: 4rem; color: var(--accent-strong); }
body.site-modern #gallery .photo-box .counter .fa-heart { display: inline-block; font-family: Arial, "Segoe UI Symbol", sans-serif; font-size: 1rem; font-style: normal; line-height: 1; }
body.site-modern #gallery .photo-box .counter .fa-heart::before { content: "♥"; font-family: Arial, "Segoe UI Symbol", sans-serif; }
body.site-modern .page-content .default-section { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; color: var(--text); background: var(--surface); box-shadow: 0 8px 24px rgba(37,29,73,.045); }
body.site-modern .page-content .aside-title-content { color: var(--text); background: var(--surface-soft); border-bottom: 1px solid var(--line); font-weight: 800; }
body.site-modern .page-content .aside-desc-content, body.site-modern .page-content .aside-content { color: var(--muted); }
body.site-modern .page-content .default-table { color: var(--text); }
body.site-modern .page-content .default-table td, body.site-modern .page-content .default-table th { border-color: var(--line); }
body.site-modern .page-content .default-table tbody tr:nth-child(even) { background: var(--surface-soft); }
body.site-modern .page-content .related-article-container { border-bottom: 1px solid var(--line); }
body.site-modern .page-content .related-article-title { color: var(--text); font-weight: 750; }
body.site-modern .page-content .related-article-date { color: var(--muted); }
body.site-modern .forum-post { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
body.site-modern .forum-author { color: var(--text); background: var(--surface-soft); border-right: 1px solid var(--line); }
body.site-modern .forum-content, body.site-modern .forum-body { color: var(--text); background: var(--surface); }
body.site-modern .forum-timestamp { color: var(--muted); }
body.site-modern .history-grid .box, body.site-modern .club-grid .box { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
body.site-modern .shop-offer, body.site-modern .draw-tool-box, body.site-modern .buy-badge-grid { border: 1px solid var(--line); border-radius: 18px; color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
body.site-modern .requests-grid .help-box, body.site-modern .requests-grid .request-view { border: 1px solid var(--line); border-radius: 15px; color: var(--text); background: var(--surface); }
body.site-modern .requests-grid .help-box:hover { border-color: var(--accent); }
body.site-modern .requests-grid .comment { border-bottom: 1px solid var(--line); }
body.site-modern .requests-grid .comment-message { color: var(--text); }

/* Standalone public flows */
body.site-modern.site-standalone { min-height: 100vh; color: var(--text); background: radial-gradient(ellipse at 85% 10%, var(--accent-soft), transparent 34rem), var(--canvas); }
body.site-modern.site-standalone .index-box { width: min(1120px, calc(100% - 32px)); min-height: 520px; margin: clamp(1rem, 6vh, 4rem) auto; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
body.site-modern.site-standalone .index-left { padding: clamp(1.4rem, 5vw, 3.5rem); color: var(--text); background: var(--surface); }
body.site-modern.site-standalone .index-left h1, body.site-modern.site-standalone .index-left h2 { color: var(--text); }
body.site-modern.site-standalone .index-left p, body.site-modern.site-standalone .index-left .subtitle, body.site-modern.site-standalone .logo-style small { color: var(--muted); }
body.site-modern.site-standalone .index-right { min-height: 320px; }
body.site-modern.site-standalone .login-popup, body.site-modern.site-standalone .cookies-accept-container { border: 1px solid var(--line); border-radius: 17px; color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
body.site-modern.site-standalone .login-popup input { background: var(--surface-soft); }
body.site-modern.site-standalone .page-container { color: var(--text); background: transparent; }
body.site-modern.site-standalone .page-content { width: min(1120px, calc(100% - 32px)); margin: 2rem auto; padding: clamp(1.2rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
body.site-modern.site-standalone .page-content h1, body.site-modern.site-standalone .page-content h2, body.site-modern.site-standalone .page-content h3 { color: var(--text); }
body.site-modern.site-standalone .page-content p { color: var(--muted); line-height: 1.75; }
body.site-modern.site-vpn #notfound { display: grid; min-height: 100vh; padding: 24px; place-items: center; }
body.site-modern.site-vpn #notfound .notfound { position: relative; top: auto; left: auto; width: min(560px, 100%); max-width: 560px; padding: clamp(1.5rem, 5vw, 3rem); transform: none; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
body.site-modern.site-vpn .notfound .notfound-404 { display: none; }
body.site-modern.site-vpn .notfound img { float: none !important; display: block; max-width: 190px; height: auto; margin: 0 auto 1rem; }
body.site-modern.site-vpn .notfound h2 { margin: 0 0 .9rem; color: var(--text); font-size: clamp(1.2rem, 4vw, 1.5rem); text-transform: none; }
body.site-modern.site-vpn .notfound p { color: var(--muted); line-height: 1.65; }
body.site-modern.site-vpn .notfound a { margin-top: .5rem; border-radius: 12px; background: var(--accent); box-shadow: none; text-transform: none; }
body.site-modern.site-vpn .notfound a:hover { background: var(--accent-strong); }

@media (max-width: 800px) {
  body.site-modern .page-container .page-content { padding-inline: 1rem; }
  body.site-modern .forum-header { align-items: flex-start; flex-direction: column; }
  body.site-modern .forum-header .right { align-self: stretch; }
  body.site-modern .forum-header .right a:first-child { flex: 1; text-align: center; }
  body.site-modern .profil-flex { flex-direction: column; }
  body.site-modern .profil-flex > * { width: 100%; }
  body.site-modern .shop-header { align-items: flex-start; flex-direction: column; }
  body.site-modern .shop-header .moneys { width: 100%; justify-content: flex-start; }
  body.site-modern.site-standalone .index-box { width: min(620px, calc(100% - 24px)); margin: 12px auto; border-radius: 18px; }
}
@media (max-width: 560px) {
  body.site-modern .forum-categories-grid { grid-template-columns: 1fr; }
  body.site-modern .forum-subject-header { flex-wrap: wrap; }
  body.site-modern .forum-subject-header > .box { flex: 1 1 42%; }
  body.site-modern .forum-subject-view { border-radius: 14px; }
  body.site-modern .forum-subject-view .response-content, body.site-modern .forum-subject-view .subject-content { padding: .9rem; }
  body.site-modern .notifications-grid .one-notif { flex-wrap: wrap; }
  body.site-modern .grid-settings { grid-template-columns: 1fr; }
  body.site-modern.site-standalone .index-box { display: flex; flex-direction: column; }
  body.site-modern.site-standalone .index-left, body.site-modern.site-standalone .index-right { width: 100%; }
  body.site-modern.site-standalone .index-right { min-height: 230px; order: -1; }
  body.site-modern .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  body.site-modern .profil-flex .left-side > .first-line { grid-template-columns: 1fr; }
  body.site-modern .profil-flex .first-line > .my-rooms, body.site-modern .profil-flex .first-line > .my-friends { width: 100%; }
  body.site-modern .profil-flex .badges-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; padding: .75rem; }
  body.site-modern .profil-flex .one-badge { width: 100%; max-width: 70px; height: auto; aspect-ratio: 1; justify-self: center; }
}
@media (max-width: 420px) {
  body.site-modern .profil-flex .right-side .groups-section .group-lines { grid-template-columns: 1fr; }
}
