/* Hallmark · shape: app screen · genre: playful · theme: Paste-up (deal 2/3, seed community-cafe-layout-cafexe-1d9d·130090ec·2026-11-30·r0)
 * nav: account links and search over the name, the site menu as tabs on the board · signature: the newest notices pinned to the wall as three tilted flyers, the first on fluorescent paper · states: front page with and without notices, signed in, signed out, cafe and plain site · pasteup: kraft
 * axes: mid/display-condensed/chromatic-yellow · posture: committed · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R, Hangul has no condensed capitals, so Black Han Sans carries the poster voice beside League Gothic and only the flyers tilt. */
/* Hallmark · waive 37 · Black Han Sans and Gowun Batang carry only the Hangul League Gothic and Newsreader lack · a Korean noticeboard needs Hangul poster type */
:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.75rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.2rem; --text-xl: 1.44rem; --text-2xl: 1.728rem; --text-3xl: 2.074rem;
  --text-display-s: 1.44rem; --text-display: 1.728rem; --text-section: 1.2rem; --text-title: 1rem; --text-lead: 1rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(73% 0.068 70); --color-paper-2: oklch(66% 0.072 68); --color-paper-3: oklch(97% 0.008 90);
  --color-ink: oklch(17% 0.01 60); --color-ink-2: oklch(24% 0.014 60); --color-muted: oklch(28% 0.026 62);
  --color-rule: oklch(50% 0.055 68); --color-rule-2: oklch(84% 0.012 85);
  --color-accent: oklch(93% 0.2 112); --color-accent-ink: oklch(17% 0.01 60); --color-focus: oklch(17% 0.01 60);
  --font-display: "League Gothic", "Black Han Sans", Impact, sans-serif; --font-body: "Newsreader", "Gowun Batang", Georgia, serif;
  --radius-card: 0; --radius-pill: 999px; --rule-hair: 1px;
  --shadow-card: 0 1px 0 oklch(18% 0.01 60 / 0.2), 0 4px 10px oklch(18% 0.01 60 / 0.12);
  --shadow-sheet: 0 14px 30px oklch(18% 0.01 60 / 0.26), 0 2px 4px oklch(18% 0.01 60 / 0.14);
  --tracking-display: 0.01em; --display-weight: 400;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 70%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* photographs: mono con=45 */
[data-slot] > img { filter: grayscale(1) contrast(1.45); }

/* Hangul faces sit in tokens.css beside the theme's Latin faces: Black Han Sans under League Gothic, Gowun Batang under Newsreader. */

body.nb-body { background: var(--color-paper); }
.nb { min-height: 100vh; display: flex; flex-direction: column; color: var(--color-ink); font-size: 1.0625rem; word-break: keep-all; overflow-wrap: anywhere; }
.nb-wrap { width: 100%; max-width: 74rem; margin-inline: auto; padding-inline: var(--gutter); }
.nb-skip { position: absolute; left: var(--space-md); top: -100px; z-index: var(--z-tooltip); padding: var(--space-xs) var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); }
.nb-skip:focus-visible { top: var(--space-md); }

/* Fibre wash on the kraft band */
.fibre { position: relative; isolation: isolate; }
.fibre::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5; mix-blend-mode: multiply; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.02 0.03' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.45 0 0 0 0 0.3 0 0 0 0.28 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"); }

/* Masthead */
.nb-mast { background: var(--color-paper-2); border-bottom: 4px solid var(--color-ink); }
.nb-mast__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-xs) var(--space-lg); padding-top: var(--space-sm); }
.nb-account { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); }
.nb-account a { display: inline-flex; align-items: center; min-height: 40px; font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); text-decoration-thickness: 1px; }
.nb-account a:hover { text-decoration-thickness: 3px; }
.nb-search { display: flex; }
.nb-search input { width: 12rem; min-height: 40px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-ink); border-right: 0; border-radius: 0; background: var(--color-paper-3); color: var(--color-ink); font-size: var(--text-sm); }
.nb-search button { min-height: 40px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-ink); border-radius: 0; background: var(--color-paper); color: var(--color-ink); font: 500 var(--text-sm)/1 var(--font-body); cursor: pointer; }
.nb-search button:hover { background: var(--color-paper-3); }
.nb-search input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.nb-mast__name { padding-block: var(--space-xl) var(--space-lg); }
.nb-name { display: inline-block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: 0.95; letter-spacing: var(--tracking-display); text-transform: uppercase; text-decoration: none; color: var(--color-ink); }
.nb-name:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 0.12em; }
.nb-intro { margin-top: var(--space-sm); max-width: 48ch; font-size: var(--text-lg); color: var(--color-ink); }

