/* malaysia-karaoke.com · 데이라이트 필드가이드 테마 · Jua + Noto Sans KR */
:root {
  --paper: #fbf7ef;
  --paper-2: #f3ead8;
  --card: #ffffff;
  --ink: #1c1a17;
  --ink-2: #4b463f;
  --ink-3: #7d7468;
  --rule: #e4dac6;
  --teal: #0f766e;
  --teal-deep: #0b5a54;
  --teal-soft: #d8efe9;
  --mango: #f5a524;
  --mango-soft: #fdebc8;
  --kakao: #fee500;
  --tg: #229ed9;
  --wide: 70rem;
  --read: 44rem;
  --display: "Jua", "Noto Sans KR", sans-serif;
  --text: "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 1.02rem; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; padding-bottom: 4.6rem; }
a { color: var(--teal); }
:focus-visible { outline: 2px solid var(--mango); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0; }
table { border-collapse: collapse; width: 100%; }
.skip { position: absolute; left: -999px; top: 0; background: var(--mango); color: var(--ink); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; }
.wrap { max-width: var(--wide); margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: var(--read); margin-inline: auto; padding-inline: 1.25rem; }
.eyebrow { margin: 0 0 .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--teal); }
.more { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 1.3rem 0 0; font-size: .93rem; }
.more a { font-weight: 700; text-decoration: none; }
.more a::after { content: " →"; }
.note { font-size: .86rem; color: var(--ink-3); }

