:root {
  --dlb-text: #172033;
  --dlb-muted: #526071;
  --dlb-soft: #f6f8fb;
  --dlb-surface: rgba(255,255,255,.96);
  --dlb-surface-solid: #fff;
  --dlb-border: #d9e1ea;
  --dlb-border-strong: #b8c6d7;
  --dlb-blue: #1f55c7;
  --dlb-blue-dark: #113780;
  --dlb-orange: #e87921;
  --dlb-gold: #b88a2e;
  --dlb-green: #16764a;
  --dlb-red: #b42318;
  --dlb-shadow: 0 18px 44px rgba(24,39,75,.11);
  --dlb-shadow-soft: 0 10px 28px rgba(24,39,75,.08);
}

.dlb-portal-wrap,
.dlb-auth-wrap,
.dlb-public-houses {
  max-width: 1380px;
  margin: 0 auto;
  padding: 18px 18px 48px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--dlb-text);
  background: transparent;
}

.dlb-shell-portal {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
}

.dlb-shell-portal > *:not(.dlb-weather-scene) {
  position: relative;
  z-index: 1;
}

.dlb-weather-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
  --dlb-weather-sky-top: #5ebdff;
  --dlb-weather-sky-mid: #a7ddff;
  --dlb-weather-sky-bottom: #eef8ff;
  --dlb-weather-glow: #fff2b0;
  --dlb-weather-overlay: #ffffff;
  --dlb-weather-overlay-opacity: .1;
}

.dlb-weather-scene-sky,
.dlb-weather-scene-glow,
.dlb-weather-scene-layer {
  position: absolute;
  inset: 0;
}

.dlb-weather-scene-back {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.dlb-weather-scene-front {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.dlb-weather-scene-sky,
.dlb-weather-scene-glow {
  display: block;
}

.dlb-weather-scene-sky {
  background:
    linear-gradient(180deg, var(--dlb-weather-sky-top) 0%, var(--dlb-weather-sky-mid) 54%, var(--dlb-weather-sky-bottom) 100%);
  transition: background 1.6s ease, opacity 1.6s ease;
}

.dlb-weather-scene-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--dlb-weather-overlay);
  opacity: var(--dlb-weather-overlay-opacity);
  transition: background 1.6s ease, opacity 1.6s ease;
}

.dlb-weather-scene-glow {
  background:
    radial-gradient(circle at 50% 16%, var(--dlb-weather-glow) 0%, rgba(255,255,255,0) 42%),
    radial-gradient(circle at 50% 115%, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 48%);
  opacity: .88;
  transition: background 1.6s ease, opacity 1.6s ease;
}

.dlb-weather-scene[data-dlb-night-active="1"] .dlb-weather-scene-glow {
  opacity: .42;
}

.dlb-weather-scene-layer {
  opacity: 0;
  overflow: hidden;
  inset: -20vh 0 0 0;
}

.dlb-weather-scene[data-dlb-weather-kind="rain"] .dlb-weather-scene-layer.is-rain,
.dlb-weather-scene[data-dlb-weather-kind="heavy_rain"] .dlb-weather-scene-layer.is-rain,
.dlb-weather-scene[data-dlb-weather-kind="storm"] .dlb-weather-scene-layer.is-rain,
.dlb-weather-scene[data-dlb-weather-kind="severe_storm"] .dlb-weather-scene-layer.is-rain,
.dlb-weather-scene[data-dlb-weather-kind="hurricane"] .dlb-weather-scene-layer.is-rain {
  opacity: 1;
}

.dlb-weather-scene[data-dlb-weather-kind="snow"] .dlb-weather-scene-layer.is-snow,
.dlb-weather-scene[data-dlb-weather-kind="snow_emergency"] .dlb-weather-scene-layer.is-snow {
  opacity: 1;
}

.dlb-portal-wrap *,
.dlb-auth-wrap *,
.dlb-public-houses * {
  box-sizing: border-box;
}

.dlb-portal-wrap,
.dlb-auth-wrap,
.dlb-public-houses {
  position: relative;
}

.dlb-portal-wrap > *,
.dlb-auth-wrap > *,
.dlb-public-houses > * {
  position: relative;
  z-index: 1;
}

.dlb-audio-consent {
  position: fixed;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 10, 22, .58);
  backdrop-filter: blur(8px);
}

.dlb-audio-consent[hidden],
.dlb-audio-consent.is-hidden {
  display: none !important;
}

.dlb-audio-consent-card {
  width: min(520px, 100%);
  padding: 24px;
  border: 1px solid rgba(164, 213, 255, .68);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(220,240,255,.98) 0%, rgba(196,228,255,.96) 100%);
  color: #11335b;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  text-align: center;
}

.dlb-audio-consent-card h2 {
  margin: 8px 0 10px;
  color: #0d315a;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.08;
}

.dlb-audio-consent-card p {
  margin: 0;
  color: #234c7d;
  line-height: 1.6;
}

.dlb-audio-consent-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.dlb-audio-consent-actions button {
  min-width: 140px;
}

.dlb-page-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin-bottom: 26px;
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: var(--dlb-surface);
  box-shadow: var(--dlb-shadow-soft);
  flex-wrap: wrap;
}

.dlb-page-links a,
.dlb-message-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--dlb-blue-dark);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
}

.dlb-page-links a:hover,
.dlb-message-subnav a:hover {
  background: #f3f6fb;
  border-color: var(--dlb-border);
}

.dlb-page-links a.is-active,
.dlb-message-subnav a.is-active {
  background: #eaf1ff;
  border-color: #c9d9fb;
  color: var(--dlb-blue);
}

.dlb-top-menu {
  position: relative;
  display: block;
  padding: 12px 58px;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid #c8d8f8;
  border-radius: 8px;
  background: linear-gradient(180deg,#ffffff 0%,#f7faff 100%);
  box-shadow: 0 16px 34px rgba(22,45,89,.10);
}

.dlb-top-menu-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.dlb-top-menu-left {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}

.dlb-top-menu-left::-webkit-scrollbar {
  display: none;
}

.dlb-menu-slider-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 46px;
  border: 1px solid var(--dlb-blue);
  border-radius: 8px;
  background: var(--dlb-blue);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity .18s ease;
}

.dlb-menu-slider-button.is-prev {
  left: 12px;
}

.dlb-menu-slider-button.is-next {
  right: 12px;
}

.dlb-menu-slider-button:hover {
  background: var(--dlb-blue);
  border-color: var(--dlb-blue);
  color: #fff;
}

.dlb-top-menu.is-start .dlb-menu-slider-button.is-prev,
.dlb-top-menu.is-end .dlb-menu-slider-button.is-next,
.dlb-top-menu.is-static .dlb-menu-slider-button {
  opacity: .35;
  pointer-events: none;
}

.dlb-event-ticker {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 12px;
  align-items: stretch;
  margin: -14px 0 26px;
  padding: 8px;
  border: 1px solid #c8d8f8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(22,45,89,.08);
  overflow: hidden;
}

.dlb-event-ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--dlb-blue-dark);
  color: #fff;
  white-space: nowrap;
}

.dlb-event-ticker-label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--dlb-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dlb-event-ticker-label strong {
  color: #fff;
  font-size: 14px;
}

.dlb-event-ticker-window {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f7faff;
}

.dlb-event-ticker-track {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  min-height: 42px;
  padding: 6px 0;
  animation: dlbTicker 56s linear infinite;
}

.dlb-event-ticker:hover .dlb-event-ticker-track {
  animation-play-state: paused;
}

.dlb-event-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(620px, 82vw);
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #dbe6fb;
  border-radius: 8px;
  background: #fff;
  color: var(--dlb-blue-dark);
  text-decoration: none;
  white-space: nowrap;
}

.dlb-event-item:hover {
  border-color: var(--dlb-blue);
  color: var(--dlb-blue);
}

.dlb-event-item > span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 8px;
  background: #edf4ff;
  color: var(--dlb-blue-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.dlb-event-item.is-shop > span {
  background: #fff4e8;
  color: #9a4e0b;
}

.dlb-event-item.is-house > span {
  background: #eaf8f0;
  color: #0f683f;
}

.dlb-event-item.is-court > span,
.dlb-event-item.is-prison > span {
  background: #fff1f0;
  color: var(--dlb-red);
}

.dlb-event-item strong {
  color: inherit;
  font-size: 13px;
}

.dlb-event-item em {
  max-width: 360px;
  overflow: hidden;
  color: var(--dlb-text);
  font-size: 13px;
  font-style: normal;
  text-overflow: ellipsis;
}

.dlb-event-item time {
  color: var(--dlb-muted);
  font-size: 12px;
}

@keyframes dlbTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .dlb-event-ticker-track {
    animation: none;
  }
}

.dlb-top-menu a,
.dlb-logout-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--dlb-blue-dark);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  scroll-snap-align: start;
  flex: 0 0 auto;
}

.dlb-top-menu a:hover,
.dlb-logout-link:hover {
  background: transparent;
  border-color: transparent;
  color: var(--dlb-blue-dark);
}

.dlb-top-menu a.is-active:hover,
.dlb-top-menu a.is-active:visited {
  color: #fff !important;
}

.dlb-top-menu a.is-active {
  background: linear-gradient(180deg,var(--dlb-blue) 0%,var(--dlb-blue-dark) 100%);
  border-color: var(--dlb-blue);
  color: #fff;
  box-shadow: 0 12px 24px rgba(31,85,199,.26);
}

.dlb-top-menu a.is-active,
.dlb-top-menu a.is-active .dlb-menu-icon,
.dlb-top-menu a.is-active .dlb-menu-label,
.dlb-top-menu a.is-active .dlb-badge-count {
  color: #fff !important;
}

.dlb-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 8px;
  background: #edf3ff;
  color: var(--dlb-blue);
  font-size: 13px;
  line-height: 1;
}

.dlb-top-menu a.is-active .dlb-menu-icon,
.dlb-logout-link .dlb-menu-icon {
  background: rgba(255,255,255,.18);
  color: inherit;
}

.dlb-badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--dlb-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.dlb-notice {
  padding: 13px 15px;
  border-radius: 8px;
  margin-bottom: 18px;
  border: 1px solid transparent;
  font-weight: 700;
}

.dlb-notice-success {
  background: #ecfdf3;
  border-color: #b7ead0;
  color: #075e3b;
}

.dlb-notice-error {
  background: #fff1f0;
  border-color: #f6c9c4;
  color: var(--dlb-red);
}

.dlb-kicker {
  display: block;
  color: var(--dlb-orange);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 9px;
}

.dlb-auth-title,
.dlb-kicker + h2,
.dlb-posts-list h2,
.dlb-market-wrap h2,
.dlb-residents-wrap h2,
.dlb-thread-header h2,
.dlb-quick-compose h2,
.dlb-public-profile-hero h2 {
  color: var(--dlb-blue-dark);
  margin: 0 0 12px;
  line-height: 1.12;
}

.dlb-auth-wrap {
  max-width: 760px;
}

.dlb-auth-title {
  font-size: 38px;
}

.dlb-auth-form,
.dlb-photo-form,
.dlb-quick-compose,
.dlb-thread-panel,
.dlb-threads-list,
.dlb-market-card,
.dlb-public-house,
.dlb-resident-card,
.dlb-house-box,
.dlb-profile-facts {
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: var(--dlb-surface);
  box-shadow: var(--dlb-shadow-soft);
}

.dlb-auth-form,
.dlb-photo-form,
.dlb-quick-compose,
.dlb-thread-panel,
.dlb-threads-list,
.dlb-public-house,
.dlb-profile-facts {
  padding: 20px;
}

.dlb-auth-form p,
.dlb-compose-form p,
.dlb-photo-form p {
  margin: 0 0 16px;
}

.dlb-auth-form label,
.dlb-compose-form label,
.dlb-photo-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--dlb-blue-dark);
  font-weight: 800;
}

.dlb-auth-form input,
.dlb-compose-form input,
.dlb-compose-form textarea,
.dlb-photo-form input,
.dlb-compose-form select,
.dlb-residents-search input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--dlb-border-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--dlb-text);
  font-size: 16px;
  line-height: 1.35;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.dlb-auth-form input:focus,
.dlb-compose-form input:focus,
.dlb-compose-form textarea:focus,
.dlb-photo-form input:focus,
.dlb-compose-form select:focus,
.dlb-residents-search input:focus {
  border-color: var(--dlb-blue);
  box-shadow: 0 0 0 3px rgba(31,85,199,.14);
}

.dlb-auth-form button,
.dlb-compose-form button,
.dlb-photo-form button,
.dlb-market-interest-form button,
.dlb-general-chat-form button,
.dlb-life-lock-card button,
.dlb-job-card button,
.dlb-scheduled-work-card button,
.dlb-shop-card button,
.dlb-shop-inventory button,
.dlb-button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--dlb-blue);
  border-radius: 8px;
  background: var(--dlb-blue);
  color: #fff !important;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 9px 18px rgba(31,85,199,.18);
}

.dlb-button-link:visited {
  color: #fff !important;
}

.dlb-auth-form button:hover,
.dlb-compose-form button:hover,
.dlb-photo-form button:hover,
.dlb-market-interest-form button:hover,
.dlb-general-chat-form button:hover,
.dlb-life-lock-card button:hover,
.dlb-job-card button:hover,
.dlb-scheduled-work-card button:hover,
.dlb-shop-card button:hover,
.dlb-shop-inventory button:hover,
.dlb-button-link:hover {
  background: var(--dlb-blue);
  border-color: var(--dlb-blue);
  color: #fff !important;
  text-decoration: none;
}

