:root { color-scheme: light; --ink: #1e382e; --paper: #f5f3ed; --rule: #c9cabe; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.45 "Avenir Next", system-ui, sans-serif; }
main { max-width: 1440px; margin: 0 auto; padding: 20px clamp(12px, 3.4vw, 54px) max(35px, env(safe-area-inset-bottom)); }
a { color: inherit; text-underline-offset: .22em; }
.back { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; }
header { margin: 14px 0 22px; }
header p { margin: 0; }
.location { font-size: .9rem; font-weight: 650; }
h1 { margin: .03em 0 .07em; font: normal clamp(2.55rem, 5.5vw, 5.55rem)/1.08 Georgia, serif; letter-spacing: -.052em; }
.conditions { color: #54685c; font-size: .9rem; }
.controls { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: end; margin: 0 0 14px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; font-size: 0; }
legend { margin-bottom: 4px; padding: 0; font-size: .76rem; font-weight: 650; color: #526357; }
button { min-height: 44px; padding: 6px 15px; background: transparent; border: 1px solid var(--rule); color: var(--ink); font: inherit; font-size: .88rem; font-weight: 650; line-height: 1.25; cursor: pointer; touch-action: manipulation; }
button:first-of-type { border-radius: 7px 0 0 7px; }
button:last-of-type { margin-left: -1px; border-radius: 0 7px 7px 0; }
button[aria-pressed="true"] { color: #fff; background: #234c3c; border-color: #234c3c; position: relative; }
:focus-visible { outline: 3px solid #ae5e29; outline-offset: 3px; z-index: 3; }
.board { --split: 50%; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(4px,.8vw,12px); position: relative; isolation: isolate; }
figure { min-width: 0; margin: 0; position: relative; overflow: hidden; border-radius: 6px; background: #bec6b4; }
figure img { width: 100%; height: auto; display: block; }
figcaption { position: absolute; top: 8px; left: 8px; padding: 4px 9px; border-radius: 4px; color: #fff; background: #12251fe6; font-size: clamp(.72rem,1.2vw,.85rem); font-weight: 650; }
.divider { display: none; }
.swipe { display: block; max-width: 1000px; }
.swipe .new { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--split)); }
.swipe .new figcaption { left: auto; right: 8px; }
.swipe .divider { display: flex; justify-content: center; align-items: center; position: absolute; z-index: 1; inset: 0 auto 0 var(--split); border-left: 2px solid white; pointer-events: none; }
.divider span { position: absolute; white-space: nowrap; padding: 1px 8px 3px; border-radius: 20px; background: #fff; color: #203d32; font-size: 20px; font-weight: bold; box-shadow: 0 1px 5px #0005; }
#reveal { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.board:focus-within { outline: 3px solid #ae5e29; outline-offset: 3px; }
.links { display: flex; gap: 4px 26px; flex-wrap: wrap; margin: 10px 0 12px; }
.links a, summary { min-height: 44px; padding: 12px 0; font-size: .9rem; font-weight: 650; }
details { max-width: 860px; border-top: 1px solid var(--rule); }
summary { cursor: pointer; }
details p { max-width: 74ch; margin: 0 0 12px; }
@media (max-width: 530px) {
  main { padding-top: 6px; }
  header { margin: 4px 0 14px; }
  .controls { gap: 8px 12px; }
  button { padding-inline: 11px; }
  figcaption { left: 4px; top: 4px; padding: 3px 6px; }
  .links { gap: 0 14px; }
}
@media (orientation: landscape) and (max-height: 530px) {
  main { padding-top: 4px; }
  .back { min-height: 32px; }
  header { margin: 0 0 6px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
  header h1 { font-size: 2rem; order: -1; }
  .controls { margin-bottom: 8px; }
}
