.antarctica-page { overflow: hidden; }
.antarctica-shell { position: relative; z-index: 1; height: 100dvh; display: flex; flex-direction: column; padding: 78px 18px 12px; gap: 10px; }
.antarctica-header { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.antarctica-header h1 { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; color: #19376b; font-size: clamp(23px,3vw,34px); text-align: center; }
.antarctica-header .back-link { order: 1; margin: 0; }
.antarctica-search { order: 2; position: relative; width: min(420px,100%); }
.antarctica-search input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid #a6bad7; border-radius: 13px; background: #fffffff0; color: #19376b; font: inherit; }
.antarctica-results { position: absolute; z-index: 10; top: 48px; left: 0; right: 0; max-height: 310px; overflow: auto; padding: 5px; border-radius: 12px; background: #fff; box-shadow: 0 8px 25px #15345140; }
.antarctica-results[hidden] { display: none; }
.antarctica-results button { display: block; width: 100%; padding: 9px; border: 0; border-radius: 7px; background: transparent; text-align: left; color: #19376b; font: inherit; cursor: pointer; }
.antarctica-results button:hover,.antarctica-results button:focus-visible { background: #eaf3fc; }
.antarctica-results small { display: block; opacity: .65; font-size: 11px; }
.antarctica-hint { margin: 0; color: #536b85; font-size: 12px; }
.antarctica-map { position: relative; flex: 1; min-height: 180px; overflow: hidden; border: 1px solid #ffffffc9; border-radius: 20px; box-shadow: 0 8px 30px #163b5926; background: #c4e4ee; }
.antarctica-map canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; outline-offset: -4px; }
.antarctica-map canvas:active { cursor: grabbing; }
.antarctica-map #antarctica-terrain { position: absolute; inset: 0; pointer-events: none; }
.antarctica-map #antarctica-terrain[hidden] { display: none; }
.antarctica-map #antarctica-canvas { position: relative; }
.antarctica-controls #antarctica-mode { font-size: 15px; }
.antarctica-controls #antarctica-mode[aria-pressed="true"] { color: white; background: #3158cf; }
.antarctica-controls { position: absolute; left: 12px; top: 12px; display: grid; gap: 5px; }
.antarctica-controls button { width: 38px; height: 38px; border: 1px solid #c5d9ea; border-radius: 10px; background: #fffffff0; color: #19376b; font: 700 22px/1 sans-serif; cursor: pointer; box-shadow: 0 2px 7px #11365222; }
.antarctica-controls button:active { transform: scale(.94); }
.antarctica-scale { position: absolute; bottom: 12px; left: 12px; color: #183c52; font-size: 11px; text-shadow: 0 1px #fff; border-bottom: 2px solid #183c52; padding: 3px; text-align: center; pointer-events: none; }
.antarctica-detail { position: absolute; top: 12px; right: 12px; max-width: min(290px,65%); padding: 10px 13px; border-radius: 12px; background: #fffffff2; color: #19376b; box-shadow: 0 3px 15px #163b5933; font-size: 13px; }
.antarctica-detail[hidden] { display: none; }
.antarctica-detail p { margin: 5px 0; font-size: 12px; }
.antarctica-map-status { position: absolute; bottom: 12px; right: 12px; max-width: 70%; color: #36526b; background: #ffffffba; padding: 4px 9px; border-radius: 8px; font-size: 11px; pointer-events: none; }
.antarctica-sources { text-align: center; color: #294961; opacity: .65; font-size: 10px; line-height: 1.5; }
.antarctica-sources:hover,.antarctica-sources:focus-within { opacity: 1; }
.antarctica-sources a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media(max-width:1400px) { .antarctica-header h1 { position: static; order: -1; width: 100%; transform: none; } .antarctica-search { flex: 1; min-width: 180px; max-width: 420px; } }
@media(max-width:760px) { .antarctica-shell { padding-top: 132px; } }
@media(max-width:600px) { .antarctica-shell { padding: 132px 8px 8px; } .antarctica-header { gap: 6px; } .antarctica-header h1 { font-size: 23px; } .antarctica-search { width: 100%; } .antarctica-map { border-radius: 13px; } }

.antarctica-map-status.is-loading-continent { left:50%; top:50%; right:auto; bottom:auto; transform:translate(-50%,-50%); padding:16px 22px; max-width:80%; font-size:14px; font-weight:650; background:#f5fbfff2; box-shadow:0 4px 24px #163b5926; text-align:center; }