.dlb-auth-form button:disabled,
.dlb-compose-form button:disabled,
.dlb-photo-form button:disabled,
.dlb-market-interest-form button:disabled {
  cursor: progress;
  opacity: .65;
}

.dlb-photo-form .is-secondary {
  background: var(--dlb-blue);
  color: #fff !important;
  border-color: var(--dlb-blue);
  box-shadow: 0 9px 18px rgba(31,85,199,.18);
}

.dlb-compose-form button.is-secondary,
.dlb-room-list button.is-secondary,
.dlb-mini-table button.is-secondary {
  background: var(--dlb-blue);
  border-color: var(--dlb-blue);
  color: #fff !important;
  box-shadow: 0 9px 18px rgba(31,85,199,.18);
}

.dlb-compose-form button.is-secondary:hover,
.dlb-room-list button.is-secondary:hover,
.dlb-mini-table button.is-secondary:hover {
  background: var(--dlb-blue);
  border-color: var(--dlb-blue);
  color: #fff !important;
}

.dlb-overview-grid,
.dlb-data-grid,
.dlb-messages-grid {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(360px,.9fr);
  gap: 28px;
  align-items: start;
}

.dlb-overview-main,
.dlb-overview-side,
.dlb-data-main,
.dlb-data-side,
.dlb-messages-main,
.dlb-messages-sidebar {
  min-width: 0;
}

.dlb-hero-card {
  display: grid;
  grid-template-columns: 178px minmax(0,1fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
  margin-bottom: 26px;
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(248,250,253,.96) 100%);
  box-shadow: var(--dlb-shadow);
}

.dlb-hero-photo img,
.dlb-hero-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--dlb-border);
}

.dlb-hero-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--dlb-blue), var(--dlb-blue-dark));
  color: #fff;
  font-size: 56px;
  font-weight: 900;
}

.dlb-hero-copy h2 {
  max-width: 760px;
  margin: 0 0 12px;
  color: var(--dlb-blue-dark);
  font-size: 42px;
  line-height: 1.08;
}

.dlb-hero-copy p,
.dlb-market-wrap > p,
.dlb-data-main > p,
.dlb-thread-header p {
  margin: 0 0 16px;
  color: var(--dlb-muted);
  font-size: 17px;
  line-height: 1.68;
}

.dlb-stats-row {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
  margin-top: 16px;
}

.dlb-stats-row div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: #fff;
}

.dlb-stats-row span {
  display: block;
  margin-bottom: 6px;
  color: var(--dlb-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.dlb-stats-row strong {
  display: block;
  color: var(--dlb-text);
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.dlb-posts-list,
.dlb-market-wrap,
.dlb-residents-wrap,
.dlb-public-profile-wrap {
  min-width: 0;
}

.dlb-post-item {
  display: grid;
  grid-template-columns: 220px minmax(0,1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--dlb-border);
}

.dlb-post-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--dlb-border);
  background: var(--dlb-soft);
}

.dlb-post-copy h3 {
  margin: 0 0 10px;
  color: var(--dlb-blue-dark);
  font-size: 28px;
  line-height: 1.16;
}

.dlb-post-copy p,
.dlb-house-box p,
.dlb-public-house p,
.dlb-market-card p {
  margin: 0 0 12px;
  color: var(--dlb-muted);
  font-size: 16px;
  line-height: 1.65;
}

.dlb-post-copy a,
.dlb-resident-action a,
.dlb-back-link,
.dlb-general-chat-head a {
  color: var(--dlb-blue);
  font-weight: 900;
  text-decoration: none;
}

.dlb-post-copy a:hover,
.dlb-resident-action a:hover,
.dlb-back-link:hover,
.dlb-general-chat-head a:hover {
  color: var(--dlb-blue-dark);
  text-decoration: underline;
}

.dlb-post-date {
  display: block;
  margin-bottom: 9px;
  color: var(--dlb-orange);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.dlb-passport-card {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 16px 28px;
  border: 1px solid #9da9b8;
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(31,85,199,.055) 0 1px, transparent 1px 9px),
    linear-gradient(135deg, #fffdf6 0%, #f8f2df 42%, #fff 100%);
  color: var(--dlb-text);
  box-shadow: var(--dlb-shadow);
}

.dlb-passport-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: linear-gradient(180deg, var(--dlb-orange) 0%, var(--dlb-orange) 33.33%, #fff 33.33%, #fff 66.66%, var(--dlb-blue) 66.66%, var(--dlb-blue) 100%);
  border-right: 1px solid rgba(0,0,0,.14);
}

.dlb-passport-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(184,138,46,.42);
  border-radius: 6px;
  pointer-events: none;
}

.dlb-passport-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17,35,82,.08), transparent 18%),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(184,138,46,.08) 22px 23px);
  pointer-events: none;
}

.dlb-passport-topline {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 0 0 13px;
  border-bottom: 2px solid rgba(17,55,128,.18);
}

