*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: Chicago, "NeoDunggeunmo", monospace;
  font-size: 18px;
  letter-spacing: -0.025em;
  min-height: 100vh;
}

/*
  body background: system.css desktop grid
  Latin: Chicago | Hangul: NeoDunggeunmo
*/
body {
  margin: 0;
  padding: 0;
  color: #000;
  min-height: 100vh;
}

.btn,
button,
input,
textarea,
select,
label,
.dialog-text,
.modal-text,
.alert-text,
.modeless-text {
  font-family: Chicago_12, Chicago, "NeoDunggeunmo", monospace;
}

.title,
.inactive-title-bar .title,
h1.heading,
h2,
h3,
.heading,
.subheading {
  font-family: Chicago_12, Chicago, "NeoDunggeunmo", monospace;
}

p,
.docs-body,
.placeholder-note,
.site-footer,
.menu-items,
.field-row input,
.field-row textarea {
  font-family: Chicago, "NeoDunggeunmo", monospace;
  font-size: 1em;
  line-height: 1.45;
}

p,
.docs-body {
  margin: 0.6em 0;
}

.heading {
  font-size: 3rem;
  margin: 0.25em 0;
  font-weight: normal;
}

.docs-header .heading {
  font-size: 3rem;
  margin: 0.25em 0;
}

.desc {
  font-family: Chicago, "NeoDunggeunmo", monospace;
  font-size: 1.25em;
  margin: 0.35em 0 0.75em;
}

.docs-header {
  flex-shrink: 0;
}

.subheading {
  font-size: 2em;
  margin: 1em 0 0.4em;
  font-weight: normal;
}

h3.subheading {
  font-size: 1.5em;
}

.center {
  text-align: center;
}

a {
  color: #000;
}

