/* Tantalum Price. A newspaper bill: full-width blocks of flat yellow, black and white, hard edges,
   one tall headline face for every number and heading, one newspaper gothic for text. Three inks only. */
:root {
  --y: #FFD400; --k: #0B0B0B; --w: #FFFFFF;
  --head: "League Gothic", "Arial Narrow", Impact, sans-serif;
  --text: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--k); }
body {
  margin: 0; background: var(--k); color: var(--k);
  font-family: var(--text); font-size: 15px; line-height: 1.4;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
p, h1, h2, h3, ul, ol { margin: 0; padding: 0; }
ul { list-style: none; }
sub { font-size: .7em; line-height: 0; vertical-align: baseline; position: relative; top: .25em; }
button, select, input, textarea { font: inherit; color: inherit; border-radius: 0; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }

.blk { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.blk > .in { max-width: 600px; margin: 0 auto; padding-block: 30px 34px; }
.y { background: var(--y); color: var(--k); }
.k { background: var(--k); color: var(--w); }
.w { background: var(--w); color: var(--k); }
.last > .in { padding-bottom: 120px; }

/* Tape */
.tape { background: var(--k); color: var(--y); overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: 700; border-bottom: 1px solid #2A2A2A; }
.tape .run { display: inline-flex; padding-block: 9px; animation: tape 44s linear infinite; }
.tape:hover .run { animation-play-state: paused; }
.tape .it { display: inline-flex; align-items: baseline; gap: 8px; padding-inline: 18px; }
.tape .it b { color: var(--w); display: inline-block; padding-inline: 3px; }
@keyframes tape { to { transform: translateX(-50%); } }
.flap { display: inline-block; transform-origin: 50% 0; animation: flap .4s cubic-bezier(.2, .8, .3, 1); }
@keyframes flap { from { transform: rotateX(-88deg); } }
.tape .it b.hit { animation: hit 1.5s steps(1); }
@keyframes hit { from { background: var(--y); color: var(--k); } to { background: none; color: var(--w); } }

/* Masthead */
.mast { border-bottom: 4px solid currentColor; padding-bottom: 10px; }
.mast .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mark { font-family: var(--head); font-size: 34px; line-height: 1; text-transform: uppercase; text-decoration: none; letter-spacing: .005em; white-space: nowrap; }
.acts2 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.signin, .submit { font-weight: 700; font-size: 13px; padding: 8px 12px; text-decoration: none; white-space: nowrap; }
.signin { box-shadow: inset 0 0 0 2px currentColor; max-width: 32vw; overflow: hidden; text-overflow: ellipsis; }
.submit { font-weight: 800; }
/* The flags: the language choice, one tap each */
.flags { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.flags a { display: block; width: 27px; height: 18px; padding: 0; border: 0 !important; box-shadow: 0 0 0 1px rgba(11, 11, 11, .45); }
.flags a[aria-current] { outline: 3px solid var(--k); outline-offset: 2px; }
.k .flags a[aria-current] { outline-color: var(--w); }
.flags svg { display: block; width: 100%; height: 100%; }
@media (max-width: 400px) { .mark { font-size: 29px; } .signin, .submit { padding-inline: 10px; } .acts2 { gap: 5px; } .nav { column-gap: 16px; }
  /* on a phone the flags get a row of their own and are large enough to tap */
  .flags { flex-basis: 100%; margin-left: 0; gap: 12px; padding-block: 8px 2px; } .flags a { width: 36px; height: 24px; } }
.y .submit, .w .submit { background: var(--k); color: var(--y); }
.w .submit { color: var(--w); }
.k .submit { background: var(--y); color: var(--k); }
.nav { display: flex; align-items: center; gap: 20px; padding-top: 10px; font-size: 14px; font-weight: 700; }
.nav a { text-decoration: none; padding-bottom: 2px; border-bottom: 3px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: currentColor; }
.lead > .in, .first > .in { padding-top: 16px; }
.top > .in { padding-block: 16px 0; }
.top + .cols .lead > .in { padding-top: 0; }
.first:not(.lead) > .in { padding-bottom: 20px; }
.first:not(.lead) + .blk > .in { padding-top: 22px; }

/* Lead */
.what { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-top: 16px; }
.what b { display: block; font-size: 17px; font-weight: 800; line-height: 1.2; }
.what span { font-size: 13.5px; }
.what .clock { text-align: right; }
.num { margin: 6px 0 0 -0.012em; line-height: .84; white-space: nowrap; font-family: var(--head); font-size: clamp(110px, 35.6vw, 214px); }
.num span { display: inline-block; }
.under { display: flex; justify-content: space-between; gap: 12px; font-weight: 800; font-size: 15px; padding-block: 8px 12px; border-bottom: 2px solid currentColor; }

.chart .bar { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; min-height: 40px; }
.readout { font-size: 13.5px; }
.readout b { font-weight: 800; }
.spans { display: flex; }
.spans button { font-size: 13px; font-weight: 700; padding: 5px 10px; }
.y .spans button[aria-pressed="true"] { background: var(--k); color: var(--y); }
.w .spans button[aria-pressed="true"] { background: var(--k); color: var(--w); }
.plot { position: relative; height: 176px; margin-top: 6px; touch-action: pan-y; cursor: crosshair; }
.plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.strip svg { display: block; width: 100%; height: 84px; overflow: visible; margin-top: 14px; }
.plot .hair { position: absolute; top: 0; bottom: 22px; width: 2px; background: var(--k); pointer-events: none; }
.tick { font: 500 11.5px var(--text); fill: var(--k); }

.inputs { margin-top: 14px; padding-top: 12px; border-top: 2px solid currentColor; }
.inputs .bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.inputs h3 { font: 800 15px var(--text); }
.quiet { font-size: 14px; padding-top: 8px; }
.strip { margin-top: 2px; }
.figs.book { margin-top: 8px; border-top: 0; }
.figs.book > div { padding-top: 2px; }
.lab { font-weight: 700; font-size: 12.5px; }
@keyframes drop { from { transform: translateY(-44px) scale(.2); opacity: 0; } }
.ago { font-size: 13px; margin-top: 2px; }

/* Section heads and rows */
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-bottom: 12px; }
h1, h2 { font-family: var(--head); font-weight: 400; font-size: 58px; line-height: .86; text-transform: uppercase; letter-spacing: .005em; }
h1 { padding-top: 22px; }
.more { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.rows > li { border-top: 1px solid currentColor; padding-block: 13px; }
.rows > li:last-child { border-bottom: 1px solid currentColor; }
.none { padding-block: 18px; font-weight: 500; }
.colh { display: none; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 14px; }
.filters button { font-size: 13px; font-weight: 700; padding: 6px 10px; border: 2px solid currentColor; }
.k .filters button[aria-pressed="true"] { background: var(--w); color: var(--k); border-color: var(--w); }
.w .filters button[aria-pressed="true"], .y .filters button[aria-pressed="true"] { background: var(--k); color: var(--w); border-color: var(--k); }
.filters .gap { flex-basis: 100%; height: 0; }

/* Board */
.post { display: grid; grid-template-columns: minmax(56px, auto) minmax(0, 1fr) auto; column-gap: 12px; align-items: start; }
.tag { justify-self: start; font-family: var(--head); font-size: 21px; line-height: 1; text-transform: uppercase; padding: 4px 7px 3px; border: 2px solid currentColor; }
.k .tag.offer { background: var(--w); color: var(--k); border-color: var(--w); }
.w .tag.offer, .y .tag.offer { background: var(--k); color: var(--w); border-color: var(--k); }
.post .what2 { font-weight: 700; font-size: 16px; line-height: 1.25; }
.post .m { display: block; font-size: 13px; opacity: .8; }
.post .m2 { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13px; padding-top: 1px; }
.post .m2 span { opacity: .8; }
.post .m2 .aff, .post .m2 .st { opacity: 1; border: 1px solid currentColor; padding: 0 5px; font-size: 11.5px; font-weight: 700; }
.post .m2 a, .post .m2 button { font-weight: 700; text-decoration: underline; }
.px { background: var(--y); color: var(--k); min-width: 82px; padding: 7px 10px 6px; text-align: center; line-height: 1; transition: transform .1s; }
.w .px, .y .px { background: var(--k); color: var(--y); }
.px b { display: block; font-family: var(--head); font-weight: 400; font-size: 36px; line-height: .9; }
.px small { display: block; font-size: 11px; font-weight: 700; padding-top: 3px; }
.px:active { transform: scale(.96); }
.px.on { background: var(--w); color: var(--k); }
.px:disabled { opacity: .4; cursor: default; }
.post.new { animation: rise .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } }

/* Prices */
.price { display: grid; grid-template-columns: minmax(0, 1fr) 46px auto; column-gap: 12px; align-items: center; }
.price .name { font-weight: 700; font-size: 16px; line-height: 1.25; }
.price .name a { text-decoration: none; }
.price .basis, .price .chg { font-size: 13px; }
.price svg { width: 46px; height: 24px; overflow: visible; }
.price .fig { text-align: right; }
.price .range { font-family: var(--head); font-size: 36px; line-height: .95; }
.price .chg { display: flex; justify-content: flex-end; gap: 10px; }
.price .chg b { font-weight: 800; }
.price .wide { grid-column: 2 / -1; font-size: 14px; }
.price .wide a { font-weight: 700; }
.line { padding-block: 18px 22px; border-top: 2px solid currentColor; }
.line:last-child { border-bottom: 2px solid currentColor; }
.line .lh { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.line .lh .name { font-weight: 800; font-size: 17px; line-height: 1.2; }
.line .lh .basis { font-size: 13.5px; }
.line .big { font-family: var(--head); font-size: 64px; line-height: .86; text-align: right; white-space: nowrap; }
.line .meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 700; padding-top: 6px; }
.line .plot { height: 150px; }

/* Figures under a page heading */
.figs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(min-content, 1fr); margin: 16px 0 0; border-top: 2px solid currentColor; }
.figs > div { padding: 10px 8px 0 0; }
.figs > div + div { border-left: 2px solid currentColor; padding-left: 10px; }
.figs dd { margin: 0; font-family: var(--head); font-size: 46px; line-height: .9; white-space: nowrap; }
.figs dt { font-size: 12.5px; font-weight: 700; line-height: 1.2; padding-top: 4px; }

/* Companies this week, out of the five a board range needs */
.meter { display: flex; align-items: center; gap: 10px; font-size: 13px; padding-top: 10px; }
.meter b { font-weight: 800; }
.segs { display: flex; gap: 3px; flex: none; }
.segs i { width: 18px; height: 10px; box-shadow: inset 0 0 0 2px currentColor; }
.segs i.on { background: currentColor; }
.term { font-weight: 800; text-decoration: underline dotted 2px; text-underline-offset: 4px; }

/* Prices: one tile for each price */
.tiles { display: grid; grid-template-columns: minmax(0, 1fr); }
.tile { position: relative; border-top: 2px solid currentColor; padding-block: 16px 20px; }
.tile .name { font-weight: 800; font-size: 17px; line-height: 1.2; }
.tile .name a { text-decoration: none; }
.tile .name a::after { content: ""; position: absolute; inset: 0; }
.tile:hover .name a { text-decoration: underline; }
.tile .basis { font-size: 13.5px; }
.tile .tl { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-top: 12px; }
.tile .big { font-family: var(--head); font-size: 76px; line-height: .86; white-space: nowrap; }
.tile .tl svg { width: 46px; height: 24px; overflow: visible; flex: none; margin-bottom: 8px; }
.tile .meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 700; padding-top: 8px; }
.tile .term { position: relative; z-index: 1; }
.tiles + .line { border-top-width: 4px; }
h2.grp { font-size: 40px; padding-block: 22px 12px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; } }

