/* iOS Safari yatayda yazıları kendiliğinden büyütüyordu (text autosizing): önizlemeyle telefon aynı görünsün. */
html.is-mobile{-webkit-text-size-adjust:100%;text-size-adjust:100%}
/* Portrait phones (html.is-mobile.m-fluid.m-dikey): a real responsive layout. The stage is not scaled, so every size below is in
   real screen pixels and follows the screen width (vw) with sensible minimums/maximums (clamp). Desktop and
   landscape phones never get the m-fluid class, so nothing here touches them. */

/* ---------- Header ---------- */
html.is-mobile.m-fluid.m-dikey #app-viewport{--header-h:calc(54px + env(safe-area-inset-top,0px))}
html.is-mobile.m-fluid.m-dikey #app-viewport header{height:var(--header-h)!important;padding:env(safe-area-inset-top,0px) 16px 0!important;gap:10px}
html.is-mobile.m-fluid.m-dikey #app-viewport header .brand{translate:none!important;font-size:16px;gap:8px;white-space:nowrap}
html.is-mobile.m-fluid.m-dikey #app-viewport header .brand-icon{font-size:22px}
html.is-mobile.m-fluid.m-dikey #app-viewport header:has(#top-task-title:not([hidden])) .brand{font-size:0;gap:0}
html.is-mobile.m-fluid.m-dikey #app-viewport header:has(#top-task-title:not([hidden])) .brand-icon{font-size:24px}
html.is-mobile.m-fluid.m-dikey #app-viewport header .top-task-title{position:static!important;flex:1;min-width:0;gap:8px;translate:none!important;margin:0!important}
html.is-mobile.m-fluid.m-dikey #app-viewport header .top-task-title .ttt-label{display:none}
html.is-mobile.m-fluid.m-dikey #app-viewport header .top-task-title .ttt-num{font-size:13px!important;padding-right:8px!important;white-space:nowrap}
html.is-mobile.m-fluid.m-dikey #app-viewport header .top-task-title .ttt-title{font-size:15px!important;padding-left:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
html.is-mobile.m-fluid.m-dikey #app-viewport header>button{font-size:12px}

/* ---------- Intro ---------- */
html.is-mobile.m-fluid.m-dikey #app-viewport #intro .intro-copy{display:contents}
html.is-mobile.m-fluid.m-dikey #app-viewport #title{position:absolute!important;top:clamp(18px,5vh,48px)!important;left:0;right:0;margin:0!important;padding:0 6vw;translate:none!important;text-align:center;font-size:clamp(38px,12.5vw,64px)!important;line-height:1.02;letter-spacing:-.03em}
html.is-mobile.m-fluid.m-dikey #app-viewport #title br{display:none}
html.is-mobile.m-fluid.m-dikey #app-viewport .intro-copy p{position:absolute!important;left:0;right:0;bottom:calc(clamp(96px,15vh,140px) + env(safe-area-inset-bottom,0px))!important;top:auto!important;margin:0!important;padding:0 8vw;translate:none!important;text-align:center;font-size:clamp(14px,4.1vw,18px)!important;line-height:1.55;text-shadow:0 2px 14px #000c}
html.is-mobile.m-fluid.m-dikey #app-viewport #enter{position:absolute!important;left:50%!important;right:auto!important;top:auto!important;bottom:calc(clamp(28px,6vh,56px) + env(safe-area-inset-bottom,0px))!important;translate:-50% 0!important;transform:none;margin:0!important;width:min(84vw,360px);min-height:56px;justify-content:center;font-size:clamp(16px,4.6vw,19px)!important;padding:0 24px!important;border-radius:999px}
html.is-mobile.m-fluid.m-dikey #app-viewport #enter:active{transform:scale(.97)}
html.is-mobile.m-fluid.m-dikey #app-viewport .orb{width:calc(min(96vw,58vh) * var(--globe-area,1))!important;height:calc(min(96vw,58vh) * var(--globe-area,1))!important}
html.is-mobile.m-fluid.m-dikey #app-viewport .orbit{display:none}

/* ---------- Task selection ---------- */
html.is-mobile.m-fluid.m-dikey #app-viewport #selection{display:block!important;padding:16px 16px calc(28px + env(safe-area-inset-bottom,0px))!important;overflow-y:auto}
html.is-mobile.m-fluid.m-dikey #app-viewport #selection[hidden]{display:none!important}
html.is-mobile.m-fluid.m-dikey #app-viewport #selection>.selection-head{margin:0 0 18px!important;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
html.is-mobile.m-fluid.m-dikey #app-viewport #back{position:static!important;translate:none!important;font-size:14px;padding:10px 16px;min-height:44px}
html.is-mobile.m-fluid.m-dikey #app-viewport #selection-title{position:static!important;translate:none!important;margin:0!important;font-size:clamp(24px,7.4vw,34px)!important;line-height:1.15;text-align:left}
html.is-mobile.m-fluid.m-dikey #app-viewport #selection .cards{width:100%!important;margin:0!important;gap:14px!important;translate:none!important}
html.is-mobile.m-fluid.m-dikey #app-viewport #selection .task{padding:18px 18px 18px 14px!important;grid-template-columns:clamp(64px,20vw,96px) 1fr;column-gap:14px;border-radius:16px;translate:none!important}
html.is-mobile.m-fluid.m-dikey #app-viewport #selection .task>.task-art{font-size:clamp(46px,14vw,64px)!important;scale:1!important;translate:none!important}
html.is-mobile.m-fluid.m-dikey #app-viewport #selection .task>.art-carbon{font-size:clamp(28px,8.5vw,40px)!important}
html.is-mobile.m-fluid.m-dikey #app-viewport #selection .task .task-heading{font-size:clamp(20px,6vw,26px)!important;margin-bottom:4px}
html.is-mobile.m-fluid.m-dikey #app-viewport #selection .task>.task-subtitle{font-size:clamp(14px,4.2vw,17px)!important;margin-bottom:6px}
html.is-mobile.m-fluid.m-dikey #app-viewport #selection .task>span:not([class]){font-size:clamp(12.5px,3.6vw,14px)!important;line-height:1.5}
html.is-mobile.m-fluid.m-dikey #app-viewport #selection .task>b{font-size:13px!important;margin-top:8px}
html.is-mobile.m-fluid.m-dikey #app-viewport #selection .task>.task-done-badge{scale:.8}

