.island-chapter {
  background: #16231f;
  color: #f4f2e8;
}
.island-chapter .pr-display { color: #f4f2e8; }
.island-chapter .pr-display em, .island-chapter .pr-kicker { color: #dfc595; }
.island-chapter .pr-description { color: #c6cfc6; }
.island-chapter a { color: #f0d5a4; text-underline-offset: .2em; }

.island-console {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  color: #d0dbcd;
  background: #14201c;
  border: 1px solid #4c5e50;
  border-radius: 7px;
  overflow: hidden;
}
.island-console > figcaption {
  grid-column: 1 / -1;
  padding: .8rem clamp(16px, 2.3vw, 34px);
  border-bottom: 1px solid #465449;
  color: #ebecdf;
  letter-spacing: .025em;
  font-size: .85rem;
}
.island-map {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  background-image:
    radial-gradient(ellipse at 50% 45%, rgb(120 135 91 / .15), transparent 68%),
    radial-gradient(circle at 1px 1px, #3c4d42 1px, transparent 1px);
  background-size: auto, 15px 15px;
  padding: clamp(22px, 3.4vw, 55px) clamp(12px, 2vw, 30px) 17px;
  min-width: 0;
}
.island-board {
  align-self: center;
  display: grid;
  grid-template-columns: 1fr 1.33fr 1fr;
  align-items: end;
  gap: clamp(5px, 1.4vw, 22px);
  padding: 0 0 clamp(23px, 3vw, 42px);
}
.island-module {
  display: grid;
  justify-items: center;
  align-content: end;
  min-width: 0;
}
.island-module > span {
  margin-top: 1.05rem;
  text-align: center;
  font-size: clamp(.72rem, 1.05vw, .93rem);
  line-height: 1.25;
  color: #b6c3b5;
}
.island-feed > span { color: #f1d8ac; }
.island-plate {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: min(80%, 87px);
  height: clamp(38px, 5vw, 61px);
  padding-inline: 16%;
  border: 1px solid #788c79;
  border-radius: 5px;
  background: linear-gradient(145deg, #48584c, #263a30);
  box-shadow: 0 3px #293a30, 0 4px #586e5b, 0 7px #1b291f, 0 12px 15px #09130e;
  transform: perspective(320px) rotateX(29deg) rotateZ(-6deg);
}
.island-still .island-plate i {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 1px;
  background: #8b9d89;
}
.island-nav i:nth-child(2) { max-width: 68%; }
.island-page i:first-child { max-width: 72%; height: 6px; }
.island-page i:last-child { opacity: .6; }
.island-terminal {
  position: relative;
  overflow: hidden;
  align-items: center;
  width: min(100%, 150px);
  height: clamp(80px, 8vw, 120px);
  padding: 8px;
  border-color: #c9b483;
  background: linear-gradient(140deg, #445245, #293a2e);
  box-shadow: inset 0 0 0 4px #354638, 0 3px #38453a, 0 5px #8c825f, 0 8px #233025, 0 15px 20px #09130e;
  transform: perspective(380px) rotateX(16deg) rotateZ(-6deg);
}
.island-counter { position: relative; text-align: center; color: #ffe1a7; }
.island-counter > span { display: block; font: 500 clamp(1.85rem, 4.2vw, 3.5rem)/1 ui-monospace, monospace; }
.island-counter > small { display: block; margin-top: .2rem; font-size: .72rem; }
.island-scan {
  position: absolute;
  inset: 0;
  transform: translateX(-115%);
  background: linear-gradient(90deg, transparent, rgb(255 226 166 / .18) 65%, rgb(255 223 157 / .7) 95%, transparent);
}
.island-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1rem; }
.island-play {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .52rem .9rem;
  border: 1px solid #a99c7c;
  border-radius: 3px;
  background: #26372e;
  color: #f4dfb7;
  font-size: .86rem;
}
.island-play:hover { background: #33453a; }
.island-play:focus-visible { outline: 2px solid #f8d698; outline-offset: 4px; }
.island-play > span:first-child { font-size: 1.05rem; }
.island-play[hidden] { display: none; }
.island-status { color: #d1dccb; font-size: .81rem; }
.island-status:empty { display: none; }
.island-inspector {
  min-width: 0;
  padding: clamp(16px, 2.6vw, 37px);
  border-left: 1px solid #465449;
  align-self: stretch;
  display: grid;
  align-content: center;
}
.island-filename { color: #b8c9b8; font: .75rem/1.5 ui-monospace, monospace; }
.island-inspector pre {
  margin: .8rem 0 1rem;
  overflow: auto;
  font: clamp(.7rem, 1.04vw, .9rem)/1.65 ui-monospace, monospace;
  color: #edf2e7;
}
.island-inspector pre b { color: #eace94; font-weight: 500; }
.island-inspector > p:last-child { font-size: .89rem; line-height: 1.5; color: #bdcaba; }
@media (max-width: 780px) {
  .island-console { grid-template-columns: 1fr; }
  .island-map { min-height: 182px; }
  .island-inspector { border-left: 0; border-top: 1px solid #465449; }
}
