/* Murr Mall: design tokens and theme variables */

  /* ============ СОВРЕМЕННАЯ РЕДАКЦИОННАЯ UI-СИСТЕМА ============
     Этот слой намеренно касается только интерфейса. Сцена, свет и графика мола
     остаются на своих исходных правилах выше. */
  :root {
    /* The interface speaks Manrope, headings and text alike; Literata is kept
       for the brand, the wordmark. */
    --ui-font:"Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ui-heading-font:"Unbounded", var(--ui-font);
    --ui-heading-weight:600;
    /* Unbounded is the one loud heading on a screen; the rest stay in Manrope. */
    --ui-subheading-font:var(--ui-font);
    --ui-subheading-weight:700;
    --brand-font:"Literata", Georgia, serif;
    --ui-bg:#f6f7f9;
    --ui-surface:#ffffff;
    --ui-surface-subtle:#f0f2f5;
    --ui-text:#20242c;
    --ui-text-secondary:#667085;
    --ui-border:#e2e6ec;
    --ui-accent:#76974E;
    --ui-accent-hover:#72934C;
    --ui-accent-soft:#eef3e6;
    /* Success is the brand olive, deepened so small text on the soft tint stays legible. */
    --ui-success:#52702f;
    --ui-success-soft:#eef3e6;
    --ui-danger:#d04444;
    --ui-danger-soft:#fdf0f0;
    --ui-warning:#9a6b18;
    --ui-warning-soft:#fff8e7;
    /* A major release under «Что нового»: a warm orange, apart from the yellow warning. */
    --release-major:#b4531a;
    --release-major-soft:#fdeedf;
    --ui-focus:rgba(118, 151, 78,.22);
    --ui-shadow-sm:0 1px 2px rgba(18,24,40,.04), 0 5px 18px rgba(18,24,40,.04);
    --ui-shadow-md:0 20px 50px rgba(18,24,40,.10);
    --ui-shadow-lg:0 30px 90px rgba(18,24,40,.20);
    --ui-radius:18px;

    /* Cards: a warm paper surface, no outline; the photos carry the colour. */
    --card-surface:#fffdf9;
    --card-ink:#211f1b;
    --card-soft:#6b645a;
    --card-tint:#f1ece2;
    --card-cover:#efe9dd;
    --card-empty:#e9eedf;
    --card-rest:0 1px 0 rgba(33,31,27,.06);
    --card-lift:0 14px 30px -18px rgba(33,31,27,.38);
    --card-font:"Literata", Georgia, serif;

    /* Buttons: round pills, olive for the main action, white for the rest. */
    --pill-primary:#5f7d3c;
    --pill-primary-hover:#4d6830;
    --pill:#ffffff;
    --pill-hover:#f3f0ea;
    --pill-text:#211f1b;
    --pill-ring:0 1px 2px rgba(0,0,0,.07), inset 0 0 0 1px rgba(0,0,0,.04);
    --pill-glow:inset 0 1px 0 rgba(255,255,255,.22), 0 6px 14px -8px #3a4f25;
    --pill-danger:#b3322f;
    --pill-danger-bg:#fbe9e7;
    --pill-danger-hover:#f7dad6;
  }
  html[data-theme="dark"] {
    --ui-bg:#101319;
    --ui-surface:#181c23;
    --ui-surface-subtle:#20252e;
    --ui-text:#f2f4f7;
    --ui-text-secondary:#98a2b3;
    --ui-border:#303742;
    --ui-accent:#76974E;
    --ui-accent-hover:#72934C;
    --ui-accent-soft:rgba(114,147,76,.14);
    --ui-success:#9dbb76;
    --ui-success-soft:rgba(118,151,78,.16);
    --ui-danger:#ef6b6b;
    --ui-danger-soft:rgba(239,107,107,.13);
    --ui-warning:#e0b258;
    --ui-warning-soft:rgba(224,178,88,.13);
    --release-major:#f0a066;
    --release-major-soft:rgba(232,128,52,.16);
    --ui-focus:rgba(118,151,78,.32);
    --ui-shadow-sm:0 1px 2px rgba(0,0,0,.16), 0 8px 22px rgba(0,0,0,.14);
    --ui-shadow-md:0 22px 58px rgba(0,0,0,.34);
    --ui-shadow-lg:0 32px 96px rgba(0,0,0,.52);

    --card-surface:#1f1d1a;
    --card-ink:#f1ebe0;
    --card-soft:#b3aa9b;
    --card-tint:rgba(241,235,224,.08);
    --card-cover:#2a2620;
    --card-empty:#232a1d;
    --card-rest:0 1px 0 rgba(0,0,0,.2);
    --card-lift:0 16px 34px -18px rgba(0,0,0,.7);

    --pill-primary:#6d8c47;
    --pill-primary-hover:#7b9b53;
    --pill:#262a31;
    --pill-hover:#2f343c;
    --pill-text:#f2f4f7;
    --pill-ring:0 1px 2px rgba(0,0,0,.2), inset 0 0 0 1px rgba(255,255,255,.05);
    --pill-glow:inset 0 1px 0 rgba(255,255,255,.18), 0 6px 14px -8px #000;
    --pill-danger:#f19a90;
    --pill-danger-bg:rgba(239,107,107,.14);
    --pill-danger-hover:rgba(239,107,107,.22);
  }
