:root {
  --ink: #16131F;
  --muted: #5A5566;
  --line: #E4E1EA;
  --paper: #FFFFFF;
  --sun: #FFC93C;
  --sun-soft: #FFF1C9;
  --red: #D2301F;
  --purple: #6A2FD6;
  --blue: #2348D8;
  --blue-soft: #E6ECFF;
  --green: #0E7A52;
  --green-soft: #E8F6EF;
  --admin-bg: #F4F2F8;
  --display: 'Bricolage Grotesque', 'Noto Sans', sans-serif;
  --body: 'DM Sans', 'Noto Sans', system-ui, sans-serif;
  --ja: 'Noto Sans JP', sans-serif;
}
html[lang="ko"] { --display: 'Noto Sans KR', sans-serif; --body: 'Noto Sans KR', sans-serif; }
html[lang="zh-Hans"] { --display: 'Noto Sans SC', sans-serif; --body: 'Noto Sans SC', sans-serif; }
html[lang="zh-Hant-TW"] { --display: 'Noto Sans TC', sans-serif; --body: 'Noto Sans TC', sans-serif; }
html[lang="ru"] { --display: 'Noto Sans', sans-serif; --body: 'Noto Sans', system-ui, sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFE9A8; color: var(--ink); font-family: var(--body); }
img { max-width: 100%; }
a { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.shell { max-width: 480px; min-height: 100vh; margin: 0 auto; background: var(--paper); display: flex; flex-direction: column; position: relative; box-shadow: 0 0 0 2px var(--ink); }
.loading { padding: 40px 20px; text-align: center; color: var(--muted); }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 10px; gap: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.logo { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--red); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); color: #fff; display: grid; place-items: center; font: 800 18px 'Bricolage Grotesque', sans-serif; }
.brand-name { font: 800 19px 'Bricolage Grotesque', sans-serif; letter-spacing: -0.3px; white-space: nowrap; }
.top-actions { display: flex; align-items: center; gap: 4px; position: relative; }
.icon-btn { width: 44px; height: 44px; border-radius: 22px; display: grid; place-items: center; color: var(--ink); background: transparent; border: 0; }
.lang-btn { height: 44px; padding: 0 12px; border-radius: 22px; border: 2px solid var(--ink); background: #fff; display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; font-family: 'DM Sans', 'Noto Sans KR', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans', sans-serif; }
.lang-btn[aria-expanded="true"] { background: var(--sun); }
.lang-menu { position: absolute; top: 52px; right: 0; z-index: 20; width: 236px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--ink); padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.lang-menu button { height: 48px; border-radius: 12px; border: 0; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-weight: 700; font-size: 16px; font-family: 'DM Sans', 'Noto Sans KR', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans', sans-serif; text-align: left; }
.lang-menu button[aria-current="true"] { background: var(--ink); color: #fff; }
.lang-menu small { font-size: 13px; opacity: .8; }

/* home */
.hero { margin: 8px 16px 0; padding: 22px 20px 24px; background: var(--sun); border: 2px solid var(--ink); border-radius: 24px; box-shadow: 5px 5px 0 var(--ink); display: flex; flex-direction: column; gap: 10px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 9vw, 40px); line-height: 1.08; letter-spacing: -0.5px; }
html[lang="ru"] .hero h1 { font-size: clamp(27px, 8vw, 34px); }
.hero p { margin: 0; font-size: 16px; line-height: 1.5; }
.sec { padding: 26px 16px 0; }
.sec h2 { margin: 0 0 12px; font-family: var(--display); font-weight: 800; font-size: 22px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chip { flex: none; height: 44px; padding: 0 18px; border-radius: 22px; border: 2px solid var(--ink); background: #fff; font-weight: 700; font-size: 15px; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cat { height: 92px; border-radius: 18px; border: 2px solid var(--ink); background: #fff; color: var(--c); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 14px; font-family: var(--display); font-weight: 800; font-size: 19px; text-align: left; transition: transform .12s, box-shadow .12s; }
.cat[aria-pressed="true"] { background: var(--c); color: #fff; box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.list-head h2 { margin: 0; }
.list-head span { font-size: 14px; color: var(--muted); }
.cards { display: flex; flex-direction: column; gap: 18px; }
.card { display: block; text-decoration: none; color: var(--ink); border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 5px 5px 0 var(--ink); background: #fff; transition: transform .12s, box-shadow .12s; }
.card:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.card-img { position: relative; height: 210px; background: var(--sun-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-weight: 700; font-size: 13px; padding: 6px 11px; border-radius: 14px; border: 2px solid var(--ink); background: #fff; color: var(--ink); }
.tag.cat-tag { background: var(--c); color: #fff; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.names { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.name-en { font: 800 23px 'Bricolage Grotesque', 'Noto Sans', sans-serif; }
.name-ja { font-family: var(--ja); font-weight: 700; font-size: 15px; color: var(--muted); }
.card-desc { font-size: 15px; line-height: 1.45; }
.meta { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-top: 6px; }
.dashed { border: 2px dashed #8A8496; border-radius: 22px; padding: 22px 20px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.dashed b { display: block; font-family: var(--display); font-size: 18px; color: var(--ink); margin-bottom: 4px; }

.gg { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 22px; background: var(--ink); color: #fff; text-decoration: none; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--sun); }
.gg-icon { flex: none; width: 52px; height: 52px; border-radius: 26px; background: var(--sun); color: var(--ink); display: grid; place-items: center; }
.gg-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.gg-title { font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--sun); }
.gg-sub { font-size: 14px; line-height: 1.4; color: #E9E6F0; }
.gg-url { font-size: 14px; font-weight: 700; text-decoration: underline; }

.foot { margin-top: auto; padding: 36px 16px 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.foot a { color: var(--muted); min-height: 44px; display: flex; align-items: center; }

/* spot */
.spot-hero { position: relative; height: 380px; background: var(--sun-soft); }
.spot-hero > img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
.float-left { position: absolute; left: 14px; top: 14px; }
.float-right { position: absolute; right: 14px; top: 14px; display: flex; gap: 8px; }
.round { width: 44px; height: 44px; border-radius: 22px; background: #fff; border: 2px solid var(--ink); display: grid; place-items: center; color: var(--ink); }
.spot-card { margin: -40px 16px 0; position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 24px; box-shadow: 5px 5px 0 var(--ink); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { font-weight: 700; font-size: 13px; padding: 6px 11px; border-radius: 14px; background: var(--sun-soft); }
.pill.cat-pill { background: var(--c); color: #fff; }
.pill.blue { background: var(--blue-soft); }
.spot-card h1 { margin: 0; font: 800 36px 'Bricolage Grotesque', 'Noto Sans', sans-serif; line-height: 1.05; letter-spacing: -0.8px; }
.big-ja { font-family: var(--ja); font-weight: 700; font-size: 20px; color: var(--muted); }
.say { background: var(--sun); border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.say button { flex: none; width: 44px; height: 44px; border-radius: 22px; background: var(--ink); color: #fff; border: 0; display: grid; place-items: center; }
.say-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.say-word { font-family: var(--display); font-weight: 800; font-size: 21px; }
.say-mean { font-size: 14px; line-height: 1.4; }
.maps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.maps a { height: 52px; border-radius: 16px; color: #fff; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; }
.maps a:first-child { background: var(--blue); }
.maps a:last-child { background: var(--ink); }
.prose { margin: 0; font-size: 16px; line-height: 1.6; white-space: pre-line; }
.strip { display: flex; gap: 10px; padding: 0 16px 4px; scroll-padding-left: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.strip figure { margin: 0; flex: none; width: 230px; display: flex; flex-direction: column; gap: 6px; scroll-snap-align: start; }
.strip img { width: 230px; height: 290px; object-fit: cover; border-radius: 18px; border: 2px solid var(--ink); display: block; }
.strip figcaption { font-size: 13px; color: var(--muted); }
.sub { font-size: 14px; color: var(--muted); margin: -4px 0 12px; }
.menu { border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; }
.menu-pick { background: var(--red); color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.menu-pick .lbl { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.menu-pick .nm { font-family: var(--display); font-weight: 800; font-size: 20px; }
.menu-pick .ja { font-family: var(--ja); font-weight: 700; font-size: 16px; }
.menu-pick .pr { font: 800 22px 'Bricolage Grotesque', sans-serif; flex: none; }
.menu-rows { padding: 4px 16px; }
.menu-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu-row:last-child { border-bottom: 0; }
.menu-row .nm { font-weight: 700; font-size: 16px; }
.menu-row .ja { font-family: var(--ja); font-size: 14px; color: var(--muted); }
.menu-row .pr { font-weight: 700; flex: none; }
.extras { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; font-size: 14px; }
.extras span { padding: 8px 12px; border-radius: 14px; background: var(--sun-soft); }
.note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.tips { display: flex; flex-direction: column; gap: 12px; }
.tip { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 18px; font-size: 15px; line-height: 1.5; }
.tip:nth-child(3n+1) { background: var(--green-soft); }
.tip:nth-child(3n+2) { background: var(--sun-soft); }
.tip:nth-child(3n+3) { background: var(--blue-soft); }
.tip i { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.tip:nth-child(3n+1) i { background: var(--green); }
.tip:nth-child(3n+2) i { background: var(--ink); }
.tip:nth-child(3n+3) i { background: var(--blue); }
.facts { border: 2px solid var(--ink); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.fact { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; }
.fact svg { flex: none; margin-top: 2px; }
.fact div { display: flex; flex-direction: column; }
.fact .ja-addr { font-family: var(--ja); font-size: 14px; color: var(--muted); }
.byline { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.avatar { flex: none; width: 36px; height: 36px; border-radius: 18px; background: var(--sun); border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 800; color: var(--ink); }
.btn-outline { height: 52px; border-radius: 16px; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none; box-shadow: 4px 4px 0 var(--ink); background: #fff; }
.spot-foot { padding: 32px 16px 28px; display: flex; flex-direction: column; gap: 14px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 40px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 700; transition: all .2s; pointer-events: none; z-index: 50; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* admin */
.admin { background: var(--admin-bg); min-height: 100vh; }
.admin-top { background: var(--ink); color: #fff; padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.admin-top .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.admin-top a, .admin-top button.link { color: #fff; font-size: 15px; min-height: 44px; display: flex; align-items: center; gap: 6px; text-decoration: none; background: none; border: 0; padding: 0; }
.admin-top h1 { margin: 0; font: 800 28px 'Bricolage Grotesque', sans-serif; }
.badge { font-size: 13px; padding: 6px 10px; border-radius: 12px; background: #2C2838; }
.panel { background: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.a-sec { padding: 20px 16px 0; display: flex; flex-direction: column; gap: 12px; }
.a-sec h2 { margin: 0; display: flex; align-items: center; gap: 10px; font: 800 20px 'Bricolage Grotesque', sans-serif; }
.step { width: 28px; height: 28px; border-radius: 14px; background: var(--ink); color: #fff; font: 700 14px 'DM Sans', sans-serif; display: grid; place-items: center; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .lbl { font-size: 13px; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea { border: 2px solid #D9D5E3; border-radius: 12px; padding: 10px 12px; font-size: 16px; background: #fff; min-width: 0; width: 100%; }
.field input, .field select { height: 48px; }
.field textarea { resize: vertical; line-height: 1.45; }
.field .hint { font-size: 12px; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.seg button { height: 44px; border-radius: 12px; border: 2px solid #D9D5E3; background: #fff; font-weight: 700; font-size: 14px; }
.seg button[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: #fff; }
.btn { height: 52px; border-radius: 16px; border: 2px solid var(--ink); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; text-decoration: none; background: #fff; color: var(--ink); }
.btn.primary { background: var(--red); color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.btn.ai { background: var(--purple); color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.green { background: var(--green); color: #fff; }
.btn:disabled { opacity: .55; cursor: wait; }
.btn.small { height: 44px; font-size: 14px; border-radius: 12px; }
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ph { position: relative; }
.ph img { width: 100%; height: 104px; object-fit: cover; border-radius: 12px; display: block; }
.ph .cover { position: absolute; left: 6px; bottom: 6px; background: var(--sun); font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 8px; border: 0; }
.ph .cover.off { background: rgba(255,255,255,.9); }
.ph .x { position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; border-radius: 16px; background: rgba(22,19,31,.85); color: #fff; border: 0; display: grid; place-items: center; }
.add-ph { height: 104px; border-radius: 12px; border: 2px dashed #8A8496; background: #fff; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 13px; font-weight: 700; cursor: pointer; }
.found { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 14px; background: var(--green-soft); font-size: 15px; }
.found .t { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #0E5C3E; }
.tabs { display: flex; gap: 6px; overflow-x: auto; }
.tabs button { flex: none; height: 40px; padding: 0 14px; border-radius: 20px; border: 2px solid var(--ink); background: #fff; font-weight: 700; font-size: 14px; font-family: 'DM Sans', 'Noto Sans KR', 'Noto Sans SC', 'Noto Sans TC', 'Noto Sans', sans-serif; }
.tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.mrow { border: 2px solid #D9D5E3; border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.mrow .line { display: grid; grid-template-columns: minmax(0, 1fr) 90px; gap: 8px; }
.mrow .opts { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.mrow .opts label { display: flex; align-items: center; gap: 6px; min-height: 44px; }
.mrow input[type="checkbox"] { width: 22px; height: 22px; }
.spot-list { display: flex; flex-direction: column; gap: 10px; }
.srow { display: flex; align-items: center; gap: 12px; padding: 10px; background: #fff; border-radius: 16px; text-decoration: none; color: var(--ink); }
.srow img, .srow .noimg { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; background: var(--sun-soft); }
.srow .info { flex: 1; min-width: 0; }
.srow .info b { display: block; font-size: 16px; }
.srow .info span { font-size: 13px; color: var(--muted); }
.status { font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 8px; flex: none; }
.status.published { background: var(--green-soft); color: #0E5C3E; }
.status.draft { background: var(--sun-soft); color: #6B4E00; }
.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 24px 16px 32px; }
.err { background: #FDE7E4; color: #8A1C10; border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.ok { background: var(--green-soft); color: #0E5C3E; border-radius: 12px; padding: 10px 12px; font-size: 14px; }

.login { min-height: 100vh; background: var(--ink); color: #fff; display: flex; flex-direction: column; padding: 18px 24px 32px; gap: 20px; }
.login .round { background: transparent; border-color: #fff; color: #fff; }
.login-mid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; }
.face { width: 120px; height: 120px; border-radius: 34px; background: var(--sun); border: 3px solid #fff; box-shadow: 6px 6px 0 var(--red); display: grid; place-items: center; color: var(--ink); }
.login h1 { margin: 0; font: 800 32px 'Bricolage Grotesque', sans-serif; }
.login p { margin: 0; color: #D9D5E3; line-height: 1.5; }
.login form { display: flex; flex-direction: column; gap: 10px; }
.login input { height: 50px; border-radius: 14px; border: 2px solid #3A3546; background: #221E2E; color: #fff; padding: 0 14px; font-size: 16px; }
.login .btn { border-color: #fff; }
.login .btn.white { background: #fff; color: var(--ink); box-shadow: 4px 4px 0 var(--red); }
.or { text-align: center; color: #A9A3B8; font-size: 13px; }

.noimg-big { width: 100%; height: 100%; display: grid; place-items: center; background: var(--c, var(--red)); color: #fff; background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.18) 0 22%, transparent 23%), radial-gradient(circle at 85% 75%, rgba(255,201,60,.55) 0 18%, transparent 19%); }
.noimg-big svg { width: 72px; height: 72px; }
