:root {
  color-scheme: light;
  --cream: #f8f5ec;
  --cream-deep: #eef1f3;
  --paper: #fff;
  --navy: #17191d;
  --navy-soft: #3c4043;
  --ink: #202124;
  --muted: #62676e;
  --coral: #d93662;
  --teal: #007e74;
  --gold: #e2a000;
  --cyan-pop: #00d5c3;
  --pink-pop: #ff4778;
  --yellow-pop: #ffc61f;
  --line: rgba(23, 25, 29, .24);
  --shadow: 7px 8px 0 var(--cyan-pop), 0 16px 34px rgba(23, 25, 29, .12);
  --code-bg: #202124;
  --code-text: #f8f9fa;
  --shell: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--cream); }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 71, 120, .13), transparent 25rem),
    radial-gradient(circle at 88% 28%, rgba(0, 213, 195, .15), transparent 30rem),
    var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: .18;
  background-image: radial-gradient(circle at 1px 1px, rgba(23, 25, 29, .25) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { color: inherit; font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.shell { width: min(100% - (var(--gutter) * 2), var(--shell)); margin-inline: auto; }
.screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 11px 16px;
  transform: translateY(-150%);
  border-radius: 12px;
  color: var(--paper);
  background: var(--navy);
  font-weight: 800;
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--navy);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  box-shadow: 0 5px 0 var(--yellow-pop);
  backdrop-filter: blur(18px) saturate(1.35);
}
.site-header::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; content: ""; background: linear-gradient(90deg, var(--cyan-pop) 0 34%, var(--pink-pop) 34% 67%, var(--yellow-pop) 67%); }
.header-inner { display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; min-height: 48px; align-items: center; gap: 12px; color: var(--navy); }
.brand-copy { display: flex; align-items: center; line-height: 1; }
.brand-duck-image { width: 32px; height: 32px; object-fit: contain; transition: transform 160ms ease; }
.brand-wordmark-image { width: 124px; height: auto; object-fit: contain; transform: translateY(1px); }
.duck-mark {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 2px solid var(--navy);
  border-radius: 50% 50% 38% 42%;
  background: var(--gold);
  box-shadow: 3px 4px 0 var(--navy);
}
.duck-mark::before {
  position: absolute;
  top: 14px;
  right: -11px;
  width: 18px;
  height: 10px;
  content: "";
  border: 2px solid var(--navy);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: var(--coral);
}
.duck-mark::after {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--navy);
}
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.7vw, 34px); margin-left: auto; }
.desktop-nav > a, .site-footer nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--navy);
  font-family: "House Duck Sans", sans-serif;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.desktop-nav > a { position: relative; padding-inline: 10px; border-radius: 9px; transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.desktop-nav > a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--pink-pop);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}
