:root {
  color-scheme: light;
  --ink: #1d2433;
  --muted: #7b8290;
  --line: #e7e9ee;
  --surface: #ffffff;
  --canvas: #f3f5f8;
  --brand: #6759e8;
  --lounge-red: #c3272b;
}
* { box-sizing: border-box; }
html { font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif; color: var(--ink); background: var(--canvas); }
body { display: flex; min-height: 100vh; margin: 0; flex-direction: column; }
body > main { flex: 1 0 auto; }
a { color: inherit; text-decoration: none; }
.site-header { height: 64px; color: white; background: #171a24; }
.site-header__inner { width: min(1100px, calc(100% - 32px)); height: 100%; margin: auto; display: flex; align-items: center; gap: 20px; }
.site-header__inner a { font-weight: 800; letter-spacing: .08em; }
.site-header__inner span { color: #b8becb; }
.hero { color: white; background: linear-gradient(120deg, #252142, #6557dc 62%, #8679ee); }
.hero__inner { width: min(1100px, calc(100% - 32px)); margin: auto; padding: 54px 0 48px; }
.hero h1 { margin: 5px 0 8px; font-size: clamp(32px, 5vw, 48px); }
.hero p { margin: 0; color: #e5e2ff; }
.hero .eyebrow { color: #bdb6ff; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.lounge-lnb { color: #fff; background: #646977; }
.lounge-lnb__cover { position: relative; height: 250px; overflow: hidden; background: #646977 url("lounge-cover.png") center center / 1280px 320px no-repeat; }
.lounge-lnb__cover::before { position: absolute; inset: 0; content: ""; background: linear-gradient(to bottom, transparent 52%, rgba(0, 0, 0, .32)), linear-gradient(to right, #646977 0, transparent 20%, transparent 80%, #646977 100%); pointer-events: none; }
.lounge-lnb__inner { position: relative; width: min(1280px, 100%); height: 100%; margin: auto; padding: 0 18px; }
.lounge-identity { position: absolute; right: 410px; bottom: 25px; left: 18px; display: flex; align-items: center; gap: 24px; }
.lounge-identity__icon { width: 86px; height: 86px; flex: 0 0 auto; border-radius: 16px; box-shadow: 0 6px 20px rgba(0, 0, 0, .1); object-fit: cover; }
.lounge-identity__data h1 { margin: 0; color: #fff; font-size: 30px; line-height: 1.2; }
.lounge-supporter-card { position: absolute; right: 18px; bottom: 25px; display: flex; width: 357px; height: 86px; padding: 16px 23px 16px 20px; align-items: center; border-radius: 12px; color: #fff; background: rgba(0, 0, 0, .8); box-shadow: 0 4px 10px rgba(0, 0, 0, .3); text-decoration: none; transition: background-color .15s ease; }
.lounge-supporter-card:hover { background: rgba(0, 0, 0, .9); }
.lounge-supporter-card__image-area { position: relative; width: 54px; height: 54px; margin-right: 18px; flex: 0 0 auto; }
.lounge-supporter-card__image { display: block; width: 54px; height: 54px; border-radius: 12px; object-fit: cover; }
.lounge-supporter-card__info { min-width: 0; flex: 1 1 auto; }
.lounge-supporter-card__message { margin: 0; overflow: hidden; color: rgba(255, 255, 255, .92); font-size: 18px; font-weight: 700; line-height: 26px; text-overflow: ellipsis; white-space: nowrap; }
.lounge-tabs { position: sticky; z-index: 100; top: 0; height: 50px; background: var(--lounge-red); box-shadow: 0 2px 20px rgba(0, 0, 0, .08); }
.lounge-tabs__inner { display: flex; width: min(1280px, 100%); height: 100%; margin: auto; padding: 0 18px; gap: 30px; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.lounge-tabs__inner::-webkit-scrollbar { display: none; }
.lounge-tabs a { position: relative; display: flex; flex: 0 0 auto; align-items: center; color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; }
.lounge-tabs a.is-group-start { margin-left: 18px; }
.lounge-tabs a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; content: ""; background: transparent; }
.lounge-tabs a:hover::after, .lounge-tabs a.is-active::after { background: #fff; }
.board-shell, .page-shell { width: min(1100px, calc(100% - 32px)); margin: 28px auto 64px; }
.archive-home { width: min(1100px, calc(100% - 32px)); margin: 28px auto 64px; }
.board-group { margin-bottom: 34px; }
.board-group h2 { margin: 0 0 14px; font-size: 22px; }
.board-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.board-tile { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 106px; padding: 22px 48px 22px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 5px 16px rgba(38, 42, 55, .04); transition: border-color .15s, transform .15s; }
.board-tile:hover { border-color: #aaa2f2; transform: translateY(-2px); }
.board-tile__name { font-size: 17px; font-weight: 750; }
.board-tile__count { color: var(--muted); font-size: 13px; }
.board-tile__arrow { position: absolute; top: 50%; right: 22px; color: var(--brand); font-size: 28px; transform: translateY(-50%); }
.board-card, .post-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 7px 22px rgba(38, 42, 55, .05); }
.board-controls { display: flex; min-height: 69px; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 24px 15px; box-shadow: inset 0 -1px var(--line); }
.sort-tabs { display: flex; align-items: center; white-space: nowrap; }
.sort-tab { appearance: none; padding: 0 0 1px; border: 0; color: rgba(0, 0, 0, .5); background: transparent; font: inherit; font-size: 15px; line-height: 19px; cursor: pointer; }
.sort-tab + .sort-tab::before { display: inline-block; width: 2px; height: 2px; margin: 0 6px 4px; border-radius: 1px; background: #d8d8d8; content: ""; }
.sort-tab.is-active { color: var(--lounge-red); font-weight: 800; }
.sort-tab__check { display: none; margin-right: 4px; vertical-align: -1px; }
.sort-tab.is-active .sort-tab__check { display: inline-block; }
.board-search { width: 200px; flex: 0 0 auto; }
.board-search__field { position: relative; width: 100%; height: 40px; padding: 11px 44px 0 12px; border: 1px solid rgba(0, 0, 0, .02); border-radius: 6px; background: #e9ebf1; }
.board-search input { width: 100%; height: 17px; padding: 0; border: 0; outline: 0; color: #222; background: transparent; font: inherit; font-size: 14px; line-height: 17px; }
.board-search input::-webkit-search-cancel-button { appearance: none; }
.board-search__button { position: absolute; top: 8px; right: 9px; display: grid; width: 24px; height: 24px; padding: 0; place-items: center; border: 0; color: #62666e; background: transparent; cursor: pointer; }
.board-search__button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }
.notice-head, .notice-row { display: grid; grid-template-columns: minmax(0, 1fr) 140px 110px; align-items: center; gap: 16px; }
.notice-head { padding: 12px 24px; color: var(--muted); background: #fafbfc; font-size: 13px; text-align: center; }
.notice-head span:first-child { text-align: left; }
.notice-list { margin: 0; padding: 0; list-style: none; }
.notice-row { min-height: 59px; padding: 10px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; }
.notice-row__title { min-width: 0; display: flex; align-items: center; gap: 10px; color: var(--ink); text-align: left; }
.notice-row__title span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-row__title:hover { color: var(--brand); }
.empty-message { padding: 18px 24px; color: var(--muted); font-size: 13px; text-align: center; }
.breadcrumb { display: flex; gap: 8px; margin: 0 2px 14px; color: var(--muted); font-size: 14px; }
.breadcrumb a:hover { color: var(--brand); }
.post-header { padding: 34px 40px 28px; border-bottom: 1px solid var(--line); }
.post-category { display: flex; width: fit-content; align-items: center; gap: 6px; margin-bottom: 10px; color: var(--lounge-red); font-size: 14px; font-weight: 700; }
.post-category:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-category__arrow { font-size: 15px; }
.post-header h1 { margin: 0 0 18px; font-size: clamp(24px, 4vw, 34px); line-height: 1.35; word-break: keep-all; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 13px; }
.notice-content { max-width: 900px; min-height: 320px; margin: auto; padding: 42px 40px 64px; line-height: 1.75; overflow-wrap: anywhere; }
.notice-content .se-main-container, .notice-content .se-component, .notice-content .se-section, .notice-content .se-module { max-width: 100%; }
.notice-content .se-component { margin: 0 0 24px; }
.notice-content .se-text p, .notice-content .se-text-paragraph { margin: 0 0 8px; min-height: 1.4em; }
.notice-content img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.notice-content figure { max-width: 100%; margin: 20px auto; }
.notice-content a { color: #4e57bf; text-decoration: underline; text-underline-offset: 2px; }
.notice-content .se-section-oglink.se-l-large_image, .notice-content .se-module-oglink { width: min(100%, 494px); }
.notice-content .se-section-oglink.se-l-large_image { margin: 0; }
.notice-content .se-module-oglink { overflow: hidden; border-radius: 6px; background: #fff; }
.notice-content .se-oglink-thumbnail { display: block; position: relative; width: 100%; aspect-ratio: 5 / 3; overflow: hidden; background: #f5f6f9; color: inherit; text-decoration: none; }
.notice-content .se-oglink-thumbnail::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(0, 0, 0, .05); border-radius: 6px 6px 0 0; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); pointer-events: none; }
.notice-content .se-oglink-thumbnail-resource { width: 100%; height: 100%; margin: 0; object-fit: cover; }
.notice-content .se-oglink-info { display: block; width: 100%; min-height: 101px; box-sizing: border-box; padding: 21px 26px 18px; overflow: hidden; border-radius: 0 0 6px 6px; background: #f5f6f9; color: #333; text-decoration: none; }
.notice-content .se-module-oglink > .se-oglink-info:first-child { border-radius: 6px; }
.notice-content .se-oglink-info-container { min-width: 0; }
.notice-content .se-oglink-title, .notice-content .se-oglink-summary, .notice-content .se-oglink-url { display: block; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-content .se-oglink-title { color: #333; font-size: 16px; font-weight: 600; line-height: 19px; }
.notice-content .se-oglink-summary { margin: 4px 0 0; color: #222; font-size: 14px; line-height: 17px; }
.notice-content .se-oglink-url { margin: 6px 0 0; color: #858894; font-size: 14px; line-height: 16px; }
.notice-content table { max-width: 100%; border-collapse: collapse; }
.notice-content th, .notice-content td { padding: 8px; border: 1px solid #dfe2e8; }
.notice-content iframe, .notice-content video { max-width: 100%; }
.notice-content .media-embed { position: relative; width: min(100%, 900px); aspect-ratio: 16 / 9; margin: 20px auto; overflow: hidden; background: #000; }
.notice-content .media-embed iframe { width: 100%; height: 100%; border: 0; }
.post-footer { padding: 20px 40px; border-top: 1px solid var(--line); text-align: right; }
.post-footer a { color: var(--brand); font-weight: 700; }
.archive-footer { flex: 0 0 auto; border-top: 1px solid var(--line); color: var(--muted); background: var(--surface); font-size: 13px; line-height: 1.7; }
.archive-footer__inner { width: min(1100px, calc(100% - 32px)); margin: auto; padding: 24px 0 30px; }
.archive-footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0 0 12px; }
.archive-footer__repo { color: var(--lounge-red); font-weight: 700; }
.archive-footer__repo:hover { text-decoration: underline; text-underline-offset: 3px; }
.archive-footer__notice { margin: 2px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
@media (max-width: 720px) {
  .lounge-lnb__cover { background-size: auto 250px; }
  .lounge-identity__data h1 { font-size: 28px; }
  .lounge-tabs__inner { gap: 26px; }
  .board-controls { align-items: stretch; flex-direction: column; gap: 14px; }
  .board-search { width: 100%; }
  .notice-head { display: none; }
  .notice-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 14px 18px; text-align: left; }
  .notice-row__title { grid-column: 1 / -1; }
  .post-header { padding: 26px 22px 22px; }
  .notice-content { padding: 30px 18px 48px; }
  .post-footer { padding: 18px 22px; }
  .archive-footer__inner { padding: 20px 0 24px; }
}
@media (max-width: 900px) {
  .lounge-identity { right: 18px; }
  .lounge-supporter-card { display: none; }
}
@media (max-width: 480px) {
  .lounge-identity { gap: 16px; }
  .lounge-identity__icon { width: 72px; height: 72px; border-radius: 14px; }
  .lounge-identity__data h1 { font-size: 22px; }
}