/* One price */
.what a { text-decoration: none; }
.lead .meter { padding-top: 12px; }
.num.none { font-size: 96px; padding-top: 10px; }
.pxf .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pxf .pair .field input { font: 400 56px/1 var(--head); padding: 2px 0 4px; }
.pxf .unit { font-size: 13px; padding-top: 8px; }
.tally { margin: 0; }
.tally > div { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid currentColor; padding-block: 8px; }
.tally > div:last-child { border-bottom: 1px solid currentColor; }
.tally dt { font-size: 15px; font-weight: 500; }
.tally dd { margin: 0; font-family: var(--head); font-size: 30px; line-height: 1; }

/* The same price in the two local units */
.eqv { display: flex; flex-wrap: wrap; gap: 2px 20px; font-size: 14px; padding-top: 8px; }
.eqv b { font-weight: 800; }
.line .eqv, .tile .eqv { padding-top: 6px; }

/* What a first-time visitor reads: one sentence and two buttons */
.intro > .in { padding-block: 18px 20px; }
.intro p { font-size: 19px; font-weight: 700; line-height: 1.3; }
.intro .sub2 { font-size: 16px; font-weight: 400; padding-top: 4px; }
.intro .cta { padding-top: 12px; }
@media (min-width: 980px) { .intro > .in { display: flex; justify-content: space-between; align-items: center; gap: 28px; } .intro .cta { padding-top: 0; flex: none; } }
.prose .btns { padding-top: 26px; }
.prose .units { grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; padding-block: 8px 12px; }
.prose .units dt { font-family: var(--head); font-weight: 400; font-size: 34px; line-height: 1; white-space: nowrap; }
.prose .units dd { align-self: center; }
.prose .nbk dt { font: 700 16px var(--text); white-space: normal; }
.post .nb { opacity: 1; font-weight: 800; }

