/* DPHMS house skin, 18 Nov 2026.
   Richard: "Fix the website obsidian crimson, glass." Obsidian ground, crimson ink, real glass
   panels, green matrix rain above the ground. No violet anywhere: the ombre runs crimson into
   deep wine, and every panel is a translucent smoked lens rather than a purple wash.
   One shared sheet so every page wears the same ombre without nine copies of the same CSS:
   the glass runs crimson at the top left into violet at the foot, the ground is lined with the
   two house inks, and /matrix.js rains green behind everything. Loaded after each page's own
   <style>, so these rules win on equal specificity. */

:root{
  --paper:#F4F0F6;
  --dim:#9E96A8;
  --azure:#E2455A;          /* crimson drives every accent */
  --sky:#FF8FA0;            /* warm crimson-tinted links */
  --hair:rgba(226,69,90,.18);
  --glass:rgba(255,255,255,.055);
  --red:#E2455A;
  --grn:#3BE08A;
  --amb:#FFC46B;
  --ombre-a:#E2455A;
  --ombre-b:#5C1226;
}

/* the ground: crimson in the top left, violet in the top right, a warm obsidian under it all */
html{
  background:
    radial-gradient(1100px 620px at 10% -14%,#3A0A14 0%,transparent 60%),
    radial-gradient(900px 520px at 92% 0%,#24060E 0%,transparent 56%),
    radial-gradient(820px 560px at 52% 108%,#1A0409 0%,transparent 62%),
    linear-gradient(180deg,#0B0509 0%,#060307 48%,#020103 100%) !important;
  background-attachment:fixed !important;
  min-height:100%;
}
body{
  color:var(--paper);
  background:transparent !important;   /* so the rain behind it can be seen */
}

/* the lined background: two cats of hairlines, crimson one way, violet the other */
body:before{
  content:"" !important;
  background:
    repeating-linear-gradient(115deg,rgba(226,69,90,.085) 0 1px,transparent 1px 10px),
    repeating-linear-gradient(65deg,rgba(90,18,38,.16) 0 1px,transparent 1px 10px),
    radial-gradient(120% 60% at 50% 120%,rgba(226,69,90,.10),transparent 70%) !important;
  mix-blend-mode:screen !important;
}

/* green rain, drawn behind the copy and never in front of it */
#rain{
  position:fixed !important;
  inset:0;
  width:100% !important;
  height:100% !important;
  z-index:-1 !important;
  pointer-events:none !important;
  opacity:.85;
}

/* the glass ombre itself */
.card,.arc,.gate,.macbox,.mac,.panel,.now,.pad{
  background:linear-gradient(160deg,rgba(226,69,90,.16) 0%,rgba(255,255,255,.055) 38%,rgba(20,10,20,.72) 76%,rgba(8,4,9,.90) 100%) !important;
  backdrop-filter:blur(14px) saturate(120%) !important;
  border-color:rgba(226,69,90,.30) !important;
}
.card:before,.arc:before,.gate:before{
  background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,0)) !important;
}
.pad.on{
  background:linear-gradient(160deg,rgba(226,69,90,.55),rgba(92,18,38,.60)) !important;
  border-color:rgba(255,150,166,.80) !important;
}

/* the sticky band reads as the same glass run */
.band{
  background:linear-gradient(180deg,rgba(226,69,90,.22),rgba(20,8,12,.82) 58%,rgba(6,3,7,.96)) !important;
  backdrop-filter:blur(16px) !important;
  border-bottom-color:rgba(226,69,90,.65) !important;
}
.band:before{
  background:linear-gradient(180deg,rgba(255,255,255,.10),transparent) !important;
}

/* buttons: crimson into violet, with the ghost door as the tinted version */
.btn{
  background:linear-gradient(180deg,#E2455A,#A32438 58%,#6B1220) !important;
  border-color:rgba(255,150,166,.60) !important;
  color:#fff !important;
}
.btn:hover{
  background:linear-gradient(180deg,#F2647A,#B23348 58%,#7C1626) !important;
  color:#fff !important;
}
.btn.ghost{
  background:linear-gradient(180deg,rgba(226,69,90,.26),rgba(122,31,168,.32)) !important;
  border-color:rgba(255,150,166,.45) !important;
  color:#FFD9EC !important;
}

/* the glass taskbar and any fixed furniture */
.taskbar{
  background:linear-gradient(180deg,rgba(62,14,84,.82),rgba(14,4,24,.95)) !important;
  border-top-color:rgba(255,150,166,.45) !important;
}

/* type details that carry the blue of the old skin */
.brand{text-shadow:0 1px 0 rgba(0,0,0,.55),0 0 18px rgba(255,150,166,.65) !important}
.dot{box-shadow:0 0 0 1px rgba(255,255,255,.6),0 0 14px rgba(59,224,138,.85) !important}
::selection{background:rgba(226,69,90,.45);color:#fff}
html{scrollbar-color:#E2455A #0B0509}
