/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial,
    sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
    monospace;
    --color-red-500: oklch(63.7% 0.237 25.331);
    --color-red-600: oklch(57.7% 0.245 27.325);
    --color-orange-500: oklch(70.5% 0.213 47.604);
    --color-amber-200: oklch(92.4% 0.12 95.746);
    --color-amber-300: oklch(87.9% 0.169 91.605);
    --color-amber-400: oklch(82.8% 0.189 84.429);
    --color-amber-500: oklch(76.9% 0.188 70.08);
    --color-amber-700: oklch(55.5% 0.163 48.998);
    --color-amber-900: oklch(41.4% 0.112 45.904);
    --color-yellow-700: oklch(55.4% 0.135 66.442);
    --color-green-400: oklch(79.2% 0.209 151.711);
    --color-green-500: oklch(72.3% 0.219 149.579);
    --color-green-600: oklch(62.7% 0.194 149.214);
    --color-emerald-500: oklch(69.6% 0.17 162.48);
    --color-emerald-600: oklch(59.6% 0.145 163.225);
    --color-blue-400: oklch(70.7% 0.165 254.624);
    --color-blue-500: oklch(62.3% 0.214 259.815);
    --color-blue-600: oklch(54.6% 0.245 262.881);
    --color-blue-700: oklch(48.8% 0.243 264.376);
    --color-slate-100: oklch(96.8% 0.007 247.896);
    --color-slate-300: oklch(86.9% 0.022 252.894);
    --color-slate-400: oklch(70.4% 0.04 256.788);
    --color-slate-500: oklch(55.4% 0.046 257.417);
    --color-slate-600: oklch(44.6% 0.043 257.281);
    --color-slate-700: oklch(37.2% 0.044 257.287);
    --color-slate-800: oklch(27.9% 0.041 260.031);
    --color-slate-900: oklch(20.8% 0.042 265.755);
    --color-slate-950: oklch(12.9% 0.042 264.695);
    --color-gray-500: oklch(55.1% 0.027 264.364);
    --color-gray-700: oklch(37.3% 0.034 259.733);
    --color-gray-800: oklch(27.8% 0.033 256.848);
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-2xl: 42rem;
    --container-5xl: 64rem;
    --container-7xl: 80rem;
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden='until-found'])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .top-5 {
    top: calc(var(--spacing) * 5);
  }
  .right-5 {
    right: calc(var(--spacing) * 5);
  }
  .z-50 {
    z-index: 50;
  }
  .\!container {
    width: 100% !important;
    @media (width >= 40rem) {
      max-width: 40rem !important;
    }
    @media (width >= 48rem) {
      max-width: 48rem !important;
    }
    @media (width >= 64rem) {
      max-width: 64rem !important;
    }
    @media (width >= 80rem) {
      max-width: 80rem !important;
    }
    @media (width >= 96rem) {
      max-width: 96rem !important;
    }
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .mx-auto {
    margin-inline: auto;
  }
  .mt-1 {
    margin-top: var(--spacing);
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }
  .mt-8 {
    margin-top: calc(var(--spacing) * 8);
  }
  .mt-10 {
    margin-top: calc(var(--spacing) * 10);
  }
  .mr-3 {
    margin-right: calc(var(--spacing) * 3);
  }
  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .mb-8 {
    margin-bottom: calc(var(--spacing) * 8);
  }
  .mb-10 {
    margin-bottom: calc(var(--spacing) * 10);
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .table {
    display: table;
  }
  .h-5 {
    height: calc(var(--spacing) * 5);
  }
  .h-9 {
    height: calc(var(--spacing) * 9);
  }
  .h-full {
    height: 100%;
  }
  .h-screen {
    height: 100vh;
  }
  .min-h-0 {
    min-height: 0px;
  }
  .min-h-screen {
    min-height: 100vh;
  }
  .w-5 {
    width: calc(var(--spacing) * 5);
  }
  .w-9 {
    width: calc(var(--spacing) * 9);
  }
  .w-20 {
    width: calc(var(--spacing) * 20);
  }
  .w-full {
    width: 100%;
  }
  .max-w-2xl {
    max-width: var(--container-2xl);
  }
  .max-w-5xl {
    max-width: var(--container-5xl);
  }
  .max-w-7xl {
    max-width: var(--container-7xl);
  }
  .min-w-\[320px\] {
    min-width: 320px;
  }
  .min-w-full {
    min-width: 100%;
  }
  .flex-1 {
    flex: 1;
  }
  .grow {
    flex-grow: 1;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .animate-pulse {
    animation: var(--animate-pulse);
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-cols-\[220px_minmax\(0\,1fr\)_280px\] {
    grid-template-columns: 220px minmax(0,1fr) 280px;
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .items-end {
    align-items: flex-end;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }
  .gap-8 {
    gap: calc(var(--spacing) * 8);
  }
  :where(.space-y-1 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(var(--spacing) * var(--tw-space-y-reverse));
    margin-block-end: calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-2 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-3 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-4 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.space-y-8 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));
  }
  :where(.divide-y > :not(:last-child)) {
    --tw-divide-y-reverse: 0;
    border-bottom-style: var(--tw-border-style);
    border-top-style: var(--tw-border-style);
    border-top-width: calc(1px * var(--tw-divide-y-reverse));
    border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  }
  :where(.divide-gray-700 > :not(:last-child)) {
    border-color: var(--color-gray-700);
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .overflow-y-auto {
    overflow-y: auto;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-xl {
    border-radius: var(--radius-xl);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-l-\[8px\] {
    border-left-style: var(--tw-border-style);
    border-left-width: 8px;
  }
  .border-dashed {
    --tw-border-style: dashed;
    border-style: dashed;
  }
  .border-amber-700 {
    border-color: var(--color-amber-700);
  }
  .border-gray-500 {
    border-color: var(--color-gray-500);
  }
  .border-gray-700 {
    border-color: var(--color-gray-700);
  }
  .border-slate-600 {
    border-color: var(--color-slate-600);
  }
  .border-slate-700 {
    border-color: var(--color-slate-700);
  }
  .border-slate-800 {
    border-color: var(--color-slate-800);
  }
  .bg-amber-500 {
    background-color: var(--color-amber-500);
  }
  .bg-amber-900\/30 {
    background-color: color-mix(in srgb, oklch(41.4% 0.112 45.904) 30%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-amber-900) 30%, transparent);
    }
  }
  .bg-amber-900\/40 {
    background-color: color-mix(in srgb, oklch(41.4% 0.112 45.904) 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-amber-900) 40%, transparent);
    }
  }
  .bg-blue-600 {
    background-color: var(--color-blue-600);
  }
  .bg-emerald-600 {
    background-color: var(--color-emerald-600);
  }
  .bg-gray-800 {
    background-color: var(--color-gray-800);
  }
  .bg-green-600 {
    background-color: var(--color-green-600);
  }
  .bg-orange-500 {
    background-color: var(--color-orange-500);
  }
  .bg-red-600 {
    background-color: var(--color-red-600);
  }
  .bg-slate-600 {
    background-color: var(--color-slate-600);
  }
  .bg-slate-700 {
    background-color: var(--color-slate-700);
  }
  .bg-slate-800 {
    background-color: var(--color-slate-800);
  }
  .bg-slate-900 {
    background-color: var(--color-slate-900);
  }
  .bg-slate-950 {
    background-color: var(--color-slate-950);
  }
  .bg-yellow-700 {
    background-color: var(--color-yellow-700);
  }
  .p-0 {
    padding: 0px;
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .p-5 {
    padding: calc(var(--spacing) * 5);
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .px-5 {
    padding-inline: calc(var(--spacing) * 5);
  }
  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }
  .px-8 {
    padding-inline: calc(var(--spacing) * 8);
  }
  .py-1 {
    padding-block: var(--spacing);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }
  .py-4 {
    padding-block: calc(var(--spacing) * 4);
  }
  .py-5 {
    padding-block: calc(var(--spacing) * 5);
  }
  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }
  .py-10 {
    padding-block: calc(var(--spacing) * 10);
  }
  .pt-0 {
    padding-top: 0px;
  }
  .pt-3 {
    padding-top: calc(var(--spacing) * 3);
  }
  .pt-6 {
    padding-top: calc(var(--spacing) * 6);
  }
  .pr-2 {
    padding-right: calc(var(--spacing) * 2);
  }
  .pb-3 {
    padding-bottom: calc(var(--spacing) * 3);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }
  .text-4xl {
    font-size: var(--text-4xl);
    line-height: var(--tw-leading, var(--text-4xl--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .text-amber-200 {
    color: var(--color-amber-200);
  }
  .text-amber-300 {
    color: var(--color-amber-300);
  }
  .text-amber-400 {
    color: var(--color-amber-400);
  }
  .text-blue-400 {
    color: var(--color-blue-400);
  }
  .text-gray-500 {
    color: var(--color-gray-500);
  }
  .text-green-400 {
    color: var(--color-green-400);
  }
  .text-slate-100 {
    color: var(--color-slate-100);
  }
  .text-slate-300 {
    color: var(--color-slate-300);
  }
  .text-slate-400 {
    color: var(--color-slate-400);
  }
  .text-slate-500 {
    color: var(--color-slate-500);
  }
  .text-slate-950 {
    color: var(--color-slate-950);
  }
  .text-white {
    color: var(--color-white);
  }
  .uppercase {
    text-transform: uppercase;
  }
  .italic {
    font-style: italic;
  }
  .shadow-lg {
    --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-xl {
    --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  @media (hover: hover) {
    .hover\:bg-amber-400:hover {
      background-color: var(--color-amber-400);
    }
    .hover\:bg-blue-500:hover {
      background-color: var(--color-blue-500);
    }
    .hover\:bg-blue-700:hover {
      background-color: var(--color-blue-700);
    }
    .hover\:bg-emerald-500:hover {
      background-color: var(--color-emerald-500);
    }
    .hover\:bg-green-500:hover {
      background-color: var(--color-green-500);
    }
    .hover\:bg-red-500:hover {
      background-color: var(--color-red-500);
    }
    .hover\:bg-slate-600:hover {
      background-color: var(--color-slate-600);
    }
    .hover\:bg-slate-700:hover {
      background-color: var(--color-slate-700);
    }
  }
  @media (width >= 48rem) {
    .md\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (width >= 64rem) {
    .lg\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (width >= 80rem) {
    .xl\:grid-cols-4 {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
}
:root {
  --campaign-bg: #221f1a;
  --campaign-bg-light: #2a2620;
  --campaign-border: #8d6b36;
  --campaign-border-light: #b89c63;
  --campaign-text: #f3f1ea;
  --campaign-muted: #b8a989;
  --gold: #c8a96b;
  --gold-light: #e5c98a;
  --panel-shadow: 0 10px 30px rgba(0,0,0,.45);
}
html, body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient( circle at 50% 0%, rgba(190, 160, 95, 0.045), transparent 38% ), #12110f;
  color: #e8dfcf;
}
.campaign-layout {
  display: grid;
  grid-template-rows: 70px 50px minmax(0, 1fr) 0;
  min-height: 100vh;
  background: transparent;
}
.campaign-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  padding: 20px;
  background: transparent;
  min-width: 0;
  box-sizing: border-box;
}
.campaign-map {
  background: #24211c;
  border: 1px solid rgba(190, 160, 95, 0.14);
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
}
.campaign-sidebar {
  background: #24211c;
  border: 1px solid rgba(190, 160, 95, 0.14);
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
}
.map-placeholder {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #e8dfcf;
}
.campaign-team-main {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.campaign-map-layout {
  min-width: 0;
  min-height: 0;
  height: 100%;
}
@media (max-width: 1100px) {
  .campaign-map-layout {
    grid-template-columns: 180px minmax(0, 1fr) 230px;
    gap: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }
}
html, body {
  height: 100%;
}
body:has(.campaign-map-page) {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}
body:has(.campaign-map-page) > main.campaign-map-main {
  height: 100vh;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
body:has(.campaign-map-page) > .site-footer {
  display: none;
}
body:has(.campaign-map-page) .campaign-map-page {
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}
@media (max-width: 700px) {
  html, body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }
  body:has(.campaign-map-page) {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
  }
  body:has(.campaign-map-page) > main.campaign-map-main {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  body:has(.campaign-map-page) .campaign-map-page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }
  .campaign-map-layout {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 10px !important;
    padding: 0 8px 10px !important;
    overflow: visible !important;
  }
  .campaign-map-layout > section {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 10px !important;
    order: 1 !important;
    overflow: visible !important;
  }
  .campaign-map-layout > section > div:first-child {
    display: block !important;
    width: 100% !important;
    height: 360px !important;
    min-height: 360px !important;
    max-height: none !important;
    flex: 0 0 360px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  .campaign-map-layout > section > div:first-child .map-container {
    display: flex !important;
    width: 100% !important;
    height: 360px !important;
    min-height: 360px !important;
    box-sizing: border-box !important;
  }
  .campaign-map-layout > section > div:first-child .map-content {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }
  .campaign-map-layout > section > div:first-child .map-viewport {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }
  .campaign-map-layout > section > div:first-child .map-camera {
    width: 100% !important;
    height: 100% !important;
  }
  .campaign-map-layout > section > div:first-child .map-camera svg {
    height: 94% !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
  }
  .campaign-map-layout > section > div:last-child {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
  }
  .campaign-map-layout > aside:first-child {
    display: block !important;
    order: 2 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  .campaign-map-layout > aside:last-child {
    display: block !important;
    order: 3 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
}
.campaign-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 78px;
  padding: 8px 22px;
  box-sizing: border-box;
  background: linear-gradient( 180deg, rgba(20, 18, 15, .98), rgba(13, 12, 10, .98) );
  border-bottom: 1px solid rgba(190, 160, 95, .30);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .38);
}
.campaign-header-launch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
}
.campaign-header-launch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.campaign-header-launch strong {
  color: #b89562;
  font-weight: 700;
  white-space: nowrap;
}
.campaign-header-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.campaign-header-logo {
  display: flex;
  align-items: center;
  width: 175px;
  flex-shrink: 0;
  text-decoration: none;
}
.campaign-header-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}
.campaign-header-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 13px;
  box-sizing: border-box;
  border: 1px solid rgba(190, 160, 95, .22);
  border-radius: 7px;
  background: rgba(190, 160, 95, .04);
  color: #a69d8e;
  font-family: "Cinzel", serif;
  font-size: .65rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.campaign-header-back:hover {
  background: rgba(190, 160, 95, .10);
  border-color: rgba(190, 160, 95, .45);
  color: #d8c28f;
  transform: translateX(-1px);
}
.campaign-header-back-icon {
  color: #bea05f;
  font-size: 1rem;
}
.campaign-header-campaign {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 220px;
  margin-left: 25px;
  padding: 0 25px;
}
.campaign-header-campaign-kicker {
  margin-bottom: 3px;
  color: #bea05f;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .18em;
}
.campaign-header-campaign-name {
  overflow: hidden;
  color: #eee6d8;
  font-family: "Cinzel", serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.campaign-header-stats {
  display: flex;
  align-items: stretch;
  margin-left: 20px;
  border-left: 1px solid rgba(190, 160, 95, .18);
}
.campaign-header-stat {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 95px;
  padding: 0 15px;
  border-right: 1px solid rgba(190, 160, 95, .12);
}
.campaign-header-stat-icon {
  color: #bea05f;
  font-size: 1.05rem;
  line-height: 1;
}
.campaign-header-stat-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.campaign-header-stat-content strong {
  color: #eee6d8;
  font-family: "Cinzel", serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1;
}
.campaign-header-stat-content strong small {
  color: #777167;
  font-family: inherit;
  font-size: .72rem;
}
.campaign-header-stat-content span {
  color: #817a70;
  font-size: .57rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.campaign-header-actions {
  margin-left: auto;
  flex-shrink: 0;
}
.campaign-header-finish {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(190, 160, 95, .65);
  border-radius: 7px;
  background: linear-gradient( 180deg, #8f6b32, #6e4e20 );
  color: #f4e7cc;
  font-family: "Cinzel", serif;
  font-size: .65rem;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .25);
  transition: background .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.campaign-header-finish:hover {
  background: linear-gradient( 180deg, #a98240, #805e29 );
  border-color: #d8b36a;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .35);
  transform: translateY(-1px);
}
.campaign-header-finish-icon {
  font-size: .9rem;
}
.campaign-header-turn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 390px;
  flex: 1 1 auto;
  min-height: 88px;
}
.campaign-turn-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  text-align: center;
  flex: 0 0 auto;
}
.campaign-turn-main .turn-label {
  position: static !important;
  top: auto;
  left: auto;
  transform: none !important;
  margin: 0 0 3px;
  color: #d8b36a;
  font-family: "Cinzel", serif;
  font-size: .60rem;
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}
.campaign-turn-main .turn-label-last {
  color: #c96d55;
}
.campaign-turn-main .turn-number {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  font-family: "Cinzel", serif;
  font-size: 2.55rem;
  font-weight: 500;
  line-height: 1;
  color: #f4efe4;
  text-shadow: 0 0 10px rgba(0, 0, 0, .85), 0 1px 2px rgba(0, 0, 0, .8);
}
.campaign-turn-main .turn-total {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: .82rem;
  color: #b89c63;
  opacity: .90;
}
.campaign-turn-state {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  min-width: 245px;
  padding-left: 20px;
  border-left: 1px solid rgba(184, 156, 99, .22);
}
.campaign-turn-phase {
  display: flex;
  align-items: center;
  gap: 10px;
}
.campaign-turn-phase-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border: 1px solid rgba(184, 156, 99, .28);
  border-radius: 8px;
  background: rgba(184, 156, 99, .07);
  font-size: 1rem;
  line-height: 1;
}
.campaign-turn-phase strong {
  display: block;
  color: #eee6d8;
  font-family: "Cinzel", serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}
.campaign-turn-phase div span {
  display: block;
  margin-top: 3px;
  color: #817a70;
  font-size: .60rem;
  line-height: 1.2;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.campaign-turn-active-team {
  display: flex;
  align-items: center;
  gap: 9px;
}
.campaign-turn-active-team img {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
}
.campaign-turn-active-team small, .campaign-turn-deadline small {
  display: block;
  margin-bottom: 2px;
  color: #817a70;
  font-size: .50rem;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.campaign-turn-active-team strong {
  display: block;
  color: #d8b36a;
  font-family: "Cinzel", serif;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.2;
}
.campaign-turn-phase-combat .campaign-turn-phase-icon {
  border-color: rgba(185, 74, 55, .35);
  background: rgba(185, 74, 55, .08);
}
.campaign-turn-deadline {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.campaign-turn-deadline strong {
  color: #d8b36a;
  font-family: "Cinzel", serif;
  font-size: .70rem;
  font-weight: 500;
}
.campaign-header-stats {
  display: flex;
  align-items: stretch;
  margin-left: 4px;
  border-left: 1px solid rgba(190, 160, 95, .18);
  flex-shrink: 1;
}
.campaign-header-stat {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 92px;
  padding: 0 13px;
  border-right: 1px solid rgba(190, 160, 95, .12);
}
.campaign-header-stat-icon {
  color: #bea05f;
  font-size: 1.05rem;
  line-height: 1;
}
.campaign-header-stat-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.campaign-header-stat-content strong {
  color: #eee6d8;
  font-family: "Cinzel", serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1;
}
.campaign-header-stat-content strong small {
  color: #777167;
  font-family: inherit;
  font-size: .72rem;
}
.campaign-header-stat-content span {
  color: #817a70;
  font-size: .57rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.campaign-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.campaign-header-actions form {
  margin: 0;
}
.campaign-header-rules, .campaign-header-statistics, .campaign-header-finish {
  box-sizing: border-box;
  white-space: nowrap;
}
.campaign-header-finish {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(190, 160, 95, .65);
  border-radius: 7px;
  background: linear-gradient(180deg, #8f6b32, #6e4e20);
  color: #f4e7cc;
  font-family: "Cinzel", serif;
  font-size: .65rem;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .25);
  transition: background .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.campaign-header-finish:hover {
  background: linear-gradient(180deg, #a98240, #805e29);
  border-color: #d8b36a;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .35);
  transform: translateY(-1px);
}
.campaign-header-finish-icon {
  font-size: .9rem;
}
.campaign-header-rules, .campaign-header-statistics {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  box-sizing: border-box;
  border-radius: 8px;
  font-family: "Cinzel", serif;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.campaign-header-rules {
  border: 1px solid rgba(190, 160, 95, .28);
  background: rgba(190, 160, 95, .045);
  color: #cdb77f;
  font-size: .68rem;
}
.campaign-header-rules:hover {
  background: rgba(190, 160, 95, .10);
  border-color: rgba(190, 160, 95, .45);
  color: #e3cb8a;
  transform: translateY(-1px);
}
.campaign-header-rules-icon {
  font-size: .85rem;
}
.campaign-header-statistics {
  border: 1px solid rgba(190, 160, 95, .55);
  border-radius: 7px;
  background: linear-gradient( 180deg, rgba(190, 160, 95, .16), rgba(190, 160, 95, .07) );
  color: #e2cb92;
  font-size: .65rem;
}
.campaign-header-statistics:hover {
  background: linear-gradient( 180deg, rgba(190, 160, 95, .24), rgba(190, 160, 95, .12) );
  border-color: #d8b36a;
  color: #f1d99f;
  transform: translateY(-1px);
}
.campaign-header-statistics-icon {
  font-size: .9rem;
  color: #d8b36a;
}
@media (max-width: 1200px) {
  .campaign-header {
    gap: 12px;
    padding: 10px 15px;
  }
  .campaign-header-logo {
    width: 145px;
  }
  .campaign-header-left {
    gap: 10px;
  }
  .campaign-header-back span:last-child {
    display: none;
  }
  .campaign-header-back {
    width: 38px;
    padding: 0;
    justify-content: center;
  }
  .campaign-header-campaign {
    min-width: 145px;
    max-width: 210px;
    padding: 0 12px;
  }
  .campaign-header-turn-content {
    min-width: 320px;
    gap: 13px;
  }
  .campaign-turn-state {
    min-width: 195px;
    padding-left: 14px;
  }
  .campaign-header-stat {
    min-width: 75px;
    padding: 0 9px;
  }
  .campaign-header-stat-icon {
    display: none;
  }
  .campaign-header-finish, .campaign-header-rules {
    padding-left: 11px;
    padding-right: 11px;
  }
}
@media (max-width: 950px) {
  .campaign-header {
    min-height: 98px;
  }
  .campaign-header-campaign {
    max-width: 175px;
  }
  .campaign-header-turn-content {
    min-width: 260px;
  }
  .campaign-turn-state {
    min-width: 160px;
  }
  .campaign-turn-active-team, .campaign-turn-deadline {
    display: none;
  }
  .campaign-header-stat:nth-child(n+2) {
    display: none;
  }
}
@media (max-width: 700px) {
  .campaign-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "left campaign actions" "turn turn turn";
    align-items: center;
    width: 100%;
    min-height: auto;
    padding: 7px 9px 9px;
    gap: 7px 8px;
  }
  .campaign-header-left {
    grid-area: left;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
  }
  .campaign-header-logo {
    width: 82px;
    flex-shrink: 0;
  }
  .campaign-header-logo img {
    max-height: 42px;
  }
  .campaign-header-back {
    width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
  }
  .campaign-header-back span:last-child {
    display: none;
  }
  .campaign-header-back-icon {
    font-size: .95rem;
  }
  .campaign-header-campaign {
    grid-area: campaign;
    min-width: 0;
    max-width: none;
    margin-left: 0;
    padding: 0 3px;
    overflow: hidden;
  }
  .campaign-header-campaign-kicker {
    display: block;
    margin-bottom: 2px;
    font-size: .43rem;
    letter-spacing: .12em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .campaign-header-campaign-name {
    max-width: 100%;
    font-size: .82rem;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .campaign-header-launch {
    justify-content: flex-start;
    margin-top: 2px;
    font-size: .47rem;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .campaign-header-launch strong {
    font-size: .48rem;
  }
  .campaign-header-launch-icon {
    display: none;
  }
  .campaign-header-turn-content {
    grid-area: turn;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 62px;
    gap: 12px;
    padding-top: 3px;
    border-top: 1px solid rgba(190, 160, 95, .12);
  }
  .campaign-turn-main {
    min-width: 55px;
    flex: 0 0 55px;
  }
  .campaign-turn-main .turn-label {
    margin-bottom: 2px;
    font-size: .43rem;
    letter-spacing: .12em;
  }
  .campaign-turn-main .turn-number {
    font-size: 1.75rem;
  }
  .campaign-turn-main .turn-total {
    font-size: .65rem;
  }
  .campaign-turn-state {
    min-width: 0;
    flex: 1 1 auto;
    padding-left: 10px;
    gap: 6px;
    border-left: 1px solid rgba(184, 156, 99, .22);
  }
  .campaign-turn-phase {
    min-width: 0;
    gap: 7px;
  }
  .campaign-turn-phase-icon {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    border-radius: 6px;
    font-size: .82rem;
  }
  .campaign-turn-phase strong {
    font-size: .55rem;
    letter-spacing: .05em;
    white-space: nowrap;
  }
  .campaign-turn-phase div span {
    margin-top: 2px;
    font-size: .48rem;
    letter-spacing: .04em;
    white-space: nowrap;
  }
  .campaign-turn-active-team {
    display: flex;
    gap: 6px;
  }
  .campaign-turn-active-team img {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
  }
  .campaign-turn-active-team small {
    margin-bottom: 1px;
    font-size: .42rem;
  }
  .campaign-turn-active-team strong {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .58rem;
  }
  .campaign-turn-deadline {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 1px;
    padding-top: 4px;
    border-top: 1px solid rgba(190, 160, 95, .12);
  }
  .campaign-turn-deadline small {
    margin-bottom: 0;
    font-size: .40rem;
    letter-spacing: .08em;
  }
  .campaign-turn-deadline strong {
    font-size: .55rem;
    line-height: 1.15;
    white-space: nowrap;
  }
  .campaign-header-stats {
    display: none;
  }
  .campaign-header-actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    margin-left: 0;
  }
  .campaign-header-rules {
    display: inline-flex;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 6px;
  }
  .campaign-header-rules span:last-child {
    display: none;
  }
  .campaign-header-rules-icon {
    font-size: .78rem;
  }
  .campaign-header-finish {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 6px;
  }
  .campaign-header-finish span:last-child {
    display: none;
  }
  .campaign-header-finish-icon {
    font-size: .78rem;
  }
  .campaign-header-statistics {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 6px;
  }
  .campaign-header-statistics span:last-child {
    display: none;
  }
  .campaign-header-statistics-icon {
    font-size: .78rem;
  }
}
@media (max-width: 380px) {
  .campaign-header {
    padding-left: 7px;
    padding-right: 7px;
    gap: 6px;
  }
  .campaign-header-logo {
    width: 70px;
  }
  .campaign-header-logo img {
    max-height: 36px;
  }
  .campaign-header-back {
    width: 30px;
    height: 30px;
  }
  .campaign-header-campaign-name {
    font-size: .74rem;
  }
  .campaign-header-launch {
    font-size: .42rem;
  }
  .campaign-header-launch strong {
    font-size: .43rem;
  }
  .campaign-turn-main {
    min-width: 48px;
    flex-basis: 48px;
  }
  .campaign-turn-main .turn-number {
    font-size: 1.55rem;
  }
  .campaign-turn-state {
    padding-left: 7px;
  }
  .campaign-turn-phase-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    font-size: .72rem;
  }
  .campaign-turn-phase strong {
    font-size: .48rem;
  }
  .campaign-turn-phase div span {
    font-size: .43rem;
  }
  .campaign-turn-active-team strong {
    max-width: 110px;
    font-size: .52rem;
  }
}
.campaign-nav {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: linear-gradient( 180deg, #29251f 0%, #211e19 100% );
  border-bottom: 1px solid rgba(190, 160, 95, .20);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}
.campaign-nav-inner {
  max-width: 1400px;
  min-height: 68px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.campaign-nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.campaign-nav-logo {
  display: block;
  width: 230px;
  height: auto;
  object-fit: contain;
  transition: opacity .2s ease, transform .2s ease;
}
.campaign-nav-brand:hover .campaign-nav-logo {
  opacity: .92;
  transform: translateY(-1px);
}
.campaign-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1;
}
.campaign-nav-link {
  position: relative;
  padding: 10px 14px;
  color: #aaa196;
  text-decoration: none;
  border-radius: 7px;
  font-family: "Cinzel", serif;
  font-size: .86rem;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.campaign-nav-link:hover {
  color: #eee5d7;
  background: rgba(190, 160, 95, .05);
}
.campaign-nav-link.is-active {
  color: #bea05f;
  background: rgba(190, 160, 95, .07);
}
.campaign-nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: #bea05f;
}
.campaign-nav-account {
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
}
.campaign-nav-profile {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 4px 8px 4px 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #d7cdbc;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.campaign-nav-profile:hover, .campaign-nav-profile[aria-expanded="true"] {
  background: rgba(190, 160, 95, .07);
  border-color: rgba(190, 160, 95, .18);
}
.campaign-nav-avatar {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(190, 160, 95, .38);
  border-radius: 50%;
  background: linear-gradient( 145deg, rgba(190, 160, 95, .16), rgba(190, 160, 95, .04) );
  color: #bea05f;
  font-family: "Cinzel", serif;
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
}
.campaign-nav-profile-name {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #d7cdbc;
  font-family: "Cinzel", serif;
  font-size: .80rem;
  font-weight: 400;
}
.campaign-nav-profile-chevron {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #81796f;
  transition: transform .2s ease, color .2s ease;
}
.campaign-nav-profile-chevron svg {
  width: 15px;
  height: 15px;
}
.campaign-nav-profile[aria-expanded="true"] .campaign-nav-profile-chevron {
  transform: rotate(180deg);
  color: #bea05f;
}
.campaign-nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 270px;
  padding: 8px;
  background: linear-gradient( 180deg, #2a2722 0%, #201d19 100% );
  border: 1px solid rgba(190, 160, 95, .22);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .42), 0 4px 12px rgba(0, 0, 0, .20);
  transform-origin: top right;
  animation: campaign-nav-dropdown-in .16s ease-out;
}
@keyframes campaign-nav-dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-5px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.campaign-nav-dropdown-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 9px 12px;
}
.campaign-nav-dropdown-avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(190, 160, 95, .40);
  border-radius: 50%;
  background: rgba(190, 160, 95, .08);
  color: #bea05f;
  font-family: "Cinzel", serif;
  font-size: .9rem;
  font-weight: 600;
}
.campaign-nav-dropdown-user {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.campaign-nav-dropdown-user strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #e2d9cb;
  font-family: "Cinzel", serif;
  font-size: .82rem;
  font-weight: 500;
}
.campaign-nav-dropdown-user span {
  color: #756e65;
  font-size: .68rem;
  letter-spacing: .04em;
}
.campaign-nav-dropdown-separator {
  height: 1px;
  margin: 3px 4px 6px;
  background: rgba(190, 160, 95, .12);
}
.campaign-nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 9px;
  border-radius: 7px;
  color: #b7aea2;
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}
.campaign-nav-dropdown-item:hover {
  background: rgba(190, 160, 95, .07);
  color: #eee5d7;
}
.campaign-nav-dropdown-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(190, 160, 95, .12);
  border-radius: 6px;
  background: rgba(190, 160, 95, .035);
  color: #9c8a68;
}
.campaign-nav-dropdown-icon svg {
  width: 17px;
  height: 17px;
}
.campaign-nav-dropdown-item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.campaign-nav-dropdown-item-content strong {
  color: inherit;
  font-family: "Cinzel", serif;
  font-size: .74rem;
  font-weight: 400;
}
.campaign-nav-dropdown-item-content small {
  color: #69635b;
  font-size: .62rem;
}
.campaign-nav-dropdown-logout {
  color: #a8736b;
}
.campaign-nav-dropdown-logout .campaign-nav-dropdown-icon {
  color: #a8736b;
  border-color: rgba(170, 90, 80, .14);
}
.campaign-nav-dropdown-logout:hover {
  color: #d49a91;
  background: rgba(170, 90, 80, .08);
}
.campaign-nav-guest {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.campaign-nav-guest-login, .campaign-nav-guest-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 7px;
  font-family: "Cinzel", serif;
  font-size: .74rem;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.campaign-nav-guest-login {
  border: 1px solid rgba(190, 160, 95, .20);
  color: #aaa196;
  background: transparent;
}
.campaign-nav-guest-login:hover {
  color: #eee5d7;
  border-color: rgba(190, 160, 95, .40);
  background: rgba(190, 160, 95, .05);
}
.campaign-nav-guest-register {
  border: 1px solid rgba(190, 160, 95, .55);
  background: rgba(190, 160, 95, .08);
  color: #bea05f;
}
.campaign-nav-guest-register:hover {
  background: #bea05f;
  color: #1b1814;
  transform: translateY(-1px);
}
@media (max-width: 1000px) {
  .campaign-nav-inner {
    gap: 16px;
    padding: 0 18px;
  }
  .campaign-nav-profile-name {
    display: none;
  }
}
@media (max-width: 800px) {
  .campaign-nav-logo {
    width: 180px;
  }
  .campaign-nav-links {
    gap: 2px;
  }
  .campaign-nav-link {
    padding: 8px 9px;
    font-size: .74rem;
  }
}
@media (max-width: 620px) {
  .campaign-nav-inner {
    min-height: 62px;
    padding: 0 12px;
  }
  .campaign-nav-logo {
    width: 145px;
  }
  .campaign-nav-link {
    padding: 7px;
    font-size: .67rem;
  }
  .campaign-nav-link:nth-child(2), .campaign-nav-link:nth-child(3) {
    display: none;
  }
  .campaign-nav-dropdown {
    position: fixed;
    top: 67px;
    right: 10px;
    width: min(270px, calc(100vw - 20px));
  }
}
@media (max-width: 600px) {
  .campaign-nav-guest {
    gap: 6px;
  }
  .campaign-nav-guest-login, .campaign-nav-guest-register {
    min-height: 36px;
    padding: 0 9px;
    font-size: .65rem;
  }
}
.campaign-nav-notifications {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.campaign-nav-notifications-button {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #aaa196;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.campaign-nav-notifications-button:hover, .campaign-nav-notifications-button[aria-expanded="true"] {
  color: #eee5d7;
  background: rgba(190, 160, 95, .07);
  border-color: rgba(190, 160, 95, .18);
}
.campaign-nav-notifications-button svg {
  width: 21px;
  height: 21px;
  display: block;
}
.campaign-nav-notifications-badge {
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #211e19;
  border-radius: 999px;
  background: #bea05f;
  color: #211e19;
  font-family: Inter, sans-serif;
  font-size: .58rem;
  font-weight: 700;
  line-height: 1;
}
.campaign-nav-notifications-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1001;
  width: 360px;
  overflow: hidden;
  background: linear-gradient( 180deg, #2a2722 0%, #201d19 100% );
  border: 1px solid rgba(190, 160, 95, .22);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .42);
}
@media (max-width: 900px) {
  .campaign-nav-notifications-button {
    width: 38px;
    height: 38px;
  }
}
@media (max-width: 620px) {
  .campaign-nav-notifications-dropdown {
    position: fixed;
    top: 67px;
    right: 10px;
    width: min(360px, calc(100vw - 20px));
  }
}
.campaign-nav-notifications {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.campaign-nav-notifications-button {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #aaa196;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.campaign-nav-notifications-button:hover, .campaign-nav-notifications-button[aria-expanded="true"] {
  color: #eee5d7;
  background: rgba(190, 160, 95, .07);
  border-color: rgba(190, 160, 95, .18);
}
.campaign-nav-notifications-button svg {
  width: 21px;
  height: 21px;
  display: block;
}
.campaign-nav-notifications-badge {
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #211e19;
  border-radius: 999px;
  background: #bea05f;
  color: #211e19;
  font-family: Inter, sans-serif;
  font-size: .58rem;
  font-weight: 700;
  line-height: 1;
}
.campaign-nav-notifications-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1001;
  width: 360px;
  max-width: calc(100vw - 30px);
  overflow: hidden;
  background: linear-gradient( 180deg, #2a2722 0%, #201d19 100% );
  border: 1px solid rgba(190, 160, 95, .22);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .42);
}
.campaign-nav-notifications-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 14px 17px;
  border-bottom: 1px solid #39332f;
}
.campaign-nav-notifications-header strong {
  color: #eee8df;
  font-family: "Cinzel", serif;
  font-size: .84rem;
  font-weight: 500;
}
.campaign-nav-notifications-header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.campaign-nav-notifications-header-actions form {
  margin: 0;
}
.campaign-nav-notifications-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border: 1px solid rgba(190, 160, 95, .25);
  border-radius: 999px;
  background: rgba(190, 160, 95, .08);
  color: #bea05f !important;
  font-family: Inter, sans-serif;
  font-size: .62rem !important;
  font-weight: 600;
}
.campaign-nav-notifications-read-all {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #a8957d;
  font-family: "Cinzel", serif;
  font-size: .62rem;
  cursor: pointer;
  transition: color .15s ease;
}
.campaign-nav-notifications-read-all:hover {
  color: #d0ae78;
}
.campaign-nav-notifications-body {
  max-height: 380px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(190, 160, 95, .35) transparent;
}
.campaign-nav-notifications-body::-webkit-scrollbar {
  width: 6px;
}
.campaign-nav-notifications-body::-webkit-scrollbar-track {
  background: transparent;
}
.campaign-nav-notifications-body::-webkit-scrollbar-thumb {
  background: rgba(190, 160, 95, .28);
  border-radius: 999px;
}
.campaign-nav-notifications-body::-webkit-scrollbar-thumb:hover {
  background: rgba(190, 160, 95, .48);
}
.campaign-nav-notification-form {
  margin: 0;
  padding: 0;
  border: 0;
}
.campaign-nav-notification {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px 17px;
  border: 0;
  border-bottom: 1px solid #302b27;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease;
}
.campaign-nav-notification:hover {
  background: #292522;
}
.campaign-nav-notification.is-unread {
  background: rgba(145, 115, 70, .10);
}
.campaign-nav-notification.is-unread:hover {
  background: rgba(145, 115, 70, .16);
}
.campaign-nav-notification-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  background: #2a2521;
  border: 1px solid #453d36;
  border-radius: 50%;
  color: #c1ad88;
  font-size: 15px;
}
.campaign-nav-notification-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-right: 8px;
}
.campaign-nav-notification-content strong {
  display: block;
  margin: 0;
  color: #eee8df;
  font-family: "Cinzel", serif;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.3;
}
.campaign-nav-notification-content span {
  display: block;
  color: #aaa199;
  font-size: .72rem;
  line-height: 1.45;
}
.campaign-nav-notification-content small {
  display: block;
  margin-top: 1px;
  color: #756e68;
  font-size: .60rem;
  line-height: 1.2;
}
.campaign-nav-notification-unread-dot {
  position: absolute;
  top: 18px;
  right: 11px;
  width: 7px;
  height: 7px;
  background: #b89562;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(184, 149, 98, .08);
}
.campaign-nav-notifications-empty {
  padding: 30px 20px;
  text-align: center;
}
.campaign-nav-notifications-empty span {
  display: block;
  margin-bottom: 8px;
  color: #b89562;
  font-size: 24px;
  opacity: .5;
}
.campaign-nav-notifications-empty strong {
  display: block;
  margin-bottom: 5px;
  color: #aaa199;
  font-family: "Cinzel", serif;
  font-size: .72rem;
  font-weight: 400;
}
.campaign-nav-notifications-empty small {
  display: block;
  color: #756e68;
  font-size: .62rem;
}
.campaign-nav-notifications-footer {
  border-top: 1px solid #39332f;
  background: rgba(0, 0, 0, .08);
}
.campaign-nav-notifications-footer a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  color: #b89562;
  font-family: "Cinzel", serif;
  font-size: .64rem;
  text-decoration: none;
  transition: color .15s ease, background .15s ease;
}
.campaign-nav-notifications-footer a:hover {
  background: #292522;
  color: #d0ae78;
}
@media (max-width: 900px) {
  .campaign-nav-notifications-button {
    width: 38px;
    height: 38px;
  }
}
@media (max-width: 620px) {
  .campaign-nav-notifications-dropdown {
    position: fixed;
    top: 67px;
    right: 10px;
    width: min(360px, calc(100vw - 20px));
  }
  .campaign-nav-notifications-body {
    max-height: calc(100vh - 160px);
  }
}
.sidebar-card {
  width: 100%;
  color: var(--campaign-text);
}
.campaign-panel {
  width: 100%;
  margin-bottom: 12px;
  overflow: hidden;
  background: linear-gradient( 180deg, rgba(34, 31, 26, .94), rgba(25, 23, 20, .96) );
  border: 1px solid rgba(190, 160, 95, .18);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  backdrop-filter: blur(3px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.campaign-panel:hover {
  border-color: rgba(190, 160, 95, .28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  box-sizing: border-box;
  border: 0;
  background: linear-gradient( 90deg, rgba(190, 160, 95, .06), rgba(190, 160, 95, .015) );
  color: var(--campaign-text);
  cursor: pointer;
  text-align: left;
  transition: background .2s ease, color .2s ease;
}
.accordion-header:hover {
  background: linear-gradient( 90deg, rgba(190, 160, 95, .12), rgba(190, 160, 95, .025) );
}
.campaign-panel-title {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: #eee6d8;
  font-family: "Cinzel", serif;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.campaign-panel-title::before {
  content: "◈";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #bea05f;
  font-size: .58rem;
}
.accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1px solid rgba(190, 160, 95, .20);
  border-radius: 6px;
  background: rgba(190, 160, 95, .05);
  color: #bea05f;
  font-size: .90rem;
  line-height: 1;
  transition: transform .25s ease, background .2s ease, border-color .2s ease;
}
.accordion-header:hover .accordion-icon {
  background: rgba(190, 160, 95, .12);
  border-color: rgba(190, 160, 95, .40);
}
.accordion-content {
  overflow: hidden;
}
.campaign-panel-body {
  padding: 14px;
  border-top: 1px solid rgba(190, 160, 95, .10);
}
.campaign-panel-body .space-y-4 > * + * {
  margin-top: 11px;
}
.campaign-panel-body .space-y-3 > * + * {
  margin-top: 9px;
}
.campaign-panel-body .flex.items-center.justify-between {
  min-height: 28px;
  padding: 6px 7px;
  border-radius: 6px;
  transition: background .2s ease;
}
.campaign-panel-body .flex.items-center.justify-between:hover {
  background: rgba(190, 160, 95, .045);
}
.campaign-panel-body .text-slate-400 {
  color: #898277 !important;
  font-size: .70rem;
}
.campaign-panel-body .flex.items-center.justify-between > span:last-child {
  color: #ded5c5;
  font-family: "Cinzel", serif;
  font-size: .75rem;
}
.campaign-panel-body .text-2xl {
  color: #d8b36a !important;
  font-family: "Cinzel", serif;
  font-size: 1.35rem;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(190, 160, 95, .18);
}
.team-card {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(184,156,99,.18);
  border-radius: 14px;
  padding: 16px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.team-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--team-color);
  box-shadow: 0 0 8px var(--team-color);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 8px color-mix( in srgb, var(--team-color) 45%, transparent );
  }
}
.team-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 3px;
  right: 0;
  height: 1px;
  background: linear-gradient( 90deg, var(--team-color), transparent );
  @supports (color: color-mix(in lab, red, red)) {
    background: linear-gradient( 90deg, color-mix( in srgb, var(--team-color) 50%, transparent ), transparent );
  }
  opacity: .8;
}
.team-card:hover {
  transform: translateY(-2px);
  background: linear-gradient( 135deg, rgba(190, 160, 95, .07), rgba(255, 255, 255, .015) );
  border-color: var(--team-color);
  @supports (color: color-mix(in lab, red, red)) {
    border-color: color-mix( in srgb, var(--team-color) 55%, rgba(190, 160, 95, .20) );
  }
  box-shadow: 0 8px 18px rgba(0, 0, 0, .28), 0 0 12px var(--team-color);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 8px 18px rgba(0, 0, 0, .28), 0 0 12px color-mix( in srgb, var(--team-color) 15%, transparent );
  }
}
.team-card-header {
  display: flex;
  align-items: center;
  gap: 11px;
}
.team-emblem {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow( 0 2px 5px rgba(0, 0, 0, .45) );
}
.team-card-info {
  flex: 1;
  min-width: 0;
}
.team-card-title {
  overflow: hidden;
  color: #eee6d8;
  font-family: "Cinzel", serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-card-subtitle {
  margin-top: 4px;
  color: #d0ad68;
  font-size: .68rem;
  font-weight: 600;
}
.team-card-divider {
  height: 1px;
  margin: 12px 0;
  background: linear-gradient( 90deg, rgba(190, 160, 95, .20), rgba(190, 160, 95, .04), transparent );
}
.team-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.team-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 5px 8px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, .16);
  border: 1px solid rgba(190, 160, 95, .08);
  border-radius: 6px;
}
.team-stat-icon {
  font-size: .78rem;
  line-height: 1;
}
.team-stat span:last-child {
  color: #d6cdbc;
  font-size: .70rem;
  font-weight: 600;
}
.team-card-subtitle::first-letter {
  color: #e1bd70;
}
.sidebar-card::-webkit-scrollbar {
  width: 5px;
}
.sidebar-card::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, .15);
}
.sidebar-card::-webkit-scrollbar-thumb {
  background: rgba(190, 160, 95, .25);
  border-radius: 999px;
}
.sidebar-card::-webkit-scrollbar-thumb:hover {
  background: rgba(190, 160, 95, .45);
}
@media (max-width: 900px) {
  .campaign-panel-title {
    font-size: .70rem;
  }
  .campaign-panel-body {
    padding: 11px;
  }
  .team-card {
    padding: 12px;
  }
  .team-emblem {
    width: 38px;
    height: 38px;
  }
}
@media (max-width: 600px) {
  .campaign-panel {
    border-radius: 8px;
  }
  .accordion-header {
    min-height: 44px;
    padding: 0 11px;
  }
  .campaign-panel-body {
    padding: 10px;
  }
  .team-card {
    padding: 11px;
  }
}
.teams-panel {
  padding: 0;
}
.teams-panel-heading {
  min-height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(190,160,95,.10);
}
.teams-panel-heading .campaign-panel-title {
  padding-left: 18px;
}
.teams-panel-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(190,160,95,.10);
  border: 1px solid rgba(190,160,95,.18);
  color: #d8b36a;
  font-size: .68rem;
}
.team-accordion {
  position: relative;
  border-bottom: 1px solid rgba(190,160,95,.09);
}
.team-accordion:last-child {
  border-bottom: 0;
}
.team-accordion-summary {
  position: relative;
  min-height: 68px;
  padding: 10px 11px 10px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  list-style: none;
  cursor: pointer;
  background: rgba(255,255,255,.015);
  transition: background .2s ease;
}
.team-accordion-summary::-webkit-details-marker {
  display: none;
}
.team-accordion-summary:hover {
  background: rgba(190,160,95,.055);
}
.team-color-indicator {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--team-color);
  box-shadow: 0 0 8px var(--team-color);
  @supports (color: color-mix(in lab, red, red)) {
    box-shadow: 0 0 8px color-mix( in srgb, var(--team-color) 45%, transparent );
  }
}
.team-accordion-emblem {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.45));
}
.team-accordion-main {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-accordion-title {
  overflow: hidden;
  color: #eee6d8;
  font-family: "Cinzel", serif;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .035em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-accordion-meta {
  color: #9e9587;
  font-size: .65rem;
}
.team-accordion-chevron {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bea05f;
  font-size: .9rem;
  transition: transform .2s ease;
}
.team-accordion[open] .team-accordion-chevron {
  transform: rotate(180deg);
}
.team-accordion-content {
  padding: 0 10px 11px;
  background: rgba(0,0,0,.10);
  border-top: 1px solid rgba(190,160,95,.07);
}
.team-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 9px 0;
}
.team-summary-stat {
  min-width: 0;
  min-height: 43px;
  padding: 5px 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(190,160,95,.08);
  border-radius: 6px;
  background: rgba(0,0,0,.14);
}
.team-summary-icon {
  font-size: .72rem;
}
.team-summary-stat div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.team-summary-stat strong {
  color: #e1bd70;
  font-family: "Cinzel", serif;
  font-size: .72rem;
  line-height: 1;
}
.team-summary-stat span:last-child {
  margin-top: 3px;
  color: #898277;
  font-size: .55rem;
  line-height: 1.1;
}
.team-subaccordion {
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid rgba(190,160,95,.10);
  border-radius: 7px;
  background: rgba(255,255,255,.018);
}
.team-subaccordion summary {
  min-height: 37px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  color: #d8d0c1;
  font-size: .66rem;
  font-weight: 600;
}
.team-subaccordion summary::-webkit-details-marker {
  display: none;
}
.team-subaccordion summary::after {
  content: "⌄";
  margin-left: auto;
  color: #bea05f;
  transition: transform .2s ease;
}
.team-subaccordion[open] summary::after {
  transform: rotate(180deg);
}
.team-subaccordion-count {
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: rgba(190,160,95,.08);
  color: #bea05f;
  font-size: .57rem;
}
.team-subaccordion-content {
  padding: 3px 7px 7px;
  border-top: 1px solid rgba(190,160,95,.07);
}
.team-territory-row {
  width: 100%;
  min-height: 31px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-bottom: 1px solid rgba(190,160,95,.055);
  background: transparent;
  color: #cfc6b6;
  font: inherit;
  font-size: .64rem;
  text-align: left;
  cursor: pointer;
}
.team-territory-row:last-child {
  border-bottom: 0;
}
.team-territory-row:hover {
  color: #ead49c;
  background: rgba(190,160,95,.055);
}
.team-territory-icon {
  color: #bea05f;
  font-size: .45rem;
}
.team-territory-row span:nth-child(2) {
  flex: 1;
}
.team-territory-arrow {
  color: #796f61;
  font-size: .9rem;
}
.team-conflict-row {
  min-height: 43px;
  padding: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  border-bottom: 1px solid rgba(190,160,95,.055);
}
.team-conflict-row:last-child {
  border-bottom: 0;
}
.team-conflict-row:hover {
  background: rgba(190,160,95,.055);
}
.team-conflict-icon {
  color: #c75c52;
  font-size: .72rem;
}
.team-conflict-main {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.team-conflict-main strong {
  overflow: hidden;
  color: #ddd3c2;
  font-size: .62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-conflict-main small {
  overflow: hidden;
  color: #827a6e;
  font-size: .54rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-conflict-score {
  color: #d8b36a;
  font-family: "Cinzel", serif;
  font-size: .62rem;
  white-space: nowrap;
}
.team-stats-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.team-stats-detail > div {
  min-height: 34px;
  padding: 5px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  border-radius: 5px;
  background: rgba(0,0,0,.14);
}
.team-stats-detail > div:last-child {
  grid-column: 1 / -1;
}
.team-stats-detail span {
  color: #898277;
  font-size: .59rem;
}
.team-stats-detail strong {
  color: #d8b36a;
  font-family: "Cinzel", serif;
  font-size: .66rem;
}
.team-empty-state {
  padding: 10px 7px;
  color: #766e63;
  font-size: .61rem;
  text-align: center;
}
.teams-empty {
  padding: 18px 10px;
}
@media (max-width: 600px) {
  .team-accordion-summary {
    min-height: 62px;
    padding: 9px 9px 9px 12px;
  }
  .team-accordion-emblem {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .team-summary-grid {
    gap: 4px;
  }
  .team-summary-stat {
    padding: 5px;
  }
  .team-summary-icon {
    display: none;
  }
  .team-subaccordion summary {
    min-height: 36px;
  }
}
.team-statistics {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.team-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.team-stat-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(216, 180, 106, 0.18);
}
.team-stat-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a9a9a9;
  font-size: 0.78rem;
  line-height: 1.2;
}
.team-stat-value {
  min-width: 28px;
  color: #d8b46a;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: right;
}
@media (max-width: 700px) {
  .team-statistics {
    gap: 5px;
  }
  .team-stat-row {
    min-height: 36px;
    padding: 7px 9px;
  }
  .team-stat-label {
    font-size: 0.76rem;
  }
  .team-stat-value {
    font-size: 0.85rem;
  }
}
.team-statistics details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  box-sizing: border-box;
  list-style: none;
  color: #eee6d8;
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  transition: background .2s ease, color .2s ease;
}
.team-statistics details > summary::-webkit-details-marker {
  display: none;
}
.team-statistics details > summary::marker {
  display: none;
  content: "";
}
.team-statistics details > summary::after {
  content: "⌄";
  color: #bea05f;
  font-size: .85rem;
  transition: transform .2s ease;
}
.team-statistics details[open] > summary {
  background: linear-gradient( 90deg, rgba(190, 160, 95, .10), rgba(190, 160, 95, .025) );
  color: #f2eadb;
}
.team-statistics details[open] > summary::after {
  transform: rotate(180deg);
}
.team-statistics details > div {
  padding: 7px 9px 9px;
  border-top: 1px solid rgba(190, 160, 95, .10);
}
.team-statistics details > summary:hover {
  background: linear-gradient( 90deg, rgba(190, 160, 95, .11), rgba(190, 160, 95, .025) );
}
.campaign-map-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient( rgba(8, 8, 7, .28), rgba(8, 8, 7, .68) ), url("/images/ui/dashboard-background.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.map-container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient( 180deg, rgba(22, 20, 17, .48), rgba(12, 11, 9, .58) );
  border: 1px solid rgba(190, 160, 95, .28);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .42);
  backdrop-filter: blur(2px);
}
.map-content {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: radial-gradient( circle at center, rgba(85, 74, 57, .08), rgba(12, 11, 9, .24) 70% );
}
.map-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}
.map-viewport:active {
  cursor: grabbing;
}
.map-camera {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-camera svg {
  display: block;
  width: auto;
  height: 96%;
  max-width: none;
  max-height: none;
  filter: drop-shadow( 0 10px 18px rgba(0, 0, 0, .40) );
}
.map-camera path {
  cursor: pointer;
  stroke: rgba(218, 175, 77, .75);
  stroke-width: 4;
  stroke-linejoin: round;
  stroke-linecap: round;
  transition: fill .25s ease, fill-opacity .25s ease, stroke .25s ease, stroke-width .25s ease, filter .25s ease, opacity .25s ease;
}
.map-camera path:hover {
  fill-opacity: .46;
  stroke: rgba(239, 207, 130, .95);
  filter: brightness(1.08) drop-shadow( 0 0 7px rgba(255, 230, 170, .45) );
}
.map-camera path.selected {
  stroke: #d9b66b;
  stroke-width: 5px;
  filter: drop-shadow( 0 0 12px rgba(216, 179, 106, .90) ) brightness(1.10);
}
.map-camera path.neighbour {
  stroke: #76bfff;
  stroke-width: 4px;
  filter: drop-shadow( 0 0 5px rgba(118, 191, 255, .30) );
}
.map-camera path.attackable {
  stroke: #d94b4b;
  stroke-width: 4px;
  animation: pulseAttack 1.6s infinite;
}
.map-camera path.ally {
  opacity: 1;
}
.map-camera path.enemy {
  opacity: .48;
}
@keyframes pulseAttack {
  0% {
    filter: drop-shadow( 0 0 4px rgba(217, 75, 75, .60) );
  }
  50% {
    filter: drop-shadow( 0 0 14px rgba(217, 75, 75, .95) );
  }
  100% {
    filter: drop-shadow( 0 0 4px rgba(217, 75, 75, .60) );
  }
}
.territory-map-label {
  font-family: "Cinzel", serif;
  font-weight: 700;
  fill: #f2ede0;
  pointer-events: none;
  user-select: none;
  paint-order: stroke;
  stroke: rgba(20, 17, 13, .90);
  stroke-width: 3px;
}
.map-content::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, .42);
}
@media (max-width: 900px) {
  .map-container {
    border-radius: 10px;
  }
  .map-camera svg {
    height: 94%;
  }
}
@media (max-width: 600px) {
  .map-container {
    border-radius: 8px;
  }
  .map-camera svg {
    height: 88%;
  }
}
.campaign-is-finished .campaign-map-layout button:not(.map-control-button) {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}
.campaign-is-finished .territory-actions {
  opacity: .45;
}
.campaign-is-finished .map-controls button {
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
}
.campaign-finished-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  box-sizing: border-box;
  padding: 10px 24px;
  margin: 0;
  background: linear-gradient( 180deg, #352042 0%, #281831 100% );
  border-top: 1px solid #8d5ca8;
  border-bottom: 1px solid #71458a;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .04);
  text-align: center;
}
.campaign-finished-banner-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(132, 190, 143, .45);
  border-radius: 50%;
  background: #262d27;
  color: #9bd0a5;
  font-size: .85rem;
}
.campaign-finished-banner > div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}
.campaign-finished-banner strong {
  color: #f1d8ff;
  font-family: "Cinzel", serif;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.campaign-finished-banner span:not(.campaign-finished-banner-icon) {
  color: #d0b9da;
  font-size: .64rem;
  line-height: 1.4;
}
@media (max-width: 700px) {
  .campaign-finished-banner {
    gap: 10px;
    min-height: 62px;
    padding: 8px 14px;
  }
  .campaign-finished-banner-icon {
    width: 27px;
    height: 27px;
  }
  .campaign-finished-banner strong {
    font-size: .65rem;
  }
  .campaign-finished-banner span:not(.campaign-finished-banner-icon) {
    font-size: .58rem;
  }
}
.campaign-mercenary-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 12px 12px;
  padding: 14px 20px;
  border: 1px solid rgba(150, 35, 35, .75);
  border-radius: 8px;
  background: linear-gradient( 90deg, rgba(110, 20, 20, .88), rgba(145, 30, 30, .72), rgba(110, 20, 20, .88) );
  box-shadow: 0 4px 18px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255,255,255,.05);
  color: inherit;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.campaign-mercenary-banner:hover {
  border-color: rgba(210, 70, 70, .95);
  background: linear-gradient( 90deg, rgba(125, 22, 22, .94), rgba(165, 35, 35, .80), rgba(125, 22, 22, .94) );
  transform: translateY(-1px);
}
.campaign-mercenary-banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid rgba(255, 220, 190, .30);
  border-radius: 7px;
  background: rgba(0,0,0,.15);
  color: #f0c7b2;
  font-size: 1.15rem;
}
.campaign-mercenary-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.campaign-mercenary-banner-content strong {
  color: #fff1e8;
  font-family: "Cinzel", serif;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.campaign-mercenary-banner-content span {
  color: #f1d8cc;
  font-size: .68rem;
  line-height: 1.45;
}
@media (max-width: 700px) {
  .campaign-mercenary-banner {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }
  .campaign-mercenary-banner-content {
    width: 100%;
  }
  .map-container {
    width: 100%;
    height: 100%;
    border-radius: 8px;
  }
  .map-camera svg {
    height: 94%;
  }
}
.map-viewport {
  touch-action: none;
  overscroll-behavior: contain;
  user-select: none;
  -webkit-user-select: none;
}
.conflict-boundary {
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
  pointer-events: none;
}
.conflict-boundary-attacker, .conflict-boundary-defender {
  stroke: rgba(255, 82, 58, .55);
  stroke-width: 12;
  filter: drop-shadow( 0 0 8px rgba(255, 70, 45, .95) );
  animation: conflictBoundaryPulse 1.8s ease-in-out infinite;
}
.conflict-boundary-defender {
  stroke: rgba(239, 190, 92, .95);
  stroke-width: 5;
  filter: drop-shadow( 0 0 5px rgba(239, 190, 92, .90) );
}
.conflict-marker-group {
  pointer-events: auto;
  cursor: pointer;
  transition: filter .18s ease;
}
.conflict-marker-group .conflict-marker-emblem, .conflict-marker-group .conflict-marker-halo {
  transition: transform .18s ease;
  transform-box: fill-box;
  transform-origin: center;
}
.conflict-marker-group:hover {
  filter: drop-shadow( 0 0 10px rgba(239, 190, 92, .85) );
}
.conflict-marker-group:hover .conflict-marker-emblem {
  transform: scale(1.18);
}
.conflict-marker-group:hover .conflict-marker-halo {
  transform: scale(1.22);
}
.conflict-marker-group.is-selected {
  filter: drop-shadow( 0 0 10px rgba(239, 190, 92, .85) );
}
.conflict-marker-group.is-selected .conflict-marker-emblem {
  transform: scale(1.18);
}
.conflict-marker-group.is-selected .conflict-marker-halo {
  transform: scale(1.22);
}
.conflict-marker-halo {
  fill: rgba(190, 42, 32, .16);
  stroke: rgba(239, 190, 92, .32);
  stroke-width: 2;
  filter: drop-shadow( 0 0 9px rgba(255, 70, 45, .65) );
}
.conflict-marker-group:hover .conflict-marker-halo, .conflict-marker-group.is-selected .conflict-marker-halo {
  fill: rgba(190, 42, 32, .28);
  stroke: rgba(239, 190, 92, .65);
  filter: drop-shadow( 0 0 13px rgba(255, 70, 45, .85) );
}
.conflict-marker-emblem {
  fill: rgba(12, 10, 8, .92);
  stroke-width: 2;
}
.conflict-marker-attacker {
  stroke: #d94b3f;
  filter: drop-shadow( 0 0 6px rgba(217, 75, 63, .85) );
}
.conflict-marker-defender {
  stroke: #d8b46a;
  filter: drop-shadow( 0 0 6px rgba(216, 180, 106, .75) );
}
.conflict-marker-swords {
  fill: #f2ede0;
  font-family: "Segoe UI Symbol", "Noto Sans Symbols", sans-serif;
  font-weight: 700;
  paint-order: stroke;
  stroke: rgba(20, 16, 12, .95);
  stroke-width: 2;
}
.conflict-marker-badge {
  fill: rgba(28, 23, 17, .96);
  stroke: rgba(216, 180, 106, .85);
  stroke-width: 1.5;
}
.conflict-marker-number {
  fill: #e8d5a7;
  font-family: "Cinzel", serif;
  font-size: 0.9em;
  font-weight: 700;
  pointer-events: none;
  paint-order: stroke;
  stroke: rgba(20, 16, 12, .95);
  stroke-width: 1.5;
}
.conflict-marker-emblem {
  fill: rgba(12, 10, 8, .92);
  stroke-width: 2;
}
.conflict-marker-attacker {
  stroke: #d94b3f;
  filter: drop-shadow( 0 0 6px rgba(217, 75, 63, .85) );
}
.conflict-marker-defender {
  stroke: #d8b46a;
  filter: drop-shadow( 0 0 6px rgba(216, 180, 106, .75) );
}
.conflict-marker-swords {
  fill: #f2ede0;
  font-family: "Segoe UI Symbol", "Noto Sans Symbols", sans-serif;
  font-weight: 700;
  paint-order: stroke;
  stroke: rgba(20, 16, 12, .95);
  stroke-width: 2;
}
.conflict-marker-badge {
  fill: rgba(28, 23, 17, .96);
  stroke: rgba(216, 180, 106, .85);
  stroke-width: 1.5;
}
.conflict-marker-number {
  fill: #e8d5a7;
  font-family: "Cinzel", serif;
  font-size: 0.9em;
  font-weight: 700;
  pointer-events: none;
  paint-order: stroke;
  stroke: rgba(20, 16, 12, .95);
  stroke-width: 1.5;
}
@keyframes conflictBoundaryPulse {
  0% {
    opacity: .65;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: .65;
  }
}
.territory-panel {
  opacity: 0;
  transform: translateX(18px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.territory-panel.is-visible {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}
.campaign-map-layout {
  grid-template-columns: 220px minmax(0, 1fr) 0;
  min-height: 0;
  height: 100%;
}
.campaign-map-layout > section {
  min-width: 0;
  min-height: 0;
  height: 100%;
}
.campaign-map-layout > aside:last-child {
  width: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.campaign-map-layout:has(.territory-panel.is-visible) {
  grid-template-columns: 220px minmax(0, 1fr) 280px;
}
.campaign-map-layout:has(.territory-panel.is-visible) > aside:last-child {
  width: auto;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
}
.map-container {
  height: 100%;
  min-height: 0;
}
.map-content {
  height: 100%;
  min-height: 0;
}
.map-viewport {
  height: 100%;
  min-height: 0;
}
.territory-panel {
  opacity: 0;
  transform: translateX(20px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.territory-panel.is-visible {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: opacity .25s ease, transform .25s ease, visibility 0s;
}
.territory-header {
  position: relative;
}
.territory-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(216, 180, 106, 0.06);
  border: 1px solid rgba(216, 180, 106, 0.25);
  border-radius: 6px;
  color: #d8b46a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.territory-close:hover {
  background: rgba(216, 180, 106, 0.15);
  border-color: rgba(216, 180, 106, 0.5);
  color: #f0d99b;
  transform: scale(1.05);
}
@media (max-width: 700px) {
  .campaign-map-layout > aside:last-child {
    display: none !important;
    width: 100%;
    height: 0;
    min-height: 0;
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  .campaign-map-layout:has( > aside:last-child .territory-panel.is-visible ) > aside:last-child {
    display: block !important;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
}
.campaign-timeline {
  background: #23262f;
  color: white;
  padding: 20px;
}
.campaign-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient( 180deg, rgba(34, 31, 26, .94), rgba(23, 21, 18, .97) );
  border: 1px solid rgba(190, 160, 95, .20);
  border-radius: 11px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .30);
  backdrop-filter: blur(3px);
}
.campaign-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  min-height: 43px;
  padding: 0 14px;
  background: linear-gradient( 90deg, rgba(190, 160, 95, .07), rgba(190, 160, 95, .015) );
  border-bottom: 1px solid rgba(190, 160, 95, .14);
}
.campaign-panel-title {
  margin: 0;
  color: #d9b66b;
  font-family: "Cinzel", serif;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.campaign-panel-body {
  flex: 1;
  min-height: 0;
  padding: 10px;
  overflow: hidden;
  color: var(--campaign-text);
}
.conflict-list {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding-right: 4px;
  padding-bottom: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(190, 160, 95, .25) transparent;
}
.conflict-list::-webkit-scrollbar {
  width: 4px;
}
.conflict-list::-webkit-scrollbar-track {
  background: transparent;
}
.conflict-list::-webkit-scrollbar-thumb {
  background: rgba(190, 160, 95, .25);
  border-radius: 999px;
}
.conflict-list > .space-y-3 > * + * {
  margin-top: 7px;
}
.conflict-card {
  position: relative;
  padding: 11px 13px;
  background: linear-gradient( 135deg, rgba(43, 39, 32, .92), rgba(29, 26, 22, .96) );
  border: 1px solid rgba(190, 160, 95, .14);
  border-radius: 8px;
  transition: border-color .20s ease, background .20s ease, transform .15s ease, box-shadow .20s ease;
}
.conflict-card::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 2px;
  background: rgba(190, 160, 95, .42);
  border-radius: 999px;
}
.conflict-card .flex.items-center.justify-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.conflict-card .font-semibold {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #e8dfd0;
  font-family: "Cinzel", serif;
  font-size: .73rem;
  line-height: 1.25;
}
.team-dot {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 0 7px currentColor;
}
.conflict-text {
  color: #777066;
  font-family: inherit;
  font-size: .62rem;
  font-style: italic;
}
.conflict-territory {
  margin-top: 5px;
  padding-left: 15px;
  color: #8c857a;
  font-size: .65rem;
  line-height: 1.3;
}
.conflict-card .items-end {
  flex-shrink: 0;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 23px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: .57rem;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
}
.status-success {
  background: rgba(73, 128, 81, .12);
  border: 1px solid rgba(100, 155, 105, .22);
  color: #9fbd9f;
}
.status-warning {
  background: rgba(190, 160, 95, .10);
  border: 1px solid rgba(190, 160, 95, .22);
  color: #c9aa6c;
}
.campaign-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid rgba(190, 160, 95, .26);
  border-radius: 6px;
  background: rgba(190, 160, 95, .04);
  color: #bea05f;
  font-family: "Cinzel", serif;
  font-size: .58rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.campaign-button:hover {
  background: rgba(190, 160, 95, .13);
  border-color: rgba(190, 160, 95, .48);
  color: #ead08c;
}
.campaign-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 10px;
  color: #81796e;
  font-size: .72rem;
  text-align: center;
}
@media (max-width: 900px) {
  .campaign-panel-header {
    min-height: 40px;
    padding: 0 11px;
  }
  .campaign-panel-title {
    font-size: .62rem;
  }
  .campaign-panel-body {
    padding: 8px;
  }
  .conflict-card {
    padding: 9px 10px;
  }
}
@media (max-width: 600px) {
  .campaign-panel {
    border-radius: 8px;
  }
  .conflict-card .flex.items-center.justify-between {
    align-items: flex-start;
  }
  .conflict-card .font-semibold {
    font-size: .66rem;
  }
  .conflict-territory {
    font-size: .60rem;
  }
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.4rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all .25s ease;
}
.btn-primary {
  background: var(--gold);
  border-color: var(--campaign-border-light);
  color: #1f1b16;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(216,179,106,.25);
}
.btn-secondary {
  background: transparent;
  border-color: var(--campaign-border);
  color: var(--gold);
}
.btn-secondary:hover {
  background: rgba(216,179,106,.12);
  border-color: var(--campaign-border-light);
}
.btn-success {
  background: #1d5b37;
  border-color: #2ecc71;
  color: white;
}
.btn-success:hover {
  background: #2a7748;
}
.btn-danger {
  background: #7d2d2d;
  border-color: #b24545;
  color: white;
}
.btn-danger:hover {
  background: #963838;
}
.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
}
.btn-block {
  width: 100%;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: .35rem .7rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
}
.badge-success {
  background: #14532d;
  color: #bbf7d0;
}
.badge-warning {
  background: #78350f;
  color: #fde68a;
}
.badge-danger {
  background: #7f1d1d;
  color: #fecaca;
}
.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 18px;
  border-radius: 10px;
  background: linear-gradient( 180deg, rgba(255,255,255,.03), rgba(0,0,0,.15) );
  border: 1px solid rgba(255,255,255,.05);
  transition: .2s;
  min-height: 120px;
}
.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}
.stat-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}
.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-label {
  margin-top: 6px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .72rem;
}
.territory-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  color: var(--campaign-text);
  scrollbar-width: thin;
  scrollbar-color: rgba(190,160,95,.35) transparent;
}
.territory-panel::-webkit-scrollbar {
  width: 5px;
}
.territory-panel::-webkit-scrollbar-track {
  background: transparent;
}
.territory-panel::-webkit-scrollbar-thumb {
  background: rgba(190,160,95,.30);
  border-radius: 999px;
}
.territory-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(190,160,95,.50);
}
.territory-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(190,160,95,.20);
}
.territory-name {
  position: relative;
  margin: 0;
  padding-left: 16px;
  overflow: hidden;
  color: #eee6d8;
  font-family: "Cinzel", serif;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.territory-name::before {
  content: "◈";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #bea05f;
  font-size: .55rem;
}
.territory-favorite {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid rgba(190,160,95,.20);
  border-radius: 6px;
  background: rgba(190,160,95,.04);
  color: #bea05f;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.territory-favorite:hover {
  background: rgba(190,160,95,.12);
  border-color: rgba(190,160,95,.45);
  color: #e1c47d;
  transform: scale(1.04);
}
.territory-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 260px;
  padding: 30px 20px;
  box-sizing: border-box;
  text-align: center;
  background: linear-gradient( 145deg, rgba(190,160,95,.035), rgba(0,0,0,.12) );
  border: 1px solid rgba(190,160,95,.10);
  border-radius: 9px;
}
.territory-placeholder::before {
  content: "🗺";
  position: absolute;
  opacity: .15;
  font-size: 3rem;
}
.territory-placeholder p {
  position: relative;
  max-width: 190px;
  margin: 0;
  color: #80796e;
  font-size: .75rem;
  line-height: 1.6;
}
.territory-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.territory-image {
  position: relative;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(190,160,95,.25);
  border-radius: 8px;
  background: #171512;
  box-shadow: 0 8px 20px rgba(0,0,0,.30);
}
.territory-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient( 180deg, transparent 55%, rgba(0,0,0,.38) );
}
.territory-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  transition: transform .35s ease;
}
.territory-image:hover img {
  transform: scale(1.025);
}
.territory-info {
  display: flex;
  flex-direction: column;
  margin-bottom: 5px;
  border: 1px solid rgba(190,160,95,.10);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0,0,0,.12);
}
.territory-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(190,160,95,.08);
}
.territory-row:last-child {
  border-bottom: 0;
}
.territory-row-label {
  color: #827b70;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.territory-row-value {
  justify-self: end;
  color: #e4dccd;
  font-size: .72rem;
  font-weight: 600;
}
.territory-owner {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 7px;
  max-width: 150px;
}
.territory-owner .team-emblem {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  object-fit: contain;
}
.territory-owner .team-name {
  overflow: hidden;
  color: #eee6d8;
  font-size: .70rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.territory-neighbour-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 9px;
}
.territory-neighbour-title span {
  flex-shrink: 0;
  color: #bea05f;
  font-family: "Cinzel", serif;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .16em;
}
.territory-line {
  flex: 1;
  height: 1px;
  background: linear-gradient( 90deg, rgba(190,160,95,.25), transparent );
}
.territory-neighbours {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.territory-neighbour {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 31px;
  padding: 3px 7px;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: background .2s ease, border-color .2s ease;
}
.territory-neighbour:hover {
  background: rgba(190,160,95,.05);
  border-color: rgba(190,160,95,.10);
}
.territory-neighbour img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
}
.territory-neighbour span {
  overflow: hidden;
  color: #cfc7b8;
  font-size: .70rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.territory-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(190,160,95,.12);
}
.territory-actions .btn {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  box-sizing: border-box;
  border-radius: 7px;
  font-family: "Cinzel", serif;
  font-size: .65rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.territory-attack {
  border: 1px solid rgba(172,76,65,.55);
  background: linear-gradient( 180deg, rgba(145,55,47,.25), rgba(95,38,33,.22) );
  color: #d99187;
}
.territory-attack:hover {
  border-color: rgba(205,100,88,.75);
  background: linear-gradient( 180deg, rgba(155,62,52,.42), rgba(105,40,34,.32) );
  color: #f0aaa0;
  box-shadow: 0 5px 15px rgba(110,35,30,.25);
  transform: translateY(-1px);
}
.territory-claim {
  border: 1px solid rgba(190,160,95,.50);
  background: linear-gradient( 180deg, rgba(190,160,95,.15), rgba(150,115,55,.10) );
  color: #d8bd82;
}
.territory-claim:hover {
  border-color: rgba(220,185,105,.75);
  background: linear-gradient( 180deg, rgba(190,160,95,.25), rgba(150,115,55,.16) );
  color: #f0d59b;
  box-shadow: 0 5px 15px rgba(120,90,35,.20);
  transform: translateY(-1px);
}
.conflict-marker {
  font-size: 42px;
  fill: #e7c96f;
  stroke: #1a1510;
  stroke-width: 3px;
  paint-order: stroke;
  filter: drop-shadow( 0 2px 5px rgba(0,0,0,.8) );
  pointer-events: none;
}
.territory-content.hidden, .territory-attack.hidden, .territory-claim.hidden {
  display: none;
}
@media (max-width: 1000px) {
  .territory-name {
    font-size: 1rem;
  }
  .territory-row {
    min-height: 38px;
  }
}
@media (max-width: 700px) {
  .territory-panel {
    padding-bottom: 10px;
  }
  .territory-header {
    margin-bottom: 10px;
  }
  .territory-image {
    margin-bottom: 12px;
  }
  .territory-neighbour-title {
    margin-top: 14px;
  }
}
.conflict-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: conflictPanelAppear 0.25s ease-out;
}
@keyframes conflictPanelAppear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.conflict-panel-header {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(216, 180, 106, 0.18);
}
.conflict-panel-kicker {
  margin-bottom: 5px;
  color: #d8b46a;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.conflict-panel-territory {
  margin: 0;
  color: #f0eadc;
  font-family: "Cinzel", serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}
