/* =====================================================================
   Near & Far Events - globe "brand" theme (matches the main calendar:
   white surfaces, slate text, indigo -> pink -> amber gradient,
   Playfair Display headings, Source Sans 3 body text).

   Only applies when <html data-theme="brand">. To return to the original
   chrome/metal look, set data-theme="metal" in globe.html (or delete the
   <link> to this file). Nothing here changes the metal theme.
   ===================================================================== */

html[data-theme="brand"]{
  --void:#f8fafc; --gun:#ffffff; --steel:#e2e8f0;
  --chrome-hi:#ffffff; --chrome-mid:#e2e8f0; --chrome-lo:#94a3b8;
  --ink:#0f172a; --text:#0f172a; --muted:#64748b; --gold:#3f86d6; --blue:#3f86d6; --red:#3f86d6; --list:#334155;
  --display:"Playfair Display",Georgia,serif;
  --body:"Source Sans 3",system-ui,-apple-system,"Segoe UI",sans-serif;
  --c1:#5ab0ff; --c2:#3f86d6; --c3:#3f86d6; --c4:#1d5fa8;
  --p1:#ffffff; --p2:#f8fafc; --p3:#f1f5f9; --p4:#f8fafc; --p5:#eaf2fb;
  --ia:#14375f; --ib:#1d5fa8; --ic:#1e1b4b; --id:#2f6fba; --d1:#3f86d6; --d2:#1d5fa8;
  --acc:#3f86d6; --accd:#1d5fa8; --accdd:#1d5fa8; --lt:#eaf2fb; --glow:63,134,214; --deep:49,46,129;
  --gradient:linear-gradient(135deg,#3f86d6 0%,#3f86d6 50%,#f59e0b 100%);
  --b-line:rgba(15,23,42,.10); --b-line-md:rgba(15,23,42,.16);
  --b-shadow:0 10px 30px rgba(15,23,42,.12),0 1px 3px rgba(15,23,42,.06);
  color-scheme:light;
}
html[data-theme="brand"],
html[data-theme="brand"] body{background:#f8fafc}
html[data-theme="brand"] body{background:radial-gradient(120% 90% at 50% 40%,#ffffff 0%,#eaf2fb 60%,#dbeafe 100%);color:var(--text)}

/* ---- surfaces: plates, side panel, mini panel ---- */
html[data-theme="brand"] .plate,
html[data-theme="brand"] .panel,
html[data-theme="brand"] .plate.mini{
  background:#ffffff;color:var(--text);
  border:1px solid var(--b-line);box-shadow:var(--b-shadow)}
html[data-theme="brand"] .panel{border-radius:16px}

/* ---- buttons ---- */
html[data-theme="brand"] .btn{
  background:#ffffff;color:var(--ink);border:1.5px solid var(--b-line-md);border-radius:10px;
  text-shadow:none;box-shadow:0 1px 2px rgba(15,23,42,.06);font-family:var(--body);font-weight:700}
html[data-theme="brand"] .btn:hover{filter:none;background:#f8fafc;border-color:#a5b4fc}
html[data-theme="brand"] .btn:active{box-shadow:inset 0 1px 3px rgba(15,23,42,.15)}
html[data-theme="brand"] .btn.red{
  background:var(--gradient);color:#ffffff;border-color:transparent;text-shadow:none;
  box-shadow:0 4px 14px rgba(63,134,214,.35)}
html[data-theme="brand"] .btn.red:hover{filter:brightness(1.05);background:var(--gradient)}

/* ---- inputs & dropdown buttons ---- */
html[data-theme="brand"] .search input,
html[data-theme="brand"] .ddbtn,
html[data-theme="brand"] .fld input,
html[data-theme="brand"] .area-c input,
html[data-theme="brand"] input[type="search"],
html[data-theme="brand"] input[type="text"],
html[data-theme="brand"] input[type="email"],
html[data-theme="brand"] input[type="tel"]{
  background:#ffffff;color:var(--ink);border:1.5px solid var(--b-line-md);box-shadow:none}
html[data-theme="brand"] .search input::placeholder,
html[data-theme="brand"] input::placeholder{color:#94a3b8}
html[data-theme="brand"] .search input:focus,
html[data-theme="brand"] .ddbtn:focus,
html[data-theme="brand"] input:focus{border-color:#3f86d6;outline:none;box-shadow:0 0 0 3px rgba(63,134,214,.18)}

/* ---- small floating bits ---- */
html[data-theme="brand"] .toast,
html[data-theme="brand"] .hint,
html[data-theme="brand"] .tag{background:#ffffff;color:var(--ink);border:1px solid var(--b-line);box-shadow:var(--b-shadow)}
html[data-theme="brand"] .tag{color:#1d5fa8}

/* ---- event card ---- */
html[data-theme="brand"] .card .cat{color:#64748b}
html[data-theme="brand"] .card h2{font-family:var(--display);font-size:19px}
html[data-theme="brand"] .card p{color:#475569}

/* ---- top location badge + wordmark ---- */
html[data-theme="brand"] .where{background:rgba(255,255,255,.96);color:var(--ink);border:1px solid var(--b-line);box-shadow:var(--b-shadow)}
html[data-theme="brand"] .where .crumb{color:#64748b}
html[data-theme="brand"] .where .here{color:var(--ink)}
html[data-theme="brand"] .where .sep{color:#3f86d6}
html[data-theme="brand"] .wpin{border-color:transparent;background:var(--gradient);box-shadow:0 2px 8px rgba(63,134,214,.4)}
html[data-theme="brand"] .wpin::after{background:#ffffff}
html[data-theme="brand"] .wlogo,
html[data-theme="brand"] .wm{font-family:var(--display);font-weight:700;letter-spacing:.06em;filter:none;
  background:var(--gradient);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
html[data-theme="brand"] .wm-rule{background:linear-gradient(90deg,#3f86d6,#3f86d6 40%,transparent)}

/* ---- side panel: header, toggles, search, day chips, list ---- */
html[data-theme="brand"] .phh,
html[data-theme="brand"] .flhead h2{font-family:var(--display);font-weight:700;font-size:17px;letter-spacing:0;color:var(--ink)}
html[data-theme="brand"] .phl .area{color:#64748b}
html[data-theme="brand"] .collapse{background:#eaf2fb;color:#2f6fba;border:1.5px solid #c7d2fe;box-shadow:none}
html[data-theme="brand"] .flscope{background:#f1f5f9}
html[data-theme="brand"] .flscope button{color:#475569}
html[data-theme="brand"] .flscope button.on{background:var(--gradient);color:#ffffff;box-shadow:0 2px 8px rgba(63,134,214,.3)}
html[data-theme="brand"] .flq{background:#ffffff;color:var(--ink);border:1.5px solid var(--b-line-md)}
html[data-theme="brand"] .flcount{color:#64748b}
html[data-theme="brand"] .fljump button{background:#ffffff;color:#64748b;border:1.5px solid var(--b-line-md)}
html[data-theme="brand"] .fljump button b{color:var(--ink)}
html[data-theme="brand"] .fljump button:hover,
html[data-theme="brand"] .fljump button:focus-visible{border-color:#3f86d6;background:#eaf2fb}
html[data-theme="brand"] .pbody,
html[data-theme="brand"] .flbody{border-top-color:var(--b-line)}
html[data-theme="brand"] .flday h3{background:#f8fafc;color:#1d5fa8;border-bottom:1px solid var(--b-line)}
html[data-theme="brand"] .flday h3 span{color:#94a3b8}
html[data-theme="brand"] .flrow{border-bottom-color:#f1f5f9;color:var(--ink)}
html[data-theme="brand"] .flrow:hover,
html[data-theme="brand"] .flrow.on{background:#eaf2fb}
html[data-theme="brand"] .flrow.on{box-shadow:inset 3px 0 0 #3f86d6}
html[data-theme="brand"] .flrow.hl{background:#fdf2f8}
html[data-theme="brand"] .fltime{color:#475569}
html[data-theme="brand"] .flwhat span,
html[data-theme="brand"] .flempty{color:#64748b}
html[data-theme="brand"] .flgo{color:#a5b4fc}
html[data-theme="brand"] .pfoot,
html[data-theme="brand"] .ddfoot{border-top-color:var(--b-line)}
html[data-theme="brand"] .flist{background:#ffffff;color:var(--ink);border:1px solid var(--b-line);box-shadow:var(--b-shadow)}
html[data-theme="brand"] .calbar{background:#ffffff;box-shadow:0 1px 0 var(--b-line)}
html[data-theme="brand"] .item{border-bottom-color:#f1f5f9}
html[data-theme="brand"] .item:hover{background:#f8fafc}
html[data-theme="brand"] .item.hl{background:#eaf2fb;box-shadow:inset 0 0 0 1px #a5b4fc}

/* ---- category dropdown ---- */
html[data-theme="brand"] .ddlbl{color:#64748b}
html[data-theme="brand"] .ddmenu{background:#ffffff;border:1px solid var(--b-line);box-shadow:var(--b-shadow)}
html[data-theme="brand"] .opt{color:var(--ink)}
html[data-theme="brand"] .opt:hover{background:#f1f5f9}
html[data-theme="brand"] .opt input{accent-color:#3f86d6}
html[data-theme="brand"] .chip{background:#ffffff;color:#2f6fba;border:1.5px solid #c7d2fe}
html[data-theme="brand"] .calfoot{color:#64748b}
html[data-theme="brand"] .catslot .ddbtn.filtered{box-shadow:0 0 0 2px #3f86d6,0 0 12px rgba(63,134,214,.35)}

/* ---- ad box ---- */
html[data-theme="brand"] .adpost{border-top-color:rgba(15,23,42,.14)}
html[data-theme="brand"] .adpost::before,
html[data-theme="brand"] .adpost::after{background:#eaf2fb;box-shadow:inset 0 0 0 1px var(--b-line)}
html[data-theme="brand"] .addots i.on{background:#3f86d6}

/* ---- collapsed-panel dock ---- */
html[data-theme="brand"] .dock{background:#ffffff;border:1px solid var(--b-line);box-shadow:var(--b-shadow)}
html[data-theme="brand"] .flap{color:#ffffff;background:linear-gradient(180deg,#3f86d6 0%,#1d5fa8 49%,#2f6fba 51%,#3f86d6 100%);box-shadow:0 2px 6px rgba(63,134,214,.35)}
html[data-theme="brand"] .flap::after{background:rgba(30,27,75,.5);box-shadow:none}
html[data-theme="brand"] .dopen,
html[data-theme="brand"] .postbtn b,
html[data-theme="brand"] .postwide b{background:var(--gradient)}

/* ---- zoom ladder + pop-up windows ---- */
html[data-theme="brand"] .ladder span{color:#64748b;background:#f1f5f9;box-shadow:none}
html[data-theme="brand"] .ladder span.on{color:#ffffff;background:var(--gradient);box-shadow:0 0 9px rgba(63,134,214,.45)}
html[data-theme="brand"] .readout{color:#475569}
html[data-theme="brand"] .modal{background:rgba(15,23,42,.45)}
html[data-theme="brand"] .mbox h2{font-weight:700;color:var(--ink)}
html[data-theme="brand"] .mbox>p{color:#475569}
html[data-theme="brand"] .mbox a{color:#1d5fa8}

/* ---- advertise wizard + other pop-up pieces ---- */
html[data-theme="brand"] .steps span{background:#f1f5f9;color:#64748b;box-shadow:none}
html[data-theme="brand"] .steps span.on{background:var(--gradient);color:#ffffff;box-shadow:0 2px 8px rgba(63,134,214,.3)}
html[data-theme="brand"] .steps span.done{background:#eaf2fb;color:#2f6fba}
html[data-theme="brand"] .area-c{background:#ffffff;border:1.5px solid var(--b-line-md);color:var(--ink)}
html[data-theme="brand"] .area-c input{accent-color:#3f86d6}
html[data-theme="brand"] .area-c.home{border-color:#3f86d6;box-shadow:0 0 0 1px #3f86d6 inset;background:#eaf2fb}
html[data-theme="brand"] .area-c small{color:#64748b}
html[data-theme="brand"] .total{background:#eaf2fb;color:var(--ink)}
html[data-theme="brand"] .total b{color:#2f6fba}
html[data-theme="brand"] .way{background:#ffffff;border:1.5px solid var(--b-line-md);box-shadow:0 1px 2px rgba(15,23,42,.06)}
html[data-theme="brand"] .way:hover{border-color:#3f86d6}
html[data-theme="brand"] .way i{background:var(--gradient);color:#ffffff;border-color:transparent;box-shadow:none}
html[data-theme="brand"] .way small{color:#475569}
html[data-theme="brand"] .adprev{background:#ffffff;border:1.5px solid var(--b-line-md)}
html[data-theme="brand"] .summary,
html[data-theme="brand"] .summary dt{color:#475569}
html[data-theme="brand"] .tab{color:#475569}
html[data-theme="brand"] .tab b{color:#94a3b8}
html[data-theme="brand"] .tab.on{background:var(--gradient);color:#ffffff;box-shadow:none}
html[data-theme="brand"] .tab.on b{color:#ffffff}
html[data-theme="brand"] .tab[data-tab="deals"]:not(.on){color:#2f6fba}
html[data-theme="brand"] .tab[data-tab="deals"].new::after{background:#3f86d6;box-shadow:0 0 0 2px #ffffff,0 0 8px rgba(63,134,214,.7)}
html[data-theme="brand"] .catslot .ddbtn{color:var(--ink)}