/* ---------- Görev 1 ---------- */
html.is-mobile.m-fluid.m-dikey #task1{padding:10px 10px calc(16px + env(safe-area-inset-bottom,0px))!important;display:block!important}
html.is-mobile.m-fluid.m-dikey #task1[hidden]{display:none!important}
html.is-mobile.m-fluid.m-dikey #task1>.t1-shell{width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;translate:none!important;padding:12px!important;border-radius:20px}
html.is-mobile.m-fluid.m-dikey #task1 .t1-head{height:44px!important;min-height:44px!important;margin:0 0 4px!important;position:relative}
html.is-mobile.m-fluid.m-dikey #task1 .t1-close{top:8px!important;right:8px!important;width:40px!important;height:40px!important;z-index:5}
html.is-mobile.m-fluid.m-dikey #task1 .t1-body{display:flex!important;flex-direction:column;gap:14px;padding:0!important;translate:none!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-body>*{translate:none!important;margin-left:0!important;margin-right:0!important}
/* Event buttons: one swipeable row */
html.is-mobile.m-fluid.m-dikey #task1 .t1-events{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:4px 52px 8px 2px!important;margin:0!important;width:100%!important;touch-action:pan-x;scrollbar-width:none}
html.is-mobile.m-fluid.m-dikey #task1 .t1-events::-webkit-scrollbar{display:none}
html.is-mobile.m-fluid.m-dikey #task1 .t1-events>strong{display:none!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-event{flex:0 0 auto!important;width:auto!important;max-width:62vw;min-height:52px!important;height:auto!important;padding:8px 14px!important;font-size:14px!important;scroll-snap-align:start;gap:8px}
html.is-mobile.m-fluid.m-dikey #task1 .t1-event span{font-size:14px!important;line-height:1.25;white-space:normal}
html.is-mobile.m-fluid.m-dikey #task1 .t1-event svg{width:22px!important;height:22px!important}
/* Card pool: two columns that fill the width */
html.is-mobile.m-fluid.m-dikey #task1 .t1-bank{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:clamp(92px,26vw,118px)!important;gap:8px!important;padding:8px!important;min-height:0!important;max-height:none!important;width:100%!important;justify-content:stretch!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-bank>.t1-card{justify-self:stretch!important;align-self:stretch!important;width:auto!important;height:auto!important;font-size:clamp(11.5px,3.3vw,14px)!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-bank.is-collapsed:not(.drop-hover){min-height:56px!important;max-height:56px!important}
/* Answer areas: stacked */
html.is-mobile.m-fluid.m-dikey #task1 .t1-columns{display:flex!important;flex-direction:column;gap:12px!important;width:100%!important;padding-bottom:0!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-column{width:100%!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-column h3{font-size:14px!important;margin:0 0 6px!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-columns .t1-zone .t1-card{font-size:clamp(11.5px,3.3vw,14px)!important}
/* Buttons: full width */
html.is-mobile.m-fluid.m-dikey #task1 .t1-actions{display:grid!important;grid-template-columns:1fr 1fr;gap:10px!important;width:100%!important;margin:4px 0 0!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-actions>button{width:100%!important;min-height:52px!important;height:auto!important;font-size:15px!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-bank .t1-card-copy{font-size:clamp(10.5px,3.05vw,13px)!important;line-height:1.2!important;padding-top:6px!important;padding-bottom:6px!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-columns .t1-zone .t1-card-copy{font-size:clamp(10.5px,3.05vw,13px)!important;line-height:1.2!important;padding-top:6px!important;padding-bottom:6px!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-events{padding-right:2px!important}
/* Placed cards: same two-column grid and size as the card pool; the zone grows with its cards (no inner scroll). */
html.is-mobile.m-fluid.m-dikey #task1 .t1-columns .t1-zone{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:clamp(92px,26vw,118px)!important;justify-content:stretch!important;align-content:start!important;gap:8px!important;padding:8px!important;height:auto!important;min-height:clamp(104px,28vw,130px)!important;margin-bottom:0!important;overflow:hidden!important;border:1.5px dashed color-mix(in srgb,var(--t1-zone-dash-color,#4d7593) calc(var(--t1-zone-dash-alpha,.75)*100%),transparent)!important;border-radius:16px!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-columns .t1-zone.drop-hover{border-color:var(--t1-accent)!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-columns .t1-zone .t1-card{zoom:1!important;width:auto!important;height:auto!important;justify-self:stretch!important;align-self:stretch!important;margin:0!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-zone-frame{display:none!important}

