/* 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 .ui-icon { width: 19px; height: 19px; flex: 0 0 19px; font-size: 19px; }
body.site-modern .navigation-links .link-icon .ui-icon { position: absolute; top: 50%; left: 50%; display: grid; width: 1.25em; height: 1.25em; place-items: center; transform: translate(-50%, -50%); color: var(--accent-strong); font-size: 1.2rem; line-height: 1; }
body.site-modern .left-nav-menu-wrapper, body.site-modern .navigation-top-menu-wrapper { width: auto; height: auto; font-family: LineAwesome; font-size: 1.05em; line-height: 1; }
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-controls .navigation-top-item.hotel { order: 1; }
body.site-modern .navigation-controls .navigation-language { order: 2; }
body.site-modern .navigation-controls .navigation-theme-toggle { order: 3; }
body.site-modern .navigation-controls .user-menu { order: 4; margin-left: auto; }
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 {
  display: inline-grid; width: 31px; height: 29px; flex: 0 0 31px; place-items: center; transform: none !important;
  font-family: LineAwesome !important; font-size: 1.2rem; line-height: 1;
}
body.site-modern .navigation-controls .user-menu-avatar { width: 2.5em; height: 2.5em; flex-basis: 2.5em; }
body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-text { display: inline; margin: 0; }
body.site-modern .navigation-language { position: relative; z-index: 15; 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 {
  position: absolute; top: calc(100% + .55rem); right: 0; left: auto; z-index: 80; display: flex; flex-direction: column;
  width: max-content; max-width: min(260px, calc(100vw - 2rem)); max-height: min(70vh, 360px); overflow-y: 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 { position: relative; display: flex; align-items: center; min-height: 38px; padding: .55rem .6rem .55rem 2.4rem; border-radius: 8px; color: var(--text); white-space: nowrap; }
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: auto; height: auto; fill: initial; stroke: none; font-family: LineAwesome !important; font-size: 1.1rem; font-weight: normal !important; line-height: 1; 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 .ui-icon { display: inline-grid; width: 17px; height: 17px; flex: 0 0 17px; place-items: center; color: currentColor; font-size: 17px; line-height: 1; }
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-size: 1.35rem; line-height: 1; }
body.site-modern .home-grid .grid-friends .arrows .la,
body.site-modern .home-grid #carousel .carousel__arrow .arrow .la { display: inline-block; font-family: LineAwesome; }
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-size: 1.35rem; line-height: 1; box-shadow: var(--shadow); }
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.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 .sidebar-help-link { right: 1rem; left: 1rem; }
}
@media (max-width: 720px) {
  body.site-modern .user-menu-toggle { gap: .35rem; padding-inline: .55rem; }
  body.site-modern .user-menu-name { max-width: 8ch; font-size: .86rem; }
}
@media (max-width: 430px) {
  body.site-modern .user-menu-toggle { gap: .3rem; padding: .25rem .5rem; }
}

/* 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 { display: flex; flex-direction: column; width: min(1380px, 100%); min-height: 100vh; margin: 0 auto; padding: 8px clamp(20px, 5.3vw, 76px) 26px; }
.landing-shell main { flex: 1 0 auto; }
.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(24px, 4vh, 44px) 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; }
body.site-landing.site-theme-dark .landing-login-form input:not([type="hidden"]) {
  color: #f4f2ff;
  -webkit-text-fill-color: #f4f2ff !important;
  caret-color: #f4f2ff;
  background-color: #20202d;
  border-color: #4a4860;
}
body.site-landing.site-theme-dark .landing-login-form input::placeholder { color: #c1bed1; opacity: 1; }
body.site-landing.site-theme-dark .landing-login-form input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #20202d inset;
  -webkit-text-fill-color: #f4f2ff !important;
  caret-color: #f4f2ff;
  border-color: #4a4860;
}
body.site-landing.site-theme-dark .landing-login-form input:not([type="hidden"]):focus {
  border-color: #aa91ff;
  box-shadow: 0 0 0 4px rgba(170, 145, 255, .24);
}
.landing-password-field { position: relative; }
.landing-password-field input { padding-right: 52px !important; }
body.site-landing .landing-password-field input.password-visible { color: var(--landing-text) !important; -webkit-text-fill-color: var(--landing-text) !important; caret-color: var(--landing-text); opacity: 1; }
.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); }
body.site-landing .footer-container { position: static; bottom: auto; left: auto; transform: none; width: min(75%, 1100px); margin: auto auto 0; }

@media (max-width: 1020px) {
  .landing-hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 30px; margin-top: 28px; }
  .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: 24px 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: 8px 17px 20px; }
  body.site-landing .footer-container { width: 100%; }
  .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: 20px; }
  .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 .la-heart { display: inline-block; font-family: LineAwesome; font-size: 1rem; font-style: normal; line-height: 1; }
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; }
}

/* Consistent Line Awesome interface icons */
body.site-modern .ui-icon { font-style: normal; line-height: 1; text-decoration: none; vertical-align: middle; }
body.site-modern .submenu .submenu-panel a .ui-icon { position: absolute; top: 50%; left: 50%; display: grid; width: 1.25em; height: 1.25em; place-items: center; transform: translate(-50%, -50%); color: var(--accent-strong); font-size: 1.15rem; }
body.site-modern .grid-article .article-view .box-title .category-icon { position: static; width: auto; height: auto; transform: none; color: #fff; font-size: 1.6rem; }
body.site-modern .grid-article .last-news .icon-new { top: .7rem; right: .7rem; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent-strong); background: var(--surface); font-size: 1.1rem; }
body.site-modern .home-grid .social-networks a .ui-icon { color: var(--accent-strong); font-size: 1.55rem; line-height: 1; }
body.site-modern .home-grid .social-networks a:hover .ui-icon { color: var(--accent); }
body.site-modern .profil-flex .relation-icon { display: inline-grid; width: 20px; height: 20px; place-items: center; font-size: 1rem; }
body.site-modern .profil-flex .relation-icon.la-heart { color: #d65d83; }
body.site-modern .profil-flex .relation-icon.la-user-plus { color: var(--accent-strong); }
body.site-modern .profil-flex .relation-icon.la-ban { color: #d25c65; }
body.site-modern .profil-flex .profile-meta-icon { display: inline-grid; width: 25px; height: 25px; flex: 0 0 25px; place-items: center; color: var(--accent-strong); font-size: 1.15rem; }
body.site-modern .room-placeholder-icon { display: grid; width: 52px; height: 52px; place-items: center; color: var(--muted); font-size: 2rem; }
body.site-modern .profil-flex .room-placeholder-icon { width: 72px; height: 72px; font-size: 2.15rem; }
body.site-modern .stats-grid .stats-box .team-title-badge { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border-radius: 14px; color: var(--accent-strong); background: var(--accent-soft); font-size: 1.25rem; }
body.site-modern .ranking-category-icon { position: absolute; top: 50%; right: 1em; transform: translateY(-50%); color: var(--accent-strong); font-size: 1.35rem; }
body.site-modern .shop-empty-icon, body.site-modern .notifications-empty-icon { display: inline-grid; width: 4rem; height: 4rem; place-items: center; margin-block: .75rem; border-radius: 1.25rem; color: var(--accent-strong); background: var(--accent-soft); font-size: 2.4rem; }

/* Shared, horizontal site header */
body.site-modern .left-nav {
  position: sticky; top: 0; left: auto; right: auto; bottom: auto; z-index: 30;
  display: flex; align-items: center; gap: clamp(.55rem, 1.2vw, 1.1rem);
  width: 100%; height: auto; min-height: 72px; max-height: none; overflow: visible;
  padding: .65rem clamp(1rem, 2.5vw, 2.4rem); border: 0; border-bottom: 1px solid var(--line);
  background: var(--surface); color: var(--text); box-shadow: 0 8px 24px rgba(37, 29, 73, .045);
}
body.site-modern .left-nav .absolute-menu { display: none; }
body.site-modern .left-nav > p.text-center { display: none; }
body.site-modern .left-nav .habbox-logo { order: 1; flex: 0 0 auto; justify-content: flex-start; margin: 0; }
body.site-modern .left-nav .navigation-links {
  order: 2; display: flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: clamp(.35rem, .8vw, .85rem);
  width: auto; min-width: 0; margin: 0; padding: 0;
}
body.site-modern .left-nav .navigation-links .category { display: flex; align-items: center; gap: .15rem; width: auto; margin: 0; }
body.site-modern .left-nav .navigation-links .category-title { display: none; }
body.site-modern .left-nav .navigation-links .navigation-link {
  display: inline-flex; align-items: center; gap: .42rem; min-height: 38px; margin: 0; padding: .4rem .55rem;
  border-radius: 10px; white-space: nowrap; font-size: .84rem; font-weight: 650;
}
body.site-modern .left-nav .navigation-links .navigation-link:hover,
body.site-modern .left-nav .navigation-links .navigation-link:focus-visible { transform: translateY(-1px); }
body.site-modern .left-nav .navigation-links .navigation-link .link-icon { flex: 0 0 1.1rem; width: 1.1rem; height: 1.1rem; }
body.site-modern .left-nav .navigation-links .navigation-link .link-icon .ui-icon { font-size: 1rem; }
body.site-modern .left-nav .navigation-links .navigation-link .link-title { flex: 0 1 auto; font-size: inherit; }
body.site-modern .left-nav .user-buttons { order: 3; flex: 0 0 auto; flex-direction: row; align-items: center; gap: .5rem; margin: 0; }
body.site-modern .left-nav .user-buttons > * { margin: 0; }
body.site-modern .left-nav .user-buttons .rounded-button { min-height: 38px; padding: .5rem .8rem; border-radius: 10px; font-size: .82rem; }
body.site-modern .left-nav .sidebar-help-link {
  position: static; order: 4; flex: 0 0 auto; min-height: 38px; width: auto; margin: 0 0 0 .25rem;
  padding: .5rem .75rem; border-radius: 10px; font-size: .84rem;
}
body.site-modern .left-nav .navigation-bottom .navigation-bottom-link {
  display: grid; place-items: center; background: none !important; color: var(--accent-strong);
  font-family: LineAwesome; font-size: 1.25rem; line-height: 1; text-decoration: none;
}
body.site-modern .left-nav .navigation-bottom .nav-settings::before { content: "\f19a"; }
body.site-modern .left-nav .navigation-bottom .nav-logout::before { content: "\f2fc"; }
body.site-modern .left-nav .navigation-bottom .nav-housekeeping::before { content: "\f1b2"; }
body.site-modern .margin-body { width: 100%; margin-left: 0; }
body.site-modern .navigation-top { position: relative; top: auto; z-index: 8; padding-block: .55rem; }
body.site-modern .navigation-top-brand { display: none; }
body.site-modern .navigation-top .expand-menu { display: none; }
body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-game { min-width: 0; width: auto; height: 44px; padding: .4rem .9rem; border-radius: 12px; }
body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-logo { width: 28px; height: 26px; flex-basis: 28px; }

body.site-modern .currency-icon { display: inline-grid; place-items: center; color: currentColor; font-size: 1.25em; line-height: 1; }
body.site-modern .shop-header .shop-box .currency-icon { width: 2em; height: 2em; color: var(--accent-strong); font-size: 1.15rem; }
body.site-modern .shop-home-grid .converter-grid .currency-icon { width: 3em; height: 3em; color: var(--accent-strong); font-size: 1.7rem; }
body.site-modern .profil-flex .right-side .user-view .user-infos-section .moneys .money .currency-icon { width: 1.5em; height: 1.5em; font-size: 1.05rem; }
body.site-modern .box-title .currency-icon { position: absolute; top: 50%; right: 1em; width: 1em; transform: translateY(-50%); color: var(--accent-strong); font-size: 1.35em; }
body.site-modern .history-grid .currency-icon { width: 48px; height: 48px; margin-top: .3rem; color: var(--accent-strong); font-size: 1.8rem; }
body.site-modern .catalog-load-status { display: flex; align-items: center; gap: .65rem; margin: 1rem 1.25rem; border-radius: 12px; }
body.site-modern .catalog-load-status .catalog-status-message { flex: 1; }

@media (min-width: 1321px) and (max-width: 1500px) {
  body.site-modern .left-nav { gap: .45rem; padding-inline: 1rem; }
  body.site-modern .left-nav .navigation-links { gap: .2rem; }
  body.site-modern .left-nav .navigation-links .navigation-link { gap: .3rem; padding-inline: .4rem; font-size: .78rem; }
  body.site-modern .left-nav .sidebar-help-link { padding-inline: .55rem; font-size: .78rem; }
}

@media (max-width: 1320px) {
  body.site-modern .left-nav {
    position: fixed; inset: 0 auto 0 0; z-index: 50; display: none; flex-direction: column; align-items: stretch; gap: .75rem;
    width: min(350px, calc(100vw - 24px)); height: 100vh; height: 100dvh; max-height: 100vh; overflow-x: hidden; overflow-y: auto;
    padding: 1rem; border: 1px solid var(--line); border-left: 0; border-radius: 0 18px 18px 0; box-shadow: var(--shadow);
  }
  body.site-modern .left-nav.is-open { display: flex; }
  body.site-modern .left-nav .absolute-menu { position: static; order: 0; display: flex; justify-content: flex-end; }
  body.site-modern .left-nav .left-nav-menu { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface-soft); cursor: pointer; }
  body.site-modern .left-nav > p.text-center { order: 2; display: block; margin: 0; color: var(--muted); }
  body.site-modern .left-nav .habbox-logo { order: 1; justify-content: center; }
  body.site-modern .left-nav .navigation-links { order: 3; display: flex; flex: 1 0 auto; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .8rem; width: 100%; margin: 0; padding: .25rem 0; }
  body.site-modern .left-nav .navigation-links .category { display: block; width: 100%; }
  body.site-modern .left-nav .navigation-links .category-title { display: block; margin: 0 0 .35rem; color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-align: left; text-transform: uppercase; }
  body.site-modern .left-nav .navigation-links .navigation-link { display: flex; width: 100%; min-height: 42px; margin: 0 0 .2rem; padding: .55rem .7rem; font-size: .92rem; }
  body.site-modern .left-nav .navigation-links .navigation-link .link-title { flex: 1 1 auto; }
  body.site-modern .left-nav .user-buttons { order: 4; width: 100%; }
  body.site-modern .left-nav .user-buttons > * { flex: 1 1 0; }
  body.site-modern .left-nav .user-buttons .rounded-button { width: 100%; }
  body.site-modern .left-nav .sidebar-help-link { order: 5; width: 100%; margin: 0; }
  body.site-modern .navigation-top { display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem; }
  body.site-modern .navigation-top-brand { display: inline-flex; order: 0; flex: 0 0 auto; align-items: center; gap: .45rem; color: var(--text); font-weight: 800; text-decoration: none; }
  body.site-modern .navigation-top-brand img { width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; }
  body.site-modern .navigation-top .expand-menu { display: block; order: 1; flex: 0 0 auto; }
  body.site-modern .navigation-top .expand-menu .navigation-top-menu { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface-soft); cursor: pointer; }
  body.site-modern .navigation-top .navigation-grid { order: 2; flex: 1 1 auto; width: auto; }
  body.site-modern .navigation-controls { flex-wrap: nowrap; gap: .45rem; }
  body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-game { width: 44px; min-width: 44px; height: 44px; padding: .4rem; }
  body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-text { display: none; }
  body.site-modern .navigation-controls .user-menu { margin-left: 0; }
}