/* —— Centered shell —— */
.container {
  min-height: 100vh;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layout {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 72rem;
  height: calc(100vh - 36px);
  max-height: calc(100vh - 36px);
}

/* —— Sidebar window —— */
aside.window.sidebar {
  width: 240px;
  min-width: 240px !important;
  max-width: 240px;
  height: 100% !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 1;
}

aside.window.sidebar .window-pane {
  flex: 1;
  min-height: 0;
  font-size: 1em;
  padding: 0.75rem 1.1rem;
  letter-spacing: -0.025em;
}

.menu-items {
  list-style: disc;
  margin: 0;
  padding: 0 0 0 1.1em;
  font-family: Chicago_12, Chicago, "NeoDunggeunmo", monospace;
  font-size: 1em;
}

.menu-items li {
  margin: 0.45em 0;
}

.menu-items a {
  color: #000;
  text-decoration: underline;
}

.menu-items a.is-active {
  font-weight: bold;
  background: #000;
  color: #fff;
  text-decoration: none;
  padding: 0 0.2em;
}

/* —— Main column —— */
.col-main {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.standard-dialog.docs-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

.docs-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.docs-scroll::-webkit-scrollbar {
  background-color: #fff;
  width: 22px;
}

.docs-scroll::-webkit-scrollbar-track {
  background:
    linear-gradient(45deg, #000 25%, transparent 0, transparent 75%, #000 0, #000),
    linear-gradient(45deg, #000 25%, transparent 0, transparent 75%, #000 0, #000);
  background-color: #fff;
  background-position: 0 0, 2px 2px;
  background-size: 4px 4px;
  border-left: 4px solid #000;
}

.docs-scroll::-webkit-scrollbar-thumb {
  background-color: #fff;
  border: 2px solid #000;
  border-right: none;
}

.panel[hidden] {
  display: none !important;
}

.panel-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
  align-items: start;
}

@media only screen and (max-width: 720px) {
  .panel-stack {
    grid-template-columns: 1fr;
  }
}

.site-window {
  margin: 0 !important;
  max-width: 100%;
  min-width: 0 !important;
  container-type: inline-size;
  container-name: site-window;
}

.inquiry-window {
  width: 100%;
  max-width: none !important;
}

/* Hide non-functional title-bar chrome (looks like stray checkboxes).
   Site modal keeps a working close control. */
.site-window .title-bar button.close,
.sidebar .title-bar button.close,
.title-bar button.resize,
.title-bar button.hidden {
  display: none !important;
}

.site-window .title-bar button.close::before,
.site-window .title-bar button.close::after,
.sidebar .title-bar button.close::before,
.sidebar .title-bar button.close::after,
.title-bar button.resize::before,
.title-bar button.resize::after,
a.btn::before,
a.btn::after,
button.btn::before,
button.btn::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* —— Buttons: lock size/font on press —— */
a.btn,
button.btn,
a.btn-default,
button.btn-default {
  display: inline-block;
  box-sizing: border-box;
  font-size: 1em !important;
  line-height: 1.2;
  font-family: Chicago_12, Chicago, "NeoDunggeunmo", monospace;
  vertical-align: middle;
}

a.btn:active,
button.btn:active,
a.btn-default:active,
button.btn-default:active,
a.btn:focus,
button.btn:focus {
  font-size: 1em !important;
  line-height: 1.2;
  min-height: 20px;
  padding: 0 20px;
  font-family: Chicago_12, Chicago, "NeoDunggeunmo", monospace;
}

.site-window .modeless-dialog {
  font-size: 1em;
  padding: 1rem 1.25rem;
}

/* —— Sites description modal (system.css window + dim) —— */
.site-modal[hidden] {
  display: none !important;
}

.site-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}

.site-modal-window {
  width: min(28rem, 100%);
  max-height: min(70vh, 32rem);
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Keep Mac title-bar balance: invisible spacer left, close right */
.site-modal .title-bar button.hidden {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}

.site-modal .title-bar button.close {
  display: block !important;
  cursor: pointer;
}

.site-modal-window .window-pane {
  flex: 1;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  font-size: 1em;
  font-family: Chicago, "NeoDunggeunmo", monospace;
  line-height: 1.4;
}

.site-modal-window .window-pane p {
  margin: 0 0 0.75em;
}

.site-modal-window .window-pane p:last-child {
  margin-bottom: 0;
}

body.site-modal-open {
  overflow: hidden;
}

.placeholder-note {
  opacity: 0.75;
}

.site-window .placeholder-note {
  margin: 0.35em 0 0;
  font-size: 0.8em;
  line-height: 1.35;
  opacity: 0.7;
}

.field-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0;
}

.field-row label {
  min-width: 4rem;
  font-size: 1em;
}

.field-row input,
.field-row textarea {
  flex: 1;
  width: 100%;
}

.actions-end {
  justify-content: flex-end;
}

.site-window .actions-end {
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1.5px solid #000;
}

.site-window .actions-end > .btn {
  flex: 0 0 8.5rem;
  width: 8.5rem;
  min-width: 8.5rem;
  box-sizing: border-box;
  text-align: center;
}

@container site-window (max-width: 20rem) {
  .site-window .actions-end {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
  }

  .site-window .actions-end > .btn {
    flex: none;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
  }
}

@container site-window (max-width: 11rem) {
  .site-window .actions-end {
    grid-template-columns: 1fr;
  }
}

hr {
  border: none;
  border-top: 0.15em solid #000;
  margin: 1.25em 0;
}

.site-footer {
  flex-shrink: 0;
  margin-top: 0;
  padding-top: 0.5em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  align-items: center;
}

.docs-footer-rule {
  flex-shrink: 0;
  margin: 0.75em 0 0.5em;
}

.site-footer p {
  margin: 0;
  font-size: inherit;
}

.site-footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Legal pages —— */
.legal-page {
  max-width: 42rem;
  margin: 1.5rem auto;
  padding: 0 1rem 2rem;
}

.legal-page .window {
  width: 100%;
  margin: 0;
}

.legal-page .window-pane {
  font-size: 1em;
  padding: 1rem 1.25rem;
}

.legal-page h2 {
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
  font-size: 1.25em;
}

.legal-page p {
  margin: 0.35rem 0;
}

.mobile-nav {
  display: none;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
  font-family: Chicago_12, Chicago, "NeoDunggeunmo", monospace;
  font-size: 1em;
}

.mobile-nav a {
  padding: 0.25rem 0.5rem;
  border: 1.5px solid #000;
  text-decoration: none;
  background: #fff;
}

.mobile-nav a.is-active {
  background: #000;
  color: #fff;
}

@media only screen and (max-width: 600px) {
  .layout {
    flex-direction: column;
    max-width: 100%;
  }

  aside.window.sidebar {
    display: none !important;
  }

  .mobile-nav {
    display: flex !important;
  }

  .col-main {
    min-height: 0;
  }
}

/* —— Intro career (Text RPG / CRT) —— */
.career-window {
  margin: 1rem 0 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.career-board[hidden],
.career-boot[hidden],
.career-choice[hidden],
.career-log-split[hidden],
.career-end-modal[hidden],
.career-taskbar[hidden] {
  display: none !important;
}

.career-stage {
  --career-boot-ms: 1.2s;
  position: relative;
  width: 100%;
  max-width: 100%;
  max-height: 70vh;
  aspect-ratio: 4 / 3;
  height: auto;
  margin: 0 auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  background: #000;
  overflow: hidden;
  font-family: Chicago, "NeoDunggeunmo", monospace;
  font-size: 0.85em;
  line-height: 1.4;
  box-sizing: border-box;
  /* CRT bezel */
  border: 10px solid #111;
  box-shadow:
    inset 0 0 0 2px #000,
    inset 0 0 28px rgba(0, 0, 0, 0.55),
    inset 0 0 80px rgba(0, 0, 0, 0.25),
    3px 3px 0 #000;
}

.career-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.45);
  border-radius: 2px;
}

/* scanlines */
.career-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.14) 2px,
    rgba(0, 0, 0, 0.14) 3px
  );
  opacity: 0.55;
}