/* ---------- Görev 1, portrait: pool (left, one card per row, sticky) | Neden/Sonuç/Çözüm (right, stacked) ---------- */
html.is-mobile.m-fluid.m-dikey #task1 .t1-body{display:grid!important;grid-template-columns:var(--m-pool,50%) minmax(0,1fr);grid-template-areas:"title title" "bank zones" "actions actions";column-gap:10px;row-gap:14px;align-items:start}
html.is-mobile.m-fluid.m-dikey #task1 .t1-events{grid-area:events}
html.is-mobile.m-fluid.m-dikey #task1 .t1-bank{grid-area:bank;grid-template-columns:minmax(0,1fr)!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-columns{grid-area:zones;gap:10px!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-columns .t1-zone{grid-template-columns:minmax(0,1fr)!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-column h3{text-align:left;font-size:13px!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-actions{grid-area:actions}
html.is-mobile.m-fluid.m-dikey #task1 .t1-zone:empty:after{font-size:12px!important;left:6px!important;right:6px!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-zone:empty:before{width:34px!important;height:34px!important}
/* Fixed, matched heights. Right: Neden/Sonuç/Çözüm, each showing 2 cards (more scroll inside). Left: the pool starts level
   with the top of the Neden area and ends level with the bottom of the Çözüm area; its 6 card rows are spread over
   that height, so the pool never changes size. Touching the gaps scrolls the page (only the cards themselves drag). */
html.is-mobile.m-fluid.m-dikey #task1 .t1-body{--row:clamp(118px,33.5vw,150px);--g:12px;--pad:10px;--lab:28px;--zh:calc(2 * var(--row) + var(--g) + 2 * var(--pad));align-items:stretch}
html.is-mobile.m-fluid.m-dikey #task1 .t1-bank,html.is-mobile.m-fluid.m-dikey #task1 .t1-bank.is-collapsed:not(.drop-hover){align-self:stretch;margin-top:calc(var(--lab) + 0px)!important;height:auto!important;min-height:0!important;max-height:none!important;grid-template-rows:repeat(6,var(--row))!important;grid-auto-rows:var(--row)!important;align-content:space-between!important;row-gap:var(--g)!important;padding:var(--pad)!important;overflow:hidden!important;touch-action:pan-y!important;overscroll-behavior:auto!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-bank.is-collapsed>.t1-card{display:none}
html.is-mobile.m-fluid.m-dikey #task1 .t1-columns{align-self:start;justify-content:flex-start!important;gap:10px!important;margin-top:0!important;padding-top:0!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-column h3{height:var(--lab);line-height:var(--lab);margin:0!important;overflow:hidden}
html.is-mobile.m-fluid.m-dikey #task1 .t1-columns .t1-zone{height:var(--zh)!important;min-height:var(--zh)!important;max-height:var(--zh)!important;grid-auto-rows:var(--row)!important;gap:var(--g)!important;padding:var(--pad)!important;overflow:hidden!important;grid-template-rows:repeat(2,var(--row))!important;overscroll-behavior:auto!important;touch-action:pan-y!important;scrollbar-width:thin;scrollbar-color:#8ee3f266 transparent}
html.is-mobile.m-fluid.m-dikey #task1 .t1-columns .t1-zone::-webkit-scrollbar{display:block;width:4px}
html.is-mobile.m-fluid.m-dikey #task1 .t1-columns .t1-zone::-webkit-scrollbar-thumb{background:#8ee3f266;border-radius:4px}
html.is-mobile.m-fluid.m-dikey #task1 .t1-columns .t1-zone:empty{padding:var(--pad)!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-column,html.is-mobile.m-fluid.m-dikey #task1 .t1-columns{touch-action:pan-y}
html.is-mobile.m-fluid.m-dikey #task1 .t1-card .t1-card-copy,html.is-mobile.m-fluid.m-dikey .t1-card.t1-drag .t1-card-copy{top:4%!important;bottom:5%!important}

