/* Pages d'information légale : mêmes couleurs et polices que le jeu, mise en page de lecture. */
@font-face { font-family: 'Schibsted Grotesk'; font-weight: 400 700; font-display: swap; src: url(/fonts/schibsted-grotesk-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-weight: 400 700; font-display: swap; src: url(/fonts/schibsted-grotesk-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Young Serif'; font-weight: 400; font-display: swap; src: url(/fonts/young-serif-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Page publique d'un lieu : une colonne de lecture, la photo en tête, aux couleurs du jeu. */
:root {
  --abyss: #06172A; --sea: #0B2239; --paper: #EEF2F5; --paper-2: #DDE5EC; --muted: #8FA3B8;
  --buoy: #F2C230; --buoy-ink: #2A2000; --line: rgba(238, 242, 245, 0.12);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--abyss); color: var(--paper-2);
  font: 400 1rem/1.6 'Schibsted Grotesk', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}
a { color: var(--paper); text-decoration-color: rgba(242, 194, 48, .6); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--buoy); }
:focus-visible { outline: 2px solid var(--buoy); outline-offset: 2px; }

.place-top, .place { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.place-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; }
.place-brand { font: 400 1.3rem/1 'Young Serif', Georgia, serif; color: var(--paper); text-decoration: none; }
.place-play, .place-cta {
  display: inline-block; padding: .6rem 1rem; border-radius: 12px; background: var(--buoy); color: var(--buoy-ink);
  font-weight: 700; text-decoration: none;
}
.place-play:hover, .place-cta:hover { filter: brightness(1.06); }
.place-top-links { display: flex; align-items: center; gap: .9rem; }
.place-lang { font-size: .9rem; color: var(--paper-2); }

.place { padding-bottom: 4rem; }
.place-photo { margin: 1.4rem 0 1rem; }
.place-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px;
  background: var(--sea); box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.place-photo figcaption { margin-top: .4rem; font-size: .8rem; color: var(--muted); }
.place-photo figcaption a { color: var(--muted); }
.place-rarity { margin: 0; font-weight: 700; color: var(--buoy); }
.place-rarity.r-mythique { color: #FF8AC8; }
.place-rarity.r-merveille-antique { color: #E2B656; }
.place-rarity.r-merveille-moderne { color: #BFD0FF; }
.place-rarity.r-merveille-naturelle { color: #8FE0B4; }
.place h1 { font: 400 clamp(2rem, 7vw, 3rem)/1.05 'Young Serif', Georgia, serif; color: var(--paper); letter-spacing: -.02em; margin: .3rem 0 .6rem; text-wrap: balance; }
.place-desc { font-size: 1.1rem; color: var(--paper); margin: 0 0 1.2rem; max-width: 60ch; }
.place-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .8rem 1.2rem; margin: 0 0 1.6rem; }
.place-facts dt { font-size: .8rem; color: var(--muted); }
.place-facts dd { margin: 0; color: var(--paper); font-weight: 600; }
.place-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin: 0 0 1.6rem; }
.place-pitch { color: var(--muted); max-width: 60ch; border-top: 1px solid var(--line); padding-top: 1.2rem; }

/* Pages des pays : classement et liste des lieux. */
.country h1 { margin-top: 1.6rem; }
.country h2 { font: 400 1.25rem/1.3 'Young Serif', Georgia, serif; color: var(--paper); margin: 2rem 0 .6rem; }
.country-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.country-table th, .country-table td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--line); }
.country-table th { color: var(--muted); font-weight: 600; font-size: .85rem; }
.country-table .num { text-align: right; }
.country-table .rank { width: 2.5rem; color: var(--muted); }
.country .place-actions { margin-top: 1.8rem; }
.country-places { list-style: none; margin: 0; padding: 0; }
.country-places li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.country-places .country-owner { color: var(--muted); }
.country-places .country-owner::before { content: '· '; }
.country-places [class^="r-"] { font-size: .85rem; font-weight: 700; color: var(--buoy); }
.country-places .r-mythique { color: #FF8AC8; }
@media (max-width: 420px) { .country-table th, .country-table td { padding: .4rem .3rem; font-size: .9rem; } }