.career-stage.is-playing,
.career-stage.is-done {
  background: #f4f4f4;
}

.career-stage.is-done {
  padding-bottom: 2.1rem;
}

.career-stage.is-booting {
  background: #000;
}

.career-play {
  margin: auto;
  width: 4.5rem;
  height: 4.5rem;
  border: 2px solid #fff;
  background: #000;
  font-family: Chicago_12, Chicago, "NeoDunggeunmo", monospace;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #fff;
  z-index: 2;
  position: relative;
}

.career-play:hover,
.career-play:focus {
  background: #fff;
  color: #000;
  outline: none;
}

.career-play:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.career-board {
  display: grid;
  grid-template-columns: minmax(7.5rem, 30%) 1fr;
  gap: 0;
  flex: 1;
  min-height: 0;
  height: 100%;
  border: 1.5px solid #000;
  background: #fff;
  position: relative;
  z-index: 1;
}

.career-stage.is-booting .career-board {
  animation: career-board-reveal var(--career-boot-ms, 1.2s) steps(8, end) both;
}

@keyframes career-board-reveal {
  0% {
    opacity: 0;
    filter: contrast(4) brightness(0.2);
  }
  20% {
    opacity: 0.35;
    filter: contrast(6) brightness(0.5);
  }
  45% {
    opacity: 0.55;
    filter: contrast(3) brightness(0.85);
  }
  70% {
    opacity: 0.85;
    filter: contrast(2) brightness(1.1);
  }
  100% {
    opacity: 1;
    filter: none;
  }
}

.career-boot {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: #000;
  overflow: hidden;
}

.career-boot::before,
.career-boot::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
}

.career-boot::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.65 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: screen;
  opacity: 0.85;
  animation: career-noise-shift 0.18s steps(2, end) infinite;
}

.career-boot::after {
  background: linear-gradient(
    transparent 50%,
    rgba(0, 0, 0, 0.35) 50%
  );
  background-size: 100% 4px;
  opacity: 0.5;
  animation: career-boot-flash var(--career-boot-ms, 1.2s) steps(6, end) both;
}

.career-stage.is-booting .career-boot {
  animation: career-boot-fade var(--career-boot-ms, 1.2s) steps(8, end) both;
}

@keyframes career-noise-shift {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-3%, 2%);
  }
  100% {
    transform: translate(2%, -2%);
  }
}