.dlb-passport-country {
  color: var(--dlb-blue-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.dlb-passport-type {
  margin-top: 5px;
  color: #2b2412;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.12;
}

.dlb-flag {
  position: relative;
  width: 112px;
  height: 70px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(22,34,51,.12);
  flex: 0 0 auto;
}

.dlb-flag .band {
  display: block;
  height: 33.333%;
}

.dlb-flag .band-orange {
  background: var(--dlb-orange);
}

.dlb-flag .band-white {
  background: #fff;
}

.dlb-flag .band-blue {
  background: var(--dlb-blue);
}

.dlb-flag .crest {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #050505;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255,255,255,.65), 0 -1px 0 rgba(255,255,255,.35);
}

.dlb-passport-chip {
  position: absolute;
  right: 24px;
  top: 94px;
  width: 50px;
  height: 36px;
  border-radius: 7px;
  border: 1px solid rgba(92,62,10,.45);
  background: linear-gradient(135deg, #b98b2e, #f6df9c 46%, #a8731e 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}

.dlb-passport-chip::before,
.dlb-passport-chip::after {
  content: "";
  position: absolute;
  inset: 8px 7px;
  border-top: 1px solid rgba(80,54,15,.42);
  border-bottom: 1px solid rgba(80,54,15,.42);
}

.dlb-passport-chip::after {
  inset: 7px 14px;
  border: 0;
  border-left: 1px solid rgba(80,54,15,.42);
  border-right: 1px solid rgba(80,54,15,.42);
}

.dlb-passport-watermark {
  position: absolute;
  right: 18px;
  bottom: 38px;
  opacity: .08;
  transform: scale(1.65) rotate(-6deg);
  transform-origin: center;
  pointer-events: none;
}

.dlb-passport-body {
  position: relative;
  display: grid;
  grid-template-columns: 136px minmax(0,1fr);
  gap: 18px;
  margin-top: 14px;
  align-items: start;
}

.dlb-passport-photo-stack {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(17,55,128,.12);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.86) 0%, rgba(249,245,233,.92) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

.dlb-passport-photo-wrap {
  position: relative;
}

.dlb-passport-photo-meta {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.dlb-passport-skin-swatch {
  display: block;
  width: 100%;
  height: 48px;
  min-height: 48px;
  border: 1px solid rgba(67,84,110,.28);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 6px 14px rgba(17,55,128,.08);
}

.dlb-passport-photo-wrap img,
.dlb-passport-no-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: .78/1;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #8593a3;
  background: #fff;
  color: var(--dlb-blue-dark);
  font-size: 40px;
  font-weight: 950;
}

.dlb-stamp {
  position: absolute;
  left: 50%;
  top: 34%;
  transform: translate(-50%,-50%) rotate(-9deg);
  padding: 6px 10px;
  border: 2px solid rgba(180,35,24,.72);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--dlb-red);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
}

.dlb-passport-fields {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 16px;
}

.dlb-passport-fields > div {
  min-width: 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(17,55,128,.18);
}

.dlb-passport-fields span {
  display: block;
  color: #5d6673;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.dlb-passport-fields strong {
  display: block;
  margin-top: 3px;
  color: #111827;
  font-size: 16px;
  line-height: 1.3;
  word-break: break-word;
}

.dlb-rank-inline {
  display: inline-block;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 7px;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.15;
  vertical-align: middle;
}

.dlb-passport-mrz {
  position: relative;
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 10px 11px;
  border: 1px solid rgba(17,55,128,.24);
  border-radius: 6px;
  background: rgba(255,255,255,.74);
  color: #172033;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.dlb-passport-card-horizontal {
  padding: 18px 18px 12px 24px;
}

.dlb-passport-card-horizontal .dlb-passport-body {
  grid-template-columns: 138px minmax(0,1fr);
}

.dlb-passport-card-horizontal .dlb-passport-fields {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.dlb-passport-card-horizontal .dlb-passport-photo-wrap img,
.dlb-passport-card-horizontal .dlb-passport-no-photo {
  aspect-ratio: .8/1;
}

@media (max-width: 780px) {
  .dlb-passport-card-horizontal .dlb-passport-body {
    grid-template-columns: 1fr;
  }
}

.dlb-house-box {
  margin-top: 18px;
  padding: 18px;
}

.dlb-side-title {
  margin-bottom: 12px;
  color: var(--dlb-orange);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.dlb-house-image,
.dlb-market-card img,
.dlb-public-house img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 8px;
  border-bottom: 1px solid var(--dlb-border);
}

.dlb-house-image {
  margin-bottom: 14px;
  border: 1px solid var(--dlb-border);
}

.dlb-house-box h3,
.dlb-market-card h3,
.dlb-public-house h3,
.dlb-resident-copy h3 {
  margin: 0 0 9px;
  color: var(--dlb-blue-dark);
  font-size: 24px;
  line-height: 1.18;
}

.dlb-house-meta,
.dlb-market-meta {
  margin: 0 0 9px;
  color: var(--dlb-blue-dark);
  font-weight: 800;
}

.dlb-empty-house {
  margin: 0;
  color: var(--dlb-muted);
  font-size: 16px;
  line-height: 1.65;
}

.dlb-market-grid,
.dlb-public-houses,
.dlb-residents-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.dlb-market-card,
.dlb-public-house,
.dlb-resident-card {
  overflow: hidden;
}

.dlb-market-card-body {
  padding: 18px;
}

.dlb-market-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 7px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.dlb-market-kind {
  display: inline-flex;
  width: max-content;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  margin: 0 0 10px 8px;
  border: 1px solid #c8d8f8;
  border-radius: 8px;
  background: #edf4ff;
  color: var(--dlb-blue-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.dlb-market-status.is-te_koop {
  background: #eaf1ff;
  color: var(--dlb-blue-dark);
}

.dlb-market-status.is-onder_bod {
  background: #fff3e7;
  color: #a64f09;
}

.dlb-market-status.is-verkocht {
  background: #eef0f3;
  color: #4a5565;
}

.dlb-market-price {
  margin: 0 0 10px;
  color: var(--dlb-text);
  font-size: 20px;
  font-weight: 950;
}

.dlb-market-section-title {
  margin: 24px 0 14px;
  color: var(--dlb-blue-dark);
  font-size: 22px;
  font-weight: 950;
}

.dlb-market-owner-panel {
  margin: 20px 0 24px;
  padding: 18px;
  border: 1px solid #c8d8f8;
  border-radius: 8px;
  background: linear-gradient(180deg,#fff,#f8fbff);
}

.dlb-market-owner-head {
  margin-bottom: 14px;
}

.dlb-market-owner-head h3 {
  margin: 4px 0 0;
  color: var(--dlb-blue-dark);
  font-size: 24px;
  font-weight: 950;
}

.dlb-market-owner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 14px;
}

.dlb-market-owner-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #dbe7fb;
  border-radius: 8px;
  background: #fff;
}

.dlb-market-owner-card > strong {
  color: var(--dlb-blue-dark);
  font-size: 18px;
  font-weight: 950;
}

.dlb-market-owner-card > span {
  color: var(--dlb-muted);
  line-height: 1.45;
}

.dlb-property-action-form {
  display: grid !important;
  grid-template-columns: minmax(0,1fr);
  gap: 8px;
  margin: 0;
}

.dlb-property-action-form p {
  margin: 0;
}

.dlb-property-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dlb-house-bid-form {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.dlb-house-bid-form input,
.dlb-house-bid-form textarea {
  width: 100%;
}

.dlb-market-rentals {
  margin-top: 30px;
}

.dlb-market-status.is-te_huur {
  background: #e9fbf1;
  color: #176534;
}

.dlb-market-card button,
.dlb-room-list button,
.dlb-mini-table button,
.dlb-property-action-form button {
  background: var(--dlb-blue);
  border-color: var(--dlb-blue);
  color: #fff !important;
}

.dlb-market-card button:hover,
.dlb-room-list button:hover,
.dlb-mini-table button:hover,
.dlb-property-action-form button:hover {
  background: var(--dlb-blue);
  border-color: var(--dlb-blue);
  color: #fff !important;
}

.dlb-residents-search input {
  max-width: 620px;
  margin-bottom: 20px;
}

.dlb-resident-card {
  display: grid;
  grid-template-columns: 92px minmax(0,1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.dlb-resident-avatar img,
.dlb-resident-avatar span,
.dlb-public-profile-avatar img,
.dlb-public-profile-avatar span {
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--dlb-blue), var(--dlb-blue-dark));
  color: #fff;
  font-weight: 950;
}

.dlb-resident-avatar img,
.dlb-resident-avatar span {
  width: 92px;
  height: 92px;
  font-size: 32px;
}

.dlb-resident-copy p,
.dlb-resident-copy small {
  display: block;
  margin: 0 0 8px;
  color: var(--dlb-muted);
}

.dlb-resident-meta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--dlb-muted);
  font-size: 14px;
}

.dlb-resident-action {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.dlb-message-subnav {
  display: flex;
  gap: 10px;
  margin: 0 0 18px;
  flex-wrap: wrap;
  align-items: center;
}

.dlb-messages-grid {
  align-items: start;
}

.dlb-thread-item {
  display: block;
  margin: 0 -10px;
  padding: 13px 10px;
  border-bottom: 1px solid var(--dlb-border);
  border-radius: 8px;
  color: var(--dlb-text);
  text-decoration: none;
}

.dlb-thread-item:hover,
.dlb-thread-item.is-active {
  background: #f3f6fb;
}

.dlb-thread-person {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  gap: 12px;
  align-items: start;
}

.dlb-thread-copy {
  min-width: 0;
}

.dlb-thread-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--dlb-blue-dark);
}

.dlb-thread-item span,
.dlb-thread-item small {
  display: block;
  color: var(--dlb-muted);
}

.dlb-thread-item em {
  display: inline-block;
  margin-top: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--dlb-orange);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.dlb-thread-header {
  margin-bottom: 14px;
}

.dlb-message-stream,
.dlb-general-chat-stream {
  display: grid;
  gap: 12px;
  max-height: 560px;
  overflow: auto;
  padding: 18px;
  border: 1px solid #c8d8f8;
  border-radius: 8px;
  background: linear-gradient(180deg,#eef5ff 0%,#ffffff 100%);
  scrollbar-gutter: stable;
}

.dlb-message-stream {
  margin-bottom: 18px;
}

.dlb-message-bubble,
.dlb-general-chat-item {
  max-width: 80%;
  padding: 14px 15px;
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: #fff;
  color: var(--dlb-text);
  box-shadow: 0 8px 18px rgba(22,45,89,.07);
}

.dlb-message-bubble.is-mine {
  margin-left: auto;
  background: var(--dlb-blue);
  border-color: var(--dlb-blue);
  color: #fff;
  box-shadow: 0 12px 24px rgba(31,85,199,.22);
}

.dlb-message-bubble-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.dlb-message-bubble-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dlb-message-bubble-name {
  margin: 0 !important;
}

.dlb-message-bubble strong {
  display: block;
  margin-bottom: 6px;
  color: var(--dlb-blue-dark);
}

.dlb-message-bubble p,
.dlb-general-chat-item p {
  margin: 0 0 8px;
  color: var(--dlb-text);
  line-height: 1.6;
  white-space: pre-wrap;
}

.dlb-message-bubble.is-mine strong,
.dlb-message-bubble.is-mine p,
.dlb-message-bubble.is-mine span {
  color: #fff;
}

.dlb-general-chat-item:not(.is-mine) p {
  color: var(--dlb-blue-dark);
}

.dlb-message-bubble span,
.dlb-general-chat-head span,
.dlb-general-chat-head time {
  color: var(--dlb-muted);
  font-size: 13px;
}

.dlb-message-empty {
  color: var(--dlb-muted);
}

.dlb-general-chat-wrap {
  width: 100%;
}

.dlb-general-chat-wrap .dlb-thread-panel {
  width: 100%;
  max-width: none;
  border-color: #c8d8f8;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(22,45,89,.12);
}

.dlb-live-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border: 1px solid #dbe6fb;
  border-radius: 8px;
  background: linear-gradient(135deg,var(--dlb-blue-dark) 0%,var(--dlb-blue) 100%);
  color: #fff;
}

.dlb-live-chat-header .dlb-kicker,
.dlb-live-chat-header h2,
.dlb-live-chat-header p,
.dlb-live-chat-header strong {
  color: #fff !important;
}

.dlb-live-chat-header p {
  opacity: .88;
}

.dlb-live-chat-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid #b7ead0;
  border-radius: 999px;
  background: #ecfdf3;
  color: #075e3b !important;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  flex: 0 0 auto;
}

.dlb-live-chat-status.is-syncing {
  background: #fff8eb;
  border-color: #f3d49e;
  color: #9a5a08 !important;
}

.dlb-live-chat-status.is-error {
  background: #fff1f0;
  border-color: #f6c9c4;
  color: var(--dlb-red) !important;
}

.dlb-general-chat-item {
  width: fit-content;
  max-width: min(760px, 100%);
}

.dlb-general-chat-item.is-mine {
  background: var(--dlb-blue);
  border-color: var(--dlb-blue);
  color: #fff;
  margin-left: auto;
  width: fit-content;
  max-width: min(720px,100%);
}

.dlb-general-chat-item.is-mine p,
.dlb-general-chat-item.is-mine .dlb-general-chat-head span,
.dlb-general-chat-item.is-mine .dlb-general-chat-head time,
.dlb-general-chat-item.is-mine .dlb-general-chat-head a {
  color: #fff !important;
}

.dlb-general-chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.dlb-person-thumb {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #c8d8f8;
  border-radius: 16px;
  background: linear-gradient(135deg,#eef5ff,#dfeafe);
  box-shadow: 0 8px 18px rgba(22,45,89,.09);
}

.dlb-person-thumb.is-sm {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.dlb-person-thumb.is-md {
  width: 52px;
  height: 52px;
}

.dlb-person-thumb.is-lg {
  width: 72px;
  height: 72px;
}

.dlb-person-thumb img,
.dlb-person-thumb-fallback {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.dlb-person-thumb img {
  object-fit: cover;
  filter: saturate(1.08) contrast(1.02);
}

.dlb-person-thumb-fallback {
  color: var(--dlb-blue-dark);
  font-size: 15px;
  font-weight: 900;
  background: linear-gradient(180deg, #ffd6a1 0%, #f4b778 100%);
  color: #3e2a1d;
}

.dlb-chat-delete-button {
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff;
  color: #b42318 !important;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.dlb-chat-delete-button:disabled {
  opacity: .55;
  cursor: wait;
}

.dlb-general-chat-form {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #dbe6fb;
  border-radius: 8px;
  background: #fff;
  display: grid;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(22,45,89,.08);
}

.dlb-general-chat-form p {
  margin: 0;
}

.dlb-general-chat-form textarea {
  min-height: 88px;
  resize: vertical;
  background: #fff;
}

.dlb-general-chat-form button {
  width: auto;
  min-width: 150px;
}

.dlb-form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.dlb-world-back-menu {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid #c8d8f8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(22,45,89,.08);
}

.dlb-world-back-menu a,
.dlb-world-back-menu > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--dlb-blue);
  background: var(--dlb-blue);
  color: #fff !important;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 9px 18px rgba(31,85,199,.18);
}

.dlb-world-back-menu a:hover,
.dlb-world-back-menu > span:hover {
  background: var(--dlb-blue);
  border-color: var(--dlb-blue);
  color: #fff !important;
  text-decoration: none;
}

.dlb-world-back-menu a.is-active,
.dlb-world-back-menu .is-primary,
.dlb-world-back-menu.is-home span {
  background: var(--dlb-blue-dark);
  border-color: var(--dlb-blue-dark);
  color: #fff !important;
}

.dlb-world-weather-slot {
  flex: 1 1 340px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  min-width: 0;
}

.dlb-world-weather-slot .dlb-weather-bar {
  width: 100%;
  margin: 0;
  padding: 9px 12px;
  box-shadow: none;
}

.dlb-world-wrap {
  display: grid;
  gap: 12px;
  position: relative;
  padding: 18px;
  border-radius: 12px;
  overflow: hidden;
  --dlb-daylight: .82;
}

.dlb-world-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.28), transparent 44%),
    linear-gradient(180deg, rgba(119,198,255,.28) 0%, rgba(12,42,96,.12) 100%);
  pointer-events: none;
  opacity: .9;
}

.dlb-world-wrap[data-dlb-weather-kind="cloudy"]::before {
  background:
    radial-gradient(circle at top, rgba(255,255,255,.14), transparent 42%),
    linear-gradient(180deg, rgba(86,110,140,.34) 0%, rgba(30,47,76,.20) 100%);
}

.dlb-world-wrap[data-dlb-weather-kind="rain"]::before,
.dlb-world-wrap[data-dlb-weather-kind="heavy_rain"]::before {
  background:
    radial-gradient(circle at top, rgba(151,191,255,.16), transparent 38%),
    linear-gradient(180deg, rgba(19,56,112,.40) 0%, rgba(6,24,62,.34) 100%);
}

.dlb-world-wrap[data-dlb-weather-kind="storm"]::before {
  background:
    radial-gradient(circle at top, rgba(166,176,205,.12), transparent 34%),
    linear-gradient(180deg, rgba(46,56,84,.42) 0%, rgba(12,17,32,.40) 100%);
}

.dlb-world-wrap[data-dlb-weather-kind="severe_storm"]::before,
.dlb-world-wrap[data-dlb-weather-kind="hurricane"]::before {
  background:
    radial-gradient(circle at top, rgba(182,147,112,.12), transparent 34%),
    linear-gradient(180deg, rgba(102,73,44,.46) 0%, rgba(44,28,16,.50) 100%);
}

.dlb-world-wrap[data-dlb-weather-kind="snow"]::before,
.dlb-world-wrap[data-dlb-weather-kind="snow_emergency"]::before {
  background:
    radial-gradient(circle at top, rgba(255,255,255,.28), transparent 48%),
    linear-gradient(180deg, rgba(219,235,255,.34) 0%, rgba(132,161,204,.20) 100%);
}

.dlb-world-wrap[data-dlb-weather-kind="extreme_sun"]::before {
  background:
    radial-gradient(circle at top, rgba(255,255,255,.42), transparent 42%),
    linear-gradient(180deg, rgba(35,157,255,.38) 0%, rgba(121,217,255,.20) 100%);
}

.dlb-world-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.dlb-world-gamebar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}

.dlb-world-gamebar > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid #c8d8f8;
  border-radius: 8px;
  background: linear-gradient(180deg,#ffffff 0%,#f7faff 100%);
  box-shadow: 0 12px 28px rgba(22,45,89,.08);
}

