@font-face {
  font-family: Inter;
  src: url("assets/Inter.ttf");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Pretendard;
  src: url("assets/PretendardVariable.ttf");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Bricolage;
  src: url("assets/BricolageGrotesque.ttf");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --bg: #111114;
  --surface: #1e1e24;
  --surface2: #26262e;
  --line: #2c2c35;
  --text: #f2f1ec;
  --muted: #96969f;
  --orange: #ff6a3d;
  --orange-ink: #1a0c06;
  --lime: #e6f35a;
  --pink: #f6a9bc;
  --green: #a7f09e;
  --sand: #e2b58c;
  --sky: #86b7db;
  --ink: #141414;
  color-scheme: dark;
  font:
    14px Inter,
    Pretendard,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button {
  border: 0;
  color: inherit;
  background: none;
  cursor: pointer;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
input,
select {
  color: inherit;
  background: var(--surface);
  border: 0;
  min-width: 0;
}
input::placeholder {
  color: var(--muted);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font:
    750 34px/1.2 Bricolage,
    Pretendard,
    sans-serif;
  letter-spacing: -1px;
}
html[lang="ko"] h1 {
  font-family: Pretendard, sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1.2px;
}
h2 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.35px;
}
p {
  line-height: 1.7;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
img {
  max-width: 100%;
  display: block;
}
.pink {
  background: var(--pink);
  color: var(--ink);
}
.green {
  background: var(--green);
  color: var(--ink);
}
.sand {
  background: var(--sand);
  color: var(--ink);
}
.sky {
  background: var(--sky);
  color: var(--ink);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: -100px;
  padding: 16px;
  z-index: 50;
  background: var(--text);
  color: var(--ink);
}
.skip:focus {
  top: 10px;
  left: 10px;
}
.app-shell {
  display: grid;
  grid-template-columns: 212px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100dvh;
  padding: 38px 24px 24px;
  border-right: 1px solid #232329;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: max-content;
}
.brand img {
  width: 60px;
  height: 34px;
}
.campus-identity {
  margin-top: 35px;
}
.campus-identity > span {
  font-size: 12px;
  font-weight: 550;
  display: block;
}
.campus-identity small {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  margin-top: 9px;
}
.campus-identity svg {
  width: 12px;
  height: 12px;
  color: var(--lime);
}
.sidebar nav {
  display: grid;
  gap: 8px;
  margin: 36px -3px 0;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 48px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 450;
  padding: 0 4px;
}
.nav-link.active {
  color: var(--text);
  font-weight: 700;
  background: transparent;
}
.nav-link:hover {
  color: var(--text);
}
.nav-link svg {
  width: 20px;
  height: 20px;
}
.nav-link.active svg {
  stroke-width: 2;
}
.unread {
  width: 5px;
  height: 5px;
  background: var(--lime);
  border-radius: 50%;
  margin-left: auto;
  margin-right: 9px;
}
.sidebar-footer {
  margin-top: auto;
  padding-top: 40px;
}
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.language-switch button {
  font-size: 11px;
  min-height: 44px;
  padding: 0 5px;
  color: var(--muted);
}
.language-switch button[aria-pressed="true"] {
  font-weight: 700;
  color: var(--text);
}
.language-switch > span {
  font-size: 10px;
  color: #5e5e68;
}
.account {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 18px 0;
  margin-top: 15px;
  text-align: left;
  border-top: 1px solid #232329;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: none;
  font-size: 12px;
  font-weight: 650;
}
.avatar.large {
  width: 76px;
  height: 76px;
  font-size: 30px;
}
.account strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
}
.account small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.preview-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: var(--muted);
  min-height: 34px;
}
.preview-link svg {
  width: 11px;
  height: 11px;
}
.workspace {
  min-width: 0;
}
.mobile-header,
.mobile-nav {
  display: none;
}
main {
  max-width: 1450px;
  padding: 49px 52px 65px;
  outline: 0;
  margin: auto;
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 27px;
}
.page-header p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}
.campus-label {
  font-size: 11px;
  color: var(--muted);
}
.separator {
  margin: 0 6px;
  color: #5e5e68;
}
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border-radius: 12px;
  padding: 5px 5px 5px 16px;
  margin-bottom: 38px;
}
.search > svg {
  color: var(--muted);
  width: 18px;
  height: 18px;
}
.search input {
  flex: 1;
  height: 42px;
  background: none;
  font-size: 13px;
}
.search input:focus {
  outline: 0;
}
.search:focus-within {
  outline: 1px solid var(--text);
  outline-offset: 3px;
}
.primary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-radius: 9px;
  padding: 0 19px;
  background: var(--orange);
  color: var(--orange-ink);
  font-size: 12px;
  font-weight: 700;
}
.primary svg {
  width: 16px;
  height: 16px;
}
.primary:hover {
  filter: brightness(1.06);
}
.home-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 238px;
  gap: 54px;
  align-items: start;
}
.feed {
  min-width: 0;
}
.category-tabs {
  display: flex;
  align-items: stretch;
  gap: 23px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 29px;
  min-height: 94px;
}
.category-tab {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 0 18px;
  min-width: 54px;
  flex: 1;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  outline: none;
}
.category-character {
  display: grid;
  place-items: center;
  width: 45px;
  height: 39px;
  border-radius: 11px;
  opacity: 0.88;
}
.category-character img {
  width: 43px;
  height: 38px;
}
.category-tab.selected {
  color: var(--text);
  font-weight: 700;
  background: transparent;
  outline: none;
}
.category-tab.selected:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--text);
}
.category-tab.selected .category-character,
.category-tab:hover .category-character {
  opacity: 1;
}
.category-tab:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 5px;
}
.all-tab {
  max-width: 44px;
  min-width: 32px;
  justify-content: flex-start;
  font-size: 11px;
}
.all-character {
  background: transparent;
  color: var(--muted);
}
.all-character svg {
  width: 20px;
  height: 20px;
}
.all-tab.selected .all-character {
  color: var(--text);
}
.feed-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 0;
  min-height: 44px;
}
.feed-heading h2 {
  font-size: 19px;
}
.result-count {
  color: var(--muted);
  font-size: 13px;
  margin-left: 7px;
  font-weight: 450;
}
.sort select {
  background: transparent;
  font-size: 11px;
  color: var(--muted);
  padding: 10px 1px;
  min-height: 44px;
  cursor: pointer;
}
.sort option {
  background: var(--surface);
  color: var(--text);
}
.search-summary {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  margin: 8px 0;
}
.search-summary button {
  font-size: 10px;
  min-height: 36px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.post-row {
  padding: 23px 0 15px;
  border-bottom: 1px solid var(--line);
  background: none;
  border-radius: 0;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 10px;
  color: var(--muted);
}
.category-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
}
.category-label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}
.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
}
.rating svg {
  width: 11px;
  height: 11px;
  fill: var(--sand);
  stroke: var(--sand);
}
.post-open {
  display: block;
  width: 100%;
  text-align: left;
  padding: 13px 0 11px;
}
.post-open h3 {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
}
.post-open:hover h3 {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: #5e5e68;
  text-underline-offset: 5px;
}
.post-open p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 72ch;
}
.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.author {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
}
.author .avatar {
  width: 21px;
  height: 21px;
  font-size: 8px;
}
.author > svg {
  width: 10px;
  height: 10px;
  color: var(--muted);
}
.post-stats {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 10px;
}
.post-stats > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.post-stats svg {
  width: 14px;
  height: 14px;
}
.icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  color: var(--muted);
  flex: none;
  border-radius: 0;
}
.icon-button:hover {
  color: var(--text);
}
.icon-button.is-saved {
  color: var(--lime);
}
.icon-button.is-saved svg {
  fill: var(--lime);
}
.home-aside {
  padding-top: 2px;
}
.aside-heading h2 {
  font-size: 15px;
  font-weight: 600;
}
.aside-heading > span {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 8px;
}
.class-summary {
  display: flex;
  gap: 18px;
  margin-top: 27px;
}
.class-time {
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.class-time small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 7px;
}
.class-state {
  display: block;
  font-size: 9px;
  color: var(--pink);
  margin-bottom: 8px;
}
.class-summary h3 {
  font-size: 15px;
  line-height: 1.5;
  max-width: 165px;
}
.class-summary p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.course-code {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 6px;
}
.later-class {
  display: flex;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
  margin: 23px 0 6px;
}
.text-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0;
  font-size: 11px;
  font-weight: 500;
}
.text-action svg {
  width: 15px;
  height: 15px;
}
.text-action:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.full {
  width: 100%;
  justify-content: space-between;
}
.home-aside > .text-action {
  margin-top: 9px;
}
.club-invite {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 28px;
}
.club-character {
  width: 43px;
  height: 39px;
  border-radius: 11px;
  display: block;
  margin-bottom: 17px;
}
.club-character img {
  width: 43px;
  height: 39px;
}
.club-invite h2 {
  font-size: 15px;
}
.club-invite p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.club-invite .text-action {
  margin-top: 5px;
}
.empty {
  padding: 60px 0;
  text-align: left;
}
.empty h2 {
  font-size: 20px;
}
.empty p {
  font-size: 12px;
  color: var(--muted);
  margin: 11px 0 18px;
}
.detail-page {
  max-width: 780px;
  margin: 0 auto;
}
.back {
  color: var(--muted);
  margin-bottom: 34px;
}
.detail-overline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.detail-page h1 {
  font-size: 38px;
  max-width: 700px;
  line-height: 1.4;
}
.detail-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.detail-author {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 30px 0 39px;
}
.detail-author > span > strong {
  font-size: 12px;
  display: block;
  font-weight: 600;
}
.detail-author > span > small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 6px;
}
.detail-rating {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail-rating svg {
  width: 14px;
  height: 14px;
  fill: var(--sand);
  stroke: var(--sand);
}
.detail-author > .detail-rating > strong {
  font-size: 18px;
}
.detail-author > .detail-rating > small {
  margin: 0 0 0 7px;
  font-size: 10px;
}
.article-body {
  font-size: 16px;
  line-height: 1.95;
  max-width: 68ch;
}
.detail-stats {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  margin: 32px 0;
  padding-bottom: 25px;
  font-size: 11px;
  color: var(--muted);
}
.detail-stats > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.detail-stats svg {
  width: 15px;
  height: 15px;
}
.replies h2 {
  font-size: 16px;
}
.reply {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin: 25px 0 12px;
}
.reply strong {
  font-size: 12px;
  font-weight: 600;
}
.reply strong small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 12px;
}
.reply p {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 9px;
  color: var(--muted);
}
.schedule-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 39px 0 20px;
  gap: 15px;
}
.schedule-toolbar h2 {
  font-size: 17px;
}
.schedule-toolbar > span {
  font-size: 11px;
  color: var(--muted);
}
.week-grid {
  display: grid;
  grid-template-columns: 49px repeat(5, minmax(0, 1fr));
  border: 0;
  border-radius: 0;
  background: transparent;
}
.times {
  display: grid;
  grid-template-rows: 66px repeat(8, 65px);
}
.times span {
  font-size: 10px;
  color: var(--muted);
  padding-top: 9px;
}
.day {
  position: relative;
  border-left: 1px solid var(--line);
}
.day-header {
  height: 66px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: var(--muted);
}
.day-header strong {
  font-size: 18px;
  color: var(--text);
  font-weight: 550;
}
.day-header.today strong {
  color: var(--lime);
}
.hour {
  height: 65px;
  border-top: 1px solid var(--line);
}
.lesson {
  position: absolute;
  left: 5px;
  right: 5px;
  top: calc(66px + (var(--row) - 1) * 65px + 5px);
  height: 85px;
  border-radius: 8px;
  text-align: left;
  padding: 13px;
  overflow: hidden;
}
.lesson strong {
  font-size: 13px;
  font-weight: 650;
  display: block;
  line-height: 1.35;
}
.lesson span {
  font-size: 9px;
  opacity: 0.75;
  display: block;
  margin-top: 7px;
}
.lesson small {
  font-size: 9px;
  opacity: 0.75;
  display: block;
  margin-top: 5px;
}
.course-info {
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  margin-top: 22px;
  outline: 0;
}
.course-info h2 {
  font-size: 20px;
  margin-top: 8px;
}
.course-info p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.course-info > .text-action {
  margin-left: auto;
}
.course-info > .icon-button {
  font-size: 25px;
  margin-left: auto;
}
.chat-workspace {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  gap: 31px;
  margin-top: 36px;
  min-height: calc(100dvh - 235px);
  border: 0;
  border-radius: 0;
  background: transparent;
}
.conversation-list {
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.conversation-item {
  display: flex;
  gap: 11px;
  align-items: center;
  min-height: 84px;
  padding: 12px 0;
  text-align: left;
  width: 100%;
  border-bottom: 1px solid #232329;
}
.conversation-item > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.conversation-item strong {
  font-size: 12px;
  font-weight: 450;
  color: var(--muted);
}
.conversation-item.active strong {
  font-weight: 700;
  color: var(--text);
}
.conversation-item small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.conversation-item time {
  font-size: 9px;
  color: var(--muted);
  align-self: flex-start;
  margin-top: 8px;
}
.conversation-item.active .avatar {
  outline: 1px solid var(--text);
  outline-offset: 3px;
}
.chat-room {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-height: calc(100dvh - 214px);
}
.chat-room > header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 65px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}
.chat-room > header h2 {
  font-size: 14px;
}
.chat-room > header small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.friend-status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
}
.friend-status svg {
  width: 12px;
  height: 12px;
  color: var(--lime);
}
.messages {
  overflow: auto;
  flex: 1;
  padding: 22px 4px 20px;
  min-height: 300px;
}
.chat-date {
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  margin: 4px 0 40px;
}
.message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 25px;
}
.message p {
  font-size: 13px;
  line-height: 1.6;
  padding: 12px 16px;
  border-radius: 12px 12px 12px 3px;
  background: var(--surface);
  max-width: 80%;
  overflow-wrap: anywhere;
}
.message > small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 7px;
}
.message.mine {
  align-items: flex-end;
}
.message.mine p {
  background: var(--lime);
  color: var(--ink);
  border-radius: 12px 12px 3px 12px;
}
.chat-compose {
  display: flex;
  gap: 9px;
  margin-top: 10px;
}
.chat-compose input {
  flex: 1;
  border-radius: 10px;
  height: 46px;
  padding: 0 14px;
  font-size: 12px;
}
.chat-compose .primary {
  width: 46px;
  padding: 0;
}
.chat-note {
  font-size: 9px;
  color: var(--muted);
  margin-top: 10px;
}
.profile-workspace {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 66px;
  margin-top: 42px;
}
.profile-identity h2 {
  font-size: 23px;
  margin-top: 24px;
}
.verified {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 11px;
}
.verified svg {
  width: 12px;
  height: 12px;
  color: var(--lime);
}
.profile-identity dl {
  margin: 35px 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}