/* ---------- Görev 1, portrait: "Olay Seç" menu + centred title of the chosen event ---------- */
.t1-picker,.t1-current{display:none}
html.is-mobile.m-fluid.m-dikey #task1 .t1-head{display:flex;align-items:center}
html.is-mobile.m-fluid.m-dikey #task1 .t1-picker{pointer-events:auto;z-index:6;display:flex;align-items:center;gap:10px;position:absolute;left:0;top:0;height:44px;padding:0 16px;border-radius:var(--t1-event-radius,14px);border:1px solid color-mix(in srgb,var(--t1-accent,#32e4ee) 45%,transparent);background:var(--t1-event-bg,#0b3452);color:var(--t1-event-label-color,#8ee3f2);font:700 16px/1 inherit;font-family:inherit;cursor:pointer;box-shadow:0 0 18px color-mix(in srgb,var(--t1-accent,#32e4ee) 18%,transparent)}
html.is-mobile.m-fluid.m-dikey #task1 .t1-picker b{font-size:13px;transition:rotate .2s}
html.is-mobile.m-fluid.m-dikey #task1.t1-picker-open .t1-picker b{rotate:180deg}
html.is-mobile.m-fluid.m-dikey #task1 .t1-shell:has(.t1-guide:not([hidden])) .t1-picker{animation:t1PickerPulse 1.4s ease-in-out infinite}
@keyframes t1PickerPulse{50%{box-shadow:0 0 0 4px color-mix(in srgb,var(--t1-accent,#32e4ee) 55%,transparent),0 0 26px var(--t1-accent,#32e4ee)}}
html.is-mobile.m-fluid.m-dikey #task1 .t1-guide{display:none!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-current{grid-area:title;display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:4px 8px;text-align:center;color:var(--t1-event-label-color,#8ee3f2);font-size:clamp(17px,5vw,21px);font-weight:800;line-height:1.2}
html.is-mobile.m-fluid.m-dikey #task1 .t1-current svg{width:24px;height:24px;flex:none}
html.is-mobile.m-fluid.m-dikey #task1 .t1-current.is-empty{color:var(--t1-text,#d9e5e7);opacity:.7;font-weight:600;font-size:15px}
/* The event buttons live in a drop-down panel under the "Olay Seç" button */
html.is-mobile.m-fluid.m-dikey #task1:not(.t1-picker-open) .t1-events{display:none!important}
html.is-mobile.m-fluid.m-dikey #task1.t1-picker-open .t1-events{position:absolute!important;left:12px!important;right:12px!important;top:60px!important;width:auto!important;z-index:30;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:10px!important;padding:12px!important;overflow:visible!important;border-radius:18px;background:color-mix(in srgb,var(--t1-panel,#031326) 96%,transparent);border:1px solid color-mix(in srgb,var(--t1-accent,#32e4ee) 35%,transparent);box-shadow:0 24px 60px #000b;touch-action:auto;scroll-snap-type:none}
html.is-mobile.m-fluid.m-dikey #task1.t1-picker-open .t1-event{width:100%!important;max-width:none!important;flex:none!important;min-height:58px!important;justify-content:flex-start;text-align:left;font-size:15px!important}
html.is-mobile.m-fluid.m-dikey #task1.t1-picker-open .t1-event span{font-size:15px!important}

/* Chosen event: shown exactly like the selected event button (filled pill with the pointer below) */
html.is-mobile.m-fluid.m-dikey #task1 .t1-current{min-height:64px;padding:6px 8px 18px}
html.is-mobile.m-fluid.m-dikey #task1 .t1-current-pill{position:relative;display:inline-flex;align-items:center;gap:10px;max-width:100%;min-height:52px;padding:8px 22px;border-radius:var(--t1-event-radius,14px);background:color-mix(in srgb,var(--t1-accent,#32e4ee) calc(var(--t1-event-selected-alpha,1) * 100%),transparent);background-image:linear-gradient(155deg,#ffffff25,transparent);color:var(--t1-event-selected-text,#031a28);font-size:16px;font-weight:800;line-height:1.2;box-shadow:inset 0 1px 0 #ffffff40,0 0 24px color-mix(in srgb,var(--t1-glass-glow,#32adc3) calc(var(--t1-event-glow-alpha,.4)*100%),transparent),0 6px 16px #0004}
html.is-mobile.m-fluid.m-dikey #task1 .t1-current-pill:after{content:'';position:absolute;bottom:-12px;left:calc(50% - 12px);border-left:12px solid transparent;border-right:12px solid transparent;border-top:12px solid color-mix(in srgb,var(--t1-accent,#32e4ee) calc(var(--t1-event-selected-alpha,1) * 100%),transparent)}
html.is-mobile.m-fluid.m-dikey #task1 .t1-current-pill svg{width:22px;height:22px;flex:none}
html.is-mobile.m-fluid.m-dikey #task1 .t1-current-pill span{color:inherit}
/* "Olay Seç": wide, same height and line as the close button; the menu opens below both */
html.is-mobile.m-fluid.m-dikey #task1 .t1-head{height:44px!important;min-height:44px!important;margin:0 0 8px!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-close{top:0!important;right:0!important;width:44px!important;height:44px!important;margin:0!important;translate:none!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-picker{left:0!important;right:56px!important;top:0!important;height:44px!important;justify-content:space-between;padding:0 18px!important}
html.is-mobile.m-fluid.m-dikey #task1.t1-picker-open .t1-events{top:66px!important}
/* In the menu the chosen event is outlined (like hovering on desktop), not filled */
html.is-mobile.m-fluid.m-dikey #task1.t1-picker-open .t1-event[aria-selected=true]{background:var(--t1-event-bg,#0b3452)!important;background-image:linear-gradient(155deg,#ffffff12,transparent)!important;color:var(--t1-event-text,#deebed)!important;border:2px dashed var(--t1-accent,#32e4ee)!important;filter:brightness(1.12)}
html.is-mobile.m-fluid.m-dikey #task1.t1-picker-open .t1-event[aria-selected=true]:after{display:none}
html.is-mobile.m-fluid.m-dikey #task1 .t1-columns .t1-zone,html.is-mobile.m-fluid.m-dikey #task1 .t1-bank{scroll-behavior:auto}
/* Pointer glued to the pill (overlaps its edge by 2px so no gap can appear); the chosen-event pill sits a bit lower */
html.is-mobile.m-fluid.m-dikey #task1 .t1-current-pill:after{bottom:auto!important;top:calc(100% - 2px)!important;border-top-width:14px!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-current{margin-top:18px!important}

/* =====================================================================================================
   Landscape phones, Görev 1 (html.m-fluid.m-yatay — only while Görev 1 is open; the intro/selection keep
   the scaled stage). Everything on one screen, no scrolling:
   [Olay Seç ▾]  ( chosen event )  [Kontrol Et][Çözümü Gör]  ✕
   NEDEN [ ][ ]   SONUÇ [ ][ ]   ÇÖZÜM [ ][ ]
   [kart][kart][kart][kart][kart][kart]        ← the pool: 6 fixed places, no sideways scrolling
   ===================================================================================================== */

html.is-mobile.m-fluid.m-yatay #task1{display:block!important;overflow:hidden!important;padding:6px max(8px,env(safe-area-inset-right,0px)) max(6px,env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))!important}
html.is-mobile.m-fluid.m-yatay #task1[hidden]{display:none!important}
html.is-mobile.m-fluid.m-yatay #task1>.t1-shell{width:100%!important;max-width:none!important;height:100%!important;min-height:0!important;margin:0!important;translate:none!important;padding:8px 10px 10px!important;border-radius:18px;display:flex!important;flex-direction:column}
html.is-mobile.m-fluid.m-yatay #task1 .t1-head{position:relative;height:40px!important;min-height:40px!important;margin:0 0 6px!important;flex:none;pointer-events:none}
html.is-mobile.m-fluid.m-yatay #task1 .t1-close{position:absolute!important;top:0!important;right:0!important;width:40px!important;height:40px!important;margin:0!important;translate:none!important;pointer-events:auto}
/* "Olay Seç" + drop-down menu */
.t1-picker,.t1-current{display:none}
html.is-mobile.m-fluid.m-yatay #task1 .t1-picker{pointer-events:auto;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:10px;position:absolute;left:0;top:0;width:min(200px,26%);height:40px;padding:0 14px;border-radius:var(--t1-event-radius,14px);border:1px solid color-mix(in srgb,var(--t1-accent,#32e4ee) 45%,transparent);background:var(--t1-event-bg,#0b3452);color:var(--t1-event-label-color,#8ee3f2);font:700 15px/1 inherit;font-family:inherit;cursor:pointer}
html.is-mobile.m-fluid.m-yatay #task1 .t1-picker b{font-size:12px;transition:rotate .2s}
html.is-mobile.m-fluid.m-yatay #task1.t1-picker-open .t1-picker b{rotate:180deg}
html.is-mobile.m-fluid.m-yatay #task1 .t1-shell:has(.t1-guide:not([hidden])) .t1-picker{animation:t1PickerPulse 1.4s ease-in-out infinite}
html.is-mobile.m-fluid.m-yatay #task1 .t1-guide{display:none!important}
html.is-mobile.m-fluid.m-yatay #task1:not(.t1-picker-open) .t1-events{display:none!important}
html.is-mobile.m-fluid.m-yatay #task1.t1-picker-open .t1-events{position:absolute!important;left:10px!important;top:56px!important;width:min(380px,60%)!important;right:auto!important;z-index:30;display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:6px!important;padding:8px!important;margin:0!important;translate:none!important;border-radius:16px;background:color-mix(in srgb,var(--t1-panel,#031326) 96%,transparent);border:1px solid color-mix(in srgb,var(--t1-accent,#32e4ee) 35%,transparent);box-shadow:0 24px 60px #000b}
html.is-mobile.m-fluid.m-yatay #task1.t1-picker-open .t1-events>strong{display:none!important}
html.is-mobile.m-fluid.m-yatay #task1.t1-picker-open .t1-event{width:100%!important;max-width:none!important;height:auto!important;min-height:42px!important;flex:none!important;padding:6px 12px!important;justify-content:flex-start;text-align:left;font-size:14px!important;gap:10px}
html.is-mobile.m-fluid.m-yatay #task1.t1-picker-open .t1-event span{font-size:14px!important;white-space:normal}
html.is-mobile.m-fluid.m-yatay #task1.t1-picker-open .t1-event svg{width:20px!important;height:20px!important}
html.is-mobile.m-fluid.m-yatay #task1.t1-picker-open .t1-event[aria-selected=true]{background:var(--t1-event-bg,#0b3452)!important;background-image:linear-gradient(155deg,#ffffff12,transparent)!important;color:var(--t1-event-text,#deebed)!important;border:2px dashed var(--t1-accent,#32e4ee)!important}
html.is-mobile.m-fluid.m-yatay #task1.t1-picker-open .t1-event[aria-selected=true]:after{display:none}
/* Chosen event: a filled pill in the top row, between "Olay Seç" and the buttons */
html.is-mobile.m-fluid.m-yatay #task1 .t1-current{display:flex;position:absolute;top:8px;left:calc(min(200px,26%) + 22px);right:calc(40px + 2 * 128px + 30px);height:40px;align-items:center;justify-content:center;pointer-events:none;z-index:4;min-width:0}
html.is-mobile.m-fluid.m-yatay #task1 .t1-current.is-empty{color:var(--t1-text,#d9e5e7);opacity:.7;font-size:14px;font-weight:600}
html.is-mobile.m-fluid.m-yatay #task1 .t1-current-pill{display:inline-flex;align-items:center;gap:8px;max-width:100%;height:40px;padding:0 18px;border-radius:var(--t1-event-radius,14px);background:color-mix(in srgb,var(--t1-accent,#32e4ee) calc(var(--t1-event-selected-alpha,1) * 100%),transparent);background-image:linear-gradient(155deg,#ffffff25,transparent);color:var(--t1-event-selected-text,#031a28);font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;box-shadow:inset 0 1px 0 #ffffff40,0 4px 12px #0004}
html.is-mobile.m-fluid.m-yatay #task1 .t1-current-pill span{overflow:hidden;text-overflow:ellipsis;color:inherit}
html.is-mobile.m-fluid.m-yatay #task1 .t1-current-pill svg{width:20px;height:20px;flex:none}
/* Body: areas row on top, pool row at the bottom; card size follows the screen height */
html.is-mobile.m-fluid.m-yatay #task1 .t1-body{--g:8px;--pad:6px;--lab:20px;--ch:max(128px,calc((100dvh - 40px - 12px - 18px - 46px - var(--lab) - 4 * var(--pad) - 16px - 2px) / 2));flex:1;min-height:0;display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;align-content:space-between;row-gap:10px;padding:0!important;margin:0!important;translate:none!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-body>*{translate:none!important;margin-left:0!important;margin-right:0!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-columns{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;width:100%!important;margin:0!important;padding:0!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-column{width:auto!important;min-width:0}
html.is-mobile.m-fluid.m-yatay #task1 .t1-column h3{height:var(--lab);line-height:var(--lab);margin:0 0 2px!important;font-size:12px!important;text-align:center;overflow:hidden}
html.is-mobile.m-fluid.m-yatay #task1 .t1-columns .t1-zone{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:var(--ch)!important;grid-auto-rows:var(--ch)!important;gap:var(--g)!important;padding:var(--pad)!important;height:calc(var(--ch) + 2 * var(--pad) + 3px)!important;min-height:0!important;max-height:none!important;margin:0!important;overflow:hidden!important;touch-action:pan-y;border:1.5px dashed color-mix(in srgb,var(--t1-zone-dash-color,#4d7593) calc(var(--t1-zone-dash-alpha,.75)*100%),transparent)!important;border-radius:14px!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-columns .t1-zone.drop-hover{border-color:var(--t1-accent)!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-zone-frame{display:none!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-zone:empty:after{font-size:11px!important;top:calc(50% + 2px)!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-zone:empty:before{width:26px!important;height:26px!important;top:calc(50% - 22px)!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-bank,html.is-mobile.m-fluid.m-yatay #task1 .t1-bank.is-collapsed:not(.drop-hover){display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-rows:var(--ch)!important;grid-auto-rows:var(--ch)!important;gap:var(--g)!important;padding:var(--pad)!important;width:100%!important;height:calc(var(--ch) + 2 * var(--pad) + 2px)!important;min-height:0!important;max-height:none!important;margin:0!important;overflow:hidden!important;touch-action:pan-y;justify-content:stretch!important;align-content:stretch!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-bank.is-collapsed>.t1-card{display:none}
html.is-mobile.m-fluid.m-yatay #task1 .t1-bank>.t1-card,html.is-mobile.m-fluid.m-yatay #task1 .t1-columns .t1-zone .t1-card{zoom:1!important;width:auto!important;height:auto!important;justify-self:stretch!important;align-self:stretch!important;margin:0!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-card .t1-card-copy,html.is-mobile.m-fluid.m-yatay .t1-card.t1-drag .t1-card-copy{top:4%!important;bottom:5%!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-bank .t1-card-copy,html.is-mobile.m-fluid.m-yatay #task1 .t1-columns .t1-zone .t1-card-copy{font-size:clamp(10px,1.35vw,12.5px)!important;line-height:1.2!important;padding:5px 7px!important}
/* Buttons: top row, left of the close button */
html.is-mobile.m-fluid.m-yatay #task1 .t1-actions{position:absolute!important;top:8px!important;right:58px!important;width:auto!important;display:flex!important;gap:8px!important;margin:0!important;z-index:5}
html.is-mobile.m-fluid.m-yatay #task1 .t1-actions>button{width:120px!important;height:40px!important;min-height:0!important;font-size:13px!important;padding:0 10px!important;translate:none!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-columns{grid-row:2}
html.is-mobile.m-fluid.m-yatay #task1 .t1-bank{grid-row:1}
html.is-mobile.m-fluid.m-yatay #task1 .t1-actions>button{flex:none!important;min-width:0!important;max-width:120px!important}

/* Landscape Görev 1: may scroll a little (cards taller so every text fits); keep clear of the iPhone camera notch on
   both sides; hide the task-selection cards behind the panel while it is open (no zoom jump during the transition). */
html.is-mobile.m-fluid.m-yatay #task1{overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;padding-left:max(24px,env(safe-area-inset-left,0px),env(safe-area-inset-right,0px))!important;padding-right:max(24px,env(safe-area-inset-left,0px),env(safe-area-inset-right,0px))!important}
html.is-mobile.m-fluid.m-yatay #task1>.t1-shell{height:auto!important;min-height:100%!important}
/* Phones (portrait and landscape Görev 1): popups at a phone-friendly size instead of the desktop pixel settings */
html.is-mobile.m-fluid #task1-modal .t1-popup,html.is-mobile.m-fluid #task1 .t1-finish-layer .t1-popup{width:min(520px,calc(100vw - 40px))!important;max-width:none!important;min-height:0!important;padding:16px 56px 18px 20px!important;font-size:15px!important;border-radius:16px!important}
html.is-mobile.m-fluid #task1-modal .t1-popup h3,html.is-mobile.m-fluid #task1 .t1-finish-layer .t1-popup h3{font-size:17px!important;margin:0 0 8px!important}
html.is-mobile.m-fluid #task1-modal .t1-popup-text,html.is-mobile.m-fluid #task1 .t1-finish-layer .t1-popup-text{font-size:15px!important;line-height:1.5!important}
html.is-mobile.m-fluid #task1-modal .t1-popup .t1-popup-text p,html.is-mobile.m-fluid #task1 .t1-finish-layer .t1-popup-text p{margin:0 0 8px!important}
html.is-mobile.m-fluid #task1-modal .t1-popup .t1-popup-close,html.is-mobile.m-fluid #task1 .t1-finish-layer .t1-popup .t1-popup-close{top:10px!important;right:10px!important;width:36px!important;height:36px!important;font-size:18px!important}
/* Landscape: placed cards a little taller than the pool cards (the areas are a bit narrower) */
html.is-mobile.m-fluid.m-yatay #task1 .t1-body{--zch:calc(var(--ch) + 22px)}
html.is-mobile.m-fluid.m-yatay #task1 .t1-columns .t1-zone{grid-template-rows:var(--zch)!important;grid-auto-rows:var(--zch)!important;height:calc(var(--zch) + 2 * var(--pad) + 3px)!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-head{margin-bottom:20px!important}
/* Landscape top row: Olay Seç, chosen event, Kontrol Et, Çözümü Gör and ✕ on one line, same height and top */
html.is-mobile.m-fluid.m-yatay #task1 .t1-actions{padding:0!important;margin:0!important;translate:none!important;height:40px!important;align-items:stretch!important;flex-wrap:nowrap!important;top:8px!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-actions>button{height:40px!important;margin:0!important;align-self:stretch;border-radius:var(--t1-event-radius,14px)!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-picker,html.is-mobile.m-fluid.m-yatay #task1 .t1-close{top:0!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-current{top:8px!important;height:40px!important;padding:0!important;margin:0!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-current-pill{height:40px!important}

html.is-mobile.m-fluid.m-yatay #task1 .t1-body{row-gap:16px!important}

html.is-mobile.m-fluid.m-yatay #task1 .t1-columns,html.is-mobile.m-fluid.m-yatay #task1 .t1-column{touch-action:pan-y}html.is-mobile.m-fluid.m-yatay #task1 .t1-body{--ch:max(148px,calc((100dvh - 40px - 12px - 18px - 46px - var(--lab) - 4 * var(--pad) - 16px - 2px) / 2 + 18px))!important;--zch:calc(var(--ch) + 26px)!important}
html.is-mobile.m-yatay #app-viewport header .brand{flex:none!important;white-space:nowrap}
html.is-mobile.m-yatay #app-viewport header>button{flex:none}
html.is-mobile.m-yatay #app-viewport header .top-task-title{flex:0 1 auto!important;min-width:0!important;overflow:hidden}
html.is-mobile.m-yatay #app-viewport header .top-task-title .ttt-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.is-mobile #app-viewport>.t1-modal{top:var(--header-h,92px)!important;bottom:0!important}

/* Yatay: Görev 1 ve popup'ı body'de, üst barın hemen altında (ölçekli sahnenin dışında) durur. */
#task1.t1-detached{position:fixed!important;inset:var(--t1-top,0px) 0 0 0!important;z-index:25}
.t1-modal.t1-detached{position:fixed!important;inset:var(--t1-top,0px) 0 0 0!important;z-index:30}html.is-mobile.m-fluid.m-yatay #task1 .t1-zone,html.is-mobile.m-fluid.m-yatay #task1 .t1-bank,html.is-mobile.m-fluid.m-yatay #task1 .t1-column,html.is-mobile.m-fluid.m-yatay #task1 .t1-columns{overscroll-behavior:auto!important}
/* Yatay: Kontrol Et / Çözümü Gör yine en altta; üst satırda seçili olay başlığı tüm genişliği kullanır. */
html.is-mobile.m-fluid.m-yatay #task1 .t1-actions{position:static!important;order:99;align-self:center;justify-content:center;gap:14px!important;margin:16px 0 4px!important;height:44px!important;top:auto!important;right:auto!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-actions>button{width:170px!important;max-width:170px!important;height:44px!important;font-size:14px!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-current{right:58px!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-current-pill{position:relative;overflow:visible!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-current-pill span{white-space:nowrap}
html.is-mobile.m-fluid.m-yatay #task1 .t1-current-pill:after{content:'';position:absolute;top:calc(100% - 2px);left:calc(50% - 11px);border-left:11px solid transparent;border-right:11px solid transparent;border-top:12px solid color-mix(in srgb,var(--t1-accent,#32e4ee) calc(var(--t1-event-selected-alpha,1) * 100%),transparent)}
/* Yatay: kartlar ~%20 daha uzun */
html.is-mobile.m-fluid.m-yatay #task1 .t1-body{--ch:max(178px,calc(((100dvh - 40px - 12px - 18px - 46px - var(--lab) - 4 * var(--pad) - 16px - 2px) / 2 + 18px) * 1.2))!important;--zch:calc(var(--ch) + 30px)!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-body{--zch:var(--ch)!important}
/* ===== Görev başlığı panelin içinde (dikey) ===== */
html.is-mobile.m-fluid.m-dikey #task1 .t1-head{height:auto!important;min-height:0!important;margin:0 0 8px!important;display:block!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-intro{padding:0 2px!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-intro-row{gap:8px 12px;min-height:44px}
html.is-mobile.m-fluid.m-dikey #task1 .t1-num{font-size:20px;padding-right:12px}
html.is-mobile.m-fluid.m-dikey #task1 .t1-label{flex-basis:100%;font-size:17px}
html.is-mobile.m-fluid.m-dikey #task1 .t1-bar{display:none}
html.is-mobile.m-fluid.m-dikey #task1 .t1-head h2.t1-title{flex-basis:100%;font-size:18px;padding:2px 0 12px;border-bottom:2px solid var(--ttt-accent,#32e4ee)}
html.is-mobile.m-fluid.m-dikey #task1 .t1-desc{font-size:14px;margin-top:12px}
html.is-mobile.m-fluid.m-dikey #task1 .t1-desc br,html.is-mobile.m-fluid.m-yatay #task1 .t1-desc br{display:none}
html.is-mobile.m-fluid.m-dikey #task1 .t1-pickrow{display:flex;flex-direction:column;align-items:stretch;gap:18px;margin-top:16px;pointer-events:auto}
html.is-mobile.m-fluid.m-dikey #task1 .t1-picker{position:relative!important;left:auto!important;right:auto!important;top:auto!important;width:100%!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-current{display:flex!important;flex-direction:column;align-items:center;gap:18px;min-height:0!important;margin:0!important;padding:0 0 4px!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-current .t1-status{display:none;font-size:15px;font-weight:500;color:color-mix(in srgb,var(--t1-text,#d9e5e7) 80%,transparent)}
html.is-mobile.m-fluid.m-dikey #task1 .t1-current.is-empty{opacity:1!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-current.is-empty .t1-status{display:block;color:var(--t1-accent,#32e4ee);font-size:16px}
html.is-mobile.m-fluid.m-dikey #task1 .t1-bank .t1-empty:not(.is-done){display:none!important}
html.is-mobile.m-fluid.m-dikey #task1 .t1-body{grid-template-areas:"bank zones" "actions actions"!important}
/* ===== Görev başlığı panelin içinde (yatay) ===== */
html.is-mobile.m-fluid.m-yatay #task1 .t1-head{height:auto!important;min-height:0!important;margin:0 0 14px!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-intro{padding:0 2px!important}
html.is-mobile.m-fluid.m-yatay #task1 .t1-intro-row{gap:8px 14px;min-height:40px;padding-right:54px}
html.is-mobile.m-fluid.m-yatay #task1 .t1-num{font-size:18px;padding-right:14px}
html.is-mobile.m-fluid.m-yatay #task1 .t1-label{font-size:16px}
html.is-mobile.m-fluid.m-yatay #task1 .t1-bar{height:22px;margin:0}
html.is-mobile.m-fluid.m-yatay #task1 .t1-head h2.t1-title{flex-basis:100%;margin-right:-54px!important;font-size:19px;padding:2px 0 10px;border-bottom:2px solid var(--ttt-accent,#32e4ee)}
html.is-mobile.m-fluid.m-yatay #task1 .t1-desc{font-size:14px;margin-top:10px}
html.is-mobile.m-fluid.m-yatay #task1 .t1-pickrow{display:flex;align-items:center;gap:24px;margin-top:14px;pointer-events:auto}
html.is-mobile.m-fluid.m-yatay #task1 .t1-picker{position:relative!important;left:auto!important;right:auto!important;top:auto!important;width:min(240px,30%)!important;flex:none}
html.is-mobile.m-fluid.m-yatay #task1 .t1-current{position:relative!important;left:auto!important;right:auto!important;top:auto!important;flex:0 1 auto}
html.is-mobile.m-fluid.m-yatay #task1 .t1-current.is-empty{visibility:hidden}
html.is-mobile.m-fluid.m-yatay #task1 .t1-current .t1-status{display:none!important}
/* açılır olay menüsü "Olay Seç" butonunun hemen altında */
html.is-mobile.m-fluid.m-dikey #task1.t1-picker-open .t1-events,html.is-mobile.m-fluid.m-yatay #task1.t1-picker-open .t1-events{top:var(--t1-menu-top,66px)!important}
html.is-mobile.m-fluid.m-yatay #task1.t1-picker-open .t1-events{left:var(--t1-menu-left,10px)!important}

html.is-mobile.m-fluid.m-dikey #task1 .t1-bank-label{display:flex;grid-area:bank;align-self:start;justify-content:center;align-items:center;height:var(--lab,28px);margin:0;font-size:13px;font-weight:700;color:var(--t1-cause-label-color,#3693ab);pointer-events:none;z-index:2}
/* Yatay: Görev 1 açıkken sayfanın kendisi kayar (Safari adres çubuğu kaydırınca gizlensin diye) */
html.t1-docscroll,html.t1-docscroll body{height:auto!important;min-height:100%;overflow-x:hidden!important;overflow-y:visible!important;overscroll-behavior-y:auto!important}
html.t1-docscroll{overflow-y:auto!important}
html.is-mobile.m-fluid.m-yatay #task1.t1-detached{position:absolute!important;inset:auto!important;top:var(--t1-top,0px)!important;left:0!important;right:0!important;height:auto!important;min-height:calc(100lvh - var(--t1-top,0px));overflow:visible!important}

/* Dikey: 'Tüm kartlar yerleştirildi' yine havuzun ortasında, her kelime ayrı satırda, ✓ yok */
html.is-mobile.m-fluid.m-dikey #task1 .t1-bank .t1-empty.is-done{display:flex!important;flex-direction:column;gap:2px;font-size:17px;line-height:1.3;padding:0 8px}
html.is-mobile.m-fluid.m-dikey #task1 .t1-bank .t1-empty.is-done span{display:block}
html.is-mobile.m-fluid.m-dikey #task1 .t1-bank .t1-empty .t1-done-check{display:none!important}
/* Yatay: havuzdaki bilgi yazıları biraz küçük (18 → 15.5) */
html.is-mobile.m-fluid.m-yatay #task1 .t1-bank .t1-empty{font-size:15.5px!important}
/* Açıklama yazısı biraz küçük */
html.is-mobile.m-fluid.m-dikey #task1 .t1-desc,html.is-mobile.m-fluid.m-yatay #task1 .t1-desc{font-size:13px}
/* Keşfetmeye başla: dikeyde de yataydaki gibi köşeli buton */
html.is-mobile.m-fluid.m-dikey #app-viewport #enter{width:auto!important;min-width:min(284px,80vw);min-height:0!important;height:64px;padding:0 26px!important;border-radius:10px!important;justify-content:space-between;gap:44px;font-size:19px!important}
/* Yatayda buton %15 daha alçak */
html.is-mobile.m-yatay #app-viewport #enter{padding-top:14px!important;padding-bottom:14px!important}
/* Yatayda görev kartları ekranı kaymasın */
html.is-mobile.m-yatay #app-viewport #selection{overflow:hidden!important}
