:root{color-scheme:light;--paper:#f8f6ef;--white:#fffdf8;--ink:#263d35;--muted:#596761;--line:#dcded2;--green:#305344;--sage:#e8ece0;--accent:#925b42;--serif:Georgia,"Batang","Times New Roman",serif;--sans:"Malgun Gothic","Apple SD Gothic Neo",system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.6}img,video{max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}:focus-visible{outline:3px solid #ab6c4c;outline-offset:4px}.wrap{width:min(1160px,calc(100% - 72px));margin:auto}.skip{position:absolute;left:12px;top:-80px;background:var(--ink);color:white;padding:10px;z-index:5}.skip:focus{top:12px}
header{border-bottom:1px solid var(--line);background:var(--white)}.mast{min-height:81px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;align-items:center;gap:12px;font-size:20px;font-family:var(--serif);font-weight:700;line-height:1.15;white-space:nowrap}.brand small{display:block;font:700 9px var(--sans);letter-spacing:.2em;color:var(--muted);margin-top:5px}.mark{width:41px;height:41px;border:1px solid #bac7b9;border-radius:50%;display:grid;place-items:center;background:#ecf0e5;font-size:22px;color:var(--green)}nav{display:flex;gap:27px;align-items:center}nav a{padding:8px 0;font-size:14px;white-space:nowrap;color:var(--muted)}nav a[aria-current]{color:var(--green);font-weight:700;border-bottom:2px solid var(--green)}.find{font-size:30px;width:42px;text-align:center;border:1px solid var(--line);border-radius:50%;height:42px;line-height:34px}.find:hover,.chip:hover{background:var(--sage)}
.hero{margin:45px 0 55px;min-height:430px;display:grid;grid-template-columns:.9fr 1.1fr;background:var(--sage);border:1px solid #d7dfd0;border-radius:26px;overflow:hidden}.hero-copy{padding:52px 24px 52px clamp(30px,5vw,73px);align-self:center}.eyebrow{margin:0 0 13px;font-size:10px;font-weight:800;letter-spacing:.2em;color:var(--accent)}.eyebrow span{display:inline-block;width:21px;height:1px;background:currentColor;vertical-align:middle;margin-right:7px}h1,h2,h3{line-height:1.25;margin:0;font-family:var(--serif);word-break:keep-all;overflow-wrap:anywhere}h1{font-size:clamp(40px,5.3vw,76px);letter-spacing:-.055em}.intro{color:var(--muted);font-size:16px;line-height:1.9;margin:19px 0 25px;word-break:keep-all}.mobile-break{display:none}.primary{border:1px solid var(--green);background:var(--green);color:white;display:inline-flex;align-items:center;justify-content:center;gap:20px;padding:12px 20px;border-radius:9px;font-size:14px;font-weight:700;min-height:45px}.primary:hover{background:#213d32}.hero-art{margin:28px;position:relative;align-self:stretch;min-height:350px;background:#d1dacd;overflow:hidden;border-radius:16px}.hero-art img{height:100%;width:100%;object-fit:cover;object-position:center;display:block;position:absolute;inset:0}.hero-art figcaption{position:absolute;bottom:0;inset-inline:0;background:linear-gradient(transparent,#102219dd);color:#fff;padding:45px 20px 15px;display:flex;justify-content:space-between;gap:10px;align-items:end;font-size:13px}.hero-art figcaption span:first-child{font-size:10px;letter-spacing:.19em}
.home-section{margin:0 0 48px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:20px}h2{font-size:clamp(27px,3.2vw,40px);letter-spacing:-.045em}.section-head .eyebrow{margin-bottom:6px}.more,.back{font-size:13px;font-weight:700;color:var(--green);text-underline-offset:4px}.more:hover,.back:hover{text-decoration:underline}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.card{min-width:0;border:1px solid var(--line);border-radius:16px;background:var(--white);overflow:hidden;display:flex;flex-direction:column;transition:transform .18s,border-color .18s}.card:hover{transform:translateY(-3px);border-color:#91a48e}.card-photo{aspect-ratio:1.72;overflow:hidden;background:#e8eade;display:grid;place-items:center}.card-photo img{width:100%;height:100%;object-fit:cover}.placeholder{font-size:42px;color:#809584}.card-copy{padding:18px 20px 21px;flex:1;display:flex;flex-direction:column}.meta{font-size:11px;color:var(--accent);font-weight:800;letter-spacing:.025em}.meta span,.byline span{margin:0 5px}.card h3{font-size:22px;margin:8px 0 0}.card p{margin:8px 0 14px;color:var(--muted);font-size:13px;line-height:1.65;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.card-more{margin-top:auto;font-size:12px;font-weight:800}.card-more span{padding-left:4px}
.year-panel{margin:0 0 52px;background:#efeee4;border:1px solid var(--line);border-radius:18px;padding:30px}.year-panel>p:not(.eyebrow){color:var(--muted);margin:10px 0 18px}.years{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.years a{display:flex;align-items:center;gap:9px;background:var(--white);border:1px solid var(--line);border-radius:8px;padding:8px 12px;font-size:17px;font-weight:700}.years a:hover{background:var(--sage)}.years span{font-size:11px;color:var(--muted)}
.archive{padding:48px 0 55px}.archive h1,.reading h1{font-size:clamp(35px,5vw,58px)}.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.chip{display:inline-flex;min-height:41px;align-items:center;justify-content:center;padding:7px 13px;border-radius:99px;border:1px solid var(--line);background:var(--white);font-size:13px;font-weight:700}.chip.chosen{background:var(--green);color:white;border-color:var(--green)}.search{display:grid;grid-template-columns:minmax(0,2fr) minmax(130px,1fr) minmax(130px,1fr) auto;gap:10px;align-items:end;padding:15px;background:var(--sage);border-radius:12px}.search label{font-size:12px;font-weight:700}.search input,.search select{margin-top:4px;display:block;width:100%;min-width:0;height:45px;border:1px solid #bac5b9;border-radius:8px;padding:8px 11px;background:var(--white);color:var(--ink);font-size:16px}.results{font-size:13px;color:var(--muted);margin:20px 0 12px}.pager{display:flex;justify-content:center;align-items:center;gap:13px;margin-top:23px}.empty{text-align:center;padding:55px 12px}.empty p{color:var(--muted)}
.reading{width:min(830px,calc(100% - 56px));margin:44px auto 35px}.back{display:inline-block;margin-bottom:24px}.byline{font-size:14px;color:var(--muted);margin:15px 0 26px}.story-body{background:var(--white);border:1px solid var(--line);border-radius:17px;padding:clamp(17px,4vw,38px);font-size:17px;line-height:1.9;overflow-wrap:anywhere;overflow:hidden;min-width:0}.story-body a,.file-link{text-decoration:underline;text-underline-offset:3px}.story-body .photo{display:block;padding:0;border:0;margin:12px auto;background:transparent;border-radius:10px;overflow:hidden;max-width:100%;cursor:zoom-in}.photo img{display:block;max-width:100%;height:auto}.photo:has(.unavailable){width:100%;min-height:82px;background:var(--sage);padding:14px;cursor:default}.unavailable{display:block;color:var(--muted);font-size:13px}.story-body table{width:100%;table-layout:fixed;border-collapse:collapse}.story-body td,.story-body th{overflow-wrap:anywhere}.story-body pre{white-space:pre-wrap}.story-body blockquote{margin-inline:0;padding:0 0 0 16px;border-left:3px solid #9dad99}.story-body video{display:block;width:100%;margin-top:14px;background:#18241e;border-radius:9px}.file-link{display:inline-block;margin:7px 0}.story-end{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}.related{margin-bottom:45px;max-width:830px}.related .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
footer{border-top:1px solid var(--line);background:var(--white)}.foot{padding:26px 0;display:flex;justify-content:space-between;align-items:center;gap:14px;color:var(--muted);font-size:13px}
dialog{max-width:none;max-height:none;width:100%;height:100%;margin:0;padding:0;border:0;background:#12201af5;color:white;overflow:auto}dialog[open]{display:grid;place-items:center}dialog::backdrop{background:#12201a}.viewer-bar{position:fixed;top:12px;inset-inline:16px;display:flex;justify-content:space-between;align-items:center;z-index:1}.viewer-bar button,.prev-photo,.next-photo{border:1px solid #fff6;border-radius:50%;background:#172b23;color:#fff;min-width:45px;min-height:45px;font-size:28px}.prev-photo,.next-photo{position:fixed;top:50%;transform:translateY(-50%)}.prev-photo{left:12px}.next-photo{right:12px}#full-photo{width:auto;height:auto;max-width:calc(100% - 108px);max-height:calc(100dvh - 110px);object-fit:contain}body:has(dialog[open]){overflow:hidden}
@media(max-width:900px){.wrap{width:calc(100% - 42px)}.hero{margin-top:28px}.hero-copy{padding-left:32px}.hero-art{margin:19px;min-height:320px}nav{gap:17px}.grid{gap:13px}.card-copy{padding:14px}.card h3{font-size:19px}}
@media(max-width:650px){.wrap{width:calc(100% - 30px)}.mast{min-height:0;display:grid;grid-template-columns:1fr auto;gap:9px;padding-top:13px}.mast nav{grid-row:2;grid-column:1/-1;justify-content:space-between;gap:8px;overflow:auto;padding:0 1px}.mast nav a{min-height:44px;display:flex;align-items:center;font-size:13px}.find{grid-column:2;grid-row:1}.brand{font-size:18px}.mark{width:36px;height:36px}.hero{display:flex;flex-direction:column;margin:19px 0 35px;min-height:0;border-radius:18px}.hero-copy{padding:25px 21px 9px;align-self:stretch}.hero-art{margin:14px;min-height:0;aspect-ratio:1.42;border-radius:12px}.hero-art figcaption{padding:28px 12px 10px}.hero h1{font-size:46px}.intro{font-size:14px;margin:12px 0 16px}.grid{grid-template-columns:1fr}.section-head{gap:8px;align-items:end}.section-head .more{font-size:11px;white-space:nowrap}.home-section{margin-bottom:32px}.year-panel{padding:20px;margin-bottom:30px}.archive{padding:25px 0 35px}.search{grid-template-columns:1fr 1fr;padding:12px}.search label:first-child{grid-column:1/-1}.search button{grid-column:1/-1}.reading{width:calc(100% - 30px);margin:24px auto}.back{margin-bottom:15px}.story-body{font-size:16px}.related .grid{grid-template-columns:1fr}.foot{align-items:flex-start;flex-direction:column}.prev-photo{left:7px}.next-photo{right:7px}.prev-photo,.next-photo{top:auto;bottom:10px;transform:none}#full-photo{max-width:100%;max-height:calc(100dvh - 130px)}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.comments{margin-top:34px}.comments h2{font-size:clamp(24px,3vw,33px);margin-bottom:16px}.comments h2 span{color:var(--muted);font:700 13px var(--sans);margin-left:6px}.reply-list{list-style:none;margin:0;padding:0}.reply-list li{margin:0 0 10px;scroll-margin-top:14px}.reply-list .reply-list{margin:9px 0 0 11px;padding-left:13px;border-left:2px solid #bac9b9}.reply{background:var(--white);border:1px solid var(--line);padding:14px 17px;border-radius:12px;min-width:0}.reply-list li:target>.reply{border-color:var(--accent);box-shadow:0 0 0 2px #925b4233}.reply-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px 10px;font-size:13px}.reply-meta time,.reply-note{color:var(--muted);font-size:12px}.reply-label{font-size:11px;font-weight:700;color:var(--green);background:var(--sage);padding:1px 6px;border-radius:5px}.reply h3{font:700 15px/1.5 var(--sans);margin:7px 0 0}.story-body.reply-body{padding:0;border:0;border-radius:0;background:transparent;font-size:15px;line-height:1.8;margin-top:5px}.reply-note{margin:5px 0}.reply-body>p{margin:.4em 0}.reply-body:empty{display:none}@media(max-width:650px){.reply-list .reply-list{margin-left:4px;padding-left:7px}.reply{padding:11px}.comments{margin-top:24px}}

.mast-actions{display:flex;align-items:center;gap:7px;flex-shrink:0}.mast-actions .chip{white-space:nowrap}.editor-page h1{margin-bottom:18px}.edit-form{display:grid;gap:15px;max-width:100%;margin:12px 0 24px}.edit-form label,#edit-body-label{font-size:14px;font-weight:700}.edit-form input:not([type=hidden]),.edit-form select{display:block;width:100%;margin-top:5px;padding:10px 12px;border:1px solid #b8c7b9;border-radius:9px;color:var(--ink);background:var(--white);font-size:16px}.edit-form .edit-body{margin-top:5px;min-height:170px;max-height:65vh;overflow:auto;padding:15px;cursor:text}.edit-body:empty::before{content:'오늘의 이야기를 남겨 보세요.';color:var(--muted)}.edit-body img{max-height:240px;object-fit:contain;vertical-align:middle}.editor-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.editor-tools form{margin:0}.edit-hint,#selected-photos{margin:-7px 0 0;color:var(--muted);font-size:13px}.editor-error{color:#813e29}.pair-code{width:fit-content;padding:12px 18px;border:1px solid var(--line);border-radius:12px;background:var(--white);font:700 33px var(--sans);letter-spacing:.18em;user-select:all}.story-actions{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:18px}.story-actions .back{margin:0}@media(max-width:650px){.mast-actions{grid-column:2;grid-row:1}.mast-actions .find{font-size:24px;width:34px;height:34px;line-height:28px}.mast-actions .chip{min-height:36px;padding:5px 9px}.edit-form .edit-body{min-height:160px}}

.byline:has(+.byline-date-note){margin-bottom:4px}.byline-date-note{font-size:13px;color:var(--muted);margin:0 0 24px}