/* The chat stream on the home page */
.tag.heard { border-style: dashed; }
.post .note2 { font-weight: 500; }
.under { flex-wrap: wrap; row-gap: 2px; }
.under > span { white-space: nowrap; }
.inputs:has(.figs) { border-top: 0; margin-top: 4px; padding-top: 0; }

/* Detail folded away on a price page */
.fold { margin-top: 26px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.fold summary { cursor: pointer; font-weight: 800; font-size: 16px; padding-block: 13px; list-style: none; display: flex; justify-content: space-between; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; font-family: var(--head); font-size: 28px; line-height: .7; }
.fold[open] summary::after { content: "–"; }
.fold > :not(summary) { margin-bottom: 14px; }
.fold .eqv { flex-direction: column; padding-top: 0; }

/* Calls to submit */
.cta { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; }
.asks { display: grid; gap: 8px; }
.ask { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; background: var(--k); color: var(--y); text-decoration: none; padding: 15px 16px 12px; }
.ask b { font-family: var(--head); font-weight: 400; font-size: 42px; line-height: .9; text-transform: uppercase; }
.ask span { font-size: 13px; font-weight: 700; color: var(--w); white-space: nowrap; }
.ask:active { transform: scale(.99); }
.kinds { padding: 16px 0 0; }
.kinds button { font-size: 15px; padding: 9px 13px; }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sides button { font-family: var(--head); font-size: 36px; line-height: 1; text-transform: uppercase; padding: 12px 0 9px; border: 2px solid var(--k); }
.sides button[aria-pressed="true"] { background: var(--k); color: var(--y); }
.pair2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); gap: 16px; align-items: end; }
.done { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: 16px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 2px solid currentColor; }
.done b { font-weight: 800; }
.done a { font-weight: 700; }

