/* GENERATED by tools/build_theme.py from tools/theme.template.css - edit those, not this file. */
/* =====================================================================================
   Orsona - "a lantern-lit chart table at night".
   The page sits on a dark night sea (a navigator's chart, a compass rose, a slow swell along the
   bottom); every panel is a sheet of parchment laid on it, trimmed in brass. Loaded after style.css.
===================================================================================== */
:root {
  --abyss: #061720;
  --night: #0b2533;
  --brass: #c9a23a;
  --brass-hi: #ecd28a;
  --brass-lo: #7c5d18;
  --parch: #fbf4e1;
  --parch-edge: #e9d9ae;
  --panel: #fcf6e6;
  --line: #dcc894;
  --paper: #0b2533;
}

html { background: var(--abyss); }
body { background: transparent; min-height: 100vh; position: relative; isolation: isolate; }

/* ---------------------------------------------------------------- the backdrop */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 12% -8%, rgba(176, 214, 226, .20), transparent 70%),     /* moonlight */
    radial-gradient(ellipse 60% 45% at 92% 108%, rgba(201, 162, 58, .14), transparent 70%),     /* lantern glow */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E %3Cg stroke='%23d8c38a' fill='none'%3E %3Cpath d='M0 .5H180M.5 0V180' stroke-opacity='.10'/%3E %3Cpath d='M0 90.5H180M90.5 0V180' stroke-opacity='.05' stroke-dasharray='2 6'/%3E %3Cpath d='M30.5 0v4M60.5 0v4M120.5 0v4M150.5 0v4M0 30.5h4M0 60.5h4M0 120.5h4M0 150.5h4' stroke-opacity='.14'/%3E %3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #0c2a39 0%, #0d3040 45%, #0a2431 75%, #071a24 100%);
}
.bd-rose { position: absolute; width: min(118vmin, 1100px); aspect-ratio: 1; right: max(-30vmin, -280px); top: -26vmin;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E %3Cg stroke='%23e7cf8e' stroke-opacity='.55' fill='none'%3E%3Cline x1='500' y1='500' x2='500' y2='-1500' stroke-width='1.4'/%3E%3Cline x1='500' y1='500' x2='890' y2='-1462' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='1265' y2='-1348' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='1611' y2='-1163' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='1914' y2='-914' stroke-width='1.4'/%3E%3Cline x1='500' y1='500' x2='2163' y2='-611' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='2348' y2='-265' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='2462' y2='110' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='2500' y2='500' stroke-width='1.4'/%3E%3Cline x1='500' y1='500' x2='2462' y2='890' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='2348' y2='1265' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='2163' y2='1611' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='1914' y2='1914' stroke-width='1.4'/%3E%3Cline x1='500' y1='500' x2='1611' y2='2163' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='1265' y2='2348' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='890' y2='2462' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='500' y2='2500' stroke-width='1.4'/%3E%3Cline x1='500' y1='500' x2='110' y2='2462' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='-265' y2='2348' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='-611' y2='2163' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='-914' y2='1914' stroke-width='1.4'/%3E%3Cline x1='500' y1='500' x2='-1163' y2='1611' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='-1348' y2='1265' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='-1462' y2='890' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='-1500' y2='500' stroke-width='1.4'/%3E%3Cline x1='500' y1='500' x2='-1462' y2='110' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='-1348' y2='-265' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='-1163' y2='-611' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='-914' y2='-914' stroke-width='1.4'/%3E%3Cline x1='500' y1='500' x2='-611' y2='-1163' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='-265' y2='-1348' stroke-width='0.7'/%3E%3Cline x1='500' y1='500' x2='110' y2='-1462' stroke-width='0.7'/%3E%3C/g%3E %3Cg stroke='%23e7cf8e' stroke-opacity='.8' fill='none' stroke-width='1.2'%3E %3Ccircle cx='500' cy='500' r='470'/%3E%3Ccircle cx='500' cy='500' r='448'/%3E%3Ccircle cx='500' cy='500' r='150'/%3E%3Ccircle cx='500' cy='500' r='132' stroke-dasharray='3 5'/%3E%3Cline x1='500.0' y1='44.0' x2='500.0' y2='30.0'/%3E%3Cline x1='522.7' y1='37.6' x2='523.1' y2='30.6'/%3E%3Cline x1='545.4' y1='39.2' x2='546.1' y2='32.3'/%3E%3Cline x1='567.9' y1='42.0' x2='569.0' y2='35.1'/%3E%3Cline x1='589.0' y1='52.8' x2='591.7' y2='39.0'/%3E%3Cline x1='612.5' y1='50.9' x2='614.2' y2='44.1'/%3E%3Cline x1='634.4' y1='56.9' x2='636.4' y2='50.2'/%3E%3Cline x1='656.0' y1='64.1' x2='658.3' y2='57.5'/%3E%3Cline x1='674.5' y1='78.7' x2='679.9' y2='65.8'/%3E%3Cline x1='698.0' y1='81.5' x2='701.0' y2='75.1'/%3E%3Cline x1='718.3' y1='91.7' x2='721.6' y2='85.5'/%3E%3Cline x1='738.0' y1='102.9' x2='741.6' y2='96.9'/%3E%3Cline x1='753.3' y1='120.8' x2='761.1' y2='109.2'/%3E%3Cline x1='775.8' y1='128.1' x2='780.0' y2='122.5'/%3E%3Cline x1='793.7' y1='142.1' x2='798.2' y2='136.7'/%3E%3Cline x1='810.9' y1='156.9' x2='815.6' y2='151.8'/%3E%3Cline x1='822.4' y1='177.6' x2='832.3' y2='167.7'/%3E%3Cline x1='843.1' y1='189.1' x2='848.2' y2='184.4'/%3E%3Cline x1='857.9' y1='206.3' x2='863.3' y2='201.8'/%3E%3Cline x1='871.9' y1='224.2' x2='877.5' y2='220.0'/%3E%3Cline x1='879.2' y1='246.7' x2='890.8' y2='238.9'/%3E%3Cline x1='897.1' y1='262.0' x2='903.1' y2='258.4'/%3E%3Cline x1='908.3' y1='281.7' x2='914.5' y2='278.4'/%3E%3Cline x1='918.5' y1='302.0' x2='924.9' y2='299.0'/%3E%3Cline x1='921.3' y1='325.5' x2='934.2' y2='320.1'/%3E%3Cline x1='935.9' y1='344.0' x2='942.5' y2='341.7'/%3E%3Cline x1='943.1' y1='365.6' x2='949.8' y2='363.6'/%3E%3Cline x1='949.1' y1='387.5' x2='955.9' y2='385.8'/%3E%3Cline x1='947.2' y1='411.0' x2='961.0' y2='408.3'/%3E%3Cline x1='958.0' y1='432.1' x2='964.9' y2='431.0'/%3E%3Cline x1='960.8' y1='454.6' x2='967.7' y2='453.9'/%3E%3Cline x1='962.4' y1='477.3' x2='969.4' y2='476.9'/%3E%3Cline x1='956.0' y1='500.0' x2='970.0' y2='500.0'/%3E%3Cline x1='962.4' y1='522.7' x2='969.4' y2='523.1'/%3E%3Cline x1='960.8' y1='545.4' x2='967.7' y2='546.1'/%3E%3Cline x1='958.0' y1='567.9' x2='964.9' y2='569.0'/%3E%3Cline x1='947.2' y1='589.0' x2='961.0' y2='591.7'/%3E%3Cline x1='949.1' y1='612.5' x2='955.9' y2='614.2'/%3E%3Cline x1='943.1' y1='634.4' x2='949.8' y2='636.4'/%3E%3Cline x1='935.9' y1='656.0' x2='942.5' y2='658.3'/%3E%3Cline x1='921.3' y1='674.5' x2='934.2' y2='679.9'/%3E%3Cline x1='918.5' y1='698.0' x2='924.9' y2='701.0'/%3E%3Cline x1='908.3' y1='718.3' x2='914.5' y2='721.6'/%3E%3Cline x1='897.1' y1='738.0' x2='903.1' y2='741.6'/%3E%3Cline x1='879.2' y1='753.3' x2='890.8' y2='761.1'/%3E%3Cline x1='871.9' y1='775.8' x2='877.5' y2='780.0'/%3E%3Cline x1='857.9' y1='793.7' x2='863.3' y2='798.2'/%3E%3Cline x1='843.1' y1='810.9' x2='848.2' y2='815.6'/%3E%3Cline x1='822.4' y1='822.4' x2='832.3' y2='832.3'/%3E%3Cline x1='810.9' y1='843.1' x2='815.6' y2='848.2'/%3E%3Cline x1='793.7' y1='857.9' x2='798.2' y2='863.3'/%3E%3Cline x1='775.8' y1='871.9' x2='780.0' y2='877.5'/%3E%3Cline x1='753.3' y1='879.2' x2='761.1' y2='890.8'/%3E%3Cline x1='738.0' y1='897.1' x2='741.6' y2='903.1'/%3E%3Cline x1='718.3' y1='908.3' x2='721.6' y2='914.5'/%3E%3Cline x1='698.0' y1='918.5' x2='701.0' y2='924.9'/%3E%3Cline x1='674.5' y1='921.3' x2='679.9' y2='934.2'/%3E%3Cline x1='656.0' y1='935.9' x2='658.3' y2='942.5'/%3E%3Cline x1='634.4' y1='943.1' x2='636.4' y2='949.8'/%3E%3Cline x1='612.5' y1='949.1' x2='614.2' y2='955.9'/%3E%3Cline x1='589.0' y1='947.2' x2='591.7' y2='961.0'/%3E%3Cline x1='567.9' y1='958.0' x2='569.0' y2='964.9'/%3E%3Cline x1='545.4' y1='960.8' x2='546.1' y2='967.7'/%3E%3Cline x1='522.7' y1='962.4' x2='523.1' y2='969.4'/%3E%3Cline x1='500.0' y1='956.0' x2='500.0' y2='970.0'/%3E%3Cline x1='477.3' y1='962.4' x2='476.9' y2='969.4'/%3E%3Cline x1='454.6' y1='960.8' x2='453.9' y2='967.7'/%3E%3Cline x1='432.1' y1='958.0' x2='431.0' y2='964.9'/%3E%3Cline x1='411.0' y1='947.2' x2='408.3' y2='961.0'/%3E%3Cline x1='387.5' y1='949.1' x2='385.8' y2='955.9'/%3E%3Cline x1='365.6' y1='943.1' x2='363.6' y2='949.8'/%3E%3Cline x1='344.0' y1='935.9' x2='341.7' y2='942.5'/%3E%3Cline x1='325.5' y1='921.3' x2='320.1' y2='934.2'/%3E%3Cline x1='302.0' y1='918.5' x2='299.0' y2='924.9'/%3E%3Cline x1='281.7' y1='908.3' x2='278.4' y2='914.5'/%3E%3Cline x1='262.0' y1='897.1' x2='258.4' y2='903.1'/%3E%3Cline x1='246.7' y1='879.2' x2='238.9' y2='890.8'/%3E%3Cline x1='224.2' y1='871.9' x2='220.0' y2='877.5'/%3E%3Cline x1='206.3' y1='857.9' x2='201.8' y2='863.3'/%3E%3Cline x1='189.1' y1='843.1' x2='184.4' y2='848.2'/%3E%3Cline x1='177.6' y1='822.4' x2='167.7' y2='832.3'/%3E%3Cline x1='156.9' y1='810.9' x2='151.8' y2='815.6'/%3E%3Cline x1='142.1' y1='793.7' x2='136.7' y2='798.2'/%3E%3Cline x1='128.1' y1='775.8' x2='122.5' y2='780.0'/%3E%3Cline x1='120.8' y1='753.3' x2='109.2' y2='761.1'/%3E%3Cline x1='102.9' y1='738.0' x2='96.9' y2='741.6'/%3E%3Cline x1='91.7' y1='718.3' x2='85.5' y2='721.6'/%3E%3Cline x1='81.5' y1='698.0' x2='75.1' y2='701.0'/%3E%3Cline x1='78.7' y1='674.5' x2='65.8' y2='679.9'/%3E%3Cline x1='64.1' y1='656.0' x2='57.5' y2='658.3'/%3E%3Cline x1='56.9' y1='634.4' x2='50.2' y2='636.4'/%3E%3Cline x1='50.9' y1='612.5' x2='44.1' y2='614.2'/%3E%3Cline x1='52.8' y1='589.0' x2='39.0' y2='591.7'/%3E%3Cline x1='42.0' y1='567.9' x2='35.1' y2='569.0'/%3E%3Cline x1='39.2' y1='545.4' x2='32.3' y2='546.1'/%3E%3Cline x1='37.6' y1='522.7' x2='30.6' y2='523.1'/%3E%3Cline x1='44.0' y1='500.0' x2='30.0' y2='500.0'/%3E%3Cline x1='37.6' y1='477.3' x2='30.6' y2='476.9'/%3E%3Cline x1='39.2' y1='454.6' x2='32.3' y2='453.9'/%3E%3Cline x1='42.0' y1='432.1' x2='35.1' y2='431.0'/%3E%3Cline x1='52.8' y1='411.0' x2='39.0' y2='408.3'/%3E%3Cline x1='50.9' y1='387.5' x2='44.1' y2='385.8'/%3E%3Cline x1='56.9' y1='365.6' x2='50.2' y2='363.6'/%3E%3Cline x1='64.1' y1='344.0' x2='57.5' y2='341.7'/%3E%3Cline x1='78.7' y1='325.5' x2='65.8' y2='320.1'/%3E%3Cline x1='81.5' y1='302.0' x2='75.1' y2='299.0'/%3E%3Cline x1='91.7' y1='281.7' x2='85.5' y2='278.4'/%3E%3Cline x1='102.9' y1='262.0' x2='96.9' y2='258.4'/%3E%3Cline x1='120.8' y1='246.7' x2='109.2' y2='238.9'/%3E%3Cline x1='128.1' y1='224.2' x2='122.5' y2='220.0'/%3E%3Cline x1='142.1' y1='206.3' x2='136.7' y2='201.8'/%3E%3Cline x1='156.9' y1='189.1' x2='151.8' y2='184.4'/%3E%3Cline x1='177.6' y1='177.6' x2='167.7' y2='167.7'/%3E%3Cline x1='189.1' y1='156.9' x2='184.4' y2='151.8'/%3E%3Cline x1='206.3' y1='142.1' x2='201.8' y2='136.7'/%3E%3Cline x1='224.2' y1='128.1' x2='220.0' y2='122.5'/%3E%3Cline x1='246.7' y1='120.8' x2='238.9' y2='109.2'/%3E%3Cline x1='262.0' y1='102.9' x2='258.4' y2='96.9'/%3E%3Cline x1='281.7' y1='91.7' x2='278.4' y2='85.5'/%3E%3Cline x1='302.0' y1='81.5' x2='299.0' y2='75.1'/%3E%3Cline x1='325.5' y1='78.7' x2='320.1' y2='65.8'/%3E%3Cline x1='344.0' y1='64.1' x2='341.7' y2='57.5'/%3E%3Cline x1='365.6' y1='56.9' x2='363.6' y2='50.2'/%3E%3Cline x1='387.5' y1='50.9' x2='385.8' y2='44.1'/%3E%3Cline x1='411.0' y1='52.8' x2='408.3' y2='39.0'/%3E%3Cline x1='432.1' y1='42.0' x2='431.0' y2='35.1'/%3E%3Cline x1='454.6' y1='39.2' x2='453.9' y2='32.3'/%3E%3Cline x1='477.3' y1='37.6' x2='476.9' y2='30.6'/%3E%3C/g%3E %3Cpolygon points='539.0,303.8 545.9,389.1 611.1,333.7 584.9,415.1 666.3,388.9 610.9,454.1 696.2,461.0 620.0,500.0 696.2,539.0 610.9,545.9 666.3,611.1 584.9,584.9 611.1,666.3 545.9,610.9 539.0,696.2 500.0,620.0 461.0,696.2 454.1,610.9 388.9,666.3 415.1,584.9 333.7,611.1 389.1,545.9 303.8,539.0 380.0,500.0 303.8,461.0 389.1,454.1 333.7,388.9 415.1,415.1 388.9,333.7 454.1,389.1 461.0,303.8 500.0,380.0' fill='%23e7cf8e' fill-opacity='0.12'/%3E %3Cpolygon points='500,500 500.0,70.0 454.0,500.0' fill='%23f1dc9c' fill-opacity='.55'/%3E%3Cpolygon points='500,500 500.0,70.0 546.0,500.0' fill='%23f1dc9c' fill-opacity='.2'/%3E%3Cpolygon points='500,500 690.9,309.1 478.8,478.8' fill='%23f1dc9c' fill-opacity='.55'/%3E%3Cpolygon points='500,500 690.9,309.1 521.2,521.2' fill='%23f1dc9c' fill-opacity='.2'/%3E%3Cpolygon points='500,500 930.0,500.0 500.0,454.0' fill='%23f1dc9c' fill-opacity='.55'/%3E%3Cpolygon points='500,500 930.0,500.0 500.0,546.0' fill='%23f1dc9c' fill-opacity='.2'/%3E%3Cpolygon points='500,500 690.9,690.9 521.2,478.8' fill='%23f1dc9c' fill-opacity='.55'/%3E%3Cpolygon points='500,500 690.9,690.9 478.8,521.2' fill='%23f1dc9c' fill-opacity='.2'/%3E%3Cpolygon points='500,500 500.0,930.0 546.0,500.0' fill='%23f1dc9c' fill-opacity='.55'/%3E%3Cpolygon points='500,500 500.0,930.0 454.0,500.0' fill='%23f1dc9c' fill-opacity='.2'/%3E%3Cpolygon points='500,500 309.1,690.9 521.2,521.2' fill='%23f1dc9c' fill-opacity='.55'/%3E%3Cpolygon points='500,500 309.1,690.9 478.8,478.8' fill='%23f1dc9c' fill-opacity='.2'/%3E%3Cpolygon points='500,500 70.0,500.0 500.0,546.0' fill='%23f1dc9c' fill-opacity='.55'/%3E%3Cpolygon points='500,500 70.0,500.0 500.0,454.0' fill='%23f1dc9c' fill-opacity='.2'/%3E%3Cpolygon points='500,500 309.1,309.1 478.8,521.2' fill='%23f1dc9c' fill-opacity='.55'/%3E%3Cpolygon points='500,500 309.1,309.1 521.2,478.8' fill='%23f1dc9c' fill-opacity='.2'/%3E %3Ccircle cx='500' cy='500' r='16' fill='%23f1dc9c' fill-opacity='.7'/%3E %3Ctext x='500' y='92' font-family='Georgia,serif' font-size='52' fill='%23f1dc9c' fill-opacity='.8' text-anchor='middle'%3EN%3C/text%3E %3C/svg%3E") center / contain no-repeat; opacity: .11; }
.bd-rose.small { width: min(46vmin, 420px); right: auto; left: -12vmin; top: auto; bottom: 6vh; opacity: .06; transform: rotate(-14deg); }
.bd-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(2, 8, 12, .55)); }
.bd-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 22vh; min-height: 120px; }
.bd-waves i { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; background-repeat: repeat-x; background-size: 50% 100%; will-change: transform; }
.bd-waves i:nth-child(1) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E %3Cpath d='M0 160 L0 72.0 L12 78.2 L24 84.0 L36 88.8 L48 92.6 L60 95.0 L72 96.0 L84 95.8 L96 94.5 L108 92.5 L120 90.2 L132 87.7 L144 85.6 L156 83.9 L168 82.8 L180 82.1 L192 81.8 L204 81.6 L216 81.2 L228 80.3 L240 78.7 L252 76.2 L264 72.7 L276 68.5 L288 63.6 L300 58.4 L312 53.4 L324 48.9 L336 45.4 L348 43.1 L360 42.3 L372 43.1 L384 45.4 L396 48.9 L408 53.4 L420 58.4 L432 63.6 L444 68.5 L456 72.7 L468 76.2 L480 78.7 L492 80.3 L504 81.2 L516 81.6 L528 81.8 L540 82.1 L552 82.8 L564 83.9 L576 85.6 L588 87.7 L600 90.2 L612 92.5 L624 94.5 L636 95.8 L648 96.0 L660 95.0 L672 92.6 L684 88.8 L696 84.0 L708 78.2 L720 72.0 L732 65.8 L744 60.0 L756 55.2 L768 51.4 L780 49.0 L792 48.0 L804 48.2 L816 49.5 L828 51.5 L840 53.8 L852 56.3 L864 58.4 L876 60.1 L888 61.2 L900 61.9 L912 62.2 L924 62.4 L936 62.8 L948 63.7 L960 65.3 L972 67.8 L984 71.3 L996 75.5 L1008 80.4 L1020 85.6 L1032 90.6 L1044 95.1 L1056 98.6 L1068 100.9 L1080 101.7 L1092 100.9 L1104 98.6 L1116 95.1 L1128 90.6 L1140 85.6 L1152 80.4 L1164 75.5 L1176 71.3 L1188 67.8 L1200 65.3 L1212 63.7 L1224 62.8 L1236 62.4 L1248 62.2 L1260 61.9 L1272 61.2 L1284 60.1 L1296 58.4 L1308 56.3 L1320 53.9 L1332 51.5 L1344 49.5 L1356 48.2 L1368 48.0 L1380 49.0 L1392 51.4 L1404 55.2 L1416 60.0 L1428 65.8 L1440 72.0 L1440 160 Z' fill='%230f3a4b' fill-opacity='0.9'/%3E%3Cpath d='M0 72.0 L12 78.2 L24 84.0 L36 88.8 L48 92.6 L60 95.0 L72 96.0 L84 95.8 L96 94.5 L108 92.5 L120 90.2 L132 87.7 L144 85.6 L156 83.9 L168 82.8 L180 82.1 L192 81.8 L204 81.6 L216 81.2 L228 80.3 L240 78.7 L252 76.2 L264 72.7 L276 68.5 L288 63.6 L300 58.4 L312 53.4 L324 48.9 L336 45.4 L348 43.1 L360 42.3 L372 43.1 L384 45.4 L396 48.9 L408 53.4 L420 58.4 L432 63.6 L444 68.5 L456 72.7 L468 76.2 L480 78.7 L492 80.3 L504 81.2 L516 81.6 L528 81.8 L540 82.1 L552 82.8 L564 83.9 L576 85.6 L588 87.7 L600 90.2 L612 92.5 L624 94.5 L636 95.8 L648 96.0 L660 95.0 L672 92.6 L684 88.8 L696 84.0 L708 78.2 L720 72.0 L732 65.8 L744 60.0 L756 55.2 L768 51.4 L780 49.0 L792 48.0 L804 48.2 L816 49.5 L828 51.5 L840 53.8 L852 56.3 L864 58.4 L876 60.1 L888 61.2 L900 61.9 L912 62.2 L924 62.4 L936 62.8 L948 63.7 L960 65.3 L972 67.8 L984 71.3 L996 75.5 L1008 80.4 L1020 85.6 L1032 90.6 L1044 95.1 L1056 98.6 L1068 100.9 L1080 101.7 L1092 100.9 L1104 98.6 L1116 95.1 L1128 90.6 L1140 85.6 L1152 80.4 L1164 75.5 L1176 71.3 L1188 67.8 L1200 65.3 L1212 63.7 L1224 62.8 L1236 62.4 L1248 62.2 L1260 61.9 L1272 61.2 L1284 60.1 L1296 58.4 L1308 56.3 L1320 53.9 L1332 51.5 L1344 49.5 L1356 48.2 L1368 48.0 L1380 49.0 L1392 51.4 L1404 55.2 L1416 60.0 L1428 65.8 L1440 72.0' fill='none' stroke='%23bfe3ea' stroke-opacity='.18' stroke-width='1.5'/%3E%3C/svg%3E"); bottom: 3vh; opacity: .55; animation: bd-swell 70s linear infinite; }
.bd-waves i:nth-child(2) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 130' preserveAspectRatio='none'%3E %3Cpath d='M0 130 L0 58.5 L12 61.6 L24 64.6 L36 67.4 L48 69.9 L60 71.9 L72 73.5 L84 74.6 L96 75.2 L108 75.4 L120 75.2 L132 74.6 L144 73.7 L156 72.7 L168 71.6 L180 70.5 L192 69.6 L204 68.7 L216 68.1 L228 67.7 L240 67.5 L252 67.5 L264 67.6 L276 67.8 L288 67.9 L300 67.9 L312 67.8 L324 67.4 L336 66.7 L348 65.6 L360 64.1 L372 62.2 L384 60.0 L396 57.5 L408 54.8 L420 51.9 L432 49.1 L444 46.3 L456 43.8 L468 41.6 L480 39.8 L492 38.5 L504 37.7 L516 37.4 L528 37.7 L540 38.5 L552 39.8 L564 41.4 L576 43.3 L588 45.3 L600 47.4 L612 49.5 L624 51.5 L636 53.2 L648 54.7 L660 55.9 L672 56.8 L684 57.5 L696 58.0 L708 58.3 L720 58.5 L732 58.7 L744 59.0 L756 59.5 L768 60.2 L780 61.1 L792 62.3 L804 63.8 L816 65.5 L828 67.5 L840 69.6 L852 71.7 L864 73.7 L876 75.6 L888 77.2 L900 78.5 L912 79.3 L924 79.6 L936 79.3 L948 78.5 L960 77.2 L972 75.4 L984 73.2 L996 70.7 L1008 67.9 L1020 65.1 L1032 62.2 L1044 59.5 L1056 57.0 L1068 54.8 L1080 52.9 L1092 51.4 L1104 50.3 L1116 49.6 L1128 49.2 L1140 49.1 L1152 49.1 L1164 49.2 L1176 49.4 L1188 49.5 L1200 49.5 L1212 49.3 L1224 48.9 L1236 48.3 L1248 47.4 L1260 46.5 L1272 45.4 L1284 44.3 L1296 43.3 L1308 42.4 L1320 41.8 L1332 41.6 L1344 41.8 L1356 42.4 L1368 43.5 L1380 45.1 L1392 47.1 L1404 49.6 L1416 52.4 L1428 55.4 L1440 58.5 L1440 130 Z' fill='%2308222e' fill-opacity='0.95'/%3E%3Cpath d='M0 58.5 L12 61.6 L24 64.6 L36 67.4 L48 69.9 L60 71.9 L72 73.5 L84 74.6 L96 75.2 L108 75.4 L120 75.2 L132 74.6 L144 73.7 L156 72.7 L168 71.6 L180 70.5 L192 69.6 L204 68.7 L216 68.1 L228 67.7 L240 67.5 L252 67.5 L264 67.6 L276 67.8 L288 67.9 L300 67.9 L312 67.8 L324 67.4 L336 66.7 L348 65.6 L360 64.1 L372 62.2 L384 60.0 L396 57.5 L408 54.8 L420 51.9 L432 49.1 L444 46.3 L456 43.8 L468 41.6 L480 39.8 L492 38.5 L504 37.7 L516 37.4 L528 37.7 L540 38.5 L552 39.8 L564 41.4 L576 43.3 L588 45.3 L600 47.4 L612 49.5 L624 51.5 L636 53.2 L648 54.7 L660 55.9 L672 56.8 L684 57.5 L696 58.0 L708 58.3 L720 58.5 L732 58.7 L744 59.0 L756 59.5 L768 60.2 L780 61.1 L792 62.3 L804 63.8 L816 65.5 L828 67.5 L840 69.6 L852 71.7 L864 73.7 L876 75.6 L888 77.2 L900 78.5 L912 79.3 L924 79.6 L936 79.3 L948 78.5 L960 77.2 L972 75.4 L984 73.2 L996 70.7 L1008 67.9 L1020 65.1 L1032 62.2 L1044 59.5 L1056 57.0 L1068 54.8 L1080 52.9 L1092 51.4 L1104 50.3 L1116 49.6 L1128 49.2 L1140 49.1 L1152 49.1 L1164 49.2 L1176 49.4 L1188 49.5 L1200 49.5 L1212 49.3 L1224 48.9 L1236 48.3 L1248 47.4 L1260 46.5 L1272 45.4 L1284 44.3 L1296 43.3 L1308 42.4 L1320 41.8 L1332 41.6 L1344 41.8 L1356 42.4 L1368 43.5 L1380 45.1 L1392 47.1 L1404 49.6 L1416 52.4 L1428 55.4 L1440 58.5' fill='none' stroke='%23bfe3ea' stroke-opacity='.18' stroke-width='1.5'/%3E%3C/svg%3E"); opacity: .85; animation: bd-swell 46s linear infinite reverse; }
@keyframes bd-swell { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.bd-glints { position: absolute; inset: 0;
  background-image:
    radial-gradient(1.4px 1.4px at 14% 22%, rgba(236, 210, 138, .55), transparent),
    radial-gradient(1px 1px at 31% 9%, rgba(255, 255, 255, .45), transparent),
    radial-gradient(1.2px 1.2px at 47% 31%, rgba(255, 255, 255, .35), transparent),
    radial-gradient(1px 1px at 63% 14%, rgba(255, 255, 255, .45), transparent),
    radial-gradient(1.5px 1.5px at 79% 26%, rgba(236, 210, 138, .5), transparent),
    radial-gradient(1px 1px at 89% 7%, rgba(255, 255, 255, .4), transparent),
    radial-gradient(1px 1px at 22% 41%, rgba(255, 255, 255, .3), transparent),
    radial-gradient(1.2px 1.2px at 71% 44%, rgba(255, 255, 255, .3), transparent);
  animation: bd-twinkle 7s ease-in-out infinite alternate; }
@keyframes bd-twinkle { to { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .bd-waves i, .bd-glints { animation: none; } }

/* ---------------------------------------------------------------- the top bar: dark timber, brass rail */
.topbar {
  position: relative; color: #f3e9cf;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #13303e, #0b2029);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .45);
}
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--brass-lo) 8%, var(--brass-hi) 50%, var(--brass-lo) 92%, transparent); }
.brand { color: var(--brass-hi); letter-spacing: .02em; text-shadow: 0 1px 0 rgba(0, 0, 0, .6), 0 0 18px rgba(236, 210, 138, .25); }
.brand:hover { color: #fff1c4; }
.acctnav a, .acctnav .linkbtn { color: #d9ecf1; }
.topbtn { background: rgba(236, 210, 138, .08); border-color: rgba(236, 210, 138, .45); color: #f6ecd2; }
.topbtn:hover, .topbtn:focus-visible, .topbtn[aria-expanded="true"] { background: rgba(236, 210, 138, .2); }

/* ---------------------------------------------------------------- parchment panels */
.panel, .dockrow .handcol {
  color: var(--ink);
  background-color: var(--parch);
  background-image:
    radial-gradient(ellipse 85% 80% at 50% 45%, rgba(255, 252, 240, .85), rgba(255, 252, 240, 0) 75%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E %3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .04' numOctaves='3' seed='7' stitchTiles='stitch'/%3E %3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .40 0 0 0 0 .18 0 0 0 .10 -.02'/%3E%3C/filter%3E %3Crect width='600' height='600' filter='url(%23f)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E %3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E %3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .30 0 0 0 0 .12 0 0 0 .075 0'/%3E%3C/filter%3E %3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  border: 1px solid var(--parch-edge);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), inset 0 0 40px rgba(168, 128, 52, .14), 0 14px 34px rgba(0, 0, 0, .42), 0 2px 6px rgba(0, 0, 0, .3);
}
.panel.yourmove {
  border: 2px solid var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), inset 0 0 40px rgba(168, 128, 52, .14),
              0 0 0 4px rgba(201, 162, 58, .55), 0 0 34px 6px rgba(236, 210, 138, .28), 0 16px 36px rgba(0, 0, 0, .5);
  animation: pd-beckon 3.2s ease-in-out infinite alternate;
}
@keyframes pd-beckon { to { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), inset 0 0 40px rgba(168, 128, 52, .14),
              0 0 0 4px rgba(201, 162, 58, .8), 0 0 46px 10px rgba(236, 210, 138, .38), 0 16px 36px rgba(0, 0, 0, .5); } }
@media (prefers-reduced-motion: reduce) { .panel.yourmove { animation: none; } }
.panel.waiting { border-left: 6px solid var(--brass); }
.yourmove-tag { background: linear-gradient(180deg, #a42828, #7a1717); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.panel h2, .panel h1 { text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }
.flash { box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.wrap > .panel:first-of-type, .wrap > .flash:first-child { margin-top: 20px; }

/* ---------------------------------------------------------------- buttons: lacquered, brass-edged */
button, .btn {
  background: linear-gradient(180deg, #a22626, #7d1919);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -2px 0 rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .25);
}
button.secondary, .btn.secondary { background: linear-gradient(180deg, #74685a, #574d42); }
button:disabled { background: #b5ada3; box-shadow: none; }
button.cardface, button.linkbtn, .topbtn, .cat-tab { box-shadow: none; }
button.cardface { background: #fff; }
.topbtn { background: rgba(236, 210, 138, .08); }
.cardface { box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
button.cardface:not(:disabled):hover { box-shadow: 0 12px 22px rgba(0, 0, 0, .38); }

/* ---------------------------------------------------------------- the home page's title */
.hero { position: relative; padding: 34px 0 6px; color: #e9e0c7; max-width: 900px; }
.hero h1 {
  color: var(--brass-hi); font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: .01em; margin-bottom: .2em;
  text-shadow: 0 2px 0 #3d2c08, 0 0 28px rgba(236, 210, 138, .35), 0 6px 22px rgba(0, 0, 0, .6);
}
.hero h1::after { content: ""; display: block; width: min(320px, 70%); height: 10px; margin-top: 10px;
  background: radial-gradient(circle, var(--brass-hi) 0 3px, transparent 3.5px) center / 10px 10px no-repeat,
              linear-gradient(90deg, var(--brass), rgba(201, 162, 58, 0)) left center / 100% 1.5px no-repeat; }
.hero p { font-size: 1.1rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.hero a, .hero .ix-replay { color: var(--brass-hi); }

/* ---------------------------------------------------------------- the board: a lit patch of sea */
.boardgroup { margin-top: 26px; }
.board {
  position: relative;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='70'%3E %3Cg fill='none' stroke='%23cfeef3' stroke-linecap='round'%3E %3Cpath d='M8 22q9-7 18 0t18 0' stroke-opacity='.10' stroke-width='1.4'/%3E %3Cpath d='M78 52q9-7 18 0t18 0' stroke-opacity='.08' stroke-width='1.4'/%3E %3Cpath d='M104 12q6-5 12 0' stroke-opacity='.07' stroke-width='1.2'/%3E %3C/g%3E%3C/svg%3E"),
    radial-gradient(ellipse 80% 120% at 50% 0%, rgba(80, 170, 190, .35), transparent 65%),
    linear-gradient(180deg, #1b5367 0%, #123f50 55%, #0d3140 100%);
  box-shadow: inset 0 18px 30px -18px rgba(0, 0, 0, .7), inset 0 -18px 30px -18px rgba(0, 0, 0, .7);
}
.board::before, .board::after { content: ""; position: absolute; left: 0; right: 0; height: 4px; pointer-events: none;
  background: repeating-linear-gradient(115deg, var(--brass-lo) 0 5px, var(--brass) 5px 8px, var(--brass-hi) 8px 10px); opacity: .8; }
.board::before { top: 0; } .board::after { bottom: 0; }
.board-top { border-bottom: 0; background: linear-gradient(90deg, transparent, rgba(236, 210, 138, .35), transparent) bottom / 100% 1px no-repeat; }

/* the dock under the board: no cream band any more - its panels float on the sea */
.dockrow { background: transparent; border-top: 0; }
.dockrow .handcol { border-radius: var(--radius); padding: 18px 20px 20px; }

/* text that sits straight on the sea */
.orderbar { color: #cfe3e8; }
.orderbar .obi em { color: #e9f3f5; }
.orderbar .obi.first em { color: var(--brass-hi); }


/* ---------------------------------------------------------------- phones: a slimmer top bar, so the game starts higher */
@media (max-width: 700px) {
  .topbar .wrap { gap: 4px 12px; padding-top: 8px; padding-bottom: 8px; }
  .brand { font-size: 1.2rem; }
  .acctnav { margin-left: auto; font-size: .82rem; }
  .turninfo { font-size: .86rem; flex: 1 1 100%; }
  .topactions { gap: 6px; margin-left: 0; justify-content: flex-start; }
  /* the hand tray along the bottom of the screen: parchment with a brass rail (no floating-panel corners) */
  body.phone-tray .dockrow .handcol { border-radius: 0; padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); border: 0;
    border-top: 3px solid var(--brass); box-shadow: 0 -8px 22px rgba(0, 0, 0, .45); }
  .topbtn { font-size: .74rem; min-height: 32px; padding: 4px 9px; }
  .hero { padding-top: 20px; }
  .bd-rose { width: 120vmin; right: -48vmin; top: -18vmin; opacity: .09; }
  .bd-waves { height: 14vh; }
}

