/* kankoku.asia(~/Projects/수익테스트/구글애드센스/site/assets/style.css)를 2026-10-02에 복사해
   쓰지 않는 규칙(환율 카드·도구 줄·임베드)을 지우고 글꼴만 홍콩판으로 바꾼 것이다.
   코드는 독립이다: 이 파일을 고쳐도 kankoku.asia에는 영향이 없다. */
:root {
  color-scheme: light dark;
  --accent: #3c6e5c;
  --accent-dark: #2c5347;
  --accent-warm: #8a4d38;
  --text: #2b2620;
  --muted: #756b5c;
  --bg: #f7f4ee;
  --border: #ddd4c3;
  --panel: #fdfbf6;
  --panel-2: #ffffff;
  --cat-transport: #3c6e5c;
  --cat-money: #8a4d38;
  --cat-life: #777231;
  --cat-tools: #38688a;
  --ok: #1d6f42;
  --good: #2f5f9e;
  --tight: #9a6b00;
  --hot: #a4562a;
  --no: #aa3333;
  --note-bg: #fdf8f0;
  --note-border: #e0c9a6;
  --note-text: #5a4630;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
    --accent: #63a68c;
    --accent-dark: #8bc4ae;
    --accent-warm: #cf9873;
    --text: #f2ede2;
    --muted: #b0a491;
    --bg: #15130f;
    --border: #37312a;
    --panel: #201d19;
    --panel-2: #262320;
    --cat-transport: #63a68c;
    --cat-money: #cf9873;
    --cat-life: #b3ac6a;
    --cat-tools: #7cb3d6;
    --ok: #6ec48f;
    --good: #7ab0e8;
    --tight: #d9a93c;
    --hot: #e0a06a;
    --no: #e88a8a;
    --note-bg: #262018;
    --note-border: #4a3c28;
    --note-text: #e6dac6;
  }
}
:root[data-theme="dark"] {
  --accent: #63a68c;
  --accent-dark: #8bc4ae;
  --accent-warm: #cf9873;
  --text: #f2ede2;
  --muted: #b0a491;
  --bg: #15130f;
  --border: #37312a;
  --panel: #201d19;
  --panel-2: #262320;
  --cat-transport: #63a68c;
  --cat-money: #cf9873;
  --cat-life: #b3ac6a;
  --cat-tools: #7cb3d6;
  --ok: #6ec48f;
  --good: #7ab0e8;
  --tight: #d9a93c;
  --hot: #e0a06a;
  --no: #e88a8a;
  --note-bg: #262018;
  --note-border: #4a3c28;
  --note-text: #e6dac6;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang HK", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
header.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1em 1.25em;
}
header.site-header .wrap {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
}
.logo {
  font-weight: bold;
  font-size: 1.15em;
  color: var(--text);
}
.logo:hover { text-decoration: none; }
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2em 1.25em 3em;
}
h1 { font-size: 1.55em; line-height: 1.5; margin-bottom: 0.6em; }
h2 { font-size: 1.25em; margin-top: 1.8em; border-left: 4px solid var(--accent); padding-left: 0.5em; }
h3 { font-size: 1.05em; margin-top: 1.4em; color: var(--text); }
p { margin: 0.9em 0; }
ul { padding-left: 1.4em; }
li { margin: 0.4em 0; }
.table-wrap { overflow-x: auto; margin: 1.2em 0; border-radius: 4px; border: 1px solid var(--border); }
table { border-collapse: collapse; width: 100%; font-size: 0.92em; }
th, td { padding: 0.6em 0.8em; text-align: left; border-bottom: 1px solid var(--border); }
th {
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  letter-spacing: 0.01em;
  border-bottom: none;
}
td {
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, "PingFang HK", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(odd) { background: var(--panel); }
.eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82em;
  letter-spacing: 0.12em;
  margin-bottom: 0.6em;
}
.eyebrow a { display: flex; align-items: center; gap: 0.4em; color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.meta { color: var(--muted); font-size: 0.85em; margin-bottom: 1.5em; }
.byline { color: var(--muted); font-size: 0.85em; font-style: italic; margin-top: -0.3em; margin-bottom: 1.8em; }
.article-hero {
  display: block;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  margin: 0 0 1.8em;
}
.tip-box {
  margin: 1.6em 0;
  padding: 1.1em 1.4em;
  background: var(--panel);
  border-radius: 8px;
  position: relative;
}
.tip-box::before {
  content: "✎";
  position: absolute;
  left: -0.1em;
  top: -0.6em;
  font-size: 1.2em;
  color: var(--accent);
  background: var(--bg);
  padding: 0 0.25em;
}
.tip-box p { margin: 0.3em 0; }
.tip-box p:first-child { margin-top: 0; }
.tip-box p:last-child { margin-bottom: 0; }
section.sources {
  margin-top: 2.5em;
  padding: 1.1em 1.25em;
  background: var(--panel);
  border-radius: 12px;
  font-size: 0.88em;
}
section.sources h2 { border-left: none; padding-left: 0; margin-top: 0; font-size: 1em; color: var(--muted); }
section.sources ul { list-style: none; padding: 0; margin: 0; }
section.sources li { margin: 0.4em 0; color: var(--muted); }
section.sources a { color: var(--muted); text-decoration: underline; }
footer.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 3em;
  padding: 1.5em 1.25em;
  text-align: center;
  color: var(--muted);
  font-size: 0.85em;
}
footer.site-footer a { margin: 0 0.6em; color: var(--muted); }
.article-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.7em; }
.article-list li {
  background: var(--panel);
  border-radius: 10px;
  border-left: 3px solid var(--accent);
  padding: 1.1em 1.3em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.article-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(43, 38, 32, 0.12);
}
.article-list a { font-size: 1.05em; color: var(--text); font-weight: bold; }
.article-list a:hover { color: var(--accent); text-decoration: none; }
.article-list .desc { color: var(--muted); font-size: 0.9em; margin-top: 0.35em; }
.hero { text-align: center; padding: 2em 0 1em; }
.hero .eyebrow { justify-content: center; display: flex; }
.hero h1 { margin: 0 0 0.4em; }
.hero p { color: var(--muted); }
.cat-heading {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.85em;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-top: 2.6em;
  margin-bottom: 0.9em;
  padding-bottom: 0.5em;
  color: var(--accent);
  border-left: none;
  border-bottom: 1px solid var(--border);
}
.cat-heading:first-of-type { margin-top: 1.4em; }
.cat-heading:first-of-type { margin-top: 1em; }
.cat-heading a { display: flex; align-items: center; gap: 0.4em; color: inherit; text-decoration: none; }
.cat-heading a:hover { text-decoration: underline; }
.kk-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.kk-icon svg { width: 100%; height: 100%; }
.kk-icon-sm { width: 16px; height: 16px; }
nav.related {
  margin-top: 2.5em;
  padding: 1.25em 1.4em;
  background: var(--panel);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}
