/* Hasanağa günlük konum oyunu — sade arayüz */
.hpg-game {
    --hpg-text: #1d2924;
    --hpg-subtle: #67736c;
    --hpg-border: #dedfd9;
    --hpg-green: #2b5c49;
    --hpg-soft: #f7f8f5;
    width: 100%;
    color: var(--hpg-text);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.55;
}
.hpg-game, .hpg-game * { box-sizing: border-box; }
.hpg-game [hidden] { display: none !important; }
.hpg-shell { width: min(100%, 1040px); margin: 0 auto; }
.hpg-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding: 2px 0 26px;
    border-bottom: 1px solid var(--hpg-border);
}
.hpg-heading-copy h2 {
    margin: 0 0 7px;
    color: var(--hpg-text);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.15;
}
.hpg-heading-copy p { margin: 0; color: var(--hpg-subtle); font-size: 14px; }
.hpg-total { flex: 0 0 auto; text-align: right; padding-bottom: 3px; }
.hpg-total span {
    display: block;
    color: var(--hpg-subtle);
    font-size: 12px;
    margin-bottom: 1px;
}
.hpg-total strong {
    display: block;
    color: var(--hpg-text);
    font-size: 25px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.hpg-section { margin: 0; padding-top: 31px; }
.hpg-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 14px;
}
.hpg-section-head h3 {
    margin: 0;
    color: var(--hpg-text);
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -.025em;
}
.hpg-section-head p {
    margin: 5px 0 0;
    color: var(--hpg-subtle);
    font-size: 13px;
}
.hpg-date { flex: 0 0 auto; color: var(--hpg-subtle); font-size: 12px; }
.hpg-panorama-frame {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    border-radius: 6px;
    background: #121d19;
}
.hpg-panorama-stage {
    position: relative;
    height: clamp(300px, 50vw, 540px);
    width: 100%;
    outline-offset: -4px;
    overflow: hidden;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    background: #121d19;
}
.hpg-panorama-stage.is-dragging { cursor: grabbing; }
.hpg-panorama-stage:focus-visible { outline: 2px solid #f5f7ef; }
.hpg-panorama-canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.hpg-panorama-loading, .hpg-map-loading {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #f1f5f0;
    font-size: 14px;
    text-align: center;
    background: #121d19;
}
.hpg-fullscreen {
    position: absolute;
    z-index: 5;
    top: 16px;
    right: 16px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 36px;
    padding: 7px 13px;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 4px;
    background: rgba(21, 29, 25, .68);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .15s ease;
}
.hpg-fullscreen:hover, .hpg-fullscreen:focus-visible {
    background: rgba(21, 29, 25, .92);
    border-color: #fff;
    color: #fff;
}
.hpg-panorama-hint {
    position: absolute;
    z-index: 2;
    bottom: 15px;
    left: 18px;
    margin: 0;
    padding: 6px 10px;
    border-radius: 3px;
    background: rgba(21, 29, 25, .62);
    color: #fff;
    font-size: 12px;
    pointer-events: none;
}
.hpg-hint-touch { display: none; }
.hpg-panorama-frame:fullscreen,
.hpg-panorama-frame.hpg-is-pseudo-fullscreen {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    background: #121d19;
}
.hpg-panorama-frame:fullscreen .hpg-panorama-stage,
.hpg-panorama-frame.hpg-is-pseudo-fullscreen .hpg-panorama-stage {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
}
.hpg-panorama-frame.hpg-is-pseudo-fullscreen {
    position: fixed !important;
    z-index: 999999;
    inset: 0;
    max-width: none;
    max-height: none;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}
.hpg-panorama-frame.hpg-is-pseudo-fullscreen .hpg-fullscreen {
    top: max(16px, env(safe-area-inset-top));
}
html.hpg-no-scroll, body.hpg-no-scroll { overflow: hidden !important; overscroll-behavior: none; }
.hpg-map-section { margin-top: 8px; }
.hpg-map-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--hpg-border);
    border-radius: 6px;
    background: #e8eae6;
}
.hpg-map { position: relative; z-index: 1; height: clamp(350px, 47vw, 500px); width: 100%; }
.hpg-map-loading { background: #e9ede9; color: var(--hpg-subtle); pointer-events: none; }
.hpg-map .leaflet-container { font: inherit; }
.hpg-map .leaflet-control-attribution { font-size: 10px; }
.hpg-map .leaflet-control-zoom a { color: #29372f; }
.hpg-map-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0 0;
}
.hpg-choice-copy { flex: 1; min-width: 0; }
.hpg-selection-text { display: block; color: var(--hpg-text); font-size: 13px; }
.hpg-one-guess { display: block; margin-top: 3px; color: var(--hpg-subtle); font-size: 12px; }
.hpg-submit {
    flex: 0 0 auto;
    min-width: 158px;
    min-height: 43px;
    padding: 10px 18px;
    border: 1px solid var(--hpg-green);
    border-radius: 4px;
    background: var(--hpg-green);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    transition: background-color .15s ease;
}
.hpg-submit:hover:not(:disabled) { background: #214938; border-color: #214938; color: #fff; }
.hpg-submit:disabled { cursor: not-allowed; background: #e7ebe7; border-color: #e7ebe7; color: #8a968e; }
.hpg-guess-marker { background: transparent; border: none; }
.hpg-guess-marker span {
    display: block;
    width: 24px;
    height: 24px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #2b8063;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .32);
}
.hpg-result {
    margin-top: 26px;
    padding: 22px 0 0;
    border-top: 1px solid var(--hpg-border);
}
.hpg-result-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.hpg-result-top h3 { margin: 0; color: var(--hpg-text); font-size: 20px; font-weight: 650; }
.hpg-earned { display: flex; align-items: baseline; gap: 6px; color: var(--hpg-green); }
.hpg-earned strong { font-size: 28px; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; }
.hpg-earned span { font-size: 13px; }
.hpg-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 500px;
    margin: 18px 0 0;
}
.hpg-result-grid span { display: block; color: var(--hpg-subtle); font-size: 12px; }
.hpg-result-grid strong { display: block; margin-top: 2px; font-size: 19px; font-weight: 650; }
.hpg-result-legend { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; color: var(--hpg-subtle); font-size: 12px; }
.hpg-dot-guess, .hpg-dot-answer { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #2b8063; }
.hpg-dot-answer { margin-left: 12px; background: #e36e4d; }
.hpg-status {
    width: min(100%, 1040px);
    margin: 16px auto 0;
    padding: 11px 13px;
    border: 1px solid #eed2c9;
    background: #fcf4f1;
    color: #8d3b2b;
    border-radius: 4px;
    font-size: 13px;
}
@media (hover: none), (pointer: coarse) {
    .hpg-hint-desktop { display: none; }
    .hpg-hint-touch { display: inline; }
}
@media (max-width: 640px) {
    .hpg-header { padding-bottom: 20px; gap: 12px; align-items: start; }
    .hpg-heading-copy h2 { font-size: 28px; }
    .hpg-heading-copy p { font-size: 12px; max-width: 260px; }
    .hpg-total span { font-size: 11px; }
    .hpg-total strong { font-size: 21px; }
    .hpg-section { padding-top: 23px; }
    .hpg-section-head { flex-wrap: wrap; gap: 5px 14px; margin-bottom: 12px; }
    .hpg-section-head h3 { font-size: 19px; }
    .hpg-date { font-size: 11px; }
    .hpg-panorama-stage { height: clamp(270px, 76vw, 400px); }
    .hpg-fullscreen { right: 10px; top: 10px; min-height: 34px; padding: 6px 10px; }
    .hpg-panorama-hint { left: 10px; bottom: 10px; max-width: calc(100% - 20px); font-size: 11px; }
    .hpg-map { height: 400px; }
    .hpg-map-footer { flex-direction: column; align-items: stretch; gap: 13px; padding-top: 14px; }
    .hpg-submit { width: 100%; min-height: 46px; }
    .hpg-one-guess { font-size: 11px; }
    .hpg-result { margin-top: 22px; padding-top: 18px; }
}
@media (max-width: 360px) {
    .hpg-heading-copy h2 { font-size: 25px; }
    .hpg-panorama-stage { height: 260px; }
    .hpg-map { height: 350px; }
}