/* crown (header) */
.crown { position: sticky; top: 0; z-index: 40; background: rgba(251,247,239,.92); backdrop-filter: blur(10px); border-bottom: 2px solid var(--teal); }
.crown__in { max-width: var(--wide); margin-inline: auto; padding: .6rem 1.25rem; display: flex; align-items: center; gap: 1rem; }
.crown__brand { display: inline-flex; align-items: baseline; gap: .4rem; text-decoration: none; color: var(--ink); margin-right: auto; font-family: var(--display); font-size: 1.25rem; }
.crown__mic { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--teal); color: #fff; font-size: 1rem; align-self: center; }
.crown__brand small { font-family: var(--text); font-size: .75rem; color: var(--ink-3); }
.crown__nav { display: flex; gap: 1rem; }
.crown__nav a { color: var(--ink-2); text-decoration: none; font-size: .92rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.crown__nav a:hover, .crown__nav a[aria-current] { color: var(--teal); border-bottom-color: var(--mango); }
.crown__talk { background: var(--kakao); color: #1d1a00; font-weight: 700; font-size: .86rem; text-decoration: none; padding: .4rem .9rem; border-radius: .6rem; }
@media (max-width: 48rem) { .crown__nav { display: none; } }

/* reach (contact buttons) */
.reach { display: flex; flex-wrap: wrap; gap: .55rem; }
.reach a { display: inline-flex; align-items: center; min-height: 2.9rem; padding: 0 1.15rem; border-radius: .75rem; font-weight: 700; font-size: .95rem; text-decoration: none; }
.reach.big a { min-height: 3.3rem; padding: 0 1.4rem; }
.reach__k { background: var(--kakao); color: #1d1a00; }
.reach__t { background: var(--tg); color: #fff; }
.reach__p { background: var(--ink); color: #fff; }
.reach a:hover { filter: brightness(1.06); }

/* opener (home hero) */
.opener { background: linear-gradient(180deg, var(--paper-2), var(--paper)); border-bottom: 1px solid var(--rule); padding: 3.2rem 0 2rem; }
.opener__grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 2.5rem; align-items: start; }
.opener h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); line-height: 1.22; margin: 0 0 1rem; }
.opener h1 em { font-style: normal; color: var(--teal); }
.opener__lede { font-size: 1.05rem; color: var(--ink-2); margin: 0 0 1.5rem; }
.scoreboard { background: var(--card); border: 1px solid var(--rule); border-radius: 1rem; padding: 1.2rem 1.3rem; box-shadow: 0 10px 30px rgba(28,26,23,.06); }
.scoreboard p { margin: 0 0 .5rem; font-weight: 700; font-size: .85rem; color: var(--teal); letter-spacing: .06em; }
.scoreboard dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem .8rem; }
.scoreboard dt { font-size: .74rem; color: var(--ink-3); }
.scoreboard dd { margin: 0; font-weight: 700; font-size: .92rem; line-height: 1.45; }
.scoreboard dl div { border-top: 1px dashed var(--rule); padding-top: .4rem; }
@media (max-width: 54rem) { .opener__grid { grid-template-columns: 1fr; } }

/* jump bar */
.jump { position: sticky; top: 3.3rem; z-index: 30; background: var(--teal); }
.jump__in { max-width: var(--wide); margin-inline: auto; display: flex; overflow-x: auto; scrollbar-width: none; padding-inline: .6rem; }
.jump__in::-webkit-scrollbar { display: none; }
.jump a { flex: none; color: #e6f4f1; text-decoration: none; font-size: .88rem; padding: .7rem .85rem; border-bottom: 3px solid transparent; }
.jump a:hover { color: #fff; border-bottom-color: var(--mango); }

/* chapter blocks */
.chapter { padding: 3.6rem 0 3rem; border-bottom: 1px solid var(--rule); }
.chapter__head { display: flex; align-items: baseline; gap: .8rem; margin-bottom: .6rem; }
.chapter__no { font-family: var(--display); color: var(--mango); font-size: 1.1rem; }
.chapter h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); line-height: 1.3; margin: 0; }
.chapter__lede { color: var(--ink-2); max-width: var(--read); margin: .4rem 0 1.6rem; }
.chapter p { max-width: var(--read); }
.chapter h3 { font-size: 1.15rem; margin: 1.8rem 0 .5rem; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .85rem; }
.tile { background: var(--card); border: 1px solid var(--rule); border-radius: .9rem; padding: 1.1rem 1.2rem; }
.tile h3 { margin: 0 0 .35rem; font-size: 1.1rem; color: var(--teal-deep); }
.tile p { margin: 0; font-size: .93rem; color: var(--ink-2); }
.tile dl { margin: .6rem 0 0; font-size: .86rem; }
.tile dl div { display: grid; grid-template-columns: 3.6rem 1fr; gap: .4rem; border-top: 1px dashed var(--rule); padding: .3rem 0; }
.tile dt { color: var(--ink-3); }
.tile dd { margin: 0; }

.grid-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: .9rem; background: var(--card); }
.rates { min-width: 44rem; font-size: .9rem; }
.rates th, .rates td { padding: .7rem .85rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.rates thead th { background: var(--teal-soft); color: var(--teal-deep); font-weight: 700; font-size: .82rem; white-space: nowrap; }
.rates tbody th { font-weight: 700; white-space: nowrap; }
.rates tbody tr:last-child > * { border-bottom: 0; }
.rates .hl { background: var(--mango-soft); }
.compact { min-width: 30rem; }

.line { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--teal); }
.line li { position: relative; padding: 0 0 1.3rem 1.2rem; }
.line li::before { content: ""; position: absolute; left: -.45rem; top: .55rem; width: .75rem; height: .75rem; border-radius: 50%; background: var(--mango); border: 2px solid var(--paper); }
.line b { display: block; font-size: 1.02rem; }
.line span { color: var(--ink-2); font-size: .94rem; }