/* Board search */
.find { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; }
.find input { flex: 1; min-width: 0; font: 500 16px var(--text); background: none; border: 0; border-bottom: 2px solid currentColor; padding: 8px 0; -webkit-appearance: none; appearance: none; }
.find span { font-size: 13px; font-weight: 700; white-space: nowrap; }

/* The market pulse shown once when the home page opens */
.splash { position: fixed; inset: 0; z-index: 20; background: var(--y); cursor: pointer; }
.splash canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.splash::after { content: ""; position: absolute; inset: 0; background: var(--k); opacity: 0; transition: opacity .42s ease-in; }
.splash.dip::after { opacity: 1; }
.splash.lift { background: none; pointer-events: none; }
.splash.lift canvas, .splash.lift .smark { visibility: hidden; }
.splash.lift::after { opacity: 0; transition: opacity .76s ease-out; }
.splash .smark { position: absolute; left: max(20px, env(safe-area-inset-left, 0px)); top: calc(18px + env(safe-area-inset-top, 0px)); font-family: var(--head); font-size: 46px; line-height: 1; text-transform: uppercase; background: var(--k); color: var(--y); padding: 6px 10px 3px; }

/* Map */
.mapb .in { padding-bottom: 14px; }
.mapwrap { position: relative; overflow: hidden; display: flex; justify-content: center; }
.mapc { position: absolute; inset: 0; width: 100%; height: 100%; }
.map { position: relative; flex: none; display: block; width: 100%; max-width: 900px; height: auto; overflow: visible; }
.tg { font-family: var(--head); font-size: 44px; text-transform: uppercase; }
.map .far { opacity: 0; }
.map.on .far { opacity: 1; transition: opacity 0s linear var(--d, 0s); }