nav.related h2 {
  border-left: none;
  padding-left: 0;
  margin-top: 0;
  font-size: 1.05em;
  color: var(--accent);
}
nav.related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5em; }
nav.related li { margin: 0; }
nav.related a { font-weight: bold; text-decoration: underline; }
.home-featured {
  position: relative;
  background: var(--panel);
  border-radius: 14px;
  margin-bottom: 0.7em;
  display: flex;
  gap: 1em;
  padding: 1em;
  box-shadow: 0 1px 3px rgba(43, 38, 32, 0.08);
  border-left-width: 4px;
  border-left-style: solid;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.home-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(43, 38, 32, 0.12);
  text-decoration: none;
}
.home-featured img {
  width: 130px;
  height: 130px;
  flex: 0 0 130px;
  border-radius: 10px;
  object-fit: cover;
}
.home-featured .text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5em;
}
.home-featured .pin {
  display: inline-block;
  width: fit-content;
  font-size: 0.68em;
  letter-spacing: 0.08em;
  font-weight: bold;
  padding: 0.3em 0.7em;
  border-radius: 20px;
}
.home-featured .ttl {
  font-size: 1em;
  font-weight: bold;
  line-height: 1.5;
  color: var(--text);
}
.home-featured .desc {
  color: var(--muted);
  font-size: 0.82em;
  line-height: 1.6;
}
.home-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 2.2em;
}
.home-mini {
  background: var(--panel);
  border-radius: 10px;
  padding: 0.6em;
  display: flex;
  align-items: center;
  gap: 0.7em;
  box-shadow: 0 1px 3px rgba(43, 38, 32, 0.06);
  border-left-width: 3px;
  border-left-style: solid;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.home-mini:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(43, 38, 32, 0.1);
  text-decoration: none;
}
.home-mini img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 7px;
  object-fit: cover;
}
.home-page header.site-header { display: none; }
.hero-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8em;
  padding: 0.85em 1em 0;
  color: #fff;
}
.hero-top .brand {
  font-weight: bold;
  font-size: 1.06em;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}
