/* The board (create.html): one card on a table, a stack of finished cards behind it,
   and every edit in a pop-up. Loaded after styles.css, which supplies the design system. */

.board {
  animation: rise 0.25s ease-out;
}

.board-head {
  text-align: center;
  margin-bottom: var(--s4);
}

.board-head p {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.board-side {
  margin: 0 0 var(--s3);
}

/* ---------- The stack ---------- */

/* Every card shares one grid cell. Each sits a little lower than the one behind it, so the
   top edge of the cards behind shows, border and all, and the card being made is in front
   at the bottom. The gap was 38px until 17 October 2026.
   The cards are sized by the stack's width (cqw), so the words on them scale with the card. */
.stack {
  --peek: 52px;
  --n: 0;
  display: grid;
  max-width: 620px;
  margin: 0 auto;
  container-type: inline-size;
}

.stack > * {
  grid-area: 1 / 1;
  margin-top: calc(var(--i, 0) * var(--peek));
}

/* A finished card waiting behind. It is a little smaller the further back it is. */
.stack-card {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  align-self: start;
  transform-origin: 50% 0;
  transform: scale(calc(1 - (var(--n) - var(--i)) * 0.035));
  transition: transform 0.18s ease;
}

.stack-card:hover,
.stack-card:focus-visible {
  transform: scale(calc(1 - (var(--n) - var(--i)) * 0.035)) translateY(-6px);
}

/* The front as it prints, inside the printer's white border. */
.stack-card img {
  position: absolute;
  top: 4.76%;
  left: 3.38%;
  width: 93.24%;
  height: 90.48%;
}

.stack-card.is-bare img {
  inset: 0;
  width: 100%;
  height: 100%;
}

.stack-tag {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 88%;
  padding: 2px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- The card being made, and the flip ---------- */

.flip {
  perspective: 1600px;
  align-self: start;
}

.flip-inner {
  position: relative;
  aspect-ratio: var(--card-ratio, 1805 / 1205);
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.3, 0.1, 0.2, 1);
}

.flip.is-flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip .face {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip .face-front {
  transform: rotateY(180deg);
}

/* Safari can show a face's parts through it as the card turns. The side facing away is
   hidden from halfway through the turn, so only the side being shown can be seen or tapped. */
.flip .face * {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip .face.is-away {
  visibility: hidden;
  pointer-events: none;
}

/* A new card is dealt onto the cards already waiting. */
.stack.is-dealt .flip {
  animation: deal 0.45s cubic-bezier(0.2, 0.8, 0.3, 1.1);
}

@keyframes deal {
  from {
    opacity: 0;
    transform: translateY(46px) rotate(2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flip-inner,
  .stack-card {
    transition: none;
  }

  .stack.is-dealt .flip {
    animation: none;
  }
}

/* ---------- The places on the card ---------- */

.zone {
  position: absolute;
}

/* ---------- Photo layouts on the front (27 October 2026) ----------
   A column of four layout icons left of the card, shown while the front shows. The card
   keeps the same size on both sides: the column's room is kept while it is hidden. */
.board-table {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 620px;
  margin: 0 auto;
}

.board-table.has-layouts {
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 8px;
  max-width: 668px;
}

.board-table .stack {
  width: 100%;
  min-width: 0;
}

/* With room to spare, the column sits out to the left so the card stays centred over Flip and Send. */
@media (min-width: 760px) {
  .board-table.has-layouts {
    position: relative;
    left: -24px;
  }
}

.layout-pick {
  --at: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: start;
  /* Level with the card being made, which sits in front of the stack. */
  margin-top: calc(var(--n, 0) * 52px);
  transition: opacity 0.2s ease;
}

.layout-pick.is-away {
  visibility: hidden;
  opacity: 0;
}

/* The blue tile under the chosen layout. It slides from one to the next. */
.layout-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #1651da;
  transform: translateY(calc(var(--at) * 46px));
  transition: transform 0.25s cubic-bezier(0.3, 0.1, 0.2, 1);
}

.layout-btn {
  appearance: none;
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: none;
  color: #4a4a4a;
  cursor: pointer;
  transition: color 0.2s ease;
}

.layout-btn:hover {
  color: var(--ink);
}

.layout-btn[aria-checked='true'] {
  color: #fff;
}

.layout-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .layout-thumb {
    transition: none;
  }
}

/* The slots of a photo layout, placed by board.js over the card's front. */
.front-slots {
  position: absolute;
  inset: 0;
}

.front-slot {
  position: absolute;
  display: flex;
}

.front-slot .add-btn {
  gap: 0.8cqw;
  padding: 1cqw;
  border-radius: clamp(6px, 1.8cqw, 12px);
  background: rgba(255, 255, 255, 0.9);
}

.front-slot .add-plus {
  width: clamp(28px, 8cqw, 52px);
  height: clamp(28px, 8cqw, 52px);
}

.front-slot .add-text {
  font-size: clamp(11px, 3cqw, 19px);
}

.front-slot .chip-edit {
  right: 6px;
  bottom: 6px;
  min-height: 26px;
  padding: 0 9px;
  font-size: 12px;
}

/* The empty slots inside the picture pop-up, placed by app.js over the picture. */
.stage-slots {
  position: absolute;
  inset: 0;
  container-type: inline-size;
  pointer-events: none;
}

.stage-slots .front-slot {
  pointer-events: auto;
}

.stage-slots .slot-pick {
  appearance: none;
  flex: 1;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.stage-slots .slot-pick:hover,
.stage-slots .slot-pick:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: 2px solid rgba(22, 81, 218, 0.5);
  outline-offset: -2px;
}

/* A photo layout in the picture pop-up: "Scroll up to change this photo", gently bobbing.
   Left of the card where the screen has room beside the column, above the card on a phone. */
.slot-hint {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 4px 0;
  background: none;
  color: var(--ink-soft, #555);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  animation: slot-hint-bob 1.6s ease-in-out infinite;
}

.slot-hint:hover,
.slot-hint:focus-visible {
  color: var(--ink);
}

.slot-hint svg {
  flex: none;
  color: #1651da;
}

.slot-hint-top {
  margin: 0 auto calc(-1 * var(--s2));
}

.slot-hint-side {
  display: none;
}

.slot-hint[hidden] {
  display: none !important;
}

@media (min-width: 1040px) {
  .slot-hint-top {
    display: none;
  }

  .slot-hint-side {
    display: flex;
    position: absolute;
    top: 50%;
    right: calc(100% + 24px);
    width: 120px;
    margin-top: -40px;
    flex-direction: column;
    text-align: center;
  }
}

@keyframes slot-hint-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .slot-hint {
    animation: none;
  }
}

/* No Border: a dashed line where the trim may cut. On screen only. */
.safe-guide {
  display: none;
  position: absolute;
  inset: var(--safe-y, 4%) var(--safe-x, 3%);
  border: 2px dashed rgba(255, 255, 255, 0.9);
  outline: 1px dashed rgba(0, 0, 0, 0.5);
  border-radius: 2px;
  pointer-events: none;
}

.postcard-front.is-edge .safe-guide {
  display: block;
}

/* board.js places the note zone and the address zone to match the card's shape. */
.zone-front {
  top: 4.76%;
  left: 3.38%;
  width: 93.24%;
  height: 90.48%;
}

.zone-fill {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2cqw;
}

/* The empty card: one green plus on each side, which opens that side's pop-up. */
.add-btn {
  appearance: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2cqw;
  padding: 1.5cqw;
  border: 2px dashed var(--rule-strong);
  border-radius: clamp(8px, 2.6cqw, 18px);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.add-btn:hover,
.add-btn:focus-visible {
  border-color: var(--ink);
  background: #fafaf7;
}

.add-plus {
  display: grid;
  place-items: center;
  width: clamp(36px, 11cqw, 64px);
  height: clamp(36px, 11cqw, 64px);
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--ink);
}

.add-plus svg {
  width: 55%;
  height: 55%;
}

.add-text {
  font-size: clamp(12px, 3.6cqw, 24px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.zone-front .add-text {
  font-size: clamp(17px, 5.2cqw, 32px);
}

.add-sub {
  font-family: var(--font-ui);
  font-size: clamp(11px, 2.8cqw, 16px);
  color: var(--ink-soft);
}

.zone-busy {
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  font-size: clamp(11px, 2.6cqw, 15px);
  color: var(--ink-soft);
}

/* The address: a dashed box round the ruled lines. The lines show through it. */
.zone-address {
  appearance: none;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px dashed var(--rule-strong);
  border-radius: clamp(8px, 2.6cqw, 18px);
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s;
}

.zone-address:hover,
.zone-address:focus-visible {
  border-color: var(--ink);
}

/* With an address on the card the box steps back, and only Edit shows. */
.zone-address.is-filled {
  border-color: transparent;
}

.zone-address.is-filled:hover,
.zone-address.is-filled:focus-visible {
  border-color: var(--rule-strong);
}

.zone-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1cqw;
  padding: 1cqw 10px;
  border-radius: 12px;
  background: #fff;
  font-family: var(--font-display);
  font-size: clamp(12px, 3.5cqw, 22px);
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

/* Edit: a small pill in the bottom right corner of whatever it edits. */
.chip-edit {
  appearance: none;
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.16);
}

.chip-edit:hover {
  background: var(--paper-deep);
}

/* The back's two Edit pills hang just below their boxes, which end at the same height (board.js), so
   they never cover the note or the address. They keep at least 8px above the card's bottom edge; on a
   card with little room below the boxes they ride up over the boxes' bottom edge instead.
   --below is the room under the boxes, set by board.js. The address box has a 2px border the note
   zone does not, hence the 2px. */
.face-back .zone-note .chip-edit,
.face-back .zone-address .chip-edit {
  top: calc(100% + min(4px, var(--below, 60px) - 8px - 33px));
  bottom: auto;
}

.face-back .zone-address .chip-edit {
  top: calc(100% + 2px + min(4px, var(--below, 60px) - 8px - 33px));
  right: -2px;
}

/* Hidden while the card turns over (board.js setSide). */
.flip.is-turning .chip-edit {
  visibility: hidden;
}

.face-front > .chip-edit {
  right: 5%;
  bottom: 7%;
}

/* ---------- Under the stack ---------- */

/* In the blue ink of the handwritten word and the "pen" of the logo. */
.board-hint {
  color: #3453d0;
  width: fit-content;
  min-height: 1.5em;
  max-width: 620px;
  margin: var(--s4) auto 0;
  text-align: center;
}

/* One wiggle, a second after a pop-up closes, when something is still needed (board.js). */
@keyframes hint-nudge {
  0%,
  100% {
    transform: rotate(0);
  }

  14% {
    transform: rotate(-4deg);
  }

  28% {
    transform: rotate(4deg);
  }

  43% {
    transform: rotate(-3deg);
  }

  57% {
    transform: rotate(3deg);
  }

  71% {
    transform: rotate(-1deg);
  }

  86% {
    transform: rotate(1deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .board-hint.is-nudging {
    animation: hint-nudge 0.7s ease-in-out;
  }
}

.board-links,
.board-bar,
.board .add-card,
.board-bar ~ p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.board-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  margin-top: 0;
}

/* The links under Preview & Send (Add Another Card, Price Breakdown, Have a
   Discount Code?) stand one under the other, each on a row of the same height, so they
   are evenly spaced whichever of them are showing. The gap above them is on the Send row. */
.board-bar {
  margin-bottom: var(--s3);
}

.board .add-card {
  margin-top: 0;
  margin-bottom: 0;
}

.board .add-card .link-btn,
.board-links .link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
}

/* The Stripe and terms lines keep the same 36px rhythm as the links above them. */
.board-legal {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 36px;
  text-align: right;
}

.board-links .discount-box {
  margin: 0;
  padding: 0;
  border: 0;
  text-align: right;
}

.board-links .discount-entry-row {
  justify-content: flex-end;
}

.board-links .discount-msg {
  margin-bottom: 0;
}

.board-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  margin-top: var(--s3);
}

.board-bar .btn {
  flex: none;
  min-height: 56px;
}

/* About 4 seconds after the page loads a bubble pops in under Flip and stays until Flip is tapped (board.js adds .is-showing).
   It lies over the links below it and lets taps through to them. */
.board-bar {
  position: relative;
}

.flip-tip {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 5;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--ink, #0b0b0b);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.6);
  transform-origin: 28px 0;
  transition:
    opacity 0.18s ease-in,
    transform 0.18s ease-in,
    visibility 0s linear 0.18s;
}

/* The tail points up at the Flip icon. */
.flip-tip::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 22px;
  width: 12px;
  height: 12px;
  background: inherit;
  border-radius: 2px;
  transform: rotate(45deg);
}

.flip-tip.is-showing {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.2s ease-out,
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
  .flip-tip,
  .flip-tip.is-showing {
    transform: none;
  }
}

/* Send is grey until the card has everything it needs, then it turns green. */
.board-bar .btn-gold[disabled] {
  background: var(--paper-deep);
  border-color: var(--rule-strong);
  color: var(--ink-soft);
  opacity: 1;
}

.board-bar .btn-gold[disabled]:hover {
  transform: none;
}

@media (max-width: 360px) {
  .board-bar .btn {
    padding: 0 var(--s4);
  }

  .board-bar .btn-gold {
    font-size: 16px;
  }
}

/* ---------- Pop-ups ---------- */

/* Every pop-up fills the screen. On a wide screen its content keeps to a column in the middle. */
.sheet {
  position: fixed;
  inset: 0;
  width: 100%;
  /* Top and bottom 0 stretch it to the screen the browser gives fixed things, like any
     sticky bar. It is also never taller than the height board.js measured (--view-h), so it
     takes whichever is smaller and the bottom buttons stay on screen if either is wrong. */
  height: auto;
  max-width: none;
  max-height: var(--view-h, 100dvh);
  margin: 0;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  border: 0;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
  overscroll-behavior: none;
}

.sheet-head > *,
.sheet-body > *,
.sheet-foot > * {
  max-width: 720px;
}

.sheet-head,
.sheet-body,
.sheet-foot {
  padding-left: max(var(--s5), calc((100% - 720px) / 2)) !important;
  padding-right: max(var(--s5), calc((100% - 720px) / 2)) !important;
}

/* In a frame taller than the screen (a usability-test tool) a full-height pop-up put its buttons
   out of sight, so there it is only as tall as its content, at most 600px (it scrolls inside),
   which fits the smallest laptop window. Set by board.js. */
.is-tall-frame .sheet {
  bottom: auto;
  max-height: min(var(--view-h, 100dvh), 600px);
}

.sheet[open] {
  display: flex;
  flex-direction: column;
  animation: ask-in 0.18s ease-out;
}

.sheet::backdrop {
  background: rgba(11, 11, 11, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

@media (prefers-reduced-motion: reduce) {
  .sheet[open] {
    animation: none;
  }
}

.sheet-head,
.sheet-foot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
}

.sheet-head {
  padding-left: var(--s5);
  border-bottom: 1px solid var(--rule);
}

.sheet-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
}

.sheet-foot {
  border-top: 1px solid var(--rule);
}

.sheet-foot-left {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.sheet-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  /* Room for the scroll bar is kept even when the content is short, so switching between a
     long panel (the art) and a short one (My Photo) never moves anything sideways. */
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
  padding: var(--s4) var(--s5) var(--s5);
}

@media (max-width: 420px) {
  .sheet-head,
  .sheet-body,
  .sheet-foot {
    padding-left: var(--s4) !important;
    padding-right: var(--s4) !important;
  }

  .sheet-foot .btn {
    padding: 0 var(--s4);
  }
}

/* Good Examples keeps Got It right under the hint, with the spare white space below it, so the
   buttons never depend on the very bottom of the screen. A usability tester's tool hid the
   bottom strip of its phone frame and cut Got It in half (19 October 2026). On a short screen
   the pictures scroll and the buttons stay at the bottom as before. */
#examples-box .sheet-body {
  flex: 0 1 auto;
}

.sheet-close {
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--ink);
  cursor: pointer;
}