@media (max-width: 800px) {
  body.site-modern .navigation-top .navigation-grid { width: auto; }
  body.site-modern .navigation-controls .navigation-theme-toggle { width: 40px; height: 40px; flex-basis: 40px; }
  body.site-modern .navigation-controls .lang-button { width: 40px; height: 40px; }
}
@media (max-width: 560px) {
  body.site-modern .navigation-top { gap: .4rem; padding-inline: .55rem; }
  body.site-modern .navigation-top-brand span { display: none; }
  body.site-modern .navigation-controls { gap: .3rem; }
  body.site-modern .navigation-controls .user-menu-name { display: none; }
  body.site-modern .navigation-controls .user-menu-toggle { gap: .25rem; padding: .2rem .4rem .2rem .25rem; }
  body.site-modern .navigation-controls .user-menu-avatar { width: 2.2em; height: 2.2em; flex-basis: 2.2em; }
  body.site-modern .navigation-controls .user-menu-chevron { display: none; }
}

/* Click-to-open primary navigation menus */
body.site-modern .left-nav .navigation-links .nav-dropdown { position: relative; flex: 0 0 auto; }
body.site-modern .nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .45rem .7rem;
  border: 1px solid transparent; border-radius: 11px; color: var(--text); background: transparent;
  cursor: pointer; font: inherit; font-size: .86rem; font-weight: 700; list-style: none; white-space: nowrap;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}
