/* ROI Net: a 2002 portal page on a green-grid wallpaper. Tables and 1 px frames are the page itself. */
@font-face { font-family: "Silkscreen"; src: url("/fonts/silkscreen-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url("/fonts/silkscreen-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --wall: #03060a;
  --page: #070c12;
  --panel: #0a121a;
  --line: #39ff3c;
  --line-dim: #17602a;
  --text: #dcffdc;
  --muted: #8fbf92;
  --link: #7dff5a;
  --visited: #d38cff;
  --hot: #ff4fd8;
  --warn: #ffe14d;
  --chip-text: #041006;
  --pixel: "Silkscreen", "Courier New", monospace;
  --body: Verdana, Tahoma, "DejaVu Sans", sans-serif;
  --gutter: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); font: 16px/1.5 var(--body); font-synthesis: none;
  background: var(--wall) url("/img/tile/grid.png") repeat; background-size: 192px 192px; image-rendering: pixelated;
}
img { image-rendering: auto; max-width: 100%; }
img.px { image-rendering: pixelated; }
a { color: var(--link); }
a:visited { color: var(--visited); }
a:hover { color: #fff; background: #1d4f22; }
:focus-visible { outline: 3px solid var(--warn); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the page: fixed width like it's 2002, drawn again for phones */
.page { width: 820px; max-width: calc(100% - 2 * var(--gutter)); margin: 28px auto 48px; background: var(--page); border: 1px solid var(--line); box-shadow: 6px 6px 0 #000; }
.logo { display: block; text-align: center; padding: 18px 12px 6px; }
.logo img { width: 440px; max-width: 92%; height: auto; }
.logo .ticker { display: inline-block; margin-top: 2px; font: 700 20px/1 var(--pixel); color: var(--chip-text); background: var(--line); padding: 6px 10px 5px; letter-spacing: 1px; }
.crumb { display: flow-root; font: 400 16px/1.4 var(--pixel); padding: 8px 14px; border-top: 1px solid var(--line-dim); border-bottom: 1px solid var(--line-dim); color: var(--muted); }
.crumb a { text-decoration: none; }

marquee, .marquee { display: block; font: 700 16px/1 var(--pixel); color: var(--warn); background: #000; padding: 9px 0; border-top: 1px solid var(--line-dim); border-bottom: 1px solid var(--line-dim); }

/* three columns, equal heights */
.cols { display: grid; grid-template-columns: 220px minmax(0, 1fr) 220px; gap: 12px; padding: 12px; align-items: stretch; }
.cols > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.box { border: 1px solid var(--line); background: var(--panel); position: relative; }
.box.grow { flex: 1; }
.box > h2, .box > h3 { margin: 0; font: 700 16px/1 var(--pixel); color: var(--chip-text); background: var(--line); padding: 7px 10px 6px; letter-spacing: .5px; text-transform: uppercase; }
.box > .in { padding: 10px 12px 12px; }
.box p { margin: 0 0 10px; }
.box p:last-child { margin-bottom: 0; }
.corner { position: absolute; width: 8px; height: 8px; background: var(--line); }
.corner.tr { right: -5px; top: -5px; } .corner.bl { left: -5px; bottom: -5px; }

ul.dir { list-style: none; margin: 0; padding: 0; }
ul.dir li { padding: 6px 0; border-bottom: 1px dotted var(--line-dim); display: flex; justify-content: space-between; gap: 8px; }
ul.dir li:last-child { border-bottom: 0; }
ul.dir a { font-weight: 700; }
.n { font: 400 16px/1.5 var(--pixel); color: var(--muted); }
li > .n, td .n { white-space: nowrap; }

/* numbered rows like the reference's 01..08 table */
table.top { width: 100%; border-collapse: collapse; }
table.top td { padding: 6px 4px; border-bottom: 1px dotted var(--line-dim); vertical-align: top; }
table.top td.rk { font: 700 16px/1.5 var(--pixel); color: var(--line); width: 2.4em; }
table.top td.ct { font: 400 16px/1.5 var(--pixel); text-align: right; white-space: nowrap; }
table.top small { display: block; color: var(--muted); font-size: 14px; }
.empty { color: var(--muted); font-style: italic; }

/* odometer hit counter made of generated digit wheels */
.counter { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px; font: 400 16px/1.2 var(--pixel); }
.odo { display: inline-flex; gap: 2px; background: #000; padding: 4px; border: 1px solid #555; }
.odo img { width: 24px; height: 44px; display: block; }

/* 88x31 buttons shown at 2x height = real touch targets */
.b88 { display: inline-flex; position: relative; align-items: center; justify-content: center; height: 62px; min-width: 140px; border: 0; padding: 0; background: none; cursor: pointer; color: #fff; text-decoration: none; transition: transform .06s; }
.b88 > img.plate { position: absolute; inset: 0; width: 100%; height: 100%; }
.b88 > .mark { position: relative; height: 30px; width: auto; }
.b88 > .lbl { position: relative; font: 700 16px/1 var(--pixel); margin-left: 8px; color: #fff; text-shadow: 1px 1px 0 #000; }
.b88:active { transform: translate(1px, 2px); }
.b88:hover { background: none; filter: brightness(1.15); }
.b88[aria-disabled="true"] { filter: grayscale(1) brightness(.6); cursor: not-allowed; }
.b88[aria-disabled="true"]:active { transform: none; }
.btnrow { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
img.b88img { height: 62px; width: auto; display: block; }

/* the contract */
.ca { font: 400 16px/1.45 var(--pixel); word-break: break-all; background: #000; color: var(--line); border: 1px dashed var(--line-dim); padding: 8px; user-select: all; }
.ca.none { color: var(--muted); user-select: none; }
.copy { font: 700 16px/1 var(--pixel); min-height: 48px; width: 100%; margin-top: 8px; background: #000; color: var(--line); border: 1px solid var(--line); cursor: pointer; }
.copy:hover:not(:disabled) { background: #0f2a12; }
.copy:disabled { color: #4c6b4e; border-color: #2a3d2b; cursor: not-allowed; }
.note { font-size: 14px; color: var(--muted); margin-top: 6px; min-height: 1.5em; }

/* forms */
label { display: block; font: 400 16px/1.4 var(--pixel); margin: 8px 0 4px; }
select, input[type=text], input[type=number], textarea { width: 100%; min-height: 44px; font: 16px var(--body); background: #000; color: var(--text); border: 1px solid var(--line-dim); padding: 8px; }
textarea { min-height: 90px; resize: vertical; }
.act { display: block; width: 100%; min-height: 48px; font: 700 16px/1 var(--pixel); background: var(--line); color: var(--chip-text); border: 0; margin-top: 10px; cursor: pointer; }
.act:hover:not(:disabled) { background: #7dff5a; }
.act:disabled { background: #22452a; color: #7a9a7c; cursor: not-allowed; }
.act.ghost { background: #000; color: var(--line); border: 1px solid var(--line); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.banner { display: block; border: 1px solid #000; }
.banner img { display: block; width: 100%; height: auto; }
.center { text-align: center; }
.gifcell { display: flex; align-items: center; gap: 10px; }
.gifcell img { width: 64px; height: 64px; flex: none; }

/* webring bar */
.ring { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; font: 700 16px/1 var(--pixel); }
.ring a, .ring button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; font: inherit; color: var(--link); background: #000; border: 1px solid var(--line-dim); cursor: pointer; text-decoration: none; }
.ring .mid { color: var(--warn); }

/* dialogs */
dialog { border: 1px solid var(--line); background: var(--panel); color: var(--text); padding: 0; width: min(460px, calc(100% - 32px)); box-shadow: 8px 8px 0 #000; }
dialog::backdrop { background: rgba(0, 0, 0, .7); }
dialog h2 { margin: 0; font: 700 16px/1 var(--pixel); background: var(--line); color: var(--chip-text); padding: 10px 12px; }
dialog .in { padding: 12px; }
dialog .x { position: absolute; right: 0; top: 0; width: 44px; height: 36px; background: #000; color: var(--line); border: 0; font: 700 16px var(--pixel); cursor: pointer; }

.cols.side { grid-template-columns: minmax(0, 1fr) 260px; }
@media (max-width: 860px) {
  .cols.side { grid-template-columns: minmax(0, 1fr); }
  .page { margin: 16px auto 32px; box-shadow: 4px 4px 0 #000; }
  .cols { grid-template-columns: minmax(0, 1fr); }
  .cols > div { display: contents; }
  .o1 { order: 1; } .o2 { order: 2; } .o3 { order: 3; } .o4 { order: 4; } .o5 { order: 5; } .o6 { order: 6; } .o7 { order: 7; } .o8 { order: 8; } .o9 { order: 9; }
  .logo img { width: 100%; }
  .counter { flex-direction: column; gap: 6px; }
}
.stopper { float: right; font: 400 16px/1 var(--pixel); background: none; border: 0; color: var(--muted); cursor: pointer; min-height: 32px; padding: 0 4px; }
.stopper:hover { color: #fff; }

/* inner pages: the same portal, a smaller logo */
.logo.small { padding: 12px 12px 4px; }
.logo.small img { width: 300px; }
.one { padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.bannerlist { display: grid; gap: 12px; }
.bannerlist a.banner { text-decoration: none; }
.bannerlist .cap { display: flex; justify-content: space-between; gap: 8px; font: 400 16px/1.4 var(--pixel); padding: 6px 2px 0; color: var(--muted); }
.jump { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.jump .act { margin: 0; min-width: 120px; }
.faq h3 { font: 700 16px/1.3 var(--pixel); color: var(--line); margin: 18px 0 6px; }
.faq h3:first-child { margin-top: 0; }
.faq p, .faq li { margin: 0 0 8px; }
.faq table { border-collapse: collapse; width: 100%; margin: 6px 0 10px; }
.faq td, .faq th { border: 1px solid var(--line-dim); padding: 6px 8px; text-align: left; vertical-align: top; }
.faq th { font: 400 16px/1.3 var(--pixel); color: var(--line); }
.addr { font: 400 16px/1.4 var(--pixel); word-break: break-all; }
.ringrow { border-bottom: 1px dotted var(--line-dim); padding: 10px 0; }
.ringrow:last-child { border-bottom: 0; }
.ringrow h3 { margin: 0 0 4px; font: 700 18px/1.2 var(--body); }
.ringrow ol { margin: 6px 0 0; padding-left: 24px; }