/* Heard */
.heard li { display: grid; grid-template-columns: 50px minmax(0, 1fr); column-gap: 12px; }
.heard .t { font-family: var(--head); font-size: 26px; line-height: 1; padding-top: 1px; white-space: nowrap; }
.heard .note { font-size: 17px; font-weight: 500; line-height: 1.3; text-wrap: pretty; }
.heard .by { font-size: 13px; padding-top: 3px; }
.heard .by a { font-weight: 700; }
.src { font-size: 13px; padding-top: 8px; }
.nav { flex-wrap: wrap; row-gap: 4px; }

/* Forms */
.digest .when { font-size: 13.5px; font-weight: 700; color: var(--y); white-space: nowrap; }
.inline { display: flex; gap: 10px; align-items: stretch; }
.field { display: block; padding-top: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea, .inline input {
  width: 100%; min-width: 0; font: 500 17px var(--text); background: none; border: 0; border-bottom: 2px solid currentColor; padding: 9px 0; outline-offset: 4px;
}
.inline input { flex: 1; }
.field textarea { border: 2px solid currentColor; padding: 9px 10px; min-height: 84px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 22px;
  background: linear-gradient(45deg, transparent 50%, currentColor 50%) right 8px center / 7px 7px no-repeat, linear-gradient(-45deg, transparent 50%, currentColor 50%) right 1px center / 7px 7px no-repeat; }
.k input::placeholder { color: rgba(255, 255, 255, .6); }
.y input::placeholder, .w input::placeholder, .w textarea::placeholder { color: rgba(11, 11, 11, .5); }
.check { display: flex; gap: 10px; align-items: flex-start; padding-top: 16px; font-size: 14px; }
.check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--k); }
.btn { display: inline-block; font-weight: 800; font-size: 15px; padding: 12px 18px; text-decoration: none; text-align: center; }
.y .btn, .w .btn { background: var(--k); color: var(--y); }
.w .btn { color: var(--w); }
.k .btn { background: var(--y); color: var(--k); }
.btn.line2 { background: none !important; color: inherit !important; box-shadow: inset 0 0 0 2px currentColor; }
.btn:disabled { opacity: .35; cursor: default; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; }
.err { font-weight: 700; padding-top: 12px; }
.kv { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 6px 12px; padding-block: 14px; font-size: 15px; }
.kv dt { font-weight: 700; }
.kv dd { margin: 0; overflow-wrap: anywhere; }
h3.sub { font: 800 17px var(--text); padding-top: 26px; padding-bottom: 8px; }