.conflict-panel-versus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  background: linear-gradient( 135deg, rgba(255,255,255,0.025), rgba(216,180,106,0.035) );
  border: 1px solid rgba(216, 180, 106, 0.14);
  border-radius: 10px;
}
.conflict-panel-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
}
.conflict-panel-team img {
  width: 58px;
  height: 58px;
  margin-bottom: 9px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(216, 180, 106, 0.35);
  background: radial-gradient( circle, rgba(216, 180, 106, 0.08), rgba(10, 8, 6, 0.7) );
  padding: 5px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
}
.conflict-panel-team span {
  width: 100%;
  overflow: hidden;
  color: #eee7d8;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.conflict-panel-team small {
  margin-top: 5px;
  color: #a99f8b;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.conflict-panel-swords {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #d8b46a;
  font-family: "Segoe UI Symbol", "Noto Sans Symbols", sans-serif;
  font-size: 1.25rem;
  border-radius: 50%;
  background: rgba(216, 180, 106, 0.07);
  border: 1px solid rgba(216, 180, 106, 0.2);
  box-shadow: 0 0 12px rgba(216, 180, 106, 0.08);
}
.conflict-panel-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(216, 180, 106, 0.12);
  border-radius: 8px;
}
.conflict-panel-status span {
  color: #918878;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.conflict-panel-status strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d8b46a;
  font-size: 0.75rem;
  font-weight: 700;
}
.conflict-panel-status strong::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8b46a;
  box-shadow: 0 0 8px rgba(216, 180, 106, 0.7);
}
.conflict-panel-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  color: #17130e;
  background: linear-gradient( 135deg, #d8b46a, #b99552 );
  border: 1px solid rgba(240, 217, 155, 0.45);
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.conflict-panel-button:hover {
  color: #17130e;
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 5px 18px rgba(216, 180, 106, 0.18);
}
.conflict-content::before {
  position: absolute;
  top: 62px;
  right: 18px;
  color: rgba(216, 180, 106, 0.08);
  font-family: "Segoe UI Symbol", "Noto Sans Symbols", sans-serif;
  font-size: 3rem;
  pointer-events: none;
}
@media (max-width: 700px) {
  .conflict-panel-versus {
    padding: 14px 6px;
    gap: 4px;
  }
  .conflict-panel-team img {
    width: 48px;
    height: 48px;
  }
  .conflict-panel-team span {
    font-size: 0.74rem;
  }
  .conflict-panel-team small {
    font-size: 0.52rem;
  }
  .conflict-panel-swords {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  .conflict-panel-territory {
    font-size: 1.15rem;
  }
  .conflict-panel-status {
    padding: 10px 12px;
  }
}
.conflict-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 4px;
  animation: conflictPanelAppear 0.25s ease-out;
}
@keyframes conflictPanelAppear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.conflict-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(216, 180, 106, 0.18);
}
.conflict-panel-top > div {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.conflict-panel-kicker {
  color: #d8b46a;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.conflict-panel-number {
  color: #817767;
  font-size: 0.68rem;
  font-weight: 600;
}
.conflict-panel-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  color: #d8b46a;
  background: rgba(216, 180, 106, 0.08);
  border: 1px solid rgba(216, 180, 106, 0.22);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.conflict-panel-status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d8b46a;
  box-shadow: 0 0 7px rgba(216, 180, 106, 0.7);
}
.conflict-panel-status-badge.is-pending {
  color: #aaa091;
  border-color: rgba(170, 160, 145, 0.25);
  background: rgba(170, 160, 145, 0.06);
}
.conflict-panel-status-badge.is-pending::before {
  background: #aaa091;
  box-shadow: none;
}
.conflict-panel-location {
  text-align: center;
  padding: 2px 0 4px;
}
.conflict-panel-territory {
  margin: 0;
  color: #f0eadc;
  font-family: "Cinzel", serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}