body.site-modern .nav-dropdown-toggle::-webkit-details-marker { display: none; }
body.site-modern .nav-dropdown-toggle::marker { content: ""; }
body.site-modern .nav-dropdown-toggle:hover,
body.site-modern .nav-dropdown[open] > .nav-dropdown-toggle,
body.site-modern .nav-dropdown-toggle:focus-visible { border-color: var(--line); color: var(--accent-strong); background: var(--accent-soft); }
body.site-modern .nav-dropdown-toggle > .ui-icon { color: var(--accent-strong); font-size: 1.05rem; }
body.site-modern .nav-dropdown-chevron { color: var(--muted); font-size: .75rem; transition: transform 150ms ease; }
body.site-modern .nav-dropdown[open] .nav-dropdown-chevron { transform: rotate(180deg); }
body.site-modern .nav-dropdown-panel {
  position: absolute; top: calc(100% + .5rem); left: 0; z-index: 70; min-width: 225px; padding: .45rem;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow);
}
body.site-modern .left-nav .nav-dropdown-panel .navigation-link {
  display: flex; align-items: center; gap: .65rem; width: 100%; min-height: 42px; margin: 0; padding: .55rem .65rem;
  border-radius: 9px; color: var(--text); font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
body.site-modern .left-nav .nav-dropdown-panel .navigation-link:hover,
body.site-modern .left-nav .nav-dropdown-panel .navigation-link:focus-visible { color: var(--accent-strong); background: var(--accent-soft); transform: none; }
body.site-modern .left-nav .nav-dropdown-panel .navigation-link .link-icon { flex: 0 0 1.1rem; width: 1.1rem; height: 1.1rem; }
body.site-modern .left-nav .nav-dropdown-panel .navigation-link .link-title { flex: 1 1 auto; }

@media (max-width: 1320px) {
  body.site-modern .left-nav .navigation-links .nav-dropdown { width: 100%; }
  body.site-modern .nav-dropdown-toggle { justify-content: flex-start; width: 100%; min-height: 44px; padding: .55rem .75rem; }
  body.site-modern .nav-dropdown-toggle .nav-dropdown-chevron { margin-left: auto; }
  body.site-modern .nav-dropdown-panel {
    position: static; min-width: 0; margin: .2rem 0 .1rem .6rem; padding: .15rem 0 .15rem .45rem;
    border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none;
  }
  body.site-modern .left-nav .nav-dropdown-panel .navigation-link { min-height: 40px; white-space: normal; }
}

/* Keep the desktop navigation and account controls on one horizontal bar. */
@media (min-width: 1321px) {
  body.site-modern .left-nav > .navigation-top {
    position: static; top: auto; order: 5; display: flex; flex: 0 0 auto; align-self: center; width: auto; min-width: 0;
    margin: 0 0 0 auto; padding: 0; border: 0; background: transparent; box-shadow: none;
  }
  body.site-modern .left-nav > .navigation-top .navigation-grid { display: flex; justify-content: flex-end; width: auto; min-width: 0; }
  body.site-modern .left-nav > .navigation-top .navigation-controls { justify-content: flex-end; flex-wrap: nowrap; gap: .5rem; width: auto; }
  body.site-modern .left-nav > .navigation-top .navigation-controls .navigation-language { order: 1; }
  body.site-modern .left-nav > .navigation-top .navigation-controls .navigation-theme-toggle { order: 2; }
  body.site-modern .left-nav > .navigation-top .navigation-controls .navigation-top-item.hotel { order: 3; }
  body.site-modern .left-nav > .navigation-top .navigation-controls .user-menu { order: 4; margin-left: 0; }
  body.site-modern .left-nav > .navigation-top .navigation-controls .navigation-top-item.hotel .navigation-top-game { width: auto; min-width: 172px; height: 46px; padding: .45rem .85rem; }
  body.site-modern .left-nav > .navigation-top .navigation-controls .user-menu-toggle { max-width: 180px; }
}

@media (min-width: 1321px) and (max-width: 1500px) {
  body.site-modern .left-nav { gap: .35rem; padding-inline: .9rem; }
  body.site-modern .left-nav .site-brand-tag { display: none; }
  body.site-modern .left-nav .navigation-links { gap: .1rem; }
  body.site-modern .nav-dropdown-toggle { gap: .3rem; padding-inline: .45rem; font-size: .8rem; }
  body.site-modern .left-nav > .navigation-top .navigation-controls { gap: .35rem; }
  body.site-modern .left-nav > .navigation-top .navigation-controls .navigation-top-item.hotel .navigation-top-game { min-width: 164px; padding-inline: .7rem; }
  body.site-modern .left-nav > .navigation-top .navigation-controls .lang-button { width: 40px; height: 40px; }
  body.site-modern .left-nav > .navigation-top .navigation-controls .navigation-theme-toggle { width: 40px; height: 40px; flex-basis: 40px; }
}

/* Habbo-inspired home page */
body.site-modern .page-container .page-content.hotel-home-page {
  max-width: none;
  padding: 0 clamp(1rem, 3.5vw, 3.6rem) 3.5rem;
}
body.site-modern .hotel-home { display: flex; max-width: 1480px; flex-direction: column; gap: 1.5rem; margin: 0 auto; padding: clamp(1rem, 2.3vw, 2rem) 0; }
body.site-modern .hotel-home-event {
  display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 1rem; min-height: 86px; padding: .7rem 1rem .7rem .7rem;
  overflow: hidden; border: 1px solid var(--line); border-radius: 19px; color: var(--text); background: var(--surface); box-shadow: var(--shadow); text-decoration: none;
}
body.site-modern .hotel-home-event-image { width: 74px; height: 68px; border-radius: 13px; background-color: var(--accent-soft); background-position: center; background-size: cover; }
body.site-modern .hotel-home-event-copy { display: grid; gap: .2rem; min-width: 0; }
body.site-modern .hotel-home-event-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.site-modern .hotel-home-event-action { display: inline-flex; align-items: center; gap: .6rem; padding: .65rem .85rem; border-radius: 11px; color: var(--accent-strong); background: var(--accent-soft); font-size: .83rem; font-weight: 800; }
body.site-modern .hotel-home-hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .94fr); align-items: stretch; min-height: 410px;
  overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(115deg, var(--surface) 0%, var(--surface) 51%, var(--surface-soft) 100%); box-shadow: var(--shadow);
}
body.site-modern .hotel-home-hero-copy { position: relative; z-index: 2; display: flex; max-width: 690px; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.6rem, 4.2vw, 3.75rem); }
body.site-modern .hotel-home-eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.2rem; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface-soft); font-size: .68rem; font-weight: 850; letter-spacing: .1em; }
body.site-modern .hotel-home-online-dot { width: 8px; height: 8px; border-radius: 2px; background: #47c982; box-shadow: 0 0 0 4px rgba(71, 201, 130, .15); transform: rotate(45deg); }
body.site-modern .hotel-home-eyebrow-divider { color: var(--accent-strong); }
body.site-modern .hotel-home-hero h1 { max-width: 620px; margin: 0; color: var(--text); font-size: clamp(2.25rem, 4.1vw, 4.3rem); font-weight: 900; letter-spacing: -.065em; line-height: 1.02; overflow-wrap: anywhere; }
body.site-modern .hotel-home-hero h1 span { color: var(--accent-strong); }
body.site-modern .hotel-home-hero-copy > p { max-width: 520px; margin: 1.15rem 0 1.6rem; color: var(--muted); font-size: clamp(.95rem, 1.2vw, 1.08rem); line-height: 1.7; }
body.site-modern .hotel-home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.1rem; }
body.site-modern .hotel-home-play-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 51px; padding: .7rem 1.05rem; border: 1px solid #218355; border-radius: 13px;
  color: #fff; background: linear-gradient(180deg, #32c77f 0%, #1c9f63 100%); box-shadow: 0 4px 0 #17754a, 0 11px 22px rgba(25, 152, 94, .2); font-size: .93rem; font-weight: 850; text-decoration: none; text-shadow: 0 1px 0 rgba(0, 72, 43, .26); transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}