.sheet-close:hover {
  background: var(--rule);
}

/* The note zone: upload a photo of the note (on Android, also take one), or write it on screen. */

/* The note pop-up for a note written on screen: different words on the footer buttons. */

/* Three ways to add the note: the same big dashed boxes as the front's photo choices. */
.upload-list {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.upload-list .small {
  margin: var(--s2) 0 0;
  text-align: center;
}

.upload-list .icon-write {
  background: #ffe3a8;
}

/* Room between Take a Photo and Choose a Photo in the front pop-up. */
#custom-panel label[for='custom-camera'] {
  margin-bottom: var(--s4);
}

.examples-link {
  margin: 0;
  text-align: center;
}

/* The animated word "Handwritten" on its own line in the note zone, sized to the zone. */
.add-text .script-word {
  display: block;
  width: 100%;
  max-width: 5.6em;
  height: auto;
  margin: 0.1em auto;
}

/* The Send label stays on one line, however many cards and however large the total.
   board.js shrinks its type to fit, and if that is not enough, Flip shows only its icon. */
.board-bar .btn-gold {
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  padding-left: var(--s4);
  padding-right: var(--s4);
}

.board-bar .btn-secondary.is-compact {
  min-width: 56px;
  padding: 0;
}

.board-bar .btn-secondary.is-compact .flip-word {
  display: none;
}

