: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-portal-wrap *,
.dlb-auth-wrap *,
.dlb-public-houses * {
  box-sizing: border-box;
}

.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 {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  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 {
  min-width: 0;
  overflow: hidden;
}

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

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

.dlb-menu-slider-button {
  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;
  transition: opacity .18s ease;
}

.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: 16px;
  align-items: start;
}

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

.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: 13px;
  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 14px 28px;
}

.dlb-passport-card-horizontal .dlb-passport-body {
  grid-template-columns: 128px 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;
}

.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;
}

.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-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 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-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-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-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;
}

.dlb-casino-image-button:hover img {
  filter: none;
  transform: none;
}

.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-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-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(520px, 100%);
  padding: 24px;
  border: 1px solid #c8d8f8;
  border-radius: 8px;
  background: #fff;
  color: var(--dlb-text);
  box-shadow: 0 24px 70px rgba(8,17,34,.26);
}

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

.dlb-popup-document-head .dlb-flag {
  width: 120px;
  max-width: 120px;
  min-width: 120px;
  transform: none;
  transform-origin: center;
}

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

.dlb-popup-card h2 {
  margin: 0 0 10px;
  color: var(--dlb-blue-dark);
  font-size: 30px;
}

.dlb-popup-card p {
  color: var(--dlb-text);
  font-size: 17px;
  line-height: 1.65;
}

.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-storm {
  border-color: #fecaca;
  color: #7f1d1d;
}

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

.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-life-choice .dlb-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.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: 12px;
  padding: 7px 10px;
  border: 2px solid var(--dlb-blue);
  border-radius: 8px;
  color: var(--dlb-blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dlb-popup-document-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
  padding-top: 12px;
  border-top: 1px solid #dbe6fb;
  color: var(--dlb-blue-dark);
  font-size: 13px;
  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-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-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 {
    align-items: stretch;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }

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

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

  .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;
  }
}

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

  .dlb-top-menu {
    padding: 8px;
    gap: 8px;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
  }

  .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-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-document-head {
    grid-template-columns: 1fr;
  }

  .dlb-popup-document-head .dlb-flag {
    width: 112px;
    max-width: 112px;
    min-width: 112px;
  }

  .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-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-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-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;
  }
}