.nb-menu ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-2xs); margin: 0; padding: 0; list-style: none; }
.nb-menu > ul > li { position: relative; }
.nb-menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); font-weight: 500; text-decoration: none; color: var(--color-ink); border: var(--rule-hair) solid transparent; border-bottom: 0; }
.nb-menu a:hover { background: var(--color-paper); }
.nb-menu a[aria-current="page"] { background: var(--color-paper-3); border-color: var(--color-ink); margin-bottom: calc(-1 * var(--space-2xs)); padding-bottom: var(--space-2xs); }
.nb-menu li ul { position: absolute; left: 0; top: 100%; z-index: var(--z-dropdown); min-width: 12rem; display: none; flex-direction: column; padding: var(--space-2xs) 0; background: var(--color-paper-3); box-shadow: var(--shadow-sheet); }
.nb-menu li:hover > ul, .nb-menu li:focus-within > ul { display: flex; }
.nb-menu li ul a { width: 100%; min-height: 40px; border: 0; }

/* The wall of flyers: the signature */
.nb-wall { padding-block: var(--space-2xl) var(--space-lg); }
.nb-wall__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-xs) var(--space-lg); margin-bottom: var(--space-lg); }
.nb-wall__head h2 { max-width: none; font-size: var(--text-3xl); text-transform: uppercase; }
.nb-link { font-weight: 500; color: var(--color-ink); text-decoration-thickness: 1px; }
.nb-link:hover { text-decoration-thickness: 3px; }
.nb-wall__flyers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }
.nb-flyer { rotate: var(--r, 0deg); background: var(--color-paper-3); box-shadow: var(--shadow-sheet); transition: rotate var(--dur-short) var(--ease-out), translate var(--dur-short) var(--ease-out); }
.nb-flyer:hover, .nb-flyer:focus-within { rotate: 0deg; translate: 0 -3px; }
.nb-flyer--fluoro { background: var(--color-accent); }
.nb-flyer a { display: grid; gap: var(--space-sm); height: 100%; padding: var(--space-lg); color: var(--color-ink); text-decoration: none; }
.nb-flyer a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.nb-flyer__date { font-family: var(--font-display); font-size: var(--text-3xl); line-height: 1; text-transform: uppercase; }
.nb-flyer__title { font-weight: 500; font-size: var(--text-lg); line-height: 1.35; }
.nb-flyer a:hover .nb-flyer__title { text-decoration: underline; text-decoration-thickness: 2px; }
.nb-flyer__summary { font-size: var(--text-sm); line-height: 1.5; color: var(--color-ink-2); }

/* Body */
.nb-body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: var(--space-xl); align-items: start; padding-block: var(--space-xl) var(--space-3xl); flex: 1; }
.nb-body-grid--single { grid-template-columns: minmax(0, 1fr); }
.nb-content { min-width: 0; padding: var(--space-xl); background: var(--color-paper-3); box-shadow: var(--shadow-card); }
.nb-content:focus { outline: none; }
.nb-side { display: grid; gap: var(--space-lg); min-width: 0; }
.nb-sheet { padding: var(--space-lg); background: var(--color-paper-3); box-shadow: var(--shadow-card); }
.nb-sheet__head { margin-bottom: var(--space-sm); font-size: 1.8rem; text-transform: uppercase; max-width: none; }
.nb-facts dl { margin: 0; }
.nb-facts dl > div { display: flex; justify-content: space-between; gap: var(--space-sm); padding-block: var(--space-xs); border-top: var(--rule-hair) solid var(--color-rule-2); }
.nb-facts dt { font-size: var(--text-sm); }
.nb-facts dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Shared buttons, also used by the board skin */
.nb-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-ink); border-radius: 0; background: var(--color-paper-3); color: var(--color-ink); font: 500 15px/1.2 var(--font-body); text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--color-ink); transition: translate var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }
.nb-btn:hover { translate: 1px 1px; box-shadow: 3px 3px 0 var(--color-ink); }
.nb-btn:active { translate: 4px 4px; box-shadow: none; }
.nb-btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.nb-btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }

