/* 2026-11-24 사용자: 영어 글꼴 통일 -> 시안 3번 Inter SemiBold (로고 영문 TAECHO / POINT SHOP 도 같은 글꼴).
   영문만(숫자 제외) 뽑은 글꼴. 한글·숫자는 unicode-range 밖이라 다음 글꼴(Noto Sans KR/맑은 고딕)로 그대로 나온다. */
@font-face { font-family: "Taecho Latin"; src: url("/static/taecho-latin.woff?v=20261124-inter") format("woff"); font-weight: 100 900; font-display: swap; unicode-range: U+0020-002F, U+003A-007E, U+00B7, U+2013-2014, U+2018-2019, U+201C-201D; }
/* 2026-11-24 사용자: 구글 한글 글꼴(Noto Serif KR) 포인트샵에 적용 -> 제목·로고 등 명조(--serif) 글자에 쓴다.
   자주 쓰는 한글 2350자(KS X 1001)+영문·기호만 뽑은 가변 굵기 글꼴(200~900). 라이선스 OFL(noto-serif-kr-OFL.txt). */
@font-face { font-family: "Taecho Serif"; src: url("/static/noto-serif-kr.woff?v=20261124-serif") format("woff"); font-weight: 200 900; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #101719; --soft: #192325; --soft-2: #202d2e;
  --ink: #f1eee5; --ink-2: #c8cec6; --muted: #9daaa3;
  --line: #2b3938; --line-2: #46544a; --accent: #c4aa78;
  --gold-light: #e2cc9f; --ok: #9fc8ab; --err: #e7a69a; --radius: 6px;
  --font: "Taecho Latin", "Noto Sans KR", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  --serif: "Taecho Serif", "Noto Serif KR", "Noto Serif TC", "Batang", "바탕", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(ellipse at 80% 0, #1b2928 0, transparent 43%), var(--bg); color: var(--ink); font: 14px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .42; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 20px; background: var(--accent); color: var(--bg); }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(16,23,25,.96); border-bottom: 1px solid #c4aa782c; backdrop-filter: blur(14px); }
.topbar-inner { max-width: 1248px; min-height: 86px; margin: auto; padding: 14px 32px; display: flex; align-items: center; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; color: var(--ink); text-decoration: none; }
.brand-seal { display: grid; place-items: center; width: 42px; height: 44px; border: 1px solid var(--accent); color: var(--accent); font: 31px/1 var(--serif); }
.brand-wordmark { display: flex; flex-direction: column; gap: 4px; }
.brand-wordmark strong { font: 600 24px/1 var(--serif); letter-spacing: .17em; }
.brand-wordmark small { color: var(--accent); font-size: 8px; letter-spacing: .23em; white-space: nowrap; }
.search { position: relative; flex: 1; max-width: 340px; margin-left: auto; }
.search input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 3px; background: #152022; padding: 0 15px 0 40px; outline: none; transition: border-color .2s; }
.search input::placeholder { color: #8f9e97; }
.search input:focus { border-color: var(--accent); }
.search-ico { position: absolute; top: 50%; left: 13px; width: 16px; height: 16px; transform: translateY(-50%); fill: none; stroke: var(--accent); stroke-width: 1.5; }
.actions { display: flex; align-items: center; gap: 12px; flex: none; }
.view-btn { position: relative; border: 0; padding: 8px 5px; background: transparent; color: var(--muted); white-space: nowrap; }
.view-btn.active, .view-btn:hover { color: var(--gold-light); }
.view-btn.active::after { content: ""; height: 1px; background: var(--accent); position: absolute; bottom: 1px; left: 5px; right: 5px; }
.dot-count:not(:empty) { margin-left: 4px; color: var(--accent); font-size: 11px; }
.cart-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 40px; padding: 7px 13px; margin-left: 5px; background: transparent; border: 1px solid #9c895f; border-radius: 3px; color: var(--gold-light); white-space: nowrap; }
.cart-btn:hover { background: #c4aa7812; }
.cart-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.cart-count { display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px; background: var(--accent); color: #17201c; border-radius: 50%; font-size: 10px; font-weight: 800; }
.cart-count.bump { animation: bump .3s ease; }
@keyframes bump { 50% { transform: scale(1.22); } }
.page { max-width: 1248px; padding: 28px 32px 80px; margin: auto; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-eyebrow { margin: 0 0 6px; color: var(--accent); font-size: 9px; font-weight: 400; letter-spacing: .23em; }
.page-heading h1 { margin: 0; font: 500 29px/1.4 var(--serif); letter-spacing: -.035em; }
.realm-note { margin: 0 0 4px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.realm-note span { color: var(--accent); margin-right: 9px; }
.banner { max-width: 1184px; margin: 14px auto 0; padding: 12px 18px; border: 1px solid var(--line); border-radius: 3px; font-size: 12px; }
.banner-warn { color: var(--gold-light); background: #29271e; border-color: #5b5034; }
.banner-error { color: #ddaea0; background: #281f20; border-color: #62423a; }
.account { display: flex; align-items: center; gap: 20px; min-height: 90px; padding: 16px 23px; margin-bottom: 20px; border: 1px solid var(--line); background: linear-gradient(110deg,#1c292a,#172123); border-radius: 4px; }
.account-emblem { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid #c4aa7847; color: var(--accent); font: 23px var(--serif); }
.account-main { flex: 1; min-width: 0; }
.caption { color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.account h2 { margin: 2px 0; font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account p { margin: 0; font-size: 11px; }
.account-cash { padding: 0 24px; border-left: 1px solid var(--line-2); text-align: right; }
.account-cash strong { display: block; color: var(--gold-light); font: 500 27px/1.35 Georgia, serif; white-space: nowrap; }
.account-cash small { margin-left: 7px; color: var(--muted); font: 11px var(--font); }
.hero { position: relative; overflow: hidden; min-height: 370px; isolation: isolate; border: 1px solid #b59a6559; border-radius: 4px; background: #101b1f; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(90deg,#101b1f 4%,#101b1ff0 32%,#101b1f70 58%,#101b1f08 82%),url('/static/moonlit-hero.webp'); background-position: center,right 8%; background-size: cover,auto 170%; background-repeat: no-repeat; }
.hero::after { content: ""; position: absolute; inset: 10px; border: 1px solid #c4aa7821; pointer-events: none; z-index: -1; }
.hero-slide { position: relative; display: flex; align-items: center; min-height: 370px; padding: 40px 48px 56px; animation: fadein .4s ease; }
@keyframes fadein { from { opacity: .8; } }
.hero-copy { max-width: 59%; position: relative; z-index: 1; }
.hero-eyebrow { display: block; color: var(--accent); font-size: 9px; letter-spacing: .25em; margin-bottom: 16px; }
.hero-eyebrow::before { content: ""; display: inline-block; width: 25px; height: 1px; margin: 0 10px 3px 0; background: var(--accent); }
.hero-kicker { color: #cdbb94; font-size: 11px; letter-spacing: .14em; }
.hero h2 { margin: 10px 0 13px; color: #faf0d7; font: 500 clamp(28px,3.3vw,43px)/1.4 var(--serif); letter-spacing: -.035em; word-break: keep-all; text-wrap: balance; }
.hero p { max-width: 410px; margin: 0 0 12px; color: #b8c2b7; font-size: 12px; }
.hero-price { margin: 0 0 19px; color: var(--gold-light); font: 27px Georgia,serif; }
.hero-price small { font: 11px var(--font); margin-left: 7px; color: #c2bbab; }
.hero-cta { display: flex; gap: 9px; flex-wrap: wrap; }
.hero-art { position: absolute; right: 31px; bottom: 29px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 112px; height: 127px; border: 1px solid #c4aa7880; background: #102022d9; box-shadow: 0 12px 30px #0005; }
.hero-art img { width: 69px; height: 69px; object-fit: contain; filter: drop-shadow(0 5px 9px #0006); }
.hero-art-label { margin-top: 8px; color: #d1bd90; font-size: 8px; letter-spacing: .12em; }
.hero-inscription { position: absolute; bottom: 16px; right: 170px; color: #c4aa7890; font: 14px var(--serif); letter-spacing: .3em; pointer-events: none; }
.hero-dots { position: absolute; left: 49px; bottom: 24px; display: flex; gap: 7px; }
.hero-dots button { width: 19px; height: 16px; padding: 6px 0; border: 0; border-radius: 0; background: transparent; position: relative; }
.hero-dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: #8e94885c; transition: background .2s; }
.hero-dots button[aria-pressed="true"]::after { background: var(--gold-light); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3,1fr); padding: 0; margin: 14px 0 0; background: #172123; border: 1px solid var(--line); border-radius: 3px; }
.steps li { display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 57px; padding: 12px; color: var(--muted); font-size: 11px; }
.steps li+li { border-left: 1px solid var(--line); }
.steps b { color: var(--accent); font: 17px var(--serif); }
.steps em { color: var(--ink-2); font-style: normal; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 40px 0 22px; }
.catalog-heading h2 { margin: 0; font: 500 25px/1.4 var(--serif); }
.catalog-heading>p { margin: 0 0 3px; color: var(--muted); font-size: 11px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 13px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.tab { position: relative; border: 0; background: none; padding: 7px 0; color: var(--muted); font-size: 14px; }
.tab:hover, .tab[aria-selected="true"] { color: var(--gold-light); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 2px; background: var(--accent); }
.tab-n { margin-left: 5px; color: #819289; font: 10px Georgia,serif; }
.toolbar-right { display: flex; align-items: center; gap: 18px; }
.toggle { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; cursor: pointer; }
.toggle input { width: 14px; height: 14px; margin: 0; accent-color: var(--accent); }
.select select { max-width: 145px; height: 33px; padding: 0 9px; border: 1px solid var(--line); border-radius: 3px; background: var(--soft); font-size: 11px; }
.result-info { margin: 16px 0; color: var(--muted); font-size: 11px; }
.grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.card { min-width: 0; padding: 12px 12px 14px; background: linear-gradient(145deg,#1b2728,#172123); border: 1px solid var(--line); border-radius: 4px; transition: border-color .2s,transform .2s; }
.card:hover { border-color: #a48d59; transform: translateY(-3px); }
.card-media { position: relative; }
.card-visual { position: relative; display: grid; place-items: center; width: 100%; height: 170px; padding: 15px; border: 0; border-radius: 2px; background: radial-gradient(ellipse at 50% 70%,#35423b 0,#1b292b 49%,#132022 100%); }
.card-visual::before { content: ""; position: absolute; inset: 9px; border: 1px solid #c4aa781c; pointer-events: none; }
.thumb { display: grid; place-items: center; width: 100%; height: 100%; }
.thumb img { display: block; width: 86px; height: 86px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 8px 11px #0006); transition: transform .22s; }
.card:hover .thumb img { transform: translateY(-3px) scale(1.045); }
.thumb-fallback { color: #9c8c67; font: 36px var(--serif); }
.badges { display: flex; flex-wrap: wrap; gap: 5px; }
.card .badges { position: absolute; top: 8px; left: 8px; pointer-events: none; }
.badge { display: inline-flex; align-items: center; min-height: 20px; padding: 2px 6px; font-size: 8px; font-weight: 600; line-height: 1.2; letter-spacing: .05em; border: 1px solid #c4aa7866; background: #17211ee6; color: #d4bd8e; border-radius: 2px; }
.badge.new { color: #b0cdb8; border-color: #83a68d66; }
.badge.best { background: #c4aa78; color: #192320; }
.badge.event { color: #e1b7a8; border-color: #b47f6666; }
.badge.pkg { background: #243135e6; border-color: #536861; color: #b6c4bd; }
.card-name { min-height: 44px; margin: 16px 2px 5px; font-size: 14px; font-weight: 500; line-height: 1.55; }
.card-name button { display: -webkit-box; width: 100%; max-height: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); text-align: left; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card-name button:hover { color: var(--gold-light); }
.card-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0 2px 13px; color: var(--muted); font-size: 10px; }
.card-price { margin: 0 2px 15px; color: var(--gold-light); font: 23px/1.3 Georgia,serif; }
.card-price small, .detail-price small { margin-left: 5px; color: var(--muted); font: 10px var(--font); }
.card-buy { display: flex; gap: 7px; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 2px; overflow: hidden; background: #111c1e; }
.stepper button { flex: none; width: 28px; height: 32px; border: 0; background: none; color: var(--ink-2); }
.stepper button:hover { color: var(--gold-light); background: #c4aa7812; }
.stepper input { width: 30px; height: 32px; padding: 0; border: 0; background: transparent; text-align: center; font-size: 12px; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.card-add { flex: 1; max-width: 106px; min-height: 34px; padding: 3px 13px; color: var(--gold-light); background: #c4aa7810; border: 1px solid #9a855580; border-radius: 2px; font-size: 11px; }
.card-add:hover:not(:disabled) { background: var(--accent); color: #17201c; border-color: var(--accent); }
.empty { grid-column: 1/-1; padding: 70px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); }
.btn-primary { min-height: 41px; padding: 10px 19px; border: 1px solid var(--accent); border-radius: 2px; background: var(--accent); color: #17201c; font-weight: 700; font-size: 12px; }
.btn-primary:hover:not(:disabled) { background: var(--gold-light); border-color: var(--gold-light); }
.btn-line { min-height: 39px; padding: 9px 16px; border: 1px solid #7f795e; border-radius: 2px; background: transparent; color: var(--ink-2); font-size: 11px; }
.btn-line:hover { color: var(--gold-light); border-color: var(--accent); background: #c4aa780a; }
.btn-block { width: 100%; }
.btn-icon { display: grid; place-items: center; width: 35px; height: 35px; padding: 0; border: 1px solid var(--line); background: transparent; border-radius: 3px; color: var(--muted); font-size: 16px; }
.btn-icon:hover { color: var(--gold-light); border-color: var(--accent); }
.scrim { position: fixed; inset: 0; z-index: 39; background: #050c10aa; backdrop-filter: blur(3px); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 40; display: flex; flex-direction: column; width: min(440px,100%); background: #172123; border-left: 1px solid #8e794d; box-shadow: -20px 0 80px #0007; transform: translateX(105%); visibility: hidden; transition: transform .25s,visibility .25s; }
.drawer.open { transform: translateX(0); visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font: 24px var(--serif); }
.basket-lines { flex: 1; min-height: 0; overflow-y: auto; list-style: none; padding: 0 23px; margin: 0; }
.basket-lines:empty { flex: 0; }
.basket-line { display: grid; grid-template-columns: 62px minmax(0,1fr) auto; grid-template-areas: "icon name name" "icon sub price" ". tail tail"; column-gap: 14px; row-gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.basket-line .thumb { grid-area: icon; width: 62px; height: 70px; border: 1px solid var(--line); background: #1d2e2e; }
.basket-line .thumb img { width: 45px; height: 45px; }
.basket-line .name { grid-area: name; margin: 0; font-size: 12px; }
.basket-line .sub { grid-area: sub; margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.basket-line .line-price { grid-area: price; justify-self: end; white-space: nowrap; color: var(--gold-light); font: 16px Georgia,serif; }
.basket-line .line-tail { grid-area: tail; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.remove { padding: 3px; border: 0; background: none; color: var(--muted); font-size: 10px; }
.remove:hover { color: var(--err); }
.basket-empty { flex: 1; display: grid; place-items: center; padding: 40px 20px; color: var(--muted); font-size: 12px; }
.drawer-foot { padding: 23px; border-top: 1px solid #c4aa7847; background: #141e20; }
.sum-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 9px 0; color: var(--muted); font-size: 12px; }
.sum-row.total { margin-bottom: 17px; color: var(--ink); }
.sum-row.total strong { color: var(--gold-light); font: 25px Georgia,serif; }
.sum-row .minus { color: var(--err); }
.field-label { display: block; margin: 20px 0 8px; color: var(--ink-2); font-size: 11px; }
#destination { width: 100%; min-height: 42px; margin-bottom: 12px; padding: 8px 11px; border: 1px solid var(--line-2); background: #102022; border-radius: 2px; }
.checkout-msg { margin: 10px 0 0; min-height: 18px; font-size: 11px; color: var(--muted); }
.checkout-msg.ok { color: var(--ok); }
.checkout-msg.error { color: var(--err); }
.modal { width: min(780px,calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; overflow: auto; color: var(--ink); border: 1px solid #a58e5c; border-radius: 5px; background: #192527; box-shadow: 0 24px 100px #0009; }
.modal::backdrop { background: #050b0dcc; backdrop-filter: blur(5px); }
.modal[open] { animation: pop .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.dialog-close-form { position: absolute; top: 14px; right: 14px; z-index: 2; }
.dialog-close-form .btn-icon { background: #152022e6; }
.detail-body { display: grid; grid-template-columns: .85fr 1.15fr; }
.detail-visual { display: grid; place-items: center; min-height: 340px; padding: 28px; background: radial-gradient(circle,#39463b,#142226 67%); }
.thumb-lg { width: 100%; max-width: 230px; aspect-ratio: 1; height: auto; border: 1px solid #c4aa783d; border-radius: 50%; }
.thumb-lg img { width: 130px; height: 130px; }
.detail-info { padding: 40px 30px 28px; min-width: 0; }
.detail-info h2 { margin: 16px 0 8px; font: 500 24px/1.5 var(--serif); }
.detail-price { margin: 19px 0 25px; color: var(--gold-light); font: 30px Georgia,serif; }
.detail-info h3 { margin: 0 0 8px; font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.detail-items { padding: 0; margin: 0; list-style: none; }
.detail-items li { display: flex; justify-content: space-between; gap: 15px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.detail-items .qty { color: var(--accent); white-space: nowrap; }
.note { padding: 10px 12px; margin: 16px 0; border: 1px solid var(--line-2); background: #c4aa7808; color: var(--muted); }
.detail-actions { display: flex; gap: 10px; margin-top: 25px; }
.detail-actions .stepper button,.detail-actions .stepper input { height: 40px; }
.detail-actions .btn-primary { flex: 1; }
.modal-sm { width: min(410px,calc(100% - 32px)); }
.login-form { padding: 34px; }
.login-head { margin-bottom: 28px; }
.login-head .brand { margin-bottom: 17px; }
.login-head h2 { margin: 10px 0; font: 23px var(--serif); }
.login-head p { margin: 0; line-height: 1.8; }
.field { display: block; margin: 16px 0; color: var(--ink-2); font-size: 12px; }
.field input { display: block; width: 100%; height: 43px; padding: 9px 12px; margin-top: 7px; border: 1px solid var(--line-2); border-radius: 2px; background: #101d20; }
.field input:focus { outline-color: var(--accent); }
.login-error { min-height: 18px; color: var(--err); font-size: 11px; }
.orders { padding-top: 20px; }
.orders-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.orders-head h2 { margin: 0; font: 27px var(--serif); }
.orders-head p { margin: 7px 0 0; font-size: 12px; }
.order-list { display: grid; gap: 16px; }
.order { padding: 23px; background: var(--soft); border: 1px solid var(--line); border-radius: 4px; }
.order-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.order-date { color: var(--ink-2); font-size: 12px; }
.status { padding: 4px 9px; background: #9fc8ab0c; border: 1px solid #739b7247; color: var(--ok); font-size: 10px; border-radius: 2px; }
.mono { font-family: ui-monospace,monospace; font-size: 10px; color: var(--muted); }
.order-dest { margin: 15px 0; color: var(--ink-2); font-size: 12px; }
.order-lines { padding: 0; margin: 0; list-style: none; }
.order-lines li { display: flex; align-items: center; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-lines .thumb { flex: none; width: 48px; height: 48px; background: var(--soft-2); border-radius: 3px; }
.order-lines .thumb img { width: 34px; height: 34px; }
.order-lines .ln-name { margin: 0; font-size: 12px; }
.order-lines .items { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.order-lines .ln-total { margin-left: auto; white-space: nowrap; color: var(--gold-light); font: 16px Georgia,serif; }
.order-foot { display: flex; justify-content: flex-end; gap: 16px; align-items: center; padding-top: 17px; color: var(--muted); font-size: 12px; }
.order-foot strong { color: var(--gold-light); font: 23px Georgia,serif; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 90; max-width: calc(100% - 32px); padding: 13px 23px; border: 1px solid #9d895c; background: #1e2d2df5; color: var(--ink); box-shadow: 0 9px 35px #0005; border-radius: 3px; text-align: center; font-size: 12px; animation: fadein .15s; }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px max(32px,calc((100% - 1184px)/2)); border-top: 1px solid var(--line); background: #0e1517; color: #87968c; font-size: 10px; }
.footer strong { color: var(--accent); letter-spacing: .16em; font-weight: 400; white-space: nowrap; }
@media(max-width:1050px) {
  .topbar-inner { gap: 22px; padding-inline: 24px; }
  .actions { gap: 8px; }
  .search { max-width: 260px; }
  .grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:760px) {
  .topbar-inner { flex-wrap: wrap; padding: 15px 20px; gap: 14px; }
  .brand-seal { width: 35px; height: 37px; font-size: 26px; }
  .brand-wordmark strong { font-size: 21px; }
  .brand-wordmark small { font-size: 7px; }
  .search { order: 3; max-width: none; flex-basis: 100%; }
  .actions { margin-left: auto; }
  .cart-label { display: none; }
  .cart-btn { gap: 7px; padding: 7px 9px; }
  .page { padding: 23px 20px 50px; }
  .page-heading { margin-bottom: 20px; }
  .page-heading h1 { font-size: 25px; }
  .realm-note { font-size: 10px; }
  .account { padding: 15px; gap: 12px; flex-wrap: wrap; }
  .account-emblem { display: none; }
  .account-cash { padding: 0 0 0 17px; }
  .account-cash strong { font-size: 23px; }
  .account .btn-line { min-height: 31px; padding: 5px 10px; margin-left: auto; }
  .hero-slide { padding: 32px 29px 54px; min-height: 350px; }
  .hero-copy { max-width: 73%; }
  .hero h2 { font-size: 31px; }
  .hero-art { right: 20px; bottom: 22px; width: 83px; height: 98px; }
  .hero-art img { width: 51px; height: 51px; }
  .hero-art-label { font-size: 6px; }
  .hero-dots { left: 30px; bottom: 18px; }
  .hero-inscription { display: none; }
  .steps li { flex-direction: column; gap: 3px; font-size: 9px; padding: 11px 7px; text-align: center; }
  .steps b { font-size: 14px; }
  .catalog-heading { margin-top: 30px; }
  .catalog-heading>p { display: none; }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
  .tabs { gap: 20px; }
  .toolbar-right { margin-left: auto; }
  .detail-body { grid-template-columns: 1fr; }
  .detail-visual { min-height: 185px; padding: 20px; }
  .thumb-lg { width: 150px; }
  .thumb-lg img { width: 95px; height: 95px; }
  .detail-info { padding: 22px; }
  .banner { margin-inline: 20px; }
  .footer { padding: 23px 20px; flex-direction: column; gap: 8px; }
}
@media(max-width:460px) {
  .topbar-inner { padding-inline: 16px; gap: 11px; }
  .brand { gap: 8px; }
  .actions { gap: 7px; }
  .view-btn { font-size: 11px; padding-inline: 3px; }
  .cart-btn { margin-left: 0; }
  .page { padding-inline: 16px; }
  .realm-note { display: none; }
  .page-heading h1 { font-size: 24px; }
  .account h2 { font-size: 14px; }
  .account p { max-width: 180px; }
  .account-cash strong { font-size: 21px; }
  .hero::before { background-size: cover,auto 145%; background-image: linear-gradient(90deg,#101b1ff5,#101b1fd9 45%,#101b1f59),url('/static/moonlit-hero.webp'); }
  .hero-slide { padding: 29px 23px 52px; }
  .hero-copy { max-width: 100%; }
  .hero-eyebrow { font-size: 7px; letter-spacing: .16em; }
  .hero h2 { max-width: 260px; font-size: 29px; }
  .hero p { max-width: 240px; font-size: 11px; }
  .hero-art { display: none; }
  .hero-dots { left: 24px; }
  .hero .btn-primary,.hero .btn-line { font-size: 11px; padding-inline: 13px; }
  .toolbar { gap: 17px; }
  .tabs { gap: 17px; }
  .tab { font-size: 12px; }
  .tab-n { font-size: 9px; margin-left: 3px; }
  .grid { gap: 10px; }
  .card { padding: 8px 8px 12px; }
  .card-visual { height: 135px; }
  .thumb img { width: 72px; height: 72px; }
  .card-name { font-size: 12px; min-height: 39px; }
  .card-price { font-size: 21px; }
  .card-buy { gap: 5px; }
  .card-buy .stepper button { width: 22px; }
  .card-buy .stepper input { width: 24px; }
  .card-add { min-width: 38px; padding-inline: 7px; font-size: 10px; }
  .badge { font-size: 7px; padding: 2px 4px; }
  .order { padding: 16px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Quantity and direct purchase remain on each product card. */
.card-buy{display:grid;grid-template-columns:1fr auto;gap:8px}
.card-buy .stepper{min-width:0;justify-self:start}
.card-quick{grid-column:1/-1;border:1px solid #c7aa74;background:#c7aa74;color:#101719;border-radius:7px;padding:10px;font-weight:700;cursor:pointer}
.card-quick:disabled{opacity:.4;cursor:not-allowed}
#quickBuy{padding:36px 28px;max-width:440px;width:calc(100% - 32px)}
#quickDestination{width:100%;padding:10px;background:#131d20;color:#eee;border:1px solid #58605b;border-radius:5px}
#quickConfirm{width:100%;margin-top:12px}

/* 2026-11-23 (사용자: 한 줄에 6개, 카드는 작게) 넓은 화면 6열(창 1000px 넘으면), 카드·그림·글자 축소. 좁아지면 4·3·2열. */
.grid { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.card { padding: 8px 8px 10px; }
.card-visual { height: 118px; padding: 10px; }
.card-name { min-height: 38px; margin: 10px 2px 4px; font-size: 12.5px; line-height: 1.5; }
.card-name button { max-height: 38px; }
.card-meta { margin: 0 2px 8px; }
.card-price { margin: 0 2px 10px; font-size: 18px; }
.card-buy { gap: 5px; padding-top: 8px; }
.card-buy .stepper button { width: 22px; }
.card-buy .stepper input { width: 26px; }
.card-add { min-height: 30px; padding: 2px 8px; font-size: 10.5px; }
.card-quick { padding: 7px; font-size: 12px; }
@media(max-width:1000px) { .grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media(max-width:760px) { .grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; } }
@media(max-width:460px) { .grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }

/* 2026-11-24 (사용자): 디스코드 아이콘·홍보물 느낌 — 달밤 푸른 배경, 금테 검은 판, 흰·푸른 빛 글씨 */
:root {
  --bg: #050b1d; --soft: #0a1430; --soft-2: #0f1c40;
  --ink: #eef4ff; --ink-2: #c6d4f2; --muted: #9fb2d8;
  --line: #22355f; --line-2: #34507f; --accent: #e0b55a; --gold-light: #f3dca2;
}
body { background: radial-gradient(ellipse at 78% -8%, #1a3a8a70 0, transparent 52%), radial-gradient(ellipse at 8% 70%, #10285e55 0, transparent 50%), var(--bg); }
.brand-emblem { width: 46px; height: 46px; flex: none; display: block; filter: drop-shadow(0 0 10px #3f6dff55) drop-shadow(0 3px 6px #000a); }
.brand-wordmark strong.brand-hanja { font-family: "Noto Serif TC", "Noto Serif KR", "Batang", serif; font-weight: 900; font-size: 30px; line-height: 1.05; letter-spacing: .1em; background: linear-gradient(175deg, #ffffff 0%, #eef5ff 35%, #b9d2ff 62%, #8fb4f5 80%, #e6f0ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 1px #0a1a4a) drop-shadow(0 0 10px #5f95ffaa) drop-shadow(0 2px 2px #000c); }
.brand-wordmark small { color: #e3c27a; }
h1, h2 { color: #f2f7ff; text-shadow: 0 0 16px #5f95ff88, 0 3px 6px #000b; }
.topbar { background: rgba(5,11,29,.95); border-bottom-color: #e0b55a40; }
.account { background: #070b16; border-color: #d6a640aa; box-shadow: 0 0 18px #2e5bd022; }
.hero { background: #050b1d; border-color: #d6a640aa; }
.hero::before { background-image: linear-gradient(90deg,#050b1d 4%,#050b1df0 32%,#050b1d70 58%,#050b1d08 82%),url('/static/moonlit-hero.webp'); }
.steps { background: #070b16; border-color: #d6a64088; }
.card { background: linear-gradient(160deg,#0c1838,#070b16); border-color: #d6a64066; }
.card:hover { border-color: #e0b55a; }
.drawer { background: #070d1f; border-left-color: #d6a640; }
.btn-primary, .card-quick { background: linear-gradient(180deg,#f2d28a,#d6a640); border-color: #ffe3a1; color: #14100a; }
@media (max-width: 760px) { .hero::before { background-image: linear-gradient(90deg,#050b1df5,#050b1dd9 45%,#050b1d59),url('/static/moonlit-hero.webp'); } }
.footer { background: #040919; color: #8fa3cc; border-top-color: #e0b55a33; }
.modal { background: #070d1f; border-color: #d6a640; }
.modal::backdrop { background: #02061299; }
.dialog-close-form .btn-icon { background: #0a1430e6; }
@media (max-width: 760px) { .brand-emblem { width: 38px; height: 38px; } .brand-wordmark strong.brand-hanja { font-size: 24px; } }

/* 2026-11-24 (사용자): 왼쪽 위 로고 = 시안 3번 (太初 | TAECHO / CASH SHOP), 마크 없음 */
.brand-logo { display: block; height: 58px; width: auto; }
.login-head .brand-logo { height: 50px; }
@media (max-width: 760px) { .brand-logo { height: 44px; } }

/* 2026-11-24 계정 활성화 버튼·팝업 */
.activation-box { display: flex; flex-direction: column; gap: 6px; padding: 0 18px; border-left: 1px solid var(--line-2); min-width: 150px; }
.activation-box .caption { text-align: center; }
.activation-box .btn-primary, .activation-box .btn-line { min-height: 32px; padding: 6px 12px; white-space: nowrap; }
.activation-done { color: var(--ok); font-size: 12px; text-align: center; white-space: nowrap; }
.activation-dialog h3 { margin: 16px 0 6px; font-size: 13px; color: var(--gold-light); }
.activation-dialog .sum-row { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; }
.activation-dialog .sum-row.total strong { color: var(--gold-light); }
.activation-dialog .note { margin-top: 14px; color: var(--muted); }
.activation-dialog .btn-block { width: 100%; margin-top: 12px; }
@media (max-width: 720px) { .activation-box { border-left: 0; padding: 0; } }
/* 2026-11-24 사용자: 빨간 표시한 작은 글씨 조금 키움 (태초·포인트 상점 / 보유 포인트·포인트 / 계정 활성화·활성화 완료 / 받는 방법 3단계). 넓은 화면만 */
@media (min-width: 761px) {
  .realm-note { font-size: 14px; }
  .account-cash .caption, .activation-box .caption { font-size: 12px; }
  .account-cash small { font-size: 13px; }
  .activation-done { font-size: 14px; }
  .steps li { font-size: 13px; }
  .steps b { font-size: 19px; }
}

/* 2026-11-25 사용자: '보유 포인트' 글자를 숫자 왼쪽 시작에 맞춰 살짝 왼쪽으로 */
.account-cash .caption { display: block; text-align: left; }