@keyframes career-boot-flash {
  0%,
  100% {
    opacity: 0.55;
  }
  15% {
    opacity: 0.15;
    background-color: #fff;
  }
  35% {
    opacity: 0.7;
  }
  55% {
    opacity: 0.2;
    background-color: #fff;
  }
  80% {
    opacity: 0.45;
  }
}

@keyframes career-boot-fade {
  0% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .career-stage.is-booting .career-board,
  .career-boot::before,
  .career-boot::after,
  .career-stage.is-booting .career-boot {
    animation: none !important;
  }

  .career-stage.is-booting .career-board {
    opacity: 1;
    filter: none;
  }

  .career-boot {
    opacity: 0;
  }
}

.career-status,
.career-log-pane {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0.45rem 0.55rem;
  overflow: hidden;
  font-size: 1em;
  line-height: 1.4;
}

.career-status {
  border-right: 1.5px solid #000;
}

.career-status.is-final .career-pane-label {
  background: #000;
  color: #fff;
  padding: 0 0.25em;
}

.career-pane-label {
  margin: 0 0 0.3em;
  font-family: Chicago, "NeoDunggeunmo", monospace;
  font-size: 1em;
  line-height: 1.4;
  flex-shrink: 0;
}

.career-skill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  font-family: Chicago, "NeoDunggeunmo", monospace;
  font-size: 1em;
  line-height: 1.4;
}

.career-skill {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0.2em 0;
  padding: 0.05em 0.1em;
  line-height: 1.4;
}

.career-skill-empty {
  opacity: 0.55;
}

.career-skill.is-flash {
  background: #000;
  color: #fff;
}

.career-skill-lv {
  flex-shrink: 0;
  font-family: Chicago, "NeoDunggeunmo", monospace;
  font-size: 1em;
  line-height: 1.4;
}

.career-log-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  font-family: Chicago, "NeoDunggeunmo", monospace;
  font-size: 1em;
  line-height: 1.4;
}

.career-log-past .career-line {
  opacity: 0.7;
}

.career-log-split {
  margin: 0.4em 0;
}

.career-log-rule {
  border: none;
  border-top: 1.5px solid #000;
  margin: 0;
}

.career-event-sep {
  border: none;
  border-top: 1px solid #999;
  margin: 0.45em 0;
}

.career-log-current .career-line {
  opacity: 1;
}

.career-line {
  margin: 0.25em 0;
  font-family: Chicago, "NeoDunggeunmo", monospace;
  font-size: 1em;
  line-height: 1.4;
}

.career-levelup {
  font-weight: bold;
}

.career-choice-pick {
  font-weight: bold;
}

.career-end {
  opacity: 0.75;
}

.career-choice {
  margin-top: 0.4rem;
  padding: 0.4rem 0.5rem;
  border: 1.5px solid #000;
  pointer-events: none;
  user-select: none;
  font-family: Chicago, "NeoDunggeunmo", monospace;
  font-size: 1em;
  line-height: 1.4;
}

.career-choice-prompt {
  margin: 0 0 0.35em;
  font-family: Chicago, "NeoDunggeunmo", monospace;
  font-size: 1em;
  line-height: 1.4;
}

.career-choice-options {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.career-choice-row {
  margin: 0.1rem 0 !important;
  justify-content: flex-start;
  align-items: center;
  gap: 0.4rem;
  padding: 0.1em 0.25em;
  font-size: 1em;
  line-height: 1.4;
}

.career-choice-row label {
  font-family: Chicago, "NeoDunggeunmo", monospace;
  font-size: 1em;
  line-height: 1.4;
}

.career-choice-row.is-chosen {
  background: #000;
  color: #fff;
}

.career-choice-row.is-chosen label {
  color: #fff;
}

/* STATUS end dialog (custom, not system.css window) */
.career-end-modal {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 1.75rem;
  left: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}

/* Win95-like taskbar (CRT monochrome) */
.career-taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  height: 1.75rem;
  padding: 0.15rem 0.25rem;
  box-sizing: border-box;
  background: #c0c0c0;
  border-top: 2px solid #fff;
  box-shadow: inset 0 1px 0 #dfdfdf;
  font-family: Chicago_12, Chicago, "NeoDunggeunmo", monospace;
  font-size: 0.9em;
  line-height: 1.1;
}