.dlb-world-gamebar span {
  display: block;
  margin-bottom: 6px;
  color: var(--dlb-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.dlb-world-gamebar strong {
  display: block;
  color: var(--dlb-blue-dark);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.dlb-world-color-picker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #c8d8f8;
  border-radius: 8px;
  background: #fff;
  color: var(--dlb-blue-dark);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(22,45,89,.08);
}

.dlb-world-color-picker input[type="color"] {
  width: 42px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.dlb-world-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  padding: 20px;
  border: 1px solid #c8d8f8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(22,45,89,.08);
}

.dlb-world-header h2 {
  margin: 4px 0 8px;
  color: var(--dlb-blue-dark);
  font-size: 34px;
  line-height: 1.05;
}

.dlb-world-header p {
  max-width: 760px;
  margin: 0;
  color: var(--dlb-text);
}

.dlb-world-header a {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--dlb-blue);
  color: #fff !important;
  font-weight: 950;
  text-decoration: none;
}

.dlb-world-map {
  position: relative;
  overflow: visible;
  border: 1px solid #b7c9ee;
  border-radius: 8px;
  background: linear-gradient(180deg, #71c7ff 0%, #d8eeff 100%);
  box-shadow: 0 18px 44px rgba(16,42,92,.16);
  isolation: isolate;
}

.dlb-world-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(3, 12, 28, calc(1 - var(--dlb-daylight)));
  pointer-events: none;
}

.dlb-world-wrap[data-dlb-weather-kind="cloudy"] .dlb-world-map {
  background: linear-gradient(180deg, #7d8ca3 0%, #b5c1d3 100%);
}

.dlb-world-wrap[data-dlb-weather-kind="rain"] .dlb-world-map {
  background: linear-gradient(180deg, #29528d 0%, #5c81b3 100%);
}

.dlb-world-wrap[data-dlb-weather-kind="heavy_rain"] .dlb-world-map {
  background: linear-gradient(180deg, #153669 0%, #335b94 100%);
}

.dlb-world-wrap[data-dlb-weather-kind="storm"] .dlb-world-map {
  background: linear-gradient(180deg, #48526b 0%, #77809a 100%);
}

.dlb-world-wrap[data-dlb-weather-kind="severe_storm"] .dlb-world-map {
  background: linear-gradient(180deg, #6e563d 0%, #9b7f62 100%);
}

.dlb-world-wrap[data-dlb-weather-kind="hurricane"] .dlb-world-map {
  background: linear-gradient(180deg, #4f341f 0%, #7a5637 100%);
}

.dlb-world-wrap[data-dlb-weather-kind="snow"] .dlb-world-map,
.dlb-world-wrap[data-dlb-weather-kind="snow_emergency"] .dlb-world-map {
  background: linear-gradient(180deg, #dfeeff 0%, #f9fcff 100%);
}

.dlb-world-wrap[data-dlb-weather-kind="extreme_sun"] .dlb-world-map {
  background: linear-gradient(180deg, #1d9dff 0%, #8fe2ff 100%);
}

.dlb-world-map > img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 360px;
  object-fit: cover;
  position: relative;
  z-index: 1;
  filter: saturate(calc(.78 + var(--dlb-daylight) * .46)) brightness(calc(.50 + var(--dlb-daylight) * .75));
}

.dlb-world-hotspots {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.dlb-world-presence {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.dlb-world-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.dlb-world-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,.28), transparent 16%),
    linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 44%);
  mix-blend-mode: screen;
  opacity: calc(.14 + var(--dlb-daylight) * .44);
}

.dlb-world-weather-layer {
  position: absolute;
  inset: -8% 0 0;
  overflow: hidden;
  opacity: 0;
}

.dlb-world-wrap[data-dlb-weather-kind="rain"] .dlb-world-weather-layer.is-rain,
.dlb-world-wrap[data-dlb-weather-kind="heavy_rain"] .dlb-world-weather-layer.is-rain,
.dlb-world-wrap[data-dlb-weather-kind="storm"] .dlb-world-weather-layer.is-rain,
.dlb-world-wrap[data-dlb-weather-kind="severe_storm"] .dlb-world-weather-layer.is-rain,
.dlb-world-wrap[data-dlb-weather-kind="hurricane"] .dlb-world-weather-layer.is-rain {
  opacity: .9;
}

.dlb-world-wrap[data-dlb-weather-kind="snow"] .dlb-world-weather-layer.is-snow,
.dlb-world-wrap[data-dlb-weather-kind="snow_emergency"] .dlb-world-weather-layer.is-snow {
  opacity: .95;
}

.dlb-weather-drop,
.dlb-weather-flake {
  position: absolute;
  top: -16%;
  pointer-events: none;
}

.dlb-weather-drop {
  width: 2px;
  height: 140px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(110,146,190,.92) 36%, rgba(221,237,255,.98) 100%);
  transform: rotate(12deg);
  box-shadow: 0 0 8px rgba(57,93,139,.22);
  animation: dlbRainFall linear infinite;
}

.dlb-weather-flake {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  box-shadow: 0 0 10px rgba(255,255,255,.65);
  animation: dlbSnowFall linear infinite;
}

@keyframes dlbRainFall {
  from { transform: translate3d(0, -18%, 0) rotate(12deg); opacity: 0; }
  12% { opacity: .95; }
  to { transform: translate3d(-220px, 170%, 0) rotate(12deg); opacity: 0; }
}

@keyframes dlbSnowFall {
  from { transform: translate3d(0, -10%, 0); opacity: 0; }
  12% { opacity: .95; }
  50% { transform: translate3d(18px, 52%, 0); }
  to { transform: translate3d(-22px, 118%, 0); opacity: 0; }
}

.dlb-world-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 18px rgba(15,42,101,.28);
  pointer-events: auto;
  transition: left .9s linear, top .9s linear, transform .16s ease;
}

.dlb-world-dot.is-self {
  width: 16px;
  height: 16px;
  z-index: 2;
}

.dlb-world-dot.is-offline {
  opacity: .7;
}

.dlb-world-dot.is-moving {
  box-shadow: 0 0 0 4px rgba(37,99,235,.16), 0 8px 18px rgba(15,42,101,.28);
}

.dlb-world-dot:hover,
.dlb-world-dot:focus-visible {
  transform: translate(-50%, -50%) scale(1.18);
  outline: 0;
}

.dlb-world-spot {
  position: absolute;
  left: var(--spot-x);
  top: var(--spot-y);
  width: var(--spot-w);
  min-width: 28px;
  min-height: 24px;
  height: var(--spot-h);
  display: block;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff !important;
  text-decoration: none;
  box-shadow: none;
  outline-offset: 3px;
  -webkit-tap-highlight-color: rgba(37,86,196,.18);
}

.dlb-world-spot span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 3;
  transform: translateX(-50%) translateY(4px);
  display: block;
  width: max-content;
  max-width: 190px;
  padding: 7px 10px;
  border-radius: 7px;
  background: rgba(15, 42, 101, .96);
  color: #fff !important;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 22px rgba(9,27,63,.26);
  transition: opacity .14s ease, transform .14s ease;
  white-space: normal;
}

.dlb-world-spot span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(15, 42, 101, .96);
}

.dlb-world-spot:focus-visible {
  outline: 2px solid var(--dlb-blue);
  background: rgba(37, 86, 196, .12);
}

.dlb-world-spot:focus-visible span,
.dlb-world-spot:hover span {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.dlb-world-spot small {
  display: none;
}

.dlb-world-spot.is-house,
.dlb-world-spot.is-market,
.dlb-world-spot.is-logout {
  border: 0;
  background: transparent;
}

@media (hover: none) {
  .dlb-world-spot:active span {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 860px) {
  .dlb-world-gamebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dlb-world-back-menu > a,
  .dlb-world-weather-slot {
    flex: 1 1 100%;
  }

  .dlb-world-back-menu > a {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .dlb-world-gamebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .dlb-world-toolbar {
    justify-content: stretch;
  }

  .dlb-world-color-picker {
    width: 100%;
    justify-content: space-between;
  }

  .dlb-world-map > img {
    min-height: 240px;
  }

  .dlb-world-spot span {
    max-width: 140px;
    font-size: 11px;
  }

  .dlb-world-dot {
    width: 12px;
    height: 12px;
  }
}

.dlb-world-quicklinks {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
  gap: 10px;
}

.dlb-world-quicklinks a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px;
  border: 1px solid #c8d8f8;
  border-radius: 8px;
  background: #fff;
  color: var(--dlb-blue-dark);
  font-weight: 900;
  text-decoration: none;
}

.dlb-public-profile-grid {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) 360px;
  gap: 26px;
  align-items: start;
}

.dlb-public-profile-hero {
  display: grid;
  grid-template-columns: 132px minmax(0,1fr);
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: var(--dlb-surface);
  box-shadow: var(--dlb-shadow-soft);
}

.dlb-public-profile-avatar img,
.dlb-public-profile-avatar span {
  width: 132px;
  height: 132px;
  font-size: 44px;
}


.dlb-public-profile-hero h2 {
  font-size: 36px;
}

.dlb-public-username {
  margin: 0 0 10px;
  color: var(--dlb-text);
  font-weight: 800;
}

.dlb-back-link {
  display: inline-flex;
  margin-bottom: 18px;
}

.dlb-profile-facts ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dlb-profile-facts li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dlb-border);
}

.dlb-profile-facts li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.dlb-profile-facts strong {
  color: var(--dlb-blue-dark);
}

.dlb-profile-facts span {
  color: var(--dlb-text);
  text-align: right;
  overflow-wrap: anywhere;
}

.dlb-economy-wrap {
  min-width: 0;
}

.dlb-wallet-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) 220px 220px;
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  margin-bottom: 22px;
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.99) 0%, rgba(239,246,255,.98) 100%);
  box-shadow: var(--dlb-shadow);
}

.dlb-wallet-hero h2 {
  margin: 0 0 10px;
  color: var(--dlb-blue-dark);
  font-size: 44px;
  line-height: 1.05;
}

.dlb-wallet-hero p,
.dlb-economy-card p {
  color: var(--dlb-muted);
  font-size: 16px;
  line-height: 1.65;
}

.dlb-debt-card,
.dlb-economy-card {
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: var(--dlb-surface);
  box-shadow: var(--dlb-shadow-soft);
}

.dlb-debt-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
}