.conflict-panel-location > span {
  display: block;
  margin-top: 5px;
  color: #82796b;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.conflict-panel-versus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 15px 8px;
  background: linear-gradient( 135deg, rgba(255, 255, 255, 0.025), rgba(216, 180, 106, 0.035) );
  border: 1px solid rgba(216, 180, 106, 0.14);
  border-radius: 10px;
}
.conflict-panel-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
}
.conflict-panel-team img {
  width: 58px;
  height: 58px;
  margin-bottom: 8px;
  padding: 5px;
  object-fit: contain;
  background: radial-gradient( circle, rgba(216, 180, 106, 0.08), rgba(10, 8, 6, 0.75) );
  border: 1px solid rgba(216, 180, 106, 0.32);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.35);
}
.conflict-panel-team span {
  display: block;
  width: 100%;
  overflow: hidden;
  color: #eee7d8;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.conflict-panel-team small {
  margin-top: 5px;
  color: #8e8577;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.conflict-panel-swords {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #d8b46a;
  background: rgba(216, 180, 106, 0.07);
  border: 1px solid rgba(216, 180, 106, 0.2);
  border-radius: 50%;
  font-family: "Segoe UI Symbol", "Noto Sans Symbols", sans-serif;
  font-size: 1.15rem;
  box-shadow: 0 0 12px rgba(216, 180, 106, 0.08);
}
.conflict-panel-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 12px;
}
.conflict-panel-score-value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.conflict-panel-score-value span {
  min-width: 32px;
  color: #f0eadc;
  font-family: "Cinzel", serif;
  font-size: 1.55rem;
  font-weight: 700;
  text-align: center;
}
.conflict-panel-score-value small {
  color: #71695d;
  font-size: 0.85rem;
}
.conflict-panel-score-label {
  margin-top: 3px;
  color: #777064;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.conflict-panel-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.conflict-panel-stat {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(216, 180, 106, 0.1);
  border-radius: 8px;
}
.conflict-panel-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  color: #d8b46a;
  background: rgba(216, 180, 106, 0.07);
  border: 1px solid rgba(216, 180, 106, 0.15);
  border-radius: 6px;
  font-size: 0.78rem;
}
.conflict-panel-stat div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.conflict-panel-stat strong {
  color: #e8e0d0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.1;
}
.conflict-panel-stat div span {
  margin-top: 2px;
  color: #777064;
  font-size: 0.6rem;
}
.conflict-panel-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 10px 13px;
  color: #17130e;
  background: linear-gradient( 135deg, #d8b46a, #b99552 );
  border: 1px solid rgba(240, 217, 155, 0.45);
  border-radius: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.conflict-panel-button span {
  font-size: 1rem;
  transition: transform 0.2s ease;
}
.conflict-panel-button:hover {
  color: #17130e;
  transform: translateY(-1px);
  filter: brightness(1.07);
  box-shadow: 0 5px 18px rgba(216, 180, 106, 0.18);
}
.conflict-panel-button:hover span {
  transform: translateX(3px);
}
.conflict-content::after {
  position: absolute;
  top: 52px;
  right: 4px;
  color: rgba(216, 180, 106, 0.055);
  font-family: "Segoe UI Symbol", "Noto Sans Symbols", sans-serif;
  font-size: 3.8rem;
  pointer-events: none;
}
@media (max-width: 700px) {
  .conflict-panel-territory {
    font-size: 1.15rem;
  }
  .conflict-panel-versus {
    padding: 13px 5px;
  }
  .conflict-panel-team img {
    width: 48px;
    height: 48px;
  }
  .conflict-panel-team span {
    font-size: 0.72rem;
  }
  .conflict-panel-team small {
    font-size: 0.5rem;
  }
  .conflict-panel-swords {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  .conflict-panel-score-value span {
    font-size: 1.35rem;
  }
  .conflict-panel-stats {
    gap: 6px;
  }
  .conflict-panel-stat {
    padding: 8px;
  }
}
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 22px;
  cursor: pointer;
  background: none;
  border: none;
}
.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height .25s ease;
}
.accordion-icon {
  font-size: 1.5rem;
  color: var(--gold);
}
.accordion-header:hover {
  background: rgba(216,179,106,.08);
}
.conflict-show-page {
  width: 100%;
  min-height: 100vh;
  padding: 34px 0 50px;
  box-sizing: border-box;
  background: linear-gradient( rgba(8, 7, 6, .62), rgba(8, 7, 6, .75) ), url("/images/ui/conflicts-background.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--campaign-text);
}
.conflict-show-page > * {
  width: min( 1200px, calc(100% - 68px) );
  margin-left: auto;
  margin-right: auto;
}
.conflict-show-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}
.conflict-show-kicker, .conflict-section-kicker {
  color: #d8b36a;
  font-size: .65rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.conflict-show-title {
  margin: 5px 0 0;
  font-family: "Cinzel",serif;
  font-size: 2rem;
  color: #f2ede0;
}
.conflict-show-subtitle {
  margin-top: 6px;
  color: var(--campaign-muted);
}
.conflict-show-battle {
  display: grid;
  grid-template-columns: 1fr 260px 1fr;
  align-items: center;
  gap: 20px;
  padding: 30px;
  border: 1px solid rgba(190, 160, 95, .28);
  border-radius: 14px;
  background: linear-gradient( 145deg, rgba(18, 16, 13, .82), rgba(28, 24, 19, .72) );
  box-shadow: 0 18px 45px rgba(0, 0, 0, .30);
  backdrop-filter: blur(5px);
}
.conflict-show-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.conflict-show-team-role {
  margin-bottom: 10px;
  color: var(--campaign-muted);
  font-size: .6rem;
  letter-spacing: .18em;
}
.conflict-show-team-emblem {
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(184,156,99,.22);
  border-radius: 14px;
  background: rgba(0,0,0,.18);
}
.conflict-show-team-emblem img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}
.conflict-show-team-emblem span {
  color: #d8b36a;
  font-size: 2rem;
}
.conflict-show-team h2 {
  margin: 12px 0 0;
  font-family: "Cinzel",serif;
  font-size: 1.25rem;
  color: #f2ede0;
}
.conflict-show-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.show-status {
  padding: 6px 10px;
  border: 1px solid;
  border-radius: 999px;
  font-size: .62rem;
  letter-spacing: .07em;
}
.show-status-pending {
  color: #dfbf77;
  border-color: rgba(216,179,106,.28);
  background: rgba(216,179,106,.06);
}
.show-status-active {
  color: #e6a26e;
  border-color: rgba(220,140,70,.28);
  background: rgba(220,140,70,.06);
}
.show-status-resolved {
  color: #83cf9d;
  border-color: rgba(85,170,105,.28);
  background: rgba(85,170,105,.06);
}
.conflict-show-score {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  font-family: "Cinzel",serif;
  font-size: 4rem;
  line-height: 1;
  color: #f2ede0;
}
.conflict-show-score small {
  font-size: 2rem;
  color: var(--campaign-muted);
}
.conflict-show-score-label {
  margin-top: 8px;
  color: var(--campaign-muted);
  font-size: .58rem;
  letter-spacing: .18em;
}
.conflict-show-territory {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid rgba(190, 160, 95, .22);
  border-radius: 12px;
  text-align: center;
  background: linear-gradient( 145deg, rgba(18, 16, 13, .76), rgba(28, 24, 19, .68) );
  box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
  backdrop-filter: blur(4px);
}
.conflict-show-territory-kicker {
  color: var(--campaign-muted);
  font-size: .6rem;
  letter-spacing: .2em;
}
.conflict-show-territory-name {
  margin-top: 5px;
  font-family: "Cinzel",serif;
  font-size: 1.45rem;
  color: #f2ede0;
}
.conflict-show-territory-meta {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 9px;
  color: var(--campaign-muted);
  font-size: .72rem;
}
.conflict-games-section {
  margin-top: 26px;
}
.conflict-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.conflict-section-title {
  margin: 4px 0 0;
  font-family: "Cinzel",serif;
  font-size: 1.35rem;
  color: #f2ede0;
}
.conflict-games-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.conflict-game-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(190, 160, 95, .18);
  border-radius: 10px;
  background: linear-gradient( 145deg, rgba(20, 18, 15, .72), rgba(29, 25, 21, .66) );
  box-shadow: 0 8px 24px rgba(0, 0, 0, .20);
  backdrop-filter: blur(4px);
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.conflict-game-card:hover {
  border-color: rgba(190, 160, 95, .40);
  background: linear-gradient( 145deg, rgba(35, 30, 24, .82), rgba(42, 36, 28, .76) );
  transform: translateY(-1px);
}
.conflict-game-number {
  flex-shrink: 0;
  min-width: 62px;
  color: var(--campaign-muted);
  font-size: .58rem;
  letter-spacing: .15em;
  white-space: nowrap;
}
.conflict-game-players {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-top: 0;
  font-family: "Cinzel", serif;
  color: #f2ede0;
}
.conflict-game-player {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.conflict-game-player-emblem {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow( 0 2px 4px rgba(0,0,0,.65) );
}
.conflict-game-vs {
  color: #d8b36a;
  font-size: .65rem;
  letter-spacing: .08em;
}
.conflict-game-details {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex-shrink: 0;
}
.conflict-game-details-points {
  padding: 5px 9px;
  border: 1px solid rgba(216, 179, 106, .22);
  border-radius: 999px;
  background: rgba(190, 160, 95, .07);
  color: #ddc17f;
  font-size: .65rem;
  font-weight: 600;
  white-space: nowrap;
}
.conflict-game-details-armies {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f1dfb5;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
}
.conflict-game-details-armies-vs {
  color: #8f887c;
  font-size: .65rem;
}
.conflict-game-details-mode {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(190, 160, 95, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: #aaa295;
  font-size: .63rem;
  font-weight: 600;
  white-space: nowrap;
}
.conflict-game-result {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.conflict-game-result-badge, .conflict-game-action-badge, .conflict-game-pending {
  white-space: nowrap;
}
.conflict-resolution {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(190, 160, 95, .20);
  border-radius: 12px;
  background: linear-gradient( 145deg, rgba(24, 21, 17, .78), rgba(32, 27, 21, .68) );
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
  backdrop-filter: blur(4px);
}
.conflict-resolution-title {
  margin: 4px 0 0;
  font-family: "Cinzel",serif;
  font-size: 1rem;
  color: #f2ede0;
}
.conflict-resolution-text {
  margin-top: 5px;
  color: var(--campaign-muted);
  font-size: .72rem;
}
.conflict-resolve-button {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--campaign-border-light);
  border-radius: 7px;
  background: rgba(184,156,99,.08);
  color: #dfc381;
  font-family: "Cinzel",serif;
  font-size: .7rem;
  cursor: pointer;
}
.conflict-resolve-button:hover {
  background: rgba(184,156,99,.16);
}
@media (max-width:800px) {
  .conflict-show-page {
    padding: 20px;
  }
  .conflict-show-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .conflict-show-battle {
    grid-template-columns: 1fr;
  }
  .conflict-show-score {
    font-size: 3rem;
  }
  .conflict-show-territory-meta {
    flex-direction: column;
    gap: 6px;
  }
  .conflict-game-card {
    flex-wrap: wrap;
    gap: 12px 18px;
  }
  .conflict-game-details {
    margin-left: 0;
    width: 100%;
  }
  .conflict-resolution {
    align-items: flex-start;
    flex-direction: column;
  }
}
.game-request-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-request-modal.hidden {
  display: none;
}
.game-request-modal-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient( circle at center, rgba(40, 34, 26, .35), rgba(5, 5, 4, .88) );
  backdrop-filter: blur(7px);
}
.game-request-modal-content {
  position: relative;
  z-index: 1;
  width: 680px;
  max-width: 94vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient( 145deg, rgba(34, 30, 24, .98), rgba(20, 18, 15, .98) );
  border: 1px solid rgba(190, 160, 95, .42);
  border-radius: 14px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .70), 0 0 0 1px rgba(255,255,255,.025) inset;
  animation: gameRequestModalOpen .25s ease;
}
@keyframes gameRequestModalOpen {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.game-request-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid rgba(190, 160, 95, .18);
  background: linear-gradient( 180deg, rgba(190,160,95,.055), rgba(190,160,95,0) );
}
.game-request-modal-header h2 {
  margin: 5px 0 0;
  font-family: "Cinzel", serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: #f2ede0;
}
.game-request-modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(190,160,95,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
  color: #bdb4a6;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.game-request-modal-close:hover {
  color: #f2ede0;
  border-color: rgba(190,160,95,.42);
  background: rgba(190,160,95,.08);
}
.game-request-modal-body {
  padding: 24px 26px 28px;
  overflow-y: auto;
  color: #e6dcc8;
}
.game-request-modal-body::-webkit-scrollbar {
  width: 7px;
}
.game-request-modal-body::-webkit-scrollbar-track {
  background: rgba(0,0,0,.18);
}
.game-request-modal-body::-webkit-scrollbar-thumb {
  background: rgba(190,160,95,.28);
  border-radius: 20px;
}
.game-request-field {
  margin-bottom: 22px;
}
.game-request-field:last-child {
  margin-bottom: 0;
}
.game-request-field-label {
  margin-bottom: 5px;
  color: #d8b36a;
  font-size: .62rem;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.game-request-field-help {
  margin: 0 0 10px;
  color: #968f83;
  font-size: .72rem;
  line-height: 1.45;
}
.game-request-opponents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.game-request-opponent {
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 11px 14px;
  box-sizing: border-box;
  border: 1px solid rgba(190,160,95,.20);
  border-radius: 8px;
  background: rgba(255,255,255,.025);
  color: #e9e2d5;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.game-request-opponent:hover {
  border-color: rgba(190,160,95,.48);
  background: rgba(190,160,95,.055);
  transform: translateY(-1px);
}
.game-request-opponent.selected {
  border-color: rgba(216,179,106,.85);
  background: rgba(190,160,95,.14);
  box-shadow: 0 0 0 1px rgba(216,179,106,.12) inset;
}
.game-request-opponent-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}
.game-request-opponent-name-text {
  font-family: "Cinzel", serif;
  font-size: .82rem;
  color: #f0e9dc;
}
.game-request-mercenary-tag {
  flex-shrink: 0;
  padding: 3px 6px;
  border: 1px solid rgba(216,179,106,.28);
  border-radius: 999px;
  background: rgba(216,179,106,.07);
  color: #d8b36a;
  font-size: .55rem;
  letter-spacing: .04em;
}
.game-request-points {
  display: flex;
  align-items: center;
  width: 190px;
  border: 1px solid rgba(190,160,95,.22);
  border-radius: 8px;
  background: rgba(0,0,0,.20);
  overflow: hidden;
}
.game-request-points input {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 0;
  outline: none;
  background: transparent;
  color: #f2ede0;
  font-family: "Cinzel", serif;
  font-size: 1rem;
}
.game-request-points input:focus {
  box-shadow: inset 0 0 0 1px rgba(216,179,106,.55);
}
.game-request-points span {
  padding-right: 12px;
  color: #8f887c;
  font-size: .68rem;
  white-space: nowrap;
}
.game-request-select {
  width: 100%;
  min-height: 46px;
  padding: 0 40px 0 13px;
  border: 1px solid rgba(190,160,95,.22);
  border-radius: 8px;
  outline: none;
  background-color: #24211c;
  color: #eee7da;
  font-family: "Cinzel", serif;
  font-size: .78rem;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.game-request-select:hover {
  border-color: rgba(190,160,95,.40);
}
.game-request-select:focus {
  border-color: rgba(216,179,106,.72);
  box-shadow: 0 0 0 2px rgba(216,179,106,.07);
}
.game-request-select option {
  background: #24211c;
  color: #eee7da;
}
.game-request-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.game-request-mode {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid rgba(190,160,95,.20);
  border-radius: 9px;
  background: rgba(255,255,255,.025);
  color: #e9e2d5;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.game-request-mode:hover {
  border-color: rgba(190,160,95,.45);
  background: rgba(190,160,95,.055);
  transform: translateY(-1px);
}
.game-request-mode.selected {
  border-color: rgba(216,179,106,.85);
  background: rgba(190,160,95,.14);
  box-shadow: 0 0 0 1px rgba(216,179,106,.10) inset;
}
.game-request-mode-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(190,160,95,.18);
  border-radius: 7px;
  background: rgba(0,0,0,.18);
  font-size: 1rem;
}
.game-request-mode strong {
  display: block;
  margin-bottom: 3px;
  color: #eee7da;
  font-family: "Cinzel", serif;
  font-size: .78rem;
  letter-spacing: .04em;
}
.game-request-mode small {
  display: block;
  color: #8f887c;
  font-size: .62rem;
}
.game-request-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 17px 26px;
  border-top: 1px solid rgba(190,160,95,.18);
  background: rgba(0,0,0,.12);
}
.game-request-modal-footer .conflict-cancel-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(190,160,95,.18);
  border-radius: 7px;
  background: transparent;
  color: #aaa295;
  font-family: "Cinzel", serif;
  font-size: .68rem;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.game-request-modal-footer .conflict-cancel-button:hover {
  color: #eee7da;
  border-color: rgba(190,160,95,.40);
  background: rgba(255,255,255,.025);
}
.game-request-modal-footer #game-request-submit {
  min-height: 42px;
  padding: 0 19px;
}
#game-request-submit:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
}
@media (max-width: 700px) {
  .game-request-modal {
    padding: 12px;
  }
  .game-request-modal-content {
    max-width: 100%;
    max-height: 94vh;
    border-radius: 11px;
  }
  .game-request-modal-header {
    padding: 17px 18px;
  }
  .game-request-modal-header h2 {
    font-size: 1.15rem;
  }
  .game-request-modal-body {
    padding: 20px 18px 22px;
  }
  .game-request-opponents, .game-request-modes {
    grid-template-columns: 1fr;
  }
  .game-request-points {
    width: 100%;
  }
  .game-request-modal-footer {
    padding: 14px 18px;
  }
  .game-request-modal-footer .conflict-cancel-button, .game-request-modal-footer #game-request-submit {
    flex: 1;
  }
}
.conflict-requests-section {
  margin-bottom: 36px;
  padding: 24px;
  background: linear-gradient( 180deg, #2a2721, #24211c );
  border: 1px solid rgba(190, 160, 95, .25);
  border-radius: 12px;
}
.conflict-requests-section .conflict-section-kicker {
  margin-bottom: 6px;
}
.conflict-requests-section .conflict-section-title {
  margin-top: 0;
  margin-bottom: 20px;
}
.conflict-requests-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.conflict-request-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  background: #302c26;
  border: 1px solid rgba(190, 160, 95, .20);
  border-radius: 10px;
  transition: border-color .2s ease, background .2s ease;
}
.conflict-request-card:hover {
  border-color: rgba(190, 160, 95, .45);
  background: #342f28;
}
.conflict-request-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.conflict-request-label {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.conflict-request-main strong {
  color: #fff;
  font-family: "Cinzel", serif;
  font-size: 1.15rem;
}
.conflict-request-main span {
  color: #bdb5a7;
  font-size: .9rem;
}
.conflict-request-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.conflict-request-accept, .conflict-request-decline {
  padding: 9px 16px;
  border-radius: 7px;
  font-family: "Cinzel", serif;
  font-size: .75rem;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.conflict-request-accept {
  border: 1px solid rgba(111, 154, 92, .55);
  background: rgba(111, 154, 92, .12);
  color: #dbe8d5;
}
.conflict-request-accept:hover {
  border-color: #789f63;
  background: rgba(111, 154, 92, .24);
  transform: translateY(-1px);
}
.conflict-request-decline {
  border: 1px solid rgba(170, 90, 80, .45);
  background: rgba(170, 90, 80, .10);
  color: #e2c4c0;
}
.conflict-request-decline:hover {
  border-color: #b06b62;
  background: rgba(170, 90, 80, .20);
  transform: translateY(-1px);
}
.conflict-request-accept:disabled, .conflict-request-decline:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}
@media (max-width: 700px) {
  .conflict-request-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .conflict-request-actions {
    width: 100%;
  }
  .conflict-request-accept, .conflict-request-decline {
    flex: 1;
  }
}
.game-show-confirmation {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(190, 160, 95, .18);
}
.game-show-confirmation h2 {
  margin: 6px 0 10px;
  color: #eee5d5;
  font-family: "Cinzel", serif;
  font-size: 1.4rem;
  font-weight: 400;
}
.game-show-confirmation-intro {
  margin: 0 0 22px;
  color: #bdb4a6;
  line-height: 1.5;
}
.game-show-confirmation-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.game-confirm-button, .game-dispute-button {
  padding: 12px 20px;
  border-radius: 8px;
  font-family: "Cinzel", serif;
  font-size: .78rem;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.game-confirm-button {
  border: 1px solid rgba(111, 154, 92, .6);
  background: rgba(111, 154, 92, .10);
  color: #dcebd7;
}
.game-confirm-button:hover {
  background: rgba(111, 154, 92, .22);
  border-color: #789f63;
  transform: translateY(-1px);
}
.game-dispute-button {
  border: 1px solid rgba(170, 90, 80, .5);
  background: rgba(170, 90, 80, .08);
  color: #e3c5c1;
}
.game-dispute-button:hover {
  background: rgba(170, 90, 80, .18);
  border-color: #b06b62;
  transform: translateY(-1px);
}
.conflict-game-players {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
  font-family: "Cinzel", serif;
  color: #f2ede0;
}
.conflict-game-player {
  display: flex;
  align-items: center;
  gap: 8px;
}
.conflict-game-player-emblem {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow( 0 2px 4px rgba(0,0,0,.65) );
}
.conflict-game-vs {
  color: #d8b36a;
  font-size: .68rem;
  letter-spacing: .08em;
}
.conflict-game-action-cancelled {
  border-color: rgba(130, 125, 115, .25);
  background: rgba(130, 125, 115, .06);
  color: #9e978d;
}
.conflict-game-card-cancelled {
  opacity: .45;
  filter: saturate(.45);
  border-color: rgba(130, 125, 115, .14);
  box-shadow: none;
}
.conflict-request-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.conflict-request-player {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
}
.conflict-request-description {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}
.conflict-request-points {
  color: #d8b46a;
  font-weight: 600;
}
.conflict-request-armies {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: #f1dfb5;
  font-size: 0.88rem;
  font-weight: 600;
}
.conflict-request-armies-vs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(216, 180, 106, 0.35);
  border-radius: 50%;
  color: #d8b46a;
  font-size: 0.72rem;
}
.conflict-request-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 9px;
  color: #bdb5a7;
  font-size: .72rem;
}
.conflict-request-details > .conflict-request-points {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(216, 180, 106, .28);
  border-radius: 999px;
  background: rgba(216, 180, 106, .06);
  color: #d8b46a;
  font-size: .68rem;
  font-weight: 600;
  white-space: nowrap;
}
.conflict-request-details .conflict-request-armies {
  margin-top: 0;
  gap: 8px;
  color: #f1dfb5;
  font-size: .72rem;
}
.conflict-request-details .conflict-request-armies-vs {
  width: 21px;
  height: 21px;
  font-size: .62rem;
}
.conflict-request-mode {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(190, 160, 95, .20);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
  color: #cfc6b7;
  font-size: .65rem;
  letter-spacing: .02em;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .conflict-request-details {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .conflict-request-details .conflict-request-armies {
    flex-wrap: wrap;
  }
}
.game-request-opponent-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(1);
}
.game-request-opponent-disabled:hover {
  transform: none;
}
rcenary Modal Disabled .game-request-opponent-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(1);
}
.game-request-opponent-disabled:hover {
  transform: none;
}
.conflict-request-delete {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.conflict-request-delete:disabled {
  opacity: 0.6;
  cursor: wait;
}
.conflict-game-result {
  display: flex;
  align-items: center;
  gap: 10px;
}
.conflict-request-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(220, 80, 80, 0.45);
  border-radius: 8px;
  background: rgba(120, 25, 25, 0.25);
  color: #f0b0b0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.conflict-request-delete:hover {
  background: rgba(170, 40, 40, 0.4);
  border-color: rgba(240, 100, 100, 0.7);
  color: #ffffff;
  transform: translateY(-1px);
}
.conflict-request-delete:active {
  transform: translateY(0);
}
.conflict-request-delete:disabled {
  opacity: 0.5;
  cursor: wait;
  transform: none;
}
@media (max-width: 1100px) {
  .conflict-game-card {
    flex-wrap: wrap;
    gap: 12px 18px;
  }
  .conflict-game-details {
    margin-left: 0;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .conflict-game-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .conflict-game-number {
    min-width: auto;
  }
  .conflict-game-players {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .conflict-game-details {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }
  .conflict-game-details-armies {
    width: 100%;
    white-space: normal;
  }
  .conflict-game-result {
    width: 100%;
  }
}
.conflicts-main, .conflict-show-main {
  width: 100%;
  min-height: calc(100vh - 70px);
  margin: 0;
  padding: 0;
}
.conflict-page {
  width: 100%;
  min-height: 100vh;
  padding: 34px 0 50px;
  box-sizing: border-box;
  background: linear-gradient( rgba(8, 7, 6, .62), rgba(8, 7, 6, .75) ), url("/images/ui/conflicts-background.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--campaign-text);
}
.conflict-page > * {
  width: min( 1200px, calc(100% - 68px) );
  margin-left: auto;
  margin-right: auto;
}
.conflict-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}
.conflict-kicker {
  margin-bottom: 8px;
  color: #d8b36a;
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.conflict-title {
  margin: 0;
  font-family: "Cinzel",serif;
  font-size: 2rem;
  font-weight: 500;
  color: #f2ede0;
}
.conflict-subtitle {
  margin-top: 7px;
  color: var(--campaign-muted);
  font-size: .82rem;
}
.conflict-header-actions {
  flex-shrink: 0;
}
.conflict-back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--campaign-border-light);
  border-radius: 8px;
  color: #ddc385;
  text-decoration: none;
  font-family: "Cinzel",serif;
  font-size: .76rem;
  transition: .2s ease;
}
.conflict-back-button:hover {
  background: rgba(184,156,99,.08);
}
.conflict-summary {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.conflict-summary-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 82px;
  padding: 16px 20px;
  border: 1px solid rgba(190,160,95,.22);
  border-radius: 10px;
  background: linear-gradient( 135deg, rgba(20,18,15,.82), rgba(28,25,20,.74) );
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  backdrop-filter: blur(5px);
}
.conflict-summary-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid rgba(190,160,95,.28);
  border-radius: 8px;
  background: rgba(190,160,95,.07);
  color: #d8b36a;
  font-size: 1.15rem;
  box-shadow: inset 0 0 12px rgba(190,160,95,.04);
}
.conflict-summary-label {
  display: block;
  color: var(--campaign-muted);
  font-size: .62rem;
  letter-spacing: .16em;
}
.conflict-summary-value {
  display: block;
  margin-top: 3px;
  font-family: "Cinzel",serif;
  font-size: 1.4rem;
  color: #f2ede0;
}
.conflict-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.conflict-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(190,160,95,.24);
  border-radius: 12px;
  background: linear-gradient( 145deg, rgba(18,16,13,.84), rgba(25,22,18,.78) );
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  backdrop-filter: blur(4px);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.conflict-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  background: rgba(8,7,6,.26);
  border-bottom: 1px solid rgba(190,160,95,.16);
}
.conflict-card-number {
  color: var(--campaign-muted);
  font-size: .62rem;
  letter-spacing: .16em;
}
.conflict-status {
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  font-size: .62rem;
  letter-spacing: .06em;
}
.conflict-status-pending {
  color: #dfbf77;
  border-color: rgba(216,179,106,.28);
  background: rgba(216,179,106,.06);
}
.conflict-status-active {
  color: #e8a56e;
  border-color: rgba(220,140,70,.28);
  background: rgba(220,140,70,.06);
}
.conflict-status-resolved {
  color: #83cf9d;
  border-color: rgba(85,170,105,.28);
  background: rgba(85,170,105,.06);
}
.conflict-battle {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: center;
  padding: 26px 30px 22px;
}
.conflict-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.conflict-team-emblem {
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(190,160,95,.24);
  border-radius: 12px;
  background: radial-gradient( circle, rgba(190,160,95,.07), rgba(0,0,0,.30) );
  box-shadow: 0 8px 20px rgba(0,0,0,.24);
}
.conflict-team-emblem img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow( 0 3px 6px rgba(0,0,0,.7) );
}
.conflict-team-emblem span {
  color: #d8b36a;
  font-size: 1.8rem;
}
.conflict-team-name {
  margin-top: 10px;
  font-family: "Cinzel",serif;
  font-size: 1.05rem;
  color: #f2ede0;
}
.conflict-team-role {
  margin-top: 4px;
  color: var(--campaign-muted);
  font-size: .58rem;
  letter-spacing: .17em;
}
.conflict-versus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.conflict-versus-line {
  width: 24px;
  height: 1px;
  background: rgba(184,156,99,.25);
}
.conflict-versus-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(190,160,95,.34);
  border-radius: 50%;
  background: rgba(15,13,10,.70);
  color: #d8b36a;
  font-size: 1.2rem;
  box-shadow: 0 0 18px rgba(190,160,95,.08);
}
.conflict-territory {
  margin: 0 28px;
  padding: 18px 16px;
  border-top: 1px solid rgba(190,160,95,.18);
  border-bottom: 1px solid rgba(190,160,95,.18);
  text-align: center;
  background: linear-gradient( 180deg, rgba(190,160,95,.025), transparent );
}
.conflict-territory-label {
  color: var(--campaign-muted);
  font-size: .6rem;
  letter-spacing: .2em;
}
.conflict-territory-name {
  margin-top: 5px;
  font-family: "Cinzel",serif;
  font-size: 1.45rem;
  letter-spacing: .04em;
  color: #f2ede0;
  text-shadow: 0 2px 8px rgba(0,0,0,.8);
}
.conflict-territory-description {
  max-width: 650px;
  margin: 7px auto 0;
  color: var(--campaign-muted);
  font-size: .73rem;
  line-height: 1.5;
}
.conflict-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  background: rgba(7,6,5,.20);
  border-top: 1px solid rgba(190,160,95,.12);
}
.conflict-score {
  display: flex;
  align-items: center;
  gap: 28px;
}
.conflict-score-label {
  display: block;
  color: var(--campaign-muted);
  font-size: .58rem;
  letter-spacing: .15em;
}
.conflict-score strong {
  display: block;
  margin-top: 3px;
  font-family: "Cinzel",serif;
  font-size: 1rem;
  color: #f2ede0;
}
.conflict-score strong span {
  margin: 0 5px;
  color: var(--campaign-muted);
}
.conflict-open-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--campaign-border-light);
  border-radius: 7px;
  color: #dfc381;
  text-decoration: none;
  font-family: "Cinzel",serif;
  font-size: .7rem;
  transition: .2s ease;
}
.conflict-open-button:hover {
  background: rgba(184,156,99,.10);
}
.conflict-empty {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  border: 1px solid var(--campaign-border);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
}
.conflict-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(184,156,99,.20);
  border-radius: 50%;
  color: #d8b36a;
  font-size: 1.8rem;
}
.conflict-empty h2 {
  margin-top: 15px;
  font-family: "Cinzel",serif;
  color: #f2ede0;
}
.conflict-empty p {
  max-width: 420px;
  margin: 7px 0 18px;
  color: var(--campaign-muted);
  font-size: .76rem;
  line-height: 1.5;
}
@media (max-width:800px) {
  .conflict-page {
    padding: 20px;
  }
  .conflict-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .conflict-summary {
    grid-template-columns: 1fr;
  }
  .conflict-battle {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .conflict-versus {
    transform: rotate(90deg);
  }
  .conflict-card-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .conflict-open-button {
    justify-content: center;
  }
}
.conflict-card-active {
  opacity: 1;
  filter: none;
}
.conflict-card-resolved {
  opacity: .52;
  filter: saturate(.55);
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}
.conflict-card-resolved:hover {
  opacity: .72;
  filter: saturate(.75);
}
.conflict-card-active .conflict-status {
  font-weight: 600;
}
.conflict-card-resolved .conflict-status {
  opacity: .75;
}
.conflict-card-active {
  border-color: rgba(190, 160, 95, .32);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
}
.conflict-card-resolved {
  border-color: rgba(130, 125, 115, .16);
  box-shadow: none;
}
.conflict-card-resolved .conflict-team-emblem, .conflict-card-resolved .conflict-versus-icon {
  opacity: .65;
}
.conflict-card-resolved .conflict-territory-name, .conflict-card-resolved .conflict-team-name {
  color: #aaa39a;
}
.conflict-card-resolved .conflict-score strong, .conflict-card-resolved .conflict-games strong {
  color: #aaa39a;
}
.conflict-card-resolved .conflict-open-button {
  opacity: .65;
}
.conflict-game-card-active {
  opacity: 1;
  border-color: rgba(190, 160, 95, .32);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .16);
}
.conflict-game-card-disputed {
  opacity: 1;
  border-color: rgba(170, 90, 80, .48);
  box-shadow: 0 8px 26px rgba(80, 25, 20, .18);
}
.conflict-game-card-played {
  opacity: .48;
  filter: saturate(.55);
  border-color: rgba(130, 125, 115, .14);
  box-shadow: none;
  transition: opacity .2s ease, filter .2s ease;
}
.conflict-game-card-played:hover {
  opacity: .68;
  filter: saturate(.75);
}
.conflict-game-action-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(190, 160, 95, .42);
  border-radius: 6px;
  background: rgba(190, 160, 95, .10);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.conflict-game-action-disputed {
  border-color: rgba(170, 90, 80, .48);
  background: rgba(170, 90, 80, .10);
  color: #dfaaa3;
}
.conflict-game-card-played .conflict-game-result-badge, .conflict-game-card-played .conflict-game-points {
  opacity: .7;
}
.conflict-game-card-played .conflict-game-players {
  color: #a7a197;
}
.conflict-game-card-played .conflict-game-number {
  opacity: .65;
}
.game-request-modal-content {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #14120f;
  border: 1px solid rgba(190, 160, 95, .22);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.game-request-modal-body {
  padding: 24px;
}
.game-request-modal-body > p {
  margin: 0 0 24px;
  color: #8f877b;
  font-size: .72rem;
  line-height: 1.6;
}
.game-request-field {
  margin-bottom: 22px;
}
.game-request-field:last-child {
  margin-bottom: 0;
}
.game-request-label {
  display: block;
  margin-bottom: 9px;
  color: #c9bda9;
  font-family: "Cinzel", serif;
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.game-request-input {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  padding: 0 13px;
  background: rgba(6, 6, 5, .55);
  border: 1px solid rgba(190, 160, 95, .18);
  border-radius: 8px;
  color: #eee7da;
  font-size: .78rem;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.game-request-input::placeholder {
  color: #625c54;
}
.game-request-input:focus {
  border-color: rgba(216, 179, 106, .55);
  background: rgba(6, 6, 5, .72);
  box-shadow: 0 0 0 2px rgba(190, 160, 95, .07);
}
.game-request-select {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  padding: 0 13px;
  appearance: auto;
  background: rgba(6, 6, 5, .55);
  border: 1px solid rgba(190, 160, 95, .18);
  border-radius: 8px;
  color: #eee7da;
  font-size: .78rem;
  outline: none;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.game-request-select:focus {
  border-color: rgba(216, 179, 106, .55);
  background: rgba(6, 6, 5, .72);
  box-shadow: 0 0 0 2px rgba(190, 160, 95, .07);
}
.game-request-opponents {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.game-request-opponent {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(190, 160, 95, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .015);
  color: #d8d0c4;
  font-size: .74rem;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.game-request-opponent:hover {
  background: rgba(190, 160, 95, .04);
  border-color: rgba(190, 160, 95, .35);
  transform: translateY(-1px);
}
.game-request-opponent.selected {
  background: rgba(190, 160, 95, .09);
  border-color: rgba(216, 179, 106, .65);
  box-shadow: 0 0 0 2px rgba(190, 160, 95, .06);
}
.game-request-opponent-name {
  display: block;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.game-request-opponent-name-text {
  min-width: 0;
}
.game-request-mercenary-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid rgba(190, 160, 95, .34);
  border-radius: 999px;
  background: rgba(190, 160, 95, .07);
  color: #d8b36a;
  font-family: Inter, sans-serif;
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.2;
  white-space: nowrap;
  text-transform: uppercase;
}
.game-request-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.game-request-mode-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(190, 160, 95, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .015);
  color: #aaa194;
  font-size: .72rem;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.game-request-mode-option:hover {
  border-color: rgba(190, 160, 95, .35);
}
.game-request-mode-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.game-request-mode-option input:checked + span {
  color: #dfc381;
}
.game-request-mode-option:has(input:checked) {
  background: rgba(190, 160, 95, .08);
  border-color: rgba(216, 179, 106, .60);
}
.game-request-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px 24px;
  border-top: 1px solid rgba(190, 160, 95, .10);
}
#game-request-submit:disabled {
  opacity: .38;
  cursor: not-allowed;
  transform: none;
}
@media (max-width: 600px) {
  .game-request-modal-content {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }
  .game-request-modal-body {
    padding: 20px;
  }
  .game-request-modal-footer {
    padding: 16px 20px 20px;
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .game-request-modal-footer button {
    width: 100%;
  }
  .game-request-mode {
    grid-template-columns: 1fr 1fr;
  }
}
.conflict-game-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  border: 1px solid var(--campaign-border);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
}
.conflict-game-main {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 22px;
}
.conflict-game-number {
  flex: 0 0 auto;
  color: var(--campaign-muted);
  font-size: .58rem;
  letter-spacing: .15em;
}
.conflict-game-players {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 0;
  font-family: "Cinzel", serif;
  color: #f2ede0;
  min-width: 0;
}
.conflict-game-player {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.conflict-game-player-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.conflict-game-player-name {
  color: #f2ede0;
  font-family: "Cinzel", serif;
  font-size: .82rem;
  line-height: 1.2;
  white-space: nowrap;
}
.conflict-game-army {
  color: var(--campaign-muted);
  font-size: .64rem;
  line-height: 1.2;
  white-space: nowrap;
}
.conflict-game-player-emblem {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
}
.conflict-game-vs {
  flex: 0 0 auto;
  color: #d8b36a;
  font-size: .70rem;
}
.conflict-game-format {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
  white-space: nowrap;
}
.conflict-game-format-points {
  color: #d8c08b;
  font-size: .68rem;
}
.conflict-game-format-mode {
  padding: 4px 7px;
  border: 1px solid rgba(184,156,99,.22);
  border-radius: 5px;
  color: #b9ad9a;
  font-size: .58rem;
  letter-spacing: .06em;
}
.conflict-game-result {
  flex: 0 0 auto;
  margin-left: 8px;
}
@media (max-width: 800px) {
  .conflict-game-card {
    flex-wrap: wrap;
  }
  .conflict-game-main {
    width: 100%;
  }
  .conflict-game-format {
    margin-left: auto;
  }
}
#conflict-toast-container {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.conflict-toast {
  min-width: 240px;
  padding: 12px 16px;
  border: 1px solid rgba(184,156,99,.20);
  border-radius: 8px;
  background: #1b1916;
  color: #f2ede0;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  opacity: 0;
  transform: translateY(10px);
  transition: .25s ease;
  font-size: .78rem;
}
.conflict-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.conflict-toast-success {
  border-color: rgba(80,170,110,.35);
}
.conflict-toast-error {
  border-color: rgba(190,80,80,.40);
}
.conflict-toast-warning {
  border-color: rgba(216,179,106,.40);
}
.previous-conflicts {
  margin-top: 4rem;
}
.previous-conflicts-header {
  margin-bottom: 2rem;
}
.previous-conflicts-turn {
  margin-bottom: 3rem;
}
.previous-conflicts-turn-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.previous-conflicts-turn-header h3 {
  margin: 0;
}
.previous-conflicts-turn-header span {
  opacity: 0.6;
  font-size: 0.85rem;
}
.conflict-card-compact {
  border-radius: 9px;
  box-shadow: none;
}
.conflict-card-compact .conflict-card-top {
  padding: 8px 14px;
}
.conflict-card-compact .conflict-status {
  padding: 4px 8px;
  font-size: .56rem;
}
.conflict-card-compact .conflict-battle {
  grid-template-columns: 1fr 70px 1fr;
  padding: 14px 20px 12px;
}
.conflict-card-compact .conflict-team-emblem {
  width: 46px;
  height: 46px;
  border-radius: 8px;
}
.conflict-card-compact .conflict-team-emblem img {
  width: 36px;
  height: 36px;
}
.conflict-card-compact .conflict-team-emblem span {
  font-size: 1.2rem;
}
.conflict-card-compact .conflict-team-name {
  margin-top: 6px;
  font-size: .85rem;
}
.conflict-card-compact .conflict-team-role {
  margin-top: 2px;
  font-size: .5rem;
}
.conflict-card-compact .conflict-versus-icon {
  width: 34px;
  height: 34px;
  font-size: .9rem;
}
.conflict-card-compact .conflict-versus-line {
  width: 16px;
}
.conflict-card-compact .conflict-territory {
  margin: 0 20px;
  padding: 10px 12px;
}
.conflict-card-compact .conflict-territory-label {
  font-size: .52rem;
}
.conflict-card-compact .conflict-territory-name {
  margin-top: 3px;
  font-size: 1rem;
}
.conflict-card-compact .conflict-territory-description {
  display: none;
}
.conflict-card-compact .conflict-card-footer {
  padding: 9px 14px;
}
.conflict-card-compact .conflict-score {
  gap: 20px;
}
.conflict-card-compact .conflict-score-label {
  font-size: .5rem;
}
.conflict-card-compact .conflict-score strong {
  font-size: .82rem;
}
.conflict-card-compact .conflict-open-button {
  min-height: 34px;
  padding: 0 11px;
  font-size: .62rem;
}
.previous-conflicts .conflict-list {
  gap: 8px;
}
.previous-conflicts-turn {
  margin-bottom: 2rem;
}
.previous-conflicts {
  margin-top: 4rem;
}
.previous-conflicts-header {
  margin-bottom: 1.5rem;
}
.previous-conflicts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.previous-conflicts-turn {
  overflow: hidden;
  border: 1px solid rgba(190, 160, 95, .20);
  border-radius: 10px;
  background: linear-gradient( 145deg, rgba(18, 16, 13, .82), rgba(25, 22, 18, .74) );
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}
.previous-conflicts-turn-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 13px 16px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease;
}
.previous-conflicts-turn-header:hover {
  background: rgba(190, 160, 95, .05);
}
.previous-conflicts-turn-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.previous-conflicts-turn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid rgba(190, 160, 95, .22);
  border-radius: 7px;
  background: rgba(190, 160, 95, .05);
  color: #d8b36a;
  font-size: .85rem;
}
.previous-conflicts-turn-title h3 {
  margin: 0;
  color: #f2ede0;
  font-family: "Cinzel", serif;
  font-size: .92rem;
  font-weight: 500;
}
.previous-conflicts-turn-title span {
  display: block;
  margin-top: 2px;
  color: var(--campaign-muted);
  font-size: .60rem;
}
.previous-conflicts-turn-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1px solid rgba(190, 160, 95, .18);
  border-radius: 6px;
  color: #d8b36a;
  font-size: .85rem;
  transition: background .2s ease;
}
.previous-conflicts-turn-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 12px;
  border-top: 1px solid rgba(190, 160, 95, .10);
  transition: max-height .25s ease;
}
.previous-conflicts-turn-content .conflict-list {
  gap: 8px;
  padding: 12px 0;
}
.previous-conflicts .conflict-card-compact {
  box-shadow: none;
}
@media (max-width: 600px) {
  .previous-conflicts {
    margin-top: 3rem;
  }
  .previous-conflicts-turn-header {
    padding: 11px 13px;
  }
  .previous-conflicts-turn-icon {
    width: 30px;
    height: 30px;
    font-size: .75rem;
  }
  .previous-conflicts-turn-title h3 {
    font-size: .84rem;
  }
  .previous-conflicts-turn-content {
    padding-left: 8px;
    padding-right: 8px;
  }
}
.conflict-game-mercenary-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 7px;
  padding: 3px 7px;
  border: 1px solid rgba(190, 160, 95, .34);
  border-radius: 999px;
  background: rgba(190, 160, 95, .07);
  color: #d8b36a;
  font-family: Inter, sans-serif;
  font-size: .52rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.2;
  white-space: nowrap;
  text-transform: uppercase;
  vertical-align: middle;
}
.conflict-request-player {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 7px;
}
.conflict-game-player > span {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
}
.game-new-page {
  min-height: 100vh;
  padding: 34px;
  background: radial-gradient( circle at top, rgba(184,156,99,.08), transparent 32% ), var(--campaign-bg);
  color: var(--campaign-text);
}
.game-new-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 24px;
}
.game-new-kicker {
  color: #d8b36a;
  font-size: .65rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.game-new-title {
  margin: 5px 0 0;
  font-family: "Cinzel",serif;
  font-size: 2rem;
  color: #f2ede0;
}
.game-new-subtitle {
  margin-top: 6px;
  color: var(--campaign-muted);
  font-size: .8rem;
}
.game-new-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--campaign-border-light);
  border-radius: 8px;
  color: #ddc385;
  text-decoration: none;
  font-family: "Cinzel",serif;
  font-size: .72rem;
}
.game-new-battle {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--campaign-border);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
}
.game-new-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.game-new-role {
  margin-bottom: 9px;
  color: var(--campaign-muted);
  font-size: .58rem;
  letter-spacing: .18em;
}
.game-new-emblem {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(184,156,99,.22);
  border-radius: 12px;
  background: rgba(0,0,0,.18);
}
.game-new-emblem img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.game-new-emblem span {
  color: #d8b36a;
  font-size: 1.7rem;
}
.game-new-team-name {
  margin-top: 10px;
  font-family: "Cinzel",serif;
  font-size: 1rem;
  color: #f2ede0;
}
.game-new-versus {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  border: 1px solid rgba(216,179,106,.30);
  border-radius: 50%;
  background: rgba(216,179,106,.06);
  color: #e2c27c;
  font-size: 1.3rem;
}
.game-new-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}
.game-new-section {
  padding: 20px;
  border: 1px solid var(--campaign-border);
  border-radius: 12px;
  background: rgba(255,255,255,.02);
}
.game-new-section-header {
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--campaign-border);
}
.game-new-section-kicker {
  color: var(--campaign-muted);
  font-size: .6rem;
  letter-spacing: .18em;
}
.game-new-section-title {
  margin: 4px 0 0;
  font-family: "Cinzel",serif;
  font-size: 1.15rem;
  color: #f2ede0;
}
.game-new-player-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.game-new-field {
  display: flex;
  flex-direction: column;
}
.game-new-label {
  margin-bottom: 7px;
  color: #d9d2c5;
  font-size: .68rem;
  letter-spacing: .08em;
}
.game-new-select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(184,156,99,.20);
  border-radius: 8px;
  outline: none;
  background: #161411;
  color: #f2ede0;
}
.game-new-select:focus {
  border-color: var(--campaign-border-light);
  box-shadow: 0 0 0 2px rgba(184,156,99,.07);
}
.game-new-select option {
  background: #161411;
  color: #f2ede0;
}
.game-new-textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  padding: 12px;
  border: 1px solid rgba(184,156,99,.20);
  border-radius: 8px;
  outline: none;
  background: #161411;
  color: #f2ede0;
  font-family: inherit;
}
.game-new-textarea:focus {
  border-color: var(--campaign-border-light);
}
.game-new-errors {
  margin-top: 5px;
  color: #e59b9b;
  font-size: .68rem;
}
.game-new-result-box {
  display: grid;
  grid-template-columns: minmax(0,1fr) 260px;
  gap: 18px;
  align-items: center;
}
.game-new-result-help {
  display: flex;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(216,179,106,.15);
  border-radius: 9px;
  background: rgba(216,179,106,.035);
}
.game-new-result-help span {
  color: #d8b36a;
  font-size: 1.1rem;
}
.game-new-result-help p {
  margin: 0;
  color: var(--campaign-muted);
  font-size: .68rem;
  line-height: 1.5;
}
.game-new-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 4px;
}
.game-new-cancel {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  color: var(--campaign-muted);
  text-decoration: none;
  font-family: "Cinzel",serif;
  font-size: .72rem;
}
.game-new-submit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--campaign-border-light);
  border-radius: 8px;
  background: rgba(184,156,99,.08);
  color: #dfc381;
  font-family: "Cinzel",serif;
  font-size: .72rem;
  cursor: pointer;
}
.game-new-submit:hover {
  background: rgba(184,156,99,.16);
}
@media (max-width:750px) {
  .game-new-page {
    padding: 20px;
  }
  .game-new-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .game-new-battle {
    grid-template-columns: 1fr;
  }
  .game-new-player-grid {
    grid-template-columns: 1fr;
  }
  .game-new-result-box {
    grid-template-columns: 1fr;
  }
  .game-new-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .game-new-cancel, .game-new-submit {
    justify-content: center;
  }
}
.game-show-page {
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 50px 0 80px;
  color: #e8dfcf;
  background: linear-gradient( rgba(8, 7, 6, .64), rgba(8, 7, 6, .76) ), url("/images/ui/conflicts-background.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.game-show-page > .game-show-header, .game-show-page > .game-show-card {
  width: min( 1050px, calc(100% - 60px) );
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.game-show-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.game-show-header .conflict-show-title {
  margin: 6px 0 8px;
  color: #f3ead8;
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: .02em;
}
.game-show-header .conflict-show-title span {
  margin: 0 10px;
  color: var(--gold);
  font-size: .6em;
}
.game-show-header p {
  margin: 0;
  color: #b9af9e;
  font-size: .95rem;
}
.game-show-main {
  width: 100%;
  min-height: 100vh;
  padding: 0;
  box-sizing: border-box;
}
.game-show-card {
  position: relative;
  padding: 34px;
  background: linear-gradient( 145deg, rgba(24, 21, 17, .84), rgba(31, 27, 22, .74) );
  border: 1px solid rgba(190, 160, 95, .28);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .02);
}
.game-show-card > h2 {
  margin: 6px 0 28px;
  color: #f1e7d5;
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  font-weight: 400;
}
.game-show-players {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  margin-bottom: 30px;
  padding: 25px;
  background: rgba(0, 0, 0, .16);
  border: 1px solid rgba(190, 160, 95, .14);
  border-radius: 10px;
}
.game-show-players > div:not(.game-show-vs) {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.game-show-players > div:last-child {
  text-align: right;
}
.game-show-players span {
  color: var(--gold);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
}
.game-show-players strong {
  color: #fff;
  font-family: "Cinzel", serif;
  font-size: 1.25rem;
  font-weight: 400;
}
.game-show-vs {
  color: #8f8677;
  font-family: "Cinzel", serif;
  font-size: .9rem;
  letter-spacing: .12em;
}
.game-show-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px 24px;
  background: rgba(190, 160, 95, .07);
  border: 1px solid rgba(190, 160, 95, .25);
  border-radius: 10px;
}
.game-show-result span {
  color: #d8ccb8;
  font-family: "Cinzel", serif;
  font-size: 1.05rem;
}
.game-show-result strong {
  color: var(--gold);
  font-family: "Cinzel", serif;
  font-size: 1.35rem;
}
.game-show-form {
  margin-top: 25px;
  padding-top: 30px;
  border-top: 1px solid rgba(190, 160, 95, .18);
}
.game-show-form h2 {
  margin: 6px 0 25px;
  color: #eee5d5;
  font-family: "Cinzel", serif;
  font-size: 1.35rem;
  font-weight: 400;
}
.game-show-field {
  margin-bottom: 22px;
}
.game-show-field label {
  display: block;
  margin-bottom: 8px;
  color: #d8cdbb;
  font-family: "Cinzel", serif;
  font-size: .82rem;
  letter-spacing: .04em;
}
.game-show-field select, .game-show-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 15px;
  background: #25221d;
  color: #eee6d8;
  border: 1px solid rgba(190, 160, 95, .26);
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.game-show-field select:focus, .game-show-field textarea:focus {
  border-color: var(--gold);
  background: #2a2721;
  box-shadow: 0 0 0 3px rgba(190, 160, 95, .08);
}
.game-show-field textarea {
  min-height: 130px;
  resize: vertical;
}
.game-show-field select option {
  background: #25221d;
  color: #eee6d8;
}
.game-show-form .game-new-submit {
  margin-top: 5px;
  padding: 13px 22px;
  border: 1px solid rgba(190, 160, 95, .65);
  border-radius: 8px;
  background: transparent;
  color: var(--gold);
  font-family: "Cinzel", serif;
  font-size: .78rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.game-show-form .game-new-submit:hover {
  background: var(--gold);
  color: #1d1a16;
  transform: translateY(-1px);
}
.game-show-notice {
  margin-top: 25px;
  padding: 18px 20px;
  background: rgba(190, 160, 95, .07);
  border: 1px solid rgba(190, 160, 95, .22);
  border-radius: 9px;
  color: #cfc3b1;
  line-height: 1.5;
}
.game-show-field ul {
  margin: 7px 0 0;
  padding-left: 18px;
  color: #c77c72;
  font-size: .85rem;
}
@media (max-width: 700px) {
  .game-show-page {
    padding: 30px 16px 60px;
  }
  .game-show-header {
    flex-direction: column;
  }
  .game-show-card {
    padding: 22px;
  }
  .game-show-players {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .game-show-players > div:last-child {
    text-align: left;
  }
  .game-show-vs {
    text-align: center;
  }
  .game-show-result {
    flex-direction: column;
    align-items: flex-start;
  }
}
.game-show-dispute-notice {
  display: block;
  margin: 16px 0 24px;
  padding: 15px 18px;
  background: rgba(170, 70, 60, 0.12);
  border: 1px solid rgba(190, 85, 75, 0.45);
  border-left: 4px solid #b06b62;
  border-radius: 8px;
  color: #e3aaa3 !important;
  font-size: 0.92rem;
  line-height: 1.55;
}
.game-show-confirmation {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(190, 160, 95, .18);
}
.game-show-confirmation h2 {
  margin: 6px 0 10px;
  color: #eee5d5;
  font-family: "Cinzel", serif;
  font-size: 1.4rem;
  font-weight: 400;
}
.game-show-confirmation-intro {
  margin: 0 0 22px;
  color: #bdb4a6;
  line-height: 1.5;
}
.game-show-confirmation-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.game-show-confirmation-actions form {
  margin: 0;
}
.game-confirm-button, .game-dispute-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: "Cinzel", serif;
  font-size: .78rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.game-confirm-button {
  border: 1px solid rgba(111, 154, 92, .60);
  background: rgba(111, 154, 92, .10);
  color: #dcebd7;
}
.game-confirm-button:hover {
  border-color: #789f63;
  background: rgba(111, 154, 92, .22);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .20);
  transform: translateY(-1px);
}
.game-dispute-button {
  border: 1px solid rgba(170, 90, 80, .50);
  background: rgba(170, 90, 80, .08);
  color: #e3c5c1;
}
.game-dispute-button:hover {
  border-color: #b06b62;
  background: rgba(170, 90, 80, .18);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .20);
  transform: translateY(-1px);
}
.game-show-form .game-show-dispute-notice {
  margin-top: 14px;
}
.game-confirm-button:disabled, .game-dispute-button:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
@media (max-width: 700px) {
  .game-show-confirmation-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .game-show-confirmation-actions form {
    width: 100%;
  }
  .game-confirm-button, .game-dispute-button {
    width: 100%;
  }
}
.game-show-player-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 7px;
}
.game-show-player-emblem {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .45));
}
.game-show-players > .game-show-player:first-child .game-show-player-info {
  justify-content: flex-start;
}
.game-show-players > .game-show-player:last-child .game-show-player-info {
  justify-content: flex-end;
}
@media (max-width: 700px) {
  .game-show-player-info {
    justify-content: flex-start !important;
  }
}
.game-show-player-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.game-show-player-info-defender {
  justify-content: flex-end;
}
.game-show-player-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.game-show-player-text strong {
  color: #fff;
  font-family: "Cinzel", serif;
  font-size: 1.25rem;
  font-weight: 400;
}
.game-show-player-text small {
  color: #a69d8e;
  font-size: .78rem;
  line-height: 1.3;
}
.game-show-player-emblem {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}
.game-show-format {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: -12px;
  margin-bottom: 30px;
  color: #b9af9e;
  font-size: .72rem;
  letter-spacing: .08em;
}
.game-show-format-points {
  color: #d8b36a;
  font-weight: 600;
}
.game-show-format-separator {
  color: #665f55;
}
.game-show-format-mode {
  padding: 4px 8px;
  border: 1px solid rgba(190, 160, 95, .22);
  border-radius: 5px;
  color: #bdb3a3;
  font-size: .62rem;
  letter-spacing: .1em;
}
@media (max-width: 700px) {
  .game-show-player-info {
    gap: 8px;
  }
  .game-show-player-emblem {
    width: 42px;
    height: 42px;
  }
  .game-show-player-text strong {
    font-size: 1.05rem;
  }
  .game-show-player-text small {
    font-size: .7rem;
  }
  .game-show-format {
    margin-top: 0;
    margin-bottom: 22px;
  }
}
.dashboard-main {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 68px);
  padding: 0;
  box-sizing: border-box;
  background: linear-gradient( rgba(8, 8, 7, .28), rgba(8, 8, 7, .70) ), url("/images/ui/dashboard-background.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.dashboard-page {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 30px 80px;
  box-sizing: border-box;
  color: #e8dfcf;
}
.dashboard-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}
.dashboard-kicker {
  margin-bottom: 7px;
  color: #bea05f;
  font-size: .70rem;
  font-weight: 600;
  letter-spacing: .17em;
}
.dashboard-title {
  margin: 0;
  color: #f2e9d8;
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  text-shadow: 0 3px 15px rgba(0, 0, 0, .50);
}
.dashboard-subtitle {
  margin: 10px 0 0;
  max-width: 600px;
  color: #b0a89c;
  font-size: .90rem;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .50);
}
.dashboard-actions {
  margin-bottom: 38px;
  padding: 22px;
  background: linear-gradient( 180deg, rgba(43, 36, 29, .92), rgba(29, 24, 20, .96) );
  border: 1px solid rgba(190, 160, 95, .30);
  border-left: 3px solid #bea05f;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .28);
  backdrop-filter: blur(4px);
}
.dashboard-actions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.dashboard-actions-header h2 {
  margin: 0;
  color: #f0e6d5;
  font-family: "Cinzel", serif;
  font-size: 1.30rem;
  font-weight: 400;
}
.dashboard-actions-count {
  min-width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  box-sizing: border-box;
  border: 1px solid rgba(190, 160, 95, .30);
  border-radius: 999px;
  background: rgba(190, 160, 95, .08);
  color: #bea05f;
  font-size: .72rem;
  font-weight: 600;
}
.dashboard-action-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.dashboard-action-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  text-decoration: none;
  background: rgba(18, 16, 13, .46);
  border: 1px solid rgba(190, 160, 95, .12);
  border-radius: 8px;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.dashboard-action-card:hover {
  background: rgba(190, 160, 95, .08);
  border-color: rgba(190, 160, 95, .30);
  transform: translateX(2px);
}
.dashboard-action-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(190, 160, 95, .24);
  border-radius: 8px;
  background: rgba(190, 160, 95, .06);
  color: #bea05f;
  font-size: 1rem;
}
.dashboard-action-content {
  flex: 1;
  min-width: 0;
}
.dashboard-action-title {
  margin-bottom: 3px;
  color: #eee5d7;
  font-family: "Cinzel", serif;
  font-size: .88rem;
}
.dashboard-action-description {
  color: #989084;
  font-size: .78rem;
  line-height: 1.4;
}
.dashboard-action-link {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  color: #bea05f;
  font-family: "Cinzel", serif;
  font-size: .72rem;
}
.dashboard-action-link span {
  font-size: .90rem;
}
.dashboard-action-card:hover .dashboard-action-link {
  color: #e1c47d;
}
.dashboard-action-game_disputed {
  border-color: rgba(170, 90, 80, .34);
  background: linear-gradient( 90deg, rgba(125, 52, 45, .10), rgba(18, 16, 13, .46) );
}
.dashboard-action-game_disputed .dashboard-action-icon {
  border-color: rgba(170, 90, 80, .40);
  background: rgba(170, 90, 80, .10);
  color: #d18a80;
}
.dashboard-action-game_disputed .dashboard-action-link {
  color: #d18a80;
}
.dashboard-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.dashboard-section-kicker {
  margin-bottom: 5px;
  color: #bea05f;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .15em;
}
.dashboard-section-header h2 {
  margin: 0;
  color: #eee6d8;
  font-family: "Cinzel", serif;
  font-size: 1.55rem;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .30);
}
.dashboard-my-campaigns {
  margin-bottom: 38px;
}
.dashboard-my-campaigns-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dashboard-my-campaign-card {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 20px 22px;
  background: linear-gradient( 180deg, rgba(41, 37, 31, .91), rgba(33, 30, 25, .95) );
  border: 1px solid rgba(190, 160, 95, .20);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
  backdrop-filter: blur(4px);
}
.dashboard-my-campaign-main {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 0;
}
.dashboard-campaign-emblem {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(190, 160, 95, .22);
  border-radius: 8px;
  background: rgba(190, 160, 95, .04);
  color: #bea05f;
}
.dashboard-my-campaign-label {
  margin-bottom: 5px;
  color: #bea05f;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .14em;
}
.dashboard-my-campaign-main h3 {
  margin: 0;
  color: #eee5d7;
  font-family: "Cinzel", serif;
  font-size: 1.15rem;
  font-weight: 400;
}
.dashboard-my-campaign-main p {
  margin: 5px 0 0;
  color: #858078;
  font-size: .78rem;
}
.dashboard-my-campaign-stats {
  display: flex;
  gap: 8px;
}
.dashboard-my-campaign-stat {
  min-width: 80px;
  padding: 9px 12px;
  text-align: center;
  background: rgba(18, 16, 13, .46);
  border: 1px solid rgba(190, 160, 95, .12);
  border-radius: 8px;
}
.dashboard-my-campaign-stat span {
  display: block;
  margin-bottom: 4px;
  color: #858078;
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.dashboard-my-campaign-stat strong {
  color: #bea05f;
  font-family: "Cinzel", serif;
  font-size: 1.15rem;
  font-weight: 400;
}
.dashboard-primary-button, .dashboard-action-button, .dashboard-delete-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: .74rem;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.dashboard-primary-button {
  padding: 11px 16px;
  border: 1px solid rgba(190, 160, 95, .60);
  background: rgba(190, 160, 95, .08);
  color: #bea05f;
}
.dashboard-primary-button:hover {
  background: #bea05f;
  color: #1b1814;
  transform: translateY(-1px);
}
.dashboard-action-button {
  padding: 9px 13px;
  border: 1px solid rgba(190, 160, 95, .38);
  background: rgba(190, 160, 95, .05);
  color: #bea05f;
}
.dashboard-action-button:hover {
  background: rgba(190, 160, 95, .13);
  transform: translateY(-1px);
}
.dashboard-action-button-muted {
  opacity: .65;
}
.dashboard-delete-button {
  padding: 8px 11px;
  border: 1px solid rgba(170, 90, 80, .28);
  background: transparent;
  color: #ba7c73;
}
.dashboard-delete-button:hover {
  background: rgba(170, 90, 80, .10);
  border-color: rgba(170, 90, 80, .45);
}
.dashboard-two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 38px;
}
.dashboard-panel {
  background: linear-gradient( 180deg, rgba(41, 37, 31, .91), rgba(33, 30, 25, .95) );
  border: 1px solid rgba(190, 160, 95, .17);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
  backdrop-filter: blur(4px);
}
.dashboard-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 15px;
}
.dashboard-panel-header h2 {
  margin: 0;
  color: #eee6d8;
  font-family: "Cinzel", serif;
  font-size: 1.20rem;
  font-weight: 400;
}
.dashboard-panel-empty {
  padding: 25px 20px 28px;
  color: #858078;
  font-size: .80rem;
}
.dashboard-panel-list {
  display: flex;
  flex-direction: column;
}
.dashboard-conflict-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  text-decoration: none;
  border-top: 1px solid rgba(190, 160, 95, .08);
  transition: background .2s ease, padding-left .2s ease;
}
.dashboard-conflict-row:hover {
  background: rgba(190, 160, 95, .05);
  padding-left: 21px;
}
.dashboard-conflict-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(190, 160, 95, .20);
  border-radius: 7px;
  color: #bea05f;
}
.dashboard-conflict-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.dashboard-conflict-content strong {
  color: #eee5d7;
  font-size: .82rem;
  font-weight: 500;
}
.dashboard-conflict-content span {
  margin-top: 3px;
  color: #858078;
  font-size: .70rem;
}
.dashboard-conflict-content b, .dashboard-game-content b {
  margin: 0 4px;
  color: #625d55;
  font-size: .60rem;
}
.dashboard-conflict-status, .dashboard-game-status {
  flex-shrink: 0;
  font-size: .65rem;
  font-weight: 600;
}
.dashboard-conflict-status.is-active {
  color: #bea05f;
}
.dashboard-conflict-status.is-resolved {
  color: #777168;
  opacity: .70;
}
.dashboard-row-arrow {
  color: #6e685f;
  font-size: .85rem;
}
.dashboard-game-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  text-decoration: none;
  border-top: 1px solid rgba(190, 160, 95, .08);
  transition: background .2s ease, padding-left .2s ease;
}
.dashboard-game-row:hover {
  background: rgba(190, 160, 95, .05);
  padding-left: 21px;
}
.dashboard-game-result {
  width: 48px;
  flex-shrink: 0;
  text-align: center;
}
.dashboard-game-result strong {
  color: #bea05f;
  font-family: "Cinzel", serif;
  font-size: .95rem;
  font-weight: 400;
}
.dashboard-game-result span {
  color: #777168;
}
.dashboard-game-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.dashboard-game-content strong {
  color: #eee5d7;
  font-size: .78rem;
  font-weight: 500;
}
.dashboard-game-content span {
  margin-top: 3px;
  color: #858078;
  font-size: .70rem;
}
.dashboard-game-status.is-played {
  color: #9b9489;
}
.dashboard-game-status.is-disputed {
  color: #d18a80;
}
.dashboard-game-status.is-pending {
  color: #bea05f;
}
.dashboard-campaigns {
  margin-bottom: 20px;
}
.dashboard-campaign-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dashboard-campaign-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 20px 22px;
  background: linear-gradient( 180deg, rgba(41, 37, 31, .91), rgba(33, 30, 25, .95) );
  border: 1px solid rgba(190, 160, 95, .17);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .20);
  transition: border-color .2s ease, background .2s ease, opacity .2s ease;
}
.dashboard-campaign-card:hover {
  border-color: rgba(190, 160, 95, .30);
  background: linear-gradient( 180deg, rgba(46, 42, 35, .94), rgba(38, 34, 28, .97) );
}
.dashboard-campaign-main {
  display: flex;
  align-items: center;
  gap: 15px;
}
.dashboard-campaign-main h3 {
  margin: 0;
  color: #eee5d7;
  font-family: "Cinzel", serif;
  font-size: 1rem;
  font-weight: 400;
}
.dashboard-campaign-main p {
  margin: 5px 0 0;
  color: #858078;
  font-size: .78rem;
}
.dashboard-campaign-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}
.dashboard-status {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 600;
}
.dashboard-status-draft {
  background: rgba(190, 145, 70, .12);
  border: 1px solid rgba(190, 145, 70, .25);
  color: #d0af71;
}
.dashboard-status-active {
  background: rgba(105, 145, 90, .10);
  border: 1px solid rgba(105, 145, 90, .25);
  color: #b5d0a9;
}
.dashboard-status-finished {
  background: rgba(120, 115, 105, .10);
  border: 1px solid rgba(120, 115, 105, .20);
  color: #9e988f;
}
.dashboard-campaign-finished {
  opacity: .58;
  filter: saturate(.65);
}
.dashboard-campaign-finished:hover {
  opacity: .75;
}
.dashboard-empty {
  padding: 55px 25px;
  text-align: center;
  background: linear-gradient( 180deg, rgba(41, 37, 31, .90), rgba(33, 30, 25, .95) );
  border: 1px solid rgba(190, 160, 95, .17);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .20);
}
.dashboard-empty-icon {
  margin-bottom: 15px;
  color: #bea05f;
  font-size: 2rem;
}
.dashboard-empty h3 {
  margin: 0;
  color: #eee6d8;
  font-family: "Cinzel", serif;
  font-size: 1.25rem;
  font-weight: 400;
}
.dashboard-empty p {
  max-width: 430px;
  margin: 10px auto 22px;
  color: #938b80;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .dashboard-page {
    padding: 38px 22px 60px;
  }
  .dashboard-my-campaign-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .dashboard-my-campaign-main {
    width: 100%;
    flex: auto;
  }
  .dashboard-my-campaign-stats {
    flex: 1;
  }
  .dashboard-campaign-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .dashboard-campaign-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 850px) {
  .dashboard-two-columns {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .dashboard-page {
    padding: 30px 16px 55px;
  }
  .dashboard-header {
    align-items: flex-start;
    margin-bottom: 30px;
  }
  .dashboard-title {
    font-size: 2rem;
  }
  .dashboard-subtitle {
    font-size: .84rem;
  }
  .dashboard-actions {
    padding: 18px 15px;
  }
  .dashboard-actions-header {
    align-items: flex-start;
  }
  .dashboard-action-card {
    align-items: flex-start;
  }
  .dashboard-action-link {
    display: none;
  }
  .dashboard-my-campaign-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .dashboard-my-campaign-stat {
    min-width: 0;
    padding: 9px 5px;
  }
  .dashboard-campaign-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .dashboard-campaign-actions .dashboard-action-button, .dashboard-campaign-actions .dashboard-delete-button {
    width: 100%;
  }
}
.dashboard-campaign-emblem img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}
.dashboard-see-all-button {
  flex-shrink: 0;
  padding: 7px 11px;
  border: 1px solid rgba(190, 160, 95, .28);
  border-radius: 6px;
  background: rgba(190, 160, 95, .04);
  color: #bea05f;
  font-family: "Cinzel", serif;
  font-size: .62rem;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.dashboard-see-all-button:hover {
  background: rgba(190, 160, 95, .10);
  border-color: rgba(190, 160, 95, .48);
  color: #dfc381;
  transform: translateY(-1px);
}
.campaign-join-teams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.campaign-join-team {
  position: relative;
  display: block;
  cursor: pointer;
}
.campaign-join-team input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.campaign-join-team-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 82px;
  padding: 15px 18px;
  box-sizing: border-box;
  background: linear-gradient( 180deg, rgba(41, 37, 31, .92), rgba(33, 30, 25, .95) );
  border: 1px solid rgba(190, 160, 95, .17);
  border-radius: 10px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.campaign-join-team-card:hover {
  border-color: rgba(190, 160, 95, .38);
  background: #2b2721;
  transform: translateY(-1px);
}
.campaign-join-team input:checked + .campaign-join-team-card {
  border-color: rgba(190, 160, 95, .75);
  background: linear-gradient( 180deg, rgba(55, 48, 37, .96), rgba(39, 34, 28, .98) );
  box-shadow: 0 0 0 1px rgba(190, 160, 95, .12), 0 8px 25px rgba(0, 0, 0, .18);
}
.campaign-join-team-emblem {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--team-color, #bea05f);
  @supports (color: color-mix(in lab, red, red)) {
    border: 1px solid color-mix( in srgb, var(--team-color, #bea05f) 45%, transparent );
  }
  border-radius: 8px;
  color: var(--team-color, #bea05f);
  background: rgba(0, 0, 0, .15);
}
.campaign-join-team-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.campaign-join-team-emblem span {
  font-size: 1.2rem;
}
.campaign-join-team-content {
  min-width: 0;
  flex: 1;
}
.campaign-join-team-content h3 {
  margin: 0;
  color: #eee5d7;
  font-family: "Cinzel", serif;
  font-size: .95rem;
  font-weight: 400;
}
.campaign-join-team-content p {
  margin: 5px 0 0;
  color: #858078;
  font-size: .75rem;
}
.campaign-join-team-check {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(190, 160, 95, .20);
  border-radius: 50%;
  color: transparent;
  font-size: .75rem;
}
.campaign-join-team input:checked + .campaign-join-team-card .campaign-join-team-check {
  border-color: #bea05f;
  background: rgba(190, 160, 95, .15);
  color: #bea05f;
}
.dashboard-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 25px;
}
@media (max-width: 700px) {
  .campaign-join-teams {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .dashboard-form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .dashboard-form-actions > * {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}
.campaign-launch-modal {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  width: min(520px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  padding: 0;
  border: 1px solid rgba(190, 160, 95, .45);
  border-radius: 12px;
  background: linear-gradient( 145deg, rgba(43, 39, 32, .98), rgba(27, 25, 21, .99) );
  color: #e8dfcf;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .65), 0 0 0 1px rgba(0, 0, 0, .4);
}
.campaign-launch-modal::backdrop {
  background: rgba(5, 5, 4, .78);
  backdrop-filter: blur(4px);
}
.campaign-launch-modal-content {
  padding: 35px;
  text-align: center;
}
.campaign-launch-modal-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(190, 160, 95, .35);
  border-radius: 50%;
  color: #bea05f;
  background: rgba(190, 160, 95, .07);
  font-size: 1.25rem;
}
.campaign-launch-modal-kicker {
  margin-bottom: 8px;
  color: #bea05f;
  font-family: "Inter", sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
}
.campaign-launch-modal h3 {
  margin: 0;
  color: #eee5d7;
  font-family: "Cinzel", serif;
  font-size: 1.35rem;
  font-weight: 400;
}
.campaign-launch-modal-message {
  margin: 18px auto 0;
  max-width: 400px;
  color: #9c978e;
  font-family: "Inter", sans-serif;
  font-size: .82rem;
  line-height: 1.7;
}
.campaign-launch-modal-message strong {
  display: block;
  margin-top: 12px;
  color: #d6c8ae;
  font-weight: 400;
}
.campaign-launch-modal-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
.campaign-launch-modal-actions form {
  margin: 0;
}
.campaign-launch-modal-actions button {
  white-space: nowrap;
}
@media (max-width: 600px) {
  .campaign-launch-modal {
    width: calc(100% - 30px);
  }
  .campaign-launch-modal-content {
    padding: 28px 20px;
  }
  .campaign-launch-modal-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .campaign-launch-modal-actions button {
    width: 100%;
  }
}
.turbo-progress-bar {
  background: #b89562 !important;
}
.auth-page {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 58px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 50px 20px 70px;
  background: linear-gradient( rgba(10, 9, 7, .30), rgba(10, 9, 7, .55) ), url("/images/ui/login-background.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.auth-card {
  position: relative;
  width: min(100%, 560px);
  z-index: 1;
}
.auth-header {
  margin-bottom: 22px;
}
.auth-symbol {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #bea05f;
  font-size: 1rem;
}
.auth-kicker {
  margin-bottom: 8px;
  color: #bea05f;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
}
.auth-header h1 {
  margin: 0;
  color: #f1e8d8;
  font-family: "Cinzel", serif;
  font-size: clamp(1.8rem, 4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}
.auth-header p {
  margin: 8px 0 0;
  color: #b0a89d;
  font-size: .9rem;
  line-height: 1.5;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .45);
}
.auth-form-panel {
  width: 100%;
  padding: 34px 42px 30px;
  box-sizing: border-box;
  background: linear-gradient( 180deg, rgba(39, 36, 30, .95), rgba(24, 22, 19, .97) );
  border: 1px solid rgba(190, 160, 95, .42);
  border-radius: 14px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .58), 0 0 35px rgba(0, 0, 0, .20);
  backdrop-filter: blur(5px);
}
.auth-login .auth-form-panel {
  padding-top: 30px;
}
.auth-form-heading {
  margin-bottom: 24px;
}
.auth-section-kicker {
  margin-bottom: 6px;
  color: #bea05f;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-align: center;
}
.auth-form-heading h2 {
  margin: 0;
  color: #f1e8d8;
  font-family: "Cinzel", serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  letter-spacing: .02em;
}
.auth-form-heading p {
  max-width: 430px;
  margin: 8px auto 0;
  color: #9c9489;
  font-size: .84rem;
  line-height: 1.5;
  text-align: center;
}
.auth-login-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 15px;
}
.auth-login-emblem img {
  display: block;
  width: 115px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow( 0 6px 15px rgba(0, 0, 0, .60) );
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.auth-field label {
  color: #c7bda9;
  font-family: "Cinzel", serif;
  font-size: .68rem;
  letter-spacing: .04em;
}
.auth-input {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  padding: 13px 15px;
  border: 1px solid rgba(190, 160, 95, .20);
  border-radius: 8px;
  background: rgba(20, 19, 17, .90);
  color: #eee6d8;
  outline: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .9rem;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.auth-input:hover {
  border-color: rgba(190, 160, 95, .32);
}
.auth-input:focus {
  border-color: rgba(190, 160, 95, .70);
  background: rgba(25, 23, 20, .96);
  box-shadow: 0 0 0 3px rgba(190, 160, 95, .08);
}
.auth-input::placeholder {
  color: #716a61;
}
.auth-error {
  margin-bottom: 18px;
  padding: 11px 13px;
  background: rgba(125, 52, 45, .12);
  border: 1px solid rgba(170, 90, 80, .30);
  border-radius: 8px;
  color: #d8a099;
  font-size: .8rem;
}
.auth-field ul {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
.auth-field li {
  color: #cf8a80;
  font-size: .72rem;
}
.auth-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 6px;
  border: 1px solid rgba(210, 174, 95, .70);
  border-radius: 8px;
  background: linear-gradient( 180deg, #b99a59, #8f753e );
  color: #f4ead8;
  font-family: "Cinzel", serif;
  font-size: .78rem;
  letter-spacing: .05em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  cursor: pointer;
  transition: transform .15s ease, filter .2s ease, box-shadow .2s ease;
}
.auth-submit:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .30);
  transform: translateY(-1px);
}
.auth-submit:active {
  transform: translateY(0);
}
.auth-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(190, 160, 95, .12);
  color: #777066;
  font-size: .78rem;
}
.auth-switch a {
  color: #bea05f;
  font-family: "Cinzel", serif;
  text-decoration: none;
  transition: color .2s ease;
}
.auth-switch a:hover {
  color: #e0c27c;
}
.auth-register .auth-form-panel {
  padding-top: 32px;
}
@media (max-width: 700px) {
  .auth-page {
    min-height: calc(100vh - 58px);
    padding: 30px 14px 50px;
    background-position: center center;
  }
  .auth-form-panel {
    padding: 28px 22px 24px;
  }
  .auth-form-heading h2 {
    font-size: 1.8rem;
  }
  .auth-login-emblem img {
    width: 95px;
  }
}
@media (max-width: 480px) {
  .auth-page {
    padding: 24px 10px 40px;
  }
  .auth-card {
    width: 100%;
  }
  .auth-form-panel {
    padding: 24px 18px 20px;
    border-radius: 11px;
  }
  .auth-header h1 {
    font-size: 1.65rem;
  }
  .auth-login-emblem img {
    width: 85px;
  }
}
.auth-forgot-password {
  text-align: right;
  margin-top: -8px;
  margin-bottom: 20px;
}
.auth-forgot-password a {
  color: #b08a45;
  font-size: 0.9rem;
  text-decoration: none;
}
.auth-forgot-password a:hover {
  text-decoration: underline;
}
.auth-info {
  margin-bottom: 25px;
  color: #b9ae9d;
  font-size: 15px;
  line-height: 1.7;
}
.auth-info p {
  margin: 0 0 15px;
}
.auth-info strong {
  color: #d8b56a;
}
.profile-main {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 68px);
  padding: 0;
  box-sizing: border-box;
  background: linear-gradient( rgba(8, 7, 5, .30), rgba(8, 7, 5, .68) ), url("/images/ui/profile-background.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.profile-page {
  position: relative;
  width: 100%;
  max-width: 950px;
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  padding: 45px 30px 80px;
  box-sizing: border-box;
  color: #e8dfcf;
}
.profile-form {
  width: 100%;
}
.profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.profile-kicker {
  margin-bottom: 7px;
  color: #bea05f;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .17em;
}
.profile-title {
  margin: 0;
  color: #f2e9d8;
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 400;
  text-shadow: 0 3px 15px rgba(0, 0, 0, .45);
}
.profile-subtitle {
  margin: 9px 0 0;
  color: #b0a89c;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.profile-symbol {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(190, 160, 95, .35);
  border-radius: 50%;
  background: rgba(25, 22, 18, .70);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .35);
  font-size: 1.25rem;
}
.profile-success {
  margin-bottom: 18px;
  padding: 12px 15px;
  background: rgba(105, 145, 90, .12);
  border: 1px solid rgba(105, 145, 90, .30);
  border-radius: 8px;
  color: #b8d0ad;
  font-size: .8rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .20);
}
.profile-card {
  margin-bottom: 16px;
  padding: 25px;
  background: linear-gradient( 180deg, rgba(41, 37, 31, .92), rgba(29, 26, 22, .96) );
  border: 1px solid rgba(190, 160, 95, .24);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .35);
  backdrop-filter: blur(4px);
}
.profile-card-header {
  margin-bottom: 22px;
}
.profile-section-kicker {
  margin-bottom: 5px;
  color: #bea05f;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .15em;
}
.profile-card-header h2 {
  margin: 0;
  color: #eee6d8;
  font-family: "Cinzel", serif;
  font-size: 1.3rem;
  font-weight: 400;
}
.profile-card-header p {
  margin: 7px 0 0;
  color: #999187;
  font-size: .78rem;
  line-height: 1.5;
}
.profile-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.profile-password-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.profile-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.profile-field label {
  color: #c7bda9;
  font-family: "Cinzel", serif;
  font-size: .68rem;
}
.profile-input {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  padding: 11px 13px;
  border: 1px solid rgba(190, 160, 95, .19);
  border-radius: 8px;
  background: rgba(25, 23, 20, .92);
  color: #eee6d8;
  outline: none;
  font-size: .88rem;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.profile-input:focus {
  border-color: rgba(190, 160, 95, .65);
  background: rgba(33, 31, 27, .96);
  box-shadow: 0 0 0 3px rgba(190, 160, 95, .08);
}
.profile-input::placeholder {
  color: #777168;
}
.profile-field ul {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}
.profile-field li {
  color: #cf8a80;
  font-size: .72rem;
}
.profile-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 22px;
}
.profile-cancel-button, .profile-save-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  font-family: "Cinzel", serif;
  font-size: .72rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.profile-cancel-button {
  border: 1px solid rgba(190, 160, 95, .20);
  background: rgba(15, 13, 11, .30);
  color: #9b9388;
}
.profile-cancel-button:hover {
  color: #bea05f;
  border-color: rgba(190, 160, 95, .40);
  background: rgba(190, 160, 95, .06);
}
.profile-save-button {
  border: 1px solid rgba(190, 160, 95, .60);
  background: rgba(190, 160, 95, .08);
  color: #bea05f;
}
.profile-save-button:hover {
  background: #bea05f;
  color: #1b1814;
  transform: translateY(-1px);
}
@media (max-width: 750px) {
  .profile-fields-grid, .profile-password-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .profile-page {
    padding: 30px 16px 60px;
  }
  .profile-header {
    align-items: flex-start;
  }
  .profile-title {
    font-size: 2rem;
  }
  .profile-symbol {
    display: none;
  }
  .profile-card {
    padding: 20px;
  }
  .profile-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .profile-cancel-button, .profile-save-button {
    width: 100%;
  }
}
.form-error-message {
  margin-top: 8px;
  color: #d88a7a;
  font-size: .78rem;
  line-height: 1.4;
}
.map-controls {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: 42px;
  overflow: hidden;
  background: rgba(24, 21, 17, .88);
  border: 1px solid rgba(190, 160, 95, .30);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .40);
  backdrop-filter: blur(5px);
}
.map-control-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(190, 160, 95, .14);
  background: transparent;
  color: #d2b06a;
  font-family: "Cinzel", serif;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.map-control-button:last-child {
  border-bottom: 0;
}
.map-control-button:hover {
  background: rgba(190, 160, 95, .12);
  color: #f0d18d;
}
.map-control-button:active {
  background: rgba(190, 160, 95, .18);
}
.map-container:fullscreen {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
}
.map-container:fullscreen .map-content {
  height: 100%;
}
.map-container:fullscreen .map-controls {
  top: 20px;
  right: 20px;
}
@media (max-width: 600px) {
  .map-controls {
    top: 10px;
    right: 10px;
    width: 38px;
  }
  .map-control-button {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}
@media (max-width: 700px) {
  .map-controls {
    top: 8px;
    right: 8px;
    display: none;
  }
}
.site-footer {
  position: relative;
  width: 100%;
  margin-top: auto;
  background: linear-gradient( 180deg, rgba(20, 18, 15, .98), rgba(12, 11, 9, 1) );
  border-top: 1px solid rgba(190, 160, 95, .25);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .28);
}
.site-footer-inner {
  width: min( 1200px, calc(100% - 48px) );
  min-height: 90px;
  margin: 0 auto;
  padding: 20px 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.site-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.site-footer-title {
  color: #d8b36a;
  font-family: "Cinzel", serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
}
.site-footer-subtitle {
  color: #81796d;
  font-size: .68rem;
}
.site-footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-footer-nav a {
  color: #a9a092;
  text-decoration: none;
  font-size: .72rem;
  transition: color .2s ease;
}
.site-footer-nav a:hover {
  color: #d8b36a;
}
.site-footer-copy {
  color: #686157;
  font-size: .65rem;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .site-footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 24px 0;
  }
  .site-footer-nav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .site-footer-copy {
    white-space: normal;
  }
}
.legal-page {
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 50px 0 80px;
  background: linear-gradient( rgba(8,7,6,.74), rgba(8,7,6,.86) ), url("/images/ui/conflicts-background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #e8dfcf;
}
.legal-container {
  width: min( 1050px, calc(100% - 60px) );
  margin: 0 auto;
}
.legal-header {
  margin-bottom: 30px;
}
.legal-kicker {
  color: #d8b36a;
  font-size: .65rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.legal-header h1 {
  margin: 8px 0 10px;
  font-family: "Cinzel",serif;
  font-size: clamp( 2rem, 4vw, 3rem );
  font-weight: 400;
  color: #f3ead8;
}
.legal-header p {
  margin: 0;
  color: #b9af9e;
  font-size: .9rem;
}
.legal-section {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  gap: 18px;
  margin-top: 16px;
  padding: 24px;
  background: linear-gradient( 145deg, rgba(20,18,15,.84), rgba(29,25,21,.74) );
  border: 1px solid rgba(190,160,95,.22);
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(0,0,0,.25);
  backdrop-filter: blur(4px);
}
.legal-section-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(190,160,95,.25);
  border-radius: 9px;
  background: rgba(190,160,95,.045);
  color: #d8b36a;
  font-family: "Cinzel",serif;
  font-size: .75rem;
}
.legal-section-kicker {
  color: #a89d8e;
  font-size: .58rem;
  letter-spacing: .18em;
}
.legal-section h2 {
  margin: 5px 0 16px;
  font-family: "Cinzel",serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: #f2ede0;
}
.legal-text {
  color: #bdb4a6;
  font-size: .82rem;
  line-height: 1.7;
}
.legal-text p {
  margin: 0 0 12px;
}
.legal-text p:last-child {
  margin-bottom: 0;
}
.legal-text strong {
  color: #ddd2bf;
}
.legal-contact-email {
  color: #d8b36a !important;
  font-family: "Cinzel",serif;
}
.legal-updated {
  margin-top: 24px;
  text-align: right;
  color: #756d62;
  font-size: .65rem;
}
@media (max-width:700px) {
  .legal-page {
    padding: 30px 0 60px;
  }
  .legal-container {
    width: calc(100% - 32px);
  }
  .legal-section {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .legal-section-number {
    width: 40px;
    height: 40px;
  }
}
.legal-main {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.campaign-team-page {
  width: 100%;
  min-height: calc(100vh - 70px);
  padding: 46px 0 70px;
  box-sizing: border-box;
  color: #e8dfcf;
  background: linear-gradient( rgba(7,6,5,.70), rgba(10,8,7,.86) ), url("/images/ui/conflicts-background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.campaign-team-container {
  width: min( 1100px, calc(100% - 60px) );
  margin: 0 auto;
}
.campaign-team-back {
  display: inline-block;
  margin-bottom: 20px;
  color: #9f9688;
  font-family: "Cinzel",serif;
  font-size: .68rem;
  text-decoration: none;
  transition: color .2s ease;
}
.campaign-team-back:hover {
  color: #d8b36a;
}
.campaign-team-kicker, .campaign-team-panel-kicker {
  color: #d8b36a;
  font-size: .60rem;
  font-weight: 600;
  letter-spacing: .21em;
}
.campaign-team-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}
.campaign-team-emblem {
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(190,160,95,.30);
  border-radius: 14px;
  background: rgba(15,13,11,.65);
  box-shadow: 0 15px 35px rgba(0,0,0,.35);
}
.campaign-team-emblem img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}
.campaign-team-emblem span {
  color: #d8b36a;
  font-size: 2rem;
}
.campaign-team-hero h1 {
  margin: 0;
  color: #f3ead8;
  font-family: "Cinzel",serif;
  font-size: clamp(2.1rem,4vw,3.2rem);
  font-weight: 400;
}
.campaign-team-hero p {
  margin: 5px 0 0;
  color: #938b80;
  font-size: .78rem;
}
.campaign-team-stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
  margin-top: 34px;
  margin-bottom: 18px;
}
.campaign-team-stat {
  padding: 18px 15px;
  background: rgba(20,17,14,.72);
  border: 1px solid rgba(190,160,95,.18);
  border-radius: 10px;
  text-align: center;
}
.campaign-team-stat span {
  display: block;
  color: #8f877b;
  font-size: .60rem;
  letter-spacing: .10em;
}
.campaign-team-stat strong {
  display: block;
  margin-top: 5px;
  color: #dfc381;
  font-family: "Cinzel",serif;
  font-size: 1.45rem;
  font-weight: 400;
}
.campaign-team-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
}
.campaign-team-panel {
  padding: 25px;
  background: linear-gradient( 145deg, rgba(22,19,16,.86), rgba(29,25,21,.76) );
  border: 1px solid rgba(190,160,95,.20);
  border-radius: 12px;
  box-shadow: 0 16px 35px rgba(0,0,0,.28);
  backdrop-filter: blur(5px);
}
.campaign-team-panel h2, .campaign-team-games h2, .campaign-team-territories h2 {
  margin: 5px 0 20px;
  color: #f1e7d5;
  font-family: "Cinzel",serif;
  font-size: 1.25rem;
  font-weight: 400;
}
.campaign-team-performance {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
}
.campaign-team-performance > div {
  padding: 13px 10px;
  background: rgba(255,255,255,.025);
  border-radius: 8px;
}
.campaign-team-performance span, .campaign-team-average span {
  display: block;
  color: #8f877b;
  font-size: .62rem;
}
.campaign-team-performance strong {
  display: block;
  margin-top: 6px;
  color: #ddd2bf;
  font-size: 1.05rem;
  font-weight: 500;
}
.campaign-team-big-stat {
  color: #d8b36a !important;
}
.is-positive, .is-win {
  color: #9fc08e !important;
}
.is-negative, .is-loss {
  color: #c8897f !important;
}
.is-draw {
  color: #aaa197 !important;
}
.campaign-team-average {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.campaign-team-average > div {
  padding: 13px;
  border-top: 1px solid rgba(190,160,95,.12);
}
.campaign-team-average strong {
  display: block;
  margin-top: 4px;
  color: #ddd2bf;
  font-family: "Cinzel",serif;
  font-size: 1rem;
  font-weight: 400;
}
.campaign-team-members {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.campaign-team-member {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(190,160,95,.08);
  border-radius: 8px;
}
.campaign-team-member-emblem {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.campaign-team-member-emblem img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.campaign-team-member strong {
  display: block;
  color: #eee5d7;
  font-family: "Cinzel",serif;
  font-size: .78rem;
  font-weight: 400;
}
.campaign-team-member span {
  display: block;
  margin-top: 3px;
  color: #d8b36a;
  font-size: .54rem;
  letter-spacing: .13em;
}
.campaign-team-games, .campaign-team-territories {
  margin-top: 16px;
  padding: 25px;
  background: linear-gradient( 145deg, rgba(22,19,16,.86), rgba(29,25,21,.76) );
  border: 1px solid rgba(190,160,95,.20);
  border-radius: 12px;
  box-shadow: 0 16px 35px rgba(0,0,0,.28);
  backdrop-filter: blur(5px);
}
.campaign-team-games-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.campaign-team-game {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 15px;
  color: inherit;
  text-decoration: none;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(190,160,95,.08);
  border-radius: 8px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.campaign-team-game:hover {
  background: rgba(190,160,95,.05);
  border-color: rgba(190,160,95,.22);
  transform: translateX(2px);
}
.campaign-team-game-territory {
  color: #8d8579;
  font-size: .58rem;
  letter-spacing: .13em;
}
.campaign-team-game-players {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 5px;
  color: #eee5d7;
  font-family: "Cinzel",serif;
  font-size: .76rem;
}
.campaign-team-game-players b {
  color: #d8b36a;
  font-size: .58rem;
}
.campaign-team-game-result {
  min-width: 85px;
  text-align: right;
}
.campaign-team-game-result strong {
  display: block;
  color: #ddd2bf;
  font-family: "Cinzel",serif;
  font-size: 1rem;
  font-weight: 400;
}
.campaign-team-game-label {
  display: block;
  margin-top: 2px;
  font-size: .55rem;
  letter-spacing: .08em;
}
.campaign-team-game-pending {
  color: #9b9387;
  font-size: .65rem;
}
.campaign-team-territory-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.campaign-team-territory {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 15px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(190,160,95,.08);
  border-radius: 8px;
}
.campaign-team-territory strong {
  color: #eee5d7;
  font-family: "Cinzel",serif;
  font-size: .76rem;
  font-weight: 400;
}
.campaign-team-capital {
  margin-left: 8px;
  color: #d8b36a;
  font-size: .52rem;
  letter-spacing: .10em;
}
.campaign-team-territory-meta {
  display: flex;
  gap: 16px;
  color: #91897d;
  font-size: .62rem;
}
.campaign-team-empty-panel {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(255,255,255,.015);
  border: 1px dashed rgba(190,160,95,.16);
  border-radius: 9px;
}
.campaign-team-empty-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(190,160,95,.18);
  border-radius: 8px;
  color: #d8b36a;
}
.campaign-team-empty-panel strong {
  display: block;
  color: #eee5d7;
  font-family: "Cinzel",serif;
  font-size: .78rem;
  font-weight: 400;
}
.campaign-team-empty-panel p {
  margin: 4px 0 0;
  color: #81796e;
  font-size: .66rem;
}
@media (max-width:850px) {
  .campaign-team-stats {
    grid-template-columns: repeat(2,1fr);
  }
  .campaign-team-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width:600px) {
  .campaign-team-container {
    width: calc(100% - 32px);
  }
  .campaign-team-page {
    padding: 30px 0 55px;
  }
  .campaign-team-hero {
    align-items: flex-start;
  }
  .campaign-team-emblem {
    width: 65px;
    height: 65px;
  }
  .campaign-team-emblem img {
    width: 50px;
    height: 50px;
  }
  .campaign-team-performance {
    grid-template-columns: repeat(2,1fr);
  }
  .campaign-team-game {
    align-items: flex-start;
    flex-direction: column;
  }
  .campaign-team-game-result {
    width: 100%;
    text-align: left;
  }
  .campaign-team-territory {
    align-items: flex-start;
    flex-direction: column;
  }
}
.campaign-team-map-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(184, 149, 98, 0.45);
  border-radius: 6px;
  background: rgba(184, 149, 98, 0.08);
  color: #b89562;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.campaign-team-map-button:hover {
  background: rgba(184, 149, 98, 0.16);
  border-color: #b89562;
  color: #d2b47d;
  transform: translateY(-1px);
}
.campaign-team-map-button-icon {
  font-size: 15px;
  line-height: 1;
}
.campaign-team-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 600px) {
  .campaign-team-section-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .campaign-team-map-button {
    width: 100%;
    justify-content: center;
  }
}
.campaign-team-conflicts {
  margin-top: 3rem;
}
.campaign-team-conflicts-history {
  margin-top: 2rem;
}
.campaign-team-section-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(216, 180, 106, 0.3);
  border-radius: 999px;
  color: #d8b46a;
  font-size: 0.78rem;
  font-weight: 600;
}
.campaign-team-conflict-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.campaign-team-conflict-list .conflict-card {
  margin: 0;
}
.campaign-team-conflicts-empty {
  margin-top: 1rem;
}
.campaign-team-conflicts-history .conflict-card {
  opacity: 0.9;
}
.campaign-team-conflicts {
  margin-top: 2rem;
  color: #f1e7d5;
  font-family: "Cinzel",serif;
  font-size: 1.25rem;
  font-weight: 400;
  overflow: hidden;
  border: 1px solid rgba(190, 160, 95, .24);
  border-radius: 12px;
  background: linear-gradient( 145deg, rgba(18, 16, 13, .84), rgba(25, 22, 18, .78) );
  box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
  backdrop-filter: blur(4px);
}
.campaign-team-conflicts-history {
  margin-top: 10px;
}
.campaign-team-accordion-header {
  width: 100%;
  margin: 0;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.campaign-team-accordion-header:hover {
  background: rgba(216, 180, 106, 0.05);
}
.campaign-team-accordion-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.campaign-team-section-count {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid rgba(216, 180, 106, 0.3);
  border-radius: 999px;
  color: #d8b46a;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
}
.campaign-team-accordion-chevron {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #d8b46a;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}
.campaign-team-accordion-header:hover .campaign-team-accordion-chevron {
  background: rgba(216, 180, 106, 0.08);
}
.campaign-team-accordion-content {
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  padding: 0 14px;
  transition: max-height 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}
.campaign-team-accordion-content.is-open {
  padding: 14px;
  border-top-color: rgba(190, 160, 95, .16);
}
.campaign-team-conflict-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}
.campaign-team-conflict-list .conflict-card {
  margin: 0;
}
.campaign-team-conflicts-empty {
  margin: 0;
}
.campaign-team-conflicts-history .campaign-team-accordion-header {
  opacity: 0.9;
}
.campaign-team-conflicts-history .campaign-team-section-count {
  opacity: 0.8;
}
.campaign-team-conflicts-history .conflict-card {
  opacity: 0.9;
}
@media (max-width: 700px) {
  .campaign-team-conflicts {
    margin-top: 1.25rem;
    border-radius: 10px;
  }
  .campaign-team-accordion-header {
    padding: 13px 14px;
  }
  .campaign-team-accordion-header h2 {
    font-size: 1rem;
  }
  .campaign-team-accordion-right {
    gap: 7px;
  }
  .campaign-team-section-count {
    min-width: 26px;
    height: 26px;
    font-size: 0.72rem;
  }
  .campaign-team-accordion-chevron {
    width: 26px;
    height: 26px;
  }
  .campaign-team-accordion-content {
    padding-left: 10px;
    padding-right: 10px;
  }
  .campaign-team-accordion-content.is-open {
    padding: 14px;
    border-top-color: rgba(190, 160, 95, .16);
  }
}
.campaign-team-conflict-list .conflict-card {
  background: linear-gradient( 145deg, rgba(18, 16, 13, .84), rgba(25, 22, 18, .78) );
  border: 1px solid rgba(190, 160, 95, .24);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
  backdrop-filter: blur(4px);
}
.campaign-team-conflict-list .conflict-card-top {
  background: rgba(8, 7, 6, .26);
  border-bottom: 1px solid rgba(190, 160, 95, .16);
}
.campaign-team-conflict-list .conflict-territory {
  background: linear-gradient( 180deg, rgba(190, 160, 95, .025), transparent );
}
.campaign-team-conflict-list .conflict-card-footer {
  background: rgba(7, 6, 5, .20);
  border-top: 1px solid rgba(190, 160, 95, .12);
}
.history-page {
  width: 100%;
  min-height: calc(100vh - 68px);
  padding: 46px 0 75px;
  box-sizing: border-box;
  color: #e8dfcf;
  background: linear-gradient( rgba(7,6,5,.72), rgba(10,8,7,.86) ), url('/images/ui/history-background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.history-container {
  width: min( 1100px, calc(100% - 60px) );
  margin: 0 auto;
}
.history-kicker {
  color: #d8b36a;
  font-size: .60rem;
  font-weight: 600;
  letter-spacing: .22em;
}
.history-header h1 {
  margin: 7px 0 8px;
  color: #f2e9d8;
  font-family: "Cinzel",serif;
  font-size: clamp( 2rem, 4vw, 3rem );
  font-weight: 400;
}
.history-header p {
  margin: 0;
  color: #968d81;
  font-size: .80rem;
}
.history-summary {
  display: grid;
  grid-template-columns: 1.4fr repeat(4,1fr);
  gap: 9px;
  margin-top: 32px;
  margin-bottom: 22px;
}
.history-summary-main, .history-summary-stat {
  padding: 17px;
  background: linear-gradient( 145deg, rgba(21,18,15,.88), rgba(31,27,23,.76) );
  border: 1px solid rgba(190,160,95,.18);
  border-radius: 10px;
  backdrop-filter: blur(4px);
}
.history-summary-main {
  text-align: left;
}
.history-summary-main span, .history-summary-stat span {
  display: block;
  color: #8d8579;
  font-size: .57rem;
  letter-spacing: .13em;
}
.history-summary-main strong {
  display: block;
  margin-top: 4px;
  color: #d8b36a;
  font-family: "Cinzel",serif;
  font-size: 2rem;
  font-weight: 400;
}
.history-summary-stat {
  text-align: center;
}
.history-summary-stat strong {
  display: block;
  margin-top: 5px;
  color: #ddd2bf;
  font-family: "Cinzel",serif;
  font-size: 1.25rem;
  font-weight: 400;
}
.history-summary-stat.history-win strong {
  color: #9fc08e;
}
.history-summary-stat.history-loss strong {
  color: #c8897f;
}
.history-games {
  padding: 25px;
  background: linear-gradient( 145deg, rgba(22,19,16,.87), rgba(29,25,21,.77) );
  border: 1px solid rgba(190,160,95,.20);
  border-radius: 12px;
  box-shadow: 0 16px 35px rgba(0,0,0,.28);
  backdrop-filter: blur(5px);
}
.history-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.history-section-kicker {
  color: #d8b36a;
  font-size: .58rem;
  letter-spacing: .20em;
}
.history-section-header h2 {
  margin: 5px 0 0;
  color: #f1e7d5;
  font-family: "Cinzel",serif;
  font-size: 1.25rem;
  font-weight: 400;
}
.history-count {
  color: #81796e;
  font-size: .65rem;
}
.history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.history-game-card {
  display: block;
  padding: 17px;
  color: inherit;
  text-decoration: none;
  background: rgba(255,255,255,.018);
  border: 1px solid rgba(190,160,95,.10);
  border-radius: 9px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.history-game-card:hover {
  background: rgba(190,160,95,.045);
  border-color: rgba(190,160,95,.25);
  transform: translateX(2px);
}
.history-game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(190,160,95,.08);
}
.history-game-meta span {
  color: #777067;
  font-size: .57rem;
}
.history-game-meta .history-game-campaign {
  color: #b8aa96;
  font-family: "Cinzel",serif;
  font-size: .68rem;
}
.history-game-content {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: center;
}
.history-game-territory span {
  display: block;
  color: #71695f;
  font-size: .52rem;
  letter-spacing: .15em;
}
.history-game-territory strong {
  display: block;
  margin-top: 5px;
  color: #e3d9c8;
  font-family: "Cinzel",serif;
  font-size: .80rem;
  font-weight: 400;
}
.history-game-battle {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  gap: 15px;
  align-items: center;
}
.history-player {
  display: flex;
  align-items: center;
  gap: 11px;
}
.history-player-opponent {
  justify-content: flex-end;
  text-align: right;
}
.history-player img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow( 0 3px 6px rgba(0,0,0,.55) );
}
.history-player strong {
  display: block;
  color: #eee5d7;
  font-family: "Cinzel",serif;
  font-size: .76rem;
  font-weight: 400;
}
.history-player span {
  display: block;
  margin-top: 3px;
  color: #777067;
  font-size: .57rem;
}
.history-score {
  text-align: center;
}
.history-score > strong {
  display: block;
  color: #ddd2bf;
  font-family: "Cinzel",serif;
  font-size: 1.35rem;
  font-weight: 400;
}
.history-result {
  display: inline-block;
  margin-top: 4px;
  font-size: .56rem;
  letter-spacing: .10em;
}
.history-result.is-win {
  color: #9fc08e;
}
.history-result.is-loss {
  color: #c8897f;
}
.history-result.is-draw {
  color: #aaa197;
}
.history-game-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid rgba(190,160,95,.08);
}
.history-game-footer span {
  color: #9b927f;
  font-size: .58rem;
}
.history-game-footer time {
  color: #686158;
  font-size: .56rem;
}
.history-empty {
  padding: 45px 20px;
  text-align: center;
  border: 1px dashed rgba(190,160,95,.16);
  border-radius: 9px;
}
.history-empty-icon {
  margin-bottom: 12px;
  color: #d8b36a;
  font-size: 1.7rem;
}
.history-empty h3 {
  margin: 0;
  color: #eee5d7;
  font-family: "Cinzel",serif;
  font-size: .95rem;
  font-weight: 400;
}
.history-empty p {
  margin: 6px 0 0;
  color: #81796e;
  font-size: .68rem;
}
@media (max-width:850px) {
  .history-summary {
    grid-template-columns: repeat(2,1fr);
  }
  .history-summary-main {
    grid-column: 1 / -1;
  }
  .history-game-content {
    grid-template-columns: 1fr;
  }
  .history-game-battle {
    grid-template-columns: 1fr 90px 1fr;
  }
}
@media (max-width:600px) {
  .history-container {
    width: calc(100% - 32px);
  }
  .history-page {
    padding: 30px 0 55px;
  }
  .history-games {
    padding: 18px;
  }
  .history-summary {
    grid-template-columns: repeat(2,1fr);
  }
  .history-game-battle {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .history-player, .history-player-opponent {
    justify-content: flex-start;
    text-align: left;
  }
  .history-score {
    text-align: left;
  }
  .history-game-meta, .history-game-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}
.history-main {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.wizard-page {
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 50px 0 70px;
  background: linear-gradient( rgba(8, 7, 6, .72), rgba(12, 10, 8, .88) ), url("/images/ui/conflicts-background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #e8dfcf;
}
.wizard-container {
  width: min( 1050px, calc(100% - 60px) );
  margin: 0 auto;
}
.wizard-kicker {
  margin-bottom: 8px;
  color: #d8b36a;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.wizard-title {
  margin: 0;
  color: #f3ead8;
  font-family: "Cinzel", serif;
  font-size: clamp( 2rem, 4vw, 3rem );
  font-weight: 400;
  line-height: 1.15;
}
.wizard-subtitle {
  margin: 10px 0 32px;
  color: #9d9488;
  font-size: .82rem;
  line-height: 1.6;
}
.wizard-section {
  margin-bottom: 18px;
  padding: 25px;
  background: linear-gradient( 145deg, rgba(25, 22, 18, .90), rgba(34, 29, 24, .80) );
  border: 1px solid rgba(190, 160, 95, .20);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .25);
  backdrop-filter: blur(5px);
}
.wizard-section-kicker {
  margin-bottom: 5px;
  color: #d8b36a;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .20em;
  text-transform: uppercase;
}
.wizard-section h2 {
  margin: 0 0 20px;
  color: #f1e7d5;
  font-family: "Cinzel", serif;
  font-size: 1.25rem;
  font-weight: 400;
}
.wizard-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wizard-field label {
  color: #b9afa1;
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wizard-textarea {
  width: 100%;
  min-height: 180px;
  padding: 15px 16px;
  box-sizing: border-box;
  resize: vertical;
  background: rgba(8, 7, 6, .58);
  border: 1px solid rgba(190, 160, 95, .20);
  border-radius: 8px;
  color: #e8dfcf;
  font-family: "Inter", sans-serif;
  font-size: .82rem;
  line-height: 1.65;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.wizard-textarea::placeholder {
  color: #6f685f;
}
.wizard-textarea:focus {
  outline: none;
  background: rgba(8, 7, 6, .70);
  border-color: rgba(190, 160, 95, .42);
  box-shadow: 0 0 0 2px rgba(190, 160, 95, .06);
}
.wizard-rules-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wizard-rule {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 16px;
  box-sizing: border-box;
  cursor: pointer;
  background: rgba(255, 255, 255, .018);
  border: 1px solid rgba(190, 160, 95, .12);
  border-radius: 9px;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.wizard-rule:hover {
  background: rgba(190, 160, 95, .045);
  border-color: rgba(190, 160, 95, .25);
  transform: translateY(-1px);
}
.wizard-rule input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex-shrink: 0;
  background: rgba(5, 5, 4, .55);
  border: 1px solid rgba(190, 160, 95, .35);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}
.wizard-rule input[type="checkbox"]:checked {
  background: rgba(190, 160, 95, .85);
  border-color: rgba(190, 160, 95, 1);
}
.wizard-rule input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1713;
  font-size: .72rem;
  font-weight: 700;
}
.wizard-rule-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.wizard-rule-content strong {
  color: #eee5d7;
  font-family: "Cinzel", serif;
  font-size: .78rem;
  font-weight: 400;
}
.wizard-rule-content small {
  color: #81796e;
  font-size: .66rem;
  line-height: 1.55;
}
.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 22px;
}
.wizard-secondary-button, .wizard-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  box-sizing: border-box;
  border-radius: 8px;
  font-family: "Cinzel", serif;
  font-size: .70rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.wizard-secondary-button {
  background: rgba(255, 255, 255, .015);
  border: 1px solid rgba(190, 160, 95, .20);
  color: #aaa093;
}
.wizard-secondary-button:hover {
  background: rgba(190, 160, 95, .045);
  border-color: rgba(190, 160, 95, .32);
  color: #d3c1a2;
  transform: translateY(-1px);
}
.wizard-primary-button {
  border: 1px solid rgba(190, 160, 95, .55);
  background: rgba(190, 160, 95, .08);
  color: #dfc381;
}
.wizard-primary-button:hover {
  background: rgba(190, 160, 95, .15);
  border-color: rgba(190, 160, 95, .75);
  color: #f0d594;
  transform: translateY(-1px);
}
.wizard-field .form-error-message, .wizard-field ul {
  margin: 0;
  padding: 0;
  color: #c8897f;
  font-size: .65rem;
  list-style: none;
}
@media (max-width: 700px) {
  .wizard-page {
    padding: 30px 0 50px;
  }
  .wizard-container {
    width: calc(100% - 32px);
  }
  .wizard-section {
    padding: 20px;
  }
  .wizard-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .wizard-secondary-button, .wizard-primary-button {
    width: 100%;
  }
}
.campaign-rules-page {
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 46px 0 70px;
  color: #e8dfcf;
  background: linear-gradient( rgba(8, 7, 6, .74), rgba(12, 10, 8, .88) ), url("/images/ui/conflicts-background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.campaign-rules-container {
  width: min(1050px, calc(100% - 60px));
  margin: 0 auto;
}
.campaign-rules-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}
.campaign-rules-kicker {
  margin-bottom: 8px;
  color: #d8b36a;
  font-size: .60rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.campaign-rules-title, .campaign-rules-header h1 {
  margin: 0;
  color: #f2e9d8;
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
  text-shadow: 0 3px 12px rgba(0,0,0,.55);
}
.campaign-rules-subtitle, .campaign-rules-header p {
  margin: 10px 0 0;
  color: #928a80;
  font-size: .80rem;
  line-height: 1.55;
}
.campaign-rules-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  box-sizing: border-box;
  border: 1px solid rgba(190,160,95,.38);
  border-radius: 8px;
  background: rgba(190,160,95,.05);
  color: #d8c083;
  font-family: "Cinzel", serif;
  font-size: .68rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.campaign-rules-back:hover {
  background: rgba(190,160,95,.10);
  border-color: rgba(190,160,95,.58);
  color: #edd69b;
  transform: translateY(-1px);
}
.campaign-rules-section {
  margin-top: 18px;
  padding: 25px;
  background: linear-gradient( 145deg, rgba(22, 19, 16, .87), rgba(30, 26, 22, .77) );
  border: 1px solid rgba(190,160,95,.20);
  border-radius: 12px;
  box-shadow: 0 16px 35px rgba(0,0,0,.28);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.campaign-rules-section-kicker {
  margin-bottom: 7px;
  color: #d8b36a;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .20em;
  text-transform: uppercase;
}
.campaign-rules-section-title, .campaign-rules-section h2 {
  margin: 0 0 18px;
  color: #f1e7d5;
  font-family: "Cinzel", serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
}
.campaign-rules-description {
  margin: 14px 0 0;
  padding: 18px;
  background: rgba(255,255,255,.018);
  border: 1px solid rgba(190,160,95,.10);
  border-radius: 9px;
  color: #c1b8aa;
  font-size: .82rem;
  line-height: 1.75;
}
.campaign-rules-empty {
  padding: 18px;
  color: #766e64;
  font-size: .72rem;
  font-style: italic;
  background: rgba(255,255,255,.012);
  border-radius: 8px;
}
.campaign-rules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}
.campaign-rule-card {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 8px;
  padding: 18px;
  background: rgba(8,7,6,.34);
  border: 1px solid rgba(190,160,95,.18);
  border-radius: 10px;
}
.campaign-rule-card-label {
  color: #a89f93;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .15em;
  line-height: 1.35;
  text-transform: uppercase;
}
.campaign-rule-card-value {
  margin-top: 2px;
  color: #f4ecdd;
  font-family: "Cinzel", serif;
  font-size: 1.55rem;
  line-height: 1;
}
.campaign-rule-card-value span {
  margin-left: 5px;
  color: #aaa194;
  font-family: Inter, sans-serif;
  font-size: .75rem;
  font-weight: 400;
}
.campaign-rule-card-help {
  margin-top: 2px;
  color: #978f84;
  font-size: .72rem;
  line-height: 1.55;
}
.campaign-rule-state {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
  padding: 17px 18px;
  background: rgba(8,7,6,.32);
  border: 1px solid rgba(190,160,95,.18);
  border-radius: 10px;
}
.campaign-rule-state-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(190,160,95,.28);
  border-radius: 50%;
  background: rgba(190,160,95,.06);
  color: #d8b36a;
  font-size: 1rem;
}
.campaign-rule-state strong {
  display: block;
  color: #efe6d8;
  font-family: "Cinzel", serif;
  font-size: .92rem;
  font-weight: 500;
}
.campaign-rule-state p {
  margin: 5px 0 0;
  color: #aba297;
  font-size: .76rem;
  line-height: 1.55;
}
.campaign-rules-note {
  margin-top: 12px;
  color: #887f74;
  font-size: .68rem;
  line-height: 1.5;
}
.campaign-rules-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.campaign-rule-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(190,160,95,.22);
  border-radius: 8px;
  background: rgba(190,160,95,.04);
  color: #d8b36a;
  font-size: .85rem;
}
.campaign-rule-content {
  flex: 1;
}
.campaign-rule-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.campaign-rule-title-row h3 {
  margin: 0;
  color: #eee5d7;
  font-family: "Cinzel", serif;
  font-size: .82rem;
  font-weight: 400;
}
.campaign-rule-content p {
  margin: 6px 0 0;
  color: #81796e;
  font-size: .67rem;
  line-height: 1.55;
}
.campaign-rule-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: .52rem;
  font-weight: 600;
  letter-spacing: .10em;
  white-space: nowrap;
}
.campaign-rule-status.is-active {
  color: #a9c499;
  background: rgba(105,145,90,.10);
  border: 1px solid rgba(105,145,90,.24);
}
.campaign-rule-status.is-disabled {
  color: #7d766d;
  background: rgba(120,115,105,.06);
  border: 1px solid rgba(120,115,105,.16);
}
.campaign-rules-footer {
  margin-top: 18px;
  color: #625b53;
  font-size: .60rem;
  text-align: right;
}
.campaign-rules-main {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@media (max-width: 720px) {
  .campaign-rules-page {
    padding: 28px 0 55px;
  }
  .campaign-rules-container {
    width: calc(100% - 32px);
  }
  .campaign-rules-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .campaign-rules-back {
    width: 100%;
  }
  .campaign-rules-section {
    padding: 21px 18px;
  }
  .campaign-rule-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 480px) {
  .campaign-rules-page {
    padding: 22px 0 40px;
  }
  .campaign-rules-container {
    width: calc(100% - 24px);
  }
  .campaign-rules-section {
    padding: 18px 14px;
    border-radius: 10px;
  }
  .campaign-rules-section-title, .campaign-rules-section h2 {
    font-size: 1.08rem;
  }
  .campaign-rule-card {
    padding: 15px;
  }
  .campaign-rule-card-value {
    font-size: 1.35rem;
  }
  .campaign-rule-state {
    gap: 10px;
    padding: 15px;
  }
}
.wizard-form {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}
.wizard-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.wizard-field label {
  color: #b9afa1;
  font-family: "Cinzel", serif;
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wizard-field input, .wizard-field select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  box-sizing: border-box;
  background: rgba(8, 7, 6, .58);
  border: 1px solid rgba(190, 160, 95, .20);
  border-radius: 8px;
  color: #e8dfcf;
  font-family: "Inter", sans-serif;
  font-size: .82rem;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.wizard-field input::placeholder {
  color: #6f685f;
}
.wizard-field input:focus, .wizard-field select:focus {
  outline: none;
  background: rgba(8, 7, 6, .72);
  border-color: rgba(190, 160, 95, .45);
  box-shadow: 0 0 0 2px rgba(190, 160, 95, .06);
}
.wizard-turns-field {
  max-width: 220px;
}
.wizard-turns-field input {
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 1rem;
}
.wizard-turns-field input[type="number"] {
  appearance: textfield;
}
.wizard-turns-field input[type="number"]::-webkit-inner-spin-button, .wizard-turns-field input[type="number"]::-webkit-outer-spin-button {
  opacity: .7;
}
.wizard-help {
  margin-top: 2px;
  color: #746d64;
  font-size: .65rem;
  line-height: 1.5;
}
.wizard-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}
.wizard-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(190, 160, 95, .55);
  border-radius: 8px;
  background: rgba(190, 160, 95, .08);
  color: #dfc381;
  font-family: "Cinzel", serif;
  font-size: .70rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.wizard-primary-button:hover {
  background: rgba(190, 160, 95, .15);
  border-color: rgba(190, 160, 95, .75);
  color: #f0d594;
  transform: translateY(-1px);
}
.wizard-field .form-error-message, .wizard-field ul {
  margin: 0;
  padding: 0;
  color: #c77e74;
  font-size: .65rem;
  list-style: none;
}
@media (max-width: 600px) {
  .wizard-form {
    width: calc(100% - 32px);
  }
  .wizard-turns-field {
    max-width: none;
  }
  .wizard-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .wizard-primary-button {
    width: 100%;
  }
}
.wizard-field-checkbox {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(190, 160, 95, .18);
  border-radius: 10px;
  background: rgba(190, 160, 95, .035);
}
.wizard-field-checkbox > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wizard-field-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #b89c63;
  cursor: pointer;
}
.wizard-field-checkbox label {
  margin: 0;
  color: #eee6d8;
  font-family: "Cinzel", serif;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
}
.wizard-field-checkbox .wizard-field-help {
  margin-left: 28px;
  color: #817a70;
  font-size: .63rem;
  line-height: 1.5;
}
.wizard-team-form-page {
  min-height: 100vh;
  padding: 40px 20px;
  background: var(--campaign-bg);
  color: var(--campaign-text);
}
.wizard-team-form-container {
  width: min(820px, 100%);
  margin: 0 auto;
}
.wizard-team-form-header {
  margin-bottom: 28px;
}
.wizard-team-form-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  color: var(--campaign-muted);
  font-size: .68rem;
  text-decoration: none;
  transition: color .2s ease;
}
.wizard-team-form-back:hover {
  color: #dfc381;
}
.wizard-team-form-kicker {
  margin-bottom: 6px;
  color: #d8b36a;
  font-size: .62rem;
  letter-spacing: .20em;
  text-transform: uppercase;
}
.wizard-team-form-header h1 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 1.9rem;
  color: #f2ede0;
}
.wizard-team-form-header p {
  margin: 8px 0 0;
  color: var(--campaign-muted);
  font-size: .72rem;
}
.wizard-team-form-card {
  padding: 24px;
  border: 1px solid var(--campaign-border);
  border-radius: 14px;
  background: linear-gradient( 180deg, rgba(255,255,255,.025), rgba(255,255,255,.01) );
}
.wizard-team-form-field {
  margin-bottom: 24px;
}
.wizard-team-form-label {
  display: block;
  margin-bottom: 8px;
  color: #b9afa1;
  font-family: "Cinzel", serif;
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wizard-team-form-help {
  margin: -2px 0 12px;
  color: var(--campaign-muted);
  font-size: .65rem;
  line-height: 1.5;
}
.wizard-team-form-input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  box-sizing: border-box;
  background: rgba(8,7,6,.58);
  border: 1px solid rgba(190,160,95,.20);
  border-radius: 8px;
  color: #e8dfcf;
  font-family: "Inter", sans-serif;
  font-size: .82rem;
  outline: none;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.wizard-team-form-input::placeholder {
  color: #6f685f;
}
.wizard-team-form-input:focus {
  background: rgba(8,7,6,.72);
  border-color: rgba(190,160,95,.45);
  box-shadow: 0 0 0 2px rgba(190,160,95,.06);
}
.wizard-team-color-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wizard-team-form-color {
  width: 64px;
  height: 42px;
  padding: 3px;
  border: 1px solid rgba(190,160,95,.20);
  border-radius: 8px;
  background: #161411;
  cursor: pointer;
}
.wizard-emblem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}
.wizard-emblem-choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.wizard-emblem-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.wizard-emblem-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 12px;
  border: 1px solid rgba(190,160,95,.16);
  border-radius: 10px;
  background: rgba(255,255,255,.018);
  transition: border-color .2s ease, background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.wizard-emblem-choice:hover .wizard-emblem-card {
  border-color: rgba(190,160,95,.40);
  background: rgba(190,160,95,.035);
  transform: translateY(-2px);
}
.wizard-emblem-radio:checked + .wizard-emblem-card {
  border-color: rgba(216,179,106,.75);
  background: rgba(190,160,95,.07);
  box-shadow: 0 0 0 2px rgba(190,160,95,.10), 0 8px 20px rgba(0,0,0,.20);
}
.wizard-emblem-image {
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wizard-emblem-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wizard-emblem-empty {
  color: var(--campaign-muted);
  font-size: 1.6rem;
}
.wizard-emblem-name {
  width: 100%;
  margin-top: 9px;
  color: #d9d2c5;
  font-size: .62rem;
  line-height: 1.3;
  text-align: center;
}
.wizard-team-form-field ul {
  margin: 6px 0 0;
  padding: 0;
  color: #c77e74;
  font-size: .65rem;
  list-style: none;
}
.wizard-team-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--campaign-border);
}
.wizard-team-form-cancel, .wizard-team-form-submit {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-family: "Cinzel", serif;
  font-size: .68rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.wizard-team-form-cancel {
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  color: var(--campaign-muted);
}
.wizard-team-form-cancel:hover {
  color: #eee6d8;
  border-color: rgba(255,255,255,.18);
}
.wizard-team-form-submit {
  border: 1px solid rgba(190,160,95,.55);
  background: rgba(190,160,95,.08);
  color: #dfc381;
}
.wizard-team-form-submit:hover {
  border-color: rgba(190,160,95,.75);
  background: rgba(190,160,95,.15);
  color: #f0d594;
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .wizard-team-form-page {
    padding: 24px 14px;
  }
  .wizard-team-form-card {
    padding: 18px;
  }
  .wizard-emblem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .wizard-emblem-image {
    width: 64px;
    height: 64px;
  }
  .wizard-team-form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .wizard-team-form-cancel, .wizard-team-form-submit {
    width: 100%;
  }
}
.campaign-statistics-page {
  min-height: 100vh;
  padding: 55px 30px 70px;
  box-sizing: border-box;
}
.campaign-statistics-container {
  width: min(1100px, 100%);
  margin: 0 auto;
}
.campaign-statistics-header {
  margin-bottom: 30px;
}
.campaign-statistics-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: #b8ad9b;
  font-family: "Cinzel", serif;
  font-size: .68rem;
  text-decoration: none;
}
.campaign-statistics-back:hover {
  color: #dfc381;
}
.campaign-statistics-kicker, .campaign-statistics-section-kicker {
  color: #bea05f;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .20em;
  text-transform: uppercase;
}
.campaign-statistics-header h1 {
  margin: 7px 0 5px;
  color: #eee6d8;
  font-family: "Cinzel", serif;
  font-size: 2rem;
  font-weight: 400;
}
.campaign-statistics-header p {
  margin: 0;
  color: #817a70;
}
.campaign-statistics-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 22px;
  padding: 24px 26px;
  border: 1px solid rgba(190,160,95,.28);
  border-radius: 14px;
  background: linear-gradient( 180deg, rgba(255,255,255,.035), rgba(255,255,255,.015) );
  box-shadow: 0 15px 35px rgba(0,0,0,.18);
}
.campaign-statistics-label {
  display: block;
  color: #8d8478;
  font-size: .60rem;
  letter-spacing: .18em;
}
.campaign-statistics-hero-main strong {
  display: block;
  margin-top: 5px;
  color: #f2ede0;
  font-family: "Cinzel", serif;
  font-size: 2.2rem;
  font-weight: 400;
}
.campaign-statistics-hero-main strong small {
  color: #9f8a5d;
  font-size: 1rem;
}
.campaign-statistics-finished {
  padding: 9px 13px;
  border: 1px solid rgba(96,160,111,.28);
  border-radius: 999px;
  background: rgba(96,160,111,.07);
  color: #8fd0a0;
  font-size: .62rem;
  letter-spacing: .08em;
}
.campaign-statistics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 35px;
}
.campaign-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 16px;
  border: 1px solid rgba(190,160,95,.15);
  border-radius: 12px;
  background: rgba(255,255,255,.02);
  text-align: center;
}
.campaign-stat-card > span {
  margin-bottom: 8px;
  color: #bea05f;
  font-size: 1rem;
}
.campaign-stat-card strong {
  color: #eee6d8;
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  font-weight: 400;
}
.campaign-stat-card small {
  margin-top: 4px;
  color: #777167;
  font-size: .60rem;
  text-transform: uppercase;
  letter-spacing: .10em;
}
.campaign-statistics-section {
  margin-top: 32px;
}
.campaign-statistics-section h2 {
  margin: 7px 0 18px;
  color: #eee6d8;
  font-family: "Cinzel", serif;
  font-size: 1.45rem;
  font-weight: 400;
}
.campaign-statistics-team-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.campaign-statistics-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border: 1px solid rgba(190,160,95,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.018);
}
.campaign-statistics-team-main {
  display: flex;
  align-items: center;
  gap: 13px;
}
.campaign-statistics-team-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
.campaign-statistics-team-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.campaign-statistics-team-main strong {
  display: block;
  color: #eee6d8;
  font-family: "Cinzel", serif;
  font-size: .95rem;
  font-weight: 400;
}
.campaign-statistics-team-main span {
  display: block;
  margin-top: 3px;
  color: #827a6f;
  font-size: .67rem;
}
.campaign-statistics-team-resources {
  text-align: right;
}
.campaign-statistics-team-resources strong {
  display: block;
  color: #dfc381;
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
  font-weight: 400;
}
.campaign-statistics-team-resources span {
  color: #746d64;
  font-size: .58rem;
  text-transform: uppercase;
}
.campaign-statistics-turn-list {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(190,160,95,.14);
  border-radius: 12px;
  overflow: hidden;
}
.campaign-statistics-turn {
  display: grid;
  grid-template-columns: 55px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(190,160,95,.10);
}
.campaign-statistics-turn:last-child {
  border-bottom: none;
}
.campaign-statistics-turn-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(190,160,95,.22);
  border-radius: 8px;
  color: #dfc381;
  font-family: "Cinzel", serif;
}
.campaign-statistics-turn-content strong {
  display: block;
  color: #eee6d8;
  font-family: "Cinzel", serif;
  font-size: .82rem;
  font-weight: 400;
}
.campaign-statistics-turn-content span {
  display: block;
  margin-top: 3px;
  color: #766f65;
  font-size: .63rem;
}
.campaign-statistics-turn-status {
  color: #82c896;
  font-size: .60rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
@media (max-width: 850px) {
  .campaign-statistics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .campaign-statistics-page {
    padding: 30px 15px 50px;
  }
  .campaign-statistics-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .campaign-statistics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .campaign-statistics-turn {
    grid-template-columns: 45px 1fr;
  }
  .campaign-statistics-turn-status {
    grid-column: 2;
  }
}
.mercenary-page {
  min-height: 100vh;
  padding: 34px;
  background: radial-gradient( circle at top, rgba(184,156,99,.08), transparent 32% ), var(--campaign-bg);
  color: var(--campaign-text);
}
.mercenary-header {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.mercenary-kicker {
  color: #d8b36a;
  font-size: .65rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.mercenary-title {
  margin: 5px 0 0;
  font-family: "Cinzel", serif;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .01em;
  color: #f4ecdc;
  text-shadow: 0 2px 12px rgba(0,0,0,.65);
}
.mercenary-subtitle {
  margin-top: 10px;
  max-width: 720px;
  color: #c9c0b2;
  font-size: .9rem;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
}
.mercenary-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--campaign-border-light);
  border-radius: 8px;
  color: #ddc385;
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: .72rem;
}
.mercenary-card {
  width: min(1100px, calc(100% - 40px));
  max-width: 1100px;
  margin: 28px auto 0;
  padding: 38px 42px;
  box-sizing: border-box;
  border: 1px solid rgba(190,160,95,.38);
  border-radius: 16px;
  background: linear-gradient( 180deg, rgba(39,36,30,.91), rgba(24,22,19,.95) );
  box-shadow: 0 25px 70px rgba(0,0,0,.55), 0 0 35px rgba(0,0,0,.18);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.mercenary-section-header {
  margin-bottom: 26px;
}
.mercenary-section-header h2 {
  margin: 6px 0 10px;
  font-family: "Cinzel", serif;
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: #f2ede0;
}
.mercenary-section-header p {
  margin: 0;
  max-width: 760px;
  color: #c3bbad;
  font-size: .84rem;
  line-height: 1.6;
}
.mercenary-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.mercenary-team-option {
  position: relative;
  cursor: pointer;
}
.mercenary-team-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.mercenary-team-content {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 16px 18px;
  border: 1px solid rgba(190,160,95,.24);
  border-radius: 10px;
  background: rgba(12,11,9,.34);
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.mercenary-team-option:hover .mercenary-team-content {
  border-color: rgba(190,160,95,.42);
  background: rgba(190,160,95,.04);
  transform: translateY(-1px);
}
.mercenary-team-option input:checked + .mercenary-team-content {
  border-color: #bea05f;
  background: rgba(190,160,95,.10);
  box-shadow: 0 0 0 1px rgba(190,160,95,.10);
}
.mercenary-team-emblem {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 50px;
  border: 1px solid rgba(190,160,95,.18);
  border-radius: 8px;
  background: rgba(0,0,0,.18);
}
.mercenary-team-emblem img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.mercenary-team-emblem span {
  color: #d8b36a;
  font-size: 1.2rem;
}
.mercenary-team-name {
  display: block;
  color: #f4ecdc;
  font-family: "Cinzel", serif;
  font-size: 1.02rem;
  letter-spacing: .01em;
}
.mercenary-team-help {
  display: block;
  margin-top: 5px;
  color: #aaa194;
  font-size: .72rem;
}
.mercenary-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(190,160,95,.10);
}
.mercenary-submit {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--campaign-border-light);
  border-radius: 8px;
  background: rgba(190,160,95,.08);
  color: #dfc381;
  font-family: "Cinzel", serif;
  font-size: .72rem;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.mercenary-submit:hover {
  background: rgba(190,160,95,.16);
  transform: translateY(-1px);
}
.mercenary-message {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(190,160,95,.22);
  border-radius: 10px;
  background: rgba(12,11,9,.34);
}
.mercenary-message-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 50px;
  border: 1px solid rgba(190,160,95,.20);
  border-radius: 9px;
  color: #d8b36a;
  font-size: 1.2rem;
}
.mercenary-message h2 {
  margin: 0;
  color: #f2ede0;
  font-family: "Cinzel", serif;
  font-size: 1rem;
  font-weight: 400;
}
.mercenary-message p {
  margin: 6px 0 0;
  color: var(--campaign-muted);
  font-size: .72rem;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .mercenary-page {
    padding: 20px 14px;
  }
  .mercenary-header {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }
  .mercenary-card {
    width: 100%;
    padding: 26px 22px;
  }
  .mercenary-team-grid {
    grid-template-columns: 1fr;
  }
  .mercenary-actions {
    justify-content: stretch;
  }
  .mercenary-submit {
    width: 100%;
  }
}
.mercenary-main {
  width: 100%;
  min-height: 100vh;
  padding: 0 !important;
}
.mercenary-page {
  width: 100%;
  min-height: 100vh;
  padding: 34px;
  box-sizing: border-box;
  background: linear-gradient( rgba(10, 9, 7, .42), rgba(10, 9, 7, .68) ), url('/images/ui/mercenary-bg.webp') center / cover no-repeat fixed;
  color: #eee;
}
.home-main {
  width: 100%;
  min-height: 100vh;
  padding: 0 !important;
}
.home-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient( rgba(8,7,6,.55), rgba(12,10,8,.70) ), url("/images/home/home-background.webp") center / cover fixed no-repeat;
  color: #e8dfcf;
}
.home-background-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient( circle at 50% 18%, rgba(190,160,95,.10), transparent 32% );
}
.home-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(190,160,95,.13);
}
.home-logo {
  display: block;
}
.home-logo img {
  display: block;
  width: 190px;
  max-width: 42vw;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.45));
}
.home-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.home-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(190,160,95,.28);
  border-radius: 7px;
  color: #c7bcac;
  font-family: "Cinzel", serif;
  font-size: .62rem;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.home-nav-button:hover {
  transform: translateY(-1px);
  border-color: rgba(216,179,106,.52);
  color: #ead9ae;
}
.home-nav-button-muted {
  background: rgba(255,255,255,.018);
}
.home-nav-button-primary {
  background: rgba(190,160,95,.08);
}
.home-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr);
  align-items: center;
  gap: 48px;
  width: min(1180px, calc(100% - 48px));
  min-height: 620px;
  margin: 0 auto;
}
.home-kicker {
  margin-bottom: 10px;
  color: #d8b36a;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.home-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #f1e9db;
  font-family: "Cinzel", serif;
  font-size: clamp( 3rem, 6vw, 5.3rem );
  font-weight: 400;
  line-height: .98;
  text-shadow: 0 5px 28px rgba(0,0,0,.55);
}
.home-hero-intro {
  max-width: 650px;
  margin: 25px 0 0;
  color: #aba195;
  font-size: .92rem;
  line-height: 1.75;
}
.home-hero-actions, .home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-family: "Cinzel", serif;
  font-size: .64rem;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.home-button:hover {
  transform: translateY(-1px);
}
.home-button-primary {
  border: 1px solid rgba(216,179,106,.58);
  background: rgba(190,160,95,.11);
  color: #ead9ae;
}
.home-button-primary:hover {
  background: rgba(190,160,95,.17);
  border-color: rgba(216,179,106,.82);
  color: #f5e7c6;
}
.home-button-secondary {
  border: 1px solid rgba(190,160,95,.20);
  background: rgba(255,255,255,.018);
  color: #9f968b;
}
.home-button-secondary:hover {
  border-color: rgba(190,160,95,.38);
  color: #c5b9a9;
}
.home-hero-emblem {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.home-hero-emblem-ring {
  position: absolute;
  width: min(390px, 34vw);
  aspect-ratio: 1;
  border: 1px solid rgba(190,160,95,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(190,160,95,.018), 0 0 80px rgba(190,160,95,.08);
}
.home-hero-emblem img {
  position: relative;
  width: min(350px, 32vw);
  max-width: 100%;
  opacity: .92;
  filter: drop-shadow(0 22px 45px rgba(0,0,0,.55));
}
.home-section, .home-feature-section, .home-cta {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
.home-section {
  padding: 85px 0;
}
.home-section-heading {
  max-width: 750px;
  margin-bottom: 35px;
}
.home-section-heading h2, .home-feature-content h2, .home-cta h2 {
  margin: 0;
  color: #eee5d7;
  font-family: "Cinzel", serif;
  font-size: clamp( 1.65rem, 3vw, 2.55rem );
  font-weight: 400;
  line-height: 1.15;
}
.home-section-heading p {
  margin: 14px 0 0;
  color: #91887d;
  font-size: .82rem;
  line-height: 1.7;
}
.home-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.home-step-card {
  position: relative;
  min-height: 220px;
  padding: 20px;
  box-sizing: border-box;
  background: linear-gradient( 145deg, rgba(27,23,19,.82), rgba(15,13,11,.88) );
  border: 1px solid rgba(190,160,95,.15);
  border-radius: 11px;
  box-shadow: 0 15px 35px rgba(0,0,0,.22);
  backdrop-filter: blur(5px);
}
.home-step-number {
  color: rgba(216,179,106,.38);
  font-family: "Cinzel", serif;
  font-size: .64rem;
  letter-spacing: .12em;
}
.home-step-icon {
  margin-top: 28px;
  color: #d8b36a;
  font-size: 1.15rem;
}
.home-step-card h3 {
  margin: 13px 0 0;
  color: #e6ddce;
  font-family: "Cinzel", serif;
  font-size: .92rem;
  font-weight: 400;
}
.home-step-card p {
  margin: 8px 0 0;
  color: #81796f;
  font-size: .70rem;
  line-height: 1.65;
}
.home-feature-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 35px 0 95px;
}
.home-feature {
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
  min-height: 290px;
  overflow: hidden;
  border: 1px solid rgba(190,160,95,.15);
  border-radius: 12px;
  background: linear-gradient( 145deg, rgba(25,22,18,.82), rgba(14,12,10,.90) );
  box-shadow: 0 18px 40px rgba(0,0,0,.24);
  backdrop-filter: blur(5px);
}
.home-feature-reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr);
}
.home-feature-reverse .home-feature-visual {
  order: 2;
}
.home-feature-reverse .home-feature-content {
  order: 1;
}
.home-feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 290px;
  border-right: 1px solid rgba(190,160,95,.12);
  background: radial-gradient( circle, rgba(190,160,95,.09), transparent 62% );
}
.home-feature-reverse .home-feature-visual {
  border-right: 0;
  border-left: 1px solid rgba(190,160,95,.12);
}
.home-feature-visual-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(190,160,95,.22);
  border-radius: 50%;
  background: rgba(190,160,95,.035);
  box-shadow: 0 0 0 14px rgba(190,160,95,.018);
  color: #d8b36a;
  font-size: 2.1rem;
}
.home-feature-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}
.home-feature-content p {
  max-width: 700px;
  margin: 15px 0 0;
  color: #91887d;
  font-size: .79rem;
  line-height: 1.75;
}
.home-feature-points {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}
.home-feature-points span {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(190,160,95,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.014);
  color: #a89e91;
  font-size: .58rem;
  letter-spacing: .03em;
}
.home-cycle-section {
  padding: 70px 0 95px;
}
.home-cycle {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 35px;
}
.home-cycle-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border: 1px solid rgba(190,160,95,.13);
  border-radius: 10px;
  background: rgba(255,255,255,.014);
}
.home-cycle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(190,160,95,.22);
  border-radius: 8px;
  color: #d8b36a;
}
.home-cycle-item span {
  display: block;
  color: #d8b36a;
  font-size: .54rem;
  font-weight: 600;
  letter-spacing: .15em;
}
.home-cycle-item strong {
  display: block;
  margin-top: 5px;
  color: #e7ded0;
  font-family: "Cinzel", serif;
  font-size: .90rem;
  font-weight: 400;
}
.home-cycle-item p {
  margin: 6px 0 0;
  color: #827a70;
  font-size: .67rem;
  line-height: 1.55;
}
.home-cycle-line {
  width: 60px;
  height: 1px;
  background: linear-gradient( 90deg, transparent, rgba(190,160,95,.38), transparent );
}
.home-cta {
  margin-bottom: 75px;
  padding: 60px 30px;
  box-sizing: border-box;
  text-align: center;
  background: linear-gradient( 145deg, rgba(30,26,21,.78), rgba(14,12,10,.88) );
  border: 1px solid rgba(190,160,95,.20);
  border-radius: 14px;
  box-shadow: 0 22px 50px rgba(0,0,0,.28);
  backdrop-filter: blur(6px);
}
.home-cta .home-kicker {
  margin-bottom: 8px;
}
.home-cta p {
  max-width: 650px;
  margin: 13px auto 0;
  color: #8f877c;
  font-size: .78rem;
  line-height: 1.7;
}
.home-cta-actions {
  justify-content: center;
}
.home-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(190,160,95,.10);
  color: #635c54;
  font-size: .58rem;
  letter-spacing: .04em;
}
@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 80px 0 60px;
  }
  .home-hero-emblem {
    min-height: 260px;
    order: -1;
  }
  .home-hero-emblem-ring {
    width: 270px;
  }
  .home-hero-emblem img {
    width: 245px;
  }
  .home-steps {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .home-feature, .home-feature-reverse {
    grid-template-columns: 1fr;
  }
  .home-feature-visual, .home-feature-reverse .home-feature-visual {
    order: 1;
    min-height: 220px;
    border: 0;
    border-bottom: 1px solid rgba(190,160,95,.12);
  }
  .home-feature-content, .home-feature-reverse .home-feature-content {
    order: 2;
    padding: 32px;
  }
  .home-cycle {
    grid-template-columns: 1fr;
  }
  .home-cycle-line {
    width: 1px;
    height: 28px;
    margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .home-header {
    width: calc(100% - 28px);
    min-height: 74px;
  }
  .home-logo img {
    width: 145px;
  }
  .home-nav-button {
    min-height: 35px;
    padding: 0 10px;
    font-size: .55rem;
  }
  .home-page main {
    overflow: hidden;
  }
  .home-section, .home-feature-section, .home-cycle-section {
    width: calc(100% - 28px);
  }
  .home-hero {
    width: calc(100% - 28px);
    padding: 55px 0 35px;
  }
  .home-hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }
  .home-hero-intro {
    font-size: .80rem;
  }
  .home-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .home-button {
    width: 100%;
  }
  .home-hero-emblem {
    min-height: 210px;
  }
  .home-hero-emblem-ring {
    width: 205px;
  }
  .home-hero-emblem img {
    width: 185px;
  }
  .home-section {
    padding: 55px 0;
  }
  .home-steps {
    grid-template-columns: 1fr;
  }
  .home-step-card {
    min-height: auto;
  }
  .home-feature-section {
    padding: 0 0 65px;
  }
  .home-feature-content {
    padding: 25px 20px;
  }
  .home-cta {
    width: calc(100% - 28px);
    padding: 42px 18px;
  }
  .home-footer {
    width: calc(100% - 28px);
    flex-direction: column;
    gap: 5px;
  }
}
.campaign-join-rules {
  margin-bottom: 25px;
  padding: 24px;
  background: linear-gradient( 145deg, rgba(43, 39, 32, .88), rgba(28, 25, 21, .94) );
  border: 1px solid rgba(190, 160, 95, .20);
  border-radius: 12px;
}
.campaign-join-rules-header {
  margin-bottom: 18px;
}
.campaign-join-rules-kicker {
  margin-bottom: 6px;
  color: #bea05f;
  font-size: .60rem;
  font-weight: 600;
  letter-spacing: .18em;
}
.campaign-join-rules h2 {
  margin: 0;
  color: #eee5d7;
  font-family: "Cinzel", serif;
  font-size: 1.15rem;
  font-weight: 400;
}
.campaign-join-rules-description {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,.018);
  border: 1px solid rgba(190,160,95,.10);
  border-radius: 8px;
  color: #aaa196;
  font-size: .76rem;
  line-height: 1.65;
}
.campaign-join-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.campaign-join-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  background: rgba(8,7,6,.25);
  border: 1px solid rgba(190,160,95,.10);
  border-radius: 8px;
}
.campaign-join-rule-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  border: 1px solid rgba(190,160,95,.20);
  border-radius: 7px;
  color: #bea05f;
  background: rgba(190,160,95,.04);
  font-size: .85rem;
}
.campaign-join-rule span {
  display: block;
  color: #8f887e;
  font-size: .64rem;
  line-height: 1.3;
}
.campaign-join-rule strong {
  display: block;
  margin-top: 3px;
  color: #eee5d7;
  font-family: "Cinzel", serif;
  font-size: 1rem;
  font-weight: 400;
}
.campaign-join-rule strong small {
  margin-left: 3px;
  color: #898176;
  font-family: "Inter", sans-serif;
  font-size: .62rem;
  font-weight: 400;
}
.campaign-join-rules-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.campaign-join-rule-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: rgba(8,7,6,.25);
  border: 1px solid rgba(190,160,95,.10);
  border-radius: 8px;
}
.campaign-join-rule-option strong {
  display: block;
  color: #eee5d7;
  font-family: "Cinzel", serif;
  font-size: .78rem;
  font-weight: 400;
}
.campaign-join-rule-option p {
  margin: 5px 0 0;
  color: #888177;
  font-size: .68rem;
  line-height: 1.5;
}
.campaign-join-rule-enabled {
  color: #a9b891 !important;
}
@media (max-width: 650px) {
  .campaign-join-rules-grid {
    grid-template-columns: 1fr;
  }
}
.campaign-join-status {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border-radius: 9px;
}
.campaign-join-status-registration {
  background: rgba(190, 160, 95, .06);
  border: 1px solid rgba(190, 160, 95, .20);
}
.campaign-join-status-active {
  background: rgba(100, 145, 95, .07);
  border: 1px solid rgba(120, 155, 105, .22);
}
.campaign-join-status-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.campaign-join-status strong {
  color: #eee5d7;
  font-family: "Cinzel", serif;
  font-size: .82rem;
  font-weight: 400;
}
.campaign-join-status p {
  margin: 5px 0 0;
  color: #918b82;
  font-family: "Inter", sans-serif;
  font-size: .72rem;
  line-height: 1.55;
}
.campaign-join-status-date {
  margin-top: 8px !important;
}
.campaign-join-status-date strong {
  color: #bea05f;
  font-family: "Inter", sans-serif;
  font-size: .72rem;
}
.enrolement-main {
  position: relative;
  min-height: calc(100vh - 80px);
  background-image: linear-gradient( rgba(8, 8, 7, 0.68), rgba(8, 8, 7, 0.82) ), url('/images/ui/join-background.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.enrolement-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient( circle at center, transparent 20%, rgba(0, 0, 0, 0.35) 100% );
  pointer-events: none;
}
.enrolement-main > * {
  position: relative;
  z-index: 1;
}
.history-main {
  position: relative;
  min-height: calc(100vh - 80px);
  background-image: linear-gradient( rgba(10, 9, 8, 0.58), rgba(10, 9, 8, 0.82) ), url('/images/ui/history-background.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.history-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient( to bottom, rgba(8, 8, 7, 0.08) 0%, rgba(8, 8, 7, 0.18) 40%, rgba(8, 8, 7, 0.58) 100% );
  pointer-events: none;
}
.history-main > * {
  position: relative;
  z-index: 1;
}
.my-conflicts-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.my-conflicts-stat {
  min-height: 102px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(20, 19, 17, 0.72);
  border: 1px solid rgba(190, 160, 95, 0.16);
  border-radius: 8px;
}
.my-conflicts-stat-label {
  display: block;
  margin-bottom: 8px;
  color: #817a70;
  font-family: "Inter", sans-serif;
  font-size: .57rem;
  letter-spacing: .12em;
  text-align: center;
}
.my-conflicts-stat strong {
  display: block;
  color: #eee5d7;
  font-family: "Cinzel", serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
}
.my-conflicts-stat small {
  display: none;
}
.my-conflicts-stat-victory strong {
  color: #8da481;
}
.my-conflicts-stat-defeat strong {
  color: #b58d86;
}
.my-conflicts-stat-active strong {
  color: #bea05f;
}
.my-conflicts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.my-conflict-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 18px;
  padding: 17px 20px;
  background: rgba(20, 19, 17, 0.76);
  border: 1px solid rgba(190, 160, 95, 0.10);
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.my-conflict-card:hover {
  background: rgba(35, 32, 27, 0.88);
  border-color: rgba(190, 160, 95, 0.25);
  transform: translateX(3px);
}
.my-conflict-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(190, 160, 95, 0.16);
  border-radius: 50%;
  color: #bea05f;
  font-size: 1rem;
}
.my-conflict-main {
  min-width: 0;
}
.my-conflict-territory {
  margin-bottom: 5px;
  color: #eee5d7;
  font-family: "Cinzel", serif;
  font-size: .88rem;
  letter-spacing: .02em;
}
.my-conflict-teams {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9b958c;
  font-family: "Inter", sans-serif;
  font-size: .7rem;
}
.my-conflict-teams strong {
  color: #bcb5aa;
  font-weight: 500;
}
.my-conflict-teams span {
  color: #615d56;
  font-size: .58rem;
  letter-spacing: .12em;
}
.my-conflict-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  color: #625e57;
  font-family: "Inter", sans-serif;
  font-size: .58rem;
}
.my-conflict-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 14px;
  color: #48443f;
}
.my-conflict-status {
  min-width: 105px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: .58rem;
  letter-spacing: .04em;
}
.my-conflict-status.is-victory {
  color: #8da481;
  background: rgba(100, 145, 95, 0.07);
  border-color: rgba(120, 155, 105, 0.16);
}
.my-conflict-status.is-defeat {
  color: #b58d86;
  background: rgba(145, 90, 85, 0.07);
  border-color: rgba(155, 100, 95, 0.16);
}
.my-conflict-status.is-active {
  color: #bea05f;
  background: rgba(190, 160, 95, 0.07);
  border-color: rgba(190, 160, 95, 0.16);
}
.my-conflict-status.is-cancelled {
  color: #817b73;
  background: rgba(100, 95, 90, 0.08);
  border-color: rgba(120, 115, 108, 0.14);
}
.my-conflict-arrow {
  color: #665f55;
  font-size: .95rem;
  transition: color .2s ease, transform .2s ease;
}
.my-conflict-card:hover .my-conflict-arrow {
  color: #bea05f;
  transform: translateX(3px);
}
@media (max-width: 1000px) {
  .my-conflicts-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .my-conflicts-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  .my-conflicts-stats {
    grid-template-columns: 1fr 1fr;
  }
  .my-conflict-card {
    grid-template-columns: 40px minmax(0, 1fr) 20px;
    gap: 12px;
    padding: 14px;
  }
  .my-conflict-status {
    grid-column: 2;
    justify-self: start;
    min-width: auto;
  }
  .my-conflict-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}