/* XE content widgets on the front page (CafeXE's home page) */
.nb-content .xe-widget-wrapper { margin-bottom: var(--space-xl); }
.nb-content .xe-widget-wrapper:last-child { margin-bottom: 0; }
.nb-content .widgetStyle_simple, .nb-content .widgetContainer { margin: 0; padding: 0; border: 0; background: none; }
.nb-content .nb-home-head, .nb-content .widgetHeader, .nb-content .widgetTitle, .nb-content h2.title, .nb-content .widgetStyle_simple h2 { margin: 0 0 var(--space-sm); padding: 0 0 var(--space-xs); border: 0; border-bottom: 3px solid var(--color-ink); background: none; font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; color: var(--color-ink); }
.nb-content .widgetA, .nb-content .widgetB { margin: 0; padding: 0; list-style: none; }
.nb-content .widgetA li, .nb-content .widgetB li { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-sm); margin: 0; padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule-2); background: none; }
.nb-content .widgetA li a.title, .nb-content .widgetA li .title a { flex: 1 1 16rem; font-weight: 500; color: var(--color-ink); text-decoration: none; }
.nb-content .widgetA li a:hover { text-decoration: underline; }
.nb-content .widgetA .date, .nb-content .widgetA .hour, .nb-content .widgetA .author, .nb-content .widgetA .category, .nb-content .widgetA .replyNum, .nb-content .widgetA .nick_name { font-size: var(--text-sm); color: var(--color-ink-2); }
.nb-content .widgetA .icon, .nb-content .widgetA img.icon { display: none; }
.nb-content .widgetGallery, .nb-content .widgetGalleryA { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
.nb-content .widgetGallery li, .nb-content .widgetGalleryA li { margin: 0; padding: 0; width: auto; float: none; background: none; }
.nb-content .widgetGallery img, .nb-content .widgetGalleryA img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.3); }
.nb-content .xe_content { color: var(--color-ink); font-size: inherit; line-height: 1.7; }

.nb-content .nb-home-head ~ .nb-home-head, .nb-content .xe-widget-wrapper + .nb-home-head { margin-top: var(--space-2xl); }
.nb-content .widgetA li .date, .nb-content .widgetA li .hour { margin-inline-start: auto; }
.nb-content .widgetA li .nick_name, .nb-content .widgetA li .author { order: 3; }

.nb-content .nb-home-head { max-width: none; }
.nb-content .widgetA a.board { padding: 0 var(--space-xs); border: 0; background: var(--color-rule-2); font-size: var(--text-sm); text-decoration: none; }
.nb-content .widgetA a.board strong { font-weight: 500; }
.nb-content .widgetA .replyNum { font-style: normal; }
.nb-content .widgetA .replyNum a { color: var(--color-ink-2); font-size: var(--text-sm); text-decoration: none; }
.nb-content .widgetA .replyNum a::before { content: "댓글 "; }
.nb-content .widgetA .hour { display: none; }

/* Footer */
.nb-foot { margin-top: auto; background: var(--color-ink); color: var(--color-paper); }
.nb-foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md) var(--space-xl); padding-block: var(--space-xl); }
.nb-foot__name { font-family: var(--font-display); font-size: 1.8rem; text-transform: uppercase; }
.nb-foot__menu { display: flex; flex-wrap: wrap; gap: var(--space-md); margin: 0; padding: 0; list-style: none; }
.nb-foot a { color: var(--color-paper); }
.nb-foot a:hover { text-decoration-thickness: 3px; }
.nb-foot :focus-visible { outline-color: var(--color-accent); }

@media (max-width: 60rem) {
  .nb-body-grid { grid-template-columns: minmax(0, 1fr); }
  .nb-wall__flyers { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .nb-flyer:nth-child(n+2) { rotate: 0deg; }
  .nb-search { flex: 1 1 100%; }
  .nb-search input { flex: 1; width: auto; }
}
@media (max-width: 40rem) {
  .nb-content { padding: var(--space-lg) var(--space-md); }
  .nb-mast__name { padding-block: var(--space-lg) var(--space-md); }
  .nb-menu a { padding: 0 var(--space-sm); }
}