.hm { position: relative; flex: 0 0 auto; }
.hm > summary {
  list-style: none;
  cursor: pointer;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hm > summary::-webkit-details-marker { display: none; }
.hm > summary::marker { content: ""; }
.hm > summary svg { width: 20px; height: 20px; }
.hm[open] > summary { background: rgba(255, 255, 255, 0.34); }
.hm > nav {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 176px;
  display: flex;
  flex-direction: column;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 28px -8px rgba(43, 38, 32, 0.34), 0 1px 3px rgba(43, 38, 32, 0.12);
  padding: 0.35em;
}
.hm > nav a {
  padding: 0.62em 0.8em;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.88em;
}
.hm > nav a:hover { background: var(--bg); text-decoration: none; }
.hm > nav { min-width: 196px; }
.hm .mc {
  display: flex;
  align-items: center;
  gap: 0.55em;
  font-weight: bold;
}
.hm .mc .ic { color: var(--c); display: inline-flex; }
.hm .ic svg { width: 17px; height: 17px; }
.hm .sep {
  display: block;
  height: 1px;
  background: var(--border);
  margin: 0.35em 0.5em;
}
.hm .theme-btn {
  display: flex;
  align-items: center;
  gap: 0.55em;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0.62em 0.8em;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88em;
  font-weight: bold;
  cursor: pointer;
  text-align: left;
}
.hm .theme-btn:hover { background: var(--bg); }
.hm .theme-btn .ic { display: inline-flex; }
header.site-header .hm > summary {
  color: var(--text);
  background: transparent;
  border-color: var(--border);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
header.site-header .hm[open] > summary { background: var(--panel); }
header.site-header .wrap { flex-wrap: nowrap; }
@media (max-width: 760px) {
.home-page main { padding-top: 0; }
.home-page .hero-wrap {
    margin-left: -20px;
    margin-right: -20px;
  }
.home-page .hero-img {
    border-radius: 0;
    min-height: 270px;   
  }
.home-page .hero-img::after { border-radius: 0; }
.home-page .hero-top { padding: 1em 1.25em 0; }
.home-page .hero-text { left: 1.25em; right: 1.25em; }
}
.hero-wrap { position: relative; margin: 0 0 0 0; }
.hero-img {
  
  
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 250px;
  max-height: 400px;
  border-radius: 14px;
  background-color: #1b2a33;   
  background-size: cover;
  background-position: center 45%;
  position: relative;
}
.hero-img::after {
  
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.62) 100%);
}
.hero-text {
  position: absolute;
  left: 1.1em;
  right: 1.1em;
  
  bottom: 2.6em;
  z-index: 2;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}
