:root { --ink: #06283c; --soft: #164e63; --border: rgba(8,47,73,.24); --shadow: 0 16px 45px rgba(8,47,73,.18); }
* { box-sizing: border-box; }
html { min-height: 100%; background: #7dd3fc; }
body { min-height: 100vh; margin: 0; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: linear-gradient(145deg, #e0f7ff, #7dd3fc 58%, #38bdf8); }
button, a { font: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 3px solid #fbbf24; outline-offset: 3px; }
.links-shell { width: min(980px, calc(100% - 24px)); margin: auto; padding: 28px 0 22px; }
.links-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.links-kicker { margin: 0 0 6px; color: #075985; font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.links-header h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.8rem); line-height: .95; letter-spacing: -.055em; }
.links-header > div > p:last-child { max-width: 590px; margin: 10px 0 0; color: var(--soft); font-size: .86rem; line-height: 1.55; }
.links-actions { display: flex; gap: 7px; }
.links-actions button, .links-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 13px; border: 2px solid var(--border); border-radius: 999px; color: var(--ink); background: #fff; box-shadow: 0 3px 0 rgba(8,47,73,.14); font-weight: 850; text-decoration: none; cursor: pointer; }
.links-actions button { width: 44px; padding: 0; }
.links-visual { position: relative; height: clamp(220px, 36vw, 350px); margin: 0 0 14px; overflow: hidden; border: 2px solid var(--border); border-radius: 25px; background: #075985; box-shadow: var(--shadow); }
.links-visual picture, .links-visual img { display: block; width: 100%; height: 100%; }
.links-visual img { object-fit: cover; }
.links-visual figcaption { position: absolute; right: 12px; bottom: 12px; left: 12px; width: fit-content; padding: 8px 11px; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; color: #fff; background: rgba(3,29,45,.74); backdrop-filter: blur(10px); font-size: .68rem; font-weight: 850; }
.useful-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.useful-card { display: flex; flex-direction: column; min-height: 330px; padding: clamp(20px, 4vw, 32px); border: 2px solid; border-radius: 24px; box-shadow: var(--shadow); }
.tourism-card { border-color: #0284c7; background: #e0f2fe; }
.kayak-card { border-color: #0891b2; background: #ccfbf1; }
.webcam-card { grid-column: 1 / -1; min-height: 280px; border-color: #7c3aed; background: #ede9fe; }
.webcam-card .card-type, .webcam-card .practical-note { color: #5b21b6 !important; }
.webcam-card .primary-link { background: #6d28d9; }
.webcam-card .primary-link:hover { background: #5b21b6; }
.useful-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 25px; border-radius: 16px; background: rgba(255,255,255,.8); font-size: 1.65rem; box-shadow: 0 5px 16px rgba(8,47,73,.12); }
.card-type { margin: 0 0 5px; color: #075985; font-size: .67rem; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.useful-card h2 { margin: 0 0 10px; font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: -.04em; }
.useful-card > p:not(.card-type) { margin: 0 0 13px; color: #164e63; font-size: .82rem; line-height: 1.55; }
.useful-card address, .practical-note { margin: 0 0 16px; color: #075985 !important; font-size: .72rem !important; font-style: normal; font-weight: 850; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; margin-top: auto; padding: 11px 14px; border-radius: 12px; color: #fff; background: #075985; font-size: .76rem; font-weight: 900; text-decoration: none; }
.primary-link:hover { background: #0369a1; transform: translateY(-1px); }
.external-note { max-width: 700px; margin: 15px auto 0; color: var(--soft); font-size: .64rem; line-height: 1.5; text-align: center; }
.contact-footer { margin-top: 13px; padding: 13px; border-top: 1px solid var(--border); color: var(--soft); font-size: .7rem; text-align: center; }
.contact-footer a { color: #075985; font-weight: 900; }
html[data-theme="dark"] { --ink: #f8fafc; --soft: #bae6fd; --border: rgba(255,255,255,.3); background: #031d2d; }
html[data-theme="dark"] body { background: linear-gradient(150deg, #075985, #082f49 58%, #031d2d); }
html[data-theme="dark"] .links-kicker { color: #67e8f9; }
html[data-theme="dark"] .links-actions button, html[data-theme="dark"] .links-actions a { color: #fff; background: #073b55; }
html[data-theme="dark"] .contact-footer a { color: #67e8f9; }
@media (max-width: 620px) {
  .links-shell { width: calc(100% - 12px); padding-top: 8px; }
  .links-header { position: sticky; z-index: 5; top: 0; align-items: center; gap: 8px; margin-bottom: 8px; padding: 7px 2px; background: rgba(224,247,255,.94); backdrop-filter: blur(18px); }
  html[data-theme="dark"] .links-header { background: rgba(3,29,45,.94); }
  .links-header h1 { font-size: 1.55rem; }
  .links-header > div > p:last-child { display: none; }
  .links-actions a span { display: none; }
  .links-actions button, .links-actions a { width: 42px; min-height: 42px; padding: 0; }
  .links-visual { height: 210px; margin-bottom: 8px; border-radius: 17px; }
  .useful-grid { grid-template-columns: 1fr; gap: 8px; }
  .webcam-card { grid-column: auto; }
  .useful-card { min-height: 260px; padding: 18px; border-radius: 18px; }
  .useful-icon { width: 44px; height: 44px; margin-bottom: 16px; }
  .external-note { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

@media (max-width: 620px) {
  .links-shell { width: calc(100% - 18px); }
  .links-header h1 { font-size: 1.8rem; }
  .links-header > div > p:last-child { display: block; max-width: 220px; font-size: .72rem; }
  .links-visual { height: 250px; }
  .links-visual figcaption { font-size: .74rem; }
  .useful-card { min-height: 300px; padding: 22px; }
  .card-type { font-size: .72rem; }
  .useful-card h2 { font-size: 1.55rem; }
  .useful-card > p:not(.card-type) { font-size: .9rem; }
  .useful-card address, .practical-note { font-size: .8rem !important; }
  .primary-link { min-height: 50px; font-size: .84rem; }
  .external-note, .contact-footer { font-size: .75rem; }
}