body.site-modern .hotel-home-play-button > i { font-size: 1.25rem; }
body.site-modern .hotel-home-play-button > span { margin-left: .15rem; font-size: 1.1rem; }
body.site-modern .hotel-home-play-button:hover,
body.site-modern .hotel-home-play-button:focus-visible { color: #fff; filter: brightness(1.04); box-shadow: 0 2px 0 #17754a, 0 13px 26px rgba(25, 152, 94, .26); transform: translateY(2px); }
body.site-modern .hotel-home-secondary-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--accent-strong); font-size: .9rem; font-weight: 800; text-decoration: none; }
body.site-modern .hotel-home-secondary-link:hover { color: var(--accent); }
body.site-modern .hotel-home-hero-footnote { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.6rem; color: var(--muted); font-size: .76rem; font-weight: 650; }
body.site-modern .hotel-home-pixel-dot { width: 10px; height: 10px; border-radius: 2px; background: #ffc04a; box-shadow: 3px 3px 0 rgba(255, 192, 74, .23); transform: rotate(45deg); }
body.site-modern .hotel-home-scene { position: relative; min-height: 410px; margin: 13px 13px 13px 0; overflow: hidden; border: 1px solid rgba(255,255,255,.6); border-radius: 22px; background: #b7d3dc; box-shadow: 0 14px 32px rgba(34, 28, 54, .15); isolation: isolate; }
body.site-modern .hotel-home-scene-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; image-rendering: pixelated; }
body.site-modern .hotel-home-scene-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(25, 31, 47, .08) 15%, rgba(25, 31, 47, .48) 100%); }
body.site-modern .hotel-home-scene-tag { position: absolute; top: 17px; left: 17px; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .65rem; border: 1px solid rgba(255,255,255,.48); border-radius: 11px; color: #fff; background: rgba(31, 29, 48, .75); backdrop-filter: blur(8px); font-size: .57rem; letter-spacing: .12em; line-height: 1.15; }
body.site-modern .hotel-home-scene-tag img { width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; }
body.site-modern .hotel-home-avatar-showcase { position: absolute; right: 31%; bottom: 14px; z-index: 4; display: flex; width: 150px; height: 205px; align-items: flex-end; justify-content: center; pointer-events: none; }
body.site-modern .hotel-home-avatar-showcase img { display: block; width: 150px; height: 205px; object-fit: contain; object-position: bottom; image-rendering: pixelated; filter: drop-shadow(0 9px 8px rgba(17, 17, 32, .25)); }
body.site-modern .hotel-home-scene-sticker { position: absolute; right: 17px; bottom: 17px; display: flex; align-items: center; gap: .5rem; max-width: 72%; padding: .65rem .8rem; border: 1px solid rgba(255,255,255,.55); border-radius: 12px; color: #fff; background: rgba(31, 29, 48, .76); backdrop-filter: blur(9px); font-size: .78rem; font-weight: 750; }
body.site-modern .hotel-home-scene-sticker i { color: #ffd16a; }
body.site-modern .hotel-home-pixel-spark { position: absolute; z-index: 1; width: 13px; height: 13px; border: 3px solid #fff; border-radius: 2px; box-shadow: 4px 4px 0 rgba(32, 30, 50, .12); transform: rotate(45deg); }
body.site-modern .hotel-home-pixel-spark-one { top: 26%; right: 14%; background: #ffca55; }
body.site-modern .hotel-home-pixel-spark-two { top: 44%; right: 7%; width: 9px; height: 9px; background: #a891ff; }
body.site-modern .hotel-home-panel { padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid var(--line); border-radius: 21px; color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
body.site-modern .hotel-home-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
body.site-modern .hotel-home-section-heading h2 { display: flex; align-items: center; gap: .55rem; margin: .22rem 0 0; color: var(--text); font-size: clamp(1.12rem, 1.7vw, 1.42rem); font-weight: 850; letter-spacing: -.035em; }
body.site-modern .hotel-home-section-heading h2 > i { color: var(--accent-strong); font-size: 1.1em; }
body.site-modern .hotel-home-section-heading h2 > img { width: 25px; height: 25px; object-fit: contain; }
body.site-modern .hotel-home-section-heading > a { display: inline-flex; align-items: center; gap: .45rem; flex: 0 0 auto; color: var(--accent-strong); font-size: .82rem; font-weight: 800; text-decoration: none; }
body.site-modern .hotel-home-section-heading > a:hover { color: var(--accent); }
body.site-modern .hotel-home-section-kicker { display: block; color: var(--muted); font-size: .63rem; font-weight: 800; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
body.site-modern .hotel-home-friends { padding-bottom: 1rem; }
body.site-modern .hotel-home-friends-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: .65rem; }
body.site-modern .hotel-home-friends-list { display: flex; min-width: 0; gap: .65rem; overflow-x: auto; padding: .25rem .1rem .55rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
body.site-modern .hotel-home-friend { position: relative; display: grid; width: 70px; height: 70px; flex: 0 0 70px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-soft); transition: transform 150ms ease, border-color 150ms ease; }
body.site-modern .hotel-home-friend:hover { transform: translateY(-3px); border-color: var(--accent); }
body.site-modern .hotel-home-friend img.user { position: absolute; top: 12px; left: 50%; width: 65px; max-width: none; transform: translateX(-50%); image-rendering: pixelated; }
body.site-modern .hotel-home-friend-status { position: absolute; right: 6px; bottom: 6px; width: 9px; height: 9px; border: 2px solid var(--surface-soft); border-radius: 50%; background: #8e8e9e; }
body.site-modern .hotel-home-friend-status.is-online { background: #3fc985; }
body.site-modern .hotel-home-friends-arrow { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface-soft); cursor: pointer; }
body.site-modern .hotel-home-friends-arrow:hover { border-color: var(--accent); color: var(--accent-strong); }
body.site-modern .hotel-home-friends-empty { display: flex; align-items: center; gap: .8rem; padding: 1rem; border-radius: 14px; color: var(--muted); background: var(--surface-soft); font-size: .9rem; }
body.site-modern .hotel-home-friends-empty i { color: var(--accent-strong); font-size: 1.3rem; }
body.site-modern .hotel-home-content-grid { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(300px, .82fr); align-items: start; gap: 1.4rem; }
body.site-modern .hotel-home-main-column,
body.site-modern .hotel-home-side-column { display: flex; min-width: 0; flex-direction: column; gap: 1.4rem; }
body.site-modern .hotel-home-news-section { min-width: 0; }
body.site-modern .hotel-home-carousel { position: relative; height: clamp(310px, 33vw, 390px); overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-soft); box-shadow: var(--shadow); }
body.site-modern .hotel-home-carousel .carousel__item { position: absolute; inset: 0; z-index: 1; overflow: hidden; opacity: 0; transition: opacity .55s ease; }
body.site-modern .hotel-home-carousel .carousel__item.active { z-index: 2; opacity: 1; }
body.site-modern .hotel-home-news-link,
body.site-modern .hotel-home-carousel .carousel__container { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
body.site-modern .hotel-home-carousel .carousel__container { background-color: #33334a; background-position: center; background-repeat: no-repeat; background-size: cover; }
body.site-modern .hotel-home-carousel .carousel__container::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(21, 20, 35, .86), rgba(21, 20, 35, .48) 58%, rgba(21, 20, 35, .04)), linear-gradient(0deg, rgba(21, 20, 35, .36), transparent 62%); }
body.site-modern .hotel-home-carousel .carousel__content { position: absolute; right: auto; bottom: 2.6rem; left: clamp(1.25rem, 4vw, 3rem); width: min(66%, 540px); text-align: left; transform: none; }
body.site-modern .hotel-home-news-label { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .58rem; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; color: #fff; background: rgba(255,255,255,.12); font-size: .68rem; font-weight: 800; backdrop-filter: blur(8px); }
body.site-modern .hotel-home-carousel .carousel__title { display: -webkit-box; overflow: hidden; margin: .75rem 0 .45rem; color: #fff; font-size: clamp(1.6rem, 3.1vw, 2.6rem); font-weight: 900; letter-spacing: -.045em; line-height: 1.08; text-shadow: 0 2px 12px rgba(0,0,0,.35); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
body.site-modern .hotel-home-carousel .carousel__snippet { display: -webkit-box; overflow: hidden; margin: 0; color: rgba(255,255,255,.87); font-size: .9rem; line-height: 1.55; text-shadow: 0 1px 5px rgba(0,0,0,.35); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
body.site-modern .hotel-home-read-more { display: inline-flex; align-items: center; gap: .45rem; margin-top: .95rem; color: #fff; font-size: .82rem; font-weight: 800; }
body.site-modern .hotel-home-carousel .carousel__bullets { position: absolute; bottom: 1.2rem; left: clamp(1.25rem, 4vw, 3rem); z-index: 4; display: flex; height: auto; gap: .4rem; padding: 0; transform: none; }
body.site-modern .hotel-home-carousel .carousel__bullets-link { display: block; width: 22px; height: 6px; margin: 0; padding: 0; border: 0; border-radius: 999px; background: #fff; cursor: pointer; font-size: 0; opacity: .45; transition: width 180ms ease, opacity 180ms ease; }
body.site-modern .hotel-home-carousel .carousel__bullets-link.active,
body.site-modern .hotel-home-carousel .carousel__bullets-link:hover { width: 34px; opacity: 1; }
body.site-modern .hotel-home-carousel .carousel__arrow { position: absolute; top: 50%; z-index: 4; display: grid; width: 40px; height: 40px; padding: 0; place-items: center; border: 1px solid rgba(255,255,255,.34); border-radius: 13px; background: rgba(29,27,44,.5); cursor: pointer; transform: translateY(-50%); backdrop-filter: blur(8px); }
body.site-modern .hotel-home-carousel .carousel__arrow-left { left: 14px; }
body.site-modern .hotel-home-carousel .carousel__arrow-right { right: 14px; }
body.site-modern .hotel-home-carousel .carousel__arrow .arrow { display: grid; width: auto; height: auto; place-items: center; padding: 0; border: 0; border-radius: 0; color: #fff; background: transparent; box-shadow: none; font-size: 1.25rem; }
body.site-modern .hotel-home-empty-news { display: flex; min-height: 240px; align-items: center; justify-content: center; gap: .7rem; border: 1px dashed var(--line); border-radius: 22px; color: var(--muted); background: var(--surface); }
body.site-modern .hotel-home-empty-news i { color: var(--accent-strong); font-size: 1.5rem; }
body.site-modern .hotel-home-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
body.site-modern .hotel-home-shortcut-card { position: relative; display: flex; min-height: 108px; align-items: center; gap: .75rem; padding: .85rem 2.1rem .85rem .8rem; border: 1px solid var(--line); border-radius: 17px; color: var(--text); background: var(--surface); box-shadow: 0 9px 24px rgba(37,29,73,.045); text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
body.site-modern .hotel-home-shortcut-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
body.site-modern .hotel-home-shortcut-card > span:nth-child(2) { display: grid; min-width: 0; gap: .25rem; }
body.site-modern .hotel-home-shortcut-card strong { font-size: .83rem; font-weight: 850; }
body.site-modern .hotel-home-shortcut-card small { color: var(--muted); font-size: .69rem; line-height: 1.35; }
body.site-modern .hotel-home-shortcut-icon { display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; border-radius: 12px; color: var(--accent-strong); background: var(--accent-soft); font-size: 1.15rem; }
body.site-modern .hotel-home-shortcut-card.ranking .hotel-home-shortcut-icon { color: #ca8a19; background: rgba(255,195,75,.18); }
body.site-modern .hotel-home-shortcut-card.help .hotel-home-shortcut-icon { color: #168e76; background: rgba(36,191,161,.14); }
body.site-modern .hotel-home-shortcut-arrow { position: absolute; top: 50%; right: .75rem; color: var(--muted); transform: translateY(-50%); }
body.site-modern .hotel-home-rooms-panel .hotel-home-section-heading { margin-bottom: .55rem; }
body.site-modern .hotel-home-section-heading.compact { align-items: flex-start; }
body.site-modern .hotel-home-room-list { display: flex; flex-direction: column; }
body.site-modern .hotel-home-room-row { display: flex; min-width: 0; align-items: center; gap: .75rem; padding: .65rem .2rem; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
body.site-modern .hotel-home-room-row:last-child { border-bottom: 0; }
body.site-modern a.hotel-home-room-row { border-radius: 11px; transition: background 140ms ease; }
body.site-modern a.hotel-home-room-row:hover { background: var(--surface-soft); }
body.site-modern .hotel-home-room-thumb { display: grid; width: 68px; height: 48px; flex: 0 0 68px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); }
body.site-modern .hotel-home-room-thumb img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
body.site-modern .hotel-home-room-name { min-width: 0; overflow: hidden; font-size: .84rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
body.site-modern .hotel-home-room-arrow { margin-left: auto; color: var(--muted); }
body.site-modern .hotel-home-empty-small { padding: .85rem .5rem; color: var(--muted); font-size: .8rem; line-height: 1.5; }
body.site-modern .hotel-home-collection-panel .hotel-home-section-heading { margin-bottom: .6rem; }
body.site-modern .hotel-home-collection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
body.site-modern .hotel-home-collection-item { display: grid; min-width: 0; height: 67px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft); }
body.site-modern .hotel-home-collection-item img { max-width: 90%; max-height: 90%; object-fit: contain; image-rendering: pixelated; }
body.site-modern .hotel-home-collection-grid.items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.site-modern .hotel-home-collection-grid.items .hotel-home-collection-item img { width: 44px; height: 44px; }
body.site-modern .hotel-home-social { margin-top: .1rem; }
body.site-modern .hotel-home-social-links { display: flex; flex-wrap: wrap; gap: .6rem; }
body.site-modern .hotel-home-social-links a { display: inline-flex; min-height: 42px; align-items: center; gap: .5rem; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface-soft); font-size: .8rem; font-weight: 750; text-decoration: none; transition: transform 150ms ease, border-color 150ms ease, color 150ms ease; }
body.site-modern .hotel-home-social-links a:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-strong); }
body.site-modern .hotel-home-social-links a i { color: var(--accent-strong); font-size: 1.1rem; }

body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-game {
  display: inline-flex; width: auto; min-width: 172px; height: 46px; align-items: center; justify-content: center; gap: .55rem; padding: .45rem .85rem;
  border: 1px solid #218355; border-radius: 14px; color: #fff; background: linear-gradient(180deg, #32c77f 0%, #1c9f63 100%);
  box-shadow: 0 3px 0 #17754a, 0 8px 17px rgba(25, 152, 94, .18); font-size: .87rem; font-weight: 850; text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms 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 {
  color: #fff; filter: brightness(1.04); box-shadow: 0 1px 0 #17754a, 0 10px 20px rgba(25, 152, 94, .24); transform: translateY(2px);
}
body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-logo { width: 27px; height: 27px; flex: 0 0 27px; }
body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-text { display: inline; margin: 0; white-space: nowrap; }

@media (max-width: 1050px) {
  body.site-modern .hotel-home-hero { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); }
  body.site-modern .hotel-home-content-grid { grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr); }
  body.site-modern .hotel-home-shortcuts { grid-template-columns: 1fr; }
  body.site-modern .hotel-home-shortcut-card { min-height: 82px; }
}
@media (max-width: 760px) {
  body.site-modern .page-container .page-content.hotel-home-page { padding-inline: .9rem; }
  body.site-modern .hotel-home-hero { grid-template-columns: 1fr; }
  body.site-modern .hotel-home-hero-copy { padding: 1.5rem; }
  body.site-modern .hotel-home-hero h1 { max-width: 620px; font-size: clamp(2.2rem, 10vw, 3.5rem); }
  body.site-modern .hotel-home-scene { min-height: clamp(250px, 58vw, 400px); margin: 0 10px 10px; }
  body.site-modern .hotel-home-avatar-showcase { right: 15%; bottom: 15px; width: 125px; height: 175px; }
  body.site-modern .hotel-home-avatar-showcase img { width: 125px; height: 175px; }
  body.site-modern .hotel-home-content-grid { grid-template-columns: 1fr; }
  body.site-modern .hotel-home-side-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  body.site-modern .hotel-home-rooms-panel { grid-column: 1 / -1; }
  body.site-modern .hotel-home-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.site-modern .hotel-home-shortcut-card { align-items: flex-start; flex-direction: column; min-height: 125px; padding: .8rem; }
  body.site-modern .hotel-home-shortcut-arrow { top: .9rem; right: .75rem; transform: none; }
  body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-game { min-width: 150px; height: 44px; }
}
@media (max-width: 520px) {
  body.site-modern .hotel-home-event { grid-template-columns: 54px minmax(0, 1fr); gap: .7rem; padding: .55rem; }
  body.site-modern .hotel-home-event-image { width: 54px; height: 54px; }
  body.site-modern .hotel-home-event-action { grid-column: 2; justify-self: start; padding: .45rem .65rem; }
  body.site-modern .hotel-home-event-copy strong { white-space: normal; }
  body.site-modern .hotel-home-eyebrow { margin-bottom: .85rem; font-size: .56rem; }
  body.site-modern .hotel-home-hero-copy > p { margin: .9rem 0 1.25rem; }
  body.site-modern .hotel-home-hero-footnote { align-items: flex-start; line-height: 1.45; }
  body.site-modern .hotel-home-section-heading { align-items: flex-start; }
  body.site-modern .hotel-home-section-heading > a { font-size: .72rem; }
  body.site-modern .hotel-home-carousel { height: 320px; border-radius: 17px; }
  body.site-modern .hotel-home-carousel .carousel__content { bottom: 2.5rem; left: 1rem; width: calc(100% - 2rem); }
  body.site-modern .hotel-home-carousel .carousel__title { font-size: 1.65rem; }
  body.site-modern .hotel-home-carousel .carousel__snippet { font-size: .8rem; }
  body.site-modern .hotel-home-carousel .carousel__arrow { top: 1rem; width: 34px; height: 34px; transform: none; }
  body.site-modern .hotel-home-carousel .carousel__arrow-left { left: auto; right: 56px; }
  body.site-modern .hotel-home-carousel .carousel__arrow-right { right: 14px; }
  body.site-modern .hotel-home-shortcuts { grid-template-columns: 1fr; }
  body.site-modern .hotel-home-shortcut-card { min-height: 82px; align-items: center; flex-direction: row; }
  body.site-modern .hotel-home-shortcut-arrow { top: 50%; transform: translateY(-50%); }
  body.site-modern .hotel-home-side-column { grid-template-columns: 1fr; }
  body.site-modern .hotel-home-rooms-panel { grid-column: auto; }
  body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-game { min-width: 44px; width: 44px; padding: .35rem; }
  body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-text { display: none; }
}

/* Profile page: a Habbo hero followed by clear collection cards. */
body.site-modern .page-container .page-content.profile-page { width: min(1500px, calc(100% - 36px)); max-width: 1500px; margin: 1.4rem auto 2.5rem; padding: clamp(1rem,2.5vw,1.7rem); border: 1px solid var(--line); border-radius: 24px; color: var(--text); background: var(--canvas); }
body.site-modern .profile-layout { display: grid !important; grid-template-columns: minmax(0,.92fr) minmax(0,1.35fr); align-items: start; gap: 18px; width: 100%; margin: 0; }
body.site-modern .profile-layout > .right-side, body.site-modern .profile-layout > .left-side { display: contents; }
body.site-modern .profile-layout .user-view { position: relative; grid-column: 1 / -1; grid-row: 1; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 23px; background: var(--surface); box-shadow: var(--shadow); }
body.site-modern .profile-layout .user-banner { position: relative; min-height: 250px !important; overflow: visible !important; border-radius: 22px 22px 0 0; background-position: center 46% !important; background-size: cover !important; }
body.site-modern .profile-layout .user-banner::after { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(110deg,rgba(17,16,30,.56),rgba(17,16,30,.08) 72%); content: ""; pointer-events: none; }
body.site-modern .profile-layout .user-banner::before { position: absolute; z-index: 1; top: 22px; left: 25px; padding: .5rem .75rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #fff; background: rgba(31,30,45,.56); content: "HABBOX HOTEL  ·  PROFIL JOUEUR"; font-size: .68rem; font-weight: 800; letter-spacing: .08em; backdrop-filter: blur(8px); }
body.site-modern .profile-layout .user-banner .user-picture-box { position: absolute; z-index: 2; bottom: -52px; left: clamp(22px,4vw,56px); display: flex; width: 138px; height: 158px; align-items: flex-end; justify-content: center; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; transform: none; }
body.site-modern .profile-layout .user-banner .user-picture-position { position: relative !important; top: auto !important; left: auto !important; display: flex; width: 100%; height: 100%; align-items: flex-end; justify-content: center; }
body.site-modern .profile-layout .user-banner .user-picture-position img { display: block; width: auto; max-width: 138px; height: auto; max-height: 158px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 5px 8px rgba(0,0,0,.27)); }
body.site-modern .profile-layout .user-infos-section { position: relative; display: flex; min-height: 200px; flex-direction: column; align-items: flex-start; gap: .8rem; padding: 1.5rem clamp(1rem,3vw,2rem) 1.5rem clamp(175px,18vw,220px); color: var(--text) !important; background: var(--surface) !important; }
body.site-modern .profile-layout .user-infos-section > .first-line { position: absolute; top: -69px; right: clamp(14px,2vw,26px); display: flex !important; width: auto; gap: .55rem; margin: 0; justify-items: initial; text-align: left; }
body.site-modern .profile-layout .user-infos-section > .first-line > div { min-width: 88px; padding: .5rem .75rem; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; color: #fff; background: rgba(31,30,45,.72); text-align: center; backdrop-filter: blur(8px); }
body.site-modern .profile-layout .user-infos-section > .first-line .bold { font-size: 1.05rem; line-height: 1.2; }
body.site-modern .profile-layout .user-infos-section > .first-line .light { color: rgba(255,255,255,.78) !important; font-size: .69rem; }
body.site-modern .profile-layout .user-infos-section > .text-center.bold { margin: 0; color: var(--text); font-size: clamp(1.55rem,3vw,2.1rem); font-weight: 850; line-height: 1.12; text-align: left !important; overflow-wrap: anywhere; }
body.site-modern .profile-layout .user-infos-section .status { display: inline-block; width: 10px; height: 10px; margin-left: .4rem; border-radius: 50%; background: #e55b67; vertical-align: middle; box-shadow: 0 0 0 4px rgba(229,91,103,.12); }
body.site-modern .profile-layout .user-infos-section .status.online { background: #32c887; box-shadow: 0 0 0 4px rgba(50,200,135,.14); }
body.site-modern .profile-layout .user-infos-section .motto { width: auto; max-width: 720px; margin: 0; padding-left: .8rem; border-left: 3px solid var(--accent); color: var(--muted) !important; font-size: .92rem; line-height: 1.55; text-align: left; overflow-wrap: anywhere; }
body.site-modern .profile-layout .profile-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: .15rem 0; }
body.site-modern .profile-layout .profile-badges .badge { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft); }
body.site-modern .profile-layout .profile-badges .badge img { max-width: 40px; max-height: 40px; object-fit: contain; }
body.site-modern .profile-layout .relations-lines { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
body.site-modern .profile-layout .relations-lines .relation-line { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface-soft); font-size: .75rem; }
body.site-modern .profile-layout .moneys { display: flex !important; flex-wrap: wrap; gap: .5rem; width: 100%; }
body.site-modern .profile-layout .moneys .money { display: inline-flex !important; width: auto !important; min-height: 38px; align-items: center; gap: .45rem; margin: 0 !important; padding: .4rem .7rem !important; border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: var(--surface-soft) !important; font-size: .8rem; font-weight: 750; }
body.site-modern .profile-layout .moneys .money .currency-icon { color: var(--accent-strong); }
body.site-modern .profile-layout .date-lines { display: inline-flex; margin: 0; }
body.site-modern .profile-layout .date-line { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .75rem; }
body.site-modern .profile-layout .date-line b { color: var(--text); }
body.site-modern .profile-layout .groups-section, body.site-modern .profile-layout .my-rooms, body.site-modern .profile-layout .my-friends, body.site-modern .profile-layout .my-badges, body.site-modern .profile-layout .third-line { min-width: 0; margin: 0 !important; padding: clamp(.9rem,1.8vw,1.25rem) !important; border: 1px solid var(--line) !important; border-radius: 20px !important; color: var(--text); background: var(--surface) !important; box-shadow: var(--shadow) !important; }
body.site-modern .profile-layout .groups-section { grid-column: 1; grid-row: 2; }
body.site-modern .profile-layout > .left-side > .first-line { display: grid; grid-column: 2; grid-row: 2; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 18px; margin: 0; }
body.site-modern .profile-layout .my-badges { grid-column: 1; grid-row: 3; }
body.site-modern .profile-layout .third-line { grid-column: 2; grid-row: 3; }
body.site-modern .profile-layout .groups-section-title, body.site-modern .profile-layout .rooms-title, body.site-modern .profile-layout .friends-title, body.site-modern .profile-layout .badges-title, body.site-modern .profile-layout .gallery-title { margin: 0 0 .85rem !important; color: var(--text) !important; font-size: 1.05rem !important; font-weight: 850; text-align: left !important; }
body.site-modern .profile-layout .groups-section-title::before, body.site-modern .profile-layout .rooms-title::before, body.site-modern .profile-layout .friends-title::before, body.site-modern .profile-layout .badges-title::before, body.site-modern .profile-layout .gallery-title::before { display: inline-grid; width: 30px; height: 30px; place-items: center; margin-right: .5rem; border-radius: 10px; color: var(--accent-strong); background: var(--accent-soft); font-family: LineAwesome; font-size: 1rem; vertical-align: middle; }
body.site-modern .profile-layout .groups-section-title::before { content: "\f369"; }
body.site-modern .profile-layout .rooms-title::before { content: "\f237"; }
body.site-modern .profile-layout .friends-title::before { content: "\f366"; }
body.site-modern .profile-layout .badges-title::before { content: "\f318"; }
body.site-modern .profile-layout .gallery-title::before { content: "\f162"; }
body.site-modern .profile-layout .rooms-list, body.site-modern .profile-layout .friends-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); justify-items: center; gap: .55rem; padding: .65rem; border-radius: 14px; background: var(--surface-soft); }
body.site-modern .profile-layout .rooms-list .one-room, body.site-modern .profile-layout .friends-list .one-friend { max-width: 68px; border: 1px solid var(--line) !important; border-radius: 13px !important; background: var(--surface) !important; }
body.site-modern .profile-layout .group-lines { grid-template-columns: 1fr !important; }
body.site-modern .profile-layout .badges-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); justify-content: start; gap: .55rem; padding: .65rem; border-radius: 14px; background: var(--surface-soft); }
body.site-modern .profile-layout .one-badge { width: 100%; max-width: 66px; height: auto; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
body.site-modern .profile-layout .third-line .gallery-subtitle { margin: -.35rem 0 .8rem; color: var(--muted) !important; font-size: .78rem; text-align: left; }
body.site-modern .profile-layout .profile-photos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; overflow: hidden; border-radius: 14px; }
body.site-modern .profile-layout .profile-photos .profile-photo { height: clamp(105px,12vw,160px); border: 1px solid var(--line); border-radius: 13px; background-color: var(--surface-soft); background-size: cover; background-position: center; }
body.site-modern .profile-layout .no-photos, body.site-modern .profile-layout .profile-widget-empty, body.site-modern .profile-layout .badges-empty { display: grid; min-height: 74px; place-items: center; padding: .75rem; border-radius: 14px; color: var(--muted); background: var(--surface-soft); text-align: center; }
body.site-modern .profile-layout .photos-button { margin-top: .5rem; border-radius: 11px; color: var(--accent-strong); background: var(--accent-soft); font-weight: 750; }
body.site-modern .profile-layout a, body.site-modern .profile-layout button { transition: transform 150ms ease, border-color 150ms ease, background 150ms ease; }
body.site-modern .profile-layout .rooms-list .item-container:hover, body.site-modern .profile-layout .friends-list .one-friend:hover, body.site-modern .profile-layout .profile-photos .profile-photo:hover { transform: translateY(-2px); }
@media (max-width: 900px) {
  body.site-modern .page-container .page-content.profile-page { width: calc(100% - 24px); padding: 1rem; }
  body.site-modern .profile-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  body.site-modern .profile-layout > .left-side > .first-line { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body.site-modern .page-container .page-content.profile-page { width: calc(100% - 16px); margin: .6rem auto 1.2rem; padding: .65rem; border-radius: 18px; }
  body.site-modern .profile-layout { grid-template-columns: minmax(0,1fr); gap: 12px; }
  body.site-modern .profile-layout .user-view { grid-column: 1; grid-row: 1; border-radius: 18px; }
  body.site-modern .profile-layout .user-banner { min-height: 205px !important; }
  body.site-modern .profile-layout .user-banner::before { top: 13px; left: 13px; font-size: .55rem; }
  body.site-modern .profile-layout .user-banner .user-picture-box { left: 18px; bottom: -42px; width: 112px; height: 140px; }
  body.site-modern .profile-layout .user-banner .user-picture-position img { max-width: 112px; max-height: 140px; }
  body.site-modern .profile-layout .user-infos-section { min-height: 0; gap: .65rem; padding: 3.25rem 1rem 1rem; }
  body.site-modern .profile-layout .user-infos-section > .first-line { top: -58px; right: 10px; gap: .35rem; }
  body.site-modern .profile-layout .user-infos-section > .first-line > div { min-width: 68px; padding: .35rem .5rem; }
  body.site-modern .profile-layout .user-infos-section > .text-center.bold { font-size: 1.5rem; }
  body.site-modern .profile-layout .profile-badges .badge { width: 42px; height: 42px; flex-basis: 42px; }
  body.site-modern .profile-layout .profile-badges .badge img { max-width: 35px; max-height: 35px; }
  body.site-modern .profile-layout .groups-section { grid-column: 1; grid-row: 2; }
  body.site-modern .profile-layout > .left-side > .first-line { grid-column: 1; grid-row: 3; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  body.site-modern .profile-layout .my-badges { grid-column: 1; grid-row: 4; }
  body.site-modern .profile-layout .third-line { grid-column: 1; grid-row: 5; }
  body.site-modern .profile-layout .rooms-list, body.site-modern .profile-layout .friends-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.site-modern .profile-layout .profile-photos .profile-photo { height: 110px; }
}
@media (max-width: 420px) {
  body.site-modern .profile-layout > .left-side > .first-line { grid-template-columns: 1fr; }
  body.site-modern .profile-layout .profile-photos { grid-template-columns: 1fr 1fr; }
}

/* Keep the hotel label and its gamepad on one horizontal line. */
body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-game { display: inline-flex !important; flex-direction: row !important; align-items: center !important; justify-content: center; gap: .55rem; white-space: nowrap; }
body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-logo { position: static !important; top: auto; left: auto; order: 0; margin: 0; transform: none !important; }
body.site-modern .navigation-controls .navigation-top-item.hotel .navigation-top-text { order: 1; }

/* More orderly profile composition: paired collection cards and a full-width gallery. */
body.site-modern .page-container .page-content.profile-page { width: min(1440px,calc(100% - 36px)); max-width: 1440px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.site-modern .profile-layout > .left-side > .first-line { display: contents !important; }
body.site-modern .profile-layout .my-rooms { grid-column: 1; grid-row: 2; min-height: 205px; }
body.site-modern .profile-layout .my-friends { grid-column: 2; grid-row: 2; min-height: 205px; }
body.site-modern .profile-layout .groups-section { grid-column: 1; grid-row: 3; min-height: 205px; }
body.site-modern .profile-layout .my-badges { grid-column: 2; grid-row: 3; min-height: 205px; }
body.site-modern .profile-layout .third-line { grid-column: 1 / -1; grid-row: 4; min-height: 0; }
body.site-modern .profile-layout .group-lines { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
body.site-modern .profile-layout .rooms-list,
body.site-modern .profile-layout .friends-list { min-height: 100px; align-content: center; }
body.site-modern .profile-layout .badges-list { min-height: 100px; align-content: center; grid-template-columns: repeat(4,70px); }
body.site-modern .profile-layout .profile-photos .profile-photo { height: clamp(150px,17vw,230px); }
@media (max-width: 640px) {
  body.site-modern .page-container .page-content.profile-page { width: calc(100% - 16px); }
  body.site-modern .profile-layout .my-rooms { grid-column: 1; grid-row: 2; min-height: 0; }
  body.site-modern .profile-layout .my-friends { grid-column: 1; grid-row: 3; min-height: 0; }
  body.site-modern .profile-layout .groups-section { grid-column: 1; grid-row: 4; min-height: 0; }
  body.site-modern .profile-layout .my-badges { grid-column: 1; grid-row: 5; min-height: 0; }
  body.site-modern .profile-layout .third-line { grid-column: 1; grid-row: 6; }
  body.site-modern .profile-layout .profile-photos .profile-photo { height: 130px; }
}