.profile-identity dt {
  font-size: 10px;
  color: var(--muted);
  margin-top: 15px;
}
.profile-identity dd {
  font-size: 12px;
  margin: 0;
}
.profile-identity dd .language-switch {
  margin-top: -9px;
  margin-left: -5px;
}
.sample-note {
  font-size: 9px;
  color: var(--muted);
}
.saved-section {
  min-width: 0;
}
.saved-section .feed-heading {
  min-height: 30px;
}
.empty-character {
  display: block;
  width: 52px;
  height: 47px;
  border-radius: 13px;
  margin-bottom: 24px;
}
.empty-character img {
  width: 52px;
  height: 47px;
}
.toast {
  position: fixed;
  bottom: 27px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface2);
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 12px;
  padding: 13px 19px;
  z-index: 30;
}
.toast[hidden] {
  display: none;
}
@media (min-width: 1650px) {
  main {
    padding: 58px 68px 70px;
  }
  .home-columns {
    gap: 72px;
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .category-tabs {
    gap: 30px;
  }
  .post-open p {
    font-size: 13px;
  }
  .post-open h3 {
    font-size: 19px;
  }
}
@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 184px minmax(0, 1fr);
  }
  .sidebar {
    padding: 32px 20px 20px;
  }
  main {
    padding: 38px 34px 55px;
  }
  .home-columns {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) 200px;
  }
  .category-tabs {
    gap: 12px;
  }
  .category-tab {
    min-width: 44px;
    font-size: 10px;
  }
  .category-character {
    width: 39px;
    height: 35px;
  }
  .category-character img {
    width: 39px;
    height: 35px;
  }
  .post-open h3 {
    font-size: 17px;
  }
  .class-summary {
    gap: 12px;
  }
  .chat-workspace {
    grid-template-columns: 215px minmax(0, 1fr);
    gap: 24px;
  }
  .conversation-list {
    padding-right: 18px;
  }
  .conversation-item time {
    display: none;
  }
  .profile-workspace {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 40px;
  }
  .lesson {
    padding: 10px;
  }
  .lesson strong {
    font-size: 11px;
  }
}
@media (max-width: 1020px) {
  .home-columns {
    grid-template-columns: 1fr;
  }
  .home-aside {
    display: none;
  }
  .page-header .campus-label {
    display: none;
  }
  .category-tabs {
    gap: 22px;
  }
  .category-tab {
    font-size: 11px;
  }
  .category-character {
    width: 45px;
    height: 39px;
  }
  .category-character img {
    width: 43px;
    height: 38px;
  }
  .chat-workspace {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 22px;
  }
  .conversation-item .avatar {
    width: 27px;
    height: 27px;
    font-size: 10px;
  }
  .conversation-item {
    gap: 9px;
  }
  .conversation-item small {
    font-size: 9px;
  }
  .profile-workspace {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .profile-identity {
    display: grid;
    grid-template-columns: 76px 1fr;
    column-gap: 22px;
  }
  .profile-identity > .avatar {
    grid-row: 1/3;
  }
  .profile-identity h2 {
    margin-top: 6px;
  }
  .profile-identity > .verified {
    margin-top: 4px;
    align-self: start;
  }
  .profile-identity dl {
    grid-column: 1/-1;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    margin: 25px 0 0;
    align-items: center;
  }
  .profile-identity dt {
    margin: 0;
  }
  .profile-identity .sample-note {
    display: none;
  }
  .schedule-toolbar > span {
    display: none;
  }
  .lesson {
    left: 3px;
    right: 3px;
    padding: 9px 6px;
  }
  .lesson strong {
    font-size: 10px;
  }
  .lesson span,
  .lesson small {
    font-size: 8px;
  }
}
@media (max-width: 790px) {
  .app-shell {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .sidebar {
    padding: 26px 16px 18px;
  }
  .campus-identity > span {
    font-size: 11px;
  }
  .campus-identity small {
    font-size: 9px;
  }
  .nav-link {
    font-size: 13px;
    gap: 10px;
  }
  main {
    padding: 31px 25px 50px;
  }
  .page-header h1,
  html[lang="ko"] .page-header h1 {
    font-size: 29px;
  }
  .page-header p {
    font-size: 11px;
  }
  .search input {
    font-size: 11px;
  }
  .search .primary {
    padding: 0 13px;
    font-size: 11px;
  }
  .search .primary svg {
    display: none;
  }
  .category-tabs {
    gap: 14px;
  }
  .category-tab {
    font-size: 10px;
    min-width: 40px;
  }
  .chat-workspace {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .conversation-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    display: flex;
    gap: 14px;
  }
  .conversation-item {
    flex: 1;
    min-width: 0;
    border-bottom: 0;
    min-height: 60px;
    padding: 0 0 15px;
    gap: 8px;
  }
  .conversation-item small {
    display: none;
  }
  .conversation-item strong {
    font-size: 10px;
  }
  .chat-room {
    max-height: 650px;
    min-height: 500px;
  }
  .week-grid {
    grid-template-columns: 35px repeat(5, minmax(0, 1fr));
  }
  .times span {
    font-size: 8px;
  }
  .day-header {
    gap: 5px;
    font-size: 9px;
  }
  .day-header strong {
    font-size: 15px;
  }
  .lesson strong {
    font-size: 9px;
    overflow-wrap: anywhere;
  }
  .lesson span,
  .lesson small {
    font-size: 7px;
  }
  .detail-author > .detail-rating > small {
    display: none;
  }
  .detail-page h1,
  html[lang="ko"] .detail-page h1 {
    font-size: 29px;
  }
  .article-body {
    font-size: 14px;
  }
  .post-stats {
    gap: 9px;
  }
}
@media (max-width: 640px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    display: none;
  }
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px 9px;
    gap: 20px;
  }
  .brand img {
    width: 49px;
    height: 28px;
  }
  .mobile-header .language-switch button {
    font-size: 10px;
  }
  .mobile-header .language-switch {
    gap: 3px;
  }
  main {
    padding: 23px 20px 104px;
  }
  .page-header {
    margin-bottom: 23px;
  }
  .page-header h1,
  html[lang="ko"] .page-header h1 {
    font-size: 27px;
    letter-spacing: -0.9px;
  }
  .page-header p {
    font-size: 11px;
    margin-top: 8px;
  }
  .search {
    padding: 4px 4px 4px 12px;
    gap: 9px;
    border-radius: 10px;
    margin-bottom: 30px;
  }
  .search input {
    font-size: 11px;
    height: 40px;
  }
  .search > svg {
    width: 16px;
    height: 16px;
  }
  .search .primary {
    min-height: 42px;
    padding: 0 15px;
    border-radius: 7px;
  }
  .home-columns {
    display: block;
  }
  .category-tabs {
    gap: 12px;
    min-height: 83px;
    margin-bottom: 19px;
  }
  .category-tab {
    font-size: 10px;
    min-width: 38px;
    padding-bottom: 14px;
    gap: 9px;
  }
  .all-tab {
    min-width: 28px;
    max-width: 28px;
  }
  .category-character {
    width: 39px;
    height: 34px;
    border-radius: 9px;
  }
  .category-character img {
    width: 39px;
    height: 34px;
  }
  .feed-heading h2 {
    font-size: 18px;
  }
  .sort select {
    font-size: 10px;
  }
  .post-row {
    padding: 18px 0 10px;
  }
  .post-meta {
    font-size: 9px;
    gap: 11px;
  }
  .category-label {
    font-size: 9px;
  }
  .post-open {
    padding: 12px 0 9px;
  }
  .post-open h3 {
    font-size: 16px;
  }
  .post-open p {
    font-size: 11px;
    margin-top: 7px;
    line-height: 1.8;
  }
  .post-footer {
    gap: 6px;
  }
  .author {
    font-size: 9px;
    gap: 5px;
  }
  .post-stats {
    font-size: 9px;
    gap: 10px;
  }
  .post-stats .icon-button {
    width: 36px;
    min-height: 44px;
  }
  .post-stats svg {
    width: 13px;
    height: 13px;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding: 8px 12px max(11px, env(safe-area-inset-bottom));
    justify-content: space-around;
    z-index: 20;
  }
  .mobile-nav .nav-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-height: 47px;
    font-size: 10px;
    padding: 4px 0;
    background: transparent;
    border-radius: 0;
  }
  .mobile-nav .nav-link svg {
    width: 19px;
    height: 19px;
  }
  .mobile-nav .unread {
    display: none;
  }
  .empty {
    padding: 45px 0;
  }
  .empty h2 {
    font-size: 19px;
  }
  .empty p {
    font-size: 11px;
  }
  .text-action {
    font-size: 11px;
  }
  .schedule-toolbar {
    margin: 29px 0 12px;
  }
  .schedule-toolbar h2 {
    font-size: 15px;
  }
  .week-grid {
    grid-template-columns: 29px repeat(5, minmax(0, 1fr));
  }
  .times {
    grid-template-rows: 58px repeat(8, 65px);
  }
  .times span {
    font-size: 7px;
  }
  .day-header {
    height: 58px;
    flex-direction: column;
    gap: 4px;
    font-size: 9px;
  }
  .day-header strong {
    font-size: 16px;
  }
  .lesson {
    top: calc(58px + (var(--row) - 1) * 65px + 4px);
    left: 2px;
    right: 2px;
    padding: 9px 5px;
    border-radius: 6px;
    height: 85px;
  }
  .lesson strong {
    font-size: 9px;
    line-height: 1.35;
  }
  .lesson span {
    font-size: 7px;
    margin-top: 6px;
    overflow-wrap: anywhere;
  }
  .lesson small {
    font-size: 6.5px;
    margin-top: 7px;
    line-height: 1.4;
  }
  .course-info {
    gap: 10px;
    flex-wrap: wrap;
    padding: 20px 0;
  }
  .course-info h2 {
    font-size: 19px;
  }
  .course-info p {
    font-size: 11px;
  }
  .course-info > .icon-button {
    order: 2;
  }
  .course-info > .text-action {
    order: 3;
    margin-left: 0;
  }
  .chat-workspace {
    margin-top: 23px;
    gap: 19px;
    min-height: 0;
  }
  .conversation-list {
    gap: 10px;
  }
  .conversation-item .avatar {
    width: 27px;
    height: 27px;
  }
  .conversation-item strong {
    font-size: 10px;
  }
  .conversation-item {
    gap: 7px;
  }
  .chat-room {
    min-height: 500px;
    max-height: 620px;
  }
  .chat-room > header {
    min-height: 56px;
    padding-bottom: 16px;
  }
  .chat-room > header h2 {
    font-size: 13px;
  }
  .chat-room > header small {
    font-size: 9px;
  }
  .friend-status {
    font-size: 9px;
  }
  .messages {
    padding: 15px 0;
    min-height: 290px;
  }
  .chat-date {
    font-size: 9px;
    margin: 4px 0 28px;
  }
  .message p {
    font-size: 11px;
    max-width: 86%;
    padding: 11px 13px;
  }
  .message > small {
    font-size: 8px;
  }
  .message {
    margin-bottom: 21px;
  }
  .chat-compose {
    margin-top: 5px;
  }
  .chat-compose input {
    font-size: 11px;
  }
  .chat-note {
    font-size: 8px;
    line-height: 1.6;
  }
  .profile-workspace {
    margin-top: 29px;
    gap: 30px;
  }
  .profile-identity h2 {
    font-size: 22px;
  }
  .profile-identity dl {
    grid-template-columns: 80px 1fr;
  }
  .profile-identity dd {
    font-size: 11px;
  }
  .profile-identity dt {
    font-size: 10px;
  }
  .detail-page {
    max-width: none;
  }
  .back {
    margin-bottom: 24px;
  }
  .detail-overline {
    margin-bottom: 12px;
  }
  .detail-page h1,
  html[lang="ko"] .detail-page h1 {
    font-size: 27px;
    line-height: 1.4;
  }
  .detail-subtitle {
    font-size: 11px;
  }
  .detail-author {
    margin: 23px 0 28px;
    gap: 9px;
  }
  .detail-author > span > strong {
    font-size: 11px;
  }
  .detail-author > span > small {
    font-size: 8px;
  }
  .detail-author > .detail-rating > strong {
    font-size: 16px;
  }
  .article-body {
    font-size: 14px;
    line-height: 1.95;
  }
  .detail-stats {
    font-size: 10px;
    gap: 18px;
    margin: 27px 0;
    padding-bottom: 23px;
  }
  .reply strong {
    font-size: 11px;
  }
  .reply strong small {
    font-size: 9px;
  }
  .reply p {
    font-size: 12px;
  }
  .toast {
    bottom: 90px;
    font-size: 11px;
    max-width: calc(100vw - 32px);
    width: max-content;
  }
  .sample-note {
    display: none;
  }
}
@media (max-width: 359px) {
  main {
    padding-left: 16px;
    padding-right: 16px;
  }
  .mobile-header {
    padding-left: 16px;
    padding-right: 16px;
  }
  .category-tabs {
    gap: 7px;
  }
  .category-tab {
    font-size: 9px;
    min-width: 34px;
  }
  .category-character {
    width: 35px;
    height: 31px;
  }
  .category-character img {
    width: 35px;
    height: 31px;
  }
  .post-stats {
    gap: 7px;
  }
  .conversation-item {
    gap: 5px;
  }
  .conversation-item strong {
    font-size: 9px;
  }
  .conversation-list {
    gap: 7px;
  }
  .conversation-item .avatar {
    width: 23px;
    height: 23px;
  }
  .lesson {
    padding-left: 3px;
    padding-right: 3px;
  }
  .lesson strong {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      color 0.15s ease-out,
      opacity 0.15s ease-out;
  }
  .category-character {
    transition: opacity 0.15s ease-out;
  }
}
/* Production forms and data-driven A layout. */
textarea {
  font: inherit;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 9px;
  resize: vertical;
  min-height: 100px;
  padding: 13px;
  width: 100%;
}
label {
  display: grid;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
  margin: 18px 0;
}
label input,
label select {
  min-height: 46px;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  width: 100%;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check input {
  width: 20px;
  min-height: 20px;
}
.welcome {
  max-width: 520px;
  margin-top: 48px;
}
.welcome hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}
.form-error {
  color: #ffb6b6;
  font-size: 13px;
  white-space: pre-wrap;
  margin: 14px 0;
  overflow-wrap: anywhere;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.text-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.home-aside {
  padding-top: 18px;
}
.home-aside p {
  color: var(--muted);
  margin: 14px 0;
}
.home-aside a {
  display: flex;
}
.article-body {
  white-space: pre-wrap;
  margin: 30px 0;
  overflow-wrap: anywhere;
}
.reply.nested {
  margin-left: 28px;
}
.reply p {
  white-space: pre-wrap;
}
.attachment {
  width: auto;
  max-width: min(100%, 560px);
  max-height: 450px;
  object-fit: contain;
  border-radius: 12px;
  margin: 12px 0;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.section-title {
  margin-top: 32px;
  margin-bottom: 18px;
}
.schedule-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
.table-scroll {
  overflow-x: auto;
  margin-top: 20px;
}
.real-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(100px, 1fr));
  min-width: 735px;
  min-height: 430px;
}
.real-day {
  border-right: 1px solid var(--line);
  padding: 0 7px;
}
.real-day:last-child {
  border: 0;
}
.real-day > header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 60px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.real-day strong {
  color: inherit;
}
.real-lesson {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 15px 9px;
  border-radius: 9px;
  margin: 12px 0;
  text-align: left;
}
.real-lesson strong {
  font-size: 12px;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.real-lesson span {
  font-size: 10px;
}
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.setting-row p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.conversation-list > div {
  width: 100%;
}
.conversation-item small {
  max-width: 140px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.chat-room {
  min-height: 580px;
  max-height: calc(100dvh - 200px);
  display: flex;
  flex-direction: column;
}
.chat-room > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.messages {
  flex: 1;
  overflow-y: auto;
  min-height: 200px;
}
.message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.message.sent {
  align-items: flex-end;
}
.message-content {
  max-width: 88%;
  overflow-wrap: anywhere;
}
.message-content > p {
  white-space: pre-wrap;
  max-width: none;
}
.message.sent .message-content > p {
  background: var(--surface2);
  color: var(--text);
}
.chat-compose {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}
.chat-compose textarea {
  flex: 1;
  min-height: 65px;
}
.chat-compose .form-error {
  width: 100%;
}
.chat-room > .actions {
  margin: 8px 0;
  gap: 18px;
}
.event-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px;
}
.event-card p {
  padding: 0;
  background: none;
}
.profile-identity > .avatar {
  width: 76px;
  height: 76px;
  font-size: 30px;
}
.profile-identity p {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0;
}
dialog {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 18px;
  width: min(580px, calc(100vw - 24px));
  max-height: 90dvh;
  padding: 28px;
  overflow: auto;
}
dialog::backdrop {
  background: #000a;
  backdrop-filter: blur(5px);
}
dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
dialog form > p {
  font-size: 13px;
  color: var(--muted);
}
dialog .form-error {
  color: #ffb6b6;
}
#toast:empty,
#toast:not(.toast) {
  display: none;
}
.category-tabs .category-tab {
  justify-content: center;
  min-height: 65px;
}
.post-row h3 {
  overflow-wrap: anywhere;
}
.post-row p {
  white-space: pre-wrap;
}
.back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
#friend-results,
#course-options {
  max-height: 48dvh;
  overflow: auto;
}
.offerings {
  max-height: 28dvh;
  overflow: auto;
}
@media (max-width: 980px) {
  .home-aside {
    display: none;
  }
  .home-columns {
    grid-template-columns: 1fr;
  }
  .setting-row {
    gap: 14px;
  }
  .chat-room {
    max-height: 750px;
  }
}
@media (max-width: 640px) {
  dialog {
    padding: 20px;
  }
  .welcome {
    margin-top: 30px;
  }
  .real-week {
    min-width: 735px;
  }
  .chat-room {
    min-height: 500px;
    max-height: 740px;
  }
  .conversation-list {
    max-height: 260px;
    overflow-y: auto;
    display: block;
  }
  .conversation-item small {
    display: block;
  }
  .conversation-item {
    padding: 12px 0;
  }
  .profile-identity {
    display: block;
  }
  .page-header {
    flex-wrap: wrap;
  }
  .setting-row h3 {
    font-size: 14px;
  }
  .schedule-toolbar {
    gap: 8px;
  }
  .schedule-toolbar h2 {
    font-size: 13px;
  }
  .chat-room > .actions {
    gap: 12px;
  }
  .home-columns {
    display: block;
  }
  .section-title {
    font-size: 17px;
  }
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 22px 0;
  padding: 18px;
}
fieldset legend {
  padding: 0 8px;
  color: var(--muted);
}
.extracted {
  white-space: pre-wrap;
  max-height: 260px;
  overflow: auto;
  font: 12px/1.7 inherit;
  color: var(--muted);
}
.hemis-preview {
  max-height: 40dvh;
  overflow: auto;
}
details summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
}
.category-tabs .category-tab {
  padding-top: 0;
  padding-bottom: 18px;
}
.category-character {
  font-size: 28px;
  line-height: 1;
}
.real-week {
  grid-template-columns: 38px repeat(7, minmax(100px, 1fr));
  min-width: 773px;
}
.real-day {
  position: relative;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 53px,
    var(--line) 53px,
    var(--line) 54px
  );
  background-position: 0 60px;
  background-clip: content-box;
}
.real-day > header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  z-index: 1;
}
.real-lesson {
  position: absolute;
  left: 6px;
  right: 6px;
  width: calc(100% - 12px);
  margin: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 7px;
  padding: 11px 8px;
}
.time-rail {
  color: var(--muted);
  font-size: 9px;
  text-align: left;
}
.time-rail > header {
  height: 54px;
}
.time-rail > span {
  display: block;
  height: 54px;
}
.category-character img {
  object-fit: contain;
}
@media (max-width: 640px) {
  .real-lesson strong {
    font-size: 11px;
  }
  .real-lesson span {
    font-size: 9px;
  }
}
.chat-sticker {
  width: 125px;
  height: 125px;
  object-fit: contain;
}
.sticker-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.sticker-picker button {
  min-height: 90px;
  display: grid;
  place-items: center;
}
.sticker-picker img {
  width: 105px;
  height: 105px;
  object-fit: contain;
}
