:root {
  color-scheme: dark;
  font-family: system-ui, "Segoe UI", Arial, sans-serif;
  color: var(--text-dark-surface);
  background: var(--frame-surface);
  --lime: #d1f586;
  --green: #28734e;
  --frame-line: #365748;
  --frame-surface: #0b2018;
  --panel-dark: #142e23;
  --control-dark: #1c392b;
  --text-dark-surface: #f0f7ee;
  --muted-dark-surface: #b9cebf;
  --panel-light: #fbfdf8;
  --canvas-light: #eef3eb;
  --line-light: #cfdcd0;
  --text-light-surface: #183429;
  --muted-light-surface: #4b6858;
  --action-fill: linear-gradient(120deg, #def7a6, #bce575);
  --action-ink: #14270e;
  --radius-card: 1rem;
  --radius-control: .58rem;
  --surface-shadow: 0 8px 24px #142b1d12;
}

* {
  box-sizing: border-box;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
*::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
html, body {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
body { margin: 0; }
[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #59a879; outline-offset: 3px; }
:is(input, textarea, select) {
  outline: none;
}
:is(input, textarea, select):focus,
:is(input, textarea, select):focus-visible {
  outline: none !important;
}
i[data-icon] { display: inline-flex; width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }
i svg { width: 100%; height: 100%; }
.author-location {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .78rem;
  color: #8da995;
  margin-top: .1rem;
}

.author-location i {
  color: #8da995;
  width: .95em;
  height: .95em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 clamp(.65rem, 2.5vw, 2.5rem);
  padding: .2rem clamp(.85rem, 2.5vw, 2.5rem) .62rem;
  background: linear-gradient(110deg, var(--frame-surface), #163429 60%, var(--frame-surface));
  box-shadow: 0 4px 20px #000c06a0;
  backdrop-filter: blur(8px);
}
.site-header::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, var(--frame-line), var(--lime) 50%, var(--frame-line));
  pointer-events: none;
}
.brand { display: inline-flex; justify-self: start; }
.brand img { width: clamp(120px, 12vw, 180px); height: 88px; object-fit: contain; border-radius: .7rem; }
.header-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(.5rem, 1.8vw, 1.8rem);
  min-width: 0;
  min-height: 88px;
  padding: .3rem 0;
}
.nav-scroll { display: flex; align-items: center; justify-content: center; gap: .22rem; min-width: 0; max-width: 100%; margin-inline: auto; padding: .22rem; border: 1px solid var(--frame-line); border-radius: 100px; background: #0b2018ba; }
.header-menu nav { display: flex; gap: .18rem; min-width: 0; padding: .12rem; overflow-x: auto; scrollbar-width: none; }
.header-menu nav::-webkit-scrollbar { display: none; }
.header-menu nav :is(a, button) { flex: none; }
.header-menu nav :focus-visible { outline-offset: -3px; }
.nav-arrow { display: grid; place-items: center; flex: 0 0 32px; height: 34px; padding: 0; border: 1px solid var(--frame-line); border-radius: 50%; background: var(--panel-dark); color: var(--lime); }
.nav-arrow:hover:not([aria-disabled="true"]) { background: var(--control-dark); }
.nav-arrow[aria-disabled="true"] { opacity: .38; cursor: default; }
.nav-scroll:not(.has-overflow) .nav-arrow { visibility: hidden; }
.header-menu nav a, .header-menu nav button, .nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 42px;
  padding: .55rem .72rem;
  border: 1px solid transparent;
  border-radius: 100px;
  background: transparent;
  color: #fff;
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 700;
  transition: background .2s, color .2s, border-color .2s;
}
.header-menu nav :is(a, button):hover, .nav-toggle:hover,
.header-menu nav a[aria-current] {
  border-color: var(--frame-line);
  background: var(--control-dark);
  color: var(--text-dark-surface);
}
.header-menu nav a[aria-current] { border-color: var(--lime); color: var(--lime); }
.header-menu nav a[aria-current] i { color: var(--lime); }
.nav-toggle { display: none; border-color: #476b54; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  border: 1px solid transparent;
  border-radius: 100px;
  color: inherit;
  font-size: clamp(.87rem, 1.18vw, 1.25rem);
  font-weight: 750;
  white-space: nowrap;
  background: transparent;
  padding: .63em .85em;
  transition: background .2s, box-shadow .2s, transform .2s;
}
.outline i { color: var(--lime); }
.pill:hover { transform: translateY(-1px); box-shadow: var(--surface-shadow); }
.pill.outline { border-color: #829e74; background: var(--panel-dark); }
.pill.bright { color: var(--action-ink); background: var(--action-fill); border-color: #b5dc75; }
.header-account { grid-area: 1 / 3; justify-self: end; display: flex; align-items: center; gap: .5rem; }
.header-account .pill { min-height: 44px; padding: .55rem 1rem; font-size: .94rem; }
.notification-button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #28734e; border-radius: 50%; color: var(--lime); background: rgba(8, 38, 25, 0.7); position: relative; text-decoration: none; transition: all .2s ease; }
.notification-button[hidden] { display: none !important; }
.notification-button:hover { background: #184c2f; border-color: #4ade80; box-shadow: 0 0 12px rgba(34, 197, 94, 0.35); transform: scale(1.05); }
.notification-button i { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; }
.notification-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid #03140b;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.9);
  pointer-events: none;
}
.notification-badge[hidden] { display: none !important; }
.profile-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: var(--lime); background: transparent; }
.profile-button[hidden] { display: none; }
.profile-button :is(img, i) { width: 32px; height: 32px; border: 1px solid var(--lime); border-radius: 50%; background: var(--panel-dark); }
.profile-button img { object-fit: cover; }
.profile-button i { padding: 6px; }
.profile-button [hidden] { display: none; }
.profile-button:hover { background: #254729; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr minmax(275px, 31%);
  align-items: start;
  gap: 1vw;
  min-height: clamp(470px, 33vw, 620px);
  padding: 2.75vw 1.7vw 4.7vw 4.25vw;
  background:
    linear-gradient(var(--frame-surface), transparent 5rem),
    radial-gradient(ellipse at 64% 41%, #577e3e, #234a32 38%, transparent 66%),
    linear-gradient(110deg, var(--frame-surface) 30%, #204735 76%, #0b291e);
}
.hero-art {
  position: absolute;
  top: 4%;
  right: 32%;
  width: 24%;
  height: 91%;
  object-fit: contain;
  z-index: -1;
  pointer-events: none;
  filter: drop-shadow(0 12px 22px #001809aa);
  animation: art-in .75s ease-out both;
}
.hero-copy, .benefits { animation: enter .65s ease-out both; }
.hero-copy { text-shadow: 0 2px 6px #001006; }
h1 { margin: 0; font-size: clamp(2.6rem, 4.65vw, 6rem); font-style: italic; font-weight: 950; letter-spacing: -.062em; line-height: 1.12; }
h1 em { color: var(--lime); position: relative; white-space: nowrap; }
h1 em::after { content: ''; position: absolute; inset: auto 1% -.15em 14%; height: .16em; border-top: .1em solid #86ff02; border-radius: 50%; transform: rotate(-4deg); }
.title-leaf[data-icon] { width: .95em; height: .95em; color: var(--lime); filter: drop-shadow(0 0 10px #89ff1c); animation: leaf-sway 4s ease-in-out infinite; }
.hero-copy > p { font-size: clamp(1.12rem, 1.9vw, 2.2rem); line-height: 1.16; margin: 1.15em 0 .9em; letter-spacing: -.025em; }
.hero-copy > p strong { color: var(--lime); }
.hero-actions { display: flex; gap: 1.15vw; flex-wrap: wrap; }
.hero-actions .pill { font-size: clamp(.95rem, 1.36vw, 1.55rem); padding: .47em .95em; min-height: 3.2em; }
.hero-actions .pill i { width: 1.55em; height: 1.55em; }
.report-button { box-shadow: 0 8px 24px #081c1480; }
.rank-button { text-align: left; line-height: 1.05; }
.rank-button > span:last-child { font-size: 1.35em; }

.benefits { position: relative; margin-top: .2rem; animation-delay: .13s; }
.benefits h2 { position: relative; display: flex; align-items: center; gap: .4em; width: fit-content; margin: 0 0 -.2em; padding: .38em .7em .38em 0; border-radius: 1em .25em 1em 0; background: linear-gradient(120deg, #6ef20a, #064107 25%, #02180b 76%); border-top: 1px solid #d8ff97; font-size: clamp(1.02rem, 1.66vw, 2rem); }
.benefits h2 i { color: #ebffcb; margin-left: .35em; filter: drop-shadow(0 0 8px #b8ff0b); }
.benefits ul { list-style: none; padding: .6vw; margin: 0; display: grid; gap: 3px; background: #dfffd7e8; border: 2px solid #eeffed; border-radius: 1.8rem; box-shadow: 0 0 28px #c0ff9c70; color: #07120a; }
.benefits li { display: flex; align-items: center; gap: .65rem; padding: .28em .65em; background: #fafff4d9; border-radius: 3rem; min-height: clamp(55px, 4.35vw, 83px); }
.benefits li i { width: clamp(38px, 4vw, 74px); height: clamp(38px, 4vw, 74px); padding: .54em; color: #059315; border-radius: 50%; background: linear-gradient(140deg, #f1ffca, #ccf992); }
.benefits h3 { font-size: clamp(.95rem, 1.46vw, 1.65rem); letter-spacing: -.04em; margin: 0 0 .12em; }
.benefits p { font-size: clamp(.83rem, 1.08vw, 1.2rem); letter-spacing: -.025em; line-height: 1.1; margin: 0; }

.categories { position: relative; z-index: 1; margin-top: -2.15vw; padding: 1.75vw 4vw 0; color: #08110c; background: linear-gradient(#fff, #f1fbf8); border-radius: 48% 42% 0 0 / 2.2vw 2.75vw 0 0; border-top: 3px solid #94ee79; box-shadow: 0 -4px 16px #a9ff9990; }
.categories h2 { margin: 0 0 .45rem; font-size: clamp(1.35rem, 2vw, 2.5rem); font-style: italic; letter-spacing: -.045em; }
.categories h2 i { color: #078712; margin-right: .25em; }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr) .86fr; gap: 1.04vw; margin: 0 2.35vw; }
.category-grid a { text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: clamp(90px, 7.8vw, 150px); padding: .5rem .3rem; border: 1px solid #fff; border-radius: 1.55rem; background: #dafaCE; color: #07110a; box-shadow: 0 5px 9px #1b643215; transition: transform .2s, box-shadow .2s; }
.category-grid a:hover { transform: translateY(-5px); box-shadow: 0 7px 16px #26782038; }
.category-grid a:nth-child(2) { background: #fbf4d9; }
.category-grid a:nth-child(3) { background: #d8f2fb; }
.category-grid a:nth-child(4) { background: #ebe0fa; }
.category-grid a:nth-child(5) { background: #e1fadb; }
.category-grid a:last-child { background: #f5fbf5; border-color: #33bf29; }
.category-grid i { width: clamp(30px, 3vw, 55px); height: clamp(30px, 3vw, 55px); color: #04a91d; margin-bottom: .15rem; }
.category-grid a:nth-child(3) i { color: #008adf; }
.category-grid a:nth-child(4) i { color: #4b23a8; }
.category-grid strong { font-size: clamp(1rem, 1.55vw, 1.8rem); letter-spacing: -.04em; }
.category-grid a > span { font-size: clamp(.8rem, 1.2vw, 1.4rem); margin-top: .15em; }
.landscape { display: block; width: calc(100% + 8vw); height: auto; margin: 0 -4vw; mask-image: linear-gradient(transparent, #000 15%); }

dialog { color-scheme: light; width: min(92vw, 470px); max-height: 90dvh; padding: 1.65rem; border: 1px solid var(--line-light); border-radius: var(--radius-card); color: var(--text-light-surface); background: var(--panel-light); }
dialog[open] { animation: enter .22s ease-out; }
dialog::backdrop { background: #001408be; backdrop-filter: blur(4px); }
dialog h2 { margin: 0 1.5rem .3rem 0; }
dialog p { line-height: 1.4; }
#report-popup {
  width: min(96vw, 67rem);
  max-height: 94dvh;
  padding: 0;
  overflow: hidden;
  color-scheme: dark;
  color: #f1ffe9;
  background: #092419;
  border-color: #428253;
}
#report-popup > header { position: relative; padding: .8rem 3.15rem .7rem 1rem; border-bottom: 1px solid #31593a; }
#report-popup > header h2 { margin: 0; }
#report-popup > header .close { color: #bed2c0; background: transparent; }
#report-popup > iframe { display: block; width: 100%; height: min(78dvh, 50rem); border: 0; }
.close {
  position: absolute;
  top: .75rem;
  right: .95rem;
  border: 0;
  background: transparent;
  color: #bed2c0;
  font-size: 1.75rem;
  line-height: 1;
  padding: .2rem .4rem;
  border-radius: .35rem;
  cursor: pointer;
  transition: color .2s, transform .15s;
}
.close:hover { color: #aef653; transform: scale(1.08); }
.close:focus-visible { outline: 2px solid #aef653; outline-offset: 2px; }
:is(.resolve-title-row, .edit-profile-header, .dispute-header, .global-dispute-header) .close {
  position: static;
  flex: none;
  margin-left: auto;
}
form label { display: grid; gap: .3rem; margin: .75rem 0; font-weight: 700; }
form input, form select, form textarea { width: 100%; min-width: 0; border: 1px solid var(--line-light); border-radius: var(--radius-control); padding: .55rem; color: var(--text-light-surface); background: #fff; }
.form-status:empty { display: none; }
#ranking ol { display: grid; gap: .5rem; padding-inline-start: 1.5rem; }
#ranking li { padding: .5rem; background: #e0f5d8; border-radius: .35rem; }
#saved-suggestions { padding-inline-start: 1.4rem; overflow-wrap: anywhere; }
#saved-suggestions li + li { margin-top: .45rem; }

#suggestion-dialog {
  color-scheme: dark;
  background: radial-gradient(ellipse at top left, #0e2d1d, #051a10 85%), #051a10;
  border: 1px solid #366d42;
  border-radius: var(--radius-card);
  color: var(--text-dark-surface);
  box-shadow: 0 16px 44px #001208bb, inset 0 0 1.2rem #56d62810;
}
#suggestion-dialog .close {
  color: #bed2c0;
  transition: color .2s;
}
#suggestion-dialog .close:hover {
  color: #f1ffe9;
}
#suggestion-dialog h2 {
  color: #c6ff71;
  font-size: 1.35rem;
}
#suggestion-dialog p {
  color: #bed2c0;
}
#suggestion-dialog label {
  color: #f1ffe9;
  font-weight: 700;
}
#suggestion-dialog textarea {
  border: 1px solid #366d42;
  border-radius: var(--radius-control);
  background: #092618;
  color: #f1ffe9;
  padding: .65rem;
}
#suggestion-dialog textarea:focus-visible {
  outline: none;
  border-color: #aef653;
}
#suggestion-dialog .form-status {
  color: #aef653;
}
#suggestion-dialog #saved-suggestions li {
  color: #d7e9d9;
}

#notice:not(:empty) { position: fixed; z-index: 4; bottom: 1rem; left: 50%; transform: translateX(-50%); border-radius: 1rem; padding: .7rem 1.1rem; background: #d8ff77; color: #102500; font-weight: 700; }

@keyframes enter { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@keyframes art-in { from { scale: .98; } to { scale: 1; } }
@keyframes leaf-sway { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(5deg); } }
@media (max-width: 1120px) {
  .hero-art { right: 33%; }
}
@media (max-width: 950px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; }
  .header-account { grid-area: 1 / 2; }
  .nav-toggle { display: inline-flex; grid-area: 1 / 3; }
  .header-menu { grid-column: 1 / -1; grid-row: 2; flex-direction: column; align-items: stretch; gap: .5rem; padding: .65rem .8rem; border-top: 1px solid var(--frame-line); border-radius: 0; }
  .nav-toggle[aria-expanded="false"] + .header-menu { display: none; }
  .nav-scroll { width: 100%; }
}
@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; padding: 2rem 5vw 3rem; }
  .hero-art { top: 1.5rem; right: 2%; width: 34%; height: 310px; opacity: .55; }
  .benefits { max-width: 540px; width: 100%; margin-top: 1.5rem; }
  .benefits ul { padding: .45rem; }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: .55rem; margin-inline: 0; }
  .categories { padding-top: .85rem; margin-top: -1rem; }
}
@media (max-width: 460px) {
  .site-header { column-gap: .5rem; }
  .brand img { width: min(29vw, 120px); }
  .nav-toggle { gap: .3rem; padding-inline: .45rem; }
  h1 { font-size: clamp(2rem, 9vw, 2.65rem); }
  .hero-art { top: .75rem; width: 39%; height: 235px; opacity: .35; }
  .desktop-break { display: none; }
  .hero-actions { gap: .6rem; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ==========================================================================
   EBFK-PUBLIC — Universal Custom Dropdown Theme
   Applied consistently across all pages, forms, and filters
   ========================================================================== */

/* Native select fallback styling (when custom dropdown is not yet active) */
select:not(.ebfk-native-hidden) {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #082619;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23aef653' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 15px 15px;
  color: #f1ffe9;
  border: 1px solid #366d42;
  border-radius: var(--radius-control, .65rem);
  padding: .5rem 2.2rem .5rem .85rem;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: border-color .2s ease, box-shadow .2s ease;
}

select:not(.ebfk-native-hidden):hover {
  border-color: #aef653;
}

select:not(.ebfk-native-hidden):focus-visible {
  outline: none;
  border-color: #aef653;
}

select:not(.ebfk-native-hidden) option {
  background-color: #082619;
  color: #f1ffe9;
  padding: .5rem;
}

/* Visually hidden native select when enhanced by ebfk-custom-select */
select.ebfk-native-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Custom Dropdown Container */
.ebfk-custom-select {
  position: relative;
  display: inline-block;
  min-width: 140px;
  font-family: inherit;
  font-size: .88rem;
  color: #f1ffe9;
  vertical-align: middle;
}

/* Trigger Button */
.ebfk-select-trigger {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding: .45rem .85rem;
  background: #082619;
  color: #f1ffe9;
  border: 1px solid #366d42;
  border-radius: var(--radius-control, .65rem);
  font-family: inherit;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  user-select: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.ebfk-select-trigger:hover {
  border-color: #aef653;
  background: #0c3321;
}

.ebfk-select-trigger:focus-visible,
.ebfk-select-trigger.is-open {
  outline: none;
  border-color: #aef653;
  box-shadow: 0 0 0 2px rgba(174, 246, 83, 0.28), 0 4px 14px rgba(0, 0, 0, 0.35);
  background: #0c3321;
}

.ebfk-select-prefix {
  flex: 0 0 auto;
  font-weight: 700;
  color: inherit;
}

.ebfk-select-label {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Arrow indicator: Downward ⌄ when closed, Upward ⌃ when open */
.ebfk-select-arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  color: #aef653;
  margin-inline-start: auto;
  pointer-events: none;
  transform: rotate(0deg);
  transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ebfk-select-arrow svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2.3;
}

/* Rotate arrow 180° when dropdown is open to point upward ⌃ */
.ebfk-select-trigger.is-open .ebfk-select-arrow {
  transform: rotate(180deg);
}

/* Options Menu Popup */
.ebfk-select-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  min-width: 100%;
  width: max-content;
  max-width: min(320px, 90vw);
  max-height: 250px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #082619;
  border: 1px solid #366d42;
  border-radius: var(--radius-control, .65rem);
  box-shadow: 0 12px 32px rgba(0, 12, 6, 0.92), 0 4px 16px rgba(0, 0, 0, 0.6);
  z-index: 1050;
  padding: .35rem;
  scrollbar-width: thin;
  scrollbar-color: #366d42 #082619;
}

.ebfk-select-menu[hidden] {
  display: none !important;
}

/* Smart upward positioning */
.ebfk-select-menu.opens-up {
  top: auto;
  bottom: calc(100% + 5px);
}

/* Smart right-alignment when near right edge */
.ebfk-select-menu.align-right {
  left: auto;
  right: 0;
}

/* Dropdown Option Items */
.ebfk-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .5rem .75rem;
  border-radius: .45rem;
  color: #f1ffe9;
  font-size: .86rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

.ebfk-select-option:hover,
.ebfk-select-option.is-focused {
  background: #123e24;
  color: #ffffff;
}

.ebfk-select-option.is-selected {
  background: #174826;
  color: #aef653;
  font-weight: 700;
}

.ebfk-select-check {
  display: none;
  font-size: .85rem;
  font-weight: 700;
  color: #aef653;
}

.ebfk-select-option.is-selected .ebfk-select-check {
  display: inline-block;
}

.ebfk-option-text {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Page-specific Context Overrides */

/* Form / Modal full-width inputs */
.form-group .ebfk-custom-select,
.opinion-form-grid .ebfk-custom-select {
  width: 100%;
  display: block;
}

/* Explore page (City Problems) location filters */
.explore-location-filters .ebfk-custom-select {
  min-width: 8.5rem;
}
.explore-filter-pill {
  position: relative;
}
.explore-filter-pill .ebfk-custom-select {
  min-width: 140px;
}
.explore-filter-pill .ebfk-select-trigger {
  min-height: auto;
  padding: 0 .25rem;
  background: transparent;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  color: inherit;
}
.explore-filter-pill .ebfk-select-trigger:hover,
.explore-filter-pill .ebfk-select-trigger.is-open {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.explore-filter-pill .ebfk-select-menu {
  left: auto;
  right: 0;
  min-width: 175px;
}

/* Leaderboard category pill embedding */
.rank-category-pill {
  position: relative;
}
.rank-category-pill .ebfk-custom-select {
  min-width: 140px;
}
.rank-category-pill .ebfk-select-trigger {
  min-height: auto;
  padding: 0 .25rem;
  background: transparent;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  color: inherit;
}
.rank-category-pill .ebfk-select-trigger:hover,
.rank-category-pill .ebfk-select-trigger.is-open {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.rank-category-pill .ebfk-select-menu {
  left: auto;
  right: 0;
  min-width: 180px;
}

/* Resolution Dialog Styling - Dark Forest Green Glassmorphism */
.resolve-dialog {
  color-scheme: dark;
  width: min(94vw, 36rem);
  max-height: 92dvh;
  padding: 1.6rem;
  border: 1px solid #28734e;
  border-radius: 1.25rem;
  background: radial-gradient(ellipse at top left, #0e2d1d, #05180f 85%), #05180f;
  color: #f1ffe9;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.22), 0 12px 36px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
}
.resolve-dialog::backdrop {
  background: rgba(1, 15, 8, 0.85);
  backdrop-filter: blur(6px);
}
.resolve-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: .25rem;
}
.resolve-title-row h2 {
  margin: 0;
  font-size: 1.35rem;
  color: #aef653;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.resolve-title-row h2 i {
  color: #4ade80;
}
.resolve-dialog-subtext {
  margin: .25rem 0 .75rem;
  color: #a3c9a8;
  font-size: .88rem;
  line-height: 1.4;
}
.target-card-mini {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .65rem;
  border: 1px solid #1f5e36;
  border-radius: .75rem;
  background: #082113;
  margin: .65rem 0 1rem;
}
.target-card-mini .target-thumb {
  width: 54px;
  height: 54px;
  border-radius: .5rem;
  object-fit: cover;
  border: 1px solid #2e6840;
  flex: none;
}
.target-card-mini .target-info {
  display: grid;
  gap: .15rem;
  min-width: 0;
}
.target-card-mini .target-category {
  font-size: .74rem;
  color: #84cc16;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.target-card-mini .target-title {
  margin: 0;
  font-size: .92rem;
  color: #f1ffe9;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.target-card-mini .target-loc {
  font-size: .78rem;
  color: #8da995;
  display: flex;
  align-items: center;
  gap: .25rem;
}
.resolve-dialog-form {
  display: grid;
  gap: .9rem;
}
.resolve-field-group {
  display: grid;
  gap: .35rem;
}
.resolve-field-label {
  font-size: .88rem;
  font-weight: 600;
  color: #d1f586;
}
.resolve-upload-box {
  border: 2px dashed #28734e;
  border-radius: .85rem;
  padding: 1.15rem;
  text-align: center;
  background: #071c12;
  cursor: pointer;
  transition: all .2s ease;
  position: relative;
}
.resolve-upload-box:hover,
.resolve-upload-box.is-dragging {
  border-color: #4ade80;
  background: #0d2e1f;
}
.resolve-upload-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  color: #bed2c0;
}
.resolve-upload-prompt i {
  color: #4ade80;
  width: 32px;
  height: 32px;
}
.resolve-upload-prompt .prompt-text {
  font-weight: 600;
  font-size: .92rem;
  color: #f1ffe9;
}
.resolve-upload-prompt .prompt-sub {
  font-size: .78rem;
  color: #8da995;
}
.resolve-preview-container {
  position: relative;
  border-radius: .75rem;
  overflow: hidden;
  max-height: 220px;
  border: 1px solid #366d42;
}
.resolve-preview-container img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
}
.resolve-remove-photo-btn {
  position: absolute;
  top: .5rem;
  right: .5rem;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s;
}
.resolve-remove-photo-btn:hover {
  background: #dc2626;
}
.resolve-input,
.resolve-textarea {
  width: 100%;
  border: 1px solid #366d42;
  border-radius: .55rem;
  background: #071f13;
  color: #f1ffe9;
  padding: .6rem .8rem;
  font-size: .9rem;
  outline: none !important;
  box-sizing: border-box;
}
.resolve-input:focus,
.resolve-textarea:focus {
  border-color: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
}
.resolve-form-actions {
  display: flex;
  gap: .75rem;
  justify-content: flex-end;
  margin-top: .6rem;
}

/* Global Right-Side Notification Drawer */
.notif-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(1, 10, 5, 0.62);
  backdrop-filter: blur(4px);
}
.notif-drawer-backdrop[hidden] { display: none !important; }

.notif-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  width: min(100vw, 410px);
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at top right, #0d2f1d, #05140b 75%), #05140b;
  border-left: 1px solid #28734e;
  box-shadow: -10px 0 36px rgba(0, 0, 0, 0.72), inset 1px 0 18px rgba(34, 197, 94, 0.08);
  color: #f1ffe9;
  transform: translateX(100%);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.notif-drawer[hidden] { display: none !important; }
.notif-drawer.is-open { transform: translateX(0); }

.notif-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid #1a422a;
  background: rgba(6, 24, 15, 0.9);
}
.notif-drawer-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.notif-drawer-title-wrap i {
  color: #4ade80;
  width: 1.15rem;
  height: 1.15rem;
}
.notif-drawer-title-wrap h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f1ffe9;
}
.notif-drawer-close {
  position: static;
  width: 34px;
  height: 34px;
  font-size: 1.35rem;
  color: #bed2c0;
}
.notif-drawer-close:hover { color: #aef653; }

.notif-drawer-tabs {
  display: flex;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  border-bottom: 1px solid #143622;
  background: rgba(5, 20, 11, 0.75);
}
.notif-drawer-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid #1f5e36;
  background: #082013;
  color: #a3c9a8;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.notif-drawer-tab:hover { border-color: #22c55e; color: #f1ffe9; }
.notif-drawer-tab.is-active {
  background: #22c55e;
  border-color: #22c55e;
  color: #03140b;
  font-weight: 750;
}
.notif-tab-count {
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.05rem 0.4rem;
  border-radius: 9999px;
}
.notif-tab-count[hidden] { display: none !important; }

.notif-drawer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0.85rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.notif-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid #184228;
  background: #071b10;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  position: relative;
}
.notif-item.is-clickable { cursor: pointer; }
.notif-item.is-clickable:hover {
  border-color: #2c7a49;
  background: #0b2617;
}
.notif-item.is-unread {
  border-color: rgba(74, 222, 128, 0.5);
  background: #0a2416;
}
.notif-item.is-pending-verify {
  border-color: rgba(174, 246, 83, 0.55);
  background: linear-gradient(180deg, #0b2817, #071b10);
}

.notif-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0d2f1d;
  border: 1px solid #235837;
  color: #4ade80;
  flex: none;
  margin-top: 0.1rem;
}
.notif-item-icon i { width: 15px; height: 15px; }
.notif-item-icon.is-heart { color: #aef653; border-color: #49932d; background: #11361e; }
.notif-item-icon.is-dispute { color: #fca5a5; border-color: #991b1b; background: #2d0d0d; }
.notif-item-icon.is-comment { color: #93c5fd; border-color: #1d4ed8; background: #0d1f3a; }

.notif-item-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.notif-item-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.42;
  color: #e6f7de;
  overflow-wrap: anywhere;
}
.notif-item-sub {
  margin: 0;
  font-size: 0.79rem;
  line-height: 1.38;
  color: #9cc4a2;
  overflow-wrap: anywhere;
}
.notif-item-time {
  font-size: 0.74rem;
  color: #7b9983;
}

.notif-item-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-top: 0.2rem;
}
.notif-item-thumb {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid #1f5e36;
  background: #041008;
}
.notif-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.notif-item-thumb span {
  position: absolute;
  bottom: 3px;
  left: 3px;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 999px;
}
.notif-item-thumb .tag-before { background: #ef4444; color: #fff; }
.notif-item-thumb .tag-after { background: #84cc16; color: #0b2912; }

.notif-dispute-thumb {
  margin-top: 0.25rem;
  width: 110px;
  border-radius: 0.45rem;
  border: 1px solid #7f1d1d;
  overflow: hidden;
}
.notif-dispute-thumb img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  display: block;
}

.notif-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}
.notif-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.notif-mini-btn i { width: 13px; height: 13px; }
.notif-mini-btn.confirm {
  background: #22c55e;
  color: #03140b;
}
.notif-mini-btn.confirm:hover { background: #4ade80; }
.notif-mini-btn.dispute {
  background: rgba(239, 68, 68, 0.14);
  border-color: #ef4444;
  color: #fca5a5;
}
.notif-mini-btn.dispute:hover {
  background: rgba(239, 68, 68, 0.28);
  color: #fff;
}
.notif-mini-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.notif-inline-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 0.2rem;
}
.notif-inline-status.is-verified { color: #86efac; }
.notif-inline-status.is-disputed { color: #fca5a5; }

.notif-drawer-empty {
  text-align: center;
  color: #8fa896;
  font-size: 0.88rem;
  padding: 2.5rem 1rem;
  margin: 0;
}

/* Global Dispute Resolution Modal (Works across any page via drawer) */
.global-dispute-dialog {
  max-width: 480px;
  width: calc(100% - 2rem);
  padding: 0;
  border: 1px solid #ef4444;
  border-radius: 1.15rem;
  background: radial-gradient(ellipse at top left, #290d0d, #090303 85%), #090303;
  box-shadow: 0 0 32px rgba(239, 68, 68, 0.3), 0 20px 50px rgba(0, 0, 0, 0.72);
  color: #f1ffe9;
}
.global-dispute-dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(5px);
}
.global-dispute-box { padding: 1.35rem; }
.global-dispute-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #4a1515;
}
.global-dispute-header h2 { margin: 0; font-size: 1.2rem; font-weight: 800; color: #fca5a5; }
.global-dispute-sub { margin: 0 0 0.9rem; font-size: 0.86rem; line-height: 1.45; color: #fca5a5; }
.global-dispute-label { display: block; margin-bottom: 0.35rem; font-size: 0.84rem; font-weight: 700; color: #fecaca; }
.global-dispute-upload {
  border: 2px dashed #7f1d1d;
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  background: rgba(30, 10, 10, 0.55);
  margin-bottom: 0.95rem;
  cursor: pointer;
}
.global-dispute-upload:hover { border-color: #ef4444; }
.global-dispute-preview { max-width: 260px; margin: 0 auto; border-radius: 0.5rem; overflow: hidden; }
.global-dispute-preview img { width: 100%; max-height: 180px; object-fit: cover; display: block; }
.global-dispute-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #140505;
  border: 1px solid #7f1d1d;
  border-radius: 0.6rem;
  padding: 0.65rem 0.8rem;
  color: #f1ffe9;
  font: inherit;
  font-size: 0.88rem;
  resize: vertical;
  margin-bottom: 0.75rem;
}
.global-dispute-textarea:focus { outline: none; border-color: #ef4444; }
.global-dispute-actions { display: flex; gap: 0.65rem; justify-content: flex-end; margin-top: 0.5rem; }