.desktop-nav > a:hover, .desktop-nav > a:focus-visible { background: color-mix(in srgb, var(--ink) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent); transform: translateY(-2px); }
.desktop-nav > a:hover::after, .desktop-nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.desktop-nav > a:active { transform: translateY(1px) scale(.97); }
.category-dock { position: fixed; top: 86px; right: 14px; z-index: 80; }
.category-dock details { position: relative; }
.category-dock summary { display: flex; min-height: 44px; align-items: center; gap: 8px; padding: 0 12px; border: 2px solid var(--navy); border-radius: 11px 4px 11px 4px; color: var(--paper); background: var(--navy); box-shadow: 4px 4px 0 var(--yellow-pop); cursor: pointer; font-family: "House Duck Sans", sans-serif; font-size: .64rem; font-weight: 900; letter-spacing: .1em; list-style: none; text-transform: uppercase; }
.category-dock summary::-webkit-details-marker { display: none; }
.category-dock details[open] summary span:last-child { transform: rotate(45deg); }
.category-dock-panel { position: absolute; top: 54px; right: 0; width: min(82vw, 250px); max-height: calc(100vh - 156px); padding: 12px; overflow: auto; border: 2px solid var(--navy); border-radius: 16px 5px 16px 5px; background: color-mix(in srgb, var(--paper) 78%, transparent); box-shadow: 6px 7px 0 color-mix(in srgb, var(--cyan-pop) 82%, transparent), 0 18px 48px rgba(23, 25, 29, .18); backdrop-filter: blur(22px) saturate(1.45); }
.category-dock-panel .tt_category,
.category-tree .tt_category,
.tt_category ul { margin: 0; padding: 0; list-style: none; }
.tt_category a { display: flex; min-height: 38px; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 9px 3px 9px 3px; color: var(--muted); font-family: "House Duck Sans", "Noto Sans KR", sans-serif !important; font-size: .73rem !important; font-weight: 760; line-height: 1.3; transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
.tt_category a:hover,
.tt_category a:focus-visible { color: var(--navy); background: color-mix(in srgb, var(--cyan-pop) 28%, var(--paper)); transform: translateX(3px); }
.tt_category .link_tit { border: 2px solid var(--navy); color: var(--navy); background: var(--yellow-pop); box-shadow: 3px 3px 0 var(--navy); font-weight: 900; }
.tt_category .category_list { display: grid !important; gap: 3px; margin-top: 8px; }
.tt_category .sub_category_list { display: grid !important; gap: 2px; margin: 4px 0 7px 13px; padding-left: 10px; border-left: 3px solid var(--pink-pop); }
.tt_category .link_sub_item { min-height: 36px; font-size: .77rem !important; }
.tt_category .c_cnt { margin-left: auto; padding: 2px 7px; border: 1px solid var(--navy); border-radius: 999px; color: var(--navy); background: color-mix(in srgb, var(--paper) 82%, transparent); font-size: .66rem; font-variant-numeric: tabular-nums; }
.category-dock-panel a { min-height: 44px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-box { display: flex; width: clamp(156px, 16vw, 210px); min-height: 44px; align-items: center; border: 2px solid var(--navy); border-radius: 11px 4px 11px 4px; background: color-mix(in srgb, var(--paper) 88%, transparent); }
.search-box:focus-within { border-color: var(--navy); box-shadow: 4px 4px 0 var(--cyan-pop); }
.search-box input { min-width: 0; flex: 1; padding: 0 4px 0 16px; border: 0; outline: 0; background: transparent; font-size: .82rem; }
.search-box input::placeholder { color: var(--muted); }
.search-box button { display: grid; width: 44px; min-height: 44px; place-items: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.search-box svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { display: grid; width: 44px; height: 44px; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 18px; height: 2px; border-radius: 2px; background: var(--navy); }
.mobile-menu-panel { position: absolute; top: 54px; right: 0; width: min(88vw, 350px); padding: 18px; border: 2px solid var(--navy); border-radius: 20px 5px 20px 5px; background: color-mix(in srgb, var(--paper) 88%, transparent); box-shadow: 7px 8px 0 var(--cyan-pop), 0 20px 50px rgba(23, 25, 29, .18); backdrop-filter: blur(20px) saturate(1.4); }
.mobile-menu-panel > a { display: flex; min-height: 48px; align-items: center; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 850; }
.category-tree { padding-top: 12px; }
.category-tree > strong { display: block; margin-bottom: 7px; color: var(--gold); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.category-tree .tt_category { margin-top: 8px; }
.category-tree a { min-height: 44px; }
.brand,
.category-dock summary,
.search-box button,
.mobile-menu summary,
.tt_category a,
.post-card { touch-action: manipulation; }
.brand:hover .brand-duck-image,
.brand:focus-visible .brand-duck-image { transform: rotate(-7deg) scale(1.06); }
.brand:active { transform: translateY(2px) scale(.98); }
.category-dock summary,
.search-box button,
.mobile-menu summary { transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.category-dock summary:hover,
.category-dock summary:focus-visible { box-shadow: 2px 2px 0 var(--yellow-pop); transform: translate(2px, 2px); }
.category-dock summary:active { box-shadow: none; transform: translate(4px, 4px) scale(.98); }
.search-box button:hover,
.search-box button:focus-visible,
.mobile-menu summary:hover,
.mobile-menu summary:focus-visible { background: var(--yellow-pop); transform: rotate(-4deg); }
.search-box button:active,
.mobile-menu summary:active { transform: translateY(2px) scale(.94); }
.tt_category a:active { background: var(--pink-pop); transform: translateX(4px) scale(.98); }

.journal-hero {
  --studio-bg: var(--cream);
  --studio-surface: var(--paper);
  --studio-raised: var(--cream-deep);
  --studio-ink: var(--ink);
  --studio-copy: var(--navy-soft);
  --studio-muted: var(--muted);
  --studio-line: var(--line);
  --studio-yellow: var(--yellow-pop);
  --studio-cyan: var(--cyan-pop);
  --studio-neon: var(--pink-pop);
  min-height: 510px;
  padding-block: 24px 30px;
}
.eyebrow { margin: 0 0 18px; color: var(--coral); font-family: "House Duck Sans", sans-serif; font-size: .7rem; font-weight: 950; letter-spacing: .17em; text-transform: uppercase; }
.journal-bubble h1 { font-size: clamp(1.75rem, 2.05vw, 2.3rem); }
.journal-bubble .quirky-sticker { width: 50px; height: 50px; }
.journal-device-stage { min-height: 500px; }
.journal-device-stage .iphone-shell { width: clamp(174px, 12.8vw, 196px); border: 4px solid var(--navy); box-shadow: 8px 9px 0 var(--cyan-pop), 15px 21px 38px rgba(23, 25, 29, .2); }
.journal-device-stage .game-device-k { right: 19%; }
.journal-device-stage .game-device-k .iphone-shell { box-shadow: 8px 9px 0 var(--pink-pop), 15px 21px 38px rgba(23, 25, 29, .2); }
.collection-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 22px clamp(20px, 2.6vw, 30px); border: 3px solid var(--navy); border-radius: 20px 5px 20px 5px; color: var(--navy); background: color-mix(in srgb, var(--paper) 94%, transparent); box-shadow: 7px 8px 0 var(--pink-pop); animation: panel-slam 520ms cubic-bezier(.2,.8,.2,1) backwards; }
.collection-head h2 { margin: 0; font-family: "House Duck Display", "Noto Sans KR", sans-serif; font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.05; }
.collection-head p:not(.eyebrow) { max-width: 640px; margin: 12px 0 0; color: var(--muted); }
.collection-head > strong { font-size: clamp(1.6rem, 2.4vw, 2.3rem); letter-spacing: -.04em; line-height: .9; }
.collection-head > strong small { display: block; margin-top: 12px; font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-bottom: clamp(60px, 7vw, 90px); counter-reset: post-card; }
.collection-head + .post-grid { padding-top: 20px; }
.post-card { position: relative; min-width: 0; overflow: hidden; border: 2px solid var(--navy); border-radius: 17px 4px 17px 4px; background: var(--paper); box-shadow: 6px 7px 0 var(--cyan-pop); counter-increment: post-card; transition: transform 220ms cubic-bezier(.2,.8,.2,1), border-color 220ms ease, box-shadow 220ms ease; }
.post-card:nth-child(3n + 2) { box-shadow: 6px 7px 0 var(--pink-pop); }
.post-card:nth-child(3n) { box-shadow: 6px 7px 0 var(--yellow-pop); }
.post-card::before { position: absolute; top: 0; left: 0; z-index: 3; width: 42%; height: 7px; content: ""; background: var(--cyan-pop); animation: stripe-scan 620ms cubic-bezier(.2,.8,.2,1) backwards; }
.post-card:nth-child(3n + 2)::before { background: var(--pink-pop); }
.post-card:nth-child(3n)::before { background: var(--yellow-pop); }
.post-card::after { position: absolute; top: 11px; right: 11px; z-index: 4; display: grid; width: 34px; height: 34px; place-items: center; border: 2px solid var(--paper); border-radius: 50%; content: counter(post-card, decimal-leading-zero); color: var(--paper); background: var(--navy); box-shadow: 3px 3px 0 var(--pink-pop); font-family: "House Duck Sans", sans-serif; font-size: .62rem; font-weight: 900; }
.post-card:only-child { width: min(100%, 760px); grid-column: 1 / -1; justify-self: center; }
.post-card:hover,
.post-card:focus-within { z-index: 2; border-color: var(--navy); box-shadow: 8px 9px 0 var(--navy), 0 18px 40px rgba(23, 25, 29, .16); transform: translateY(-5px) rotate(-.18deg) scale(1.006); }
.post-card:active { box-shadow: 3px 4px 0 var(--navy); transform: translateY(-1px) scale(.985); }
.post-card:nth-child(4n + 2) .card-placeholder { background: var(--teal); }
.post-card:nth-child(4n + 3) .card-placeholder { background: var(--coral); }
.post-card:nth-child(4n + 4) .card-placeholder { background: var(--cream-deep); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.card-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--navy); background: var(--gold); }
.card-placeholder::before { position: absolute; width: 180px; height: 180px; content: ""; border: 1px dashed rgba(23, 37, 65, .28); border-radius: 50%; }
.card-placeholder > strong { font-size: clamp(2rem, 6vw, 4rem); letter-spacing: -.05em; }
.card-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 360ms cubic-bezier(.2,.8,.2,1), filter 360ms ease; }
.post-card:hover .card-image,
.post-card:focus-within .card-image { transform: scale(1.04); }
.card-body { padding: 16px; }
.card-meta, .article-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: .71rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card-meta a, .card-meta span, .article-category { color: var(--teal); font-weight: 900; }
.card-body h2 { margin: 9px 0 7px; color: var(--navy); font-family: "House Duck Display", "Noto Sans KR", sans-serif; font-size: clamp(1.2rem, 1.7vw, 1.42rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.2; }
.card-body > p { display: -webkit-box; min-height: 3.3em; margin: 0; overflow: hidden; color: var(--muted); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-body [data-preview-type] { min-height: 2.5em; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.read-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: var(--navy); font-size: .75rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.read-link span { color: var(--coral); font-size: 1rem; transition: transform 160ms ease; }
.read-link:hover span { transform: translate(3px, -3px); }
.read-link:active { transform: translateY(2px) scale(.98); }
.comment-count { color: var(--muted); font-size: .74rem; }
.empty-state, .protected-card { width: min(100% - (var(--gutter) * 2), 760px); margin: 70px auto 120px; padding: clamp(34px, 7vw, 72px); text-align: center; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); }
.empty-state h2, .protected-card h1 { color: var(--navy); font-size: clamp(2rem, 5vw, 3.8rem); letter-spacing: -.06em; line-height: 1; }
.empty-state .placeholder-duck { margin: 0 auto 18px; }
.placeholder-duck { width: 72px; height: 72px; object-fit: contain; }
.button, .protected-form button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border: 2px solid var(--navy); border-radius: 999px; color: var(--paper); background: var(--navy); font-weight: 850; cursor: pointer; }

#tt-body-page .journal-hero, #tt-body-tag .journal-hero, #tt-body-guestbook .journal-hero { display: none; }
#tt-body-page .post-grid { display: block; width: 100%; padding: 0; }
.article-shell { width: min(100% - (var(--gutter) * 2), 960px); margin: 0 auto; padding: clamp(48px, 6vw, 88px) 0 clamp(72px, 9vw, 120px); }
.article-breadcrumb { display: flex; width: min(100%, 820px); min-height: 44px; align-items: center; gap: 8px; margin: 0 auto 14px; overflow: hidden; color: var(--muted); font-size: .72rem; font-weight: 750; }
.article-breadcrumb a { flex: 0 0 auto; color: var(--muted); }
.article-breadcrumb a:hover { color: var(--teal); }
.article-breadcrumb span[aria-current="page"] { min-width: 0; overflow: hidden; color: var(--navy-soft); text-overflow: ellipsis; white-space: nowrap; }
.article-header { position: relative; width: min(100%, 800px); margin: 0 auto; padding: clamp(24px, 3.5vw, 38px); border: 3px solid var(--navy); border-radius: 24px 6px 24px 6px; text-align: center; background: color-mix(in srgb, var(--paper) 94%, transparent); box-shadow: 8px 9px 0 var(--cyan-pop); }
.article-category { display: inline-flex; min-height: 44px; align-items: center; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; }
.article-header h1 { margin: 12px 0 20px; color: var(--navy); font-family: "House Duck Display", "Noto Sans KR", sans-serif; font-size: clamp(1.9rem, 3.2vw, 3rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.08; word-break: keep-all; }
.article-meta { justify-content: center; }
.article-meta span::before { margin-right: 18px; content: "·"; color: var(--coral); }
.article-cover { width: min(100%, 500px); aspect-ratio: 16 / 9; margin: clamp(24px, 3.5vw, 36px) auto 0; overflow: hidden; border: 3px solid var(--navy); border-radius: 17px 5px 17px 5px; background: #000; box-shadow: 6px 7px 0 var(--pink-pop); }
.article-cover img { width: 100%; height: 100%; object-fit: contain; }
.owner-tools { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.owner-tools a, .owner-tools button { min-height: 44px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .76rem; font-weight: 800; cursor: pointer; }
.translation-note { display: flex; width: min(100%, 760px); align-items: start; gap: 16px; margin: 46px auto 0; padding: 18px 20px; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; color: var(--muted); background: rgba(244, 200, 74, .13); font-size: .86rem; }
.translation-note strong { flex: 0 0 auto; color: var(--navy); }
.translation-locales { display: flex; width: min(100%, 760px); flex-wrap: wrap; justify-content: center; gap: 7px; margin: 16px auto 0; }
.translation-locales[hidden], .translation-locales a[hidden] { display: none; }
.translation-locales a, .translation-locales span { display: grid; min-width: 48px; min-height: 44px; padding: 8px 12px; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: var(--paper); font-size: .78rem; font-weight: 800; }
.translation-locales a:hover, .translation-locales span[aria-current="page"] { color: #10213e; background: var(--gold); }
.article-toc { width: min(100%, 760px); margin: 24px auto 0; padding: 18px 20px; border: 2px solid var(--navy); border-radius: 15px 4px 15px 4px; background: color-mix(in srgb, var(--paper) 92%, transparent); box-shadow: 5px 6px 0 var(--yellow-pop); }
.article-toc[hidden] { display: none; }
.article-toc strong { display: block; margin-bottom: 9px; color: var(--navy); font-size: .78rem; letter-spacing: .1em; }
.article-toc > ol { display: grid; grid-template-columns: 1fr; gap: 5px; margin: 0; padding: 0; color: var(--muted); font-size: .8rem; list-style: none; counter-reset: toc; }
.article-toc li { min-width: 0; }
.article-toc > ol > li { counter-increment: toc; }
.article-toc > ol > li > a::before { content: counter(toc) ". "; }
.article-toc .toc-children { display: grid; gap: 3px; margin: 3px 0 6px; padding: 0 0 0 18px; border-left: 1px solid var(--line); list-style: none; counter-reset: toc-child; }
.article-toc .toc-children li { counter-increment: toc-child; }
.article-toc .toc-children a::before { content: counter(toc) "." counter(toc-child) " "; }
.article-toc a { display: block; padding-block: 3px; color: inherit; line-height: 1.45; }
.article-toc a:hover, .article-toc a:focus-visible, .article-toc a[aria-current="location"] { color: var(--teal); font-weight: 800; }
.article-body { width: min(100%, 760px); margin: clamp(46px, 6vw, 68px) auto 0; color: var(--navy-soft); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; font-size: clamp(1rem, 1.1vw, 1.075rem); line-height: 1.8; overflow-wrap: anywhere; }
.article-body > :first-child { margin-top: 0; }
.article-body h2, .article-body h3, .article-body h4 { color: var(--navy); font-family: "House Duck Display", "Noto Sans KR", sans-serif; font-weight: 400; letter-spacing: -.025em; line-height: 1.25; scroll-margin-top: 110px; }
.article-body h2 { margin: 2.4em 0 .75em; font-size: clamp(1.55rem, 2.6vw, 2rem); }
.article-body h3 { margin: 2em 0 .65em; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.article-body p, .article-body ul, .article-body ol { margin-block: 1.35em; }
.article-body ul, .article-body ol { padding-left: 1.4em; }
.article-body li + li { margin-top: .5em; }
.article-body a { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article-body blockquote { margin: 2em 0; padding: .5em 0 .5em 1.5em; border-left: 4px solid var(--coral); color: var(--muted); font-size: 1.1em; }
.article-body pre { max-width: 100%; margin: 2em 0; padding: 22px; overflow-x: auto; border-radius: 16px; color: var(--code-text); background: var(--code-bg); font-size: .87rem; line-height: 1.65; }
.article-body code { padding: .15em .38em; border-radius: 5px; color: var(--navy); background: rgba(23, 37, 65, .08); font-size: .9em; }
.article-body pre code { padding: 0; color: inherit; background: transparent; }
.article-body hr { margin: 3em 0; border: 0; border-top: 1px solid var(--line); }
.article-body table { display: block; width: 100%; margin: 2em 0; overflow-x: auto; border-collapse: collapse; }
.article-body th, .article-body td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.article-body figure, .article-body .imageblock, .article-body .imagegridblock { display: block !important; width: 100% !important; max-width: 100%; margin: 2.2em 0 !important; transform: none; }
#tt-body-page #main-content .article-body img:not(.og-image) { display: block !important; width: auto !important; max-width: min(100%, 400px) !important; height: auto !important; margin: 0 auto !important; border-radius: 14px; }
.article-body figcaption, .article-body .cap1 { margin-top: 9px; color: var(--muted); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .76rem; text-align: left; }
.article-body iframe, .article-body video { max-width: 100%; border: 0; border-radius: 16px; }
.article-body .video-wrap, .article-body [data-ke-type="video"] { max-width: 100%; overflow: hidden; border-radius: 16px; }
.article-body [data-ke-type="opengraph"] { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 10px 28px rgba(23, 37, 65, .07); }
.article-body .another_category { display: none !important; }
.article-body .og-link, .article-body .link-og, .article-body [data-ke-type="opengraph"] > a { position: relative !important; display: grid !important; height: auto !important; min-height: 112px; grid-template-columns: 128px minmax(0, 1fr) !important; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; color: inherit; background: var(--paper); text-decoration: none; }
.article-body [data-ke-type="opengraph"] > .og-link, .article-body [data-ke-type="opengraph"] > .link-og, .article-body [data-ke-type="opengraph"] > a { border: 0; border-radius: 0; }
.article-body .og-image { position: static !important; width: 100% !important; height: 100% !important; min-height: 112px; margin: 0 !important; object-fit: cover; border-radius: 0 !important; background-position: center; background-size: cover; }
.article-body .og-text { position: static !important; display: grid !important; min-width: 0; height: auto !important; align-content: center; gap: 5px; padding: 15px 18px !important; }
.article-body [data-og-image=""] > a { min-height: 0; grid-template-columns: 1fr !important; }
.article-body [data-og-image=""] .og-image { display: none !important; }
.article-body .og-title, .article-body .og-desc, .article-body .og-host { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif; }
.article-body .og-title { overflow: hidden; color: var(--navy); font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.article-body .og-desc { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: .82rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.article-body .og-host { color: var(--teal); font-size: .72rem; font-weight: 750; }
#tt-body-page .article-body figure[data-ke-type="opengraph"] > a { position: relative !important; display: grid !important; height: auto !important; min-height: 112px; grid-template-columns: 128px minmax(0, 1fr) !important; }
#tt-body-page .article-body figure[data-ke-type="opengraph"] .og-image { position: static !important; inset: auto !important; width: 100% !important; height: 100% !important; min-height: 112px; }
#tt-body-page .article-body figure[data-ke-type="opengraph"] .og-text { position: static !important; inset: auto !important; display: grid !important; height: auto !important; padding: 15px 18px !important; }
#tt-body-page .article-body figure[data-ke-type="opengraph"] p.og-title,
#tt-body-page .article-body figure[data-ke-type="opengraph"] p.og-desc,
#tt-body-page .article-body figure[data-ke-type="opengraph"] p.og-host { position: static !important; inset: auto !important; margin: 0 !important; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif !important; }
#tt-body-page .article-body figure[data-ke-type="opengraph"] p.og-title { overflow: hidden !important; color: var(--navy) !important; font-size: .95rem !important; font-weight: 850 !important; line-height: 1.35 !important; text-overflow: ellipsis; white-space: nowrap; }
#tt-body-page .article-body figure[data-ke-type="opengraph"] p.og-desc { display: -webkit-box !important; overflow: hidden; color: var(--muted) !important; font-size: .82rem !important; line-height: 1.5 !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
#tt-body-page .article-body figure[data-ke-type="opengraph"] p.og-host { color: var(--teal) !important; font-size: .72rem !important; font-weight: 750 !important; line-height: 1.4 !important; }
#tt-body-page .article-body figure[data-ke-type="opengraph"][data-og-image=""] > a { min-height: 0; grid-template-columns: 1fr !important; }
#tt-body-page .article-body figure[data-ke-type="opengraph"][data-og-image=""] .og-image { display: none !important; }
.article-tags { display: flex; width: min(100%, 760px); flex-wrap: wrap; align-items: center; gap: 8px; margin: 46px auto 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0; }
.article-tags strong { margin-right: 8px; color: var(--navy); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.article-tags a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--paper); font-size: .8rem; }
.related-posts { width: min(100%, 760px); margin: 68px auto 0; padding-top: 40px; border-top: 1px solid var(--line); }
.section-heading h2 { margin: 0; color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.045em; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.related-card { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 18px; min-height: 116px; padding: 10px 18px 10px 10px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.related-card img { width: 96px; height: 96px; grid-row: 1 / span 2; object-fit: cover; border-radius: 12px; }
.related-card strong { color: var(--navy); line-height: 1.3; }
.related-card time { color: var(--muted); font-size: .72rem; }
.post-neighbors { display: grid; width: min(100%, 760px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 48px auto 0; }
.post-neighbors a { display: grid; min-height: 96px; align-content: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.post-neighbors > a:only-child { grid-column: 1 / -1; }
.post-neighbors small { margin-bottom: 9px; color: var(--coral); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.post-neighbors strong { color: var(--navy); line-height: 1.35; }
.comments { width: min(100%, 760px); margin: 60px auto 0; padding-top: 38px; border-top: 1px solid var(--line); }
#tt-body-page .revenue_unit_wrap { width: min(calc(100% - (var(--gutter) * 2)), 760px); margin: 28px auto !important; padding-block: 12px; overflow: hidden; border-top: 1px solid var(--line); text-align: center; }
#tt-body-page .revenue_unit_wrap .adsbygoogle { max-width: 100%; margin-inline: auto; }
.tt-comment-cont { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; font-size: .9rem; }
.tt_box_namecard { width: min(100%, 760px) !important; min-height: 0 !important; align-items: flex-start !important; margin: 48px auto 0 !important; padding: 18px 20px !important; border: 1px solid var(--line) !important; border-radius: 16px !important; color: var(--ink) !important; background: var(--paper) !important; }
.tt_box_namecard .tt_cont { min-width: 0 !important; flex: 1 1 auto !important; padding: 0 !important; }
.tt_box_namecard .tt_tit_cont { display: block; color: var(--navy) !important; line-height: 1.35; }
.tt_box_namecard .tt_desc { margin: 4px 0 0 !important; color: var(--muted) !important; font-size: .82rem; line-height: 1.5; }
.tt_box_namecard .tt_wrap_thumb { width: 52px !important; height: 52px !important; flex: 0 0 52px !important; margin: 0 0 0 20px !important; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; background: var(--cream-deep) !important; }
.tt_box_namecard .tt_thumb_g { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.tt_box_namecard .tt_btn_subscribe { min-height: 44px !important; margin: 10px 0 0 !important; border-color: transparent !important; border-radius: 999px !important; color: #10213e !important; background: var(--gold) !important; }
.tt_box_namecard .tt_btn_subscribe .tt_txt_g { color: inherit !important; font-size: .82rem !important; }
.tt-comment-cont, .tt-comment-cont .tt-box-total, .tt-comment-cont .tt-item-reply { color: var(--ink) !important; }
.tt-comment-cont .tt-box-total { margin-bottom: 18px !important; padding-bottom: 14px !important; border-bottom: 1px solid var(--line) !important; }
.tt-comment-cont .tt-area-write { align-items: flex-start !important; gap: 14px; padding: 20px !important; border: 1px solid var(--line) !important; border-radius: 16px; background: var(--paper) !important; }
.tt-comment-cont .tt_wrap_write { min-width: 0 !important; flex: 1 1 auto !important; border-color: var(--line) !important; background: transparent !important; }
.tt-comment-cont .tt-box-account { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px !important; }
.tt-comment-cont .tt-box-account input { width: 100% !important; height: 44px !important; padding: 0 12px !important; border: 1px solid var(--line) !important; border-radius: 10px; color: var(--ink) !important; background: var(--cream) !important; font: inherit !important; }
.tt-comment-cont .tt-box-textarea { height: auto !important; margin-bottom: 10px !important; }
.tt-comment-cont .tt-box-textarea textarea { display: block !important; width: 100% !important; min-height: 96px !important; padding: 12px 14px !important; border: 1px solid var(--line) !important; border-radius: 10px; color: var(--ink) !important; background: var(--cream) !important; font: inherit !important; resize: vertical; }
.tt-comment-cont .tt-inner-g { padding: 0 !important; overflow: visible !important; border: 0 !important; background: transparent !important; }
.tt-comment-cont .tt-box-write { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; }
.tt-comment-cont input::placeholder, .tt-comment-cont textarea::placeholder { color: var(--muted) !important; opacity: 1; }
.tt-comment-cont .tt-box-thumb { width: 44px !important; height: 44px !important; flex: 0 0 44px !important; align-self: flex-start; margin: 0 !important; overflow: hidden; border: 1px solid var(--line) !important; border-radius: 50%; background-color: var(--paper) !important; }
.tt-comment-cont .tt-thumbnail { display: block; width: 44px !important; height: 44px !important; border-radius: 50%; background-size: cover; }
.tt-comment-cont .tt-xe-label { color: var(--muted) !important; }
.tt-comment-cont .tt-btn_register { min-width: 72px; min-height: 44px !important; padding: 0 18px !important; border-radius: 999px !important; color: #10213e !important; background: var(--gold) !important; }
.tt-comment-cont .tt-btn_register:disabled { color: var(--muted) !important; background: var(--cream-deep) !important; opacity: .8; }
#tt-body-page .tt-comment-cont .tt-area-write { display: grid !important; grid-template-columns: 44px minmax(0, 1fr) !important; align-items: start !important; }
#tt-body-page .tt-comment-cont .tt-box-thumb { width: 44px !important; height: 44px !important; align-self: start !important; }
#tt-body-page .tt-comment-cont .tt_wrap_write { width: 100% !important; min-width: 0 !important; }
#tt-body-page .tt-comment-cont .tt-box-textarea textarea { min-height: 96px !important; font-family: inherit !important; }
#tt-body-page .tt_box_namecard .tt_btn_subscribe .tt_txt_g { color: inherit !important; }
.page-shell { padding-top: clamp(72px, 10vw, 130px); }

.tag-page { padding: clamp(72px, 10vw, 130px) 0 clamp(100px, 14vw, 180px); }
.tag-page h1 { max-width: 820px; margin: 0; color: var(--navy); font-size: clamp(2.7rem, 7vw, 6.5rem); letter-spacing: -.075em; line-height: .95; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 54px; }
.tag-cloud a { display: inline-flex; min-height: 48px; align-items: center; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: var(--paper); font-weight: 800; }
.tag-cloud .cloud1 { background: var(--gold); font-size: 1.15rem; }
.tag-cloud .cloud2 { background: var(--cream-deep); font-size: 1.05rem; }
.guestbook { padding-top: clamp(72px, 10vw, 130px); }
.protected-form { display: grid; max-width: 420px; grid-template-columns: 1fr auto; gap: 10px; margin: 28px auto 0; text-align: left; }
.protected-form label { grid-column: 1 / -1; font-size: .8rem; font-weight: 800; }
.protected-form input { min-width: 0; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }

.pagination { display: flex; min-height: 80px; align-items: center; justify-content: center; gap: 18px; margin-bottom: 90px; }
.pagination:has(.no-more-prev):has(.no-more-next) { display: none; }
.pagination > span { display: flex; gap: 6px; }
.page-arrow, .page-number { display: inline-grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-weight: 850; }
.page-number > span { display: contents; }
.page-number:has(.selected), .page-number.selected { color: var(--paper); background: var(--navy); }
.no-more-prev, .no-more-next { opacity: .32; pointer-events: none; }

.site-footer { padding: 24px 0; border-top: 3px solid var(--navy); color: var(--muted); background: color-mix(in srgb, var(--paper) 84%, transparent); box-shadow: inset 0 6px 0 var(--yellow-pop); }

@keyframes panel-slam {
  from { transform: translateY(18px) rotate(.5deg) scale(.985); }
  to { transform: none; }
}

@keyframes stripe-scan {
  from { width: 0; }
}
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; }
.footer-inner > div { display: grid; gap: 7px; }
.footer-inner small { color: var(--muted); font-size: .76rem; }
.footer-brand-images { display: flex; align-items: center; gap: 9px; }
.footer-brand-images .brand-duck-image { width: 34px; height: 34px; object-fit: contain; }
.footer-wordmark-image { width: 116px; height: auto; object-fit: contain; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 22px; }
.site-footer nav a { color: var(--navy-soft); letter-spacing: .02em; text-transform: none; }
.site-footer nav a:hover { color: var(--navy); }

@media (min-width: 1380px) and (max-width: 1780px) {
  body:not(#tt-body-page) :is(.journal-hero, .collection-head, .post-grid) {
    width: min(calc(100% - 390px), 1050px);
    margin-right: auto;
    margin-left: max(24px, calc((100vw - 1320px) / 2 + 24px));
  }
  .journal-hero { grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); gap: 38px; }
  .game-device-quirky { left: 0; }
  .game-device-k { right: 19%; }
  .category-dock { right: 18px; }
  .category-dock-panel { width: 260px; }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .category-dock { display: none; }
  .mobile-menu { display: block; }
  .search-box { width: min(38vw, 220px); }
  .journal-hero { padding-block: 40px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; }
  .header-inner { min-height: 60px; gap: 10px; }
  .brand-wordmark-image { width: 116px; }
  .duck-mark { width: 36px; height: 36px; }
  .duck-mark::before { top: 12px; }
  .duck-mark::after { top: 8px; right: 8px; }
  .search-box { width: 44px; border-color: transparent; background: transparent; }
  .search-box input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
  .search-box:focus-within { position: fixed; top: 78px; right: 18px; left: 18px; z-index: 101; width: auto; border-color: var(--teal); background: var(--paper); box-shadow: var(--shadow); }
  .search-box:focus-within input { position: static; width: auto; height: auto; padding-left: 16px; opacity: 1; pointer-events: auto; }
  .journal-hero { min-height: auto; }
  .journal-hero { padding-block: 30px 34px; }
  .journal-bubble h1 { font-size: clamp(1.66rem, 7.3vw, 2.16rem); }
  .journal-bubble .quirky-sticker { width: 46px; height: 46px; }
  .journal-device-stage { min-height: 430px; }
  .journal-device-stage .iphone-shell { width: min(38vw, 156px); border-width: 4px; box-shadow: 6px 7px 0 var(--cyan-pop), 12px 18px 34px rgba(23, 25, 29, .2); }
  .journal-device-stage .game-device-k .iphone-shell { box-shadow: 6px 7px 0 var(--pink-pop), 12px 18px 34px rgba(23, 25, 29, .2); }
  .journal-hero .device-stage::before { right: 0; width: 130px; }
  .journal-hero .device-stage::after { left: -12px; width: 120px; }
  .collection-head { align-items: start; flex-direction: column; padding: 28px 22px; }
  .post-grid { grid-template-columns: 1fr; }
  .collection-head > strong { font-size: 4rem; }
  .card-body { padding: 18px; }
  .article-shell { padding-top: 24px; }
  .article-header { padding: 22px 18px; border-width: 2px; box-shadow: 6px 7px 0 var(--cyan-pop); }
  .article-header h1 { margin-top: 8px; font-size: clamp(1.78rem, 7.4vw, 2.35rem); word-break: normal; }
  .article-breadcrumb { display: none; }
  .article-meta { align-items: center; flex-direction: column; gap: 4px; }
  .article-meta span::before { display: none; }
  .translation-note { flex-direction: column; gap: 4px; }
  .article-body .og-link, .article-body .link-og, .article-body [data-ke-type="opengraph"] > a { min-height: 96px; grid-template-columns: 96px minmax(0, 1fr) !important; }
  .article-body .og-image { min-height: 96px; }
  .article-body .og-desc { display: none; }
  #tt-body-page .article-body figure[data-ke-type="opengraph"] > a { min-height: 96px; grid-template-columns: 96px minmax(0, 1fr) !important; }
  #tt-body-page .article-body figure[data-ke-type="opengraph"] .og-image { min-height: 96px; }
  #tt-body-page .article-body figure[data-ke-type="opengraph"] p.og-desc { display: none !important; }
  .article-body figure, .article-body .imageblock, .article-body .imagegridblock { max-width: 100%; margin-inline: 0; transform: none; }
  .tt_box_namecard { padding: 18px !important; }
  .tt_box_namecard .tt_wrap_thumb { width: 44px !important; height: 44px !important; flex-basis: 44px !important; margin-left: 14px !important; }
  .tt-comment-cont .tt-area-write { padding: 14px !important; }
  .tt-comment-cont .tt-box-thumb { display: none !important; }
  .tt-comment-cont .tt-box-account { grid-template-columns: 1fr; }
  #tt-body-page .tt-comment-cont .tt-area-write { grid-template-columns: 1fr !important; }
  .related-grid, .post-neighbors { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .site-footer nav { flex-wrap: wrap; }
  .protected-form { grid-template-columns: 1fr; }
  .protected-form button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation: none !important; }
}