.hero-text .eyebrow { justify-content: flex-start; display: flex; margin: 0 0 0.2em; color: #fff; opacity: 0.92; }
.hero-text h1 { margin: 0; font-size: 1.32em; line-height: 1.4; color: #fff; }
.hero-text .now { margin: 0.45em 0 0; font-size: 0.82em; display: flex; align-items: center; gap: 0.45em; }
.hero-text .now[hidden] { display: flex; visibility: hidden; }
.hero-text .now .temp {
  display: inline-flex;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 20px;
  padding: 0.1em 0.6em;
  font-weight: bold;
  font-variant-numeric: tabular-nums;
}
.hero-lead { margin: 1.1em 0 1.4em; color: var(--muted); font-size: 0.9em; line-height: 1.75; }
@media (max-width: 480px) {
.hero-text h1 { font-size: 1.16em; }
}
@media (min-width: 1100px) {
.home-page main { max-width: 1080px; }
.home-page .home-mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tool-search { margin: 0 0 1.6em; }
.ts-field {
  display: flex;
  align-items: center;
  gap: 0.6em;
  background: var(--panel-2);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 0.75em 1em;
  box-shadow: 0 1px 3px rgba(43, 38, 32, 0.08);
  cursor: text;
}
.ts-field:focus-within { border-color: var(--accent); }
.ts-field svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--muted); }
.ts-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text);
}
.ts-field input::-webkit-search-cancel-button { cursor: pointer; }
.ts-hint { margin: 0.5em 0.2em 0; font-size: 0.72em; color: var(--muted); line-height: 1.6; }
.ts-results { margin-top: 0.7em; display: flex; flex-direction: column; gap: 6px; list-style: none; padding: 0; }
.ts-results > li { display: flex; margin: 0; }
.ts-results > li > .ts-row { flex: 1; min-width: 0; }
.ts-status { margin: 0.5em 0.2em 0; font-size: 0.74em; color: var(--muted); line-height: 1.6; }
.ts-status:empty { display: none; }
.ts-results[hidden] { display: none; }
.ts-row {
  display: flex;
  align-items: center;
  gap: 0.7em;
  background: var(--panel);
  border-radius: 0 10px 10px 0;
  border-left: 3px solid var(--accent);
  padding: 0.6em 0.9em;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(43, 38, 32, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ts-row:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(43, 38, 32, 0.1); text-decoration: none; }
.ts-row .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ts-row .tx .t { font-size: 0.9em; font-weight: bold; line-height: 1.5; }
.ts-row .tx .d { font-size: 0.74em; color: var(--muted); line-height: 1.55; }
.ts-row .go { flex: 0 0 auto; font-size: 0.78em; font-weight: bold; color: var(--accent); }
.ts-transport { border-left-color: var(--cat-transport); }
.ts-money { border-left-color: var(--cat-money); }
.ts-life { border-left-color: var(--cat-life); }
.ts-tools { border-left-color: var(--cat-tools); }
.ts-empty { margin: 0; padding: 0.8em 0.2em; font-size: 0.8em; color: var(--muted); }
.home-mini .ttl {
  font-size: 0.78em;
  font-weight: bold;
  line-height: 1.45;
  color: var(--text);
}
.home-mini-grid > .home-mini:last-child:nth-child(odd) { grid-column: 1 / -1; }
.home-mini-grid > .home-mini:last-child:nth-child(odd) img { width: 64px; height: 64px; flex: 0 0 64px; }
@media (max-width: 560px) {
.home-mini-grid { grid-template-columns: 1fr; }
.home-mini-grid > .home-mini:last-child:nth-child(odd) img { width: 52px; height: 52px; flex: 0 0 52px; }
}

/* 홍콩판: 환율 카드가 없어서 히어로 글자를 사진 아래쪽에 가깝게 둔다 */
.hero-text { bottom: 1.2em; }