.career-taskbar-start,
.career-taskbar-item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.35rem;
  margin: 0;
  padding: 0 0.45rem;
  border: 2px solid;
  border-color: #fff #000 #000 #fff;
  background: #c0c0c0;
  color: #000;
  font-family: Chicago_12, Chicago, "NeoDunggeunmo", monospace;
  font-size: 0.9em;
  line-height: 1;
  cursor: default;
  box-sizing: border-box;
}

.career-taskbar-start {
  font-weight: bold;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.career-taskbar-item {
  min-width: 5.5rem;
  max-width: 8rem;
  justify-content: flex-start;
  cursor: pointer;
}

.career-taskbar-item.is-open,
.career-taskbar-item[aria-pressed="true"] {
  border-color: #000 #fff #fff #000;
  background: #bdbdbd;
  box-shadow: inset 1px 1px 0 #808080;
}

.career-taskbar-tray {
  margin-left: auto;
  display: flex;
  align-items: center;
  height: 1.35rem;
  padding: 0 0.4rem;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  background: #c0c0c0;
  box-sizing: border-box;
}

.career-taskbar-clock {
  font-family: Chicago_12, Chicago, "NeoDunggeunmo", monospace;
  font-size: 0.85em;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.career-end-dialog {
  position: relative;
  width: 72%;
  max-width: 20rem;
  max-height: 62%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
  border: 2px solid #000;
  box-shadow:
    inset 0 0 0 1px #fff,
    inset 0 0 0 3px #000,
    3px 3px 0 #000,
    inset 0 0 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  font-family: Chicago, "NeoDunggeunmo", monospace;
  font-size: 1em;
  line-height: 1.4;
}

.career-end-dialog::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.1) 2px,
    rgba(0, 0, 0, 0.1) 3px
  );
  opacity: 0.5;
}

.career-end-dialog-bar {
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 0.35em 1.75em;
  border-bottom: 2px solid #000;
}

.career-end-close {
  position: absolute;
  top: 50%;
  right: 0.35em;
  left: auto;
  z-index: 4;
  transform: translateY(-50%);
  cursor: pointer;
}

.career-end-dialog-title {
  margin: 0;
  font-family: Chicago, "NeoDunggeunmo", monospace;
  font-size: 1em;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.career-end-dialog-body {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0.65rem 0.85rem;
}

.career-end-skills {
  list-style: none;
  margin: 0;
  padding: 0;
}

.career-end-skill {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.35em 0;
  padding: 0.1em 0.15em;
  font-size: 1em;
  line-height: 1.4;
}

.career-end-skill-empty {
  opacity: 0.55;
}

.career-end-skill-lv {
  flex-shrink: 0;
}

.career-end-dialog-actions {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem 0.65rem;
  border-top: 1.5px solid #000;
  background: #fff;
}

.career-end-replay,
.career-end-sites {
  display: inline-block;
  font-family: Chicago, "NeoDunggeunmo", monospace;
  font-size: 1em;
  line-height: 1.2;
  padding: 0.25em 0.85em;
  border: 1.5px solid #000;
  background: #fff;
  color: #000;
  cursor: pointer;
  text-decoration: none;
  box-shadow: inset -1px -1px 0 #000, inset 1px 1px 0 #fff;
}

.career-end-replay:hover,
.career-end-replay:focus,
.career-end-sites:hover,
.career-end-sites:focus {
  background: #000;
  color: #fff;
  outline: none;
}

.career-end-replay:active,
.career-end-sites:active {
  background: #000;
  color: #fff;
  box-shadow: inset 1px 1px 0 #000;
}

@media only screen and (max-width: 720px) {
  .career-stage {
    max-width: 100%;
    max-height: none;
  }

  .career-board {
    grid-template-columns: 1fr;
  }

  .career-status {
    border-right: none;
    border-bottom: 1.5px solid #000;
    max-height: 30%;
  }

  .career-end-dialog {
    width: 88%;
    max-height: 70%;
  }
}