.notifications-main {
  position: relative;
  background: linear-gradient( 90deg, rgba(20, 18, 15, .96) 0%, rgba(20, 18, 15, .88) 32%, rgba(20, 18, 15, .66) 65%, rgba(20, 18, 15, .48) 100% ), url("/images/ui/notifications-background.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: calc(100vh - 68px);
}
.notifications-page {
  width: 100%;
  padding: 45px 24px 70px;
}
.notifications-container {
  width: min(1100px, 100%);
  margin: 0 auto;
}
.notifications-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(190, 160, 95, .18);
}
.notifications-header-title {
  min-width: 0;
}
.notifications-header-title .dashboard-section-kicker {
  margin-bottom: 8px;
  color: #9d8964;
  font-family: "Cinzel", serif;
  font-size: .68rem;
  letter-spacing: .12em;
}
.notifications-header h1 {
  margin: 0;
  color: #eee8df;
  font-family: "Cinzel", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: .02em;
}
.notifications-header-title p {
  margin: 8px 0 0;
  color: #817970;
  font-size: .82rem;
}
.notifications-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.notifications-unread-count {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a99b87;
  font-size: .72rem;
}
.notifications-unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b89562;
  box-shadow: 0 0 0 3px rgba(184, 149, 98, .08);
}
.notifications-read-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(190, 160, 95, .28);
  border-radius: 7px;
  background: rgba(190, 160, 95, .06);
  color: #b89562;
  font-family: "Cinzel", serif;
  font-size: .67rem;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.notifications-read-all:hover {
  background: rgba(190, 160, 95, .12);
  border-color: rgba(190, 160, 95, .48);
  color: #d0ae78;
}
.notifications-all-read {
  color: #756e68;
  font-size: .70rem;
}
.notifications-list {
  overflow: hidden;
  background: linear-gradient( 180deg, rgba(42, 39, 34, .96), rgba(32, 29, 25, .96) );
  border: 1px solid rgba(190, 160, 95, .17);
  border-radius: 11px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, .25);
}
.notification-item-form {
  margin: 0;
  padding: 0;
}
.notification-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 100px;
  padding: 18px 22px;
  border: 0;
  border-bottom: 1px solid rgba(190, 160, 95, .10);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease;
}
.notification-item-form:last-child .notification-item {
  border-bottom: 0;
}
.notification-item:hover {
  background: rgba(190, 160, 95, .055);
}
.notification-item.is-unread {
  background: linear-gradient( 90deg, rgba(145, 115, 70, .13), rgba(145, 115, 70, .035) );
}
.notification-item.is-unread:hover {
  background: linear-gradient( 90deg, rgba(145, 115, 70, .18), rgba(145, 115, 70, .055) );
}
.notification-item-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(190, 160, 95, .20);
  border-radius: 50%;
  background: radial-gradient( circle at 35% 30%, rgba(190, 160, 95, .12), rgba(190, 160, 95, .025) );
  color: #b9a47d;
  font-size: 19px;
}
.notification-item.is-unread .notification-item-icon {
  border-color: rgba(190, 160, 95, .36);
  background: radial-gradient( circle at 35% 30%, rgba(190, 160, 95, .20), rgba(190, 160, 95, .05) );
  color: #d0b782;
}
.notification-item-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.notification-item-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.notification-item-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #dcd4c8;
  font-family: "Cinzel", serif;
  font-size: .82rem;
  font-weight: 500;
}
.notification-item.is-unread .notification-item-title {
  color: #f0e9df;
}
.notification-item-badge {
  flex-shrink: 0;
  padding: 3px 7px;
  border: 1px solid rgba(190, 160, 95, .25);
  border-radius: 999px;
  background: rgba(190, 160, 95, .08);
  color: #b89562;
  font-family: Inter, sans-serif;
  font-size: .50rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.notification-item-message {
  color: #999189;
  font-size: .76rem;
  line-height: 1.5;
}
.notification-item.is-unread .notification-item-message {
  color: #aaa39a;
}
.notification-item-date {
  color: #69635d;
  font-size: .62rem;
}
.notification-item-arrow {
  flex: 0 0 24px;
  color: #625b54;
  font-size: 1.2rem;
  transition: transform .18s ease, color .18s ease;
}
.notification-item:hover .notification-item-arrow {
  color: #b89562;
  transform: translateX(3px);
}
.notifications-list-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 20px;
  color: #625c55;
  font-size: .62rem;
  text-align: center;
}
.notifications-list-footer-separator {
  color: #8a7658;
}
.notifications-empty {
  padding: 75px 30px;
  text-align: center;
  background: linear-gradient( 180deg, rgba(42, 39, 34, .75), rgba(32, 29, 25, .75) );
  border: 1px solid rgba(190, 160, 95, .15);
  border-radius: 11px;
}
.notifications-empty-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 1px solid rgba(190, 160, 95, .22);
  border-radius: 50%;
  color: #b89562;
  font-size: 22px;
  background: rgba(190, 160, 95, .05);
}
.notifications-empty h2 {
  margin: 0 0 8px;
  color: #d8d0c4;
  font-family: "Cinzel", serif;
  font-size: 1rem;
  font-weight: 500;
}
.notifications-empty p {
  margin: 0 0 5px;
  color: #8b847c;
  font-size: .76rem;
}
.notifications-empty > span {
  color: #625c55;
  font-size: .65rem;
}
@media (max-width: 700px) {
  .notifications-page {
    padding: 30px 14px 50px;
  }
  .notifications-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .notifications-header-actions {
    width: 100%;
    justify-content: space-between;
  }
  .notification-item {
    gap: 13px;
    min-height: 90px;
    padding: 15px;
  }
  .notification-item-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .notification-item-message {
    font-size: .70rem;
  }
  .notification-item-arrow {
    display: none;
  }
  .notifications-list-footer {
    flex-direction: column;
    gap: 4px;
  }
}
@media (max-width: 480px) {
  .notifications-header-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .notifications-read-all {
    width: 100%;
    justify-content: center;
  }
  .notification-item-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .notification-item-title {
    white-space: normal;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-divide-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-divide-y-reverse: 0;
      --tw-border-style: solid;
      --tw-font-weight: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
    }
  }
}
