/* IDENTITE VISUELLE COURANTE — V60R6R48
   Univers global « Organisation Chasse ».
   Les logos propres aux chasses restent independants. */
:root {
  --ob-identity-forest-image: url('/organisation-chasse-forest-v60r6r48-harmonise.jpg');
  --ob-identity-forest-deep: #081712;
  --ob-identity-forest: #12211a;
  --ob-identity-forest-soft: #1e3a2f;
  --ob-identity-gold: #daa247;
  --ob-identity-gold-soft: #e5bd72;
  --ob-identity-paper: #f3f0e9;
  --ob-identity-white: #fffdf8;
  --ob-identity-ink: #17251e;
}

html {
  background: var(--ob-identity-forest-deep);
}

body.ob-premium-page {
  color: var(--ob-identity-ink);
  background:
    linear-gradient(rgba(8,23,18,.20), rgba(8,23,18,.34)),
    var(--ob-identity-forest-image) 50% 50% / cover fixed no-repeat !important;
}

body.ob-premium-page .ob-workspace {
  background:
    linear-gradient(180deg, rgba(243,240,233,.955), rgba(247,244,237,.925)),
    var(--ob-identity-forest-image) 50% 50% / cover fixed no-repeat !important;
}

/* V60R6R48-H4 : le dessin forestier reste lisible dans le bandeau PC,
   tout en conservant le contraste des libelles et des commandes. */
body.ob-premium-page .ob-sidebar {
  background:
    linear-gradient(180deg, rgba(8,23,18,.72), rgba(10,29,22,.80)),
    var(--ob-identity-forest-image) 22% 50% / auto 100% no-repeat !important;
  border-right-color: rgba(218,162,71,.58);
  box-shadow: 10px 0 30px rgba(3,12,8,.25);
}

body.ob-premium-page .ob-app-brand {
  min-height: 105px;
  justify-content: center;
  padding: 2px 5px 14px;
}

body.ob-premium-page .ob-app-brand > img {
  width: min(190px, 100%);
  height: auto;
  max-height: 98px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.34));
}

body.ob-premium-page .ob-app-brand-text {
  display: none;
}

body.ob-premium-page .ob-context-card {
  border-color: rgba(218,162,71,.24);
  background: rgba(8,23,18,.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(8px);
}

body.ob-premium-page .ob-sidebar-nav a.active {
  color: #f2cf8b;
  background: linear-gradient(90deg, rgba(154,54,37,.78), rgba(112,39,30,.70));
  box-shadow: inset 0 0 0 1px rgba(218,162,71,.18);
}

body.ob-premium-page .ob-sidebar-nav a.active::before {
  background: var(--ob-identity-gold);
}

body.ob-premium-page .ob-sidebar-nav a:not(.ob-emergency-nav):hover {
  background: rgba(218,162,71,.10);
}

body.ob-premium-page .ob-user-icon,
body.ob-premium-page .ob-context-emblem {
  color: var(--ob-identity-gold-soft);
}

body.ob-premium-page .ob-sidebar-footer {
  border-top-color: rgba(218,162,71,.23);
}

body.ob-premium-page .ob-workspace .page-heading {
  border-bottom-color: rgba(18,33,26,.18);
}

body.ob-premium-page .ob-workspace .page-heading::after {
  background: var(--ob-identity-gold);
}

body.ob-premium-page .ob-workspace .page-heading h1 {
  color: var(--ob-identity-forest-soft);
}

body.ob-premium-page .ob-workspace .card,
body.ob-premium-page .ob-workspace .admin-card,
body.ob-premium-page .ob-workspace .registration-summary,
body.ob-premium-page .ob-workspace .attendee,
body.ob-premium-page .ob-workspace .table-scroll {
  background: rgba(255,253,248,.955);
  border-color: rgba(18,33,26,.15);
  box-shadow: 0 10px 28px rgba(8,23,18,.085);
  backdrop-filter: blur(8px);
}

body.ob-premium-page .ob-workspace .button.primary {
  color: #fff;
  border-color: #0e2a1f;
  background: linear-gradient(180deg, #244f3c, #102d22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

body.ob-premium-page .ob-workspace input,
body.ob-premium-page .ob-workspace select,
body.ob-premium-page .ob-workspace textarea {
  background: rgba(255,255,255,.94);
  border-color: rgba(18,33,26,.24);
}

body.ob-premium-page .ob-battue-date-band-v60r6r8 {
  background:
    linear-gradient(90deg, rgba(218,162,71,.06), transparent 25%, transparent 75%, rgba(218,162,71,.06)),
    linear-gradient(180deg, #1e4938, #123326) !important;
  border-bottom-color: rgba(218,162,71,.72);
}

body.ob-premium-page .ob-workspace .site-footer {
  color: rgba(18,33,26,.68);
}

@media (max-width: 900px) {
  body.ob-premium-page .ob-workspace {
    background:
      linear-gradient(180deg, rgba(243,240,233,.965), rgba(247,244,237,.94)),
      var(--ob-identity-forest-image) 48% 50% / cover no-repeat !important;
  }

  body.ob-premium-page .ob-mobile-header,
  body.ob-premium-page .ob-mobile-bottom-nav,
  body.ob-premium-page .ob-mobile-bottom-nav-direct {
    background:
      linear-gradient(90deg, rgba(8,23,18,.95), rgba(18,33,26,.93)),
      var(--ob-identity-forest-image) 50% 50% / cover no-repeat !important;
    border-color: rgba(218,162,71,.58);
  }

  body.ob-premium-page .ob-mobile-app-logo {
    width: 56px;
    height: 38px;
    flex: 0 0 56px;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    background: transparent;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,.32));
  }

  body.ob-premium-page .ob-mobile-brand.with-hunt,
  body.ob-premium-page .ob-mobile-brand {
    gap: 8px;
  }

  body.ob-premium-page .ob-mobile-hunt-identity {
    gap: 8px;
  }

  body.ob-premium-page .ob-mobile-brand-copy small {
    color: var(--ob-identity-gold-soft);
  }

  body.ob-premium-page .ob-mobile-primary-tabs > a.active {
    color: #f3d694 !important;
    background: rgba(218,162,71,.12) !important;
  }
}
