:root {
  color-scheme: dark;
  --ink: #f0eedf;
  --muted: #a2b1a8;
  --quiet: #71887b;
  --lime: #c8e9a2;
  --night: #081410;
  --line: rgba(220, 237, 218, .13);
  --item-color: var(--lime);
  --ease: cubic-bezier(.2, .7, .2, 1);
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
body {
  min-width: 280px;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  color: var(--ink);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
button, h1, h2, p { margin: 0; }
button:disabled { cursor: default; opacity: .4; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
::selection { background: #c8e9a2; color: #081410; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 14px 20px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--night);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 40;
  top: 31px;
  right: 42px;
  left: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}
.site-header a, .site-header button { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; }
.brand > span:last-child { font-size: 15px; font-weight: 500; letter-spacing: -.015em; }
.brand small { display: block; margin-top: 6px; font-size: 9px; font-weight: 400; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.brand-symbol { position: relative; display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid rgba(200,233,162,.45); border-radius: 50%; }
.brand-symbol::before { content: ''; position: absolute; width: 40px; height: 13px; border: 1px solid rgba(200,233,162,.45); border-radius: 50%; transform: rotate(-35deg); }
.brand-symbol span { width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }
.header-actions { display: flex; align-items: center; gap: 30px; }
.linkedin-link { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; font-size: 12px; color: #d2d9cb; transition: color .2s ease; }
.linkedin-link span { font-size: 17px; color: var(--lime); }
.linkedin-link:hover { color: #fff; }
.language-switch { display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 30px; background: rgba(8,20,16,.4); }
.language-switch button { width: 36px; min-height: 33px; padding: 7px 5px; border-radius: 20px; background: transparent; color: var(--muted); font-size: 10px; letter-spacing: .06em; transition: color .2s ease, background .2s ease; }
.language-switch button:hover { color: var(--ink); }
.language-switch button[aria-pressed='true'] { background: #d9e8c6; color: #102017; }

.world { position: absolute; inset: 0; isolation: isolate; overflow: hidden; }
#atmosphere, #planet, #pins { position: absolute; inset: 0; width: 100%; height: 100%; }
#atmosphere {
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3,9,14,.3), rgba(3,9,14,.08)),
    url('fond-cosmos.png') center / cover no-repeat;
}
#atmosphere::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 61%;
  width: min(76vw, 1080px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(153,197,114,.075), transparent 88%);
  transform: translate(-50%, -50%);
}
#atmosphere::after {
  display: none;
  content: '';
  position: absolute;
  top: 48%;
  left: 61%;
  width: min(77vw, 1110px);
  height: min(38vw, 520px);
  border: 1px solid rgba(196,219,169,.07);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  box-shadow: 0 0 0 45px rgba(196,219,169,.012);
}
#planet { z-index: -1; display: block; touch-action: none; cursor: grab; outline-offset: -8px; }
#planet:active { cursor: grabbing; }
#planet:focus-visible { outline: 1px solid rgba(200,233,162,.8); }
#pins { z-index: 3; pointer-events: none; }
#planet.fallback + #pins::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: var(--planet-x, 61%);
  top: var(--planet-y, 50%);
  width: var(--planet-size, 50vmin);
  height: var(--planet-size, 50vmin);
  border: 1px solid rgba(211,233,194,.19);
  border-radius: 50%;
  background:
    radial-gradient(circle at 29% 25%, rgba(222,238,188,.18), transparent 47%),
    radial-gradient(circle at 28% 24%, transparent 30%, rgba(3,15,11,.35) 69%, rgba(2,11,9,.85) 100%),
    radial-gradient(ellipse 32% 24% at 31% 27%, #839571 0, #6e8866 71%, transparent 75%),
    radial-gradient(ellipse 23% 32% at 66% 57%, #6e8b68 0, #54795e 71%, transparent 75%),
    radial-gradient(ellipse 20% 17% at 27% 76%, #76906b 0, #5b7b5e 70%, transparent 75%),
    radial-gradient(circle at 32% 28%, #55918a, #2a655f 56%, #143c32 100%);
  box-shadow: inset -25px -18px 42px rgba(1,12,8,.45), inset 7px 6px 17px rgba(208,232,170,.12), 0 0 70px rgba(152,189,113,.07);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.intro {
  position: absolute;
  z-index: 4;
  top: 47%;
  left: 8%;
  width: min(31vw, 405px);
  transform: translateY(-50%);
  transition: opacity .3s var(--ease), visibility .3s var(--ease), transform .45s var(--ease);
}
#availability { display: flex; align-items: center; gap: 9px; margin-bottom: 26px; color: var(--lime); font-size: 10px; line-height: 1.5; letter-spacing: .11em; text-transform: uppercase; }
#availability::before { content: ''; flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px rgba(200,233,162,.25); }
#intro-title { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(43px, 4.8vw, 72px); line-height: 1.065; letter-spacing: -.047em; text-wrap: balance; }
#intro-description { max-width: 310px; margin-top: 26px; color: #b5c2b6; font-size: 14px; line-height: 1.85; }
#explore-note { max-width: 270px; margin-top: 31px; padding-left: 18px; border-left: 1px solid rgba(200,233,162,.35); color: #8eaa95; font-size: 11px; line-height: 1.7; }
body.has-selection .intro { opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-18px, -50%); }

.pin {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  max-width: 190px;
  padding: 9px 13px;
  border: 1px solid rgba(215,234,200,.2);
  border-radius: 6px;
  background: rgba(9,24,18,.88);
  color: #e4e9d9;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: auto;
  translate: -50% calc(-100% - 24px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
  will-change: transform;
}
.pin::before { content: ''; position: absolute; top: 100%; left: 50%; width: 1px; height: 20px; background: var(--item-color); opacity: .6; pointer-events: none; }
.pin::after { content: ''; position: absolute; top: calc(100% + 20px); left: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--item-color); box-shadow: 0 0 0 4px rgba(188,214,163,.11), 0 0 12px rgba(188,214,163,.15); transform: translateX(-50%); pointer-events: none; }
.pin:hover, .pin[aria-pressed='true'], .pin.is-active { color: #fff; border-color: var(--item-color); background: rgba(22,43,27,.96); }
.pin[aria-pressed='true']::after, .pin.is-active::after { box-shadow: 0 0 0 5px rgba(188,214,163,.18), 0 0 17px var(--item-color); }
.pin.is-occluded { opacity: 0 !important; visibility: hidden; pointer-events: none; }
.pin svg { flex-shrink: 0; width: 13px; height: 13px; color: var(--item-color); }
.pin small { font-size: 9px; color: var(--item-color); }

.world-tools { position: absolute; z-index: 8; left: 42px; bottom: 157px; display: flex; align-items: center; gap: 10px; }
#overview { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 39px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 6px; background: rgba(8,20,16,.72); color: #aebfab; font-size: 10px; transition: border-color .2s ease, color .2s ease; }
#overview svg { color: var(--lime); }
#overview:hover { color: var(--ink); border-color: rgba(200,233,162,.4); }
.zoom-controls { display: flex; gap: 1px; padding: 3px; border: 1px solid var(--line); border-radius: 6px; background: rgba(8,20,16,.72); }
.zoom-controls button { width: 32px; height: 31px; border-radius: 3px; background: transparent; font-size: 19px; line-height: 1; color: #b8c6b1; transition: background .2s ease; }
.zoom-controls button:hover { background: rgba(200,233,162,.1); }
#gesture-hint { position: absolute; z-index: 2; left: 61%; bottom: 165px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #8a9f8c; font-size: 10px; letter-spacing: .02em; white-space: nowrap; transform: translateX(-50%); pointer-events: none; }
body.has-selection #gesture-hint { left: 44%; }

#places {
  position: absolute;
  z-index: 30;
  bottom: 34px;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  width: min(920px, calc(100% - 84px));
  min-height: 94px;
  padding: 8px;
  border: 1px solid rgba(211,233,194,.15);
  border-radius: 13px;
  background: rgba(8,21,16,.87);
  box-shadow: 0 20px 60px rgba(0,0,0,.2), inset 0 1px 0 rgba(230,243,208,.035);
  transform: translateX(-50%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.place { position: relative; display: flex; align-items: center; gap: 11px; min-width: 0; min-height: 76px; padding: 13px 11px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #a1b29f; text-align: left; transition: background .22s ease, border-color .22s ease, color .22s ease; }
.place + .place::before { content: ''; position: absolute; top: 22px; bottom: 22px; left: -5px; width: 1px; background: var(--line); }
.place:hover { background: rgba(200,233,162,.035); color: var(--ink); }
.place[aria-pressed='true'] { border-color: var(--item-color); background: rgba(190,220,160,.07); color: var(--ink); }
.place-icon { display: grid; flex: 0 0 33px; place-items: center; width: 33px; height: 36px; color: var(--item-color); }
.place-icon svg { width: 24px; height: 24px; stroke-width: 1.2; }
.place-text { display: block; min-width: 0; }
.place-text small { display: block; margin-bottom: 7px; color: #8b9f89; font-size: 8px; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; }
.place-text strong { display: block; font-size: 12px; font-weight: 400; line-height: 1.3; }

#detail-panel {
  position: absolute;
  z-index: 20;
  top: 112px;
  right: 36px;
  bottom: 152px;
  display: flex;
  flex-direction: column;
  width: 360px;
  overflow: hidden;
  border: 1px solid rgba(218,236,197,.19);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(24,41,28,.96), rgba(10,25,18,.97));
  box-shadow: 0 24px 80px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: panel-in .35s var(--ease) both;
}
.panel-top { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 15px; min-height: 62px; padding: 14px 18px 9px 25px; }
#detail-category { color: var(--item-color); font-size: 9px; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; }
#close-panel { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(211,233,194,.12); border-radius: 50%; background: transparent; color: #a0b59d; transition: background .2s ease, color .2s ease; }
#close-panel:hover { background: rgba(211,233,194,.08); color: var(--ink); }
.panel-scroll { flex: 1 1 auto; min-height: 0; padding: 3px 25px 28px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #4b644b transparent; }
.panel-scroll::-webkit-scrollbar { width: 4px; }
.panel-scroll::-webkit-scrollbar-thumb { border-radius: 4px; background: #4b644b; }
#detail-number { margin-bottom: 15px; color: #7b9477; font-family: Georgia, 'Times New Roman', serif; font-size: 17px; font-style: italic; line-height: 1.2; }
#detail-title { max-width: 100%; font-family: Georgia, 'Times New Roman', serif; font-size: 36px; font-weight: 400; line-height: 1.12; letter-spacing: -.035em; overflow-wrap: anywhere; }
#detail-title:focus { outline: none; }
#detail-title:focus-visible { outline: 1px solid var(--item-color); outline-offset: 6px; }
#detail-period { margin-top: 14px; color: #9eb396; font-size: 10px; line-height: 1.6; }
#detail-period:empty { display: none; }
#detail-status { display: inline-flex; align-items: center; width: fit-content; gap: 6px; max-width: 100%; margin-top: 17px; padding: 6px 8px; border: 1px solid rgba(200,233,162,.2); border-radius: 4px; color: var(--item-color); font-size: 9px; line-height: 1.5; }
#detail-status::before { content: ''; flex: 0 0 3px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
#detail-intro { margin-top: 23px; color: #d0dbc9; font-size: 13px; line-height: 1.85; }
#detail-sections { margin-top: 25px; }
.detail-section + .detail-section { margin-top: 23px; }
.detail-section h3, .detail-section h4 { margin: 0 0 9px; color: #b1c5a3; font-size: 9px; font-weight: 400; line-height: 1.6; letter-spacing: .1em; text-transform: uppercase; }
.detail-section p { color: #9eb199; font-size: 12px; line-height: 1.8; }
.detail-section p + p { margin-top: 10px; }
.detail-section a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(200,233,162,.4); text-underline-offset: 3px; }
.detail-section a:hover { text-decoration-color: var(--lime); }
#detail-tags, .work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0 0; padding: 0; list-style: none; }
#detail-tags li, .work-tags li { padding: 5px 8px; border: 1px solid rgba(211,233,194,.14); border-radius: 4px; color: #a9bca0; font-size: 9px; line-height: 1.4; }
#work-detail { margin-top: 24px; padding-top: 21px; border-top: 1px solid var(--line); }
.has-works #detail-number { display: none; }
.has-works #detail-title { font-size: 30px; }
.has-works #detail-period { margin-top: 8px; }
.has-works #detail-intro { margin-top: 12px; font-size: 12px; line-height: 1.65; }
.has-works #work-detail { margin-top: 16px; padding-top: 14px; }
@media (max-width: 640px) {
  .has-works #detail-intro { display: none; }
  .has-works #work-detail { margin-top: 8px; padding-top: 8px; }
}
.work-label { display: block; margin-bottom: 9px; color: #b1c5a3; font-size: 11px; line-height: 1.5; }
#work-select { display: block; width: 100%; max-width: 100%; min-height: 44px; margin: 0; padding: 10px 12px; border: 1px solid rgba(211,233,194,.25); border-radius: 6px; background: #11251a; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
#work-select:hover { border-color: var(--item-color); }
#work-select option { background: #11251a; color: var(--ink); }
#work-body { margin-top: 25px; overflow-wrap: anywhere; }
#work-title { margin: 0; color: var(--ink); font-family: Georgia, 'Times New Roman', serif; font-size: 27px; font-weight: 400; line-height: 1.2; letter-spacing: -.025em; }
.work-period { margin-top: 11px; color: #9eb396; font-size: 10px; line-height: 1.6; }
.work-intro { margin-top: 17px; color: #d0dbc9; font-size: 13px; line-height: 1.8; }
.work-sections { margin-top: 23px; }
.work-sections:empty { display: none; }
.work-evidence { margin-top: 25px; padding: 17px 0 0; border-top: 1px solid var(--line); }
.work-evidence h4 { margin: 0; color: #b1c5a3; font-size: 11px; font-weight: 400; line-height: 1.5; }
.work-evidence .evidence-note { margin-top: 6px; color: #9eb199; font-size: 10px; line-height: 1.6; }
.work-evidence ul { display: grid; gap: 15px; margin: 19px 0 0; padding: 0; list-style: none; }
.work-evidence li { padding-left: 12px; border-left: 1px solid rgba(211,233,194,.2); }
.work-evidence strong { display: block; color: #c8d7bc; font-size: 11px; font-weight: 400; line-height: 1.6; }
.work-evidence li p { margin-top: 4px; color: #d0dbc9; font-size: 12px; line-height: 1.75; }
.work-evidence li .evidence-detail { color: #9eb199; font-size: 11px; }
.panel-bottom { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 15px; min-height: 62px; padding: 12px 25px; border-top: 1px solid var(--line); background: rgba(5,18,12,.2); }
#next-place { display: inline-flex; align-items: center; justify-content: flex-end; gap: 18px; min-height: 35px; padding: 0; background: transparent; color: #cfdec1; font-size: 10px; }
#next-place > span:last-child { color: var(--item-color); font-size: 20px; transition: transform .2s ease; }
#next-place:hover > span:last-child { transform: translate(2px,-2px); }
#world-caption { position: absolute; z-index: 2; bottom: 12px; left: 50%; width: max-content; max-width: calc(100% - 30px); color: #758d7a; font-size: 8px; line-height: 1.3; letter-spacing: .07em; text-align: center; transform: translateX(-50%); }
.no-script { position: fixed; z-index: 70; top: 120px; left: 50%; width: min(480px, calc(100% - 40px)); padding: 22px; border: 1px solid var(--lime); border-radius: 10px; background: #102017; font-size: 14px; line-height: 1.8; transform: translateX(-50%); }
.no-script a { text-decoration: underline; }
@keyframes panel-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1400px) {
  .intro { left: 10%; }
  #detail-panel { right: 5%; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .site-header { left: 27px; right: 27px; }
  .intro { left: 6%; width: 32vw; }
  #intro-title { font-size: 45px; }
  #intro-description { font-size: 12px; }
  #places { width: calc(100% - 54px); }
  .place { gap: 6px; padding: 11px 7px; }
  .place-icon { flex-basis: 25px; width: 25px; }
  .place-icon svg { width: 20px; height: 20px; }
  .place-text strong { font-size: 10px; }
  .place-text small { font-size: 7px; }
  #detail-panel { right: 27px; width: 330px; }
  .world-tools { left: 27px; }
}
@media (min-width: 701px) and (max-height: 700px) {
  .site-header { top: 20px; }
  .intro { top: 46%; }
  #availability { margin-bottom: 17px; }
  #intro-title { font-size: clamp(40px, 4.5vw, 61px); }
  #intro-description { margin-top: 18px; font-size: 12px; }
  #explore-note { margin-top: 21px; }
  #detail-panel { top: 89px; bottom: 137px; }
  .world-tools { bottom: 141px; }
  #gesture-hint { bottom: 152px; }
  #places { bottom: 29px; min-height: 88px; }
  .place { min-height: 70px; }
  #world-caption { bottom: 9px; }
}

@media (max-width: 700px) {
  .site-header { top: max(18px, env(safe-area-inset-top)); right: 22px; left: 22px; gap: 10px; }
  .brand { gap: 10px; }
  .brand > span:last-child { font-size: 13px; }
  .brand small { margin-top: 5px; font-size: 8px; }
  .brand-symbol { width: 25px; height: 25px; }
  .brand-symbol::before { width: 33px; height: 11px; }
  .header-actions { gap: 14px; }
  .linkedin-link { gap: 5px; font-size: 10px; }
  .linkedin-link span { font-size: 14px; }
  .language-switch { padding: 3px; gap: 0; }
  .language-switch button { width: 29px; min-height: 31px; font-size: 9px; }
  #atmosphere { background: linear-gradient(180deg, rgba(3,9,14,.1), rgba(3,9,14,.5)), url('fond-cosmos.png') 60% center / cover no-repeat; }
  #atmosphere::before { left: 50%; top: 37%; width: 125vw; }
  #atmosphere::after { left: 50%; top: 37%; width: 115vw; height: 62vw; transform: translate(-50%,-50%) rotate(-31deg); }
  .intro { top: auto; right: 25px; bottom: 171px; left: 25px; width: auto; transform: none; }
  #availability { gap: 7px; margin-bottom: 14px; font-size: 8px; letter-spacing: .08em; }
  #intro-title { max-width: 320px; font-size: 39px; line-height: 1.06; letter-spacing: -.04em; text-wrap: initial; }
  #intro-title br { display: none; }
  #intro-description { max-width: 340px; margin-top: 15px; font-size: 12px; line-height: 1.65; }
  #explore-note { max-width: 310px; margin-top: 15px; padding-left: 11px; font-size: 10px; line-height: 1.5; }
  body.has-selection .intro { transform: translateY(10px); }
  .pin { max-width: 158px; min-height: 31px; padding: 8px 10px; font-size: 10px; }
  .world-tools { right: 17px; bottom: 112px; left: 17px; justify-content: space-between; gap: 0; }
  #overview { width: 39px; min-height: 39px; padding: 8px; }
  #overview-label { display: none; }
  .zoom-controls button { width: 29px; }
  #gesture-hint, body.has-selection #gesture-hint { left: 50%; bottom: 126px; gap: 7px; max-width: calc(100% - 170px); font-size: 8px; white-space: normal; text-align: center; }
  body.has-selection .world-tools { top: 81px; bottom: auto; }
  body.has-selection #gesture-hint { display: none; }
  #places { bottom: max(22px, env(safe-area-inset-bottom)); width: calc(100% - 24px); min-height: 73px; padding: 5px; gap: 3px; border-radius: 11px; }
  .place { flex-direction: column; justify-content: center; gap: 5px; min-height: 61px; padding: 6px 3px; border-radius: 6px; text-align: center; }
  .place + .place::before { top: 17px; bottom: 17px; left: -3px; }
  .place-icon { flex: 0 0 auto; width: 26px; height: 24px; }
  .place-icon svg { width: 21px; height: 21px; }
  .place-text { width: 100%; }
  .place-text small { display: none; }
  .place-text strong { overflow: hidden; font-size: 9px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
  #detail-panel { top: 42%; right: 12px; bottom: max(106px, calc(env(safe-area-inset-bottom) + 84px)); left: 12px; width: auto; border-radius: 19px; }
  .panel-top { min-height: 53px; padding: 10px 15px 7px 21px; }
  #detail-category { font-size: 8px; }
  .panel-scroll { padding: 2px 21px 22px; }
  #detail-number { margin-bottom: 11px; font-size: 14px; }
  #detail-title { font-size: 31px; line-height: 1.13; }
  #detail-period { margin-top: 11px; font-size: 10px; }
  #detail-intro { margin-top: 19px; font-size: 13px; line-height: 1.75; }
  #detail-sections { margin-top: 21px; }
  .detail-section p { font-size: 12px; line-height: 1.75; }
  #work-select { font-size: 16px; }
  #work-title { font-size: 26px; }
  .work-intro { line-height: 1.75; }
  .panel-bottom { min-height: 53px; padding: 9px 21px; }
  #world-caption { bottom: 7px; font-size: 7px; }
}
@media (max-width: 700px) and (max-height: 740px) {
  .intro { bottom: 162px; }
  #intro-title { max-width: 340px; font-size: 33px; }
  #availability { margin-bottom: 10px; }
  #intro-description { margin-top: 11px; font-size: 11px; }
  #explore-note { margin-top: 11px; font-size: 9px; }
}
@media (max-width: 700px) and (max-height: 680px) {
  #explore-note { display: none; }
}
@media (max-width: 360px) {
  .site-header { left: 17px; right: 15px; }
  .brand { gap: 8px; }
  .brand > span:last-child { font-size: 12px; }
  .brand-symbol { width: 21px; height: 21px; }
  .brand-symbol::before { width: 28px; }
  .header-actions { gap: 8px; }
  .linkedin-link { font-size: 9px; }
  .intro { right: 20px; left: 20px; }
  #intro-title { font-size: 32px; }
  .place-text strong { font-size: 8px; }
}
@media (pointer: coarse) {
  .language-switch button { min-height: 36px; }
  .pin { min-height: 40px; }
  #close-panel { width: 40px; height: 40px; flex-basis: 40px; }
  #next-place { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .place, .pin, #detail-panel, #places, .language-switch, #overview, .zoom-controls { border-color: CanvasText; }
  .place[aria-pressed='true'], .language-switch button[aria-pressed='true'] { outline: 2px solid Highlight; outline-offset: -3px; }
}
