body[data-room="geometri"] {--accent:#1f605c;--deep:#15383d;--warm:#eef1e8}
.room-card.geometri {background:#1e5359}
body[data-room="geometri"] .room-lead h1 {font-size:clamp(1.9rem,4vw,3.25rem)}
body[data-room="geometri"] .room-lead,
body[data-room="geometri"] .room-art {min-height:165px}
.kite-modes {display:flex;gap:.55rem;flex-wrap:wrap;margin-bottom:.75rem}
.kite-modes button[aria-pressed="true"] {background:#254f4d;color:white;border-color:#254f4d}
.kite-game {max-width:740px;margin:auto;background:#fffdf3;border:1px solid #c0d6c7;border-radius:22px;padding:clamp(.85rem,3vw,1.65rem);box-shadow:0 12px 24px #274b3920}
.kite-game[hidden],.geo-drawing-mode[hidden] {display:none}
.kite-game h2 {margin:.4rem 0;font-size:clamp(1.5rem,4vw,2.5rem);color:#214d4d}
.kite-counter {display:flex;justify-content:space-between;flex-wrap:wrap;gap:.38rem;color:#355d53;font-weight:900}
.kite-counter progress {width:100%;height:.65rem;accent-color:#4c8b73}
.kite-prompt {font-size:1rem;margin:0 0 .7rem}
.kite-scene {position:relative;max-width:520px;margin:auto;border-radius:18px;background:linear-gradient(#cbe6e6,#f8eabf);overflow:hidden}
.kite-scene svg {display:block;width:100%;height:auto}
.kite-game .kite-pin {position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);min-width:42px;min-height:42px;border-radius:50%;border:2px solid #40776b;background:#fffaf0;color:#144c47;font-weight:900}
.kite-game [data-pick].kite-try {border-style:dashed}
.kite-game [data-pick].kite-win {color:white;background:#27765d;border-color:white;opacity:1}
.kite-actions,.kite-choices {display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin:.55rem 0}
.kite-game .kite-primary {background:#255e54;color:white;border-color:#255e54}
.kite-feedback {min-height:2.4rem;margin:.55rem 0;color:#274c48;font-weight:800;text-align:center}
.kite-finish {text-align:center}
.kite-finish svg {width:min(170px,45%);margin:auto}
.kite-finish button {margin:.5rem .15rem}
.geo-game-library {max-width:1000px}
.geo-game-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;margin-top:.9rem}
.geo-game-grid .geo-game-card {display:grid;grid-template-rows:auto 1fr;text-align:left;padding:0;border:1px solid #bfd0bf;border-radius:15px;overflow:hidden;background:#fff9e9;color:#244840}
.geo-game-grid .geo-game-card:hover {border-color:#3b7e68;background:#edf4df}
.geo-game-art {display:block;background:#dcebdc}
.geo-game-art svg {display:block;width:100%;height:auto}
.geo-game-art-mozaik {background:#fae3c1}
.geo-game-art-tren {background:#dce6dc}
.geo-game-art-saat {background:#fae7d4}
.geo-game-art-cam {background:#f2e1e9}
.geo-game-art-bahce {background:#e8eecc}
.geo-game-label {display:grid;align-content:start;gap:.28rem;padding:.7rem .8rem;font-size:.9rem}
.geo-game-label strong {font-size:1.06rem}
.geo-game-label small {color:#376358}
.geo-game-label b {margin-top:.15rem}
.geo-game-top {display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.65rem}
.geo-game-back {font-size:.86rem}
.geo-game-medal {display:block;font-size:clamp(3rem,12vw,6rem);line-height:1.25}
@media(max-width:730px) {.geo-game-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px) {.geo-game-grid {grid-template-columns:1fr}.geo-game-grid .geo-game-card {grid-template-columns:32% minmax(0,1fr);grid-template-rows:auto}.geo-game-art {display:grid;align-items:center}.geo-game-label {padding:.55rem}}
@media(max-width:640px) {
 body[data-room="geometri"] .room-art {display:none}
 body[data-room="geometri"] .room-lead {min-height:0}
 .kite-game .kite-pin {min-width:38px;min-height:38px;padding:0}
}
@media print {.kite-modes,.kite-game {display:none!important}}
.geo {--geo-line:#c4d3c8;color:#253b3d}
.geo-intro,.geo-panel {border:1px solid var(--geo-line);border-radius:14px;padding:1rem;background:#fffdf3}
.geo-intro {display:flex;gap:.8rem;align-items:center;justify-content:space-between;margin-bottom:1rem;background:linear-gradient(100deg,#e2eee6 55%,#e2eee677),url('gorseller/geometri.webp') right 61%/cover}
.geo-intro h2 {margin:.35rem 0}
.geo-intro a {background:#fcfff6;border:1px solid #aec4b5;border-radius:6px;padding:.55rem .7rem;white-space:nowrap;font-weight:900}
.geo-layout {display:grid;grid-template-columns:minmax(150px,.8fr) minmax(0,2.25fr) minmax(158px,.8fr);align-items:start;gap:.75rem}
.geo-panel h3 {margin-bottom:.5rem}
.geo-panel p {margin:.35rem 0}
.geo-panel h4 {margin:.8rem 0 .3rem;color:#346961}
.geo-missions button {width:100%;text-align:left;margin-bottom:.25rem;font-size:.83rem;min-height:38px}
.geo-missions button[aria-current=step],.geo-tools button[aria-pressed=true],#geo-shapes button[aria-pressed=true] {background:#d1e5da;border-color:#3d7771;color:#143e40}
.geo-brief {background:#f8eed4;margin-bottom:.8rem}
.geo-paper {background:#eef4e9}
.geo-tools,.geo-actions,#geo-shapes {display:flex;flex-wrap:wrap;gap:.35rem;margin:.45rem 0}
.geo-tools button,.geo-actions button,#geo-shapes button {padding:.45rem .55rem}
.geo-tools b {color:#316c65;font-size:1.1em}
.geo-side {display:grid;gap:.75rem}
#geo-board {display:block;width:min(100%,610px);height:auto;margin:auto;background:#fffcf2;border:1px solid #9fb5a9;border-radius:8px;touch-action:manipulation;cursor:crosshair}
#geo-board:focus-visible {outline:3px solid #32675f;outline-offset:3px}
#geo-board text {fill:#36585a;font-size:13px;font-family:Nunito,system-ui,sans-serif}
.geo-guide {stroke-dasharray:8 5}
.geo-active {stroke-width:5.8}
.geo-cursor {opacity:.67}
#geo-steps {font-size:.87rem;color:#3c6460}
#geo-message {min-height:1.55rem;font-weight:800}
#geo-hint,#geo-fact,#geo-measures {background:#e3eee1;border-radius:6px;padding:.55rem .7rem}
[data-action=verify] {background:#1f605c;color:white;border-color:#1f605c}
[data-action=verify]:hover {background:#15383d}
.geo-journal {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:1rem;margin-top:1rem}
.geo-journal summary {cursor:pointer;color:#1f605c;font-weight:900}
#geo-record {font-size:.88rem;margin:.45rem 0}
#geo-print-question {display:none}
@media(max-width:940px) {
 .geo-layout {grid-template-columns:minmax(160px,.7fr) minmax(0,1.85fr)}
 .geo-side {grid-column:1/-1;grid-template-columns:1fr 1fr}
}
@media(max-width:640px) {
 .geo-layout,.geo-journal {display:flex;flex-direction:column;align-items:stretch}
 .geo-intro {align-items:start;flex-direction:column;background:#e2eee6}
 #geo-task-list {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem}
 #geo-task-list h4 {grid-column:1/-1;margin:.3rem 0 0}
 #geo-task-list button {padding:.32rem;overflow-wrap:break-word}
 .geo-side {grid-template-columns:1fr}
}
@media print {
 body[data-room=geometri] .geo-layout,body[data-room=geometri] .geo-journal {display:block}
 body[data-room=geometri] .geo-intro a,body[data-room=geometri] .geo-missions,body[data-room=geometri] .geo-tools,body[data-room=geometri] .geo-actions,body[data-room=geometri] .geo-side,body[data-room=geometri] textarea,body[data-room=geometri] .geo-journal button,body[data-room=geometri] .geo-journal label,.geo-cursor {display:none}
 body[data-room=geometri] #geo-board {width:105mm;break-inside:avoid}
 body[data-room=geometri] #geo-print-question {display:block;white-space:pre-wrap}
}
