@import url("./tokens.css");
:root {
  color-scheme: dark;
  --ink: #101f29;
  --paper: #ecede3;
  --muted: #9caaa9;
  --amber: #e4bd7e;
  --edge: rgba(188, 215, 209, 0.15);
  --progress: 0;
  --dawn: 0;
  --rain-opacity: 0.24;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 10% 35%, #223638 0, transparent 60%), #0c171e;
  color: var(--paper);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft Yahei",
    sans-serif;
  font-size: 14px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button {
  border: 1px solid var(--edge);
  background: transparent;
  border-radius: 5px;
  padding: 9px 12px;
  transition:
    background 0.18s,
    border-color 0.18s;
}
button:hover {
  background: #ffffff09;
  border-color: #adc3bd66;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
.topbar {
  height: 76px;
  max-width: 1376px;
  margin: auto;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--edge);
}
.back {
  font-size: 13px;
  color: #c0cac5;
}
.station {
  font-size: 10px;
  letter-spacing: 2px;
  color: #a7b7b6;
}
.station i {
  font-size: 9px;
  font-style: normal;
  color: var(--amber);
  margin-left: 18px;
  letter-spacing: 1px;
}
.icon-button {
  font-size: 11px;
  min-height: 36px;
}
.radio-shell {
  width: min(1180px, calc(100% - 76px));
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 510px);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}
.studio {
  min-height: 740px;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid #bbc3b41a;
  border-radius: 3px;
  background: #192d34;
}
.studio-art {
  position: absolute;
  inset: 0;
  background: url("./art/radio-night-v1.png") center/cover no-repeat;
  filter: saturate(0.82);
}
.studio:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #0d1d2af0 0,
    #1126338c 29%,
    transparent 48%,
    #0c1b2680 70%,
    #0c1b29f5 100%
  );
  pointer-events: none;
}
.dawn {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, #a9c9d5b0, #f1ca7f18 65%, transparent);
  mix-blend-mode: screen;
  opacity: var(--dawn);
  transition: opacity 2s;
}
.rain {
  position: absolute;
  inset: -10%;
  background: repeating-linear-gradient(
    103deg,
    transparent 0,
    transparent 52px,
    #c9e3ef66 53px,
    transparent 54px,
    transparent 111px
  );
  background-size: 187px 290px;
  opacity: var(--rain-opacity);
  animation: rain 1.5s linear infinite;
  pointer-events: none;
}
.window-light {
  position: absolute;
  inset: 25% 0 22%;
  background: radial-gradient(ellipse at 65% 50%, #d0a34b55, transparent 55%);
  opacity: calc(0.2 + var(--progress) * 0.7);
  transition: opacity 1s;
}
.studio-heading {
  position: relative;
  z-index: 1;
  padding: 38px 36px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--amber);
  margin: 0 0 14px;
  font-weight: 500;
}
h1 {
  font-family: "Iowan Old Style", "Songti SC", STSong, serif;
  font-weight: 500;
  font-size: 50px;
  letter-spacing: 4px;
  margin: 0;
  line-height: 1.28;
}
h1 span {
  display: block;
  font-size: 23px;
  letter-spacing: 7px;
  margin-top: 10px;
  color: #e1dcca;
}
.studio-copy {
  color: #c1cbc5;
  line-height: 2;
  font-size: 13px;
  margin-top: 26px;
  letter-spacing: 1px;
}
.studio-bottom {
  position: absolute;
  z-index: 1;
  bottom: 32px;
  left: 36px;
  right: 36px;
}
.onair {
  font:
    10px ui-monospace,
    monospace;
  letter-spacing: 2px;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 8px;
}
.onair i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e3b16b;
  box-shadow: 0 0 10px #e4b768;
}
.onair span {
  margin-left: auto;
  color: #d8d7c6;
  font-size: 17px;
}
.vu {
  display: flex;
  height: 26px;
  align-items: end;
  gap: 5px;
  margin-top: 18px;
}
.vu i {
  width: 5px;
  background: #b5c3a877;
  height: 20%;
  border-radius: 1px;
  transform-origin: bottom;
  animation: vu 2s ease-in-out infinite alternate;
}
.vu i:nth-child(3n) {
  height: 75%;
  animation-delay: -0.9s;
}
.vu i:nth-child(3n + 1) {
  height: 45%;
  animation-delay: -0.3s;
}
.vu i:nth-child(5n) {
  height: 96%;
  animation-delay: -1.3s;
}
.studio-bottom p {
  color: #b1bdb5;
  font-size: 11px;
  letter-spacing: 2px;
  margin: 17px 0 0;
}
.desk {
  padding-top: 4px;
}
.chapter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.chapter-head .eyebrow {
  margin-bottom: 8px;
  font-size: 9px;
}
h2 {
  font-family: "Songti SC", STSong, serif;
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 27px;
  margin: 0;
}
.text-button {
  font-size: 11px;
  color: #bdc9c2;
  border: 0;
  padding-right: 0;
}
.objectives {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  gap: 10px;
}
.targets {
  display: flex;
  gap: 22px;
}
.target {
  display: grid;
  grid-template-columns: 20px auto;
  column-gap: 7px;
  align-items: center;
}
.target svg {
  width: 20px;
  height: 20px;
  grid-row: span 2;
  color: #aebfb6;
}
.target b {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.1;
}
.target span {
  font-size: 9px;
  color: #95a7a5;
  margin-top: 5px;
}
.target.done b {
  color: #92c6ab;
}
.target.done svg {
  color: #92c6ab;
}
.moves {
  display: flex;
  gap: 8px;
  align-items: center;
  border-left: 1px solid var(--edge);
  padding-left: 16px;
}
.moves strong {
  font:
    31px "Iowan Old Style",
    Georgia,
    serif;
  font-weight: 400;
  color: var(--amber);
}
.moves span {
  font-size: 10px;
  writing-mode: vertical-rl;
  letter-spacing: 1px;
  color: #a5b2b0;
  max-height: 40px;
}
.moves.low strong {
  color: #e89d8e;
}
.goal-hint {
  min-height: 34px;
  line-height: 1.6;
  font-size: 11px;
  color: #a7b7b5;
  margin: 13px 0 12px;
}
.board-wrap {
  position: relative;
  padding: 9px;
  background: linear-gradient(135deg, #71877d36, #40575714 50%, #a9b7a020);
  border: 1px solid #8da79a36;
  border-radius: 12px;
  box-shadow:
    0 14px 48px #0004,
    inset 0 0 0 3px #131f28;
}
.board {
  position: relative;
  aspect-ratio: 1;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  border-radius: 6px;
  background: #0c1b25;
  overflow: hidden;
  isolation: isolate;
}
.board-floor,
.pieces,
.effects {
  position: absolute;
  inset: 0;
}
.board-floor {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
}
.well {
  position: relative;
  margin: 2px;
  border-radius: 5px;
  background: #1b2c3670;
  border: 1px solid #718d8d09;
}
.well.noise {
  background: #406672a0;
  border: 1px solid #9fd7e38c;
  box-shadow: inset 0 0 8px #afdfec21;
}
.well.noise:after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 3px;
  background: repeating-linear-gradient(
    -38deg,
    transparent,
    transparent 5px,
    #c4e5ea44 5px,
    #c4e5ea44 6px
  );
  pointer-events: none;
}
.well.double {
  border: 2px double #c1e7ee;
  box-shadow: inset 0 0 0 2px #6eacb77a;
}
.piece {
  position: absolute;
  left: 0;
  top: 0;
  width: 12.5%;
  height: 12.5%;
  border: 0;
  padding: 4px;
  border-radius: 0;
  background: none !important;
  z-index: 2;
  transition:
    transform 180ms cubic-bezier(0.25, 0.7, 0.35, 1),
    opacity 160ms;
  will-change: transform;
}
.tile-face {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    150deg,
    color-mix(in srgb, var(--color) 32%, #283c45) 0,
    color-mix(in srgb, var(--color) 13%, #152a35) 68%
  );
  border: 1px solid color-mix(in srgb, var(--color) 43%, transparent);
  box-shadow:
    inset 0 1px 0 #ffffff28,
    0 3px 0 #030e17a0,
    0 4px 7px #0004;
  color: var(--color);
}
.tile-face:before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 2px;
  height: 25%;
  border-radius: 50%;
  background: linear-gradient(#ffffff12, transparent);
}
.tile-face svg {
  width: 66%;
  height: 66%;
  filter: drop-shadow(0 2px 1px #0005);
}
.piece.selected .tile-face {
  border-color: #ffdda3;
  box-shadow:
    0 0 0 2px #ffe7a7,
    0 0 18px #f7c96999;
  transform: scale(0.92);
}
.piece.hinted .tile-face {
  animation: hint 1s infinite;
}
.piece:focus-visible {
  outline: 0;
}
.piece:focus-visible .tile-face {
  outline: 2px solid #fff;
}
.piece.blocked .tile-face {
  background: linear-gradient(135deg, #665141, #3a3231);
  border-color: #9a785957;
  color: #b8a08b;
  border-radius: 5px;
  box-shadow: inset 0 0 12px #0005;
}
.piece.letter .tile-face {
  background: linear-gradient(130deg, #eae1c7, #bdb9a3);
  color: #334044;
  border-color: #f1e6c4;
  transform: scale(0.94);
  border-radius: 5px;
}
.piece.letter .tile-face svg {
  width: 86%;
  height: 86%;
}
.layer-mark {
  position: absolute;
  bottom: 1px;
  right: 4px;
  font-size: 9px;
  color: #ffda9e;
  font-weight: 600;
}
.special-mark {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.special-row .tile-face:after,
.special-col .tile-face:after {
  content: "";
  position: absolute;
  background: #fff4cbbf;
  box-shadow: 0 0 9px 2px #fdf2ae7a;
  opacity: 0.85;
}
.special-row .tile-face:after {
  height: 2px;
  left: 0;
  right: 0;
  top: 48%;
}
.special-col .tile-face:after {
  width: 2px;
  top: 0;
  bottom: 0;
  left: 48%;
}
.special-bomb .tile-face {
  border: 2px solid #ffe4ab;
  box-shadow:
    inset 0 0 13px #ffeaa050,
    0 0 5px #ffe7aa60;
  border-radius: 50%;
}
.special-wild .tile-face {
  background: conic-gradient(
    from 30deg,
    #668fad,
    #bd9ed2,
    #e5b173,
    #7dac99,
    #668fad
  );
  color: #fff6db;
  border: 2px solid #fff1bf;
}
.special-wild svg {
  animation: spin 12s linear infinite;
}
.piece.clearing .tile-face {
  animation: clear 0.2s ease-out forwards;
}
.piece.invalid .tile-face {
  animation: shake 0.25s;
}
.effect-dot {
  position: absolute;
  left: calc(var(--x) * 12.5% + 6.25%);
  top: calc(var(--y) * 12.5% + 6.25%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f4deb0;
  box-shadow: 0 0 12px #efd49b;
  animation: spark 0.36s ease-out both;
  z-index: 5;
}
.effect-beam {
  position: absolute;
  background: #fff6d2;
  box-shadow: 0 0 16px 4px #fff0ad;
  animation: beam 0.28s ease-out both;
  z-index: 4;
}
.effect-beam.row {
  left: 0;
  right: 0;
  height: 3px;
  top: calc(var(--at) * 12.5% + 6.25%);
}
.effect-beam.col {
  top: 0;
  bottom: 0;
  width: 3px;
  left: calc(var(--at) * 12.5% + 6.25%);
}
.combo {
  pointer-events: none;
  position: absolute;
  inset: 42% 0 auto;
  text-align: center;
  font:
    24px Georgia,
    "Songti SC",
    serif;
  color: #fff1c7;
  text-shadow: 0 2px 10px #051521;
  opacity: 0;
  z-index: 10;
  letter-spacing: 4px;
}
.combo.show {
  animation: combo 0.65s both;
}
.broadcast-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 13px 16px 0;
  color: #8ca09f;
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 2px;
  white-space: nowrap;
}
.slot-line {
  height: 3px;
  flex: 1;
  border-top: 1px solid #a1b0a736;
  background: #030b12;
  box-shadow: 0 1px 0 #c5d2bd13;
}
.broadcast-slot.received {
  color: #f9d596;
  filter: drop-shadow(0 0 5px #e5be78);
}
.caption {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 17px 0 8px;
  min-height: 63px;
}
.caption-indicator {
  color: #cca973;
  font-size: 12px;
  line-height: 1.8;
}
.caption p {
  font-size: 12px;
  line-height: 1.85;
  letter-spacing: 0.3px;
  margin: 0;
  color: #d2d5c9;
}
.controls {
  display: flex;
  align-items: center;
  gap: 7px;
  border-top: 1px solid var(--edge);
  padding-top: 14px;
}
.controls button {
  font-size: 10px;
  padding: 8px 10px;
  min-height: 34px;
  color: #b7c5bd;
}
.saved {
  margin-left: auto;
  color: #637d7e;
  font-size: 9px;
  white-space: nowrap;
}
.page-footer {
  max-width: 1180px;
  margin: 26px auto 32px;
  padding: 0;
  display: flex;
  justify-content: space-between;
  color: #6c8486;
  font-size: 10px;
  letter-spacing: 1px;
}
.page-footer button {
  border: 0;
  padding: 0;
  color: #a7b5ac;
  font-size: 10px;
}
.effects {
  pointer-events: none;
  z-index: 4;
}
dialog {
  background: #152730;
  color: #e2e6d9;
  border: 1px solid #83938a66;
  border-radius: 12px;
  padding: 27px;
  width: min(480px, calc(100% - 28px));
  max-height: 85dvh;
  box-shadow: 0 30px 100px #000a;
}
dialog::backdrop {
  background: #04121ab8;
  backdrop-filter: blur(9px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dialog-top .eyebrow {
  margin: 0;
}
.dialog-top button {
  border: 0;
  padding: 3px 8px;
}
dialog h2 {
  font-size: 29px;
  line-height: 1.5;
  margin-bottom: 14px;
}
dialog p {
  font-size: 13px;
  color: #b8c6bf;
  line-height: 1.9;
}
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.modal-actions button {
  flex: 1;
  min-width: 100px;
  font-size: 12px;
  min-height: 43px;
}
.primary {
  background: #e4c68e !important;
  color: #203138 !important;
  border-color: #e4c68e !important;
}
.dialog-note {
  color: #7e9897 !important;
  font-size: 11px !important;
}
.chapter-list {
  display: grid;
  gap: 7px;
  margin-top: 15px;
}
.chapter-list button {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 13px 12px;
}
.chapter-list b {
  font:
    14px ui-monospace,
    monospace;
  color: #b6a37e;
}
.chapter-list span {
  font-size: 13px;
}
.chapter-list small {
  margin-left: auto;
  color: #9dac9f;
  font-size: 10px;
}
.record {
  padding: 17px 0;
  border-bottom: 1px solid var(--edge);
}
.record h3 {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
}
.record p {
  font-size: 12px;
}
.manual-item {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 15px 0;
}
.manual-item svg {
  width: 31px;
  height: 31px;
  flex-shrink: 0;
  color: var(--amber);
}
.manual-item p {
  margin: 0;
  font-size: 12px;
}
.manual-item b {
  color: #eee7cf;
  font-weight: 500;
}
.stars {
  letter-spacing: 7px;
  color: var(--amber);
  font-size: 24px;
  margin: 12px 0;
}
.result-recap {
  padding: 12px 14px;
  border: 1px solid var(--edge);
  border-radius: 6px;
  background: #091c2260;
}
.result-recap p {
  margin: 0;
  font-size: 12px;
}
.kbd {
  font-size: 10px !important;
  color: #819c99 !important;
}
@keyframes rain {
  to {
    background-position: -28px 290px;
  }
}
@keyframes vu {
  to {
    transform: scaleY(0.25);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes hint {
  50% {
    box-shadow:
      0 0 0 2px #ffdfa3,
      0 0 20px #ddc48b88;
    transform: scale(0.92);
  }
}
@keyframes clear {
  to {
    transform: scale(1.2);
    opacity: 0;
    filter: brightness(2);
  }
}
@keyframes shake {
  25%,
  75% {
    transform: translateX(-4px);
  }
  50% {
    transform: translateX(4px);
  }
}
@keyframes spark {
  to {
    transform: translate(var(--dx), var(--dy)) scale(0);
    opacity: 0;
  }
}
@keyframes beam {
  to {
    opacity: 0;
    filter: blur(5px);
  }
}
@keyframes combo {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.85);
  }
  30%,
  60% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-12px);
  }
}
@media (min-width: 1450px) {
  .radio-shell {
    margin-top: 55px;
  }
  .studio {
    min-height: 775px;
  }
}
@media (max-width: 1000px) {
  .radio-shell {
    width: calc(100% - 40px);
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  }
  .studio-heading {
    padding: 30px 23px;
  }
  h1 {
    font-size: 39px;
    letter-spacing: 2px;
  }
  .studio-bottom {
    left: 23px;
    right: 23px;
  }
  .page-footer {
    margin-left: 20px;
    margin-right: 20px;
  }
  .saved {
    display: none;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 53px;
    padding: 0 18px;
  }
  .station {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .station i {
    display: none;
  }
  .back {
    font-size: 11px;
  }
  .icon-button {
    font-size: 10px;
  }
  .radio-shell {
    display: block;
    width: min(500px, calc(100% - 28px));
    margin: 16px auto 0;
  }
  .studio {
    height: 97px;
    min-height: 0;
    border-radius: 7px;
    margin-bottom: 21px;
  }
  .studio-art {
    background-position: center 42%;
    filter: brightness(0.68);
  }
  .studio:after {
    background: linear-gradient(90deg, #0c2237cf, transparent 95%);
  }
  .studio-heading {
    padding: 16px 18px;
  }
  .studio-heading .eyebrow,
  .studio-copy,
  .studio-bottom p,
  .vu {
    display: none;
  }
  h1 {
    font-size: 25px;
    line-height: 1.35;
    letter-spacing: 4px;
  }
  h1 span {
    font-size: 11px;
    letter-spacing: 7px;
    margin-top: 7px;
  }
  .studio-bottom {
    left: auto;
    right: 18px;
    bottom: 20px;
  }
  .onair {
    font-size: 8px;
    gap: 5px;
    letter-spacing: 1px;
    display: flex;
    flex-wrap: wrap;
    width: 64px;
  }
  .onair span {
    font-size: 20px;
    margin: 8px 0 0;
  }
  .chapter-head {
    margin-bottom: 14px;
  }
  .chapter-head .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
  }
  h2 {
    font-size: 23px;
  }
  .text-button {
    font-size: 10px;
  }
  .objectives {
    padding: 10px 0;
  }
  .targets {
    gap: 16px;
  }
  .target b {
    font-size: 17px;
  }
  .target span {
    font-size: 9px;
  }
  .moves strong {
    font-size: 29px;
  }
  .moves {
    padding-left: 12px;
  }
  .goal-hint {
    font-size: 10px;
    margin: 9px 0;
    min-height: 31px;
    line-height: 1.6;
  }
  .board-wrap {
    padding: 6px;
    border-radius: 10px;
  }
  .piece {
    padding: 3px;
  }
  .tile-face {
    border-radius: 8px;
  }
  .well {
    margin: 1px;
  }
  .caption {
    min-height: 59px;
    padding-top: 13px;
  }
  .caption p {
    font-size: 11px;
  }
  .controls {
    padding-top: 11px;
  }
  .controls button {
    font-size: 10px;
    min-height: 36px;
  }
  .saved {
    display: block;
    font-size: 8px;
  }
  .broadcast-slot {
    margin-top: 10px;
    font-size: 8px;
    letter-spacing: 1px;
  }
  .page-footer {
    width: min(500px, calc(100% - 32px));
    margin: 21px auto 24px;
    font-size: 9px;
  }
  .page-footer button {
    font-size: 9px;
  }
  dialog {
    padding: 22px;
  }
}
@media (max-width: 360px) {
  .radio-shell {
    width: calc(100% - 18px);
  }
  .topbar {
    padding: 0 12px;
  }
  .station {
    font-size: 7px;
  }
  .targets {
    gap: 10px;
  }
  .saved {
    display: none;
  }
  .studio {
    height: 80px;
    margin-bottom: 16px;
  }
  .studio-heading {
    padding: 10px 14px;
  }
  .studio-bottom {
    bottom: 12px;
  }
  .piece {
    padding: 2px;
  }
  .goal-hint {
    font-size: 9px;
  }
  .target {
    column-gap: 4px;
  }
  .target svg {
    width: 18px;
  }
  .controls button {
    padding: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .combo.show {
    opacity: 1;
  }
  .piece.clearing {
    opacity: 0;
  }
}
/* Static overlays keep the objective visible above, not beneath, the sound tile. */
.piece.has-noise:after {
  content: "≋";
  position: absolute;
  left: 5px;
  bottom: 4px;
  font:
    bold 18px Georgia,
    serif;
  line-height: 12px;
  color: #d9f6ff;
  text-shadow: 0 1px 3px #062531;
  pointer-events: none;
  background: #1b4b5ebf;
  border-radius: 3px;
  padding: 0 2px;
  z-index: 3;
}
.piece.noise-2:after {
  content: "≋Ⅱ";
  font-size: 14px;
  line-height: 14px;
}
.piece.has-noise .tile-face {
  border-color: #a9e3ef;
  box-shadow:
    inset 0 0 0 1px #b9e7ee40,
    0 0 5px #62b4d155;
}
.ending-stars {
  font-size: 15px;
  opacity: 0.7;
  letter-spacing: 4px;
}
@media (max-width: 400px) and (max-height: 740px) {
  .topbar {
    height: 43px;
  }
  .radio-shell {
    margin-top: 9px;
  }
  .studio {
    height: 57px;
    margin-bottom: 12px;
  }
  .studio-heading {
    padding: 8px 12px;
  }
  h1 {
    font-size: 21px;
  }
  h1 span {
    display: inline;
    margin-left: 8px;
    font-size: 10px;
    letter-spacing: 2px;
  }
  .studio-bottom {
    bottom: 12px;
    right: 12px;
  }
  .onair {
    width: auto;
  }
  .onair span {
    font-size: 17px;
    margin: 0 0 0 8px;
  }
  .chapter-head {
    margin-bottom: 9px;
  }
  .chapter-head .eyebrow {
    margin-bottom: 4px;
  }
  h2 {
    font-size: 21px;
  }
  .objectives {
    padding: 7px 0;
  }
  .goal-hint {
    min-height: 0;
    font-size: 10px;
    margin: 7px 0;
  }
  .caption {
    min-height: 48px;
    padding-top: 10px;
  }
  .controls {
    padding-top: 9px;
  }
  .page-footer {
    margin-top: 16px;
  }
  .saved {
    display: none;
  }
}
