:root{--ild-a4-bg:#f3f8fc;--ild-a4-card:#fff;--ild-a4-text:#15304a;--ild-a4-muted:#63778b;--ild-a4-line:#cfe0ec;--ild-a4-blue:#0788df;--ild-a4-blue2:#0068bd;--ild-a4-shadow:0 16px 40px rgba(20,62,94,.12)}
html[data-bs-theme="dark"]{--ild-a4-bg:#071226;--ild-a4-card:#0e213c;--ild-a4-text:#f5f9ff;--ild-a4-muted:#b7c8dc;--ild-a4-line:#294767;--ild-a4-shadow:0 18px 44px rgba(0,0,0,.34)}
html.ild-a4-scroll-lock{overflow:hidden!important}
body.ild-a4-gallery-page .sidebar,body.ild-a4-gallery-page .right-panel,body.ild-a4-player-page .sidebar,body.ild-a4-player-page .right-panel{display:none!important}
.ild-a4-main{min-height:70vh;background:var(--ild-a4-bg);color:var(--ild-a4-text);padding:12px 14px 30px}.ild-a4-shell{width:min(1500px,100%);margin:0 auto}.ild-a4-player-shell{width:min(1760px,100%);margin:0 auto}.ild-a4-simple-nav{margin-bottom:8px}.ild-a4-simple-nav a,.ild-a4-back-link{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border-radius:999px;background:linear-gradient(180deg,#24c4ef,#0677ca);color:#fff!important;text-decoration:none;font-weight:900;box-shadow:0 8px 18px rgba(0,105,182,.18);font-size:.92rem}
.ild-a4-gallery-header,.ild-a4-player-header{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:12px 16px;margin-bottom:12px;border:1px solid var(--ild-a4-line);border-radius:16px;background:var(--ild-a4-card);box-shadow:0 8px 22px rgba(20,62,94,.08)}.ild-a4-gallery-header h1{margin:2px 0 0;color:var(--ild-a4-text);font-size:clamp(1.35rem,2.2vw,1.95rem);line-height:1.08}.ild-a4-player-main{padding-top:6px}.ild-a4-player-header{position:relative;grid-template-columns:1fr minmax(0,auto) 1fr;gap:8px;min-height:50px;padding:5px 10px;margin-bottom:7px;border-radius:11px;box-shadow:0 4px 12px rgba(20,62,94,.07)}.ild-a4-player-header::after{content:""}.ild-a4-player-header h1{margin:0;color:var(--ild-a4-text);font-size:clamp(.98rem,1.25vw,1.22rem);line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ild-a4-kicker{font-size:.7rem;letter-spacing:.08em;font-weight:900;color:#0788df}.ild-a4-description{margin-top:5px;color:var(--ild-a4-muted);font-size:.9rem}.ild-a4-total{display:grid;place-items:center;min-width:54px;min-height:54px;border-radius:14px;background:linear-gradient(180deg,#22c8eb,#0878cc);color:#fff}.ild-a4-total strong{font-size:1.2rem;line-height:1}.ild-a4-total span{font-size:.68rem;font-weight:800}.ild-a4-title-block{min-width:0;max-width:min(900px,62vw);display:flex;align-items:center;justify-content:center;gap:7px;text-align:center}.ild-a4-title-block .ild-a4-kicker{flex:0 0 auto;padding:2px 6px;border-radius:999px;background:#e8f5fd;font-size:.64rem}.ild-a4-player-header .ild-a4-back-link{justify-self:start;white-space:nowrap;padding:6px 10px;font-size:.8rem;box-shadow:0 4px 10px rgba(0,105,182,.15)}
html[data-bs-theme="dark"] .ild-a4-title-block .ild-a4-kicker{background:#173451}
.ild-a4-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,280px));gap:20px;align-items:start}.ild-a4-material-card{min-width:0}.ild-a4-material-link{display:block;border:1px solid var(--ild-a4-line);border-radius:18px;overflow:hidden;background:var(--ild-a4-card);box-shadow:var(--ild-a4-shadow);text-decoration:none!important;color:var(--ild-a4-text)!important;transition:transform .18s ease,box-shadow .18s ease}.ild-a4-material-link:hover{transform:translateY(-3px)}.ild-a4-thumb{position:relative;aspect-ratio:210/297;background:#e6eef4;overflow:hidden}.ild-a4-thumb img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}.ild-a4-thumb-fallback{height:100%;display:grid;place-content:center;text-align:center;gap:7px;color:#48647c}.ild-a4-thumb-fallback b{font-size:2rem}.ild-a4-pdf-badge{position:absolute;right:10px;top:10px;padding:6px 9px;border-radius:10px;background:#e11d48;color:#fff;font-size:.72rem;font-weight:900}.ild-a4-card-copy{padding:13px 14px 15px;display:flex;flex-direction:column;align-items:center;text-align:center}.ild-a4-card-copy h2{margin:0;font-size:1rem;line-height:1.25;color:var(--ild-a4-text);width:100%;text-align:center;text-wrap:balance}.ild-a4-card-meta{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:9px}.ild-a4-card-meta span{padding:4px 7px;border-radius:999px;background:#eaf3f9;color:#31536f;font-size:.68rem;font-weight:800}.ild-a4-card-meta .ild-a4-meta-board{background:linear-gradient(180deg,#0ea5e9,#0369a1);color:#ffffff;border:1px solid rgba(255,255,255,.25);box-shadow:0 2px 8px rgba(3,105,161,.25)}.ild-a4-card-meta .ild-a4-meta-print{background:linear-gradient(180deg,#22c55e,#15803d);color:#ffffff;border:1px solid rgba(255,255,255,.22);box-shadow:0 2px 8px rgba(21,128,61,.22)}html[data-bs-theme="dark"] .ild-a4-card-meta span{background:#183451;color:#d8e9f7}html[data-bs-theme="dark"] .ild-a4-card-meta .ild-a4-meta-board{background:linear-gradient(180deg,#38bdf8,#0369a1);color:#ffffff;border:1px solid rgba(125,211,252,.35);box-shadow:0 2px 10px rgba(14,165,233,.28)}html[data-bs-theme="dark"] .ild-a4-card-meta .ild-a4-meta-print{background:linear-gradient(180deg,#4ade80,#166534);color:#ffffff;border:1px solid rgba(134,239,172,.35);box-shadow:0 2px 10px rgba(34,197,94,.24)}
.ild-a4-empty{display:grid;place-content:center;min-height:220px;gap:12px;text-align:center;padding:24px;border:1px solid var(--ild-a4-line);border-radius:20px;background:var(--ild-a4-card);box-shadow:var(--ild-a4-shadow)}
.ild-a4-player{overflow:hidden;border:1px solid var(--ild-a4-line);border-radius:18px;background:var(--ild-a4-card);box-shadow:var(--ild-a4-shadow)}.ild-a4-commandbar{display:flex;justify-content:center;gap:8px;padding:8px 10px;border-bottom:1px solid var(--ild-a4-line);background:var(--ild-a4-card)}.ild-a4-commandbar button,.ild-a4-boardbar button{border:0;border-radius:10px;padding:9px 13px;background:#e8f1f8;color:#173653;font-weight:900;cursor:pointer}.ild-a4-commandbar .ild-a4-primary{background:linear-gradient(180deg,#20c9ee,#0577cc);color:#fff}.ild-a4-boardbar{display:flex;align-items:center;gap:8px;padding:9px 11px;background:#0b1b2d;color:#fff;overflow-x:auto}.ild-a4-boardbar[hidden]{display:none!important}.ild-a4-boardbar button,.ild-a4-boardbar label{flex:0 0 auto}.ild-a4-boardbar button{padding:9px 12px;background:#1f3852;color:#fff}.ild-a4-boardbar button.is-active{background:#0788df}.ild-a4-boardbar button.is-confirm{background:linear-gradient(180deg,#f59e0b,#d97706);color:#fff;box-shadow:0 0 0 2px rgba(255,255,255,.12) inset}.ild-a4-boardbar label{display:flex;align-items:center;gap:6px;font-size:.8rem;font-weight:800}.ild-a4-boardbar .ild-a4-spacer{flex:1 1 auto}.ild-a4-boardbar .ild-a4-exit{background:#be123c}
.ild-a4-stage{height:min(84vh,1080px);min-height:620px;display:flex;align-items:flex-start;justify-content:flex-start;overflow:auto;padding:10px;background:#dce7ee;overscroll-behavior:contain}.ild-a4-canvas-stack{position:relative;flex:0 0 auto;line-height:0;background:#fff;box-shadow:0 14px 38px rgba(0,0,0,.22);overflow:hidden}.ild-a4-page-image{display:block;width:100%;height:100%;object-fit:fill;user-select:none;-webkit-user-drag:none}.ild-a4-drawing-canvas{position:absolute;inset:0;display:block;pointer-events:none}.ild-a4-player.is-board .ild-a4-drawing-canvas{pointer-events:auto;touch-action:none;cursor:crosshair}.ild-a4-adjacent{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px;border-top:1px solid var(--ild-a4-line)}.ild-a4-adjacent a{display:flex;flex-direction:column;padding:12px 14px;border:1px solid var(--ild-a4-line);border-radius:13px;text-decoration:none;color:var(--ild-a4-text)!important}.ild-a4-adjacent a.is-next{text-align:right}.ild-a4-adjacent small{color:var(--ild-a4-muted)}
.ild-a4-player.is-board{position:fixed;inset:0;z-index:2147483000;border-radius:0;border:0;background:#081321}.ild-a4-player.is-board .ild-a4-commandbar,.ild-a4-player.is-board .ild-a4-adjacent{display:none}.ild-a4-player.is-board .ild-a4-stage{height:calc(100dvh - 58px);min-height:0;padding:10px;background:#0c1b2b;align-items:flex-start}
.ild-a4-player:fullscreen,.ild-a4-player:-webkit-full-screen{width:100vw;height:100vh;border:0;border-radius:0;background:#081321}.ild-a4-player:fullscreen .ild-a4-stage,.ild-a4-player:-webkit-full-screen .ild-a4-stage{height:calc(100vh - 64px);min-height:0;background:#0c1b2b}.ild-a4-player:fullscreen .ild-a4-adjacent,.ild-a4-player:-webkit-full-screen .ild-a4-adjacent{display:none}
.ild-a4-pagination{margin-top:24px}.ild-a4-pagination ul{display:flex;gap:8px;justify-content:center;list-style:none;margin:0;padding:0}.ild-a4-pagination a,.ild-a4-pagination span{display:block;padding:8px 12px;border-radius:9px;background:var(--ild-a4-card);color:var(--ild-a4-text);text-decoration:none}.ild-a4-pagination .current{background:#0788df;color:#fff}
@media(max-width:780px){.ild-a4-main{padding:7px 8px 28px}.ild-a4-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.ild-a4-gallery-header{padding:10px 12px}.ild-a4-player-header{grid-template-columns:auto minmax(0,1fr);min-height:44px;padding:4px 7px;gap:7px}.ild-a4-player-header::after{display:none}.ild-a4-player-header .ild-a4-back-link{width:34px;height:34px;padding:0;justify-content:center;font-size:0}.ild-a4-player-header .ild-a4-back-link span:first-child{font-size:1.05rem}.ild-a4-title-block{max-width:none;display:flex;justify-content:center;gap:5px;text-align:center}.ild-a4-title-block .ild-a4-kicker{display:inline-block;margin:0;padding:2px 5px;font-size:.58rem}.ild-a4-player-header h1{font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ild-a4-commandbar{position:sticky;top:0;z-index:4;padding:6px;gap:6px}.ild-a4-commandbar button{flex:1 1 0;padding:9px 5px;font-size:.75rem}.ild-a4-stage{height:74vh;min-height:500px;padding:6px}.ild-a4-adjacent{grid-template-columns:1fr}.ild-a4-adjacent span:empty{display:none}}
@media(max-width:480px){.ild-a4-grid{grid-template-columns:1fr 1fr}.ild-a4-card-copy{padding:10px}.ild-a4-card-copy h2{font-size:.84rem}.ild-a4-card-meta{display:none}.ild-a4-gallery-header h1{font-size:1.2rem}.ild-a4-total{min-width:48px;min-height:48px}.ild-a4-simple-nav a{padding:7px 11px;font-size:.82rem}.ild-a4-commandbar button{font-size:.7rem}.ild-a4-stage{height:76vh;min-height:480px}}
@media print{body *{visibility:hidden!important}.ild-a4-player,.ild-a4-player *{visibility:visible!important}.ild-a4-player{position:absolute!important;inset:0!important;border:0!important;box-shadow:none!important}.ild-a4-commandbar,.ild-a4-boardbar,.ild-a4-adjacent{display:none!important}.ild-a4-stage{display:block!important;height:auto!important;min-height:0!important;padding:0!important;background:#fff!important;overflow:visible!important}.ild-a4-canvas-stack{width:210mm!important;height:297mm!important;box-shadow:none!important;margin:0!important}.ild-a4-page-image{width:100%!important;height:100%!important}}

/* v1.5.0 — Tek, ince üst araç şeridi; etkinlik alanına azami yükseklik. */
body.ild-a4-player-page .ild-a4-main{padding:0!important;min-height:0!important}
body.ild-a4-player-page .ild-a4-player-shell{width:100%!important;max-width:none!important;margin:0!important}
body.ild-a4-player-page .ild-a4-player{border:0!important;border-radius:0!important;box-shadow:none!important}
body.ild-a4-player-page .ild-a4-player-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;width:100%;height:44px;min-height:44px;padding:3px 10px;margin:0;border:0;border-bottom:1px solid var(--ild-a4-line);border-radius:0;background:var(--ild-a4-card);box-shadow:none}
body.ild-a4-player-page .ild-a4-player-header-standalone{grid-template-columns:auto minmax(0,1fr)}
body.ild-a4-player-page .ild-a4-player-header::after{display:none!important}
body.ild-a4-player-page .ild-a4-player-header .ild-a4-back-link{justify-self:start;min-height:32px;padding:4px 10px;font-size:.76rem;line-height:1;box-shadow:none}
body.ild-a4-player-page .ild-a4-title-block{min-width:0;max-width:none;width:100%;display:flex;align-items:center;justify-content:center;gap:6px;overflow:hidden;text-align:center}
body.ild-a4-player-page .ild-a4-title-block .ild-a4-kicker{flex:0 0 auto;margin:0;padding:2px 6px;font-size:.6rem;line-height:1.2}
body.ild-a4-player-page .ild-a4-player-header h1{min-width:0;margin:0;font-size:clamp(.88rem,1.1vw,1.08rem);line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.ild-a4-player-page .ild-a4-commandbar{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:0;padding:0;border:0;background:transparent}
body.ild-a4-player-page .ild-a4-commandbar button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;margin:0;padding:5px 9px;border:0;border-radius:8px;background:#e8f1f8;color:#173653;font-size:.74rem;line-height:1;font-weight:900;white-space:nowrap;cursor:pointer}
body.ild-a4-player-page .ild-a4-commandbar .ild-a4-primary{background:linear-gradient(180deg,#20c9ee,#0577cc);color:#fff}
body.ild-a4-player-page .ild-a4-stage{height:calc(100dvh - 114px);min-height:420px;padding:0;border:0;background:#dce7ee}
body.admin-bar.ild-a4-player-page .ild-a4-stage{height:calc(100dvh - 146px)}
body.ild-a4-player-page .ild-a4-canvas-stack{margin-top:0!important;margin-bottom:0!important}
body.ild-a4-player-page .ild-a4-adjacent{margin:0}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-player-header{display:none!important}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-stage{height:calc(100dvh - 58px);padding:0}
body.ild-a4-player-page .ild-a4-player:fullscreen .ild-a4-stage,
body.ild-a4-player-page .ild-a4-player:-webkit-full-screen .ild-a4-stage{height:calc(100vh - 44px);padding:0}
body.ild-a4-player-page .ild-a4-player.is-board:fullscreen .ild-a4-stage,
body.ild-a4-player-page .ild-a4-player.is-board:-webkit-full-screen .ild-a4-stage{height:calc(100vh - 58px)}

@media(max-width:1050px){
  body.ild-a4-player-page .ild-a4-action-label{display:none}
  body.ild-a4-player-page .ild-a4-commandbar button{width:32px;min-width:32px;padding:5px;font-size:.82rem}
  body.ild-a4-player-page .ild-a4-title-block .ild-a4-kicker{display:none}
}
@media(max-width:780px){
  body.ild-a4-player-page .ild-a4-player-header{grid-template-columns:34px minmax(0,1fr) auto;height:42px;min-height:42px;padding:3px 5px;gap:4px}
  body.ild-a4-player-page .ild-a4-player-header .ild-a4-back-link{width:32px;height:32px;min-height:32px;padding:0;justify-content:center;font-size:0}
  body.ild-a4-player-page .ild-a4-player-header .ild-a4-back-link span:first-child{font-size:1rem}
  body.ild-a4-player-page .ild-a4-player-header h1{font-size:.82rem}
  body.ild-a4-player-page .ild-a4-commandbar{gap:3px}
  body.ild-a4-player-page .ild-a4-commandbar button{width:31px;min-width:31px;min-height:31px;border-radius:7px}
  body.ild-a4-player-page .ild-a4-stage{height:calc(100dvh - 106px);min-height:360px}
  body.admin-bar.ild-a4-player-page .ild-a4-stage{height:calc(100dvh - 152px)}
  body.ild-a4-player-page .ild-a4-player:fullscreen .ild-a4-stage,
  body.ild-a4-player-page .ild-a4-player:-webkit-full-screen .ild-a4-stage{height:calc(100vh - 42px)}
}
@media(max-width:430px){
  body.ild-a4-player-page .ild-a4-player-header h1{font-size:.75rem}
  body.ild-a4-player-page .ild-a4-commandbar button{width:29px;min-width:29px;min-height:29px}
}
@media print{
  .ild-a4-player-header,.ild-a4-commandbar{display:none!important}
}
/* v1.5.0 mobile eski komut çubuğu kurallarını kesin sıfırla. */
body.ild-a4-player-page .ild-a4-commandbar{position:static!important;top:auto!important;z-index:auto!important}
body.ild-a4-player-page .ild-a4-commandbar button{flex:0 0 auto!important}

/* v1.6.0 — Tahta görünümünde tam A4 sığdırma ve doğal gezinme. */
body.ild-a4-player-page .ild-a4-stage{
  position:relative;
  overflow:auto!important;
  overscroll-behavior:contain;
  scroll-behavior:auto;
  -webkit-overflow-scrolling:touch;
  outline:none;
  touch-action:pan-x pan-y;
}
body.ild-a4-player-page .ild-a4-stage:focus-visible{
  box-shadow:inset 0 0 0 2px rgba(7,136,223,.55);
}
body.ild-a4-player-page .ild-a4-player.is-board{
  display:flex!important;
  flex-direction:column!important;
  width:100vw!important;
  height:100dvh!important;
}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-boardbar{
  flex:0 0 auto;
  width:100%;
}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-stage{
  flex:1 1 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-canvas-stack{
  flex:0 0 auto!important;
  max-width:none!important;
  max-height:none!important;
}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-drawing-canvas{
  pointer-events:auto;
  touch-action:pan-x pan-y!important;
}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-page-image{
  pointer-events:none;
}
body.ild-a4-player-page .ild-a4-player.is-board:fullscreen,
body.ild-a4-player-page .ild-a4-player.is-board:-webkit-full-screen{
  display:flex!important;
  flex-direction:column!important;
  width:100vw!important;
  height:100vh!important;
}
body.ild-a4-player-page .ild-a4-player.is-board:fullscreen .ild-a4-stage,
body.ild-a4-player-page .ild-a4-player.is-board:-webkit-full-screen .ild-a4-stage{
  flex:1 1 auto!important;
  height:auto!important;
  min-height:0!important;
}

/* v1.7.0 — Tek amaçlı Tahtada Çöz: ayrı Tam Ekran komutu kaldırıldı.
   Tahta modu açılışta A4 sayfayı ekran genişliğine yayar ve en üstten başlatır. */
body.ild-a4-player-page .ild-a4-commandbar{gap:8px}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-stage{scrollbar-gutter:auto}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-canvas-stack{margin-left:0!important;margin-right:0!important;margin-top:0!important;margin-bottom:0!important}


/* v1.8.0 — Tahtada Çöz açılışında kaydırılabilirliği anlatan geçici parmak hareketi. */
.ild-a4-scroll-hint[hidden]{display:none!important}
.ild-a4-scroll-hint{
  position:absolute;
  left:50%;
  bottom:clamp(54px,8vh,96px);
  z-index:2147483200;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  min-width:210px;
  max-width:calc(100vw - 30px);
  padding:10px 18px 11px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:18px;
  background:rgba(5,22,39,.88);
  box-shadow:0 14px 36px rgba(0,0,0,.3);
  color:#fff;
  opacity:0;
  transform:translate(-50%,14px) scale(.96);
  pointer-events:none;
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  transition:opacity .22s ease,transform .22s ease;
}
.ild-a4-scroll-hint.is-visible{
  opacity:1;
  transform:translate(-50%,0) scale(1);
}
.ild-a4-scroll-hint-gesture{
  position:relative;
  display:grid;
  place-items:center;
  width:54px;
  height:48px;
}
.ild-a4-scroll-hint-hand{
  position:absolute;
  left:50%;
  bottom:0;
  font-size:31px;
  line-height:1;
  filter:drop-shadow(0 3px 5px rgba(0,0,0,.35));
  transform:translate(-50%,9px);
  animation:ild-a4-swipe-hand 1.25s cubic-bezier(.4,0,.2,1) 2 both;
}
.ild-a4-scroll-hint-arrow{
  position:absolute;
  left:50%;
  top:-5px;
  font-size:25px;
  line-height:1;
  font-weight:1000;
  color:#40d9ff;
  text-shadow:0 2px 8px rgba(0,182,255,.55);
  transform:translateX(-50%);
  animation:ild-a4-swipe-arrow 1.25s ease-in-out 2 both;
}
.ild-a4-scroll-hint-text{
  font-size:clamp(.78rem,1.7vw,.95rem);
  line-height:1.15;
  font-weight:900;
  letter-spacing:.01em;
  white-space:nowrap;
}
@keyframes ild-a4-swipe-hand{
  0%{opacity:0;transform:translate(-50%,13px)}
  18%{opacity:1}
  68%{opacity:1;transform:translate(-50%,-13px)}
  100%{opacity:0;transform:translate(-50%,-22px)}
}
@keyframes ild-a4-swipe-arrow{
  0%,12%{opacity:0;transform:translate(-50%,8px)}
  32%{opacity:1}
  78%{opacity:1;transform:translate(-50%,-7px)}
  100%{opacity:0;transform:translate(-50%,-12px)}
}
@media(max-width:600px){
  .ild-a4-scroll-hint{bottom:62px;min-width:190px;padding:9px 14px 10px;border-radius:16px}
  .ild-a4-scroll-hint-gesture{width:48px;height:43px}
  .ild-a4-scroll-hint-hand{font-size:28px}
  .ild-a4-scroll-hint-arrow{font-size:23px}
}
@media(prefers-reduced-motion:reduce){
  .ild-a4-scroll-hint-hand,.ild-a4-scroll-hint-arrow{animation:none!important}
  .ild-a4-scroll-hint{transition:none!important}
}


/* v1.9.0 — Tahtada Çöz alanında araçla uyumlu özel imleçler. */

.ild-a4-eraser-preview{position:absolute;left:0;top:0;pointer-events:none;z-index:5;border-radius:999px;border:2px solid rgba(255,255,255,.98);outline:2px solid rgba(11,27,45,.55);background:rgba(244,114,182,.22);box-shadow:0 3px 10px rgba(0,0,0,.18);opacity:0;transform:translate(-9999px,-9999px);transition:opacity .12s ease,transform .03s linear}.ild-a4-eraser-preview:after{content:'';position:absolute;left:50%;top:50%;width:6px;height:6px;margin-left:-3px;margin-top:-3px;border-radius:999px;background:rgba(11,27,45,.7)}.ild-a4-eraser-preview.is-visible{opacity:1}

body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-drawing-canvas.is-pen-tool{
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M5 27l2.2-7.2L21.7 5.3a3.2 3.2 0 0 1 4.5 0l.5.5a3.2 3.2 0 0 1 0 4.5L12.2 24.8 5 27z' fill='%23ffd54a' stroke='%230b1b2d' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M7.2 19.8l5 5M20.3 6.7l5 5' fill='none' stroke='%230b1b2d' stroke-width='1.5'/%3E%3Cpath d='M5 27l2.2-7.2 5 5L5 27z' fill='%23f3c79e' stroke='%230b1b2d' stroke-width='1.3' stroke-linejoin='round'/%3E%3Cpath d='M5 27l2.4-.7-1.7-1.7L5 27z' fill='%230b1b2d'/%3E%3Cpath d='M21.7 5.3a3.2 3.2 0 0 1 4.5 0l.5.5a3.2 3.2 0 0 1 0 4.5l-1.5 1.5-5-5 1.5-1.5z' fill='%23f06292' stroke='%230b1b2d' stroke-width='1.3'/%3E%3C/svg%3E") 5 27,crosshair!important;
}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-drawing-canvas.is-eraser-tool{
  cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38' viewBox='0 0 38 38'%3E%3Cg transform='rotate(-34 19 19)'%3E%3Crect x='7' y='11' width='24' height='15' rx='4' fill='%23f472b6' stroke='%230b1b2d' stroke-width='1.8'/%3E%3Crect x='20' y='11' width='11' height='15' rx='4' fill='%2393c5fd' stroke='%230b1b2d' stroke-width='1.6'/%3E%3Cpath d='M20 11v15' stroke='%23ffffff' stroke-width='1.4' opacity='.9'/%3E%3C/g%3E%3Ccircle cx='11' cy='30' r='3.6' fill='rgba(244,114,182,.28)' stroke='%230b1b2d' stroke-width='1.4'/%3E%3C/svg%3E") 10 28,cell!important;
}


/* v1.10.0 — Karanlık temada A4 sayfası dışındaki Player alanı tam siyah.
   Etkinliğin kendi beyaz A4 yüzeyi ve araç çubukları korunur. */
html[data-bs-theme="dark"] body.ild-a4-player-page,
html[data-bs-theme="dark"] body.ild-a4-player-page .ild-a4-main,
html[data-bs-theme="dark"] body.ild-a4-player-page .ild-a4-player-shell,
html[data-bs-theme="dark"] body.ild-a4-player-page .ild-a4-player,
html[data-bs-theme="dark"] body.ild-a4-player-page .ild-a4-stage{
  background:#000!important;
}
html[data-bs-theme="dark"] body.ild-a4-player-page .ild-a4-player{
  border-color:#000!important;
  box-shadow:none!important;
}
html[data-bs-theme="dark"] body.ild-a4-player-page .ild-a4-player.is-board,
html[data-bs-theme="dark"] body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-stage,
html[data-bs-theme="dark"] body.ild-a4-player-page .ild-a4-player:fullscreen,
html[data-bs-theme="dark"] body.ild-a4-player-page .ild-a4-player:fullscreen .ild-a4-stage,
html[data-bs-theme="dark"] body.ild-a4-player-page .ild-a4-player:-webkit-full-screen,
html[data-bs-theme="dark"] body.ild-a4-player-page .ild-a4-player:-webkit-full-screen .ild-a4-stage{
  background:#000!important;
}
html[data-bs-theme="dark"] body.ild-a4-player-page .ild-a4-canvas-stack{
  background:#fff!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.18),0 14px 42px rgba(0,0,0,.72)!important;
}

/* v1.11.0 — Üst komutlar tam merkezde; kod ve başlık tuval altındaki ince dinamik şeritte. */
body.ild-a4-player-page .ild-a4-player-header{
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  height:40px!important;
  min-height:40px!important;
  padding:2px 8px!important;
  gap:6px!important;
}
body.ild-a4-player-page .ild-a4-player-header .ild-a4-back-link{
  grid-column:1;
  justify-self:start;
  min-height:30px!important;
  padding:4px 9px!important;
  font-size:.74rem!important;
}
body.ild-a4-player-page .ild-a4-commandbar{
  grid-column:2;
  justify-self:center!important;
  justify-content:center!important;
  gap:6px!important;
}
body.ild-a4-player-page .ild-a4-commandbar button{
  min-height:30px!important;
  padding:5px 10px!important;
  font-size:.72rem!important;
}
body.ild-a4-player-page .ild-a4-header-balance{
  grid-column:3;
  display:block;
  min-width:1px;
  min-height:1px;
}
body.ild-a4-player-page .ild-a4-title-block{display:none!important}
body.ild-a4-player-page .ild-a4-stage-shell{
  position:relative;
  width:100%;
  min-width:0;
  min-height:0;
  background:inherit;
}
body.ild-a4-player-page .ild-a4-bottom-title-strip{
  position:absolute;
  left:50%;
  bottom:4px;
  z-index:8;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  width:max-content;
  max-width:calc(100% - 18px);
  min-height:18px;
  padding:2px 8px;
  border:1px solid rgba(70,110,140,.26);
  border-radius:999px;
  background:rgba(255,255,255,.9);
  box-shadow:0 3px 10px rgba(0,0,0,.12);
  color:#173653;
  line-height:1;
  white-space:nowrap;
  overflow:hidden;
  transform:translateX(-50%);
  pointer-events:none;
  -webkit-backdrop-filter:blur(7px);
  backdrop-filter:blur(7px);
}
body.ild-a4-player-page .ild-a4-bottom-code{
  flex:0 0 auto;
  padding:1px 5px;
  border-radius:999px;
  background:#e8f5fd;
  color:#0878cc;
  font-size:.54rem;
  line-height:1.15;
  font-weight:900;
  letter-spacing:.04em;
}
body.ild-a4-player-page .ild-a4-bottom-title{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:.61rem;
  line-height:1.15;
  font-weight:800;
}
html[data-bs-theme="dark"] body.ild-a4-player-page .ild-a4-bottom-title-strip{
  border-color:rgba(255,255,255,.18);
  background:rgba(5,18,34,.88);
  box-shadow:0 3px 12px rgba(0,0,0,.48);
  color:#f5f9ff;
}
html[data-bs-theme="dark"] body.ild-a4-player-page .ild-a4-bottom-code{
  background:#173451;
  color:#40c9ff;
}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-stage-shell,
body.ild-a4-player-page .ild-a4-player:fullscreen .ild-a4-stage-shell,
body.ild-a4-player-page .ild-a4-player:-webkit-full-screen .ild-a4-stage-shell{
  display:flex;
  flex:1 1 auto;
  width:100%;
  min-height:0;
}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-stage-shell .ild-a4-stage,
body.ild-a4-player-page .ild-a4-player:fullscreen .ild-a4-stage-shell .ild-a4-stage,
body.ild-a4-player-page .ild-a4-player:-webkit-full-screen .ild-a4-stage-shell .ild-a4-stage{
  flex:1 1 auto!important;
  width:100%!important;
  min-height:0!important;
}
@media(max-width:1050px){
  body.ild-a4-player-page .ild-a4-action-label{display:inline!important}
  body.ild-a4-player-page .ild-a4-commandbar button{width:auto!important;min-width:0!important;padding:5px 9px!important;font-size:.7rem!important}
}
@media(max-width:780px){
  body.ild-a4-player-page .ild-a4-player-header{
    grid-template-columns:minmax(34px,1fr) auto minmax(34px,1fr)!important;
    height:38px!important;
    min-height:38px!important;
    padding:2px 5px!important;
  }
  body.ild-a4-player-page .ild-a4-player-header .ild-a4-back-link{
    width:30px!important;
    height:30px!important;
    min-height:30px!important;
    padding:0!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar{gap:4px!important}
  body.ild-a4-player-page .ild-a4-commandbar button{
    min-height:29px!important;
    padding:4px 7px!important;
    font-size:.65rem!important;
  }
  body.ild-a4-player-page .ild-a4-bottom-title-strip{
    bottom:3px;
    max-width:calc(100% - 12px);
    min-height:17px;
    padding:2px 6px;
    gap:4px;
  }
  body.ild-a4-player-page .ild-a4-bottom-code{font-size:.5rem;padding:1px 4px}
  body.ild-a4-player-page .ild-a4-bottom-title{font-size:.56rem}
}
@media(max-width:520px){
  body.ild-a4-player-page .ild-a4-action-label{display:none!important}
  body.ild-a4-player-page .ild-a4-commandbar button{width:29px!important;min-width:29px!important;padding:4px!important;font-size:.78rem!important}
}
@media print{
  .ild-a4-bottom-title-strip{display:none!important}
}
body.ild-a4-player-page .ild-a4-player-header-standalone{
  grid-template-columns:auto minmax(0,1fr)!important;
}
body.ild-a4-player-page .ild-a4-player-header-standalone .ild-a4-title-block{
  display:flex!important;
}

/* v1.12.0 — Tahtada Çöz modunda alt bilgi şeridi etkinlik alanını kapatmasın. */
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-bottom-title-strip,
body.ild-a4-player-page .ild-a4-player:fullscreen .ild-a4-bottom-title-strip,
body.ild-a4-player-page .ild-a4-player:-webkit-full-screen .ild-a4-bottom-title-strip{
  display:none!important;
}

/* v1.13.0 — Galeri üst alanı tek, ince ve minimal araç şeridi. */
body.ild-a4-gallery-page .ild-a4-main{
  padding:4px 8px 24px!important;
  min-height:0!important;
}
body.ild-a4-gallery-page .ild-a4-shell{
  width:100%!important;
  max-width:none!important;
}
.ild-a4-gallery-toolbar{
  position:relative;
  display:grid;
  grid-template-columns:1fr minmax(0,auto) 1fr;
  align-items:center;
  gap:7px;
  width:100%;
  height:44px;
  min-height:44px;
  margin:0 0 6px;
  padding:3px 7px;
  border:1px solid var(--ild-a4-line);
  border-radius:10px;
  background:var(--ild-a4-card);
  box-shadow:0 3px 10px rgba(20,62,94,.06);
  color:var(--ild-a4-text);
  overflow:hidden;
}
.ild-a4-gallery-back{
  justify-self:start;
  display:inline-flex;
  align-items:center;
  gap:6px;
  max-width:min(38vw,340px);
  height:32px;
  padding:0 10px;
  border-radius:999px;
  background:linear-gradient(180deg,#24c4ef,#0677ca);
  color:#fff!important;
  text-decoration:none!important;
  font-size:.78rem;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  box-shadow:0 4px 10px rgba(0,105,182,.14);
}
.ild-a4-gallery-back span:last-child{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ild-a4-gallery-title{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  white-space:nowrap;
  text-align:center;
}
.ild-a4-gallery-title .ild-a4-kicker{
  flex:0 0 auto;
  padding:2px 5px;
  border-radius:999px;
  background:#e8f5fd;
  color:#0788df;
  font-size:.55rem;
  line-height:1;
  letter-spacing:.055em;
}
html[data-bs-theme="dark"] .ild-a4-gallery-title .ild-a4-kicker{
  background:#173451;
}
.ild-a4-gallery-title h1{
  min-width:0;
  margin:0!important;
  color:var(--ild-a4-text);
  font-size:clamp(.9rem,1.15vw,1.08rem)!important;
  line-height:1!important;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ild-a4-gallery-count{
  justify-self:end;
  display:inline-flex;
  align-items:center;
  gap:4px;
  height:30px;
  min-width:0;
  padding:0 8px;
  border-radius:9px;
  background:linear-gradient(180deg,#22c8eb,#0878cc);
  color:#fff;
  white-space:nowrap;
}
.ild-a4-gallery-count strong{
  font-size:.82rem;
  line-height:1;
}
.ild-a4-gallery-count span{
  font-size:.56rem;
  line-height:1;
  font-weight:900;
}
body.ild-a4-gallery-page .ild-a4-grid{
  margin-top:0!important;
}
@media(max-width:780px){
  .ild-a4-gallery-toolbar{
    grid-template-columns:34px minmax(0,1fr) auto;
    height:40px;
    min-height:40px;
    padding:3px 5px;
    gap:4px;
  }
  .ild-a4-gallery-back{
    width:32px;
    height:32px;
    padding:0;
    justify-content:center;
    font-size:0;
  }
  .ild-a4-gallery-back span:first-child{font-size:1rem}
  .ild-a4-gallery-title{gap:4px}
  .ild-a4-gallery-title .ild-a4-kicker{font-size:.49rem;padding:2px 4px}
  .ild-a4-gallery-title h1{font-size:.82rem!important}
  .ild-a4-gallery-count{height:28px;padding:0 6px;border-radius:8px}
  .ild-a4-gallery-count strong{font-size:.74rem}
  .ild-a4-gallery-count span{display:none}
}
@media(max-width:430px){
  body.ild-a4-gallery-page .ild-a4-main{padding:3px 5px 20px!important}
  .ild-a4-gallery-title .ild-a4-kicker{display:none}
  .ild-a4-gallery-title h1{font-size:.78rem!important}
}



/* v1.16.0 — Tahtada Çöz düğmesine periyodik yansıma ve aydınlık mod alt şerit güçlendirmesi. */
body.ild-a4-player-page .ild-a4-commandbar .ild-a4-primary{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
body.ild-a4-player-page .ild-a4-commandbar .ild-a4-primary::after{
  content:"";
  position:absolute;
  top:-35%;
  left:-34%;
  width:24%;
  height:170%;
  background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.05) 18%,rgba(255,255,255,.78) 50%,rgba(255,255,255,.08) 82%,rgba(255,255,255,0) 100%);
  transform:skewX(-24deg) translateX(-220%);
  pointer-events:none;
  mix-blend-mode:screen;
  animation:ild-a4-cta-shine 6.2s ease-in-out infinite;
}
@keyframes ild-a4-cta-shine{
  0%,72%,100%{transform:skewX(-24deg) translateX(-220%);opacity:0}
  76%{opacity:.15}
  82%{transform:skewX(-24deg) translateX(165%);opacity:.92}
  86%{opacity:0}
}
body.ild-a4-player-page .ild-a4-bottom-title-strip{
  border-color:rgba(0,0,0,.7);
  background:rgba(7,16,28,.96);
  box-shadow:0 4px 12px rgba(0,0,0,.28);
  color:#ffffff;
}
body.ild-a4-player-page .ild-a4-bottom-code{
  background:#163d66;
  color:#57d0ff;
}
@media(prefers-reduced-motion:reduce){
  body.ild-a4-player-page .ild-a4-commandbar .ild-a4-primary::after{animation:none!important;opacity:0!important}
}


/* v1.17.0 — Daha doğal bıçak yansıması ve alt başlık şeridini dibe sabitleme. */
body.ild-a4-player-page .ild-a4-commandbar .ild-a4-primary::after{
  top:-45%;
  left:-42%;
  width:16%;
  height:190%;
  background:linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.03) 28%,rgba(255,255,255,.55) 50%,rgba(255,255,255,.03) 72%,rgba(255,255,255,0) 100%);
  transform:skewX(-22deg) translateX(-260%);
  filter:blur(.2px);
  animation:ild-a4-cta-shine-soft 8.4s cubic-bezier(.23,.01,.2,1) infinite;
}
@keyframes ild-a4-cta-shine-soft{
  0%,74%,100%{transform:skewX(-22deg) translateX(-260%);opacity:0}
  78%{opacity:.12}
  84%{transform:skewX(-22deg) translateX(285%);opacity:.72}
  88%{opacity:0}
}
body.ild-a4-player-page .ild-a4-bottom-title-strip{
  bottom:0!important;
  min-height:22px;
  padding:3px 10px 4px;
  gap:6px;
  border-width:1px 1px 0 1px;
  border-radius:14px 14px 0 0;
  box-shadow:0 -1px 0 rgba(255,255,255,.03),0 2px 12px rgba(0,0,0,.28);
}
body.ild-a4-player-page .ild-a4-bottom-code{
  padding:2px 6px;
  font-size:.58rem;
}
body.ild-a4-player-page .ild-a4-bottom-title{
  font-size:.72rem;
  line-height:1.12;
}
@media(max-width:780px){
  body.ild-a4-player-page .ild-a4-bottom-title-strip{
    bottom:0!important;
    min-height:20px;
    padding:3px 8px 3px;
    gap:5px;
  }
  body.ild-a4-player-page .ild-a4-bottom-code{font-size:.54rem;padding:2px 5px}
  body.ild-a4-player-page .ild-a4-bottom-title{font-size:.66rem}
}


/* v1.18.1 — Tahtada Çöz düğmesindeki bıçak yansıması daha sakin, temiz ve sorunsuz hale getirildi. */
body.ild-a4-player-page .ild-a4-commandbar .ild-a4-primary{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
body.ild-a4-player-page .ild-a4-commandbar .ild-a4-primary::after{
  content:"";
  display:block;
  position:absolute;
  top:-40%;
  left:-44%;
  width:18%;
  height:180%;
  background:linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 28%,
    rgba(255,255,255,.12) 42%,
    rgba(255,255,255,.42) 50%,
    rgba(255,255,255,.12) 58%,
    rgba(255,255,255,0) 72%,
    rgba(255,255,255,0) 100%);
  transform:translate3d(-270%,0,0) skewX(-20deg);
  opacity:0;
  pointer-events:none;
  mix-blend-mode:screen;
  will-change:transform, opacity;
  animation:ild-a4-cta-shine-clean 9.6s cubic-bezier(.24,.04,.18,1) infinite;
}
@keyframes ild-a4-cta-shine-clean{
  0%,78%,100%{
    transform:translate3d(-270%,0,0) skewX(-20deg);
    opacity:0;
  }
  81%{opacity:.10}
  85%{
    transform:translate3d(310%,0,0) skewX(-20deg);
    opacity:.52;
  }
  88%{opacity:0}
}
@media(prefers-reduced-motion:reduce){
  body.ild-a4-player-page .ild-a4-commandbar .ild-a4-primary::after{
    animation:none!important;
    opacity:0!important;
  }
}


/* v1.18.2 — Yazdır düğmesi yeşil ve her iki temada daha okunaklı hale getirildi. */
.ild-a4-commandbar button[data-action="print"],
body.ild-a4-player-page .ild-a4-commandbar button[data-action="print"]{
  background:linear-gradient(180deg,#22c55e 0%,#15803d 100%)!important;
  color:#ffffff!important;
  border:1px solid rgba(255,255,255,.24)!important;
  box-shadow:0 2px 8px rgba(21,128,61,.22)!important;
}
.ild-a4-commandbar button[data-action="print"]:hover,
.ild-a4-commandbar button[data-action="print"]:focus-visible,
body.ild-a4-player-page .ild-a4-commandbar button[data-action="print"]:hover,
body.ild-a4-player-page .ild-a4-commandbar button[data-action="print"]:focus-visible{
  background:linear-gradient(180deg,#2fd46b 0%,#166534 100%)!important;
  color:#ffffff!important;
  box-shadow:0 4px 12px rgba(21,128,61,.28)!important;
}
html[data-bs-theme="dark"] .ild-a4-commandbar button[data-action="print"],
html[data-bs-theme="dark"] body.ild-a4-player-page .ild-a4-commandbar button[data-action="print"]{
  background:linear-gradient(180deg,#4ade80 0%,#166534 100%)!important;
  color:#ffffff!important;
  border:1px solid rgba(134,239,172,.32)!important;
  box-shadow:0 2px 10px rgba(21,128,61,.28)!important;
}
html[data-bs-theme="dark"] .ild-a4-commandbar button[data-action="print"]:hover,
html[data-bs-theme="dark"] .ild-a4-commandbar button[data-action="print"]:focus-visible,
html[data-bs-theme="dark"] body.ild-a4-player-page .ild-a4-commandbar button[data-action="print"]:hover,
html[data-bs-theme="dark"] body.ild-a4-player-page .ild-a4-commandbar button[data-action="print"]:focus-visible{
  background:linear-gradient(180deg,#6ee7a1 0%,#15803d 100%)!important;
  color:#ffffff!important;
}


/* v1.18.6 — İmleç aracı, iki parmakla kaydır öğreticisi ve dokunmatik kaydırma geliştirmeleri */
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-boardbar{
  gap:9px!important;
}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-boardbar button[data-tool="cursor"]{
  min-width:68px;
}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-drawing-canvas,
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-stage{
  touch-action:none!important;
}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-drawing-canvas.is-cursor-tool{
  cursor:grab!important;
}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-drawing-canvas.is-cursor-tool:active{
  cursor:grabbing!important;
}

body.ild-a4-player-page .ild-a4-scroll-hint{
  left:50%!important;
  right:auto!important;
  bottom:34px!important;
  z-index:20!important;
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
  min-width:min(92vw,540px)!important;
  max-width:min(92vw,540px)!important;
  padding:18px 24px!important;
  border-radius:26px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  background:linear-gradient(180deg,rgba(7,19,34,.94),rgba(7,19,34,.9))!important;
  box-shadow:0 18px 42px rgba(0,0,0,.34)!important;
  color:#fff!important;
  transform:translate(-50%,16px) scale(.94)!important;
  opacity:0!important;
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
}
body.ild-a4-player-page .ild-a4-scroll-hint.is-visible{
  opacity:1!important;
  transform:translate(-50%,0) scale(1)!important;
}
body.ild-a4-player-page .ild-a4-scroll-hint-copy{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
body.ild-a4-player-page .ild-a4-scroll-hint-title{
  display:block;
  margin:0;
  color:#fff;
  font-size:clamp(1.32rem,2.2vw,1.72rem);
  line-height:1.05;
  font-weight:900;
  letter-spacing:-.02em;
}
body.ild-a4-player-page .ild-a4-scroll-hint-text{
  margin:0!important;
  color:rgba(236,244,255,.88)!important;
  font-size:clamp(.86rem,1.2vw,1rem)!important;
  line-height:1.32!important;
  font-weight:700!important;
}
body.ild-a4-player-page .ild-a4-scroll-hint-gesture{
  position:relative!important;
  flex:0 0 auto!important;
  width:106px!important;
  height:96px!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.06))!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)!important;
}
body.ild-a4-player-page .ild-a4-scroll-hint-finger{
  position:absolute;
  top:18px;
  width:24px;
  height:44px;
  border-radius:16px 16px 14px 14px;
  background:linear-gradient(180deg,#ffe1c4,#f4c89d);
  box-shadow:0 2px 0 rgba(255,255,255,.25) inset,0 6px 10px rgba(0,0,0,.18);
}
body.ild-a4-player-page .ild-a4-scroll-hint-finger:before{
  content:'';
  position:absolute;
  left:3px;
  right:3px;
  top:4px;
  height:11px;
  border-radius:9px;
  background:rgba(255,255,255,.42);
}
body.ild-a4-player-page .ild-a4-scroll-hint-finger.is-left{left:28px;animation:ildFingerSlide 1.3s ease-in-out infinite;}
body.ild-a4-player-page .ild-a4-scroll-hint-finger.is-right{right:28px;animation:ildFingerSlide 1.3s ease-in-out .12s infinite;}
body.ild-a4-player-page .ild-a4-scroll-hint-arrow{
  position:absolute!important;
  left:50%!important;
  transform:translateX(-50%);
  color:#4fd4ff!important;
  text-shadow:0 0 14px rgba(79,212,255,.4);
  font-size:24px!important;
  font-weight:900!important;
  line-height:1!important;
  animation:ildHintPulse 1.3s ease-in-out infinite;
}
body.ild-a4-player-page .ild-a4-scroll-hint-arrow.is-up{top:10px!important;}
body.ild-a4-player-page .ild-a4-scroll-hint-arrow.is-down{bottom:10px!important;}
@keyframes ildFingerSlide{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(12px)}
}
@keyframes ildHintPulse{
  0%,100%{opacity:.4}
  50%{opacity:1}
}
@media(max-width:780px){
  body.ild-a4-player-page .ild-a4-scroll-hint{
    gap:12px!important;
    min-width:min(94vw,410px)!important;
    max-width:min(94vw,410px)!important;
    padding:14px 16px!important;
    border-radius:22px!important;
  }
  body.ild-a4-player-page .ild-a4-scroll-hint-gesture{
    width:82px!important;
    height:78px!important;
  }
  body.ild-a4-player-page .ild-a4-scroll-hint-finger{
    top:14px;
    width:19px;
    height:35px;
  }
  body.ild-a4-player-page .ild-a4-scroll-hint-finger.is-left{left:22px}
  body.ild-a4-player-page .ild-a4-scroll-hint-finger.is-right{right:22px}
}


/* v1.18.7 — İmleç ile fare sürükle kaydırma ve zoom merkezleme iyileştirmesi */
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-stage.is-pointer-panning,
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-stage.is-pointer-panning .ild-a4-drawing-canvas{
  cursor:grabbing!important;
}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-drawing-canvas.is-cursor-tool{
  cursor:grab!important;
}


/* v1.18.8 — Zoom sırasında A4 sayfayı yatay ve dikey merkezde tutar. */
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-canvas-stack.ild-a4-center-x,
body.ild-a4-player-page .ild-a4-player:fullscreen .ild-a4-canvas-stack.ild-a4-center-x,
body.ild-a4-player-page .ild-a4-player:-webkit-full-screen .ild-a4-canvas-stack.ild-a4-center-x{
  margin-left:auto!important;
  margin-right:auto!important;
}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-canvas-stack:not(.ild-a4-center-x),
body.ild-a4-player-page .ild-a4-player:fullscreen .ild-a4-canvas-stack:not(.ild-a4-center-x),
body.ild-a4-player-page .ild-a4-player:-webkit-full-screen .ild-a4-canvas-stack:not(.ild-a4-center-x){
  margin-left:0!important;
  margin-right:0!important;
}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-canvas-stack.ild-a4-center-y,
body.ild-a4-player-page .ild-a4-player:fullscreen .ild-a4-canvas-stack.ild-a4-center-y,
body.ild-a4-player-page .ild-a4-player:-webkit-full-screen .ild-a4-canvas-stack.ild-a4-center-y{
  margin-top:auto!important;
  margin-bottom:auto!important;
}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-canvas-stack:not(.ild-a4-center-y),
body.ild-a4-player-page .ild-a4-player:fullscreen .ild-a4-canvas-stack:not(.ild-a4-center-y),
body.ild-a4-player-page .ild-a4-player:-webkit-full-screen .ild-a4-canvas-stack:not(.ild-a4-center-y){
  margin-top:0!important;
  margin-bottom:0!important;
}


/* v1.18.9 — Tahtada Çöz için Max düğmesi ve tam genişlik yerleşimi. */
body.ild-a4-player-page .ild-a4-boardbar .ild-a4-max-btn{
  background:linear-gradient(180deg,#f59e0b,#ea580c)!important;
  color:#fff!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.08) inset;
}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-stage{
  overflow-x:hidden!important;
}


/* v1.20.0 — Cihaza göre yerel Paylaş / QR ile Paylaş */
html.ild-a4-modal-lock{overflow:hidden!important}
body.ild-a4-player-page .ild-a4-share-mobile{display:none!important}
body.ild-a4-player-page .ild-a4-share-qr{display:inline-flex!important}
body.ild-a4-player-page .ild-a4-player.is-phone-device .ild-a4-share-mobile{display:inline-flex!important}
body.ild-a4-player-page .ild-a4-player.is-phone-device .ild-a4-share-qr{display:none!important}
body.ild-a4-player-page .ild-a4-commandbar .ild-a4-share-control{
  background:linear-gradient(180deg,#8b5cf6,#6d28d9)!important;
  color:#fff!important;
}
body.ild-a4-player-page .ild-a4-boardbar .ild-a4-share-control{
  background:linear-gradient(180deg,#8b5cf6,#6d28d9)!important;
  color:#fff!important;
}
.ild-a4-qr-modal[hidden]{display:none!important}
.ild-a4-qr-modal{
  position:absolute;
  inset:0;
  z-index:2147483500;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(0,0,0,.72);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
.ild-a4-qr-dialog{
  position:relative;
  width:min(92vw,430px);
  padding:26px 26px 22px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:26px;
  background:#fff;
  box-shadow:0 28px 70px rgba(0,0,0,.42);
  color:#102a43;
  text-align:center;
}
.ild-a4-qr-close{
  position:absolute;
  right:10px;
  top:10px;
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  padding:0;
  border:0;
  border-radius:999px;
  background:#e9f0f6;
  color:#173653;
  font-size:1.65rem;
  line-height:1;
  font-weight:900;
  cursor:pointer;
}
.ild-a4-qr-code{
  width:min(72vw,340px);
  aspect-ratio:1;
  margin:12px auto 18px;
  padding:8px;
  border-radius:18px;
  background:#fff;
  box-shadow:0 0 0 1px #d7e3ec,0 10px 30px rgba(15,42,67,.12);
}
.ild-a4-qr-code svg{display:block;width:100%;height:100%}
.ild-a4-qr-dialog p{
  margin:0;
  color:#173653;
  font-size:1rem;
  line-height:1.3;
  font-weight:900;
}
@media(max-width:520px){
  .ild-a4-qr-dialog{width:min(94vw,390px);padding:22px 18px 18px;border-radius:22px}
  .ild-a4-qr-code{width:min(76vw,310px);margin-top:15px}
}

/* v1.20.1 — QR taramada paylaşım yönlendirmesi ve telefon düğmelerini belirginleştirme. */
body.ild-a4-player-page .ild-a4-qr-dialog p strong{
  color:#6d28d9;
}

.ild-a4-share-intent[hidden]{display:none!important}
.ild-a4-share-intent{
  position:fixed;
  inset:0;
  z-index:2147483501;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(2,12,23,.76);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.ild-a4-share-intent-card{
  width:min(92vw,440px);
  padding:28px 24px 22px;
  border-radius:28px;
  background:linear-gradient(180deg,#ffffff,#f7fbff 100%);
  box-shadow:0 30px 80px rgba(0,0,0,.38);
  color:#102a43;
  text-align:center;
  border:1px solid rgba(14,63,108,.1);
}
.ild-a4-share-intent-icon{
  display:grid;
  place-items:center;
  width:72px;
  height:72px;
  margin:0 auto 14px;
  border-radius:22px;
  background:linear-gradient(180deg,#8b5cf6,#6d28d9);
  color:#fff;
  font-size:2rem;
  box-shadow:0 16px 34px rgba(109,40,217,.28);
}
.ild-a4-share-intent-card h2{
  margin:0 0 8px;
  color:#102a43;
  font-size:1.45rem;
  line-height:1.12;
  font-weight:1000;
}
.ild-a4-share-intent-card p{
  margin:0;
  color:#35506b;
  font-size:1rem;
  line-height:1.42;
  font-weight:700;
}
.ild-a4-share-intent-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin-top:20px;
}
.ild-a4-share-intent-primary,
.ild-a4-share-intent-secondary{
  width:100%;
  min-height:52px;
  border:0;
  border-radius:16px;
  font-size:1rem;
  font-weight:900;
  cursor:pointer;
}
.ild-a4-share-intent-primary{
  background:linear-gradient(180deg,#14b8ff,#0577cc);
  color:#fff;
  box-shadow:0 16px 30px rgba(5,119,204,.24);
}
.ild-a4-share-intent-secondary{
  background:#e9f0f6;
  color:#173653;
}
@media(max-width:520px){
  .ild-a4-share-intent-card{width:min(94vw,400px);padding:24px 18px 18px;border-radius:24px}
  .ild-a4-share-intent-icon{width:64px;height:64px;border-radius:20px;font-size:1.8rem}
  .ild-a4-share-intent-card h2{font-size:1.28rem}
  .ild-a4-share-intent-card p{font-size:.95rem}
}

@media(max-width:640px){
  body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-commandbar{
    display:flex!important;
    justify-content:center!important;
    align-items:stretch!important;
    gap:10px!important;
    padding:12px 12px 14px!important;
    flex-wrap:nowrap!important;
    border-bottom:0!important;
    background:transparent!important;
  }
  body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-commandbar button{
    flex:1 1 0!important;
    width:auto!important;
    min-width:0!important;
    max-width:120px!important;
    min-height:64px!important;
    padding:10px 8px!important;
    border-radius:16px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    font-size:.8rem!important;
    line-height:1!important;
    box-shadow:0 10px 24px rgba(15,42,67,.16)!important;
  }
  body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-commandbar .ild-a4-action-label{
    display:block!important;
    font-size:.72rem!important;
    line-height:1.15!important;
    font-weight:900!important;
    text-align:center!important;
    white-space:normal!important;
  }
  body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-commandbar button > span[aria-hidden="true"]{
    font-size:1.22rem!important;
    line-height:1!important;
  }
  body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-commandbar .ild-a4-primary{
    background:linear-gradient(180deg,#17c4f2,#0577cc)!important;
    color:#fff!important;
  }
  body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-commandbar button[data-action="print"]{
    background:linear-gradient(180deg,#25c06d,#16934f)!important;
    color:#fff!important;
  }
  body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-commandbar .ild-a4-share-control{
    background:linear-gradient(180deg,#8b5cf6,#6d28d9)!important;
    color:#fff!important;
  }
}
@media(max-width:420px){
  body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-commandbar{gap:8px!important;padding:10px 10px 12px!important}
  body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-commandbar button{min-height:60px!important;padding:9px 6px!important;border-radius:14px!important}
  body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-commandbar .ild-a4-action-label{font-size:.66rem!important}
}

/* v1.20.2 — Telefonlarda etkinlik üstü düğmeleri daha net, tam görünür ve güvenilir paylaşım davranışı. */
@media (max-width: 700px){
  body.ild-a4-player-page .ild-a4-player-header{
    grid-template-columns:1fr!important;
    grid-auto-rows:auto!important;
    height:auto!important;
    min-height:0!important;
    padding:10px 10px 8px!important;
    gap:10px!important;
    align-items:start!important;
  }
  body.ild-a4-player-page .ild-a4-player-header .ild-a4-back-link{
    grid-column:auto!important;
    justify-self:start!important;
    max-width:100%!important;
  }
  body.ild-a4-player-page .ild-a4-player-header .ild-a4-header-balance{
    display:none!important;
  }
  body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-commandbar,
  body.ild-a4-player-page .ild-a4-commandbar{
    grid-column:auto!important;
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    justify-content:stretch!important;
    align-items:stretch!important;
    gap:10px!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    overflow:visible!important;
  }
  body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-commandbar button,
  body.ild-a4-player-page .ild-a4-commandbar button{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:66px!important;
    padding:10px 8px!important;
    border-radius:18px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    font-size:.82rem!important;
    line-height:1!important;
    box-shadow:0 12px 26px rgba(15,42,67,.14)!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar .ild-a4-action-label{
    display:block!important;
    font-size:.74rem!important;
    line-height:1.1!important;
    font-weight:900!important;
    text-align:center!important;
    white-space:normal!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar button > span[aria-hidden="true"]{
    font-size:1.22rem!important;
    line-height:1!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar .ild-a4-primary{
    background:linear-gradient(180deg,#20c9ee,#0577cc)!important;
    color:#fff!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar button[data-action="share-native"]{
    display:flex!important;
    background:linear-gradient(180deg,#8b5cf6,#6d28d9)!important;
    color:#fff!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar button[data-action="print"]{
    background:linear-gradient(180deg,#25c06d,#16934f)!important;
    color:#fff!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar button[data-action="share-qr"]{
    display:none!important;
  }
}
@media (max-width: 420px){
  body.ild-a4-player-page .ild-a4-player-header{padding:9px 8px 7px!important;gap:8px!important}
  body.ild-a4-player-page .ild-a4-commandbar{gap:8px!important}
  body.ild-a4-player-page .ild-a4-commandbar button{min-height:62px!important;padding:9px 6px!important;border-radius:16px!important}
  body.ild-a4-player-page .ild-a4-commandbar .ild-a4-action-label{font-size:.68rem!important}
}

/* v1.20.3 — telefon butonları etkinliğin altına, daha kompakt görünüm ve paylaşım modalı daha kararlı merkezleme. */
.ild-a4-commandbar-mobile{display:none}
.ild-a4-player.is-board .ild-a4-commandbar-mobile{display:none!important}

.ild-a4-share-intent{
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:auto;
}
.ild-a4-share-intent-card{
  position:fixed;
  left:50%;
  top:50%;
  margin:0;
  width:min(calc(100vw - 32px),440px);
  max-width:calc(100vw - 32px);
  max-height:calc(100dvh - 36px);
  overflow:auto;
  transform:translate3d(-50%,-50%,0);
  opacity:0;
  transition:opacity .18s ease, transform .18s ease;
}
.ild-a4-share-intent.is-visible .ild-a4-share-intent-card{
  opacity:1;
}
@media(max-width:520px){
  .ild-a4-share-intent-card{
    width:min(calc(100vw - 24px),400px);
    max-width:calc(100vw - 24px);
    max-height:calc(100dvh - 24px);
    padding:24px 18px 18px;
    border-radius:24px;
  }
}

@media (max-width: 700px){
  body.ild-a4-player-page .ild-a4-player-header{
    grid-template-columns:1fr!important;
    grid-auto-rows:auto!important;
    padding:10px 10px 6px!important;
    gap:8px!important;
    min-height:0!important;
    height:auto!important;
  }
  body.ild-a4-player-page .ild-a4-player-header .ild-a4-commandbar{
    display:none!important;
  }
  body.ild-a4-player-page .ild-a4-player-header .ild-a4-header-balance{
    display:none!important;
  }
  body.ild-a4-player-page .ild-a4-player-header .ild-a4-back-link{
    justify-self:start!important;
    max-width:100%!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar-mobile{
    display:flex!important;
    align-items:stretch!important;
    justify-content:center!important;
    gap:10px!important;
    width:100%!important;
    padding:10px 10px 2px!important;
    margin:0 auto 2px!important;
    background:transparent!important;
    overflow:visible!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar-mobile button{
    flex:1 1 0!important;
    min-width:0!important;
    max-width:132px!important;
    min-height:48px!important;
    padding:7px 6px!important;
    border:0!important;
    border-radius:14px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    font-size:.74rem!important;
    line-height:1!important;
    box-shadow:0 8px 18px rgba(15,42,67,.14)!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar-mobile .ild-a4-action-label{
    display:block!important;
    font-size:.68rem!important;
    line-height:1.08!important;
    font-weight:900!important;
    text-align:center!important;
    white-space:normal!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar-mobile button > span[aria-hidden="true"]{
    font-size:1rem!important;
    line-height:1!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar-mobile .ild-a4-primary{
    background:linear-gradient(180deg,#20c9ee,#0577cc)!important;
    color:#fff!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar-mobile button[data-action="print"]{
    background:linear-gradient(180deg,#25c06d,#16934f)!important;
    color:#fff!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar-mobile button[data-action="share-native"]{
    background:linear-gradient(180deg,#8b5cf6,#6d28d9)!important;
    color:#fff!important;
  }
}
@media (max-width: 420px){
  body.ild-a4-player-page .ild-a4-commandbar-mobile{gap:8px!important;padding:8px 8px 2px!important}
  body.ild-a4-player-page .ild-a4-commandbar-mobile button{max-width:none!important;min-height:46px!important;padding:7px 4px!important;border-radius:13px!important}
  body.ild-a4-player-page .ild-a4-commandbar-mobile .ild-a4-action-label{font-size:.64rem!important}
}


/* v1.20.4 — kesin mobil yerleşim ve viewport merkezli paylaşım modalı */
.ild-a4-share-intent[hidden]{display:none!important}
.ild-a4-share-intent{
  position:fixed!important;
  inset:0!important;
  z-index:2147483600!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100vw!important;
  height:100dvh!important;
  min-height:100vh!important;
  padding:12px!important;
  margin:0!important;
  overflow:auto!important;
  background:rgba(2,12,23,.76)!important;
  opacity:0;
  transition:opacity .16s ease!important;
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.ild-a4-share-intent.is-visible{opacity:1}
.ild-a4-share-intent-card{
  position:relative!important;
  left:auto!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  flex:0 1 auto!important;
  width:min(440px,calc(100vw - 24px))!important;
  max-width:calc(100vw - 24px)!important;
  max-height:calc(100dvh - 24px)!important;
  margin:auto!important;
  padding:24px 18px 18px!important;
  overflow:auto!important;
  transform:none!important;
  opacity:1!important;
  transition:none!important;
  box-sizing:border-box!important;
}

.ild-a4-commandbar-mobile{display:none!important}
@media (max-width:700px){
  body.ild-a4-player-page .ild-a4-player-header{
    display:block!important;
    height:auto!important;
    min-height:0!important;
    padding:6px 8px!important;
  }
  body.ild-a4-player-page .ild-a4-player-header .ild-a4-commandbar,
  body.ild-a4-player-page .ild-a4-player-header .ild-a4-header-balance{
    display:none!important;
  }
  body.ild-a4-player-page .ild-a4-player-header .ild-a4-back-link{
    display:inline-flex!important;
    max-width:100%!important;
    min-height:30px!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar-mobile{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    align-items:stretch!important;
    justify-content:center!important;
    gap:8px!important;
    width:calc(100% - 16px)!important;
    max-width:440px!important;
    margin:8px auto 12px!important;
    padding:0!important;
    background:transparent!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar-mobile button{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:42px!important;
    padding:7px 6px!important;
    border:0!important;
    border-radius:12px!important;
    color:#fff!important;
    font-size:.68rem!important;
    line-height:1!important;
    font-weight:900!important;
    box-shadow:0 6px 15px rgba(15,42,67,.14)!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar-mobile button > span[aria-hidden="true"]{
    flex:0 0 auto!important;
    font-size:.95rem!important;
    line-height:1!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar-mobile .ild-a4-action-label{
    display:block!important;
    min-width:0!important;
    font-size:.64rem!important;
    line-height:1.08!important;
    font-weight:900!important;
    white-space:normal!important;
    text-align:center!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar-mobile .ild-a4-primary{
    background:linear-gradient(180deg,#20c9ee,#0577cc)!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar-mobile button[data-action="print"]{
    background:linear-gradient(180deg,#25c06d,#16934f)!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar-mobile button[data-action="share-native"]{
    display:flex!important;
    background:linear-gradient(180deg,#8b5cf6,#6d28d9)!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar-mobile button[data-action="share-qr"]{
    display:none!important;
  }
}
@media (max-width:380px){
  body.ild-a4-player-page .ild-a4-commandbar-mobile{
    gap:6px!important;
    width:calc(100% - 12px)!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar-mobile button{
    min-height:40px!important;
    padding:6px 4px!important;
    border-radius:11px!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar-mobile .ild-a4-action-label{
    font-size:.58rem!important;
  }
}

/* v1.20.5 — telefonda araç çubuğunu DOM üzerinde etkinliğin altına taşıyan kesin görünüm. */
body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:8px!important;
  width:calc(100% - 20px)!important;
  max-width:420px!important;
  margin:10px auto 14px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  overflow:visible!important;
  position:static!important;
  top:auto!important;
  z-index:auto!important;
}
body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated button{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:42px!important;
  padding:7px 6px!important;
  margin:0!important;
  border:0!important;
  border-radius:12px!important;
  color:#fff!important;
  font-size:.7rem!important;
  line-height:1!important;
  font-weight:900!important;
  box-shadow:0 6px 15px rgba(15,42,67,.14)!important;
}
body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated button > span[aria-hidden="true"]{
  flex:0 0 auto!important;
  font-size:.96rem!important;
  line-height:1!important;
}
body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated .ild-a4-action-label{
  display:block!important;
  min-width:0!important;
  font-size:.64rem!important;
  line-height:1.08!important;
  font-weight:900!important;
  white-space:normal!important;
  text-align:center!important;
}
body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated .ild-a4-primary{
  background:linear-gradient(180deg,#20c9ee,#0577cc)!important;
}
body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated button[data-action="print"]{
  background:linear-gradient(180deg,#25c06d,#16934f)!important;
}
body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated button[data-action="share-native"]{
  display:flex!important;
  background:linear-gradient(180deg,#8b5cf6,#6d28d9)!important;
}
body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated button[data-action="share-qr"]{
  display:none!important;
}
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-commandbar.is-mobile-relocated{
  display:none!important;
}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-player-header .ild-a4-commandbar{
  display:none!important;
}

/* Paylaşım modalı ilk kareden itibaren viewport merkezinde ve yatay taşmasız. */
.ild-a4-share-intent{
  left:0!important;
  right:0!important;
  top:0!important;
  bottom:0!important;
  width:100%!important;
  max-width:none!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
}
.ild-a4-share-intent-card{
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  width:calc(100% - 24px)!important;
  max-width:400px!important;
  margin:auto!important;
  transform:none!important;
  box-sizing:border-box!important;
}
@media(max-width:380px){
  body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated{
    gap:6px!important;
    width:calc(100% - 12px)!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated button{
    min-height:40px!important;
    padding:6px 4px!important;
    border-radius:11px!important;
  }
  body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated .ild-a4-action-label{
    font-size:.58rem!important;
  }
}


/* v1.20.6 — telefonda alt aksiyon satırı, görünür geri düğmesi ve doğal yükseklik. */
body.ild-a4-player-page .ild-a4-mobile-actions-anchor{display:none}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-player-header{
  grid-template-columns:auto minmax(0,1fr)!important;
  gap:8px!important;
}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-player-header .ild-a4-back-link{
  width:auto!important;
  height:auto!important;
  min-height:34px!important;
  padding:6px 11px!important;
  gap:6px!important;
  font-size:.8rem!important;
  white-space:nowrap!important;
  overflow:visible!important;
  justify-content:center!important;
}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-player-header .ild-a4-back-link span:first-child{font-size:1rem!important}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-player-header .ild-a4-back-link span:last-child{display:inline!important;font-size:.8rem!important;font-weight:900!important}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-stage-shell{display:flex!important;flex-direction:column!important;align-items:center!important}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-stage{height:auto!important;min-height:0!important;overflow:visible!important;padding:8px 6px 0!important;background:transparent!important;justify-content:center!important}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-canvas-stack{margin:0 auto!important;max-width:100%!important}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-page-image{width:100%!important;height:auto!important}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-mobile-actions-anchor{display:block!important;width:100%!important;padding:10px 8px 14px!important}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:8px!important;width:min(100%,360px)!important;max-width:360px!important;margin:0 auto!important;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important;position:static!important;top:auto!important;z-index:auto!important}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated button{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:100%!important;min-width:0!important;min-height:44px!important;padding:8px 6px!important;border-radius:12px!important;color:#fff!important;font-size:.72rem!important;line-height:1.05!important;font-weight:900!important;box-shadow:0 6px 16px rgba(15,42,67,.16)!important}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated button > span[aria-hidden="true"]{font-size:.95rem!important}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated .ild-a4-action-label{display:block!important;white-space:nowrap!important;font-size:.68rem!important;line-height:1.1!important}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated button[data-action="share-qr"]{display:none!important}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated .ild-a4-primary{background:linear-gradient(180deg,#20c9ee,#0577cc)!important}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated button[data-action="print"]{background:linear-gradient(180deg,#25c06d,#16934f)!important}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated button[data-action="share-native"]{background:linear-gradient(180deg,#8b5cf6,#6d28d9)!important}
@media(max-width:380px){
  html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated{width:min(100%,340px)!important;gap:6px!important}
  html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated button{min-height:42px!important;padding:7px 4px!important}
  html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-commandbar.is-mobile-relocated .ild-a4-action-label{font-size:.64rem!important}
}


/* v1.20.7 — daha ince telefon butonları, telefon çizimi ve Tahtada Çöz bilgilendirmesi. */
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-mobile-actions-anchor .ild-a4-commandbar.is-mobile-relocated button{
  flex-direction:row!important;
  min-height:40px!important;
  height:40px!important;
  padding:5px 6px!important;
  border-radius:10px!important;
  gap:5px!important;
}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-mobile-actions-anchor .ild-a4-commandbar.is-mobile-relocated button > span[aria-hidden="true"]{
  font-size:.88rem!important;
}
html.ild-a4-phone-device body.ild-a4-player-page .ild-a4-player.is-phone-device:not(.is-board) .ild-a4-mobile-actions-anchor .ild-a4-commandbar.is-mobile-relocated .ild-a4-action-label{
  font-size:.66rem!important;
  white-space:nowrap!important;
}

.ild-a4-board-info[hidden]{display:none!important}
.ild-a4-board-info{
  position:fixed;
  inset:0;
  z-index:2147483502;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  overflow-x:hidden;
  background:rgba(2,12,23,.76);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.ild-a4-board-info-card{
  width:min(calc(100vw - 28px),400px);
  max-width:400px;
  margin:auto;
  padding:24px 20px 18px;
  border:1px solid rgba(14,63,108,.1);
  border-radius:24px;
  background:linear-gradient(180deg,#fff,#f7fbff);
  box-shadow:0 28px 70px rgba(0,0,0,.38);
  color:#102a43;
  text-align:center;
  box-sizing:border-box;
  opacity:0;
  transition:opacity .18s ease;
}
.ild-a4-board-info.is-visible .ild-a4-board-info-card{opacity:1}
.ild-a4-board-info-icon{
  display:grid;
  place-items:center;
  width:60px;
  height:60px;
  margin:0 auto 12px;
  border-radius:19px;
  background:linear-gradient(180deg,#20c9ee,#0577cc);
  color:#fff;
  font-size:1.75rem;
  box-shadow:0 14px 30px rgba(5,119,204,.25);
}
.ild-a4-board-info-card h2{
  margin:0 0 8px;
  color:#102a43;
  font-size:1.3rem;
  line-height:1.1;
  font-weight:1000;
}
.ild-a4-board-info-card p{
  margin:0;
  color:#35506b;
  font-size:.94rem;
  line-height:1.42;
  font-weight:700;
}
.ild-a4-board-info-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin-top:18px;
}
.ild-a4-board-info-actions button{
  min-height:44px;
  padding:8px 10px;
  border:0;
  border-radius:13px;
  font-size:.9rem;
  font-weight:900;
}
.ild-a4-board-info-primary{
  background:linear-gradient(180deg,#20c9ee,#0577cc);
  color:#fff;
}
.ild-a4-board-info-secondary{
  background:#e9f0f6;
  color:#173653;
}

/* Kalem/silgi seçiliyken tek parmak çizim; iki parmak kaydırma. */
body.ild-a4-player-page .ild-a4-player.is-board .ild-a4-drawing-canvas{
  touch-action:none!important;
}


/* v1.20.9 — QR sonrasında paylaşım penceresi native dialog/top-layer ile ilk kareden itibaren tam merkezde. */
dialog.ild-a4-share-intent:not([open]):not(.is-fallback-open){display:none!important}
dialog.ild-a4-share-intent[open]{
  display:block!important;
  position:fixed!important;
  inset:0!important;
  width:min(calc(100dvw - 24px),400px)!important;
  max-width:calc(100dvw - 24px)!important;
  height:auto!important;
  max-height:calc(100dvh - 24px)!important;
  margin:auto!important;
  padding:0!important;
  border:0!important;
  border-radius:24px!important;
  background:transparent!important;
  color:inherit!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  opacity:1!important;
  transform:none!important;
}
dialog.ild-a4-share-intent::backdrop{
  background:rgba(2,12,23,.76)!important;
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
dialog.ild-a4-share-intent .ild-a4-share-intent-card{
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  max-width:none!important;
  max-height:calc(100dvh - 24px)!important;
  margin:0!important;
  padding:24px 18px 18px!important;
  overflow:auto!important;
  box-sizing:border-box!important;
  opacity:1!important;
  transform:none!important;
  transition:none!important;
}
.ild-a4-share-intent.is-fallback-open{
  position:fixed!important;
  inset:0!important;
  z-index:2147483501!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100dvw!important;
  height:100dvh!important;
  max-width:none!important;
  padding:12px!important;
  overflow:hidden!important;
  background:rgba(2,12,23,.76)!important;
  box-sizing:border-box!important;
}
.ild-a4-share-intent.is-fallback-open .ild-a4-share-intent-card{
  width:min(calc(100dvw - 24px),400px)!important;
  max-width:400px!important;
  margin:0!important;
  opacity:1!important;
  transform:none!important;
}


/* v1.20.10 — QR paylaşım penceresi görünmeden önce viewport sabitlenir; kart ilk kareden itibaren tam merkezde. */
body > .ild-a4-share-intent[hidden]{display:none!important}
body > .ild-a4-share-intent{
  z-index:2147483640!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding:12px!important;
  border:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  background:rgba(2,12,23,.76)!important;
  -webkit-backdrop-filter:blur(10px)!important;
  backdrop-filter:blur(10px)!important;
  opacity:1!important;
  transform:none!important;
}
body > .ild-a4-share-intent .ild-a4-share-intent-card{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  width:min(100%,400px)!important;
  max-width:400px!important;
  max-height:calc(100% - 8px)!important;
  margin:0!important;
  padding:24px 18px 18px!important;
  overflow:auto!important;
  box-sizing:border-box!important;
  opacity:1!important;
  transform:none!important;
  transition:none!important;
}


/* v1.20.11 — Tahtada Çöz telefon bilgilendirmesi ilk kareden itibaren görsel viewport merkezinde. */
body > .ild-a4-board-info[hidden]{display:none!important}
body > .ild-a4-board-info{
  z-index:2147483641!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:12px!important;
  border:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  background:rgba(2,12,23,.76)!important;
  -webkit-backdrop-filter:blur(10px)!important;
  backdrop-filter:blur(10px)!important;
  opacity:1!important;
  transform:none!important;
}
body > .ild-a4-board-info .ild-a4-board-info-card{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  width:min(100%,400px)!important;
  max-width:400px!important;
  max-height:calc(100% - 8px)!important;
  margin:0!important;
  padding:24px 20px 18px!important;
  overflow:auto!important;
  box-sizing:border-box!important;
  opacity:1!important;
  transform:none!important;
  transition:none!important;
}
