@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;font-family:'Noto Sans KR',sans-serif;color:#eef3ff;background:#101329}*{box-sizing:border-box}body{margin:0;min-height:100svh;position:relative;background:#101329}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer;border:1px solid #c5bfff50;border-radius:3px;background:#191c3e;color:#e0e1ef;padding:10px 16px;font-size:14px}button:hover{background:#34355f}button:disabled{opacity:.45;cursor:default}.primary{background:#b7b9ff;color:#101329;border-color:#b7b9ff;font-weight:700}.primary:hover{background:#d2ccff}.danger{color:#ffbbbb;border-color:#b56e7a}button:focus-visible,a:focus-visible{outline:2px solid #d2ccff;outline-offset:4px}[hidden]{display:none!important}.board-shell{max-width:960px;margin:0 auto;padding:0 32px}.board-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:32px 0;border-bottom:1px solid #c5bfff26}.brand{font-size:14px;font-weight:800;letter-spacing:.06em}.board-header button{font-size:13px}main{min-height:70svh;padding:55px 0 65px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.eyebrow{font-size:12px;letter-spacing:.18em;color:#b7b9ff;margin:0 0 10px}h1{font-size:34px;margin:0}h2{font-size:23px;line-height:1.5;margin:0}.status{font-size:14px;line-height:1.8;color:#bfc4dd;white-space:pre-line}.status:empty{display:none}.post-card{display:block;padding:25px 0;border-bottom:1px solid #c5bfff26}.post-card:first-child{border-top:1px solid #c5bfff26}.post-card:hover h2{color:#b7b9ff}.post-card h2{font-size:19px;overflow-wrap:anywhere}.meta{font-size:12px;color:#a7abcf;margin:8px 0 0}.excerpt{color:#c5c9dd;font-size:15px;line-height:1.85;margin:12px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line;overflow-wrap:anywhere}#pagination{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:30px;font-size:14px}#post-detail h2{font-size:28px;margin:25px 0 0;overflow-wrap:anywhere}.post-body{margin:30px 0;padding-top:28px;border-top:1px solid #c5bfff26;white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.95}.text-button{background:transparent;border:0;padding-left:0;color:#b7b9ff}#post-actions{display:flex;gap:10px;justify-content:flex-end}footer{display:flex;justify-content:space-between;gap:20px;padding:24px 0;border-top:1px solid #c5bfff26;color:#a7abcf;font-size:13px}dialog{color:#eef3ff;background:#151930;border:1px solid #c5bfff60;border-radius:8px;width:min(600px,calc(100% - 32px));padding:28px;max-height:90svh;overflow:auto}dialog::backdrop{background:#050817ba;backdrop-filter:blur(5px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.dialog-heading .close-dialog{font-size:25px;line-height:1;border:0;padding:6px;background:transparent}label{display:block;font-size:14px;margin:18px 0}input,textarea{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #c5bfff50;background:#0d1125;color:#fff;border-radius:3px;font-size:16px}textarea{resize:vertical;line-height:1.7}input:focus,textarea:focus{outline:2px solid #b7b9ff;outline-offset:1px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}@media(max-width:650px){.board-shell{padding:0 22px}.board-header{padding:23px 0;gap:10px}.brand{font-size:11px}.board-header button{font-size:12px;padding:8px 10px}main{padding:36px 0 45px}h1{font-size:28px}.heading{margin-bottom:24px}.post-card{padding:22px 0}.post-card h2{font-size:17px}#post-detail h2{font-size:23px}dialog{padding:22px}.post-body{font-size:16px}}

