/* Oriel — papers.css
   The room's papers beyond the two originals, lacquer by night and bone by day (those are the themes' own and need
   nothing here). Each side of the day keeps its own choice (Atelier → Paper), set on <html> as data-material before
   anything paints. A new paper (a washed-out pink with cherry blossom, one day) is one more block in this file.
   Both papers below are from Gemini's v66 addendum, written in the kit's tokens so everything else follows them:
   rims, shadows, the chamber, the sheen, the switches. Oriel's pages only; the warriors keep their own rooms. */

/* ---------------------------------------------------------------- Lilac-Ice Bone (day)
   High-density paper white (#F7F6FA) with a barely perceptible lilac breath in the mid-tone (#EEEAF4), a cold
   ice-blue water highlight (#D8ECF8) on the lit rim, sunk into a soft lilac-stone well (#E8E5EE), graphite ink
   (#1A1820), Deep Smoked Plum-Graphite bamboo (#2E2838). Exact to Patent 01's record. */
html[data-theme="light"][data-material="lilac-bone"] {
  --m-water-lo: 178, 196, 236; --m-water-hi: 247, 248, 255;   /* the orb's water (v71) */
  background: #E8E5EE;
  --air: #E8E5EE; --haze: rgba(45, 38, 56, .05);
  --ink: #1A1820; --ink-2: #565260; --mute: #7D7889;
  --m-plant-ink: 46, 40, 56;             /* Deep Smoked Plum-Graphite #2E2838 (Patent 01) */
  --m-plant: willow;                     /* its plant (v68): weeping silver willow */
  --m-surface: #F7F6FA; --m-surface-hi: #FFFFFF; --m-well: #E8E5EE;
  --m-rim-light: rgba(216, 236, 248, .95);
  --m-rim-shade: rgba(45, 38, 56, .2);
  --m-shadow: 28, 22, 38; --m-shadow-a: .18; --m-ao-a: .10; --m-umbra-a: .18;
  --m-mark: rgba(125, 120, 137, .8);     /* #7D7889 */
  --m-groove: rgba(45, 38, 56, .1);
  --m-block: linear-gradient(180deg, #FFFFFF, #EEEAF4);
  --m-floor: 255, 255, 255; --m-floor-a: .7;
  --m-wall: 36, 30, 44; --m-wall-a: .14;
  --m-wall-lit: 216, 236, 248; --m-wall-lit-a: .85;
  --m-sheen: 216, 236, 248; --m-sheen-a: .5;
}
html[data-theme="light"][data-material="lilac-bone"] body {
  background: #E8E5EE;
  --raise: #F7F6FA; --glass: rgba(247, 246, 250, .7); --glass-2: rgba(247, 246, 250, .88);
  --line: rgba(45, 38, 56, .09); --line-2: rgba(45, 38, 56, .16);
  --text: #1A1820; --text-2: #565260; --dim: #7D7889; --moon: #2E2838;
}
html[data-theme="light"][data-material="lilac-bone"] .chat::after { background: linear-gradient(180deg, rgba(232, 229, 238, 0), rgba(232, 229, 238, .86) 52%, rgba(232, 229, 238, .96)); }
html[data-theme="light"][data-material="lilac-bone"] .chat .top,
html[data-theme="light"][data-material="lilac-bone"] .bar.sticky::before,
html[data-theme="light"][data-material="lilac-bone"] .desk-top::before { background: rgba(232, 229, 238, .9); }
/* the slabs: paper white falling to the lilac mid-tone */
html[data-theme="light"][data-material="lilac-bone"] .wcard { background: radial-gradient(80% 60% at 0% 0%, rgba(var(--w-glow), .12), rgba(var(--w-glow), .03) 45%, transparent 68%), linear-gradient(168deg, #FDFCFE, #F7F6FA 60%, #F1EEF6); }
html[data-theme="light"][data-material="lilac-bone"] .tile { background: radial-gradient(120% 80% at 0% 0%, #FFFFFF, rgba(255, 255, 255, 0) 60%), linear-gradient(170deg, #FBFAFD, #F2EFF7); }
html[data-theme="light"][data-material="lilac-bone"] .tile.hero { background: radial-gradient(90% 140% at 50% 150%, rgba(45, 38, 56, .06), rgba(45, 38, 56, 0) 70%), linear-gradient(170deg, #FFFFFF, #F4F1F8); }
html[data-theme="light"][data-material="lilac-bone"] .sheet { background: radial-gradient(120% 60% at 0% 0%, #FFFFFF, rgba(255, 255, 255, 0) 60%), linear-gradient(170deg, #FBFAFD, #F1EEF6); }
html[data-theme="light"][data-material="lilac-bone"] .sheet.music { background: linear-gradient(168deg, #FFFFFF 0%, #F7F6FA 55%, #EEEAF4 100%); }
html[data-theme="light"][data-material="lilac-bone"] .composer::after { background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(247, 246, 250, .96) 55%, rgba(238, 234, 244, .96) 100%); }
html[data-theme="light"][data-material="lilac-bone"] .wstat { background: rgba(45, 38, 56, .045); }
html[data-theme="light"][data-material="lilac-bone"] { --m-glint: 196, 150, 86; --m-trench-shade: rgba(45, 38, 56, .14); --m-trench-lit: rgba(255, 255, 255, .9); }
html[data-theme="light"][data-material="lilac-bone"] .chamber::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='ln'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04 0.85' numOctaves='2' seed='4' stitchTiles='stitch' result='w1'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85 0.04' numOctaves='2' seed='9' stitchTiles='stitch' result='w2'/%3E%3CfeBlend mode='multiply' in='w1' in2='w2' result='weave'/%3E%3CfeDiffuseLighting in='weave' surfaceScale='1.15' diffuseConstant='0.92' lighting-color='%23ffffff'%3E%3CfeDistantLight azimuth='135' elevation='55'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23ln)' opacity='0.14'/%3E%3C/svg%3E"); background-size: 160px 160px; }

/* ---------------------------------------------------------------- Brushed Slate (night)
   Deep gunmetal mineral stone (#1C1E22) with a horizontal brushed grain, and raw silver-leaf registration marks.
   The grain is drawn once in code (matter.js, Matter.paint "slate-grain") and lies on the chamber floor; the bamboo
   is painted in Liquid Silver-Leaf (#D2DAE6). Exact to Patent 07's record (Frosted Platinum-Dove). */
html[data-material="slate"]:not([data-theme="light"]) {
  --m-water-lo: 128, 196, 240; --m-water-hi: 230, 246, 255;   /* the orb's water (v71) */
  /* v67, at Kadian's word: a shade bluer and icier than the record, like black ice. The slate is #181C24, the
     silver-leaf plants carry a frost line (--m-plant-frost) and the grain holds a glitter of ice (matter.js) */
  background: #181C24;
  --air: #181C24; --glass: rgba(214, 228, 248, .05);
  --ink: #EEF2F8; --ink-2: #B4BBC8; --mute: #7A818E;
  --m-plant-ink: 206, 222, 242;          /* Liquid Silver-Leaf, iced (Patent 07, bluer) */
  --m-plant-frost: 236, 246, 255;        /* frost along the lit edge of each leaf */
  --m-plant: pine;                       /* its plant (v68): a frosted pine bough */
  --m-metal: 210, 214, 222;              /* #D2D6DE, frosted platinum-dove: the send and the thumb are cut from it */
  --m-pigment: 150, 197, 223;            /* #96C5DF, the glacial pip is its pigment (it was borrowing lacquer's gold) */
  --m-surface: #232834; --m-surface-hi: #2E3544; --m-well: #10141B;
  --line: rgba(214, 228, 248, .1); --line-2: rgba(214, 228, 248, .17);
  --m-rim-light: rgba(214, 228, 248, .28);
  --m-glint: 214, 228, 248;              /* the bezel glint: silver on Slate */
  --m-trench-shade: rgba(0, 0, 0, .7); --m-trench-lit: rgba(214, 228, 248, .14);
  --m-rim-shade: rgba(0, 0, 0, .6);
  --m-shadow: 4, 5, 7; --m-shadow-a: .7; --m-ao-a: .66; --m-umbra-a: .82;
  --m-mark: rgba(121, 127, 138, .9);    /* #797F8A, the leader line; raw silver leaf */
  --m-groove: rgba(0, 0, 0, .45);
  --m-block: linear-gradient(180deg, #F1F3F6, #C9CED6);
  --m-floor: 180, 206, 236; --m-floor-a: .1;
  --m-wall: 0, 0, 0; --m-wall-a: .75;
  --m-wall-lit: 196, 214, 240; --m-wall-lit-a: .14;
  --m-sheen: 206, 224, 248; --m-sheen-a: .08;
  --m-ice: 150, 197, 223;               /* #96C5DF, the glacial pip */
}
/* its grain (drawn once, matter.js) with her titanium brushing laid over it (Law 14, a still image) */
html[data-material="slate"]:not([data-theme="light"]) .chamber::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .85;
  background-image: var(--tex-slate-grain, none), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='80'%3E%3Cfilter id='ti'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.002 0.65' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0.35 0.35 0.35 0 0 0.35 0.35 0.35 0 0 0.35 0.35 0.35 0 0 0 0 0 0.14 0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='1.7' intercept='-0.35'/%3E%3CfeFuncG type='linear' slope='1.7' intercept='-0.35'/%3E%3CfeFuncB type='linear' slope='1.7' intercept='-0.35'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23ti)'/%3E%3C/svg%3E");
  background-size: var(--tex-slate-grain-size, 256px) var(--tex-slate-grain-size, 256px), 240px 80px;
}

/* ---------------------------------------------------------------- Pewter-Amethyst (day)
   Kadian's dull silverish-purple: an unpolished pewter-amethyst wafer (#BEBACE) on a darker chamber floor (#ADA8BA),
   brushed sideways like titanium, with raw palladium engraving (#2E2E38), glacial silver-violet pips (107, 94, 130)
   and the bamboo in Charred Silver-Indigo (#201A2C). Exact to Patent 02's record. (v67) */
html[data-theme="light"][data-material="pewter-amethyst"] {
  --m-water-lo: 150, 130, 196; --m-water-hi: 240, 236, 255;   /* the orb's water (v71) */
  background: #ADA8BA;
  --air: #ADA8BA; --haze: rgba(28, 22, 38, .06);
  --ink: #17141E; --ink-2: #3B3646; --mute: #595366;
  --m-plant-ink: 32, 26, 44;             /* Charred Silver-Indigo #201A2C (Patent 02) */
  --m-plant: willow;
  --m-surface: #BEBACE; --m-surface-hi: #CCC8DC; --m-well: #A19CB0;
  --m-rim-light: rgba(244, 240, 255, .72);
  --m-rim-shade: rgba(28, 22, 38, .34);
  --m-shadow: 20, 15, 30; --m-shadow-a: .28; --m-ao-a: .14; --m-umbra-a: .26;
  --m-pigment: 107, 94, 130;             /* #6B5E82, glacial silver-violet */
  --m-copper: 107, 94, 130;              /* this paper has no copper: a switch takes the violet when on */
  --m-metal: 46, 46, 56;                 /* #2E2E38, raw palladium */
  --m-ice: 216, 236, 248;
  --m-mark: rgba(89, 83, 102, .9);       /* #595366 */
  --m-groove: rgba(28, 22, 38, .14);
  --m-block: linear-gradient(180deg, #F4F0FF, #CCC8DC);
  --m-floor: 244, 240, 255; --m-floor-a: .42;
  --m-wall: 24, 18, 34; --m-wall-a: .2;
  --m-wall-lit: 244, 240, 255; --m-wall-lit-a: .6;
  --m-sheen: 244, 240, 255; --m-sheen-a: .38;
  --m-glint: 244, 240, 255;              /* silver on a metal paper */
  --m-trench-shade: rgba(23, 20, 30, .24); --m-trench-lit: rgba(244, 240, 255, .62);
}
html[data-theme="light"][data-material="pewter-amethyst"] body {
  background: #ADA8BA;
  --raise: #BEBACE; --glass: rgba(190, 186, 206, .7); --glass-2: rgba(204, 200, 220, .9);
  --line: rgba(28, 22, 38, .12); --line-2: rgba(28, 22, 38, .2);
  --text: #17141E; --text-2: #3B3646; --dim: #595366; --moon: #2E2E38;
}
html[data-theme="light"][data-material="pewter-amethyst"] .chat::after { background: linear-gradient(180deg, rgba(173, 168, 186, 0), rgba(173, 168, 186, .86) 52%, rgba(173, 168, 186, .96)); }
html[data-theme="light"][data-material="pewter-amethyst"] .chat .top,
html[data-theme="light"][data-material="pewter-amethyst"] .bar.sticky::before,
html[data-theme="light"][data-material="pewter-amethyst"] .desk-top::before { background: rgba(173, 168, 186, .9); }
html[data-theme="light"][data-material="pewter-amethyst"] .wcard { background: radial-gradient(80% 60% at 0% 0%, rgba(var(--w-glow), .1), rgba(var(--w-glow), .03) 45%, transparent 68%), linear-gradient(168deg, #CCC8DC, #BEBACE 60%, #B5B0C4); }
html[data-theme="light"][data-material="pewter-amethyst"] .tile { background: radial-gradient(120% 80% at 0% 0%, #CCC8DC, rgba(204, 200, 220, 0) 60%), linear-gradient(170deg, #C6C2D6, #BEBACE); }
html[data-theme="light"][data-material="pewter-amethyst"] .tile.hero { background: radial-gradient(90% 140% at 50% 150%, rgba(28, 22, 38, .08), rgba(28, 22, 38, 0) 70%), linear-gradient(170deg, #CCC8DC, #B8B4C8); }
html[data-theme="light"][data-material="pewter-amethyst"] .sheet { background: radial-gradient(120% 60% at 0% 0%, #CCC8DC, rgba(204, 200, 220, 0) 60%), linear-gradient(170deg, #C6C2D6, #BEBACE); }
html[data-theme="light"][data-material="pewter-amethyst"] .sheet.music { background: linear-gradient(168deg, #CCC8DC 0%, #BEBACE 55%, #B5B0C4 100%); }
html[data-theme="light"][data-material="pewter-amethyst"] .composer::after { background: linear-gradient(180deg, rgba(204, 200, 220, .96) 0%, rgba(190, 186, 206, .96) 55%, rgba(181, 176, 196, .96) 100%); }
html[data-theme="light"][data-material="pewter-amethyst"] .wstat { background: rgba(28, 22, 38, .08); }
html[data-theme="light"][data-material="pewter-amethyst"] .opts, html[data-theme="light"][data-material="pewter-amethyst"] .wpick { background: rgba(28, 22, 38, .07); }
/* her brushing: titanium strokes across the pewter, with the mineral under-grain, both still images (Law 14) */
html[data-theme="light"][data-material="pewter-amethyst"] .chamber::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='80'%3E%3Cfilter id='ti'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.002 0.65' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0.35 0.35 0.35 0 0 0.35 0.35 0.35 0 0 0.35 0.35 0.35 0 0 0 0 0 0.14 0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='1.7' intercept='-0.35'/%3E%3CfeFuncG type='linear' slope='1.7' intercept='-0.35'/%3E%3CfeFuncB type='linear' slope='1.7' intercept='-0.35'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23ti)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='sg'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.10 0 0 0 0 0.16 0 0 0 0.075 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23sg)'/%3E%3C/svg%3E"); background-size: 240px 80px, 180px 180px; }

/* ---------------------------------------------------------------- Smoked Mauve (night)
   A nocturnal lounge: smoked plum-taupe cashmere (#282026) on a darker floor (#1B151A), cross-woven, with champagne
   white-gold engraving (#DEC69A), muted plum-copper pips (184, 123, 108) and the bamboo in Pale Champagne Silver-Silk
   (#E4D8E0). Exact to Patent 04's record, with the review's rim catch (#EAD8DF) and pigment (#B87B6C). (v67) */
html[data-material="smoked-mauve"]:not([data-theme="light"]) {
  --m-water-lo: 232, 176, 200; --m-water-hi: 255, 242, 248;   /* the orb's water (v71): a cool rosé, clear in the dark */
  background: #1B151A;
  --air: #1B151A; --glass: rgba(234, 216, 223, .05);
  --ink: #EFE9E1; --ink-2: #BEB2BA; --mute: #867882;
  --m-plant-ink: 228, 216, 224;          /* Pale Champagne Silver-Silk #E4D8E0 (Patent 04) */
  --m-surface: #282026; --m-surface-hi: #332930; --m-well: #140F13;
  --line: rgba(234, 216, 223, .1); --line-2: rgba(234, 216, 223, .17);
  --m-rim-light: rgba(234, 216, 223, .22);
  --m-rim-shade: rgba(8, 6, 8, .78);
  --m-shadow: 4, 2, 4; --m-shadow-a: .68; --m-ao-a: .62; --m-umbra-a: .8;
  --m-pigment: 184, 123, 108;            /* #B87B6C, muted plum-copper */
  --m-copper: 184, 123, 108;
  --m-metal: 222, 198, 154;              /* #DEC69A, champagne white-gold */
  --m-mark: rgba(134, 120, 130, .9);     /* #867882 */
  --m-groove: rgba(0, 0, 0, .5);
  --m-block: linear-gradient(180deg, #EFE9E1, #CDBFC6);
  --m-floor: 234, 212, 224; --m-floor-a: .05;
  --m-wall: 0, 0, 0; --m-wall-a: .72;
  --m-wall-lit: 234, 216, 223; --m-wall-lit-a: .1;
  --m-sheen: 234, 212, 224; --m-sheen-a: .06;
  --m-glint: 222, 198, 154;              /* white-gold */
  --m-trench-shade: rgba(0, 0, 0, .62); --m-trench-lit: rgba(234, 216, 223, .14);
}
html[data-material="smoked-mauve"]:not([data-theme="light"]) body {
  background: #1B151A;
  --raise: #332930; --glass: rgba(234, 216, 223, .05); --glass-2: rgba(234, 216, 223, .09);
  --line: rgba(234, 216, 223, .1); --line-2: rgba(234, 216, 223, .17);
  --text: #EFE9E1; --text-2: #BEB2BA; --dim: #867882; --moon: #DEC69A;
}
html[data-material="smoked-mauve"]:not([data-theme="light"]) .chat::after { background: linear-gradient(180deg, rgba(27, 21, 26, 0), rgba(27, 21, 26, .86) 52%, rgba(27, 21, 26, .96)); }
html[data-material="smoked-mauve"]:not([data-theme="light"]) .chat .top,
html[data-material="smoked-mauve"]:not([data-theme="light"]) .bar.sticky::before,
html[data-material="smoked-mauve"]:not([data-theme="light"]) .desk-top::before { background: rgba(27, 21, 26, .9); }
html[data-material="smoked-mauve"]:not([data-theme="light"]) .wcard { background: radial-gradient(80% 60% at 0% 0%, rgba(var(--w-glow), .09), rgba(var(--w-glow), .02) 45%, transparent 68%), linear-gradient(168deg, rgba(51, 41, 48, .97), rgba(40, 32, 38, .98)); }
html[data-material="smoked-mauve"]:not([data-theme="light"]) .tile { background: radial-gradient(120% 80% at 0% 0%, rgba(234, 216, 223, .07), transparent 60%), linear-gradient(170deg, #332930, #282026); }
html[data-material="smoked-mauve"]:not([data-theme="light"]) .tile.hero { background: radial-gradient(90% 140% at 50% 150%, rgba(234, 216, 223, .06), rgba(234, 216, 223, 0) 70%), linear-gradient(170deg, #352B32, #241D22); }
html[data-material="smoked-mauve"]:not([data-theme="light"]) .sheet { background: radial-gradient(120% 60% at 0% 0%, rgba(234, 216, 223, .07), transparent 60%), linear-gradient(170deg, #332930, #211A20); }
html[data-material="smoked-mauve"]:not([data-theme="light"]) .sheet.music { background: linear-gradient(168deg, #332930 0%, #282026 55%, #211A20 100%); }
html[data-material="smoked-mauve"]:not([data-theme="light"]) .composer::after { background: linear-gradient(180deg, rgba(51, 41, 48, .94) 0%, rgba(40, 32, 38, .95) 55%, rgba(33, 26, 32, .96) 100%); }
/* her twill: the cross-woven cashmere and the fine night grain, still images (Law 14) */
html[data-material="smoked-mauve"]:not([data-theme="light"]) .chamber::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .8; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='ln'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04 0.85' numOctaves='2' seed='4' stitchTiles='stitch' result='w1'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85 0.04' numOctaves='2' seed='9' stitchTiles='stitch' result='w2'/%3E%3CfeBlend mode='multiply' in='w1' in2='w2' result='weave'/%3E%3CfeDiffuseLighting in='weave' surfaceScale='1.15' diffuseConstant='0.92' lighting-color='%23ffffff'%3E%3CfeDistantLight azimuth='135' elevation='55'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23ln)' opacity='0.14'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='en'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.05' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.92 0 0 0 0 0.86 0 0 0 0 0.90 0 0 0 0.075 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23en)'/%3E%3C/svg%3E"); background-size: 160px 160px, 180px 180px; }

/* ---------------------------------------------------------------- Ash-Travertine (day)
   Quarried limestone: an ash-travertine slab (#D8D4CA) on a darker floor (#C8C5BC), veined and pitted, with raw
   pewter-bronze engraving (#423A2E), verdigris mineral pips (82, 110, 112, her record; Kadian's call) and the bamboo
   in Mineral Iron-Gall (#262420). Exact to Patent 05's record. (v67) */
html[data-theme="light"][data-material="ash-travertine"] {
  --m-water-lo: 160, 196, 206; --m-water-hi: 246, 252, 252;   /* the orb's water (v71) */
  background: #C8C5BC;
  --air: #C8C5BC; --haze: rgba(38, 36, 32, .06);
  --ink: #161614; --ink-2: #44423E; --mute: #6B6861;
  --m-plant-ink: 38, 36, 32;             /* Mineral Iron-Gall #262420 (Patent 05) */
  --m-surface: #D8D4CA; --m-surface-hi: #E3DFD6; --m-well: #BCB7AC;
  --m-rim-light: rgba(247, 244, 236, .88);
  --m-rim-shade: rgba(38, 36, 32, .3);
  --m-shadow: 32, 30, 26; --m-shadow-a: .26; --m-ao-a: .12; --m-umbra-a: .24;
  --m-pigment: 82, 110, 112;             /* #526E70, verdigris mineral slate */
  --m-copper: 66, 58, 46;                /* the switch takes the pewter-bronze when on */
  --m-metal: 66, 58, 46;                 /* #423A2E */
  --m-mark: rgba(107, 104, 97, .9);      /* #6B6861 */
  --m-groove: rgba(38, 36, 32, .12);
  --m-block: linear-gradient(180deg, #F7F4EC, #D0CCC2);
  --m-floor: 255, 252, 244; --m-floor-a: .5;
  --m-wall: 38, 36, 32; --m-wall-a: .18;
  --m-wall-lit: 247, 244, 236; --m-wall-lit-a: .65;
  --m-sheen: 255, 252, 244; --m-sheen-a: .42;
  --m-glint: 168, 132, 78;               /* a bronze-gold hairline on stone */
  --m-trench-shade: rgba(22, 22, 20, .24); --m-trench-lit: rgba(247, 244, 236, .78);
}
html[data-theme="light"][data-material="ash-travertine"] body {
  background: #C8C5BC;
  --raise: #D8D4CA; --glass: rgba(216, 212, 202, .7); --glass-2: rgba(227, 223, 214, .9);
  --line: rgba(38, 36, 32, .11); --line-2: rgba(38, 36, 32, .19);
  --text: #161614; --text-2: #44423E; --dim: #6B6861; --moon: #423A2E;
}
html[data-theme="light"][data-material="ash-travertine"] .chat::after { background: linear-gradient(180deg, rgba(200, 197, 188, 0), rgba(200, 197, 188, .86) 52%, rgba(200, 197, 188, .96)); }
html[data-theme="light"][data-material="ash-travertine"] .chat .top,
html[data-theme="light"][data-material="ash-travertine"] .bar.sticky::before,
html[data-theme="light"][data-material="ash-travertine"] .desk-top::before { background: rgba(200, 197, 188, .9); }
html[data-theme="light"][data-material="ash-travertine"] .wcard { background: radial-gradient(80% 60% at 0% 0%, rgba(var(--w-glow), .1), rgba(var(--w-glow), .03) 45%, transparent 68%), linear-gradient(168deg, #E3DFD6, #D8D4CA 60%, #D0CCC2); }
html[data-theme="light"][data-material="ash-travertine"] .tile { background: radial-gradient(120% 80% at 0% 0%, #E6E2D9, rgba(230, 226, 217, 0) 60%), linear-gradient(170deg, #DFDBD2, #D8D4CA); }
html[data-theme="light"][data-material="ash-travertine"] .tile.hero { background: radial-gradient(90% 140% at 50% 150%, rgba(38, 36, 32, .07), rgba(38, 36, 32, 0) 70%), linear-gradient(170deg, #E3DFD6, #D2CEC4); }
html[data-theme="light"][data-material="ash-travertine"] .sheet { background: radial-gradient(120% 60% at 0% 0%, #E6E2D9, rgba(230, 226, 217, 0) 60%), linear-gradient(170deg, #DFDBD2, #D4D0C6); }
html[data-theme="light"][data-material="ash-travertine"] .sheet.music { background: linear-gradient(168deg, #E3DFD6 0%, #D8D4CA 55%, #D0CCC2 100%); }
html[data-theme="light"][data-material="ash-travertine"] .composer::after { background: linear-gradient(180deg, rgba(227, 223, 214, .96) 0%, rgba(216, 212, 202, .96) 55%, rgba(208, 204, 194, .96) 100%); }
html[data-theme="light"][data-material="ash-travertine"] .wstat { background: rgba(38, 36, 32, .07); }
/* her veining: displaced turbulence for the marble, and the limestone's pores, still images (Law 14) */
html[data-theme="light"][data-material="ash-travertine"] .chamber::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='mb'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.012' numOctaves='4' seed='14' stitchTiles='stitch' result='vein'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.035' numOctaves='2' seed='3' result='warp'/%3E%3CfeDisplacementMap in='vein' in2='warp' scale='28' xChannelSelector='R' yChannelSelector='G' result='displaced'/%3E%3CfeColorMatrix in='displaced' values='0.35 0 0 0 0.5 0.35 0 0 0 0.5 0.35 0 0 0 0.5 0 0 0 0.16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23mb)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='sp'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.15 0 0 0 0 0.14 0 0 0 0 0.12 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23sp)'/%3E%3C/svg%3E"); background-size: 260px 260px, 180px 180px; }

/* ---------------------------------------------------------------- Bone (day), its vellum (Law 14)
   The original paper keeps its look; a faint cotton-rag clouding lies on the chamber so the bone reads as sheet,
   not screen. Kept well under the point where the screen stops reading as itself. */
html[data-theme="light"]:not([data-material]) .chamber::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='vl'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.011' numOctaves='3' seed='6' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.30 0 0 0 0 0.16 0 0 0 0.10 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23vl)'/%3E%3C/svg%3E"); background-size: 320px 320px; }

/* ---------------------------------------------------------------- Glacial Ice (day)
   Cold, dull, crisp: a desaturated sub-zero ice-slate (#CAD6DF) on a glacial well (#BDCAD4), blued horological steel lettering (#243847), sub-zero mineral pips (56, 98, 126), a frosted pine bough in Abyssal Pine ink (#182A38). Patent 08, no baby blue and no neon (v68) */
html[data-theme="light"][data-material="glacial-ice"] {
  --m-water-lo: 122, 170, 200; --m-water-hi: 236, 248, 255;   /* the orb's water (v71) */
  background: #BDCAD4;
  --air: #BDCAD4; --haze: rgba(14, 24, 34, .06);
  --ink: #121C24; --ink-2: #334452; --mute: #526777;
  --m-plant-ink: 24, 42, 56; --m-plant: pine;
  --m-surface: #CAD6DF; --m-surface-hi: #DAE4EC; --m-well: #AEBCC7;
  --m-rim-light: rgba(242, 249, 255, .88);
  --m-rim-shade: rgba(18, 30, 40, .28);
  --m-shadow: 14, 24, 34; --m-shadow-a: .24; --m-ao-a: .12; --m-umbra-a: .22;
  --m-pigment: 56, 98, 126;
  --m-copper: 56, 98, 126;
  --m-metal: 36, 56, 71;
  --m-mark: rgba(82, 103, 119, .9);
  --m-groove: rgba(14, 24, 34, .13);
  --m-block: linear-gradient(180deg, #DAE4EC, #CAD6DF);
  --m-floor: 242, 249, 255; --m-floor-a: .5;
  --m-wall: 18, 30, 40; --m-wall-a: .18;
  --m-wall-lit: 242, 249, 255; --m-wall-lit-a: .65;
  --m-sheen: 235, 248, 255; --m-sheen-a: .42;
  --m-glint: 214, 232, 246;
  --m-trench-shade: rgba(18, 30, 40, .22); --m-trench-lit: rgba(242, 249, 255, .8);
}
html[data-theme="light"][data-material="glacial-ice"] body {
  background: #BDCAD4;
  --raise: #CAD6DF; --glass: rgba(255, 255, 255, .55); --glass-2: rgba(255, 255, 255, .8);
  --line: rgba(14, 24, 34, .11); --line-2: rgba(14, 24, 34, .19);
  --text: #121C24; --text-2: #334452; --dim: #526777; --moon: rgb(36, 56, 71);
}
html[data-theme="light"][data-material="glacial-ice"] .chat::after { background: linear-gradient(180deg, rgba(var(--m-air-rgb), 0), rgba(var(--m-air-rgb), .86) 52%, rgba(var(--m-air-rgb), .96)); }
html[data-theme="light"][data-material="glacial-ice"] .chat .top,
html[data-theme="light"][data-material="glacial-ice"] .bar.sticky::before,
html[data-theme="light"][data-material="glacial-ice"] .desk-top::before { background: rgba(var(--m-air-rgb), .9); }
html[data-theme="light"][data-material="glacial-ice"] .wcard { background: radial-gradient(80% 60% at 0% 0%, rgba(var(--w-glow), .1), rgba(var(--w-glow), .03) 45%, transparent 68%), linear-gradient(168deg, #DAE4EC, #CAD6DF 60%, color-mix(in srgb, #CAD6DF 86%, #AEBCC7)); }
html[data-theme="light"][data-material="glacial-ice"] .tile { background: radial-gradient(120% 80% at 0% 0%, #DAE4EC, transparent 60%), linear-gradient(170deg, color-mix(in srgb, #DAE4EC 50%, #CAD6DF), #CAD6DF); }
html[data-theme="light"][data-material="glacial-ice"] .tile.hero { background: radial-gradient(90% 140% at 50% 150%, rgba(14, 24, 34, .07), rgba(14, 24, 34, 0) 70%), linear-gradient(170deg, #DAE4EC, color-mix(in srgb, #CAD6DF 80%, #AEBCC7)); }
html[data-theme="light"][data-material="glacial-ice"] .sheet { background: radial-gradient(120% 60% at 0% 0%, #DAE4EC, transparent 60%), linear-gradient(170deg, color-mix(in srgb, #DAE4EC 50%, #CAD6DF), #CAD6DF); }
html[data-theme="light"][data-material="glacial-ice"] .sheet.music { background: linear-gradient(168deg, #DAE4EC 0%, #CAD6DF 55%, color-mix(in srgb, #CAD6DF 86%, #AEBCC7) 100%); }
html[data-theme="light"][data-material="glacial-ice"] .composer::after { background: linear-gradient(180deg, color-mix(in srgb, #DAE4EC 96%, transparent) 0%, color-mix(in srgb, #CAD6DF 96%, transparent) 55%, color-mix(in srgb, #CAD6DF 86%, #AEBCC7) 100%); }
html[data-theme="light"][data-material="glacial-ice"] .wstat { background: rgba(14, 24, 34, .07); }
html[data-theme="light"][data-material="glacial-ice"] { --m-air-rgb: 189, 202, 212; --m-plant-frost: 240, 250, 255; }
html[data-theme="light"][data-material="glacial-ice"] .chamber::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .8; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='80'%3E%3Cfilter id='ti'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.002 0.65' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0.35 0.35 0.35 0 0 0.35 0.35 0.35 0 0 0.35 0.35 0.35 0 0 0 0 0 0.14 0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='1.7' intercept='-0.35'/%3E%3CfeFuncG type='linear' slope='1.7' intercept='-0.35'/%3E%3CfeFuncB type='linear' slope='1.7' intercept='-0.35'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23ti)'/%3E%3C/svg%3E"); background-size: 240px 80px; }
/* ---------------------------------------------------------------- Niche Rosé (day)
   An indescribable rosé: dusty ash-rose (#DFD0D3) on a smoked clay well (#CFC0C3), dry vintage champagne in the lit edge (#ECE0E2), rosewood-bronze engraving (#4A2C32), crushed berry-umber pips (128, 72, 82), a gnarled sakura bough in Wine-Umber ink (#3A2026). Patent 09 (v68) */
html[data-theme="light"][data-material="niche-rose"] {
  --m-water-lo: 214, 150, 160; --m-water-hi: 255, 244, 246;   /* the orb's water (v71) */
  background: #CFC0C3;
  --air: #CFC0C3; --haze: rgba(38, 20, 24, .06);
  --ink: #211517; --ink-2: #4E383C; --mute: #73585D;
  --m-plant-ink: 58, 32, 38; --m-plant: blossom;
  --m-surface: #DFD0D3; --m-surface-hi: #ECE0E2; --m-well: #C2B2B5;
  --m-rim-light: rgba(255, 246, 248, .86);
  --m-rim-shade: rgba(44, 24, 28, .26);
  --m-shadow: 38, 20, 24; --m-shadow-a: .24; --m-ao-a: .12; --m-umbra-a: .22;
  --m-pigment: 128, 72, 82;
  --m-copper: 128, 72, 82;
  --m-metal: 74, 44, 50;
  --m-mark: rgba(115, 88, 93, .9);
  --m-groove: rgba(38, 20, 24, .13);
  --m-block: linear-gradient(180deg, #ECE0E2, #DFD0D3);
  --m-floor: 255, 246, 248; --m-floor-a: .5;
  --m-wall: 44, 24, 28; --m-wall-a: .18;
  --m-wall-lit: 255, 246, 248; --m-wall-lit-a: .65;
  --m-sheen: 255, 236, 240; --m-sheen-a: .42;
  --m-glint: 200, 150, 110;
  --m-trench-shade: rgba(44, 24, 28, .22); --m-trench-lit: rgba(255, 246, 248, .8);
}
html[data-theme="light"][data-material="niche-rose"] body {
  background: #CFC0C3;
  --raise: #DFD0D3; --glass: rgba(255, 255, 255, .55); --glass-2: rgba(255, 255, 255, .8);
  --line: rgba(38, 20, 24, .11); --line-2: rgba(38, 20, 24, .19);
  --text: #211517; --text-2: #4E383C; --dim: #73585D; --moon: rgb(74, 44, 50);
}
html[data-theme="light"][data-material="niche-rose"] .chat::after { background: linear-gradient(180deg, rgba(var(--m-air-rgb), 0), rgba(var(--m-air-rgb), .86) 52%, rgba(var(--m-air-rgb), .96)); }
html[data-theme="light"][data-material="niche-rose"] .chat .top,
html[data-theme="light"][data-material="niche-rose"] .bar.sticky::before,
html[data-theme="light"][data-material="niche-rose"] .desk-top::before { background: rgba(var(--m-air-rgb), .9); }
html[data-theme="light"][data-material="niche-rose"] .wcard { background: radial-gradient(80% 60% at 0% 0%, rgba(var(--w-glow), .1), rgba(var(--w-glow), .03) 45%, transparent 68%), linear-gradient(168deg, #ECE0E2, #DFD0D3 60%, color-mix(in srgb, #DFD0D3 86%, #C2B2B5)); }
html[data-theme="light"][data-material="niche-rose"] .tile { background: radial-gradient(120% 80% at 0% 0%, #ECE0E2, transparent 60%), linear-gradient(170deg, color-mix(in srgb, #ECE0E2 50%, #DFD0D3), #DFD0D3); }
html[data-theme="light"][data-material="niche-rose"] .tile.hero { background: radial-gradient(90% 140% at 50% 150%, rgba(38, 20, 24, .07), rgba(38, 20, 24, 0) 70%), linear-gradient(170deg, #ECE0E2, color-mix(in srgb, #DFD0D3 80%, #C2B2B5)); }
html[data-theme="light"][data-material="niche-rose"] .sheet { background: radial-gradient(120% 60% at 0% 0%, #ECE0E2, transparent 60%), linear-gradient(170deg, color-mix(in srgb, #ECE0E2 50%, #DFD0D3), #DFD0D3); }
html[data-theme="light"][data-material="niche-rose"] .sheet.music { background: linear-gradient(168deg, #ECE0E2 0%, #DFD0D3 55%, color-mix(in srgb, #DFD0D3 86%, #C2B2B5) 100%); }
html[data-theme="light"][data-material="niche-rose"] .composer::after { background: linear-gradient(180deg, color-mix(in srgb, #ECE0E2 96%, transparent) 0%, color-mix(in srgb, #DFD0D3 96%, transparent) 55%, color-mix(in srgb, #DFD0D3 86%, #C2B2B5) 100%); }
html[data-theme="light"][data-material="niche-rose"] .wstat { background: rgba(38, 20, 24, .07); }
html[data-theme="light"][data-material="niche-rose"] { --m-air-rgb: 207, 192, 195; }
html[data-theme="light"][data-material="niche-rose"] .chamber::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='vl'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.011' numOctaves='3' seed='6' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.30 0 0 0 0 0.16 0 0 0 0.10 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23vl)'/%3E%3C/svg%3E"); background-size: 320px 320px; }
/* ---------------------------------------------------------------- Pristine Pegasus (day)
   Not plain white: a snowy mother-of-pearl nacre (#F6F7FB) on a cloud-silver chamber (#ECEEF4), with a whisper of lilac, ice and champagne moving across it as the light moves, polished white-palladium lettering (#3A3F52), celestial silver-iris pips (112, 128, 168), silver feather-grass plumes in Silver-Pearl ink (#3E4458). Patent 11 (v68) */
html[data-theme="light"][data-material="pristine-pegasus"] {
  --m-water-lo: 190, 200, 240; --m-water-hi: 255, 255, 255;   /* the orb's water (v71) */
  background: #ECEEF4;
  --air: #ECEEF4; --haze: rgba(36, 42, 64, .06);
  --ink: #181A22; --ink-2: #4E5264; --mute: #767B90;
  --m-plant-ink: 62, 68, 88; --m-plant: plume;
  --m-surface: #F6F7FB; --m-surface-hi: #FFFFFF; --m-well: #E2E5F0;
  --m-rim-light: rgba(255, 255, 255, .98);
  --m-rim-shade: rgba(52, 58, 82, .18);
  --m-shadow: 36, 42, 64; --m-shadow-a: .16; --m-ao-a: .12; --m-umbra-a: .22;
  --m-pigment: 112, 128, 168;
  --m-copper: 112, 128, 168;
  --m-metal: 58, 63, 82;
  --m-mark: rgba(118, 123, 144, .9);
  --m-groove: rgba(36, 42, 64, .13);
  --m-block: linear-gradient(180deg, #FFFFFF, #F6F7FB);
  --m-floor: 255, 255, 255; --m-floor-a: .5;
  --m-wall: 52, 58, 82; --m-wall-a: .18;
  --m-wall-lit: 255, 255, 255; --m-wall-lit-a: .65;
  --m-sheen: 255, 255, 255; --m-sheen-a: .42;
  --m-glint: 200, 190, 232;
  --m-trench-shade: rgba(52, 58, 82, .16); --m-trench-lit: rgba(255, 255, 255, .95);
}
html[data-theme="light"][data-material="pristine-pegasus"] body {
  background: #ECEEF4;
  --raise: #F6F7FB; --glass: rgba(255, 255, 255, .55); --glass-2: rgba(255, 255, 255, .8);
  --line: rgba(36, 42, 64, .11); --line-2: rgba(36, 42, 64, .19);
  --text: #181A22; --text-2: #4E5264; --dim: #767B90; --moon: rgb(58, 63, 82);
}
html[data-theme="light"][data-material="pristine-pegasus"] .chat::after { background: linear-gradient(180deg, rgba(var(--m-air-rgb), 0), rgba(var(--m-air-rgb), .86) 52%, rgba(var(--m-air-rgb), .96)); }
html[data-theme="light"][data-material="pristine-pegasus"] .chat .top,
html[data-theme="light"][data-material="pristine-pegasus"] .bar.sticky::before,
html[data-theme="light"][data-material="pristine-pegasus"] .desk-top::before { background: rgba(var(--m-air-rgb), .9); }
html[data-theme="light"][data-material="pristine-pegasus"] .wcard { background: radial-gradient(80% 60% at 0% 0%, rgba(var(--w-glow), .1), rgba(var(--w-glow), .03) 45%, transparent 68%), linear-gradient(168deg, #FFFFFF, #F6F7FB 60%, color-mix(in srgb, #F6F7FB 86%, #E2E5F0)); }
html[data-theme="light"][data-material="pristine-pegasus"] .tile { background: radial-gradient(120% 80% at 0% 0%, #FFFFFF, transparent 60%), linear-gradient(170deg, color-mix(in srgb, #FFFFFF 50%, #F6F7FB), #F6F7FB); }
html[data-theme="light"][data-material="pristine-pegasus"] .tile.hero { background: radial-gradient(90% 140% at 50% 150%, rgba(36, 42, 64, .07), rgba(36, 42, 64, 0) 70%), linear-gradient(170deg, #FFFFFF, color-mix(in srgb, #F6F7FB 80%, #E2E5F0)); }
html[data-theme="light"][data-material="pristine-pegasus"] .sheet { background: radial-gradient(120% 60% at 0% 0%, #FFFFFF, transparent 60%), linear-gradient(170deg, color-mix(in srgb, #FFFFFF 50%, #F6F7FB), #F6F7FB); }
html[data-theme="light"][data-material="pristine-pegasus"] .sheet.music { background: linear-gradient(168deg, #FFFFFF 0%, #F6F7FB 55%, color-mix(in srgb, #F6F7FB 86%, #E2E5F0) 100%); }
html[data-theme="light"][data-material="pristine-pegasus"] .composer::after { background: linear-gradient(180deg, color-mix(in srgb, #FFFFFF 96%, transparent) 0%, color-mix(in srgb, #F6F7FB 96%, transparent) 55%, color-mix(in srgb, #F6F7FB 86%, #E2E5F0) 100%); }
html[data-theme="light"][data-material="pristine-pegasus"] .wstat { background: rgba(36, 42, 64, .07); }
html[data-theme="light"][data-material="pristine-pegasus"] { --m-air-rgb: 236, 238, 244; }
/* the nacre: a slow flow of lilac, ice and champagne across the floor, placed by the light (position only; the gradient is a fixed layer that slides) */
html[data-theme="light"][data-material="pristine-pegasus"] .chamber .floor { background: radial-gradient(closest-side, rgba(255, 255, 255, .9), rgba(232, 224, 248, .5) 30%, rgba(216, 238, 252, .45) 55%, rgba(248, 238, 220, .35) 76%, rgba(255, 255, 255, 0)); }
html[data-theme="light"][data-material="pristine-pegasus"] .chamber::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='ln'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04 0.85' numOctaves='2' seed='4' stitchTiles='stitch' result='w1'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85 0.04' numOctaves='2' seed='9' stitchTiles='stitch' result='w2'/%3E%3CfeBlend mode='multiply' in='w1' in2='w2' result='weave'/%3E%3CfeDiffuseLighting in='weave' surfaceScale='1.15' diffuseConstant='0.92' lighting-color='%23ffffff'%3E%3CfeDistantLight azimuth='135' elevation='55'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23ln)' opacity='0.14'/%3E%3C/svg%3E"); background-size: 160px 160px; }
/* ---------------------------------------------------------------- milled from the paper (v68)
   On every paper beyond the two originals, the bar's send button, the Desk's thumb and a pressed option are cut
   from that paper's pigment and metal, and the quiet buttons from its well, so nothing on it is a stranger. */
html:not(#x) .composer .orb.ink { color: var(--m-surface-hi); background: linear-gradient(145deg, rgb(var(--m-pigment)), rgb(var(--m-metal))); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .25), 0 6px 14px -4px rgba(var(--m-pigment), .55); }
html:not(#x) .composer .orb:not(.ink):not(.ghost):not(.rec):not(.hearing) { color: var(--ink); background: var(--m-well); box-shadow: inset 0 1px 2px rgba(var(--m-shadow), .22), 0 1px 0 var(--m-rim-light); }
html:not(#x) .composer textarea::placeholder { color: var(--mute); }
html:not(#x) .dseg-thumb, html:not(#x) .opts button[aria-pressed="true"] { color: #FFFFFF; background: linear-gradient(145deg, rgb(var(--m-metal)), rgb(var(--m-pigment))); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .25), 0 6px 14px -4px rgba(var(--m-shadow), .45); }
html:not(#x) .dseg button[aria-selected="true"] { color: #FFFFFF; }
/* by night on Lacquer the send and the thumb are gold ink and white-gold, not copper: the room's own metal (v69) */
html:not(#x):not([data-material]):not([data-theme="light"]) .composer .orb.ink, html:not([data-material]):not([data-theme="light"]) .dseg-thumb, html:not([data-material]):not([data-theme="light"]) .opts button[aria-pressed="true"] { color: #1A1512; }
/* the status lights and the live dots take the paper's pigment too */
html:not(#x) .status i, html:not(#x) .typing .dots i, html:not(#x) .link-state.on::before, html:not(#x) .chip.ok::before, html:not(#x) .tests li.pass::before, html:not(#x) .job-k::before, html:not(#x) .kept-pill::before { background: rgb(var(--m-pigment)); box-shadow: 0 0 8px rgba(var(--m-pigment), .6); }
html:not(#x) .hello::after { background: linear-gradient(90deg, rgba(var(--m-pigment), 0), rgba(var(--m-pigment), .85) 30%, rgba(var(--m-metal), .95) 50%, rgba(var(--m-pigment), .85) 70%, rgba(var(--m-pigment), 0)); }
html:not(#x) .tiltpip[aria-checked="true"] i { box-shadow: inset 0 1px 2px rgba(var(--m-shadow), .55), inset 0 -.5px 0 var(--m-rim-light), 0 0 0 1px rgba(var(--m-pigment), .9); }
html:not(#x) .switch.on { background: rgba(var(--m-pigment), .4); box-shadow: inset 0 1px 2.5px rgba(var(--m-shadow), .5), inset 0 0 0 .5px rgba(var(--m-pigment), .6), inset 0 -1px 0 var(--m-rim-light); }
html:not(#x) .swatches button[aria-checked="true"] i { box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 2.5px var(--air), 0 0 0 3.75px rgba(var(--m-pigment), .95), 0 3px 8px rgba(var(--m-shadow), .4); }
html[data-material="pewter-amethyst"] .dseg-thumb, html[data-material="pewter-amethyst"] .opts button[aria-pressed="true"], html[data-material="pewter-amethyst"] .composer .orb.ink { color: #F4F0FF; }
/* on a light paper a warrior's glow behind its small figure read as a smudge; it is a breath now */
html[data-theme="light"] .wemb .being-glow { opacity: .45; }

/* ---------------------------------------------------------------- Herbaline Irish Plum (day)
   Kadian's own colour (Patent 12): chilled flint glass (#BDCBB8) holding a clear-bottle green elixir (#CBD9C4) with the
   clarity of sugarcane alcohol in the lit edge (#E5F0DF), crushed-herb sediment in the wells (#AABBA5), macerated
   oakmoss ink (#111C13), brushed atomizer pewter-moss (#3B4632), crushed verbena and violet-leaf pips (61, 117, 71),
   and verbena sprigs in Oakmoss Sumi ink (#142618). (v69) */
html[data-theme="light"][data-material="herbaline-irish-plum"] {
  --m-water-lo: 96, 168, 112; --m-water-hi: 214, 246, 214;   /* the orb's water (v71) */
  background: #BDCBB8;
  --air: #BDCBB8; --haze: rgba(16, 30, 18, .06); --m-air-rgb: 189, 203, 184;
  --ink: #111C13; --ink-2: #2F4232; --mute: #536B56;
  --m-plant-ink: 20, 38, 24; --m-plant: verbena;
  --m-surface: #CBD9C4; --m-surface-hi: #E5F0DF; --m-well: #AABBA5;
  --m-rim-light: rgba(241, 252, 235, .94);
  --m-rim-shade: rgba(22, 38, 25, .28);
  --m-shadow: 16, 30, 18; --m-shadow-a: .24; --m-ao-a: .12; --m-umbra-a: .22;
  --m-pigment: 61, 117, 71;
  --m-copper: 61, 117, 71;
  --m-metal: 59, 70, 50;
  --m-mark: rgba(83, 107, 86, .9);
  --m-groove: rgba(16, 30, 18, .13);
  --m-block: linear-gradient(180deg, #E5F0DF, #CBD9C4);
  --m-floor: 244, 255, 238; --m-floor-a: .55;
  --m-wall: 16, 30, 18; --m-wall-a: .18;
  --m-wall-lit: 241, 252, 235; --m-wall-lit-a: .65;
  --m-sheen: 236, 255, 224; --m-sheen-a: .42;
  --m-glint: 184, 212, 156;
  --m-trench-shade: rgba(17, 28, 19, .2); --m-trench-lit: rgba(241, 252, 235, .86);
}
html[data-theme="light"][data-material="herbaline-irish-plum"] body {
  background: #BDCBB8;
  --raise: #CBD9C4; --glass: rgba(255, 255, 255, .5); --glass-2: rgba(255, 255, 255, .78);
  --line: rgba(16, 30, 18, .11); --line-2: rgba(16, 30, 18, .19);
  --text: #111C13; --text-2: #2F4232; --dim: #536B56; --moon: #3B4632;
}
/* the flacon: a pool of the elixir's light placed by the light (the chamber's floor), and a dark edge to the glass */
html[data-theme="light"][data-material="herbaline-irish-plum"] .chamber .floor { background: radial-gradient(closest-side, rgba(244, 255, 238, .72), rgba(198, 226, 184, .34) 40%, rgba(198, 226, 184, 0)); }
html[data-theme="light"][data-material="herbaline-irish-plum"] .chat::after { background: linear-gradient(180deg, rgba(189, 203, 184, 0), rgba(189, 203, 184, .86) 52%, rgba(189, 203, 184, .96)); }
html[data-theme="light"][data-material="herbaline-irish-plum"] .chat .top,
html[data-theme="light"][data-material="herbaline-irish-plum"] .bar.sticky::before,
html[data-theme="light"][data-material="herbaline-irish-plum"] .desk-top::before { background: rgba(189, 203, 184, .9); }
html[data-theme="light"][data-material="herbaline-irish-plum"] .wcard { background: radial-gradient(80% 60% at 0% 0%, rgba(var(--w-glow), .1), rgba(var(--w-glow), .03) 45%, transparent 68%), linear-gradient(calc(var(--light-deg) + 18deg), rgba(246, 255, 242, .88) 0%, rgba(203, 217, 196, .96) 38%, rgba(176, 198, 168, .96) 72%, rgba(236, 248, 230, .9) 100%); }
html[data-theme="light"][data-material="herbaline-irish-plum"] .tile { background: linear-gradient(calc(var(--light-deg) + 18deg), #F0F8EC, #CBD9C4 60%, #BFCFB8); }
html[data-theme="light"][data-material="herbaline-irish-plum"] .tile.hero { background: linear-gradient(calc(var(--light-deg) + 18deg), #E5F0DF, #C3D2BC 70%, #B2C4AC); }
html[data-theme="light"][data-material="herbaline-irish-plum"] .sheet { background: linear-gradient(170deg, #E5F0DF, #CBD9C4 60%, #BFCFB8); }
html[data-theme="light"][data-material="herbaline-irish-plum"] .sheet.music { background: linear-gradient(168deg, #E5F0DF 0%, #CBD9C4 55%, #B2C4AC 100%); }
html[data-theme="light"][data-material="herbaline-irish-plum"] .composer::after { background: linear-gradient(180deg, rgba(229, 240, 223, .96) 0%, rgba(203, 217, 196, .96) 55%, rgba(178, 196, 172, .96) 100%); }
html[data-theme="light"][data-material="herbaline-irish-plum"] .wstat { background: rgba(16, 30, 18, .07); }
html[data-theme="light"][data-material="herbaline-irish-plum"] .chamber::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='vl'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.011' numOctaves='3' seed='6' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.30 0 0 0 0 0.16 0 0 0 0.10 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23vl)'/%3E%3C/svg%3E"); background-size: 320px 320px; }

/* ---------------------------------------------------------------- the greeting and her name in the paper's own metal (v71)
   The copper lettering was one colour on every paper; it is cut from each paper's pigment and metal now, so the home
   screen is one palette: water, rim, lettering, send, pores, hairline. */
html:not(#x) { --copper: linear-gradient(100deg, rgb(var(--m-metal)) 0%, color-mix(in srgb, rgb(var(--m-pigment)) 45%, #fff) 20%, rgb(var(--m-pigment)) 38%, color-mix(in srgb, rgb(var(--m-pigment)) 22%, #fff) 52%, color-mix(in srgb, rgb(var(--m-pigment)) 78%, #000) 68%, color-mix(in srgb, rgb(var(--m-pigment)) 50%, #fff) 84%, rgb(var(--m-metal)) 100%); }
/* by day the lettering is deep in the paper's pigment with one catch of light, so it carries contrast on pale paper */
html[data-theme="light"]:not(#x) { --copper: linear-gradient(100deg, rgb(var(--m-metal)) 0%, rgb(var(--m-pigment)) 18%, color-mix(in srgb, rgb(var(--m-pigment)) 70%, #000) 36%, color-mix(in srgb, rgb(var(--m-pigment)) 62%, #fff) 50%, color-mix(in srgb, rgb(var(--m-pigment)) 72%, #000) 64%, rgb(var(--m-pigment)) 82%, rgb(var(--m-metal)) 100%); }

/* ---------------------------------------------------------------- a warrior's page on the room's paper (v77)
   The warrior pages wear the same paper as Oriel's: their dark (--void, --deep) is the paper's air and wafer, their
   top and their bar are cut from it, and the send is the paper's pigment. The warrior's own colour washes over it. */
html[data-material][data-warrior] body { --void: var(--air); --deep: var(--m-surface); }
html[data-material][data-warrior] .top::before { background: linear-gradient(180deg, color-mix(in srgb, var(--air) 96%, transparent), color-mix(in srgb, var(--air) 84%, transparent)); }
html[data-material][data-warrior] .bar::after { background: linear-gradient(180deg, var(--m-surface-hi), var(--m-surface)); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 var(--m-rim-light), 0 18px 50px rgba(var(--m-shadow), var(--m-shadow-a)); }
html[data-material][data-warrior] .orb.go { color: var(--m-surface-hi); background: linear-gradient(145deg, rgb(var(--m-pigment)), rgb(var(--m-metal))); }
html[data-material][data-warrior] .stage { background: var(--air); }

/* ==== v79 papers: begin ==== */
/* ---------------------------------------------------------------- Silver Mountain Water (day, v79)
   Meltwater over silver. A bed of cold sterling (#E2E7EB) on a snow-shadow floor (#D4DBE1) under clear, moving water held
   still: the net of light a stream throws on its bed (matter.js, "stream"). Blackened-silver engraving (#282E3C), and the
   scent's blackcurrant as the one ink in the room (#403270): the pips, the send, the lettering. Alpine ridges in
   blue-black sumi, snow left as bare paper, their feet lost in mist. */
html[data-theme="light"][data-material="silver-mountain-water"] {
  --m-water-lo: 138, 176, 204; --m-water-hi: 240, 250, 255;   /* the orb's water */
  background: #D4DBE1;
  --air: #D4DBE1; --haze: rgba(14, 20, 30, .06); --m-air-rgb: 212, 219, 225;
  --ink: #10151C; --ink-2: #33404C; --mute: #5B6876;
  --m-plant-ink: 22, 30, 46; --m-plant: ridge; --m-plant-frost: 250, 253, 255;
  --m-surface: #E2E7EB; --m-surface-hi: #F3F6F8; --m-well: #C3CCD4;
  --m-rim-light: rgba(250, 253, 255, .9);
  --m-rim-shade: rgba(14, 20, 30, .26);
  --m-shadow: 14, 20, 30; --m-shadow-a: .22; --m-ao-a: .12; --m-umbra-a: .22;
  --m-pigment: 64, 50, 112;
  --m-copper: 64, 50, 112;
  --m-metal: 40, 46, 60;
  --m-mark: rgba(91, 104, 118, .9);
  --m-groove: rgba(14, 20, 30, .13);
  --m-block: linear-gradient(180deg, #F3F6F8, #E2E7EB);
  --m-floor: 250, 253, 255; --m-floor-a: .5;
  --m-wall: 14, 20, 30; --m-wall-a: .18;
  --m-wall-lit: 250, 253, 255; --m-wall-lit-a: .65;
  --m-sheen: 250, 253, 255; --m-sheen-a: .42;
  --m-glint: 226, 236, 246;
  --m-trench-shade: rgba(14, 20, 30, .22); --m-trench-lit: rgba(250, 253, 255, .8);
}
html[data-theme="light"][data-material="silver-mountain-water"] body {
  background: #D4DBE1;
  --raise: #E2E7EB; --glass: rgba(255, 255, 255, .55); --glass-2: rgba(255, 255, 255, .8);
  --line: rgba(14, 20, 30, .11); --line-2: rgba(14, 20, 30, .19);
  --text: #10151C; --text-2: #33404C; --dim: #5B6876; --moon: rgb(40, 46, 60);
}
html[data-theme="light"][data-material="silver-mountain-water"] .chat::after { background: linear-gradient(180deg, rgba(var(--m-air-rgb), 0), rgba(var(--m-air-rgb), .86) 52%, rgba(var(--m-air-rgb), .96)); }
html[data-theme="light"][data-material="silver-mountain-water"] .chat .top,
html[data-theme="light"][data-material="silver-mountain-water"] .bar.sticky::before,
html[data-theme="light"][data-material="silver-mountain-water"] .desk-top::before { background: rgba(var(--m-air-rgb), .9); }
html[data-theme="light"][data-material="silver-mountain-water"] .wcard { background: radial-gradient(80% 60% at 0% 0%, rgba(var(--w-glow), .1), rgba(var(--w-glow), .03) 45%, transparent 68%), linear-gradient(168deg, #F3F6F8, #E2E7EB 60%, color-mix(in srgb, #E2E7EB 86%, #C3CCD4)); }
html[data-theme="light"][data-material="silver-mountain-water"] .tile { background: radial-gradient(120% 80% at 0% 0%, #F3F6F8, transparent 60%), linear-gradient(170deg, color-mix(in srgb, #F3F6F8 50%, #E2E7EB), #E2E7EB); }
html[data-theme="light"][data-material="silver-mountain-water"] .tile.hero { background: radial-gradient(90% 140% at 50% 150%, rgba(14, 20, 30, .07), rgba(14, 20, 30, 0) 70%), linear-gradient(170deg, #F3F6F8, color-mix(in srgb, #E2E7EB 80%, #C3CCD4)); }
html[data-theme="light"][data-material="silver-mountain-water"] .sheet { background: radial-gradient(120% 60% at 0% 0%, #F3F6F8, transparent 60%), linear-gradient(170deg, color-mix(in srgb, #F3F6F8 50%, #E2E7EB), #E2E7EB); }
html[data-theme="light"][data-material="silver-mountain-water"] .sheet.music { background: linear-gradient(168deg, #F3F6F8 0%, #E2E7EB 55%, color-mix(in srgb, #E2E7EB 86%, #C3CCD4) 100%); }
html[data-theme="light"][data-material="silver-mountain-water"] .composer::after { background: linear-gradient(180deg, color-mix(in srgb, #F3F6F8 96%, transparent) 0%, color-mix(in srgb, #E2E7EB 96%, transparent) 55%, color-mix(in srgb, #E2E7EB 86%, #C3CCD4) 100%); }
html[data-theme="light"][data-material="silver-mountain-water"] .wstat { background: rgba(14, 20, 30, .07); }
html[data-theme="light"][data-material="silver-mountain-water"] .chamber::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .95; background-image: var(--tex-stream, none), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='en'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.11 0 0 0 0 0.16 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23en)'/%3E%3C/svg%3E"); background-size: var(--tex-stream-size, 512px) var(--tex-stream-size, 512px), 180px 180px; }
html[data-theme="light"][data-material="silver-mountain-water"] .chamber .floor { background: radial-gradient(closest-side, rgba(255, 255, 255, .78), rgba(226, 240, 250, .4) 42%, rgba(226, 240, 250, 0)); }

/* ---------------------------------------------------------------- Valaya (day, v79)
   White silk against skin. Watered silk in pearl (#F1EAEA) on a blush-pearl floor (#E7DEDE): a moire figure pressed into
   a fine rib, drawn once (matter.js, "moire"). White-peach water in the orb, the one warm note in a clean room;
   framboise ink (#8A3A54) for the pips, the send and the lettering, fig-wood engraving (#3A2630), a pearl hairline for
   the glint (no rose gold). Lily of the valley in plum-umber sumi, its bells left as bare paper. */
html[data-theme="light"][data-material="valaya"] {
  --m-water-lo: 238, 166, 170; --m-water-hi: 255, 240, 238;   /* the orb's water */
  background: #E7DEDE;
  --air: #E7DEDE; --haze: rgba(40, 22, 28, .06); --m-air-rgb: 231, 222, 222;
  --ink: #1F1619; --ink-2: #4D3D41; --mute: #7B6A6E;
  --m-plant-ink: 64, 34, 46; --m-plant: muguet; --m-plant-frost: 255, 253, 252;
  --m-surface: #F1EAEA; --m-surface-hi: #FCF8F7; --m-well: #DACECF;
  --m-rim-light: rgba(255, 250, 249, .9);
  --m-rim-shade: rgba(40, 22, 28, .26);
  --m-shadow: 40, 22, 28; --m-shadow-a: .22; --m-ao-a: .12; --m-umbra-a: .22;
  --m-pigment: 138, 58, 84;
  --m-copper: 138, 58, 84;
  --m-metal: 58, 38, 48;
  --m-mark: rgba(123, 106, 110, .9);
  --m-groove: rgba(40, 22, 28, .13);
  --m-block: linear-gradient(180deg, #FCF8F7, #F1EAEA);
  --m-floor: 255, 250, 249; --m-floor-a: .5;
  --m-wall: 40, 22, 28; --m-wall-a: .18;
  --m-wall-lit: 255, 250, 249; --m-wall-lit-a: .65;
  --m-sheen: 255, 244, 240; --m-sheen-a: .42;
  --m-glint: 236, 226, 240;
  --m-trench-shade: rgba(40, 22, 28, .22); --m-trench-lit: rgba(255, 250, 249, .8);
}
html[data-theme="light"][data-material="valaya"] body {
  background: #E7DEDE;
  --raise: #F1EAEA; --glass: rgba(255, 255, 255, .55); --glass-2: rgba(255, 255, 255, .8);
  --line: rgba(40, 22, 28, .11); --line-2: rgba(40, 22, 28, .19);
  --text: #1F1619; --text-2: #4D3D41; --dim: #7B6A6E; --moon: rgb(58, 38, 48);
}
html[data-theme="light"][data-material="valaya"] .chat::after { background: linear-gradient(180deg, rgba(var(--m-air-rgb), 0), rgba(var(--m-air-rgb), .86) 52%, rgba(var(--m-air-rgb), .96)); }
html[data-theme="light"][data-material="valaya"] .chat .top,
html[data-theme="light"][data-material="valaya"] .bar.sticky::before,
html[data-theme="light"][data-material="valaya"] .desk-top::before { background: rgba(var(--m-air-rgb), .9); }
html[data-theme="light"][data-material="valaya"] .wcard { background: radial-gradient(80% 60% at 0% 0%, rgba(var(--w-glow), .1), rgba(var(--w-glow), .03) 45%, transparent 68%), linear-gradient(168deg, #FCF8F7, #F1EAEA 60%, color-mix(in srgb, #F1EAEA 86%, #DACECF)); }
html[data-theme="light"][data-material="valaya"] .tile { background: radial-gradient(120% 80% at 0% 0%, #FCF8F7, transparent 60%), linear-gradient(170deg, color-mix(in srgb, #FCF8F7 50%, #F1EAEA), #F1EAEA); }
html[data-theme="light"][data-material="valaya"] .tile.hero { background: radial-gradient(90% 140% at 50% 150%, rgba(40, 22, 28, .07), rgba(40, 22, 28, 0) 70%), linear-gradient(170deg, #FCF8F7, color-mix(in srgb, #F1EAEA 80%, #DACECF)); }
html[data-theme="light"][data-material="valaya"] .sheet { background: radial-gradient(120% 60% at 0% 0%, #FCF8F7, transparent 60%), linear-gradient(170deg, color-mix(in srgb, #FCF8F7 50%, #F1EAEA), #F1EAEA); }
html[data-theme="light"][data-material="valaya"] .sheet.music { background: linear-gradient(168deg, #FCF8F7 0%, #F1EAEA 55%, color-mix(in srgb, #F1EAEA 86%, #DACECF) 100%); }
html[data-theme="light"][data-material="valaya"] .composer::after { background: linear-gradient(180deg, color-mix(in srgb, #FCF8F7 96%, transparent) 0%, color-mix(in srgb, #F1EAEA 96%, transparent) 55%, color-mix(in srgb, #F1EAEA 86%, #DACECF) 100%); }
html[data-theme="light"][data-material="valaya"] .wstat { background: rgba(40, 22, 28, .07); }
html[data-theme="light"][data-material="valaya"] .chamber::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9; background-image: var(--tex-moire, none); background-size: var(--tex-moire-size, 384px) var(--tex-moire-size, 384px); }
html[data-theme="light"][data-material="valaya"] .chamber .floor { background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 236, 228, .42) 40%, rgba(255, 236, 228, 0)); }

/* ---------------------------------------------------------------- Blue Meteorite (night, v79)
   A slice of iron from space, etched and blued. Midnight steel (#121A33) on a deeper floor (#0A1022), crossed by the
   crystal bands that only form in metal cooled over millions of years (matter.js, "meteor"): one direction catching
   ice-blue, one violet, one in shade. Platinum engraving (#E2E8F2), a starlight-lilac jewel (#B9B2FF), glacier water.
   Cranes in liquid platinum climbing the left edge toward the eclipse. */
html[data-material="blue-meteorite"]:not([data-theme="light"]) {
  --m-water-lo: 120, 176, 255; --m-water-hi: 232, 244, 255;   /* the orb's water */
  background: #0A1022;
  --air: #0A1022; --glass: rgba(206, 220, 255, .05); --m-air-rgb: 10, 16, 34;
  --ink: #EEF1FA; --ink-2: #B3BBD2; --mute: #7880A0;
  --m-plant-ink: 226, 232, 246; --m-plant: cranes; --m-plant-frost: 255, 255, 255;
  --m-surface: #121A33; --m-surface-hi: #1B2647; --m-well: #060A18;
  --line: rgba(206, 220, 255, .1); --line-2: rgba(206, 220, 255, .17);
  --m-rim-light: rgba(206, 220, 255, .24);
  --m-rim-shade: rgba(2, 3, 10, .78);
  --m-shadow: 2, 3, 10; --m-shadow-a: .68; --m-ao-a: .62; --m-umbra-a: .8;
  --m-pigment: 185, 178, 255;
  --m-copper: 150, 160, 255;
  --m-metal: 226, 232, 242;
  --m-ice: 185, 178, 255;
  --m-mark: rgba(120, 128, 160, .9);
  --m-groove: rgba(0, 0, 0, .5);
  --m-block: linear-gradient(180deg, #F2F4FA, #C6CCE0);
  --m-floor: 150, 180, 255; --m-floor-a: .09;
  --m-wall: 0, 0, 0; --m-wall-a: .72;
  --m-wall-lit: 206, 220, 255; --m-wall-lit-a: .1;
  --m-sheen: 170, 190, 255; --m-sheen-a: .07;
  --m-glint: 206, 220, 255;
  --m-trench-shade: rgba(0, 0, 0, .62); --m-trench-lit: rgba(206, 220, 255, .14);
}
html[data-material="blue-meteorite"]:not([data-theme="light"]) body {
  background: #0A1022;
  --raise: #1B2647; --glass: rgba(206, 220, 255, .05); --glass-2: rgba(206, 220, 255, .09);
  --line: rgba(206, 220, 255, .1); --line-2: rgba(206, 220, 255, .17);
  --text: #EEF1FA; --text-2: #B3BBD2; --dim: #7880A0; --moon: rgb(226, 232, 242);
}
html[data-material="blue-meteorite"]:not([data-theme="light"]) .chat::after { background: linear-gradient(180deg, rgba(10, 16, 34, 0), rgba(10, 16, 34, .86) 52%, rgba(10, 16, 34, .96)); }
html[data-material="blue-meteorite"]:not([data-theme="light"]) .chat .top,
html[data-material="blue-meteorite"]:not([data-theme="light"]) .bar.sticky::before,
html[data-material="blue-meteorite"]:not([data-theme="light"]) .desk-top::before { background: rgba(10, 16, 34, .9); }
html[data-material="blue-meteorite"]:not([data-theme="light"]) .wcard { background: radial-gradient(80% 60% at 0% 0%, rgba(var(--w-glow), .09), rgba(var(--w-glow), .02) 45%, transparent 68%), linear-gradient(168deg, color-mix(in srgb, #1B2647 97%, transparent), color-mix(in srgb, #121A33 98%, transparent)); }
html[data-material="blue-meteorite"]:not([data-theme="light"]) .tile { background: radial-gradient(120% 80% at 0% 0%, rgba(206, 220, 255, .07), transparent 60%), linear-gradient(170deg, #1B2647, #121A33); }
html[data-material="blue-meteorite"]:not([data-theme="light"]) .tile.hero { background: radial-gradient(90% 140% at 50% 150%, rgba(206, 220, 255, .06), rgba(206, 220, 255, 0) 70%), linear-gradient(170deg, #1B2647, color-mix(in srgb, #121A33 70%, #0A1022)); }
html[data-material="blue-meteorite"]:not([data-theme="light"]) .sheet { background: radial-gradient(120% 60% at 0% 0%, rgba(206, 220, 255, .07), transparent 60%), linear-gradient(170deg, #1B2647, color-mix(in srgb, #121A33 60%, #0A1022)); }
html[data-material="blue-meteorite"]:not([data-theme="light"]) .sheet.music { background: linear-gradient(168deg, #1B2647 0%, #121A33 55%, color-mix(in srgb, #121A33 60%, #0A1022) 100%); }
html[data-material="blue-meteorite"]:not([data-theme="light"]) .composer::after { background: linear-gradient(180deg, color-mix(in srgb, #1B2647 94%, transparent) 0%, color-mix(in srgb, #121A33 95%, transparent) 55%, color-mix(in srgb, #121A33 60%, #0A1022) 100%); }
/* a light jewel carries dark lettering: the chosen option and the Desk's thumb are cut from the paper's own dark */
html:not(#x)[data-material="blue-meteorite"]:not([data-theme="light"]) .dseg-thumb, html:not(#x)[data-material="blue-meteorite"]:not([data-theme="light"]) .opts button[aria-pressed="true"], html:not(#x)[data-material="blue-meteorite"]:not([data-theme="light"]) .dseg button[aria-selected="true"], html:not(#x)[data-material="blue-meteorite"]:not([data-theme="light"]) .composer .orb.ink { color: #0E1430; }
html[data-material="blue-meteorite"]:not([data-theme="light"]) .chamber::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .8; background-image: var(--tex-meteor, none), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='en'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.05' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.70 0 0 0 0 0.78 0 0 0 0 1 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23en)'/%3E%3C/svg%3E"); background-size: var(--tex-meteor-size, 384px) var(--tex-meteor-size, 384px), 180px 180px; }

/* ---------------------------------------------------------------- Garnet Nacre (night, v79)
   A lacquer box in black garnet, inlaid with shell. Wine-black urushi (#2A0F1A) on a deeper floor (#17070D), slivers of
   mother-of-pearl set into it in drifts (matter.js, "raden"): lilac, ice, champagne, each catching a different
   light. White-gold engraving (#E8DFCC), a pearl jewel (#E4D8F2), moonstone water as the one cold note; the switch
   takes a garnet when it is on. Wisteria in pearl ink, falling from the top of the room. */
html[data-material="garnet-nacre"]:not([data-theme="light"]) {
  --m-water-lo: 168, 190, 255; --m-water-hi: 244, 246, 255;   /* the orb's water */
  background: #17070D;
  --air: #17070D; --glass: rgba(244, 226, 232, .05); --m-air-rgb: 23, 7, 13;
  --ink: #F4EDE8; --ink-2: #C9B8B9; --mute: #917C80;
  --m-plant-ink: 236, 226, 242; --m-plant: wisteria; --m-plant-frost: 255, 255, 255;
  --m-surface: #2A0F1A; --m-surface-hi: #3A1826; --m-well: #0E0408;
  --line: rgba(244, 226, 232, .1); --line-2: rgba(244, 226, 232, .17);
  --m-rim-light: rgba(244, 226, 232, .24);
  --m-rim-shade: rgba(6, 2, 3, .78);
  --m-shadow: 6, 2, 3; --m-shadow-a: .68; --m-ao-a: .62; --m-umbra-a: .8;
  --m-pigment: 228, 216, 242;
  --m-copper: 196, 70, 92;
  --m-metal: 232, 223, 204;
  --m-ice: 228, 216, 242;
  --m-mark: rgba(145, 124, 128, .9);
  --m-groove: rgba(0, 0, 0, .5);
  --m-block: linear-gradient(180deg, #F4EDE8, #D2C2C4);
  --m-floor: 255, 214, 224; --m-floor-a: .06;
  --m-wall: 0, 0, 0; --m-wall-a: .72;
  --m-wall-lit: 244, 226, 232; --m-wall-lit-a: .1;
  --m-sheen: 255, 220, 230; --m-sheen-a: .07;
  --m-glint: 232, 222, 200;
  --m-trench-shade: rgba(0, 0, 0, .62); --m-trench-lit: rgba(244, 226, 232, .14);
}
html[data-material="garnet-nacre"]:not([data-theme="light"]) body {
  background: #17070D;
  --raise: #3A1826; --glass: rgba(244, 226, 232, .05); --glass-2: rgba(244, 226, 232, .09);
  --line: rgba(244, 226, 232, .1); --line-2: rgba(244, 226, 232, .17);
  --text: #F4EDE8; --text-2: #C9B8B9; --dim: #917C80; --moon: rgb(232, 223, 204);
}
html[data-material="garnet-nacre"]:not([data-theme="light"]) .chat::after { background: linear-gradient(180deg, rgba(23, 7, 13, 0), rgba(23, 7, 13, .86) 52%, rgba(23, 7, 13, .96)); }
html[data-material="garnet-nacre"]:not([data-theme="light"]) .chat .top,
html[data-material="garnet-nacre"]:not([data-theme="light"]) .bar.sticky::before,
html[data-material="garnet-nacre"]:not([data-theme="light"]) .desk-top::before { background: rgba(23, 7, 13, .9); }
html[data-material="garnet-nacre"]:not([data-theme="light"]) .wcard { background: radial-gradient(80% 60% at 0% 0%, rgba(var(--w-glow), .09), rgba(var(--w-glow), .02) 45%, transparent 68%), linear-gradient(168deg, color-mix(in srgb, #3A1826 97%, transparent), color-mix(in srgb, #2A0F1A 98%, transparent)); }
html[data-material="garnet-nacre"]:not([data-theme="light"]) .tile { background: radial-gradient(120% 80% at 0% 0%, rgba(244, 226, 232, .07), transparent 60%), linear-gradient(170deg, #3A1826, #2A0F1A); }
html[data-material="garnet-nacre"]:not([data-theme="light"]) .tile.hero { background: radial-gradient(90% 140% at 50% 150%, rgba(244, 226, 232, .06), rgba(244, 226, 232, 0) 70%), linear-gradient(170deg, #3A1826, color-mix(in srgb, #2A0F1A 70%, #17070D)); }
html[data-material="garnet-nacre"]:not([data-theme="light"]) .sheet { background: radial-gradient(120% 60% at 0% 0%, rgba(244, 226, 232, .07), transparent 60%), linear-gradient(170deg, #3A1826, color-mix(in srgb, #2A0F1A 60%, #17070D)); }
html[data-material="garnet-nacre"]:not([data-theme="light"]) .sheet.music { background: linear-gradient(168deg, #3A1826 0%, #2A0F1A 55%, color-mix(in srgb, #2A0F1A 60%, #17070D) 100%); }
html[data-material="garnet-nacre"]:not([data-theme="light"]) .composer::after { background: linear-gradient(180deg, color-mix(in srgb, #3A1826 94%, transparent) 0%, color-mix(in srgb, #2A0F1A 95%, transparent) 55%, color-mix(in srgb, #2A0F1A 60%, #17070D) 100%); }
/* a light jewel carries dark lettering: the chosen option and the Desk's thumb are cut from the paper's own dark */
html:not(#x)[data-material="garnet-nacre"]:not([data-theme="light"]) .dseg-thumb, html:not(#x)[data-material="garnet-nacre"]:not([data-theme="light"]) .opts button[aria-pressed="true"], html:not(#x)[data-material="garnet-nacre"]:not([data-theme="light"]) .dseg button[aria-selected="true"], html:not(#x)[data-material="garnet-nacre"]:not([data-theme="light"]) .composer .orb.ink { color: #22090F; }
html[data-material="garnet-nacre"]:not([data-theme="light"]) .chamber::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .95; background-image: var(--tex-raden, none), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='en'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.05' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.80 0 0 0 0 0.84 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23en)'/%3E%3C/svg%3E"); background-size: var(--tex-raden-size, 384px) var(--tex-raden-size, 384px), 180px 180px; }
/* the ink on these four papers is painted fuller than a stalk of bamboo (washes, wings, clusters of blossom), so on
   the door and home it sits a little higher than the house's 0.20 / 0.26; under the Desk, the Atelier and a chat it
   keeps the house's own levels (styles.css) */
html[data-theme="light"][data-material="silver-mountain-water"] body:not([data-screen="chat"]):not([data-screen="desk"]):not([data-screen="atelier"]):not([data-screen="links"]):not([data-screen="soul"]):not([data-screen="mem"]):not([data-screen="brain"]) .bamboo { opacity: .7; }
html[data-theme="light"][data-material="valaya"] body:not([data-screen="chat"]):not([data-screen="desk"]):not([data-screen="atelier"]):not([data-screen="links"]):not([data-screen="soul"]):not([data-screen="mem"]):not([data-screen="brain"]) .bamboo { opacity: .7; }
html[data-material="blue-meteorite"]:not([data-theme="light"]) body:not([data-screen="chat"]):not([data-screen="desk"]):not([data-screen="atelier"]):not([data-screen="links"]):not([data-screen="soul"]):not([data-screen="mem"]):not([data-screen="brain"]) .bamboo { opacity: .5; }
html[data-material="garnet-nacre"]:not([data-theme="light"]) body:not([data-screen="chat"]):not([data-screen="desk"]):not([data-screen="atelier"]):not([data-screen="links"]):not([data-screen="soul"]):not([data-screen="mem"]):not([data-screen="brain"]) .bamboo { opacity: .5; }
/* the Atelier's three cards in each of these papers' own light (glass.js reads the glows), numbered like the house's stamps */
html[data-theme="light"][data-material="silver-mountain-water"] { --m-silk-soul: 222, 232, 244; --m-silk-mem: 132, 186, 236; --m-silk-brain: 156, 138, 232; }
html[data-theme="light"][data-material="valaya"] { --m-silk-soul: 255, 192, 170; --m-silk-mem: 238, 128, 162; --m-silk-brain: 238, 226, 242; }
html[data-material="blue-meteorite"]:not([data-theme="light"]) { --m-silk-soul: 196, 214, 255; --m-silk-mem: 180, 160, 255; --m-silk-brain: 126, 190, 255; }
html[data-material="garnet-nacre"]:not([data-theme="light"]) { --m-silk-soul: 242, 216, 172; --m-silk-mem: 228, 86, 116; --m-silk-brain: 216, 202, 248; }
html:is([data-material="silver-mountain-water"], [data-material="valaya"], [data-material="blue-meteorite"], [data-material="garnet-nacre"]) .silk em::before { position: absolute; top: -15px; left: 1px; font-family: var(--f-mark, var(--mono)); font-size: 9.5px; font-weight: 400; letter-spacing: .22em; opacity: .6; text-shadow: none; }
html:is([data-material="silver-mountain-water"], [data-material="valaya"], [data-material="blue-meteorite"], [data-material="garnet-nacre"]) .silk.soul em::before { content: "01"; }
html:is([data-material="silver-mountain-water"], [data-material="valaya"], [data-material="blue-meteorite"], [data-material="garnet-nacre"]) .silk.mem em::before { content: "02"; }
html:is([data-material="silver-mountain-water"], [data-material="valaya"], [data-material="blue-meteorite"], [data-material="garnet-nacre"]) .silk.brain em::before { content: "03"; }
/* ==== v79 papers: end ==== */

/* ==== v80 papers: begin ==== */
/* v82: what v80 and v81 added is lit from the resting light (the top left) and painted once. Shadows that followed the
   tilt were repainted on every movement of the phone, and it lagged. Only transforms follow the tilt here. */
html { --rest-x: -.35; --rest-y: -.45; }
/* ---------------------------------------------------------------- Silver Mountain Water, re-inked (v80)
   The same meltwater over silver. Its one ink is the water's own now, a muted slate-blue (#5B7083), and its engraving
   brushed steel (#384452): the pips, the send, the lettering. */
html[data-theme="light"][data-material="silver-mountain-water"] {
  --m-pigment: 91, 112, 131; --m-copper: 91, 112, 131; --m-metal: 56, 68, 82;
  --ink-2: #384452; --think-ink: #4A5F73;
  --aura-1: #B1CBDF; --aura-2: #C2DDE4; --aura-3: #B3BDDC;
}
html[data-theme="light"][data-material="silver-mountain-water"] body { --text-2: #384452; --moon: rgb(56, 68, 82); }

/* ---------------------------------------------------------------- Valaya Opal (day, v80)
   Valaya, warmed: frosted silk-ivory (#F5EEE8) on a cashmere floor (#EAE0D9), the same watered silk pressed into it.
   Palladium engraving (#5C4B45), a dusty rose-mauve for the pips and the send (#B88B94), and where that rose has to be
   read as a word it is taken a shade deeper (#8C626B). Opal water in the orb: a pale rose with a breath of lilac. */
html[data-theme="light"][data-material="valaya"] {
  --m-water-lo: 222, 184, 198; --m-water-hi: 255, 245, 240;
  background: #EAE0D9;
  --air: #EAE0D9; --haze: rgba(42, 28, 24, .06); --m-air-rgb: 234, 224, 217;
  --ink: #2A1E1B; --ink-2: #5C4B45; --mute: #7E6C65;
  --m-plant-ink: 86, 62, 60; --m-plant-frost: 255, 252, 248;
  --m-surface: #F5EEE8; --m-surface-hi: #FCF8F4; --m-well: #DDD1CA;
  --m-rim-light: rgba(255, 252, 249, .92);
  --m-rim-shade: rgba(42, 28, 24, .24);
  --m-shadow: 42, 28, 24; --m-shadow-a: .2; --m-ao-a: .11; --m-umbra-a: .2;
  --m-pigment: 184, 139, 148;
  --m-copper: 184, 139, 148;
  --m-metal: 92, 75, 69;
  --m-mark: rgba(126, 108, 101, .9);
  --m-groove: rgba(42, 28, 24, .13);
  --m-block: linear-gradient(180deg, #FCF8F4, #F5EEE8);
  --m-floor: 255, 252, 249; --m-wall: 42, 28, 24; --m-wall-lit: 255, 252, 249;
  --m-sheen: 255, 246, 238;
  --m-glint: 240, 228, 222;
  --m-trench-shade: rgba(42, 28, 24, .2); --m-trench-lit: rgba(255, 252, 249, .82);
  --think-ink: #8C626B;
  --m-silk-soul: 255, 214, 190; --m-silk-mem: 222, 150, 170; --m-silk-brain: 236, 224, 240;
  --aura-1: #E9BEC4; --aura-2: #F5D8C0; --aura-3: #DCBCD1;
}
html[data-theme="light"][data-material="valaya"] body {
  background: #EAE0D9;
  --raise: #F5EEE8;
  --line: rgba(42, 28, 24, .11); --line-2: rgba(42, 28, 24, .19);
  --text: #2A1E1B; --text-2: #5C4B45; --dim: #7E6C65; --moon: rgb(92, 75, 69);
}
html[data-theme="light"][data-material="valaya"] .wcard { background: radial-gradient(80% 60% at 0% 0%, rgba(var(--w-glow), .1), rgba(var(--w-glow), .03) 45%, transparent 68%), linear-gradient(168deg, #FCF8F4, #F5EEE8 60%, color-mix(in srgb, #F5EEE8 86%, #DDD1CA)); }
html[data-theme="light"][data-material="valaya"] .tile { background: radial-gradient(120% 80% at 0% 0%, #FCF8F4, transparent 60%), linear-gradient(170deg, color-mix(in srgb, #FCF8F4 50%, #F5EEE8), #F5EEE8); }
html[data-theme="light"][data-material="valaya"] .tile.hero { background: radial-gradient(90% 140% at 50% 150%, rgba(42, 28, 24, .07), rgba(42, 28, 24, 0) 70%), linear-gradient(170deg, #FCF8F4, color-mix(in srgb, #F5EEE8 80%, #DDD1CA)); }
html[data-theme="light"][data-material="valaya"] .sheet { background: radial-gradient(120% 60% at 0% 0%, #FCF8F4, transparent 60%), linear-gradient(170deg, color-mix(in srgb, #FCF8F4 50%, #F5EEE8), #F5EEE8); }
html[data-theme="light"][data-material="valaya"] .sheet.music { background: linear-gradient(168deg, #FCF8F4 0%, #F5EEE8 55%, color-mix(in srgb, #F5EEE8 86%, #DDD1CA) 100%); }
html[data-theme="light"][data-material="valaya"] .composer::after { background: linear-gradient(180deg, color-mix(in srgb, #FCF8F4 96%, transparent) 0%, color-mix(in srgb, #F5EEE8 96%, transparent) 55%, color-mix(in srgb, #F5EEE8 86%, #DDD1CA) 100%); }
html[data-theme="light"][data-material="valaya"] .wstat { background: rgba(42, 28, 24, .07); }
html[data-theme="light"][data-material="valaya"] .chamber .floor { background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 238, 226, .42) 40%, rgba(255, 238, 226, 0)); }
/* a pale jewel carries dark lettering */
html:not(#x)[data-theme="light"][data-material="valaya"] .dseg-thumb, html:not(#x)[data-theme="light"][data-material="valaya"] .opts button[aria-pressed="true"], html:not(#x)[data-theme="light"][data-material="valaya"] .dseg button[aria-selected="true"], html:not(#x)[data-theme="light"][data-material="valaya"] .composer .orb.ink { color: #FFFBF8; }

/* ---------------------------------------------------------------- Pewter-Amethyst: its cards and its edge (v80) */
html[data-theme="light"][data-material="pewter-amethyst"] {
  --m-silk-soul: 236, 230, 255; --m-silk-mem: 172, 146, 224; --m-silk-brain: 138, 156, 226;
  --aura-1: #D8CFEB; --aura-2: #D7DEEC; --aura-3: #B299C3;
}

/* the Atelier's three cards in Pewter-Amethyst's own light, numbered, as on the four papers of v79 */
html[data-material="pewter-amethyst"] .silk em::before { position: absolute; top: -15px; left: 1px; font-family: var(--f-mark, var(--mono)); font-size: 9.5px; font-weight: 400; letter-spacing: .22em; opacity: .6; text-shadow: none; }
html[data-material="pewter-amethyst"] .silk.soul em::before { content: "01"; }
html[data-material="pewter-amethyst"] .silk.mem em::before { content: "02"; }
html[data-material="pewter-amethyst"] .silk.brain em::before { content: "03"; }
/* the edge light's three pigments, exact in OKLCH where the phone reads it */
@supports (color: oklch(50% 0.1 180)) {
  html[data-theme="light"][data-material="silver-mountain-water"] { --aura-1: oklch(83% 0.04 240); --aura-2: oklch(88% 0.03 215); --aura-3: oklch(80% 0.045 272); }
  html[data-theme="light"][data-material="valaya"] { --aura-1: oklch(84% 0.05 8); --aura-2: oklch(90% 0.045 62); --aura-3: oklch(83% 0.045 340); }
  html[data-theme="light"][data-material="pewter-amethyst"] { --aura-1: oklch(87% 0.04 300); --aura-2: oklch(90% 0.02 262); --aura-3: oklch(72% 0.065 312); }
}

/* ==========================================================================
   v80: the call's look, brought home
   ========================================================================== */
/* ---------------------------------------------------------------- the edge light
   A soft perimeter and a bloom from the floor in three of the paper's pigments (--aura-1, --aura-2, --aura-3): the
   same light as the call's, at rest. Three still layers, each painted once; they trade places slowly (opacity only)
   and lift a little while she thinks or speaks. It lies under the paper's texture and the painting, so it reads as
   pigment in the paper. By day only: by night the dark stays deep. A paper without its own three stops takes them
   from its water, its pigment and its ice. */
html[data-theme="light"] {
  --aura-1: color-mix(in srgb, rgb(var(--m-water-lo)) 42%, var(--air));
  --aura-2: color-mix(in srgb, rgb(var(--m-pigment)) 20%, var(--m-surface-hi));
  --aura-3: color-mix(in srgb, rgb(var(--m-ice, var(--m-water-lo))) 34%, var(--air));
}
.edge-aura { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; display: none; opacity: .7; transition: opacity 1.6s var(--spring-heavy, ease); contain: strict; }
html[data-theme="light"] .edge-aura { display: block; }
/* v81: the three layers hold still (a phone was compositing three full screens every frame for a drift too slow to see) */
.edge-aura i { position: absolute; inset: 0; display: block; }
.edge-aura .a1 { --c: var(--aura-1); --side: 17%; --head: 10%; --foot: 20%; --bx: 32%; opacity: .52; }
.edge-aura .a2 { --c: var(--aura-2); --side: 22%; --head: 14%; --foot: 16%; --bx: 50%; opacity: .36; }
.edge-aura .a3 { --c: var(--aura-3); --side: 14%; --head: 8%; --foot: 24%; --bx: 68%; opacity: .3; }
.edge-aura i { background:
    linear-gradient(90deg, var(--c), transparent var(--side)),
    linear-gradient(270deg, var(--c), transparent var(--side)),
    linear-gradient(180deg, var(--c), transparent var(--head)),
    radial-gradient(70% 34% at var(--bx) 100%, var(--c), transparent 72%),
    linear-gradient(0deg, var(--c), transparent var(--foot)); }
body.alive .edge-aura { opacity: 1; }
body[data-screen="chat"] .edge-aura { opacity: .46; }
body[data-screen="chat"].alive .edge-aura { opacity: .8; }

/* ---------------------------------------------------------------- the dock at home
   The three doors and the call sit in one groove cut into the paper, each a key with real thickness: a lit top edge,
   a lip beneath, and a shadow that leans away from the light as the phone tilts. Pressed, a key sinks into the groove.
   The call is the one key in the paper's pigment. */
html:not(#x) .doors { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 6px; padding: 5px; border-radius: 27px; background: var(--m-well);
  box-shadow: inset calc(var(--rest-x) * -2px) calc(var(--rest-y) * -2px + 1.5px) 5px rgba(var(--m-shadow), calc(var(--m-shadow-a) * 1.15)), inset 0 -1px 0 var(--m-rim-light), 0 1px 0 var(--m-rim-light); }
html:not(#x) .doors button { position: relative; min-width: 0; min-height: 52px; padding: 7px 4px 6px; gap: 3px; border-radius: 22px; color: var(--ink-2); font-size: 11.5px; letter-spacing: .04em;
  background: linear-gradient(calc(142deg + 26deg), var(--m-surface-hi), var(--m-surface) 72%);
  box-shadow: inset 0 1px 0 var(--m-rim-light), inset 0 -1px 0 var(--m-rim-shade),
    0 2px 0 -.5px color-mix(in srgb, var(--m-surface) 72%, rgb(var(--m-shadow))),
    calc(var(--rest-x) * -5px) calc(var(--rest-y) * -5px + 5px) 9px -3px rgba(var(--m-shadow), calc(var(--m-shadow-a) * 1.05));
  transition: transform .18s var(--spring-heavy, ease), box-shadow .18s var(--spring-heavy, ease); }
html:not(#x) .doors button svg { color: var(--ink); opacity: .86; }
html:not(#x) .doors button:active { transform: translateY(2px); background: linear-gradient(calc(142deg + 26deg), var(--m-surface-hi), var(--m-surface) 72%);
  box-shadow: inset 0 1px 0 var(--m-rim-light), inset 0 -1px 0 var(--m-rim-shade), 0 0 0 0 transparent, 0 1px 2px rgba(var(--m-shadow), var(--m-shadow-a)); }
html:not(#x) .doors .call { width: 52px; height: 52px; min-height: 0; align-self: center; padding: 0; border-radius: 50%; color: var(--m-surface-hi); background: linear-gradient(145deg, rgb(var(--m-pigment)), rgb(var(--m-metal)));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), inset 0 -1px 0 rgba(0, 0, 0, .28),
    0 2px 0 -.5px color-mix(in srgb, rgb(var(--m-metal)) 70%, #000),
    calc(var(--rest-x) * -5px) calc(var(--rest-y) * -5px + 6px) 12px -3px rgba(var(--m-pigment), .5); }
html:not(#x) .doors .call:active { background: linear-gradient(145deg, rgb(var(--m-pigment)), rgb(var(--m-metal))); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3), 0 1px 2px rgba(var(--m-shadow), var(--m-shadow-a)); }
html:not(#x) .doors .call svg { color: inherit; opacity: 1; width: 21px; height: 21px; }
html:not(#x):not([data-material]):not([data-theme="light"]) .doors .call, html:not(#x)[data-material="garnet-nacre"] .doors .call, html:not(#x)[data-material="blue-meteorite"] .doors .call { color: #17120E; }

/* ---------------------------------------------------------------- three papers within reach
   Silver, Valaya and Pewter in a small groove at the head of home, as on the call. The Atelier keeps the rest. */
.quick-paper { flex: none; display: flex; margin-left: auto; padding: 2px; border-radius: 999px; background: var(--m-well);
  box-shadow: inset calc(var(--rest-x) * -1.5px) calc(var(--rest-y) * -1.5px + 1px) 3px rgba(var(--m-shadow), var(--m-shadow-a)), inset 0 -1px 0 var(--m-rim-light); }
.quick-paper button { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; }
.quick-paper button i { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 100%);
  box-shadow: 0 0 0 1px rgba(var(--m-shadow), .3), 0 1.5px 2px rgba(var(--m-shadow), .35); transition: transform .28s var(--spring-heavy, ease), box-shadow .28s var(--spring-heavy, ease); }
.quick-paper button[aria-checked="true"] i { transform: scale(1.22); box-shadow: 0 0 0 1px rgba(var(--m-shadow), .3), 0 0 0 3px var(--m-surface-hi), 0 0 0 4px rgb(var(--m-metal)), 0 3px 5px rgba(var(--m-shadow), .4); }
.home .top { gap: 10px; }
.home .top .kept-pill { margin-left: auto; }
.home .top .kept-pill:not([hidden]) + .quick-paper { margin-left: 0; }

/* ---------------------------------------------------------------- the top of a chat
   As the call's: her name and her state at the left, in the paper's ink, with the pip of its pigment; the keys cut
   from the paper (back, call, read aloud), each with a lit edge, a lip and a shadow that leans from the light. No band
   across the screen: the paper runs on under the bar and the words fade as they pass beneath it. Her breath, in the
   paper's motif, is the line along its foot. */
html:not(#x) #s-chat .bar.sticky { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 12px; min-height: 54px; padding-bottom: 16px; margin-bottom: 8px; }
html:not(#x):not(#y) #s-chat .bar.sticky::before { bottom: -16px; background: linear-gradient(180deg, color-mix(in srgb, var(--air) 96%, transparent) 0%, color-mix(in srgb, var(--air) 90%, transparent) 58%, color-mix(in srgb, var(--air) 0%, transparent) 100%); }
html:not(#x) #s-chat .bar.sticky::after { display: none; }
html:not(#x) #s-chat .bar-title { justify-items: start; text-align: left; }
html:not(#x) #s-chat .bar-title strong { font-size: 23px; padding: 0; }
html:not(#x) #s-chat .bar-title small { display: flex; align-items: center; gap: 6px; max-width: 100%; margin-top: 5px; padding-top: 0; letter-spacing: .15em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--mute); }
html:not(#x) #s-chat .bar-title small::before { display: block; position: static; flex: none; width: 5px; height: 5px; border-radius: 50%; transform: none; animation: none; background: rgb(var(--m-pigment)); box-shadow: 0 0 6px rgba(var(--m-pigment), .5); }
html:not(#x) #s-chat #breath { position: absolute; left: 50%; bottom: 1px; margin: 0 0 0 -75px; opacity: .85; pointer-events: none; }
#s-chat .bar-keys { display: flex; align-items: center; gap: 8px; }
html:not(#x) #s-chat .bar .icon { width: 40px; height: 40px; color: var(--ink-2);
  background: radial-gradient(120% 120% at calc(50% + var(--rest-x) * 40%) calc(50% + var(--rest-y) * 40%), var(--m-surface-hi), var(--m-surface) 62%);
  box-shadow: inset 0 1px 0 var(--m-rim-light), inset 0 -1px 0 var(--m-rim-shade),
    0 2px 0 -.5px color-mix(in srgb, var(--m-surface) 72%, rgb(var(--m-shadow))),
    calc(var(--rest-x) * -6px) calc(var(--rest-y) * -6px + 5px) 10px -3px rgba(var(--m-shadow), calc(var(--m-shadow-a) * 1.1));
  transition: transform .18s var(--spring-heavy, ease), box-shadow .18s var(--spring-heavy, ease), background-color .3s, color .3s; }
html:not(#x) #s-chat .bar .icon:active { transform: translateY(2px); box-shadow: inset 0 1px 0 var(--m-rim-light), inset 0 -1px 0 var(--m-rim-shade), 0 1px 2px rgba(var(--m-shadow), var(--m-shadow-a)); }
html:not(#x) #s-chat .bar .icon svg { width: 20px; height: 20px; }
/* read aloud: the five bars again, in the key; on, the key takes the paper's pigment */
html:not(#x) #s-chat .icon.wave svg { display: block; }
html:not(#x) #s-chat .icon.wave::before, html:not(#x) #s-chat .icon.wave::after { display: none; }
html:not(#x) #s-chat .icon.wave[aria-pressed="true"] { color: var(--m-surface-hi); background: linear-gradient(145deg, rgb(var(--m-pigment)), rgb(var(--m-metal)));
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3), inset 0 -1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(var(--m-shadow), var(--m-shadow-a)); }
html:not(#x):not([data-material]):not([data-theme="light"]) #s-chat .icon.wave[aria-pressed="true"], html:not(#x)[data-material="garnet-nacre"] #s-chat .icon.wave[aria-pressed="true"], html:not(#x)[data-material="blue-meteorite"] #s-chat .icon.wave[aria-pressed="true"] { color: #17120E; }

/* ---------------------------------------------------------------- the rim round her orb
   The call's machined ring, at the door and at home: three metals of the paper met twice round the circle, the
   lathe's fine lines cut into it, a lip beneath it, and a shadow that leans away from the light as the phone tilts.
   It sits behind the glass, so the orb, its water and its light are untouched; one sliver of light walks the ring. */
html { --bezel-1: rgb(var(--m-metal)); --bezel-2: color-mix(in srgb, rgb(var(--m-metal)) 48%, var(--m-well)); --bezel-3: color-mix(in srgb, rgb(var(--m-metal)) 15%, var(--m-well)); }
html[data-theme="light"] { --bezel-1: var(--m-surface-hi); --bezel-2: color-mix(in srgb, rgb(var(--m-metal)) 42%, var(--m-surface-hi)); --bezel-3: rgb(var(--m-metal)); }
/* ---------------------------------------------------------------- the crystal
   Over the orb, a watch's sapphire: a polished chamfer where it meets the ring, the ring's shadow falling onto what
   lies under it (so the glass stands above the water), one hard-edged reflection of a window across the dome with a
   thin companion beside it, and a breath of the blue a coated crystal shows low on its far side. Still; the light
   moves the shadows. */
/* v85: the rim and the crystal round her orb are the call's, drawn the same way: plain CSS, so they are sharp at any
   pixel density and nothing is turned or resampled. A whole ring in the paper's three metals with the lathe's lines;
   on it, a disc of the paper's own colour ringed by the dark, sharp edge of the glass; the orb's canvas cut to the
   sphere, so no haze lies over the metal; and over the orb the crystal's edge and the ring's shadow on the water.
   The depth, as the phone turns, is in the orb itself: its water leans and its lights slide (glass.js). */
html { --orb-edge: 4, 4, 8; }
html[data-theme="light"] { --orb-edge: 24, 28, 38; }
/* v87: the ring is a true ring now (an inline SVG from glass.js), open at its middle, so the paintings and the paper are
   seen through the glass. Its lip and its shadows are the element's own, and fall outside it. */
.orb-rim { position: absolute; inset: -8.6%; display: none; border-radius: 50%; pointer-events: none;
  box-shadow: 0 3px 0 -.5px color-mix(in srgb, var(--bezel-3) 70%, rgb(var(--m-shadow))), 0 4px 5px rgba(var(--m-shadow), calc(var(--m-shadow-a) * 1.1)),
    9px 22px 34px -8px rgba(var(--m-shadow), calc(var(--m-shadow-a) * 1.35)), 18px 40px 60px -22px rgba(var(--m-shadow), calc(var(--m-shadow-a) * .9)); }
.orb-rim svg { display: block; width: 100%; height: 100%; }
.mark-wrap.gl .orb-rim { display: block; }
html:not(#x) .mark-wrap.gl:not(.xs) .orb-gl { clip-path: circle(21.75%); }
.orb-crystal { position: absolute; inset: 0; z-index: 2; display: none; border-radius: 50%; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px rgba(var(--orb-edge), .9), inset 0 0 0 2.5px rgba(255, 255, 255, .2), inset 4px 7px 14px -2px rgba(var(--m-shadow), .4); }
.mark-wrap.gl .orb-crystal { display: block; }
/* ---------------------------------------------------------------- the warriors' setting (Desk)
   Each warrior stands in a small dial cut into its card, like the orb in its rim: a well in the paper, a hairline
   ring in the paper's three metals, a polished chamfer, and a breath of the warrior's own light on its floor. The
   figure itself is untouched; it rises a little out of the dial. */
html:not(#x) .wemb { position: relative; }
html:not(#x) .wemb::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: 0; width: 70px; height: 70px; margin: -33px 0 0 -35px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 62%, rgba(var(--w-glow), .2), rgba(var(--w-glow), 0) 62%), radial-gradient(circle at calc(50% + var(--rest-x) * 30%) calc(50% + var(--rest-y) * 30%), var(--m-surface-hi), var(--m-well) 78%);
  box-shadow: inset calc(var(--rest-x) * -3px) calc(var(--rest-y) * -3px + 2px) 6px rgba(var(--m-shadow), calc(var(--m-shadow-a) * 1.2)), inset 0 0 0 1px rgba(255, 255, 255, .5),
    0 0 0 1.5px var(--bezel-2), 0 0 0 2.5px var(--bezel-3), 0 0 0 3.5px var(--bezel-1), 0 1.5px 0 3.5px var(--m-rim-shade), 0 -1px 0 3.5px var(--m-rim-light); }
/* ---------------------------------------------------------------- the warriors as vessels (Desk, v81)
   The ink figures are gone from the Desk. Each warrior is a small sister of her orb: a crystal vessel in the dial,
   half full of water in that warrior's own colour, with one pearl of light in it. The water keeps its level as the
   phone tilts. Nothing here is drawn per frame. */
html:not(#x) .wemb .wvessel { position: absolute; left: 50%; top: 50%; z-index: 1; display: block; width: 62px; height: 62px; margin: -29px 0 0 -31px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(var(--m-shadow), .14) 84%, rgba(var(--m-shadow), .4) 100%);
  box-shadow: inset 0 0 0 1px rgba(var(--m-shadow), .6), inset calc(var(--rest-x) * -4px) calc(var(--rest-y) * -4px + 2px) 6px -1px rgba(var(--m-shadow), .35); }
html:not(#x) .wemb .wvessel b { position: absolute; display: block; left: -30%; right: -30%; top: 52%; height: 90%; transform-origin: 50% 0; transform: rotate(calc(var(--light-x) * -10deg - 3.5deg));
  background: radial-gradient(11% 12% at 44% 26%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 100%), radial-gradient(34% 40% at 44% 28%, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, color-mix(in srgb, rgb(var(--w-glow)) 46%, #fff) 0%, rgba(var(--w-glow), .86) 26%, color-mix(in srgb, rgb(var(--w-glow)) 76%, #000) 100%);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .9), 0 -3px 0 rgba(var(--w-glow), .28); }
html:not(#x) .wemb .wvessel::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 50%;
  background: conic-gradient(from 298deg, rgba(255, 255, 255, .92) 0deg 34deg, transparent 36deg 150deg, rgba(255, 255, 255, .5) 152deg 172deg, transparent 174deg 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent 80%, #000 82% 89%, transparent 91%); mask: radial-gradient(closest-side, transparent 80%, #000 82% 89%, transparent 91%); }
html:not(#x) .wemb .wvessel::after { content: ""; position: absolute; z-index: 2; left: 25%; top: 17%; width: 17%; height: 10%; border-radius: 45% 55% 50% 50%; background: rgba(255, 255, 255, .88); transform: rotate(-33deg); }
html:not([data-theme="light"]) .wemb .wvessel::before, html:not([data-theme="light"]) .wemb .wvessel::after { opacity: .6; }
/* the being in its vessel, on a warrior's own page (v84). The ink figure is back, evolved: it lives inside its glass.
   Behind it a machined ring; in front of it the vessel's water in the warrior's colour, so the figure stands in the
   water with its hem seen faintly through it, its wings rising past the rim; over all, the lights on the glass.
   Three still layers and the figure's own canvas between them. No mask, nothing that follows the tilt. */
html:not(#x) .being-spot .being { z-index: 1; transform: translateY(-3%) scale(.78); transform-origin: 50% 50%; }
html:not(#x) .being-spot::after { content: ""; position: absolute; z-index: 0; left: 50%; top: 50%; width: 76%; height: 76%; transform: translate(-50%, -50%); box-sizing: border-box; border-radius: 50%; pointer-events: none;
  /* a ring with no mask: the metal is painted on the border's box, and the paper's own colour covers its middle */
  border: 8px solid transparent;
  background: linear-gradient(var(--air, #0A0807), var(--air, #0A0807)) padding-box,
    repeating-conic-gradient(from 0deg, rgba(var(--m-shadow), .2) 0deg .5deg, transparent .5deg 2.5deg) border-box,
    conic-gradient(from 218deg, var(--bezel-1) 0%, var(--bezel-2) 17%, var(--bezel-3) 33%, var(--bezel-1) 50%, var(--bezel-2) 67%, var(--bezel-3) 83%, var(--bezel-1) 100%) border-box;
  box-shadow: inset 0 0 0 1px rgba(var(--m-shadow), .55), 0 0 0 1px rgba(var(--m-shadow), .34), 0 3px 0 -.5px color-mix(in srgb, var(--bezel-3) 70%, rgb(var(--m-shadow))), 0 4px 5px rgba(var(--m-shadow), calc(var(--m-shadow-a) * 1.1)),
    8px 18px 26px -8px rgba(var(--m-shadow), calc(var(--m-shadow-a) * 1.3)); }
html:not(#x) .being-spot::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; width: 65%; height: 65%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(7% 5% at 31% 22%, rgba(255, 255, 255, .92) 58%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(5% 4% at 40% 18%, rgba(255, 255, 255, .7) 58%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(7% 7% at 62% 80%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 100%),
    radial-gradient(circle, rgba(var(--m-shadow), 0) 62%, rgba(var(--m-shadow), .12) 86%, rgba(var(--m-shadow), .4) 100%),
    linear-gradient(180deg, transparent 0 61.6%, rgba(255, 255, 255, .9) 61.6% 62.7%, color-mix(in srgb, rgb(var(--w-glow)) 40%, transparent) 62.7%, rgba(var(--w-glow), .7) 76%, color-mix(in srgb, rgb(var(--w-glow)) 72%, #000) 100%);
  box-shadow: inset 0 0 0 1.5px rgba(var(--m-shadow), .6), inset 3px 6px 9px -2px rgba(var(--m-shadow), .34), inset 0 0 0 2.5px rgba(255, 255, 255, .16); }

/* her name and the greeting at home, by day: the metal lettering a shade deeper, so it is read at a glance */
html[data-theme="light"] .home .brand { filter: brightness(.6) contrast(1.25); }
html[data-theme="light"] .home .hello { filter: brightness(.82) contrast(1.12); }

/* ---------------------------------------------------------------- the mic, lit (v82)
   Listening, the mic is a key with its lamp on, like a backlit key on a BlackBerry: the paper's pigment, steady, with a
   close, even glow. No pulse, no rings, no halo. */
html:not(#x) .composer .orb.rec, html:not(#x) .composer .orb.hearing { animation: none !important; color: var(--m-surface-hi);
  background: linear-gradient(180deg, color-mix(in srgb, rgb(var(--m-pigment)) 86%, #fff), rgb(var(--m-pigment)) 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -1px 0 rgba(0, 0, 0, .22), 0 0 0 1px rgba(var(--m-pigment), .4), 0 0 7px rgba(var(--m-pigment), .45); }
html:not(#x) .composer .orb.rec::before, html:not(#x) .composer .orb.rec::after, html:not(#x) .composer .orb.hearing::before, html:not(#x) .composer .orb.hearing::after { display: none !important; animation: none !important; }
html:not(#x) .composer .orb.rec svg, html:not(#x) .composer .orb.hearing svg { animation: none !important; opacity: 1; }
html:not(#x):not([data-material]):not([data-theme="light"]) .composer .orb.rec, html:not(#x):not([data-material]):not([data-theme="light"]) .composer .orb.hearing, html:not(#x)[data-material="garnet-nacre"] .composer .orb.rec, html:not(#x)[data-material="garnet-nacre"] .composer .orb.hearing, html:not(#x)[data-material="blue-meteorite"] .composer .orb.rec, html:not(#x)[data-material="blue-meteorite"] .composer .orb.hearing { color: #17120E; }

/* ---------------------------------------------------------------- the colours, measured (v83)
   The small words on the three papers were measured against what they sit on. Where they fell short of what the eye
   reads without effort (4.5 to 1), the ink is a shade deeper; the hue is the paper's own. */
html[data-theme="light"][data-material="silver-mountain-water"] { --mute: #4F5C6A; --m-mark: rgba(79, 92, 106, .94); }
html[data-theme="light"][data-material="silver-mountain-water"] body { --dim: #4F5C6A; }
html[data-theme="light"][data-material="valaya"] { --mute: #6C5A53; --m-mark: rgba(108, 90, 83, .94); --think-ink: #7A525D; }
html[data-theme="light"][data-material="valaya"] body { --dim: #6C5A53; }
html[data-theme="light"][data-material="pewter-amethyst"] { --mute: #413B4C; --m-mark: rgba(65, 59, 76, .94); --bad: #6E1F2A; }
html[data-theme="light"][data-material="pewter-amethyst"] body { --dim: #413B4C; }
/* Valaya's rose is pale for white lettering: its send and its call are cut a shade deeper toward the palladium, and
   the lit mic carries dark lettering */
html:not(#x)[data-theme="light"][data-material="valaya"] .composer .orb.ink, html:not(#x)[data-theme="light"][data-material="valaya"] .doors .call { background: linear-gradient(145deg, color-mix(in srgb, rgb(var(--m-pigment)) 52%, rgb(var(--m-metal))), rgb(var(--m-metal))); }
html:not(#x)[data-theme="light"][data-material="valaya"] .composer .orb.rec, html:not(#x)[data-theme="light"][data-material="valaya"] .composer .orb.hearing { color: #2A1E1B; }

/* ---------------------------------------------------------------- the Desk's top, steady (v86)
   The tab bar twitched on every scroll. Two things under it were being redone as the page moved: a blur of whatever
   passed beneath (switched on and off as the bar stuck), and the bar's long shadow, redrawn each time the phone's
   tilt shifted in the hand. The blur is gone (the house has no frosted glass): the paper runs on under the bar and the
   cards fade as they pass beneath it, as at the top of a chat. The bar's shadow is painted once, from the resting light. */
html:not(#x):not(#y) .desk-top::before { opacity: 1; transition: none; bottom: -14px; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--air) 97%, transparent) 0%, color-mix(in srgb, var(--air) 94%, transparent) 72%, color-mix(in srgb, var(--air) 0%, transparent) 100%); }
html:not(#x) .desk-top::after { display: none; }
html:not(#x) .dseg { box-shadow: inset 0 0 0 var(--hair, 1px) var(--line-2), inset 0 1px 0 var(--m-rim-light), inset 0 -1px 0 var(--m-rim-shade),
  0 1px 2px rgba(var(--m-shadow), calc(var(--m-shadow-a) * .9)), 5px 11px 18px -8px rgba(var(--m-shadow), calc(var(--m-shadow-a) * 1.1)); }

/* ---------------------------------------------------------------- the text bar at the keyboard (v87)
   While the keyboard is up, keyboard.js holds the chat's text bar to the foot of what can be seen. The thread keeps
   room for it, and the bottom wall of the room and the edge light step back, so no line crosses the screen there. */
.composer.docked[data-kb] { position: fixed; top: 0; bottom: auto; margin: 0; z-index: 40; will-change: transform; }
body.kb #thread { padding-bottom: var(--kb-bar, 0px); }
body.kb .chamber .b, body.kb .edge-aura { opacity: 0; }

/* ---------------------------------------------------------------- the ring's metals on the three papers (v88)
   The home ring read dark beside the call's. It takes the call's three metals exactly: a bright face, a silver middle
   and the paper's engraving for the dark. On any other day paper the bright face is lifted toward white. */
html[data-theme="light"] { --bezel-1: color-mix(in srgb, var(--m-surface-hi) 55%, #fff); --bezel-2: color-mix(in srgb, rgb(var(--m-metal)) 34%, var(--m-surface-hi)); }
html[data-theme="light"][data-material="silver-mountain-water"] { --bezel-1: #F4F7FA; --bezel-2: #9AA7B4; --bezel-3: #384452; }
html[data-theme="light"][data-material="valaya"] { --bezel-1: #FBF6F1; --bezel-2: #B9A8A0; --bezel-3: #5C4B45; }
html[data-theme="light"][data-material="pewter-amethyst"] { --bezel-1: #ECE8F8; --bezel-2: #8C879C; --bezel-3: #2E2E38; }

/* ---------------------------------------------------------------- small things
   A notice that something went wrong was a pale salmon made for the night; by day it is a dull garnet that can be read. */
html[data-theme="light"] { --bad: #9A3B3E; }
/* four faces in the Type row at a phone's width: none of their names is cut short */
html:not(#x) #typeOpts button { padding-left: 1px; padding-right: 1px; font-size: 11.5px; letter-spacing: -.01em; }
/* room for the rim between the orb and the words under it */
html:not(#x) .mark-wrap.gl:not(.xs) { margin-bottom: 22px; }
/* a phone on its side: the dock keeps its depth at a lower height */
@media (orientation: landscape) and (max-height: 540px) {
  html:not(#x) .doors { padding: 4px; }
  html:not(#x) .doors button { min-height: 40px; padding: 4px; }
  html:not(#x) .doors .call { width: 40px; height: 40px; }
  html:not(#x) .mark-wrap.gl:not(.xs) { margin-bottom: 14px; }
}
/* ==== v80 papers: end ==== */
