/* Çalış & Sula sayfası — orman.css'in değişkenlerini ve üst çubuğunu kullanır */
body.calis-page { overflow: auto; background: linear-gradient(180deg, #FFF3DC 0%, #F7FBF7 45%, #E3F4E6 100%); }
.calis-main { flex: 1 0 auto; width: 100%; max-width: 1100px; margin: 0 auto; padding: 32px 16px 64px; }
.calis-card { background: #fff; border: 1px solid rgba(116,198,157,.35); border-radius: 32px; padding: 28px; box-shadow: 0 8px 30px rgba(27,67,50,.06); }
.calis-state { text-align: center; max-width: 440px; margin: 40px auto; }
.calis-state h2 { font-family: 'Playfair Display', serif; margin: 0 0 8px; }
.calis-state p { color: rgba(27,67,50,.7); line-height: 1.6; }
.calis-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.calis-side { display: grid; gap: 24px; }
.card-title { font-family: 'Playfair Display', serif; font-size: 20px; margin: 0 0 14px; }
.muted { color: rgba(27,67,50,.65); margin: 10px 0 0; line-height: 1.5; }
.small { font-size: 13px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }

/* Ağaç seçimi */
.tree-pick { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; }
.tree-chip { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; border: 2px solid rgba(116,198,157,.4); background: #fff; border-radius: 999px; padding: 4px 14px 4px 4px; font-weight: 800; font-size: 14px; color: var(--text); }
.tree-chip svg { width: 34px; height: 40px; }
.tree-chip[aria-checked=true] { border-color: var(--primary); background: #E9F6EE; }
.tree-chip[disabled] { opacity: .5; cursor: not-allowed; }

/* Sayaç halkası */
.timer-wrap { position: relative; width: min(320px, 80vw); aspect-ratio: 1; margin: 18px auto; }
.timer-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #E9F6EE; stroke-width: 14; }
.ring-fg { fill: none; stroke: #52B788; stroke-width: 14; stroke-linecap: round; stroke-dasharray: 603.2; stroke-dashoffset: 603.2; transition: stroke-dashoffset .9s linear; }
.timer-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 30px; }
.timer-time { font-family: 'Playfair Display', serif; font-weight: 800; font-size: clamp(44px, 11vw, 64px); font-variant-numeric: tabular-nums; }
.timer-label { font-size: 14px; color: rgba(27,67,50,.65); margin-top: 4px; }
.timer-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.timer-hint { text-align: center; font-size: 13px; color: rgba(27,67,50,.6); margin: 16px auto 0; max-width: 420px; line-height: 1.5; }
.timer-card.paused .ring-fg { stroke: #B7C9BE; }

/* Bardaklar */
.glasses { display: grid; grid-template-columns: repeat(6, minmax(0, 34px)); gap: 8px; }
.glass { aspect-ratio: 3/4; border-radius: 6px 6px 12px 12px; border: 2px solid rgba(116,198,157,.6); background: linear-gradient(to top, #8ECAE6 var(--fill, 0%), transparent var(--fill, 0%)); transition: background .6s; }
.glass.full { --fill: 85%; border-color: #219EBC; }
.glass.new { animation: pour .9s ease-out; }
@keyframes pour { from { --fill: 0%; transform: scale(1.15); } to { transform: none; } }
.stats { display: flex; gap: 24px; margin-top: 16px; }
.stats div { display: flex; flex-direction: column; }
.stats strong { font-size: 26px; font-family: 'Playfair Display', serif; }
.stats span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: rgba(27,67,50,.55); }

/* Su hesabı */
.bank { position: relative; height: 28px; border-radius: 999px; background: #EAF4F8; overflow: hidden; }
.bank-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, #8ECAE6, #219EBC); transition: width .8s; }
.bank-text { position: relative; display: block; text-align: center; line-height: 28px; font-weight: 800; font-size: 13px; color: #023047; }
.info-card ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; line-height: 1.5; font-size: 14px; color: rgba(27,67,50,.8); }

/* Blok onay penceresi */
.calis-modal { position: fixed; inset: 0; z-index: 9500; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(27,67,50,.55); }
.calis-modal.open { display: flex; }
.modal-inner { max-width: 420px; text-align: center; }
.modal-inner h2 { font-family: 'Playfair Display', serif; margin: 6px 0 8px; }
.modal-inner p { color: rgba(27,67,50,.75); margin: 0 0 18px; }
.modal-glass { font-size: 48px; animation: bob 1.6s ease-in-out infinite; }

@media (max-width: 860px) {
    .calis-grid { grid-template-columns: 1fr; }
    .calis-card { padding: 22px 18px; border-radius: 28px; }
}
