[data-mode='record'] body > *:not(#game-shell):not(script):not(noscript) {
  display: none !important;
}
.record-entry {
  font-size: 12px;
  text-decoration: none;
  color: #f1dfb9;
  padding: 10px;
}
#game-shell.recording {
  background: #16382e;
}
#record-world,
#record-world canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.record-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #092a23f5,
    #102f25e0 32%,
    #1b352945 65%,
    #1b352900
  );
  pointer-events: none;
}
.record-top {
  position: absolute;
  z-index: 3;
  top: 27px;
  left: 36px;
  right: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.record-brand {
  font-size: 16px;
  letter-spacing: 0.07em;
  text-decoration: none;
  font-weight: 700;
  color: #f1e7ce;
}
.record-brand span {
  display: block;
  font-size: 11px;
  color: #b6cbb9;
  letter-spacing: 0;
  font-weight: 400;
  margin-top: 5px;
}
.record-top > div {
  display: flex;
  gap: 10px;
  align-items: center;
}
.recording .record-chrome button {
  padding: 11px 15px;
  border-radius: 7px;
  color: #e5e9d5;
  background: #113a2dd9;
  font-size: 13px;
  min-height: 42px;
}
.recording button:hover {
  filter: brightness(1.12);
}
.recording kbd {
  font: inherit;
  font-size: 10px;
  opacity: 0.7;
  margin-left: 7px;
}
#record-frame {
  position: absolute;
  z-index: 2;
  left: 7vw;
  top: 50%;
  transform: translateY(-50%);
  width: min(550px, 46vw);
  max-height: calc(100dvh - 185px);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #b2b785 transparent;
  padding: 6px 12px 6px 0;
  outline: none;
}
#record-frame h1 {
  font-size: clamp(42px, 4.6vw, 72px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.035em;
  margin: 0 0 26px;
  color: #f5ebd5;
  text-wrap: balance;
}
.record-lead {
  font-size: clamp(18px, 1.65vw, 24px);
  line-height: 1.5;
  margin: 0 0 26px;
  max-width: 36ch;
  color: #d1decb;
}
#record-frame ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#record-frame li {
  font-size: clamp(15px, 1.35vw, 20px);
  line-height: 1.5;
  padding: 10px 0 10px 22px;
  position: relative;
}
#record-frame li::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e5c489;
}
.record-nuance {
  font-size: 14px;
  line-height: 1.55;
  color: #b7c9b5;
  margin: 25px 0 0;
  max-width: 54ch;
}
.record-method-number {
  font-size: 45px;
  line-height: 1;
  color: #e4c283;
  margin: 0 0 18px;
  font-variant-numeric: tabular-nums;
}
.record-method-number span {
  font-size: 14px;
  color: #b5c6b2;
  margin-left: 8px;
}
.record-location {
  position: absolute;
  right: 5vw;
  bottom: 130px;
  text-align: right;
  color: #faf0d4;
  text-shadow: 0 2px 10px #172e2540;
  pointer-events: none;
  max-width: 36vw;
}
.record-location > span {
  display: block;
  font-size: clamp(20px, 2.3vw, 36px);
  line-height: 1.15;
}
.record-location small {
  display: block;
  font-size: 11px;
  color: #eef3d5;
  margin-top: 13px;
}
.record-bottom {
  position: absolute;
  z-index: 3;
  bottom: 26px;
  left: 36px;
  right: 36px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.record-bottom > div {
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#record-count {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
#record-act {
  font-size: 11px;
  color: #bdcebd;
}
.record-key-hint {
  margin-left: auto;
  color: #d0d9be;
  font-size: 11px;
}
#record-progress {
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: #e0c188;
  transition: width 0.4s;
}
#record-demo-button,
.record-course {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 27px;
  padding: 17px 23px;
  border-radius: 8px;
  background: #e4c58b;
  color: #163d2c;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
}
#record-demo-button span {
  font-size: 13px;
}
.record-demo-caption {
  font-size: 12px;
  color: #bdd0bb;
  margin-top: 12px;
}
.record-final li:first-child {
  color: #e8c88c;
  font-size: clamp(25px, 2.1vw, 34px) !important;
  letter-spacing: -0.02em;
}
.record-final li:first-child::before {
  display: none;
}
.record-final li:first-child {
  padding-left: 0 !important;
}
#record-status {
  position: absolute;
  right: 30px;
  top: 100px;
  max-width: 350px;
  font-size: 13px;
  color: #f7e9c7;
  background: #163a2c;
  border-radius: 8px;
  padding: 12px;
  z-index: 12;
}
#record-status:empty {
  display: none;
}
.clean-record .record-chrome {
  display: none;
}
#record-restore {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 20;
  color: #d8e7c8;
  background: #163a2c;
  padding: 10px 14px;
  border-radius: 8px;
  opacity: 0;
}
#record-restore:hover,
#record-restore:focus-visible {
  opacity: 1;
}
.only-city #record-frame,
.only-city .record-location {
  visibility: hidden;
}
.only-city .record-shade {
  opacity: 0;
}
.recording dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  padding: 30px;
}
.recording dialog header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  margin-bottom: 25px;
}
.recording dialog header h2 {
  margin: 0;
  font-size: 26px;
}
.recording dialog header button {
  font-size: 30px;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
}
#record-outline-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
#record-outline-list button {
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  font-size: 13px;
  padding: 13px;
  min-height: 56px;
  border: 1px solid #55745e;
  border-radius: 8px;
  line-height: 1.4;
}
#record-outline-list button span {
  color: #e7c689;
}
#record-outline-list button[aria-current='true'] {
  background: #365c41;
}
#record-outline-list small {
  font-size: 10px;
  color: #c4d8b9;
  margin-left: auto;
}
#download-script {
  color: #efce90;
  padding: 15px 0;
  text-align: left;
  margin-top: 20px;
}
#record-help p,
#record-help li {
  font-size: 16px;
  line-height: 1.6;
}
#record-help li {
  margin: 12px 0;
}
#record-help a {
  color: #efce90;
}
.recording #mission-dialog {
  width: min(1060px, calc(100vw - 32px));
  padding: 29px 31px;
}
.record-demo #solution-step,
.record-demo #prompt-step,
.record-demo .source-details,
.record-demo .workshop-steps {
  display: none;
}
.record-demo .workshop-output {
  margin-top: 10px;
}
.record-demo #project-result {
  margin-top: 22px;
}
.record-demo .workshop-heading {
  margin-bottom: 16px;
}
.notes-view {
  overflow: auto !important;
}
.presenter-notes {
  position: relative;
  inset: auto;
  transform: none;
  width: 100%;
  max-height: none;
  overflow: visible;
  padding: 28px;
  max-width: 850px;
  margin: auto;
}
.presenter-notes header {
  font-size: 13px;
  color: #b8ccbb;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.presenter-notes nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 26px 0;
}
.presenter-notes nav button {
  background: #31583e;
  padding: 12px 22px;
  border-radius: 8px;
}
.presenter-notes h1 {
  font-size: 32px;
  margin: 12px 0 25px;
  line-height: 1.2;
}
.notes-time {
  color: #e5c68c;
  font-size: 13px;
}
.presenter-notes h2 {
  font-size: 15px;
  color: #b9d8bd;
  margin: 26px 0 12px;
}
.presenter-notes .speech p {
  font-size: 23px;
  line-height: 1.65;
  color: #f3ecd7;
}
.stage-cue p,
.next-cue p {
  font-size: 16px;
  line-height: 1.6;
}
.presenter-notes footer {
  display: flex;
  gap: 25px;
  align-items: center;
  border-top: 1px solid #4b6953;
  margin-top: 30px;
  padding: 10px 0;
}
.presenter-notes footer a {
  color: #e5c48b;
  font-size: 13px;
}
.record-note {
  font-size: 12px;
  line-height: 1.6;
  color: #adc8b3;
}
@media (max-height: 780px) and (min-width: 701px) {
  #record-frame {
    max-height: calc(100dvh - 170px);
  }
  #record-frame h1 {
    font-size: 48px;
    margin-bottom: 18px;
  }
  .record-lead {
    font-size: 19px;
    margin-bottom: 18px;
  }
  #record-frame li {
    font-size: 16px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
  #record-frame li::before {
    top: 17px;
  }
  .record-method-number {
    font-size: 34px;
    margin-bottom: 14px;
  }
  .record-nuance {
    margin-top: 14px;
    font-size: 13px;
  }
  .record-location {
    bottom: 110px;
  }
}
@media (max-width: 700px) {
  .record-entry {
    font-size: 10px;
    padding: 7px 3px;
  }
  .game-top-right {
    gap: 5px;
  }
  .record-top {
    left: 16px;
    right: 16px;
    top: 14px;
  }
  .record-brand {
    font-size: 12px;
  }
  .record-brand span {
    display: none;
  }
  .record-top > div {
    gap: 5px;
  }
  .recording .record-top button {
    font-size: 10px;
    padding: 8px;
  }
  .recording kbd,
  #record-clean {
    display: none;
  }
  #record-frame {
    left: 0;
    top: 29dvh;
    bottom: 95px;
    transform: none;
    width: 100%;
    max-height: none;
    padding: 24px;
  }
  #record-frame h1 {
    font-size: 38px;
    margin-bottom: 20px;
  }
  .record-lead {
    font-size: 17px;
    margin-bottom: 18px;
  }
  #record-frame li {
    font-size: 15px;
  }
  .record-shade {
    background: linear-gradient(0deg, #0f2d24 35%, #102f25e0 60%, #102f2520);
  }
  .record-location {
    display: none;
  }
  .record-method-number {
    font-size: 29px;
    margin-bottom: 13px;
  }
  .record-bottom {
    left: 14px;
    right: 14px;
    bottom: 20px;
    gap: 9px;
  }
  .record-bottom > div {
    min-width: 0;
    flex: 1;
  }
  #record-act {
    font-size: 9px;
  }
  .recording .record-bottom button {
    font-size: 11px;
    padding: 10px;
  }
  .record-key-hint {
    display: none;
  }
  #record-pause {
    max-width: 82px;
  }
  #record-outline-list {
    grid-template-columns: 1fr;
  }
  .recording dialog {
    padding: 22px;
  }
  .recording #mission-dialog {
    padding: 25px 23px;
  }
  .recording #record-help li {
    font-size: 14px;
  }
  .presenter-notes {
    padding: 22px;
  }
  .presenter-notes .speech p {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #record-progress {
    transition: none;
  }
}
