/* Web guide, "travel notebook" design (C). Kraft paper, ink, vermilion stamps, teal for listening. */
:root {
  --paper: #f3eadb; --card: #fbf6ec; --line: #d9ccb4; --dash: #c9bba0; --ink: #2b2a28; --soft: #5a554c;
  --mute: #6b655a; --red: #c8452c; --red-ink: #a8381f; --teal: #2f6f6a; --grey-dot: #8a8170; --map: #efe6d3;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.85 'Zen Kaku Gothic New', system-ui, sans-serif; }
a { color: var(--red-ink); }
a:hover { color: #7a2614; }
h1, h2, h3, .g-brand, .g-stamp strong, .g-story-no { font-family: 'Klee One', 'Zen Kaku Gothic New', serif; font-weight: 600; }
img { max-width: 100%; }
/* Header: the same as the LP's (landing.css .site-header), namespaced so the LP stylesheet is not needed. */
.lv-header { position: sticky; top: 0; z-index: 20; background: rgba(251,250,245,.97); border-bottom: 1px solid #dce2d6; color: #203c34; font-family: "Yu Gothic","Hiragino Kaku Gothic ProN","Meiryo",sans-serif; }
.lv-header a { color: inherit; text-decoration: none; }
.lv-header-inner { width: min(1180px, calc(100% - 96px)); margin-inline: auto; height: 84px; display: flex; align-items: center; justify-content: space-between; }
.lv-brand { display: flex; gap: 11px; align-items: center; font-family: Arial, sans-serif; font-size: 24px; font-weight: 600; letter-spacing: -.045em; }
.lv-brand img { border-radius: 11px; }
.lv-header nav { display: flex; align-items: center; gap: 30px; }
.lv-nav-link { font-size: 12px; font-weight: 600; line-height: 1.9; }
.lv-nav-link:hover { color: #a8542f; }
.lv-language select { max-width: 110px; min-height: 38px; border: 1px solid #dce2d6; border-radius: 5px; background: #fbfaf5; color: #075747; padding: 5px 8px; font: 12px Arial, sans-serif; }
.lv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.lv-button { display: inline-flex; align-items: center; gap: 19px; padding: 10px 18px; border: 1px solid #075747; border-radius: 6px; background: #075747; color: #fff !important; font-size: 12px; font-weight: 600; line-height: 1.6; }
.lv-button:hover { background: #034638; }
.lv-button > span { font-size: 19px; }
@media (max-width: 1100px) { .lv-header-inner { width: calc(100% - 64px); } .lv-header nav { gap: 20px; } .lv-nav-how { display: none; } }
@media (max-width: 600px) {
  .lv-header-inner { width: calc(100% - 40px); height: 70px; }
  .lv-brand { font-size: 21px; gap: 9px; }
  .lv-brand img { width: 34px; height: 34px; border-radius: 9px; }
  .lv-nav-link { display: none; }
  .lv-nav-link.lv-nav-login { display: inline; }
  .lv-button { display: none; }
  .lv-language select { max-width: 105px; }
}
.g-crumbs { max-width: 1120px; margin: 0 auto; padding: 4px 16px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: var(--mute); }
.g-crumbs a, .g-crumbs span[aria-current] { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.g-flag { width: 18px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); object-fit: cover; }
.g-flag-big { width: 40px; height: 30px; border-radius: 3px; }
.g-main { max-width: 1120px; margin: 0 auto; padding: 0 16px 32px; display: grid; gap: 24px; }
.g-hero { position: relative; padding: 8px 110px 0 0; }
.g-eyebrow { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--teal); }
.g-caps { letter-spacing: .2em; color: var(--mute); font-weight: 400; text-transform: uppercase; }
.g-hero h1 { margin: 4px 0 0; font-size: clamp(34px, 7vw, 56px); line-height: 1.2; }
.g-lead, .g-intro { margin: 8px 0 0; color: var(--soft); font-size: 15px; }
.g-intro { color: var(--ink); }
.g-stamp { position: absolute; right: 6px; top: 6px; width: 92px; height: 92px; border: 3px solid var(--red); border-radius: 50%; color: var(--red); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; transform: rotate(10deg); text-align: center; }
.g-stamp strong { font-size: 28px; }
.g-stamp span { font-size: 11px; }
.g-stamp-big { width: 104px; height: 104px; transform: rotate(-12deg); }
.g-photo { margin: 0 8px; background: #fff; padding: 10px 10px 34px; box-shadow: 0 2px 8px rgba(43,42,40,.18); transform: rotate(var(--tilt, -2deg)); position: relative; max-width: 760px; justify-self: center; width: calc(100% - 16px); }
.g-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #d9cdb5; }
.g-photo figcaption { position: absolute; left: 10px; right: 10px; bottom: 6px; font-size: 10px; line-height: 1.4; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-photo figcaption a { color: var(--mute); }
.g-tape { position: absolute; top: -10px; left: 50%; width: 84px; height: 22px; margin-left: -42px; background: rgba(200,69,44,.35); transform: rotate(3deg); }
.g-section h2 { margin: 0 0 12px; font-size: 24px; }
.g-subhead { margin: 20px 0 6px; font-size: 18px; }
.g-card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; }
.g-section.g-card h2 { margin-bottom: 2px; font-size: 20px; }
.g-note { margin: 0 0 6px; font-size: 12px; color: var(--mute); }
.g-stories { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; position: relative; }
.g-story { display: flex; gap: 14px; }
.g-story-no { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.g-story .g-card { min-width: 0; flex: 1; }
.g-story h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.45; }
.g-story p { margin: 0 0 8px; font-size: 15px; color: #3a3833; }
.g-story-place { font-size: 12px !important; color: var(--teal) !important; font-weight: 700; margin-bottom: 2px !important; }
.g-listen { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 16px; border: 1.5px solid var(--teal); border-radius: 999px; background: transparent; color: var(--teal); font: inherit; font-size: 14px; cursor: pointer; }
.g-listen[aria-pressed="true"] { background: var(--teal); color: #fff; }
.g-locked { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin-left: 8px; font-size: 12px; color: var(--mute); white-space: nowrap; }
.g-story .g-locked { margin-left: 0; min-height: 44px; }
.g-titles { list-style: none; margin: 0; padding: 0; }
.g-titles li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 8px 0; border-bottom: 1px dotted var(--dash); font-size: 15px; line-height: 1.5; }
.g-titles .g-locked { margin-left: auto; }
.g-more { margin: 12px 0 0; font-size: 14px; color: var(--mute); }
.g-map { margin: 0 0 14px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 10px; }
.g-map svg { display: block; width: 100%; height: auto; max-height: 440px; }
.g-map-live { width: 100%; height: 340px; border-radius: 6px; overflow: hidden; background: var(--map); }
.g-map-live[hidden] { display: none; }
.g-popup .maplibregl-popup-content { padding: 3px 9px; font: 700 13px/1.5 'Zen Kaku Gothic New', sans-serif; color: #fff; background: rgba(43, 42, 40, .88); border: 0; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.2); pointer-events: auto; }
.g-popup .maplibregl-popup-tip { display: none; }
.g-popup a, .g-popup a:hover, .g-popup a:focus { color: #fff; text-decoration: none; outline: none; }
.g-pin { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--grey-dot); border: 2px solid #fff; position: relative; }
.g-pin-main { width: 20px; height: 20px; background: var(--red); border-width: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
a.g-pin { cursor: pointer; }
.g-pin > span { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 2px; white-space: nowrap; font-size: 11px; color: var(--soft); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; font-family: 'Zen Kaku Gothic New', sans-serif; line-height: 1.3; }
.g-pin-main > span { font-size: 14px; font-weight: 700; color: var(--ink); }
.g-dot-label-sub { font-size: 11px; fill: var(--soft); paint-order: stroke; stroke: var(--map); stroke-width: 3px; }
.g-near { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 6px 16px; }
.g-near li { display: flex; flex-direction: column; padding: 6px 0; border-bottom: 1px dotted var(--dash); line-height: 1.5; }
.g-near small { font-size: 11px; color: var(--mute); }
.g-map-bg { fill: var(--map); }
.g-dot { fill: #7fb48f; fill-opacity: .55; stroke: #3f7a55; stroke-width: .8; }
.g-dot-main { fill: var(--red); fill-opacity: .72; stroke: #fff; stroke-width: 1.5; }
.g-map a:hover .g-dot-main { fill: var(--red-ink); }
.g-dot-label { font-size: 15px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--map); stroke-width: 4px; }
.g-map figcaption { margin-top: 4px; font-size: 12px; color: var(--mute); }
.g-key-main { color: var(--red); }
.g-key { color: #7fb48f; }
.g-sights, .g-cities, .g-countries { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.g-sights { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.g-sight-link { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; color: var(--ink); text-decoration: none; }
a.g-sight-link:hover { border-color: var(--red); color: var(--ink); }
.g-sight-link img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #e2d6bf; }
.g-sight-body { padding: 10px 14px 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.g-sight-type { margin: 0; font-size: 12px; font-weight: 700; color: var(--teal); }
.g-sight h3 { margin: 0; font-size: 19px; line-height: 1.4; }
.g-sight-intro { margin: 0; font-size: 13px; color: var(--soft); line-height: 1.6; }
.g-guide-badge { align-self: flex-start; margin-top: 6px; padding: 2px 12px; border: 1.5px solid var(--red); border-radius: 999px; color: var(--red-ink); font-size: 13px; font-weight: 700; }
.g-credit { margin: auto 0 0; padding-top: 6px; font-size: 10px; color: var(--mute); line-height: 1.4; }
.g-cities { grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); gap: 12px; }
.g-city { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 8px; background: var(--card); border: 2px dashed var(--dash); border-radius: 6px; color: var(--ink); text-decoration: none; }
.g-city:hover { border-color: var(--red); color: var(--ink); }
.g-city img, .g-city-blank { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; background: #e2d6bf; }
.g-city strong { font-family: 'Klee One', serif; font-size: 18px; line-height: 1.3; }
.g-city span { font-size: 12px; color: var(--mute); }
/* world page: small chips, so 100+ countries still fit in a few screens */
.g-countries { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.g-country { display: flex; align-items: center; gap: 7px; min-height: 34px; padding: 4px 9px; background: var(--card); border: 1px solid var(--line); border-radius: 5px; color: var(--ink); text-decoration: none; line-height: 1.3; }
.g-country:hover { border-color: var(--red); color: var(--ink); }
.g-country strong { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-country small { font-size: 11px; color: var(--mute); font-variant-numeric: tabular-nums; }
.g-grows { border-left: 4px solid var(--red); padding: 4px 0 4px 14px; }
.g-grows h2 { margin: 0; font-size: 20px; }
.g-grows p { margin: 4px 0 0; font-size: 14px; color: var(--soft); }
.g-updated { font-size: 12px !important; color: var(--mute) !important; }
.g-store { background: var(--card); border: 2px dashed var(--red); border-radius: 8px; padding: 16px; display: grid; gap: 14px; }
.g-store-head { display: flex; align-items: center; gap: 10px; }
.g-store-head img { border-radius: 10px; }
.g-store-title { margin: 0; font-family: 'Klee One', serif; font-weight: 600; font-size: 19px; line-height: 1.4; }
.g-store-sub { margin: 0; font-size: 12px; color: #4a463f; line-height: 1.5; }
.g-store-panels { display: flex; flex-wrap: wrap; gap: 12px; }
.g-store-panel { flex: 1 1 240px; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.g-store-pending { background: #f1ebdf; }
.g-store-copy { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.g-store-os { margin: 0; font-size: 13px; font-weight: 700; }
.g-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 14px; border-radius: 9px; background: #000; color: #fff; text-decoration: none; }
.g-badge:hover { color: #fff; }
.g-badge > span { display: flex; flex-direction: column; line-height: 1.15; }
.g-badge small { font-size: 10px; }
.g-badge strong { font-size: 17px; }
.g-badge-off { background: #e0d7c6; color: #5a554c; }
.g-qr { display: none; margin: 0; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; color: #4a463f; }
.g-qr img { display: block; width: 92px; height: 92px; }
.g-qr-wait { width: 92px; height: 92px; border: 2px dashed var(--dash); border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: #5a554c; }
.g-qr-wait img { width: 28px; height: 28px; border-radius: 6px; opacity: .6; }
.g-footer { max-width: 1120px; margin: 0 auto; padding: 16px 16px 40px; font-size: 13px; color: var(--mute); }
.g-langs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 8px; }
.g-langs a { min-height: 44px; display: inline-flex; align-items: center; }
.g-langs a[aria-current] { color: var(--ink); font-weight: 700; text-decoration: none; }
@media (min-width: 900px) {
  /* Computer view: QR codes beside each store button; city page photo beside the title. */
  .g-qr { display: flex; }
  .g-map-live { height: 440px; }
  .g-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
  .g-main > * { grid-column: 1 / -1; }
  .g-main > .g-hero { grid-column: 1; align-self: center; }
  .g-main > .g-hero + .g-photo, .g-main > .g-photo:first-child { grid-column: 2; }
  .g-main > .g-photo:first-child + .g-hero { grid-column: 1; grid-row: 1; }
  .g-main > .g-photo:first-child { grid-row: 1; }
}