.dlb-debt-card span {
  color: var(--dlb-muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.dlb-debt-card strong {
  display: block;
  margin-top: 8px;
  color: var(--dlb-green);
  font-size: 28px;
  line-height: 1.1;
}

.dlb-debt-card small {
  display: block;
  margin-top: 7px;
  color: var(--dlb-muted);
  font-size: 13px;
  font-weight: 800;
}

.dlb-debt-card.is-savings strong {
  color: var(--dlb-blue);
}

.dlb-debt-card.has-debt strong {
  color: var(--dlb-red);
}

.dlb-economy-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.dlb-economy-card {
  padding: 20px;
  min-width: 0;
}

.dlb-portal-card-stack {
  display: grid;
  gap: 20px;
}

.dlb-portal-block,
.dlb-messages-main,
.dlb-messages-sidebar {
  padding: 20px;
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: var(--dlb-surface);
  box-shadow: var(--dlb-shadow-soft);
}

.dlb-portal-intro-block {
  background: linear-gradient(135deg,#fff 0%,#f8fbff 54%,#fff7ed 100%);
}

.dlb-portal-intro-block h2,
.dlb-portal-block h2,
.dlb-portal-block h3 {
  margin-top: 0;
}

.dlb-economy-card h3 {
  margin: 0 0 10px;
  color: var(--dlb-blue-dark);
  font-size: 24px;
}

.dlb-economy-card button,
.dlb-popup-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--dlb-blue);
  border-radius: 8px;
  background: var(--dlb-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.dlb-economy-card button:hover,
.dlb-popup-card button:hover {
  background: var(--dlb-blue);
  border-color: var(--dlb-blue);
  color: #fff;
}

.dlb-casino-card {
  padding: 0;
  overflow: hidden;
  min-height: 310px;
  background: #05070d;
}

.dlb-casino-form {
  height: 100%;
  margin: 0;
}

.dlb-economy-card .dlb-casino-image-button {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #05070d;
  box-shadow: none;
}

.dlb-economy-card .dlb-casino-image-button:hover {
  background: #05070d;
  border-color: transparent;
}

.dlb-casino-image-button img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  object-position: center 68%;
  transform: scale(1.12);
}

.dlb-casino-image-button:hover img {
  filter: none;
  transform: scale(1.12);
}

.dlb-savings-summary {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  margin: 16px 0;
}

.dlb-savings-summary div {
  padding: 12px;
  border: 1px solid #dbe6fb;
  border-radius: 8px;
  background: #f8fbff;
}

.dlb-savings-summary span {
  display: block;
  color: var(--dlb-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dlb-savings-summary strong {
  display: block;
  margin-top: 5px;
  color: var(--dlb-blue-dark);
  font-size: 18px;
}

.dlb-savings-actions {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}

.dlb-economy-card button.is-secondary {
  background: var(--dlb-blue);
  border-color: var(--dlb-blue);
  color: #fff !important;
  box-shadow: 0 9px 18px rgba(31,85,199,.18);
}

.dlb-economy-card button.is-secondary:hover {
  background: var(--dlb-blue);
  border-color: var(--dlb-blue);
  color: #fff !important;
}

.dlb-inline-alert {
  padding: 10px 12px;
  border: 1px solid #f4c28d;
  border-radius: 8px;
  background: #fff7ed;
  color: #873b08 !important;
  font-weight: 800;
}

.dlb-loan-response-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--dlb-border);
}

.dlb-loan-reject-form {
  margin-top: 8px;
}

.dlb-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.dlb-resident-action-panel {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  margin-top: 16px;
}

.dlb-resident-action-panel > .dlb-button-link {
  width: 100%;
}

.dlb-move-in-panel {
  grid-column: 1 / -1;
  scroll-margin-top: 90px;
  padding: 14px;
  border: 1px solid #c8d8f8;
  border-radius: 8px;
  background: #f8fbff;
}

.dlb-move-in-panel > strong {
  display: block;
  color: var(--dlb-blue-dark);
  font-size: 16px;
  font-weight: 950;
}

.dlb-move-in-panel > p {
  margin: 6px 0 12px;
  color: var(--dlb-muted);
  line-height: 1.5;
}

.dlb-move-in-panel .dlb-compose-form {
  margin: 0;
}

.dlb-compact-action-form {
  grid-column: span 2;
  padding: 14px;
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: #fff;
}

.dlb-compact-action-form input,
.dlb-compact-action-form select,
.dlb-compact-action-form textarea {
  margin-bottom: 9px;
}

.dlb-owned-property-list,
.dlb-shop-property-list {
  display: grid;
  gap: 12px;
}

.dlb-owned-property-card,
.dlb-shop-property-list article {
  min-width: 0;
  padding: 12px;
  border: 1px solid #dbe7fb;
  border-radius: 8px;
  background: #fff;
}

.dlb-owned-property-card + .dlb-owned-property-card {
  margin-top: 10px;
}

.dlb-property-overview-card,
.dlb-shop-property-card {
  margin-top: 0;
}

.dlb-shop-property-list article {
  display: grid;
  gap: 10px;
  background: linear-gradient(180deg,#fff,#f8fbff);
}

.dlb-shop-property-list strong,
.dlb-shop-property-list span,
.dlb-shop-property-list small {
  display: block;
}

.dlb-shop-property-list strong {
  color: var(--dlb-blue-dark);
  font-size: 18px;
}

.dlb-shop-property-list span,
.dlb-shop-property-list small {
  color: var(--dlb-muted);
  line-height: 1.45;
}

.dlb-shop-property-list .dlb-mini-table {
  margin: 0;
}

.dlb-shop-description-preview {
  margin: 8px 0 0;
}

.dlb-notice.dlb-notice-warning {
  border-color: #f4c28d;
  background: #fff7ed;
  color: #873b08;
}

.dlb-section-spacer {
  height: 10px;
}

.dlb-shop-hire-form {
  border-top: 1px solid #dbe7fb;
  padding-top: 12px;
}

.dlb-shop-employee-list {
  display: grid;
  gap: 8px;
}

.dlb-shop-employee-list form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
  border: 1px solid #dbe7fb;
  border-radius: 8px;
  background: #fff;
}

.dlb-shop-employee-list span {
  color: var(--dlb-blue-dark);
  font-weight: 900;
}

.dlb-mini-table {
  display: grid;
  gap: 10px;
}

.dlb-mini-table > div {
  padding: 12px;
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: #fff;
}

.dlb-mini-table strong,
.dlb-mini-table span,
.dlb-mini-table small {
  display: block;
}

.dlb-mini-table strong {
  color: var(--dlb-blue-dark);
  font-size: 16px;
}

.dlb-mini-table span,
.dlb-mini-table small {
  margin-top: 4px;
  color: var(--dlb-muted);
  line-height: 1.45;
}

.dlb-buy-house-form {
  margin-bottom: 10px;
}

.dlb-buy-house-form button {
  background: var(--dlb-blue);
  border-color: var(--dlb-blue);
  color: #fff !important;
}

.dlb-buy-house-form button:hover {
  background: var(--dlb-blue);
  border-color: var(--dlb-blue);
  color: #fff !important;
}

.dlb-passport-photo-wrap.dlb-passport-frame-bronze,
.dlb-passport-photo-wrap.dlb-passport-frame-silver,
.dlb-passport-photo-wrap.dlb-passport-frame-gold {
  padding: 7px;
  border-radius: 8px;
}

.dlb-passport-photo-wrap.dlb-passport-frame-bronze {
  background: linear-gradient(135deg,#8f4d24,#d39155,#6e3519);
  box-shadow: 0 10px 18px rgba(111,65,26,.24);
}

.dlb-passport-photo-wrap.dlb-passport-frame-silver {
  background: linear-gradient(135deg,#7c8797,#f7fbff,#aab4c3,#596473);
  box-shadow: 0 10px 18px rgba(79,91,107,.22);
}

.dlb-passport-photo-wrap.dlb-passport-frame-gold {
  background: linear-gradient(135deg,#9b6b0d,#ffe08a,#c88b12,#fff2bb);
  box-shadow: 0 12px 24px rgba(156,105,13,.3);
}

.dlb-passport-frame-label {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: block;
  padding: 4px 5px;
  border-radius: 6px;
  background: rgba(255,255,255,.92);
  color: var(--dlb-blue-dark);
  font-size: 10px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.dlb-shop-wrap {
  min-width: 0;
}

.dlb-shop-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) 240px;
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  margin-bottom: 22px;
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: linear-gradient(135deg,#fff 0%,#f8fbff 54%,#fff7ed 100%);
  box-shadow: var(--dlb-shadow);
}

.dlb-shop-hero h2 {
  margin: 0 0 10px;
  color: var(--dlb-blue-dark);
  font-size: 38px;
}

.dlb-shop-hero p {
  color: var(--dlb-muted);
  font-size: 16px;
  line-height: 1.6;
}

.dlb-shop-balance {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border: 1px solid #dbe6fb;
  border-radius: 8px;
  background: #fff;
}

.dlb-shop-balance span,
.dlb-shop-category {
  color: var(--dlb-muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.dlb-shop-balance strong {
  margin-top: 8px;
  color: var(--dlb-blue-dark);
  font-size: 24px;
  line-height: 1.15;
}

.dlb-shop-category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.dlb-shop-directory-card {
  margin-bottom: 20px;
}

.dlb-shop-directory-list {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 14px;
  margin-top: 14px;
}

.dlb-shop-directory-list article {
  padding: 16px;
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: #fff;
}

.dlb-shop-directory-list strong,
.dlb-shop-directory-list span,
.dlb-shop-directory-list small {
  display: block;
}

.dlb-shop-directory-list strong {
  color: var(--dlb-blue-dark);
  font-size: 18px;
}

.dlb-shop-directory-list span,
.dlb-shop-directory-list small {
  margin-top: 6px;
  color: var(--dlb-muted);
}

.dlb-shop-directory-list p {
  margin: 10px 0 0;
}

.dlb-shop-category-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #c8d8f8;
  border-radius: 8px;
  background: #fff;
  color: var(--dlb-blue-dark);
  font-size: 13px;
  font-weight: 900;
}

.dlb-shop-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.dlb-shop-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--dlb-shadow-soft);
}

.dlb-shop-card.is-passport_frame {
  background: linear-gradient(180deg,#fff,#f8fbff);
}

.dlb-shop-card-top {
  display: grid;
  grid-template-columns: 52px minmax(0,1fr);
  gap: 12px;
  align-items: center;
}

.dlb-shop-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid #c9d9fb;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--dlb-blue-dark);
  font-size: 26px;
  font-weight: 950;
  line-height: 1;
}

.dlb-shop-card h3 {
  margin: 2px 0 0;
  color: var(--dlb-blue-dark);
  font-size: 22px;
}

.dlb-shop-tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #fff4e8;
  color: #9a4e0b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dlb-shop-card p {
  margin: 0;
  color: var(--dlb-muted);
  line-height: 1.55;
}

.dlb-shop-price {
  color: var(--dlb-orange);
  font-size: 18px;
}

.dlb-shop-buy-form,
.dlb-shop-equip-form {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.dlb-shop-buy-form select,
.dlb-shop-buy-form textarea {
  width: 100%;
}

.dlb-shop-bottom-grid,
.dlb-justice-actions {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.dlb-shop-inventory,
.dlb-shop-owned,
.dlb-justice-cards,
.dlb-justice-case-list {
  display: grid;
  gap: 12px;
}

.dlb-shop-inventory > div,
.dlb-justice-mini-card,
.dlb-justice-case,
.dlb-witness-item {
  padding: 14px;
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: #fff;
}

.dlb-shop-inventory > div {
  display: grid;
  grid-template-columns: 52px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
}

.dlb-shop-inventory strong,
.dlb-justice-mini-card strong,
.dlb-witness-item span {
  color: var(--dlb-blue-dark);
}

.dlb-justice-list-card {
  margin-top: 20px;
}

.dlb-justice-list-card > .dlb-mini-table {
  display: none;
}

.dlb-justice-case {
  background: linear-gradient(180deg,#fff,#f8fbff);
}

.dlb-justice-case-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dlb-border);
}

.dlb-justice-case-head h4 {
  margin: 4px 0 0;
  color: var(--dlb-blue-dark);
  font-size: 24px;
}

.dlb-justice-case-head > strong {
  padding: 6px 9px;
  border-radius: 8px;
  background: #eef5ff;
  color: var(--dlb-blue-dark);
  font-size: 13px;
  text-transform: uppercase;
}

.dlb-justice-parties {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  margin: 12px 0;
}

.dlb-justice-parties span,
.dlb-justice-document,
.dlb-justice-witnesses {
  padding: 12px;
  border: 1px solid #dbe6fb;
  border-radius: 8px;
  background: #fff;
}

.dlb-justice-document {
  margin-top: 10px;
}

.dlb-justice-document strong,
.dlb-justice-witnesses > strong {
  display: block;
  margin-bottom: 6px;
  color: var(--dlb-blue-dark);
}

.dlb-justice-document p,
.dlb-witness-item p {
  margin: 0;
  color: var(--dlb-text);
}

.dlb-justice-document small,
.dlb-witness-item small,
.dlb-justice-mini-card small {
  display: block;
  margin-top: 6px;
  color: var(--dlb-muted);
  line-height: 1.45;
}

.dlb-justice-witnesses {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.dlb-justice-document.is-verdict {
  border-color: #c9d9fb;
  background: #eef5ff;
}

.dlb-justice-defense-form,
.dlb-justice-witness-form {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #d6e5fb;
  border-radius: 8px;
  background: #fff;
}

.dlb-justice-witness-form select,
.dlb-justice-defense-form textarea,
.dlb-justice-witness-form textarea {
  width: 100%;
}

.dlb-popup-stack {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
}

.dlb-popup-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(8,17,34,.42);
  pointer-events: auto;
}

.dlb-popup-card {
  width: min(760px, 100%);
  max-height: min(88vh, 980px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px;
  border: 1px solid #c8d8f8;
  border-radius: 18px;
  background: #fff;
  color: var(--dlb-text);
  box-shadow: 0 24px 70px rgba(8,17,34,.26);
}

.dlb-popup-watermark {
  position: absolute;
  right: 24px;
  top: 20px;
  opacity: .08;
  pointer-events: none;
  transform: rotate(10deg) scale(1.15);
}

.dlb-popup-watermark .dlb-flag {
  width: 140px;
  max-width: 140px;
  min-width: 140px;
  transform: none;
}

.dlb-popup-document-head {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 16px;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 2px solid #dbe6fb;
}

.dlb-popup-head-copy {
  min-width: 0;
}

.dlb-popup-document-head > div,
.dlb-popup-person-photo {
  min-width: 0;
}

.dlb-popup-card.is-layout-bea_offer .dlb-popup-document-head,
.dlb-popup-card.is-layout-bea_warning .dlb-popup-document-head,
.dlb-popup-card.is-layout-person_notice .dlb-popup-document-head {
  grid-template-columns: 160px minmax(0,1fr);
}

.dlb-popup-document-head.has-person-head {
  grid-template-columns: 160px minmax(0,1fr);
}

.dlb-popup-person-photo {
  border-radius: 18px;
  overflow: hidden;
  background: #f4f8ff;
  border: 1px solid #dbe6fb;
  box-shadow: 0 12px 30px rgba(17,55,128,.12);
}

.dlb-popup-person-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dlb-popup-person-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  color: var(--dlb-blue-dark);
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg,#eef5ff,#ffffff);
}

.dlb-popup-card h2 {
  margin: 0;
  color: var(--dlb-blue-dark);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
}

.dlb-popup-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.dlb-popup-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.dlb-popup-body-text {
  min-height: 120px;
}

.dlb-popup-card p,
.dlb-popup-body-text p {
  margin: 0;
  color: var(--dlb-text);
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.78;
  word-break: break-word;
}

.dlb-weather-bar {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  padding: 12px 16px;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  background: #fff;
  color: #12306d;
  box-shadow: 0 10px 24px rgba(21,54,122,.08);
}

.dlb-weather-bar span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dlb-weather-bar strong {
  color: var(--dlb-blue);
}

.dlb-weather-bar em {
  color: #4d607e;
  font-style: normal;
}

.dlb-weather-bar.is-rain {
  border-color: #b7cdf4;
  background: #f4f8ff;
}

.dlb-weather-bar.is-storm {
  border-color: #fecaca;
  color: #7f1d1d;
}

.dlb-weather-bar.is-storm strong {
  color: #b91c1c;
}

.dlb-weather-bar.is-sunny {
  border-color: #a9dcff;
  background: #f0fbff;
}

.dlb-weather-bar.is-snow {
  border-color: #dbeafe;
  background: #f8fbff;
}

.dlb-life-lock {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f5f8ff;
}

.dlb-life-lock-card {
  width: min(760px, 100%);
  padding: 20px;
  border: 1px solid #d9e5fb;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  text-align: center;
  box-shadow: 0 24px 70px rgba(21,54,122,.18);
}

.dlb-life-lock-card img {
  width: 100%;
  max-height: 390px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
}

.dlb-life-lock-card h2 {
  margin: 6px 0 8px;
  color: #06143b;
}

.dlb-life-lock-card strong {
  display: block;
  margin: 14px 0;
  color: var(--dlb-blue);
}

.dlb-lock-timers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 4px;
}

.dlb-lock-timers > div {
  padding: 12px;
  border: 1px solid #d9e5fb;
  border-radius: 8px;
  background: #f8fbff;
}

.dlb-lock-timers span {
  display: block;
  color: #4d607e;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.dlb-lock-timers strong,
.dlb-countdown {
  font-variant-numeric: tabular-nums;
}

.dlb-life-lock-card form {
  margin-top: 16px;
}

.dlb-scheduled-work-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(180px,auto) auto;
  gap: 14px;
  align-items: center;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #c8d8f8;
  border-radius: 8px;
  background: linear-gradient(135deg,#fff 0%,#f3f7ff 100%);
  box-shadow: var(--dlb-shadow-soft);
}

.dlb-scheduled-work-card h3 {
  margin: 4px 0 6px;
  color: var(--dlb-blue-dark);
}

.dlb-scheduled-work-card p {
  margin: 0;
  color: var(--dlb-muted);
  font-weight: 800;
}

.dlb-scheduled-work-card .dlb-lock-timers {
  margin: 0;
}

.dlb-scheduled-work-card form {
  margin: 0;
}

.dlb-job-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.dlb-work-wrap {
  color: #102043;
}

.dlb-room-panel {
  margin-top: 18px;
}

.dlb-room-list,
.dlb-mini-table {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.dlb-room-list article,
.dlb-mini-table > div {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #dbe7fb;
  border-radius: 8px;
  background: #fff;
  color: #102043;
}

.dlb-room-list strong,
.dlb-mini-table strong {
  color: #06143b;
}

.dlb-room-list form,
.dlb-mini-table form,
.dlb-room-invite-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
}

.dlb-room-invite-form select {
  min-width: min(260px, 100%);
}

.dlb-move-in-requests article {
  background: linear-gradient(180deg,#fff,#f8fbff);
}

.dlb-move-in-decision-form {
  display: grid !important;
  grid-template-columns: minmax(160px,220px) minmax(0,1fr);
  gap: 10px;
  align-items: end;
}

.dlb-move-in-decision-form p {
  margin: 0;
}

.dlb-move-in-decision-form textarea {
  min-height: 74px;
}

.dlb-move-in-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  grid-column: 1 / -1;
}

.dlb-move-in-actions button {
  min-width: 150px;
}

.dlb-repair-card,
.dlb-shady-card {
  margin: 16px 0;
  border-color: #ffd1d1;
}

.dlb-shady-card {
  background: #fff7f7;
}

.dlb-popup-actions,
.dlb-life-choice .dlb-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dlb-popup-actions form {
  margin: 0;
}

.dlb-popup-actions .dlb-popup-decision-form {
  flex: 1 1 100%;
  display: grid;
  gap: 9px;
  min-width: 0;
}

.dlb-popup-decision-form label {
  color: var(--dlb-blue-dark);
  font-size: 13px;
  font-weight: 900;
}

.dlb-popup-decision-form input,
.dlb-popup-decision-form textarea {
  width: 100%;
  border: 1px solid var(--dlb-border-strong);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--dlb-text);
  font: inherit;
}

.dlb-popup-decision-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dlb-life-choice .dlb-popup-actions form {
  margin: 0;
}

.dlb-crime-choice-card {
  width: min(860px, 100%);
  padding: 20px;
}

.dlb-crime-choice-layout {
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.dlb-crime-choice-media {
  min-width: 0;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid #dbe6fb;
  border-radius: 8px;
  background: #eef4ff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

.dlb-crime-choice-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.dlb-crime-choice-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 300px;
  padding: 24px 18px;
  text-align: center;
}

.dlb-crime-choice-portrait strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border: 3px solid rgba(255,255,255,.82);
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  color: var(--dlb-blue-dark);
  font-size: 30px;
  font-weight: 950;
}

.dlb-crime-choice-portrait span {
  color: var(--dlb-blue-dark);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}

.dlb-crime-choice-content {
  min-width: 0;
}

.dlb-crime-choice-text {
  color: var(--dlb-text);
  font-size: 17px;
  line-height: 1.7;
}

.dlb-crime-choice-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 14px;
}

.dlb-crime-choice-meta div {
  min-width: 0;
  padding: 12px;
  border: 1px solid #dbe6fb;
  border-radius: 8px;
  background: #f8fbff;
}

.dlb-crime-choice-meta span {
  display: block;
  margin-bottom: 6px;
  color: var(--dlb-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.dlb-crime-choice-meta strong {
  display: block;
  color: var(--dlb-blue-dark);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.dlb-crime-choice-response {
  margin: 4px 0 10px;
  color: var(--dlb-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dlb-crime-choice .dlb-popup-actions form {
  flex: 1 1 180px;
}

.dlb-crime-choice .dlb-popup-actions button {
  width: 100%;
}

.dlb-life-choice .dlb-popup-actions button.is-secondary {
  background: var(--dlb-blue);
  color: #fff !important;
  border: 1px solid var(--dlb-blue);
}

.dlb-popup-stamp {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 2px solid var(--dlb-blue);
  border-radius: 12px;
  color: var(--dlb-blue);
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dlb-popup-document-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid #dbe6fb;
  color: var(--dlb-blue-dark);
  font-size: 15px;
  font-weight: 800;
}

.dlb-popup-card.is-document-fine {
  background:
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.96)),
    repeating-linear-gradient(135deg,#fff,#fff 12px,#f4f8ff 12px,#f4f8ff 24px);
}

.dlb-popup-card.is-document-court {
  background:
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.96)),
    linear-gradient(135deg,#edf4ff,#fff);
}

.dlb-popup-card.is-document-bank {
  background:
    linear-gradient(180deg,rgba(255,255,255,.97),rgba(255,255,255,.97)),
    linear-gradient(135deg,#eaf2ff,#fff 55%,#fff4e8);
}

.dlb-popup-card.is-document-bea,
.dlb-popup-card.is-document-bea_warning {
  background:
    linear-gradient(180deg,rgba(255,255,255,.97),rgba(255,255,255,.97)),
    linear-gradient(135deg,#fff8f1,#fff 55%,#eef5ff);
}

.dlb-popup-card.is-document-fine p,
.dlb-popup-card.is-document-court p,
.dlb-popup-card.is-document-bank p {
  color: var(--dlb-blue-dark);
}

.dlb-popup-card.is-error {
  border-top: 5px solid var(--dlb-red);
}

.dlb-popup-card.is-warning {
  border-top: 5px solid var(--dlb-orange);
}

.dlb-popup-card.is-success {
  border-top: 5px solid var(--dlb-green);
}

.dlb-popup-card > button[data-dlb-popup-close] {
  align-self: flex-start;
  margin-top: 20px;
}

.dlb-prison-lockdown {
  min-height: min(100vh, 860px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: transparent;
}

.dlb-prison-frame {
  width: min(100%, 980px);
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(17,55,128,.22);
  background: #fff;
  box-shadow: var(--dlb-shadow);
}

.dlb-prison-frame img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
}

.dlb-prison-release {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(17,55,128,.22);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.dlb-prison-release span {
  color: var(--dlb-blue-dark);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.dlb-prison-release strong {
  color: var(--dlb-red);
  font-size: 22px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1100px) {
  .dlb-overview-grid,
  .dlb-data-grid,
  .dlb-messages-grid,
  .dlb-public-profile-grid,
  .dlb-wallet-hero,
  .dlb-shop-hero,
  .dlb-shop-grid,
  .dlb-shop-bottom-grid,
  .dlb-justice-actions,
  .dlb-justice-parties,
  .dlb-economy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .dlb-portal-wrap,
  .dlb-auth-wrap,
  .dlb-public-houses {
    padding: 14px 14px 38px;
  }

  .dlb-top-menu {
    padding: 10px 52px;
  }

  .dlb-top-menu-left {
    gap: 7px;
  }

  .dlb-menu-slider-button {
    width: 38px;
    height: 42px;
  }

  .dlb-menu-slider-button.is-prev {
    left: 10px;
  }

  .dlb-menu-slider-button.is-next {
    right: 10px;
  }

  .dlb-event-ticker {
    grid-template-columns: 1fr;
    margin-top: -12px;
  }

  .dlb-event-ticker-label {
    justify-content: space-between;
  }

  .dlb-hero-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .dlb-hero-photo {
    max-width: 170px;
  }

  .dlb-hero-copy h2 {
    font-size: 34px;
  }

  .dlb-stats-row,
  .dlb-market-grid,
  .dlb-public-houses,
  .dlb-residents-list {
    grid-template-columns: 1fr;
  }

  .dlb-post-item {
    grid-template-columns: 1fr;
  }

  .dlb-post-copy h3 {
    font-size: 26px;
  }

  .dlb-passport-body,
  .dlb-passport-card-horizontal .dlb-passport-body {
    grid-template-columns: 112px minmax(0,1fr);
  }

  .dlb-passport-fields,
  .dlb-passport-card-horizontal .dlb-passport-fields {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 10px;
  }

  .dlb-passport-type {
    font-size: 21px;
  }

  .dlb-crime-choice-layout {
    grid-template-columns: 1fr;
  }

  .dlb-crime-choice-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dlb-page-links,
  .dlb-message-subnav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .dlb-top-menu {
    padding: 8px 44px;
  }

  .dlb-top-menu a,
  .dlb-logout-link {
    padding: 9px 10px;
    font-size: 13px;
  }

  .dlb-menu-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .dlb-menu-slider-button {
    width: 34px;
    height: 40px;
    font-size: 24px;
  }

  .dlb-menu-slider-button.is-prev {
    left: 6px;
  }

  .dlb-menu-slider-button.is-next {
    right: 6px;
  }

  .dlb-event-ticker {
    padding: 7px;
    gap: 8px;
  }

  .dlb-event-item {
    max-width: 84vw;
  }

  .dlb-event-item em {
    max-width: 185px;
  }

  .dlb-weather-bar {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .dlb-popup-card.is-layout-bea_offer .dlb-popup-document-head,
  .dlb-popup-card.is-layout-bea_warning .dlb-popup-document-head,
  .dlb-popup-card.is-layout-person_notice .dlb-popup-document-head,
  .dlb-popup-document-head.has-person-head {
    grid-template-columns: 1fr;
  }

  .dlb-popup-person-photo {
    max-width: 180px;
  }

  .dlb-crime-choice-card {
    padding: 16px;
  }

  .dlb-crime-choice-media,
  .dlb-crime-choice-media img,
  .dlb-crime-choice-portrait {
    min-height: 210px;
  }

  .dlb-crime-choice-meta {
    grid-template-columns: 1fr;
  }

  .dlb-crime-choice .dlb-popup-actions form {
    flex: 1 1 100%;
  }

  .dlb-room-list form,
  .dlb-mini-table form,
  .dlb-room-invite-form,
  .dlb-move-in-decision-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dlb-auth-title {
    font-size: 30px;
  }

  .dlb-hero-card,
  .dlb-auth-form,
  .dlb-photo-form,
  .dlb-quick-compose,
  .dlb-thread-panel,
  .dlb-threads-list,
  .dlb-public-profile-hero {
    padding: 16px;
  }

  .dlb-hero-copy h2,
  .dlb-public-profile-hero h2 {
    font-size: 29px;
  }

  .dlb-resident-action-panel {
    grid-template-columns: 1fr;
  }

  .dlb-compact-action-form {
    grid-column: auto;
  }

  .dlb-live-chat-header {
    flex-direction: column;
  }

  .dlb-general-chat-item,
  .dlb-general-chat-item.is-mine,
  .dlb-scheduled-work-card {
    width: 100%;
    max-width: 100%;
  }

  .dlb-scheduled-work-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .dlb-savings-summary,
  .dlb-savings-actions {
    grid-template-columns: 1fr;
  }

  .dlb-shop-inventory > div {
    grid-template-columns: 48px minmax(0,1fr);
  }

  .dlb-shop-inventory > div form {
    grid-column: 1 / -1;
  }

  .dlb-justice-case-head {
    display: grid;
  }

  .dlb-prison-lockdown {
    min-height: 100vh;
    padding: 10px;
  }

  .dlb-prison-release {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .dlb-prison-release strong {
    font-size: 19px;
    text-align: left;
  }

  .dlb-lock-timers {
    grid-template-columns: 1fr;
  }

  .dlb-passport-card,
  .dlb-passport-card-horizontal {
    padding: 12px 10px 10px 20px;
  }

  .dlb-passport-topline {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding-bottom: 8px;
  }

  .dlb-flag {
    width: 72px;
    height: 46px;
  }

  .dlb-flag .crest {
    font-size: 24px;
  }

  .dlb-passport-chip {
    display: none;
  }

  .dlb-passport-body,
  .dlb-passport-card-horizontal .dlb-passport-body {
    grid-template-columns: 76px minmax(0,1fr);
    gap: 10px;
    margin-top: 10px;
  }

  .dlb-passport-photo-stack {
    gap: 8px;
    padding: 6px;
    border-radius: 8px;
  }

  .dlb-passport-country {
    font-size: 9px;
  }

  .dlb-passport-type {
    font-size: 15px;
  }

  .dlb-passport-fields,
  .dlb-passport-card-horizontal .dlb-passport-fields {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 8px;
  }

  .dlb-passport-fields > div {
    padding: 4px 0;
  }

  .dlb-passport-fields span {
    font-size: 8px;
  }

  .dlb-passport-photo-wrap img,
  .dlb-passport-no-photo {
    border-radius: 5px;
    font-size: 24px;
  }

  .dlb-passport-skin-swatch {
    height: 24px;
    min-height: 24px;
    border-radius: 5px;
  }

  .dlb-passport-fields strong {
    margin-top: 1px;
    font-size: 11px;
    line-height: 1.15;
  }

  .dlb-rank-inline {
    padding: 3px 5px;
    font-size: 9px;
  }

  .dlb-passport-mrz {
    margin-top: 8px;
    padding: 7px;
    font-size: 8px;
  }

  .dlb-resident-card {
    grid-template-columns: 76px minmax(0,1fr);
  }

  .dlb-resident-avatar img,
  .dlb-resident-avatar span {
    width: 76px;
    height: 76px;
    font-size: 27px;
  }

  .dlb-resident-action {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .dlb-public-profile-hero {
    grid-template-columns: 1fr;
  }

  .dlb-public-profile-avatar img,
  .dlb-public-profile-avatar span {
    width: 100px;
    height: 100px;
    font-size: 34px;
  }

  .dlb-message-bubble {
    max-width: 94%;
  }

  .dlb-casino-card,
  .dlb-economy-card .dlb-casino-image-button,
  .dlb-casino-image-button img {
    min-height: 230px;
  }
}

@media (max-width: 430px) {
  .dlb-portal-wrap,
  .dlb-auth-wrap,
  .dlb-public-houses {
    padding-left: 10px;
    padding-right: 10px;
  }

  .dlb-page-links,
  .dlb-message-subnav {
    grid-template-columns: 1fr;
  }

  .dlb-passport-topline {
    grid-template-columns: 1fr auto;
  }

  .dlb-passport-body,
  .dlb-passport-card-horizontal .dlb-passport-body {
    grid-template-columns: 72px minmax(0,1fr);
  }

  .dlb-passport-photo-wrap {
    max-width: none;
  }
}

.dlb-football-wrap {
  display: grid;
  gap: 18px;
  color: var(--dlb-text);
}

.dlb-football-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 22px;
  align-items: stretch;
  padding: 24px;
  border: 1px solid #c7d6f4;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(244,248,255,.98) 55%, rgba(255,247,239,.96) 100%);
  box-shadow: var(--dlb-shadow);
}

.dlb-football-hero h2 {
  margin: 4px 0 10px;
  color: var(--dlb-blue-dark);
  font-size: 42px;
  line-height: 1.05;
}

.dlb-football-hero p {
  max-width: 850px;
  margin: 0;
  color: var(--dlb-muted);
  font-size: 16px;
  line-height: 1.65;
}

.dlb-football-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.dlb-football-hero-stats div,
.dlb-football-card,
.dlb-football-club-grid article,
.dlb-football-player-grid div,
.dlb-football-bet-card,
.dlb-football-news-list article,
.dlb-football-mini-list div {
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: rgba(255,255,255,.98);
}

.dlb-football-hero-stats div {
  padding: 14px;
}

.dlb-football-hero-stats span,
.dlb-football-player-grid span,
.dlb-football-mini-list span,
.dlb-football-news-list span,
.dlb-football-bet-card span,
.dlb-football-club-grid span {
  display: block;
  color: var(--dlb-muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.dlb-football-hero-stats strong {
  display: block;
  margin-top: 4px;
  color: var(--dlb-blue-dark);
  font-size: 24px;
  line-height: 1.1;
}

.dlb-football-hero-media {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid rgba(17,55,128,.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--dlb-shadow-soft);
}

.dlb-football-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.dlb-football-crest {
  display: grid;
  place-items: center;
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: auto;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(239,125,22,.96) 0 33.33%, rgba(255,255,255,.96) 33.33% 66.66%, rgba(31,85,199,.96) 66.66% 100%);
  box-shadow: var(--dlb-shadow-soft);
  text-align: center;
}

.dlb-football-crest strong {
  display: block;
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  line-height: .9;
}

.dlb-football-crest span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  color: var(--dlb-blue-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.dlb-football-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dlb-football-grid > .dlb-football-card:nth-child(3):last-child {
  grid-column: span 2;
}

.dlb-football-card {
  min-width: 0;
  padding: 20px;
  box-shadow: var(--dlb-shadow-soft);
}

.dlb-football-card h3 {
  margin: 4px 0 12px;
  color: var(--dlb-blue-dark);
  font-size: 24px;
  line-height: 1.15;
}

.dlb-football-card p {
  color: var(--dlb-text);
  font-size: 15px;
  line-height: 1.6;
}

.dlb-football-card p:last-child {
  margin-bottom: 0;
}

.dlb-football-score {
  display: block;
  margin: 8px 0;
  color: var(--dlb-blue-dark);
  font-size: 42px;
  line-height: 1;
}

.dlb-football-status {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--dlb-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.dlb-football-status.is-live {
  background: var(--dlb-red);
}

.dlb-football-status.is-finished {
  background: var(--dlb-green);
}

.dlb-football-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.dlb-football-section-head h3 {
  margin-bottom: 0;
}

.dlb-football-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: #fff;
}

.dlb-football-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: var(--dlb-text);
  font-size: 14px;
}

.dlb-football-table th,
.dlb-football-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--dlb-border);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.dlb-football-table th {
  background: #eef4ff;
  color: var(--dlb-blue-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.dlb-football-table tr:last-child td {
  border-bottom: 0;
}

.dlb-football-table tr.is-dicky td {
  background: #fff7ee;
  color: #151b2c;
  font-weight: 800;
}

.dlb-football-table a {
  color: var(--dlb-blue);
  font-weight: 900;
}

.dlb-football-player-grid,
.dlb-football-club-grid,
.dlb-football-bet-grid,
.dlb-football-news-list,
.dlb-football-mini-list,
.dlb-football-summary-grid {
  display: grid;
  gap: 12px;
}

.dlb-football-player-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dlb-football-club-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dlb-football-bet-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dlb-football-bet-match {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--dlb-border);
}

.dlb-football-bet-match:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.dlb-football-bet-match h4 {
  margin: 0 0 5px;
  color: var(--dlb-blue-dark);
  font-size: 20px;
  line-height: 1.2;
}

.dlb-football-bet-match > small {
  display: block;
  margin-bottom: 12px;
  color: var(--dlb-muted);
  font-weight: 800;
}

.dlb-football-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dlb-football-player-grid div,
.dlb-football-club-grid article,
.dlb-football-mini-list div,
.dlb-football-news-list article {
  padding: 13px;
}

.dlb-football-player-grid strong,
.dlb-football-mini-list strong,
.dlb-football-news-list strong,
.dlb-football-club-grid strong,
.dlb-football-summary-grid strong,
.dlb-football-bet-card strong {
  display: block;
  color: var(--dlb-blue-dark);
  font-size: 15px;
  line-height: 1.25;
}

.dlb-football-player-grid small,
.dlb-football-player-grid em {
  display: block;
  margin-top: 5px;
  color: var(--dlb-muted);
  font-size: 12px;
  line-height: 1.35;
}

.dlb-football-player-grid em {
  color: var(--dlb-red);
  font-style: normal;
  font-weight: 900;
}

.dlb-football-bet-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.dlb-football-bet-card select,
.dlb-football-bet-card input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--dlb-border-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--dlb-text);
  font-size: 14px;
}

.dlb-football-bet-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--dlb-blue);
  border-radius: 8px;
  background: var(--dlb-blue);
  color: #fff !important;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.dlb-football-bet-card button:hover,
.dlb-football-bet-card button:focus {
  background: var(--dlb-blue);
  border-color: var(--dlb-blue);
  color: #fff !important;
}

.dlb-football-summary {
  border-top: 5px solid var(--dlb-blue);
}

.dlb-football-summary > p {
  font-size: 16px;
}

.dlb-football-summary-grid > div {
  padding: 14px;
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: #f8fbff;
}

.dlb-football-summary-grid p {
  margin: 6px 0 0;
}

.dlb-football-highlights,
.dlb-football-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.dlb-football-highlights span,
.dlb-football-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #eef4ff;
  color: var(--dlb-blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.dlb-football-security,
.dlb-football-economy {
  padding: 12px;
  border-radius: 8px;
  font-weight: 850;
}

.dlb-football-security {
  border: 1px solid #ffc9c2;
  background: #fff1ef;
  color: #7a1f17;
}

.dlb-football-economy {
  border: 1px solid #b8e0cd;
  background: #f0fff8;
  color: #0f5b38;
}

.dlb-football-news-list article p,
.dlb-football-club-grid article p {
  margin: 8px 0 0;
  color: var(--dlb-muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .dlb-football-hero,
  .dlb-football-grid,
  .dlb-football-summary-grid {
    grid-template-columns: 1fr;
  }

  .dlb-football-grid > .dlb-football-card:nth-child(3):last-child {
    grid-column: auto;
  }

  .dlb-football-hero-stats,
  .dlb-football-bet-grid,
  .dlb-football-player-grid,
  .dlb-football-club-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .dlb-football-hero,
  .dlb-football-card {
    padding: 15px;
  }

  .dlb-football-hero h2 {
    font-size: 32px;
  }

  .dlb-football-crest {
    min-height: auto;
  }

  .dlb-football-crest strong {
    font-size: 48px;
  }

  .dlb-football-hero-stats,
  .dlb-football-bet-grid,
  .dlb-football-player-grid,
  .dlb-football-club-grid {
    grid-template-columns: 1fr;
  }

  .dlb-football-section-head {
    display: block;
  }

  .dlb-football-score {
    font-size: 34px;
  }
}

.dlb-courant-wrap {
  padding: 24px;
  border: 1px solid #1d2738;
  border-radius: 8px;
  background: #fffdf7;
  color: #111827;
  box-shadow: var(--dlb-shadow);
  font-family: Georgia, "Times New Roman", serif;
}

.dlb-courant-masthead {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 16px;
  align-items: end;
  padding-bottom: 16px;
  border-bottom: 4px double #111827;
}

.dlb-courant-masthead span,
.dlb-courant-lead span,
.dlb-courant-grid article > span {
  color: var(--dlb-blue-dark);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dlb-courant-masthead h2 {
  margin: 0;
  color: #111;
  font-size: 52px;
  line-height: .95;
}

.dlb-courant-masthead p {
  max-width: 840px;
  margin: 8px 0 0;
  color: #263244;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

.dlb-courant-masthead time {
  color: #263244;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.dlb-courant-lead {
  margin: 18px 0;
  padding: 18px 0;
  border-bottom: 1px solid #b8b0a1;
}

.dlb-courant-image {
  display: block;
  margin: 0 0 12px;
  overflow: hidden;
  border: 1px solid #c9c1b3;
  border-radius: 6px;
  background: #fff;
}

.dlb-courant-image img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.dlb-courant-lead .dlb-courant-image {
  margin-bottom: 16px;
}

.dlb-courant-lead .dlb-courant-image img {
  height: auto;
  max-height: 380px;
  aspect-ratio: 16 / 7;
}

.dlb-courant-lead h3 {
  max-width: 980px;
  margin: 8px 0;
  color: #111;
  font-size: 38px;
  line-height: 1.05;
}

.dlb-courant-lead p,
.dlb-courant-grid p {
  color: #202938;
  font-size: 16px;
  line-height: 1.55;
}

.dlb-courant-lead small,
.dlb-courant-grid small {
  color: #5b6473;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.dlb-courant-lead a,
.dlb-courant-grid a {
  color: var(--dlb-blue);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
}

.dlb-courant-grid {
  column-count: 3;
  column-gap: 24px;
}

.dlb-courant-grid article {
  display: inline-block;
  width: 100%;
  padding: 0 0 16px;
  margin: 0 0 16px;
  border-bottom: 1px solid #c9c1b3;
  break-inside: avoid;
}

.dlb-courant-grid h3 {
  margin: 7px 0;
  color: #111;
  font-size: 24px;
  line-height: 1.12;
}

.dlb-courant-grid footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.dlb-need-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  margin: -12px 0 18px;
}

.dlb-need-bar div {
  padding: 12px 14px;
  border: 1px solid #f5c56b;
  border-radius: 8px;
  background: #fff8e8;
  color: #553508;
}

.dlb-need-bar strong,
.dlb-need-bar span {
  display: block;
}

.dlb-need-bar span {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.35;
}

.dlb-football-team-photo {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  margin: 0 0 14px;
  background: #fff;
}

.dlb-passport-frame-label {
  display: none !important;
}

.dlb-public-profile-wrap .dlb-resident-action-panel > a.dlb-button-link,
.dlb-public-profile-wrap .dlb-resident-action-panel > a.dlb-button-link:visited,
.dlb-public-profile-wrap .dlb-resident-action-panel > a.dlb-button-link:hover,
.dlb-public-profile-wrap .dlb-resident-action-panel > a.dlb-button-link:focus {
  background: var(--dlb-blue) !important;
  border-color: var(--dlb-blue) !important;
  color: #fff !important;
  text-decoration: none !important;
}

@media (max-width: 900px) {
  .dlb-courant-grid {
    column-count: 2;
  }
}

@media (max-width: 620px) {
  .dlb-world-back-menu,
  .dlb-world-header {
    align-items: stretch;
    flex-direction: column;
  }

  .dlb-world-header h2 {
    font-size: 28px;
  }

  .dlb-world-weather-slot,
  .dlb-world-weather-slot .dlb-weather-bar {
    max-width: none;
    width: 100%;
  }

  .dlb-world-weather-slot .dlb-weather-bar {
    grid-template-columns: 1fr;
  }

  .dlb-world-map {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
  }

  .dlb-world-map > img,
  .dlb-world-hotspots {
    min-width: 720px;
  }

  .dlb-world-spot span {
    top: 50%;
    bottom: auto;
    max-width: 150px;
    padding: 6px 8px;
    font-size: 11px;
    transform: translateX(-50%) translateY(-50%);
  }

  .dlb-world-spot span::after {
    display: none;
  }

  .dlb-world-spot:focus-visible span,
  .dlb-world-spot:hover span,
  .dlb-world-spot:active span {
    transform: translateX(-50%) translateY(-50%);
  }

  .dlb-courant-wrap {
    padding: 15px;
  }

  .dlb-courant-masthead {
    grid-template-columns: 1fr;
  }

  .dlb-courant-masthead h2 {
    font-size: 36px;
  }

  .dlb-courant-lead h3 {
    font-size: 28px;
  }

  .dlb-courant-lead .dlb-courant-image img,
  .dlb-courant-image img {
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 10;
  }

  .dlb-courant-grid {
    column-count: 1;
  }

  .dlb-need-bar {
    grid-template-columns: 1fr;
  }
}
.dlb-shell {
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease;
}

.dlb-shell.is-ready {
  opacity: 1;
  visibility: visible;
}

.dlb-popup-overlay {
  z-index: 999999 !important;
}

.dlb-message-stream,
.dlb-crime-choice-card,
.dlb-general-chat-stream,
.dlb-courant-lead p,
.dlb-courant-grid p,
.dlb-crime-choice-text {
  max-height: 22rem;
  overflow-y: auto;
}

.dlb-message-stream,
.dlb-general-chat-stream,
.dlb-courant-lead p,
.dlb-courant-grid p,
.dlb-crime-choice-text {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.dlb-message-stream::-webkit-scrollbar,
.dlb-general-chat-stream::-webkit-scrollbar,
.dlb-courant-lead p::-webkit-scrollbar,
.dlb-courant-grid p::-webkit-scrollbar,
.dlb-crime-choice-text::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.dlb-execution-notice {
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 18px;
  margin: 0 0 18px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff7e8 0%, #fff 100%);
  border: 1px solid rgba(176, 110, 22, .18);
  box-shadow: 0 14px 36px rgba(50, 40, 20, .08);
}

.dlb-execution-notice figure {
  margin: 0;
}

.dlb-execution-notice img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
}

.dlb-courant-sponsors {
  margin: 18px 0 24px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(24, 31, 53, .08);
}

.dlb-courant-sponsor-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.dlb-courant-sponsor {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f3f5fa;
  color: #182035;
}

.dlb-courant-sponsor img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
}

.dlb-square-roster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.dlb-square-roster-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f5f7fb;
  color: #1b2640;
  text-decoration: none;
}

.dlb-square-roster-item span {
  color: #61708d;
  font-size: 13px;
}

.dlb-general-chat-photo,
.dlb-justice-evidence {
  margin: 10px 0 0;
}

.dlb-general-chat-photo img,
.dlb-justice-evidence img {
  width: 100%;
  max-width: 320px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(15, 23, 42, .12);
}

.dlb-expand-toggle,
.dlb-inline-payoff-form button,
.dlb-dorpsgek-actions .dlb-button-link {
  margin-top: 12px;
}

.dlb-inline-payoff-form {
  margin-top: 10px;
}

.dlb-button-link.is-muted {
  opacity: .75;
  pointer-events: none;
}

.dlb-dorpsgek-panel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff6f0 0%, #fff 100%);
  border: 1px solid rgba(171, 88, 42, .16);
}

.dlb-dorpsgek-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.dlb-dorpsgek-actions .dlb-inline-action-form {
  margin: 0;
}

.dlb-dorpsgek-actions .dlb-button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
}

.dlb-criminal-record-card {
  margin-top: 18px;
}

.dlb-criminal-record-list {
  display: grid;
  gap: 12px;
}

.dlb-criminal-record-item {
  padding: 14px 16px;
  border: 1px solid var(--dlb-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
}

.dlb-criminal-record-item strong,
.dlb-criminal-record-item span,
.dlb-criminal-record-item small {
  display: block;
}

.dlb-criminal-record-item span {
  margin-top: 4px;
  color: var(--dlb-red);
  font-weight: 800;
}

.dlb-criminal-record-item p {
  margin: 10px 0 0;
}

.dlb-criminal-record-item small {
  margin-top: 10px;
  color: var(--dlb-muted);
}

.dlb-football-live-panel {
  margin-bottom: 18px;
}

.dlb-football-live-clock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--dlb-red);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.dlb-football-live-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 18px 0;
}

.dlb-football-live-scoreboard > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--dlb-border);
  border-radius: 10px;
  background: rgba(255,255,255,.98);
  text-align: center;
}

.dlb-football-live-scoreboard span {
  display: block;
  margin-bottom: 6px;
  color: var(--dlb-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dlb-football-live-scoreboard strong {
  display: block;
  color: var(--dlb-blue-dark);
  font-size: 22px;
  line-height: 1.2;
}

.dlb-football-live-score {
  min-width: 120px;
  padding: 18px 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(31,85,199,.12), rgba(239,125,22,.14));
  color: var(--dlb-blue-dark);
  font-size: 42px;
  font-weight: 950;
  line-height: 1;
}

.dlb-football-live-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dlb-football-live-timeline {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.dlb-football-live-event {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--dlb-border);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
}

.dlb-football-live-event span {
  grid-row: span 2;
  color: var(--dlb-red);
  font-size: 18px;
  font-weight: 950;
}

.dlb-football-live-event strong {
  color: var(--dlb-blue-dark);
  line-height: 1.15;
}

.dlb-football-live-event small {
  color: var(--dlb-muted);
}

.dlb-football-live-empty {
  padding: 12px 14px;
  border: 1px dashed var(--dlb-border);
  border-radius: 8px;
  background: rgba(255,255,255,.78);
}

.dlb-house-upkeep-list {
  display: grid;
  gap: 14px;
}

.dlb-house-upkeep-card {
  padding: 16px;
  border: 1px solid var(--dlb-border);
  border-radius: 12px;
  background: rgba(255,255,255,.96);
}

.dlb-house-upkeep-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.dlb-inline-house-action {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.dlb-inline-house-action label {
  font-weight: 700;
}

@media (max-width: 720px) {
  .dlb-execution-notice {
    grid-template-columns: 1fr;
  }

  .dlb-popup-overlay {
    align-items: stretch;
    padding: 10px;
  }

  .dlb-popup-card {
    width: 100%;
    max-height: none;
    min-height: 100%;
    padding: 18px;
    border-radius: 16px;
  }

  .dlb-popup-scroll {
    padding-right: 0;
  }

  .dlb-popup-body-text {
    min-height: 0;
  }

  .dlb-popup-watermark {
    right: 12px;
    top: 12px;
  }

  .dlb-popup-watermark .dlb-flag {
    width: 110px;
    max-width: 110px;
    min-width: 110px;
  }

  .dlb-popup-card h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .dlb-popup-card p,
  .dlb-popup-body-text p {
    font-size: clamp(18px, 4.9vw, 23px);
    line-height: 1.72;
  }

  .dlb-popup-stamp {
    font-size: 14px;
  }

  .dlb-popup-document-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 13px;
  }

  .dlb-popup-card > button[data-dlb-popup-close] {
    width: 100%;
    justify-content: center;
  }

  .dlb-football-live-scoreboard,
  .dlb-football-live-columns {
    grid-template-columns: 1fr;
  }
}



/* ===== MENU OVERRIDE: SLIM BAR + CENTERED TEXT + SMALLER ARROWS ===== */
.dlb-top-menu{
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  min-height: 0 !important;
  height: 40px !important;
  padding: 0 40px !important;
  margin-bottom: 18px !important;
  overflow: hidden !important;
}

.dlb-top-menu-viewport{
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.dlb-top-menu-left{
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  flex-wrap: nowrap !important;
}

.dlb-top-menu a,
.dlb-logout-link{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  border-radius: 8px !important;
}

.dlb-top-menu a.is-active{
  box-shadow: none !important;
}

.dlb-menu-icon{
  margin-top: 0 !important;
}

.dlb-menu-slider-button{
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  padding: 0 !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.dlb-menu-slider-button.is-prev{
  left: 8px !important;
}

.dlb-menu-slider-button.is-next{
  right: 8px !important;
}

@media (max-width: 900px){
  .dlb-top-menu{
    height: 38px !important;
    padding: 0 34px !important;
  }

  .dlb-top-menu a,
  .dlb-logout-link{
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 12px !important;
  }

  .dlb-menu-slider-button{
    width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 640px){
  .dlb-top-menu{
    height: 36px !important;
    padding: 0 30px !important;
  }

  .dlb-top-menu a,
  .dlb-logout-link{
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
  }

  .dlb-menu-slider-button{
    width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
    font-size: 13px !important;
  }

  .dlb-menu-slider-button.is-prev{
    left: 5px !important;
  }

  .dlb-menu-slider-button.is-next{
    right: 5px !important;
  }
}

.dlb-association-panel {
  display: grid;
  gap: 16px;
}

.dlb-association-mission-list {
  display: grid;
  gap: 14px;
}

.dlb-association-mission-card {
  padding: 16px 18px;
  border: 1px solid rgba(28, 59, 122, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(245,247,255,0.96) 100%);
  box-shadow: 0 14px 28px rgba(21, 43, 91, 0.08);
}

.dlb-association-mission-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.dlb-association-mission-head strong {
  font-size: 1rem;
  color: #16274f;
}

.dlb-association-mission-head span {
  font-size: 0.84rem;
  color: #5b6c8d;
}

.dlb-association-mission-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.dlb-association-mission-meta span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(31, 77, 184, 0.08);
  color: #1d3569;
  font-size: 0.84rem;
  font-weight: 600;
}

.dlb-association-inline-form {
  margin-top: 12px;
}

.dlb-association-history {
  padding-top: 6px;
}

.dlb-association-history ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.dlb-house-layer {
  display: grid;
  gap: 20px;
}

.dlb-house-hero-card,
.dlb-house-locked-card,
.dlb-house-room-card,
.dlb-house-chat-card {
  border: 1px solid var(--dlb-border);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--dlb-shadow-soft);
}

.dlb-house-hero-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 18px;
  padding: 22px 24px;
}

.dlb-house-hero-card h2,
.dlb-house-room-head h3,
.dlb-house-locked-card h3,
.dlb-house-chat-card h3 {
  margin: 6px 0 10px;
}

.dlb-house-hero-meta {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f6fbff 0%, #eef5ff 100%);
  min-width: 220px;
}

.dlb-house-main-grid {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(320px,.85fr);
  gap: 20px;
  align-items: start;
}

.dlb-house-room-card {
  padding: 18px;
}

.dlb-house-room-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.dlb-house-edit-pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf7ed;
  color: #1c7a35;
  font-size: 12px;
  font-weight: 800;
}

.dlb-house-room-stage {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(17,55,128,.12);
  background-color: #efe6d4;
  background-image: var(--dlb-house-empty-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.dlb-house-room-stage.is-drop-target {
  outline: 3px solid rgba(44,112,255,.42);
  outline-offset: -8px;
  box-shadow: inset 0 0 0 999px rgba(44,112,255,.06);
}

.dlb-house-room-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,.28), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.10), transparent 34%),
    linear-gradient(180deg, transparent 0 44%, rgba(73, 39, 15, .08) 44% 100%);
  pointer-events: none;
}

.dlb-house-room-stage.is-night {
  filter: saturate(.82) brightness(.78);
}

.dlb-house-room-stage.is-mint {
  filter: saturate(1.05) hue-rotate(-10deg) brightness(1.03);
}

.dlb-house-room-stage.is-royal {
  filter: saturate(1.12) contrast(1.04);
}

.dlb-house-room-stage.is-sunset {
  filter: none;
}

.dlb-house-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.dlb-house-switcher a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(17,55,128,.18);
  background: #fff;
  color: var(--dlb-blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.dlb-house-switcher a.is-active {
  background: var(--dlb-blue-dark);
  color: #fff;
}

.dlb-house-placement {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 72px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: default;
}

.dlb-house-placement.is-mine {
  cursor: grab;
  touch-action: none;
}

.dlb-house-placement.is-room-image {
  display: none;
}

.dlb-house-placement.is-selected {
  filter: drop-shadow(0 0 0.65rem rgba(44, 112, 255, .45));
}

.dlb-house-placement img {
  display: block;
  max-width: 132px;
  max-height: 132px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.dlb-house-placement.is-layer-floor,
.dlb-house-placement.is-layer-carpet {
  width: 88%;
  max-width: 640px;
  min-width: 260px;
}

.dlb-house-placement.is-layer-floor img,
.dlb-house-placement.is-layer-carpet img {
  width: 100%;
  max-width: none;
  object-fit: contain;
}

.dlb-house-placement.is-layer-floor img {
  max-height: 300px;
  filter: drop-shadow(0 10px 14px rgba(70, 38, 16, .14));
}

.dlb-house-placement.is-layer-carpet img {
  max-height: 240px;
  filter: drop-shadow(0 8px 12px rgba(31, 41, 55, .12));
}

.dlb-house-editor-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.dlb-house-editor-toolbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  align-items: end;
}

.dlb-house-editor-toolbar label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: var(--dlb-blue-dark);
}

.dlb-house-furniture-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.dlb-house-layer-group {
  display: grid;
  gap: 8px;
}

.dlb-house-layer-items {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
  gap: 12px;
}

.dlb-house-furniture-chip {
  display: grid;
  gap: 8px;
  min-height: 124px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(17,55,128,.16);
  background: #fff;
  color: var(--dlb-blue-dark);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.dlb-house-furniture-chip.is-dragging {
  cursor: grabbing;
  opacity: .72;
}

.dlb-house-furniture-chip.is-unavailable,
.dlb-house-furniture-chip:disabled {
  cursor: not-allowed;
  opacity: .48;
  filter: grayscale(.35);
}

.dlb-house-furniture-chip img {
  width: 100%;
  height: 76px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.dlb-house-drag-preview {
  position: fixed;
  z-index: 999999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 96px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(17,55,128,.18);
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 40px rgba(17,55,128,.22);
  color: var(--dlb-blue-dark);
  font-size: 13px;
  font-weight: 800;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.dlb-house-drag-preview img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.dlb-house-side-stack,
.dlb-house-member-list,
.dlb-house-doorbell-list,
.dlb-house-guest-list {
  display: grid;
  gap: 14px;
}

.dlb-house-member-list article,
.dlb-house-doorbell-list article,
.dlb-house-guest-list article {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(17,55,128,.12);
  background: #f9fbff;
}

.dlb-house-member-list article {
  grid-template-columns: 84px minmax(0,1fr);
  gap: 10px 14px;
  align-items: center;
}

.dlb-house-member-avatar {
  grid-row: span 2;
  width: 84px;
  height: 84px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(17,55,128,.12);
  background: linear-gradient(180deg, #ffe0b5 0%, #f0b06d 100%);
}

.dlb-house-member-avatar img,
.dlb-house-member-avatar span {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  color: #4a2e16;
  font-size: 24px;
  font-weight: 900;
}

.dlb-house-chat-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.dlb-house-chat-switches a {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17,55,128,.12);
  background: #fff;
  color: var(--dlb-blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.dlb-house-chat-switches a.is-active {
  background: var(--dlb-blue);
  border-color: var(--dlb-blue);
  color: #fff;
}

.dlb-house-doorbell-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.dlb-house-locked-card {
  padding: 24px;
}

.dlb-shop-asset {
  display: grid;
  place-items: center;
  min-height: 120px;
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.dlb-shop-asset img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
}

@media (max-width: 980px) {
  .dlb-house-main-grid,
  .dlb-house-hero-card,
  .dlb-house-editor-toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .dlb-house-room-stage {
    min-height: 420px;
  }

  .dlb-house-furniture-strip {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