/* Text pages */
.prose { font-size: 16px; line-height: 1.5; }
.prose h3 { font: 800 18px var(--text); padding-top: 24px; padding-bottom: 4px; }
.prose p, .prose li { max-width: 62ch; }
.prose p + p { padding-top: 10px; }
.prose ol { padding-left: 22px; }
.prose ol li { padding-top: 8px; }
.todo { background: var(--y); font-weight: 700; padding: 0 4px; }
.y .todo { background: var(--k); color: var(--y); }
.draft { display: inline-block; font-size: 12px; font-weight: 800; border: 2px solid currentColor; padding: 2px 7px; margin-bottom: 14px; }

footer { margin-top: 40px; padding-top: 14px; border-top: 1px solid currentColor; font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { font-weight: 700; text-decoration: none; }
footer .wide { flex-basis: 100%; opacity: .8; }

/* Composer */
.composer {
  position: fixed; z-index: 5; left: 0; right: 0; bottom: 0; background: var(--w); color: var(--k); border-top: 4px solid var(--k);
  padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
}
.composer .inner { max-width: 600px; margin: 0 auto; }
.read { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; padding: 2px 36px 8px 4px; font-size: 14px; font-weight: 700; }
.read span:not(.side):not(:last-of-type)::after { content: "/"; display: inline-block; font-weight: 400; padding-inline: 7px; opacity: .45; }
.read .side { font-family: var(--head); font-weight: 400; font-size: 20px; line-height: 1; text-transform: uppercase; padding: 3px 6px 2px; border: 2px solid var(--k); margin-right: 9px; }
.read .side.offer, .read .side.re, .read .side.heard { background: var(--k); color: var(--w); }
.read .miss { font-weight: 400; text-decoration: underline dashed 1px; text-underline-offset: 3px; }
.read .need { font-weight: 800; }
.read .x { position: absolute; right: 0; top: 0; font-size: 26px; line-height: 1; padding: 2px 6px; }
.cline { display: flex; align-items: center; gap: 8px; }
.cline input { flex: 1; min-width: 0; font: 500 17px var(--text); color: var(--k); background: none; border: 0; outline: 0; padding: 10px 4px; }
.cline input::placeholder { color: #8A8A8A; }
.wa, .send { width: 44px; height: 44px; flex: none; display: grid; place-items: center; }
.wa { border: 2px solid var(--k); color: #128C4A; }
.wa svg { width: 23px; height: 23px; }
.send { background: var(--k); color: var(--y); }
.send svg { width: 20px; height: 20px; }
.send:disabled { background: none; color: var(--k); box-shadow: inset 0 0 0 2px var(--k); opacity: .3; cursor: default; }
.as { font-size: 13px; padding: 4px 4px 0; }
.as a, .as button { font-weight: 700; text-decoration: underline; cursor: pointer; }
.note { font-size: 13px; font-weight: 700; padding: 4px 4px 0; }

/* Desk */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-block: 16px 6px; }
.tabs button { font-size: 13.5px; font-weight: 700; padding: 7px 11px; border: 2px solid var(--k); }
.tabs button[aria-pressed="true"] { background: var(--k); color: var(--w); }
.tabs button b { font-weight: 800; }
.desk li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 12px; align-items: start; }
@media (min-width: 700px) { .desk li { grid-template-columns: minmax(0, 1fr) auto; } .desk .acts { justify-content: flex-end; max-width: 330px; } }
.desk .t1 { font-weight: 700; font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.desk .t2 { font-size: 13.5px; overflow-wrap: anywhere; }
.desk .acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.desk .acts button { font-size: 13px; font-weight: 700; padding: 6px 9px; border: 2px solid var(--k); }
.desk .acts button.go { background: var(--k); color: var(--y); }
.desk .acts button:disabled { opacity: .3; cursor: default; }
.desk .setr { display: flex; gap: 6px; align-items: center; }
.desk .setr input { width: 74px; font: 700 15px var(--text); border: 2px solid var(--k); padding: 5px 6px; background: none; }
.desk .full { grid-column: 1 / -1; }
.desk .setr select { font: 700 14px var(--text); border: 2px solid var(--k); padding: 5px 6px; background: none; border-radius: 0; }
.desk .setr .pc { width: 54px; }
.nbt .setr { flex-wrap: wrap; }

/* Wide screens: the blocks sit side by side */
/* Chinese: the two typefaces have no Chinese characters, so the system's own Chinese face carries them */
:lang(zh) { --head: "League Gothic", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; --text: "Libre Franklin", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
:lang(zh) h1, :lang(zh) h2 { font-weight: 800; font-size: 44px; line-height: 1.1; }
:lang(zh) .tag, :lang(zh) .read .side { font-size: 15px; font-weight: 800; padding: 5px 7px; }
:lang(zh) .ask b, :lang(zh) .sides button, :lang(zh) h2.grp, :lang(zh) .book2 > .colh { font-weight: 800; font-size: 28px; }
:lang(zh) .tg { font-weight: 800; font-size: 34px; }
:lang(ja) { --head: "League Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif; --text: "Libre Franklin", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif; }
:lang(ja) h1, :lang(ja) h2 { font-weight: 800; font-size: 44px; line-height: 1.1; }
:lang(ja) .tag, :lang(ja) .read .side { font-size: 15px; font-weight: 800; padding: 5px 7px; }
:lang(ja) .ask b, :lang(ja) .sides button, :lang(ja) h2.grp, :lang(ja) .book2 > .colh { font-weight: 800; font-size: 28px; }
:lang(ja) .tg { font-weight: 800; font-size: 34px; }

/* Wide screens. Every block hangs off the same left and right edges: a 1200px page, centred. Colour still runs to the
   edge of the window. Mastheads, grids and paired blocks use the full page; running text keeps to 760px from the left edge. */
@media (min-width: 980px) {
  :root { --edge: max(44px, calc(50vw - 600px)); }
  .blk { padding-inline: var(--edge); }
  .blk > .in { max-width: 760px; margin-inline: 0; }
  .blk > .in.wide, .first > .in { max-width: none; }
  .first > .in > :not(.mast) { max-width: 760px; }
  .cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cols > .blk:first-child { padding-right: 44px; }
  .cols > .blk:last-child { padding-left: 44px; }
  .cols > .blk > .in { max-width: none; }
  /* the board as a book: bids down the left, offers down the right */
  .book2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 88px; grid-auto-flow: row dense; align-items: start; }
  .book2 > .s-bid { grid-column: 1; }
  .book2 > .s-offer { grid-column: 2; }
  .book2 > .none { grid-column: 1 / -1; }
  .book2 > .colh { display: block; font-family: var(--head); font-size: 40px; line-height: 1; text-transform: uppercase; border-top: 0; padding-block: 8px 12px; }
  .book2 > li:last-child { border-bottom: 0; }
  .in.wide > .filters, .in.wide > .find { max-width: 760px; }
  .composer { padding-inline: var(--edge); }
  .composer .inner { max-width: 760px; margin: 0; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; }
  .figs dd { font-size: 60px; }
  .wide .figs { max-width: 760px; }
  .asks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .ask { flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 22px 18px; }
  .ask b { font-size: 64px; }
  h1, h2 { font-size: 76px; }
  .plot { height: 240px; }
  .line .plot { height: 190px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