.pin-option{display:flex;align-items:center;gap:10px;color:#c9caff}.pin-option input{width:18px;height:18px;margin:0;accent-color:#b7b9ff;flex-shrink:0}

/* Keep the artwork independent of article length, matching the home page crop. */
body::before{content:"";position:absolute;inset:0 0 auto;height:max(760px,100svh);z-index:0;pointer-events:none;background-image:linear-gradient(90deg,rgba(12,16,37,.94) 0%,rgba(16,20,43,.88) 28%,rgba(19,22,46,.8) 46%,rgba(19,22,46,.76) 100%),linear-gradient(0deg,#101329 0%,rgba(16,19,41,.65) 18%,transparent 55%),url('background-dawn.jpg');background-size:cover;background-position:center,center,70% center;background-repeat:no-repeat}
.board-shell{position:relative;z-index:1}
@media(max-width:650px){body::before{height:570px;background-image:linear-gradient(180deg,rgba(16,19,41,.82) 0px,rgba(16,19,41,.78) 230px,rgba(16,19,41,.94) 440px,#101329 560px),url('background-dawn.jpg');background-size:100% 570px,auto 570px;background-position:top center,76% top;background-repeat:no-repeat}}

/* List pages fit the viewport; full articles retain natural scrolling. */
.board-list-view .board-shell{min-height:100svh;display:flex;flex-direction:column}
.board-list-view main{min-height:0;flex:1;padding-top:clamp(20px,4svh,55px);padding-bottom:clamp(18px,3svh,40px)}
.board-list-view .heading{margin-bottom:clamp(16px,3svh,32px)}
.board-list-view::before{height:100%}
.board-list-view .post-card{height:146px;padding:18px 0;border-top:0}
.board-list-view #post-list{border-top:1px solid #c5bfff26}
.board-list-view .post-card h2{line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.board-list-view .post-card .meta{line-height:18px;white-space:nowrap}
.board-list-view .excerpt{line-height:24px;height:48px;margin-top:8px}
.board-list-view #pagination{margin-top:20px}
.page-probe{position:absolute!important;visibility:hidden!important;pointer-events:none;left:0;top:0;width:100%}
@media(max-width:650px){.board-list-view .post-card{height:140px}.board-list-view::before{height:min(570px,100%)}}
@media(max-height:600px){.board-list-view .board-header{padding-top:16px;padding-bottom:16px}.board-list-view footer{padding-top:16px;padding-bottom:16px}.board-list-view main{padding-top:16px;padding-bottom:16px}.board-list-view .heading{margin-bottom:16px}.board-list-view #pagination{margin-top:12px}}
@media(max-height:450px){.board-list-view .board-header{padding:10px 0}.board-list-view main{padding:10px 0}.board-list-view .heading{margin-bottom:10px}.board-list-view .heading h1{font-size:24px}.board-list-view .eyebrow{margin-bottom:4px}.board-list-view .post-card{height:108px;padding:12px 0}.board-list-view .excerpt{height:24px;-webkit-line-clamp:1}.board-list-view footer{padding:10px 0}.board-list-view #pagination{margin-top:10px}}

/* A single aligned footer row for navigation and ownership. */
footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;min-height:81px;font-size:13px;line-height:1.5;letter-spacing:.01em}
footer>a{justify-self:start;white-space:nowrap}footer>.copyright{grid-column:3;justify-self:end;white-space:nowrap}
footer #pagination,.board-list-view footer #pagination{grid-column:2;margin:0;gap:16px;font-size:13px;line-height:1.5}
footer #pagination button{padding:7px 12px;min-height:36px;font-size:13px;font-weight:500;line-height:1.5;background:transparent;border-color:#c5bfff30;border-radius:4px}
footer #pagination button:hover:not(:disabled){background:#b7b9ff14;border-color:#b7b9ff80}
footer #page-label{min-width:48px;text-align:center;font-variant-numeric:tabular-nums;color:#d8dcef;white-space:nowrap}
#post-list .post-card:last-child{border-bottom:0}
.heading h1{font-weight:700;letter-spacing:-.035em;line-height:1.45}
.post-card h2{font-weight:600;letter-spacing:-.02em}
.post-card .meta{letter-spacing:.015em}.excerpt{font-weight:400;letter-spacing:-.01em}
@media(max-width:650px){footer{gap:8px;font-size:11px;min-height:77px}footer #pagination,.board-list-view footer #pagination{gap:6px;font-size:12px}footer #pagination button{padding:7px 8px;font-size:12px}footer #page-label{min-width:38px}}
@media(max-width:359px){footer{gap:4px;font-size:10px}footer #pagination,.board-list-view footer #pagination{gap:4px}footer #pagination button{padding:7px 5px}}
@media(max-height:600px){.board-list-view footer{min-height:61px;padding-top:12px;padding-bottom:12px}}

/* Compact mobile notice list with readable two-line previews. */
.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
@media(max-width:650px){
 .board-header{padding:14px 0;gap:8px}
 .header-actions{gap:6px}
 .header-actions button{white-space:nowrap;font-size:12px;line-height:18px;padding:8px 9px}
 .board-list-view .board-header{padding:14px 0}
 .board-list-view main{padding:16px 0 12px}
 .board-list-view .heading{margin-bottom:14px}
 .board-list-view .heading h1{font-size:25px;line-height:34px}
 .board-list-view .eyebrow{font-size:10px;line-height:15px;letter-spacing:.14em;margin:0 0 3px}
 .board-list-view .post-card{height:112px;padding:9px 0}
 .board-list-view .post-card h2{font-size:16px;line-height:24px}
 .board-list-view .post-card .meta{font-size:11px;line-height:16px;margin-top:4px}
 .board-list-view .excerpt{font-size:14px;line-height:21px;height:42px;margin-top:4px;-webkit-line-clamp:2}
 .board-list-view footer{min-height:61px;padding:12px 0}
}
@media(max-width:359px){.board-header .brand{font-size:10px;letter-spacing:.02em}.header-actions button{padding:8px 7px}}

/* Denser mobile list: retain two preview lines and 14px body text. */
@media(max-width:650px){
 .board-list-view .board-header{padding:10px 0}
 .board-list-view main{padding:12px 0 8px}
 .board-list-view .heading{margin-bottom:10px}
 .board-list-view .heading>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;width:100%}
 .board-list-view .heading h1{order:-1;font-size:23px;line-height:30px}
 .board-list-view .eyebrow{margin:0;white-space:nowrap;line-height:15px;letter-spacing:.1em}
 .board-list-view .post-card{height:96px;padding:7px 0}
 .board-list-view .post-card h2{line-height:22px}
 .board-list-view .post-card .meta{line-height:16px;margin-top:2px}
 .board-list-view .excerpt{line-height:19px;height:38px;margin-top:2px}
 .board-list-view footer{min-height:53px;padding:8px 0}
}

/* Share surplus list space above and below when another full page follows. */
.board-list-view main{display:flex;flex-direction:column}
.board-list-view main> *{flex-shrink:0}
/* The outer rule belongs to the fixed frame, not the moving list. */
.list-viewport{display:none}
.board-list-view .list-viewport{display:flex;flex-direction:column;flex:1;min-height:0;border-top:1px solid #c5bfff26}
.board-list-view #post-list{border-top:0;flex-shrink:0;margin:0}
.board-list-view .list-viewport{justify-content:center}
.board-list-view #post-list{height:var(--list-capacity-height,auto)}
@media(min-width:651px){
 .board-list-view main{padding-top:clamp(16px,3svh,38px);padding-bottom:clamp(16px,2.5svh,30px)}
 .board-list-view .heading{margin-bottom:clamp(12px,2svh,22px)}
}

/* Center against the actual footer rule, including the former bottom padding. */
.board-list-view main{padding-bottom:0}

/* Shared title spacing and explicit line boxes prevent uneven alignment. */
@media(min-width:651px){
 .board-list-view{--heading-gap:clamp(16px,2svh,22px)}
 .board-list-view main{padding-top:var(--heading-gap)}
 .board-list-view .heading{margin-bottom:var(--heading-gap)}
 .board-list-view .heading>div{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}
 .board-list-view .eyebrow{margin:0;font-size:12px;line-height:18px}
 .board-list-view .heading h1{line-height:44px}
 .board-header button{line-height:20px}
 .board-list-view .post-card{display:flex;flex-direction:column;justify-content:center;padding-block:0}
 .board-list-view .post-card>*{flex-shrink:0}
 .board-list-view .post-card h2{line-height:28px}
 .board-list-view .post-card .meta{margin-top:6px}
}
@media(min-width:651px) and (max-height:450px){.board-list-view .heading h1{line-height:32px}.board-list-view .heading>div{gap:4px}}
@media(max-width:650px){.board-list-view main{padding-top:10px}}

/* Fade every desktop artwork layer into the exact page background color. */
@media(min-width:651px){
 body::before{
  background-image:
   linear-gradient(180deg,rgba(16,19,41,0) 20%,rgba(16,19,41,.06) 32%,rgba(16,19,41,.22) 46%,rgba(16,19,41,.48) 60%,rgba(16,19,41,.74) 74%,rgba(16,19,41,.91) 86%,rgba(16,19,41,.98) 94%,#101329 99%,#101329 100%),
   linear-gradient(90deg,rgba(12,16,37,.94) 0%,rgba(16,20,43,.88) 28%,rgba(19,22,46,.8) 46%,rgba(19,22,46,.76) 100%),
   url('background-dawn.jpg');
 }
}

/* Use one shared heading row and the same outer edges at every width. */
.heading>div,.board-list-view .heading>div{display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;gap:16px;width:100%;min-width:0}
.heading h1,.board-list-view .heading h1{order:-1;margin:0;white-space:nowrap}
.heading .eyebrow,.board-list-view .heading .eyebrow{margin:0;white-space:nowrap;text-align:right;flex-shrink:0}

/* Desktop eyebrow shares the Korean heading's actual width. */
@media(min-width:651px){
 .heading>div,.board-list-view .heading>div{position:relative;display:block;width:max-content;max-width:100%;padding-top:26px}
 .heading h1,.board-list-view .heading h1{width:max-content;order:initial}
 .heading .eyebrow,.board-list-view .heading .eyebrow{position:absolute;inset:0 0 auto;display:flex;justify-content:space-between;align-items:center;width:100%;font-size:12px;line-height:18px;letter-spacing:0;text-align:left}
}

/* Compact desktop rows: date beside title, preview below. */
@media(min-width:651px){
 .board-list-view .board-header{padding:16px 0}
 .board-list-view{--heading-gap:24px}
 .board-list-view footer{padding:12px 0;min-height:61px}
 .board-list-view .post-card{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:24px 40px;align-content:center;align-items:center;column-gap:20px;row-gap:6px;height:112px;padding:0}
 .board-list-view .post-card h2{grid-column:1;grid-row:1;font-size:17px;line-height:24px;min-width:0}
 .board-list-view .post-card .meta{grid-column:2;grid-row:1;margin:0;line-height:18px;font-size:11px}
 .board-list-view .excerpt{grid-column:1 / -1;grid-row:2;margin:0;font-size:14px;line-height:20px;height:40px;-webkit-line-clamp:2}
}
@media(min-width:651px) and (max-height:900px){
 .board-list-view .post-card{height:76px;grid-template-rows:24px 20px;row-gap:4px}
 .board-list-view .excerpt{height:20px;-webkit-line-clamp:1}
}

.meta-mobile{display:none}
@media(max-width:650px){
 .post-card .meta-desktop{display:none}
 .post-card .meta-mobile{display:inline}
 .board-list-view .post-card{display:grid;grid-template-columns:minmax(0,1fr) max-content;grid-template-rows:22px 38px;column-gap:10px;row-gap:4px;align-content:center;align-items:center;height:82px;padding:0}
 .board-list-view .post-card h2{grid-column:1;grid-row:1;min-width:0}
 .board-list-view .post-card .meta{grid-column:2;grid-row:1;margin:0;font-size:10px;line-height:16px;white-space:nowrap;text-align:right}
 .board-list-view .post-card .excerpt{grid-column:1 / -1;grid-row:2;margin:0;height:38px;line-height:19px;-webkit-line-clamp:2}
}

/* The heading divider is shared by list and article views. */
html{scrollbar-gutter:auto}
.heading-rule{height:1px;flex-shrink:0;background:#c5bfff26}
.board-list-view .list-viewport{border-top:0}
body:not(.board-list-view) #post-detail{padding-top:16px}
@media(min-width:651px){
 body:not(.board-list-view) .board-header{padding:16px 0}
 body:not(.board-list-view) main{padding-top:24px}
 body:not(.board-list-view) .heading{margin-bottom:24px}
 body:not(.board-list-view) .heading h1{line-height:44px}
}
@media(min-width:651px) and (max-height:450px){body:not(.board-list-view) .heading h1{font-size:24px;line-height:32px}}
@media(max-width:650px){
 body:not(.board-list-view) .board-header{padding:10px 0}
 body:not(.board-list-view) main{padding-top:10px}
 body:not(.board-list-view) .heading{margin-bottom:10px}
 body:not(.board-list-view) .heading>div{gap:12px}
 body:not(.board-list-view) .heading h1{font-size:23px;line-height:30px}
 body:not(.board-list-view) .heading .eyebrow{font-size:10px;line-height:15px;letter-spacing:.1em}
}

#detail-date{white-space:pre-line;line-height:1.8}