.spots { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.spots li { background: var(--card); border: 1px solid var(--rule); border-radius: .9rem; padding: 1rem 1.15rem; }
.spots h3 { margin: 0 0 .3rem; font-size: 1.08rem; }
.spots p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.spots .tip { margin-top: .5rem; color: var(--teal-deep); font-size: .88rem; }
.spots .tip::before { content: "TIP "; font-weight: 700; color: var(--mango); }

.probe details { background: var(--card); border: 1px solid var(--rule); border-radius: .8rem; margin-bottom: .5rem; }
.probe summary { cursor: pointer; list-style: none; font-weight: 700; padding: .9rem 2.6rem .9rem 1rem; position: relative; }
.probe summary::-webkit-details-marker { display: none; }
.probe summary::after { content: "+"; position: absolute; right: 1rem; top: .7rem; color: var(--mango); font-size: 1.3rem; }
.probe details[open] summary::after { content: "−"; }
.probe details p { margin: 0; padding: 0 1rem 1rem; color: var(--ink-2); }

.lex { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.lex div { background: var(--card); border: 1px solid var(--rule); border-radius: .8rem; padding: .9rem 1.05rem; }
.lex dt { font-weight: 700; color: var(--teal-deep); }
.lex dd { margin: .2rem 0 0; font-size: .9rem; color: var(--ink-2); }
@media (max-width: 44rem) { .lex { grid-template-columns: 1fr; } }

.shelf { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.shelf h3 { margin: 0 0 .2rem; font-size: 1.05rem; color: var(--teal-deep); }
.shelf .blurb { margin: 0 0 .5rem; font-size: .82rem; color: var(--ink-3); }
.shelf ul { margin: 0; padding-left: 1rem; }
.shelf li { margin-bottom: .35rem; font-size: .93rem; line-height: 1.5; }
.shelf li::marker { color: var(--mango); }
.shelf a { color: var(--ink); text-decoration: none; }
.shelf a:hover { color: var(--teal); text-decoration: underline; }

/* offer (CTA) */
.offer { background: var(--teal-deep); color: #eaf5f2; border-radius: 1.1rem; padding: 1.6rem 1.5rem; margin: 2.6rem 0 2rem; }
.offer__eyebrow { margin: 0 0 .3rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--mango); }
.offer__h { margin: 0 0 .6rem; font-size: 1.45rem; line-height: 1.35; color: #fff; }
.offer p { margin: 0 0 .9rem; color: #cfe6e0; }
.offer__perks { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .3rem .9rem; font-size: .9rem; }
.offer__perks li::before { content: "✓ "; color: var(--mango); font-weight: 700; }
.offer__fine { margin: .9rem 0 0; font-size: .78rem; color: #9fc5bd; }
.offer .reach__p { background: #fff; color: var(--teal-deep); }
@media (max-width: 40rem) { .offer__perks { grid-template-columns: 1fr; } }

/* content pages */
.phead { padding: 1.6rem 0 1.2rem; }
.trail { font-size: .82rem; color: var(--ink-3); display: flex; gap: .45rem; margin-bottom: .9rem; }
.trail a { color: var(--ink-2); text-decoration: none; }
.phead h1 { font-size: clamp(1.8rem, 4.6vw, 2.6rem); line-height: 1.3; margin: 0 0 .7rem; }
.phead .lede { font-size: 1.06rem; color: var(--ink-2); margin: 0; }
.pmeta { font-size: .8rem; color: var(--ink-3); margin: .8rem 0 0; padding-bottom: 1rem; border-bottom: 2px solid var(--teal); }
.keys { background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--mango); border-radius: .8rem; padding: 1rem 1.2rem; margin: 1.2rem 0; }
.keys__label { margin: 0 0 .3rem; font-size: .8rem; font-weight: 700; color: var(--teal); }
.keys ul { margin: 0; padding-left: 1.1rem; }
.keys li { margin-bottom: .2rem; font-size: .95rem; }
.toc { background: var(--teal-soft); border-radius: .8rem; padding: .9rem 1.2rem; margin: 0 0 1.6rem; }
.toc__label { margin: 0 0 .3rem; font-size: .8rem; font-weight: 700; color: var(--teal-deep); }
.toc ol { margin: 0; padding-left: 1.2rem; font-size: .9rem; columns: 2; column-gap: 1.5rem; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--teal); }
@media (max-width: 40rem) { .toc ol { columns: 1; } }
.prose h2 { font-size: 1.5rem; line-height: 1.35; margin: 2.4rem 0 .7rem; padding-left: .7rem; border-left: 4px solid var(--mango); }
.prose h3 { font-size: 1.12rem; margin: 1.8rem 0 .4rem; color: var(--teal-deep); }
.prose p { margin: 0 0 1.05rem; }
.prose ul, .prose ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .3rem; }
.prose li::marker { color: var(--mango); }
.prose strong { background: linear-gradient(transparent 60%, var(--mango-soft) 60%); }
.prose .callout { background: var(--card); border: 1px solid var(--rule); border-radius: .8rem; padding: .9rem 1.1rem; margin: 1.2rem 0; font-size: .95rem; }
.prose .callout b { color: var(--teal-deep); }
.prose .grid-scroll { margin: 1.2rem 0; }
.prose table { font-size: .9rem; }
.prose th, .prose td { padding: .6rem .8rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose thead th { background: var(--teal-soft); color: var(--teal-deep); font-size: .82rem; }
.prose tbody tr:last-child > * { border-bottom: 0; }
.also h2, .pager + .also h2 { font-size: 1.35rem; margin: 0 0 .6rem; }
.also ul { list-style: none; margin: 0; padding: 0; }
.also a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.also b { display: block; color: var(--ink); }
.also span { display: block; font-size: .87rem; color: var(--ink-3); line-height: 1.6; }
.also a:hover b { color: var(--teal); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 0 0 2.2rem; }
.pager a { display: block; background: var(--card); border: 1px solid var(--rule); border-radius: .8rem; padding: .85rem 1rem; color: var(--ink); text-decoration: none; font-size: .92rem; line-height: 1.5; }
.pager small { display: block; color: var(--teal); font-size: .75rem; }
.pager__next { text-align: right; }
@media (max-width: 36rem) { .pager { grid-template-columns: 1fr; } .pager__next { text-align: left; } }
.story { padding-bottom: 3rem; }

/* base (footer) */
.base { background: var(--paper-2); border-top: 2px solid var(--teal); padding: 2.4rem 0 2rem; font-size: .88rem; color: var(--ink-2); }
.base__in { max-width: var(--wide); margin-inline: auto; padding-inline: 1.25rem; display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 2rem; }
.base__name { font-family: var(--display); font-size: 1.2rem; margin: 0 0 .4rem; color: var(--ink); }
.base__about p { margin: 0 0 .6rem; }
.base__index { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.base__g { margin: 0 0 .3rem; font-weight: 700; color: var(--teal-deep); font-size: .85rem; }
.base__index ul { margin: 0; padding: 0; list-style: none; }
.base__index li { margin-bottom: .25rem; }
.base__index a { color: var(--ink-2); text-decoration: none; }
.base__index a:hover { color: var(--teal); }
.base__legal { grid-column: 1 / -1; margin: 1rem 0 0; font-size: .78rem; color: var(--ink-3); }
@media (max-width: 48rem) { .base__in { grid-template-columns: 1fr; } }

/* dock (floating contact) */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .4rem; padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom, 0px)); background: rgba(251,247,239,.95); backdrop-filter: blur(8px); border-top: 1px solid var(--rule); }
.dock a { display: grid; place-items: center; min-height: 3rem; border-radius: .7rem; font-weight: 700; text-decoration: none; }
.dock__k { background: var(--kakao); color: #1d1a00; }
.dock__t { background: var(--tg); color: #fff; }
.dock__p { background: var(--ink); color: #fff; }
@media (min-width: 60rem) {
  body { padding-bottom: 0; }
  .dock { left: auto; right: 1.2rem; bottom: 1.2rem; width: 22rem; border: 1px solid var(--rule); border-radius: 1rem; padding: .45rem; box-shadow: 0 12px 30px rgba(28,26,23,.14); }
}
