:root {
    --bg: #0b0b0c;
    --ink: #f3efe6;
    --dim: #9a9588;
    --mint: #7dd3c0;
    --rule: #2a2a2c;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Segoe UI", system-ui, sans-serif;
    overflow-wrap: anywhere;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--mint);
}

.skip {
    position: absolute;
    left: -999px;
}

.skip:focus {
    left: 8px;
    top: 8px;
    background: var(--mint);
    color: #111;
    padding: 8px;
    z-index: 30;
}

.mast {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    padding: 10px 20px;
    border-bottom: 1px solid var(--rule);
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 20;
    min-height: 56px;
}

.iss {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mint);
}

.logo {
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
}

.nav {
    display: none;
    gap: 16px;
}

.nav a {
    color: var(--dim);
    text-decoration: none;
    font-size: 0.88rem;
}

.tools {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.txt {
    font: inherit;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--rule);
    padding: 6px 10px;
    cursor: pointer;
}

.drop {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--rule);
}

.drop[hidden] {
    display: none;
}

.drop a {
    color: var(--ink);
    text-decoration: none;
}

.cover {
    margin: 0;
}

.cover img {
    width: 100%;
    max-height: 56vh;
    object-fit: cover;
}

figcaption {
    padding: 10px 20px 0;
    color: var(--dim);
    font-size: 0.9rem;
    max-width: 62ch;
}

.ask,
.col,
.qa,
.get {
    padding: 36px 20px;
    max-width: 820px;
    margin: 0 auto;
}

.k {
    margin: 0;
    color: var(--mint);
    letter-spacing: 0.2em;
    font-size: 0.75rem;
}

h1 {
    margin: 8px 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.12;
}

.cn.h1 .cn {
    display: block;
    font-size: clamp(2rem, 7vw, 3.4rem);
}

h1 .en {
    display: block;
    margin-top: 8px;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-style: italic;
    font-weight: 600;
    padding-bottom: 4px;
}

.answer {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    border-top: 2px solid var(--mint);
    border-bottom: 1px solid var(--rule);
    padding: 18px 0;
}

.ans-label {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    margin: 0;
    color: var(--mint);
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.btn {
    display: inline-flex;
    background: var(--mint);
    color: #111;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 16px;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.98);
}

.ghost {
    font-weight: 700;
    text-decoration: none;
}

h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 12px;
}

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.split img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.qa ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qa li {
    padding: 20px 0;
    border-top: 1px solid var(--rule);
}

.qa h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    margin: 0 0 8px;
}

.qa p {
    margin: 0;
    color: var(--dim);
}

.get {
    border-top: 1px solid var(--rule);
}

footer {
    padding: 28px 20px 36px;
    border-top: 1px solid var(--rule);
    color: var(--dim);
}

.copy {
    font-size: 0.82rem;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }

    #open,
    .drop {
        display: none !important;
    }

    .split {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .cover img {
        max-height: 62vh;
    }
}

@media (min-width: 1100px) {
    .mast,
    .cover figcaption,
    footer {
        padding-left: calc((100% - 820px) / 2);
        padding-right: calc((100% - 820px) / 2);
    }
}

.site-title, .brand, .logo, .word, .mark-name, a.mark {
  white-space: normal !important;
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.site-title {
  font-size: 0.78rem;
  font-weight: 700;
  max-width: min(58vw, 520px);
  display: inline-block;
}


.dl-pair { display:inline-flex; flex-wrap:wrap; gap:10px; align-items:center; vertical-align:middle; }
.btn-primary-gold, .btn-gift {
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 16px; border:0; cursor:pointer;
  font: inherit; font-weight:700; font-size:0.92rem;
  text-decoration:none; white-space:nowrap; border-radius:8px;
  line-height:1.2;
}
.btn-primary-gold { background:#c9a227; color:#1a1408; }
.btn-primary-gold:hover { filter:brightness(1.08); text-decoration:none; color:#1a1408; }
.btn-gift { background:#7a1f2b; color:#fff; }
.btn-gift:hover { filter:brightness(1.08); }
.dl-btn-icon, .gift-btn-icon { font-size:1rem; }
.gift-modal[hidden] { display:none !important; }
.gift-modal { position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center; padding:16px; }
.gift-modal-mask { position:absolute; inset:0; background:rgba(0,0,0,.62); }
.mdl-card {
  position:relative; z-index:1; width:min(440px, 100%);
  background:#161616; color:#f3efe6; border-radius:16px; padding:22px 22px 18px;
  font-family: system-ui, "Segoe UI", sans-serif;
}
.mdl-close {
  position:absolute; top:10px; right:12px; width:36px; height:36px;
  border:0; background:transparent; color:#ccc; font-size:28px; cursor:pointer; line-height:1;
}
.mdl-head { text-align:center; padding-top:8px; }
.mdl-icon-wrap { width:52px; height:52px; margin:0 auto 10px; color:#c9a227; }
.mdl-icon-wrap svg { width:100%; height:100%; }
.mdl-title { margin:0; font-size:1.35rem; }
.mdl-subtitle { margin:4px 0 0; letter-spacing:.14em; font-size:.72rem; color:#c9a227; }
.mdl-desc { font-size:.95rem; line-height:1.6; color:#ddd; }
.gift-code-box {
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  background:#2a2110; border:1px solid #c9a227; border-radius:10px; padding:12px 14px; cursor:pointer;
}
.gift-code-label { display:block; font-size:.72rem; color:#c9a227; }
.gift-code-value { display:block; font-size:1.4rem; font-weight:800; letter-spacing:.08em; }
.gift-code-copy { font-size:.8rem; color:#c9a227; white-space:nowrap; }
.gift-code-hint { font-size:.8rem; color:#999; margin:8px 0 0; }
.mdl-actions { display:flex; flex-direction:column; gap:8px; margin-top:16px; }
.mdl-btn {
  display:flex; align-items:center; justify-content:center; gap:8px;
  padding:12px; border-radius:10px; text-decoration:none; font-weight:700; border:0; cursor:pointer; font:inherit;
}
.mdl-btn svg { width:18px; height:18px; }
.mdl-btn-primary { background:#c9a227; color:#1a1408; }
.mdl-btn-secondary { background:#2a2a2a; color:#eee; }
