/* 준환 OS 2004 — resume, profile, command prompt, recycle bin, patch notes, contact (Task 8).
   Class prefixes: rs- resume, pf- profile, cmd- command prompt, rb- recycle bin, lg- patch notes, ct- contact. */

/* ---------- shared chrome: menu strips, toolbars, status bars ---------- */
.rs-menubar,
.rb-note-menu {
  display: flex;
  flex: none;
  gap: 2px;
  padding: 3px 8px;
  border-bottom: 1px solid var(--c-line);
  background: linear-gradient(180deg, #ffffff, #eef3f8);
  color: var(--c-ink-2);
  font-size: 12.5px;
  user-select: none;
}
.rs-menubar span,
.rb-note-menu span { padding: 2px 8px; border-radius: var(--r-xs); }

.rs-status,
.rb-status {
  display: flex;
  flex: none;
  align-items: center;
  min-height: 26px;
  padding: 3px 12px;
  border-top: 1px solid var(--c-line-2);
  background: linear-gradient(180deg, #eef3f8, #dfe7f0);
  color: var(--c-ink-2);
  font-size: 12px;
}

/* =====================================================================
   이력서.doc — word-processor page
   ===================================================================== */
.rs {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #dbe3ec;
}
.rs-tools {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--c-line-2);
  background: linear-gradient(180deg, #f8fbfe, #e3ebf4);
}
.rs-fontbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 9px;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-xs);
  background: #fff;
  color: var(--c-ink-2);
  font-size: 12.5px;
  box-shadow: inset 0 1px 2px rgba(12, 34, 64, 0.08);
}
.rs-fontbox b { padding-left: 8px; border-left: 1px solid var(--c-line); font-weight: 700; }
.rs-fmt { display: inline-flex; gap: 1px; }
.rs-fmt > * {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: var(--r-xs);
  color: var(--c-ink-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}
.rs-sep { width: 1px; height: 22px; margin: 0 2px; background: var(--c-line-2); }
.rs-tool {
  height: 28px;
  min-width: 42px;
  padding: 0 8px;
  border: 1px solid var(--c-line-2);
  border-radius: 6px;
  background: var(--gloss), linear-gradient(180deg, #ffffff, #dfe9f3);
  color: var(--c-navy);
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--sh-inset), 0 1px 1px rgba(12, 34, 64, 0.12);
}
.rs-tool:hover:not(:disabled) { filter: brightness(1.04) saturate(1.15); }
.rs-tool:disabled { opacity: 0.45; cursor: default; }
.rs-spacer { flex: 1; }
.rs-btn { min-height: 30px; padding: 4px 12px; }

.rs-ruler {
  flex: none;
  height: 17px;
  padding: 0 20px;
  border-bottom: 1px solid var(--c-line);
  background: #edf2f7;
}
.rs-ruler i {
  display: block;
  max-width: 720px;
  height: 100%;
  margin: 0 auto;
  background:
    repeating-linear-gradient(90deg, var(--c-ink-3) 0 1px, transparent 1px 48px) 60px 100% / calc(100% - 120px) 8px no-repeat,
    repeating-linear-gradient(90deg, var(--c-line-2) 0 1px, transparent 1px 12px) 60px 100% / calc(100% - 120px) 4px no-repeat,
    linear-gradient(90deg, #d5dee8 60px, #ffffff 60px calc(100% - 60px), #d5dee8 calc(100% - 60px));
}

.rs-canvas {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 22px 20px 36px;
  overscroll-behavior: contain;
}
.rs-canvas:focus-visible,
.rb-scroll:focus-visible,
.lg-body:focus-visible,
.pf-sheet:focus-visible,
.cmd-screen:focus-visible,
.rb-note-paper:focus-visible { outline-offset: -3px; box-shadow: none; }
.rs-page {
  --rs-zoom: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 52px 60px 40px;
  background: #fff;
  color: var(--c-ink);
  font-size: calc(14px * var(--rs-zoom));
  line-height: 1.75;
  box-shadow: 0 1px 3px rgba(12, 34, 64, 0.18), 0 10px 26px rgba(12, 34, 64, 0.14);
}
.rs-head { padding-bottom: 16px; border-bottom: 3px double var(--c-line-2); }
.rs-name {
  color: var(--c-navy);
  font-family: var(--font-display);
  font-size: 2.35em;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.rs-headline { margin-top: 10px; font-size: 1.04em; font-weight: 700; line-height: 1.6; }
.rs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  margin-top: 8px;
  color: var(--c-ink-2);
  font-size: 0.93em;
}
.rs-sec { margin-top: 26px; }
.rs-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--c-teal-d);
  font-size: 1.07em;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.rs-h::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--c-teal), rgba(19, 168, 158, 0));
}
.rs-p + .rs-p { margin-top: 8px; }
.rs-proj + .rs-proj { margin-top: 16px; }
.rs-proj-title {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  font-size: 1em;
  font-weight: 800;
}
.rs-list { margin-top: 4px; list-style: none; }
.rs-list li { position: relative; padding-left: 18px; }
.rs-list li + li { margin-top: 3px; }
.rs-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--c-teal);
  transform: rotate(45deg);
}
.rs-more { display: grid; gap: 8px; list-style: none; }
.rs-more li { padding-left: 12px; border-left: 3px solid var(--c-panel-2); }
.rs-more-title { margin-right: 8px; font-weight: 800; }
.rs-more-text { color: var(--c-ink-2); }
.rs-more .rs-link { margin-left: 6px; }
.rs-link {
  color: var(--c-blue-d);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.rs-link--small { font-size: 0.88em; }
.rs-ext { display: inline-block; margin-left: 2px; font-size: 0.85em; text-decoration: none; }
.rs-skills { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.rs-skills dt { font-weight: 800; }
.rs-skills dd { margin: 0; color: var(--c-ink-2); }
.rs-awards,
.rs-edu { display: grid; gap: 7px; list-style: none; }
.rs-awards li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.rs-award-label {
  flex: none;
  padding: 0 9px;
  border-radius: var(--r-pill);
  background: var(--c-panel-2);
  color: var(--c-ink-2);
  font-size: 0.82em;
  font-weight: 800;
  line-height: 1.85;
}
.rs-award-label.is-ranked { background: #fff1c2; color: #6e4300; box-shadow: inset 0 0 0 1px #e3b94a; }
.rs-edu li { display: grid; grid-template-columns: 10em 1fr; gap: 12px; }
.rs-edu-period {
  padding-top: 0.12em;
  color: var(--c-ink-3);
  font-family: var(--font-mono);
  font-size: 0.86em;
  white-space: nowrap;
}
.rs-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 10px;
  margin-top: 34px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  color: var(--c-ink-3);
  font-size: 0.9em;
}
.rs-status span + span { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--c-line-2); }

/* =====================================================================
   내 정보 — properties dialog with tabs, and a small profile card
   ===================================================================== */
.pf {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px 12px 0;
  background: linear-gradient(180deg, #f3f7fb, #e5edf6);
}
.pf-tabs { position: relative; z-index: 1; display: flex; gap: 2px; padding-left: 6px; }
.pf-tab {
  position: relative;
  margin-bottom: -1px;
  padding: 7px 18px 6px;
  border: 1px solid var(--c-line-2);
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #ffffff, #e2eaf3);
  color: var(--c-ink-2);
  font-size: 13.5px;
  font-weight: 800;
}
.pf-tab:hover { color: var(--c-ink); box-shadow: inset 0 2px 0 #ffb877; }
.pf-tab[aria-selected="true"] {
  border-bottom-color: #fff;
  background: #fff;
  color: var(--c-ink);
  box-shadow: inset 0 3px 0 var(--c-orange);
}
.pf-tab:focus-visible { outline-offset: -4px; box-shadow: inset 0 3px 0 var(--c-orange); }
.pf-sheet {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: auto;
  border: 1px solid var(--c-line-2);
  border-radius: 0 10px 10px 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(12, 34, 64, 0.08);
  overscroll-behavior: contain;
}
.pf-panel { padding: 16px; }
.pf-panel:focus-visible { outline-offset: -4px; box-shadow: none; }
.pf-foot { display: flex; flex: none; justify-content: flex-end; gap: 8px; padding: 10px 2px 12px; }
.pf-ok { min-width: 96px; }
.pf-empty { color: var(--c-ink-2); }

/* 일반: card + properties */
.pf-home { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 18px; align-items: start; }
.pf-card {
  padding: 12px 12px 14px;
  border: 2px solid #9ed4f2;
  border-radius: 14px;
  background:
    radial-gradient(circle at 2px 2px, rgba(42, 127, 212, 0.13) 1.2px, transparent 1.8px) 0 0 / 10px 10px,
    linear-gradient(180deg, #f6fbff, #e6f4ff);
  text-align: center;
  box-shadow: inset 0 0 0 3px #fff, 0 2px 6px rgba(12, 34, 64, 0.1);
}
.pf-today { margin-bottom: 6px; }
.pf-today-label {
  color: #a8400b;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.pf-mood {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 4px 10px 4px 12px;
  border: 1px solid #f0a8c4;
  border-radius: var(--r-pill);
  background: #fff;
  color: #b8255d;
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 0 1px 0 rgba(184, 37, 93, 0.14);
  transition: background var(--t-fast);
}
.pf-mood:hover { background: #fff0f6; }
.pf-mood-text { min-width: 0; }
.pf-mood-caret { font-size: 10px; }
.pf-room {
  margin: 10px 0 9px;
  overflow: hidden;
  border: 1px solid #c9ad83;
  border-radius: 9px;
  background: #fff3df;
  box-shadow: 0 1px 3px rgba(80, 50, 0, 0.16);
}
.pf-room svg { width: 100%; height: auto; }
.pf-card-name { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 7px; font-size: 16px; }
.pf-card-name strong { font-weight: 800; }
.pf-card-name span { color: var(--c-ink-3); font-family: var(--font-mono); font-size: 12px; }

.pf-namerow { display: flex; align-items: center; gap: 12px; }
.pf-namerow img { flex: none; width: 40px; height: 40px; }
.pf-namebox {
  flex: 1;
  min-width: 0;
  padding: 5px 10px;
  border: 1px solid var(--c-line-2);
  border-radius: var(--r-xs);
  background: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: inset 0 1px 2px rgba(12, 34, 64, 0.1);
}
.pf-rule { height: 0; margin: 12px 0; border: 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid #fff; }
.pf-rows { display: grid; grid-template-columns: 6.6em minmax(0, 1fr); gap: 7px 10px; margin: 0; font-size: 14px; }
.pf-rows dt { color: var(--c-ink-3); }
.pf-rows dd { margin: 0; min-width: 0; font-weight: 700; }
.pf-linkbtn {
  color: var(--c-blue-d);
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pf-block h4 { margin-bottom: 4px; color: var(--c-teal-d); font-size: 13px; font-weight: 800; }
.pf-block p { font-size: 14px; line-height: 1.7; }
.pf-block + .pf-block { margin-top: 12px; }
.pf-block--goal { padding: 10px 12px; border: 1px dashed #dcb84c; border-radius: 10px; background: #fff8dc; }
.pf-block--goal h4 { color: #6e4300; }

/* 스탯 */
.pf-note {
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--c-panel);
  color: var(--c-ink-2);
  font-size: 13px;
}
.pf-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pf-stat {
  --tone: #13a89e;
  padding: 10px 12px 12px;
  border: 1px solid var(--c-line);
  border-top: 4px solid var(--tone);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(12, 34, 64, 0.06);
}
.pf-stat--1 { --tone: #2a7fd4; }
.pf-stat--2 { --tone: #ff8a2b; }
.pf-stat--3 { --tone: #d6336c; }
.pf-stat--4 { --tone: #7a52c7; }
.pf-stat--5 { --tone: #3f9a4b; }
.pf-stat-name { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; font-size: 13.5px; font-weight: 800; }
.pf-stat-name::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--tone); }
.pf-chips { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; }
.pf-chips li {
  padding: 2px 9px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: var(--c-panel);
  color: var(--c-ink-2);
  font-size: 12.5px;
  font-weight: 700;
}

/* 필살기 */
.pf-moves { display: grid; gap: 12px; list-style: none; }
.pf-move {
  position: relative;
  padding: 12px 14px 14px 18px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f6f9fd);
  box-shadow: var(--sh-1);
}
.pf-move::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--c-orange), var(--c-pink));
}
.pf-move-no {
  display: inline-block;
  padding: 1px 9px;
  border-radius: var(--r-pill);
  background: var(--c-navy);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.pf-move-title { margin: 6px 0 4px; color: var(--c-navy); font-family: var(--font-display); font-size: 19px; font-weight: 400; line-height: 1.3; }
.pf-move-story { font-size: 14px; line-height: 1.7; }
.pf-move-btn { margin-top: 10px; }

/* =====================================================================
   명령 프롬프트
   ===================================================================== */
.cmd {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0b1724;
  color: #d6f3ee;
}
.cmd-screen {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 12px 14px 12px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.55;
  cursor: text;
  overscroll-behavior: contain;
  scrollbar-color: #2c4a66 #0b1724;
}
.cmd-line { min-height: 1.55em; white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; }
.cmd-row { display: flex; }
.cmd-row-mark { flex: none; width: 2ch; color: #ffe08a; }
.cmd-row-id { flex: none; max-width: 55%; }
.cmd-row-title { min-width: 0; }
.cmd-banner { color: #8ff3ff; font-weight: 700; }
.cmd-echo { color: #ffffff; }
.cmd-prompt { color: #8ff3ff; }
.cmd-id {
  color: #ffe08a;
  font: inherit;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cmd-id:hover { color: #fff3c4; text-decoration-style: solid; }
.cmd-inputrow { display: flex; align-items: baseline; margin: 2px -4px 0; padding: 1px 4px; border-radius: var(--r-xs); }
.cmd-inputrow:focus-within { background: rgba(143, 243, 255, 0.08); box-shadow: 0 0 0 1px rgba(143, 243, 255, 0.45); }
.cmd-input {
  flex: 1;
  min-width: 0;
  padding: 0 0 0 1px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  caret-color: #8ff3ff;
}
.cmd-input::placeholder { color: #7f98b0; }
.cmd-input:focus,
.cmd-input:focus-visible { outline: none; box-shadow: none; }
.cmd-quick {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-top: 1px solid #1f3a55;
  background: linear-gradient(180deg, #14283d, #0e1d2e);
}
.cmd-quick-label { margin-right: 2px; color: #b4cbe0; font-size: 12px; font-weight: 700; }
.cmd-chip {
  height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(143, 243, 255, 0.42);
  border-radius: var(--r-pill);
  background: rgba(143, 243, 255, 0.08);
  color: #d6f7ff;
  font-family: var(--font-mono);
  font-size: 12.5px;
  transition: background var(--t-fast);
}
.cmd-chip:hover { background: rgba(143, 243, 255, 0.2); }

/* =====================================================================
   휴지통 — list of deleted files + notepad notes
   ===================================================================== */
.rb {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
}
.rb-bar {
  display: flex;
  flex: none;
  gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--c-line-2);
  background: linear-gradient(180deg, #f8fbfe, #e3ebf4);
}
.rb-empty img { width: 18px; height: 18px; }
.rb-scroll { position: relative; flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.rb-intro {
  margin: 12px 14px;
  padding: 10px 12px;
  border: 1px solid #efd68a;
  border-radius: 8px;
  background: #fff8e0;
  color: #574200;
  font-size: 13.5px;
  line-height: 1.6;
}
.rb-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 13em;
  gap: 12px;
  padding: 5px 14px 5px 64px;
  border-block: 1px solid var(--c-line);
  background: linear-gradient(180deg, #fbfdff, #e9f0f7);
  color: var(--c-ink-2);
  font-size: 12px;
  font-weight: 700;
}
.rb-list { padding: 4px 6px 12px; list-style: none; }
.rb-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 13em;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  text-align: left;
  transition: background var(--t-fast);
}
.rb-item:hover { border-color: #c4dcf3; background: #eaf3fd; }
.rb-item-name { min-width: 0; font-size: 14px; font-weight: 800; }
.rb-item-from {
  min-width: 0;
  overflow: hidden;
  color: var(--c-ink-3);
  font-size: 12.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rb-none { padding: 24px; color: var(--c-ink-2); text-align: center; }

/* a little file icon with its extension */
.rb-file {
  --tone: #1a5ea8;
  position: relative;
  display: block;
  width: 30px;
  height: 36px;
  margin: 0 auto;
  border: 1px solid #8ea6bf;
  border-radius: 3px 10px 3px 3px;
  background: linear-gradient(180deg, #ffffff, #eef3f8);
  box-shadow: 0 1px 2px rgba(12, 34, 64, 0.18);
}
.rb-file::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 5px;
  right: 7px;
  height: 11px;
  background: repeating-linear-gradient(180deg, #c3d1df 0 1.5px, transparent 1.5px 4px);
}
.rb-file::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 11px;
  height: 11px;
  border-radius: 0 9px 0 3px;
  background: linear-gradient(225deg, transparent 50%, #cfdbe7 50%);
}
.rb-file-ext {
  position: absolute;
  left: -5px;
  bottom: 4px;
  padding: 0 3px;
  border-radius: 3px;
  background: var(--tone);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.03em;
}
.rb-file--1 { --tone: #6a3fb5; }
.rb-file--2 { --tone: #9a3a08; }
.rb-file--3 { --tone: #0a6f68; }
.rb-file--4 { --tone: #b8255d; }
.rb-file--5 { --tone: #3d6b1f; }

.rb-note { display: flex; flex-direction: column; height: 100%; background: #fff; }
.rb-note-paper {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px 20px 22px;
  background: #fffef8;
  overscroll-behavior: contain;
}
.rb-stamp {
  position: absolute;
  top: 14px;
  right: 16px;
  padding: 1px 10px;
  border: 3px double #b02a1f;
  border-radius: 8px;
  color: #b02a1f;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
  transform: rotate(8deg);
}
.rb-note-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  padding-right: 90px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}
.rb-note-title .rb-file { flex: none; margin: 0 0 0 4px; }
.rb-note-paper h4 { margin: 14px 0 4px; color: var(--c-teal-d); font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em; }
.rb-note-paper p { font-size: 14.5px; line-height: 1.75; }
.rb-instead { padding: 8px 12px; border-left: 4px solid var(--c-ok); border-radius: 0 8px 8px 0; background: #eefaf2; }
.rb-note-foot { margin-top: 18px; }

/* =====================================================================
   패치 노트 — timeline
   ===================================================================== */
.lg {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f3f7fb;
}
.lg-head {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 16px 18px 14px;
  border-bottom: 3px solid var(--c-orange);
  background:
    radial-gradient(circle at 88% -30%, rgba(143, 243, 255, 0.35), transparent 55%),
    linear-gradient(135deg, #12335a 0%, #1a5ea8 75%, #13a89e 130%);
  color: #fff;
}
.lg-head-text { min-width: 0; }
.lg-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}
.lg-sub { margin-top: 6px; color: #dcebfb; font-size: 13px; }
.lg-asof {
  display: inline-block;
  margin-left: 8px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  white-space: nowrap;
}
.lg-sort {
  display: inline-flex;
  flex: none;
  padding: 3px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}
.lg-sort-btn { height: 28px; padding: 0 12px; border-radius: var(--r-pill); color: #e3eefb; font-size: 12.5px; font-weight: 800; }
.lg-sort-btn[aria-pressed="true"] {
  background: var(--gloss), linear-gradient(180deg, #ffffff, #dfe9f3);
  color: var(--c-navy);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.lg-body { position: relative; flex: 1; min-height: 0; overflow: auto; padding: 0 16px 20px; overscroll-behavior: contain; }
.lg-month-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 -16px;
  padding: 12px 16px 8px;
  background: linear-gradient(180deg, #f3f7fb 78%, rgba(243, 247, 251, 0));
  color: var(--c-navy);
  font-size: 14px;
  font-weight: 800;
}
.lg-month-count {
  padding: 0 7px;
  border-radius: var(--r-pill);
  background: var(--c-panel-2);
  color: var(--c-ink-2);
  font-size: 11.5px;
  line-height: 1.7;
}
.lg-list {
  display: grid;
  gap: 10px;
  margin-left: 8px;
  padding: 0 0 6px 22px;
  border-left: 2px solid #c6d8ea;
  list-style: none;
}
.lg-entry { position: relative; }
.lg-dot {
  --dot: var(--c-blue);
  position: absolute;
  left: -31px;
  top: 15px;
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 1px #9fb7cf;
}
.lg-dot--live { --dot: var(--c-live); }
.lg-dot--shipped { --dot: var(--c-ok); }
.lg-dot--mvp { --dot: #6a3fb5; }
.lg-dot--prototype { --dot: #e0a100; }
.lg-card {
  padding: 10px 14px 12px;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--sh-1);
}
.lg-entry.is-featured .lg-card { border-color: #efc35f; box-shadow: 0 0 0 2px #fff4d1, var(--sh-1); }
.lg-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12px; }
.lg-date { color: var(--c-ink-2); font-family: var(--font-mono); font-weight: 800; }
.lg-tag {
  padding: 0 7px;
  border-radius: var(--r-xs);
  background: var(--c-blue-d);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.7;
}
.lg-tag--live { background: #c9282a; }
.lg-tag--shipped { background: #1d7a42; }
.lg-tag--mvp { background: #6a3fb5; }
.lg-tag--prototype { background: #ffe08a; color: #574200; }
.lg-cat { color: var(--c-ink-3); font-weight: 700; }
.lg-title { margin: 4px 0 0; font-size: 15.5px; font-weight: 800; line-height: 1.4; }
.lg-star { margin-right: 4px; color: #c77d00; }
.lg-one { margin-top: 3px; color: var(--c-ink-2); font-size: 13.5px; line-height: 1.6; }
.lg-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-top: 8px; }
.lg-period { color: var(--c-ink-3); font-family: var(--font-mono); font-size: 12px; }
.lg-more { margin-left: auto; min-height: 28px; padding: 3px 11px; font-size: 12.5px; }
.lg-none { padding: 24px; color: var(--c-ink-2); text-align: center; }

/* =====================================================================
   도전장 보내기
   ===================================================================== */
.ct {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 22px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 243, 214, 0.9), transparent 55%),
    repeating-linear-gradient(45deg, #fdf1f4 0 12px, #fae6ec 12px 24px);
}
.ct-letter {
  position: relative;
  width: 100%;
  max-width: 410px;
  padding: 28px 26px 22px;
  border: 1px solid #d9c6a5;
  border-radius: 6px;
  background: linear-gradient(180deg, #fffdf6, #fbf3e1);
  color: #3a2a12;
  text-align: center;
  box-shadow: 0 2px 4px rgba(80, 50, 0, 0.12), 0 14px 30px rgba(80, 50, 0, 0.16);
}
.ct-letter::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed #e0caa0;
  border-radius: 4px;
  pointer-events: none;
}
.ct-seal {
  position: absolute;
  top: 16px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e8554a, #ad231a);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  box-shadow: 0 2px 4px rgba(120, 20, 10, 0.35), inset 0 0 0 3px rgba(255, 255, 255, 0.35);
  transform: rotate(-12deg);
}
.ct-kicker { color: #ad231a; font-family: Georgia, "Times New Roman", serif; font-size: 13px; font-weight: 700; letter-spacing: 0.4em; }
.ct-heading { margin-top: 2px; font-family: var(--font-display); font-size: 40px; font-weight: 400; line-height: 1.15; }
.ct-fields {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 14px;
  max-width: 300px;
  margin: 16px auto 0;
  padding: 8px 4px;
  border-block: 1px solid #e6d6b8;
  font-size: 13.5px;
  text-align: left;
}
.ct-fields dt { color: #6b5733; }
.ct-fields dd { margin: 0; font-weight: 800; }
.ct-body { margin-top: 14px; font-size: 14.5px; line-height: 1.75; }
.ct-action { margin-top: 18px; }
.ct-go { min-height: 44px; padding: 8px 18px; gap: 8px; font-size: 15px; }
.ct-go img { width: 20px; height: 20px; }
.ct-only { margin-top: 12px; color: #6b5733; font-size: 12.5px; }

/* =====================================================================
   phones: windows are full-screen panels (window.css)
   ===================================================================== */
@media (max-width: 767.98px) {
  .rs-menubar, .rs-ruler, .rs-fontbox, .rs-fmt, .rs-sep { display: none; }
  .rs-canvas { padding: 0; }
  .rs-page { max-width: none; padding: 26px 18px 30px; box-shadow: none; }
  .rs-name { font-size: 2em; }
  .rs-skills { grid-template-columns: 1fr; gap: 0; }
  .rs-skills dd + dt { margin-top: 8px; }
  .rs-edu li { grid-template-columns: 1fr; gap: 0; }

  .pf { padding: 8px 8px 0; }
  .pf-tab { padding: 8px 14px 7px; }
  .pf-panel { padding: 12px; }
  .pf-home { grid-template-columns: 1fr; gap: 14px; }
  .pf-card { width: 100%; max-width: 340px; margin: 0 auto; }
  .pf-stats { grid-template-columns: 1fr; }
  .pf-ok { min-height: 40px; }

  .cmd-screen { font-size: 13px; }
  .cmd-input { font-size: 16px; }
  .cmd-chip { height: 34px; }

  .rb-head { display: none; }
  .rb-item { grid-template-columns: 40px minmax(0, 1fr); row-gap: 0; padding: 9px 8px; }
  .rb-item .rb-file { grid-row: 1 / span 2; }
  .rb-item-from { grid-column: 2; }
  .rb-note-paper { padding: 16px; }

  .lg-head { padding: 14px 14px 12px; }
  .lg-heading { font-size: 24px; }
  .lg-body { padding: 0 12px 18px; }
  .lg-month-head { margin: 0 -12px; padding: 12px 12px 8px; }
  .lg-list { padding-left: 18px; }
  .lg-dot { left: -27px; }

  .ct { padding: 14px; align-items: start; }
  .ct-letter { padding-inline: 20px; }
  .ct-seal { top: 12px; right: 12px; width: 44px; height: 44px; font-size: 18px; }
  .ct-kicker,
  .ct-heading { padding-inline: 40px; }
  .ct-heading { font-size: 32px; }
}