.sheet h2:focus,
.pad-title:focus {
  outline: none;
}

/* The address's green plus, a little smaller than the note's to sit inside the lines. */
.zone-label .add-plus {
  width: clamp(30px, 8.5cqw, 52px);
  height: clamp(30px, 8.5cqw, 52px);
}

/* The side label reads The Front or The Back, in title case rather than capitals. */
.board-side {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

/* The tester button on the examples pop-up: a green pill with black words (3 November 2026,
   it was two lines of blue link text). Two lines of small words keep it the height of Got It.
   A black border and drop shadow, like the cart and Preview & Send buttons. */
.tester-link {
  flex-direction: column;
  gap: 0;
  height: 48px;
  border: 2px solid var(--ink);
  background: var(--green);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 1.15;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.16);
}

/* Lifts and presses like the cart button. */
.tester-link:hover {
  background: var(--green);
  transform: translateY(-1px);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.16);
}

.tester-link:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.16);
}

.tester-old {
  display: none;
}

/* The admin Debug tab can switch it back to the original: two lines of blue link text, centred
   over each other (tester-as-link on <html>, set by app.js from /api/status). */
.tester-as-link .tester-link {
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: #3453d0;
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tester-as-link .tester-link:hover,
.tester-as-link .tester-link:active {
  background: none;
  box-shadow: none;
  transform: none;
  color: #001666;
}

.tester-as-link .tester-new {
  display: none;
}

.tester-as-link .tester-old {
  display: inline;
}
