:root { --tema:#0f766e; --tema2:#6d28d9; }
.bb-sahne { max-width:1380px; display:grid; grid-template-columns:minmax(250px,.85fr) minmax(0,1.5fr); gap:16px; align-items:start; }
.bb-baslik { grid-column:1/-1; display:flex; justify-content:space-between; align-items:center; gap:12px; padding:0 4px; }
.bb-baslik small { font-size:.7rem; letter-spacing:.16em; color:#0f766e; }
.bb-baslik h1 { font-size:clamp(1.35rem,2.5vw,2rem); margin-top:3px; }
#tur-sayaci { background:#fff; border:1px solid #cbd5e1; border-radius:99px; padding:7px 14px; white-space:nowrap; }
.bb-kesif { display:grid; gap:14px; min-width:0; }
.bb-kart { background:#fffdf7; border:1px solid #d8e3df; border-radius:22px; padding:16px; box-shadow:0 5px 0 #164e6314; min-width:0; }
.bb-kart h2 { font:900 clamp(.85rem,1.3vw,1.05rem) 'Nunito',sans-serif; display:flex; align-items:center; gap:8px; }
.bb-kart h2>span { display:grid; place-items:center; background:#d1fae5; color:#065f46; border-radius:50%; width:26px; height:26px; flex:none; }
.bb-kart p { color:#526477; font-size:.8rem; margin:8px 0 0; }
.bb-ipucu { background:#f0fdf8; }
.bb-ipucu svg { width:100%; display:block; height:clamp(100px,21dvh,210px); margin:8px 0; overflow:visible; }
.bb-konum-baslik { display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap; }
#kita-adi { color:#6d28d9; font-size:.75rem; }
#kita-haritasi { width:100%; height:clamp(95px,21dvh,210px); display:block; margin-top:8px; border-radius:12px; overflow:hidden; }
.dh-deniz { fill:#e0f2fe; }
.dh-ulke { stroke:#fff; stroke-width:1; vector-effect:non-scaling-stroke; stroke-linejoin:round; }
.bb-hedef { stroke:#0f766e; stroke-width:2; }
.bb-isaret { fill:#0f766e; stroke:#fff; stroke-width:2; vector-effect:non-scaling-stroke; }
.bb-konum.tamam .bb-hedef, .bb-konum.tamam .bb-isaret { animation:bb-parla 1.5s ease-in-out infinite; }
.bb-konum.tamam { border-color:#0f766e; background:#ecfdf5; }
@keyframes bb-parla { 50% { fill:#fbbf24; stroke:#b45309; } }
.bb-atolye { padding:20px; }
.bb-atolye-baslik { display:flex; justify-content:space-between; align-items:center; gap:8px; }
#boyama-sayaci { font-size:.78rem; color:#526477; white-space:nowrap; }
.bb-tuval-kutu { padding:18px; margin:14px 0; border:1px solid #dbe4ec; border-radius:16px; background:repeating-conic-gradient(#edf2f6 0 25%,#f8fafc 0 50%) 0/18px 18px; }
.bb-tuval { display:block; width:100%; height:clamp(130px,35dvh,370px); filter:drop-shadow(0 5px 5px #10223a20); overflow:visible; }
.bb-bolge { cursor:pointer; stroke:#64748b; stroke-width:1.5; stroke-dasharray:4 3; transition:fill .2s; }
.bb-bolge:hover, .bb-bolge:focus-visible { stroke:#6d28d9; stroke-width:3; outline:none; }
.bb-bolge.boyali { stroke:#10223a30; stroke-dasharray:none; }
.bb-bolge.salla { animation:bb-salla .4s; }
@keyframes bb-salla { 50% { opacity:.4; } }
.bb-tuval.dalga { animation:bb-dalga 1s ease-in-out 2; transform-origin:center; }
@keyframes bb-dalga { 50% { transform:rotate(-2deg) scale(.97); } }
.bb-yonerge { text-align:center; min-height:1.4em; }
.bb-palet { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin-top:14px; }
.bb-renk { display:flex; align-items:center; justify-content:center; flex-direction:column; gap:5px; border:2px solid transparent; background:#f1f5f9; border-radius:12px; padding:7px 3px; min-height:62px; font-size:.7rem; }
.bb-renk i { display:block; width:30px; height:30px; background:var(--boya); border:2px solid #10223a30; border-radius:50%; box-shadow:inset 0 -3px 0 #0001; }
.bb-renk.secili { border-color:#6d28d9; background:#ede9fe; transform:translateY(-2px); }
.bb-renk:focus-visible, .bb-devam:focus-visible { outline:3px solid #6d28d9; outline-offset:3px; }
.bb-devam { width:100%; margin-top:14px; min-height:44px; font-size:1rem; padding:8px 16px; border-radius:12px; }
@media(max-width:639px), (max-width:899px) and (orientation:portrait) {
 .bb-sahne { grid-template-columns:1fr; gap:10px; }
 .bb-baslik { gap:6px; }
 .bb-baslik small { font-size:.55rem; letter-spacing:.08em; }
 #tur-sayaci { padding:5px 8px; font-size:.75rem; }
 .bb-kesif { grid-template-columns:1fr 1fr; gap:8px; }
 .bb-kart { padding:10px; border-radius:16px; }
 .bb-kart h2 { font-size:.76rem; gap:5px; }
 .bb-kart h2>span { width:20px; height:20px; }
 .bb-kart p { font-size:.68rem; }
 .bb-ipucu svg, #kita-haritasi { height:100px; margin:6px 0; }
 .bb-tuval { height:clamp(135px,25dvh,220px); }
 .bb-tuval-kutu { margin:9px 0; padding:10px; }
 .bb-palet { gap:5px; margin-top:9px; }
 .bb-renk { min-height:52px; font-size:.6rem; padding:4px 2px; gap:3px; }
 .bb-renk i { width:25px; height:25px; }
}
@media(orientation:landscape) and (max-height:600px) {
 .bb-sahne { gap:8px 14px; }
 .bb-kesif { gap:8px; }
 .bb-kart { padding:10px; }
 .bb-tuval-kutu { margin:8px 0; padding:10px; }
 .bb-palet { grid-template-columns:repeat(10,minmax(0,1fr)); gap:4px; margin-top:8px; }
 .bb-renk { font-size:.56rem; min-height:48px; }
 .bb-renk i { width:24px; height:24px; }
 .bb-ipucu svg, #kita-haritasi { height:clamp(65px,20dvh,110px); }
 .bb-tuval { height:32dvh; }
}
@media(prefers-reduced-motion:reduce) {
 .bb-tuval.dalga, .bb-konum.tamam .bb-hedef, .bb-konum.tamam .bb-isaret { animation:none; }
 .bb-konum.tamam .bb-hedef { fill:#fbbf24; stroke:#92400e; }
}
/* Keep the guide clear of the paint controls on narrow screens. */
@media(max-width:639px), (max-width:899px) and (orientation:portrait) {
 .bb-sahne { padding-bottom:40px; }
 body:has(.bb-sahne) .k-rehber img { width:32px; height:36px; }
}
