/* Hesabım > Karakter: her ekranda tek bakışta sığan düzen (kaydırma yok, taşma yok) */
html body #accountModal#accountModal .account-sheet{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;grid-template-rows:auto auto minmax(0,1fr)!important;column-gap:16px!important;row-gap:10px!important;max-height:calc(100dvh - 32px)!important;height:calc(100dvh - 32px)!important;overflow:hidden!important}
html body #accountModal#accountModal .account-hero{grid-column:1;grid-row:1;margin:0!important;padding:0!important;align-self:center;min-width:0}
html body #accountModal#accountModal .account-hero #accountModalClose{position:absolute!important;top:14px!important;right:14px!important}
html body #accountModal#accountModal #accountStats{grid-column:2;grid-row:1;margin:0 44px 0 0!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;align-self:center}
html body #accountModal#accountModal #accountStats .as-tile{min-height:0!important;padding:8px 10px!important}
html body #accountModal#accountModal #accountStats .as-tile em{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;max-width:100%}
html body #accountModal#accountModal .acc-tabs{grid-column:1/-1;grid-row:2;margin:0!important}
html body #accountModal#accountModal .acc-pane{grid-column:1/-1;grid-row:3;min-height:0!important;overflow:hidden!important;display:flex;flex-direction:column}
html body #accountModal#accountModal .acc-pane.hidden{display:none!important}
html body #accountModal#accountModal .acc-pane:not([data-pane="karakter"]){overflow-y:auto!important}
html body #accountModal#accountModal .acc-pane > .look-studio{flex:1 1 auto;min-height:0!important;height:auto!important;max-height:none!important}
html body #accountModal#accountModal .studio{height:100%!important;min-height:0!important;max-height:none!important}

/* Sahne: figür esner, bilgiler sabit ve kompakt */
html body #accountModal#accountModal .st-stage{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;overflow:hidden!important;min-height:0!important;height:100%!important;padding:12px 12px 10px!important;box-sizing:border-box!important;gap:6px!important}
html body #accountModal#accountModal .st-stage > .st-top{flex:none!important;position:relative!important;width:100%!important;margin:0!important}
html body #accountModal#accountModal .st-stage > .st-worth{flex:none!important;position:relative!important;margin:0!important;transform:none!important;left:auto!important;top:auto!important}
html body #accountModal#accountModal .st-stage > .st-fig{flex:1 1 0!important;min-height:110px!important;height:auto!important;width:100%!important;max-width:240px!important;margin:0!important;position:relative!important;display:flex!important;justify-content:center}
html body #accountModal#accountModal .st-stage > .st-fig svg{height:100%!important;width:auto!important;max-width:100%!important}
html body #accountModal#accountModal .st-stage > .st-plate{flex:none!important;margin:0!important;position:relative!important;width:100%!important;max-width:260px!important;text-align:center}
html body #accountModal#accountModal .st-stage > .st-plate b{font-size:17px!important;line-height:1.15!important}
html body #accountModal#accountModal .st-stage > .st-plate small,html body #accountModal#accountModal .st-stage > .st-plate em{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block!important;max-width:100%!important}
html body #accountModal#accountModal .st-stage > .st-tier{flex:none!important;position:relative!important;width:100%!important;max-width:290px!important;margin:0!important;padding:7px 10px!important;box-sizing:border-box!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) 64px!important;grid-template-rows:auto auto!important;gap:3px 8px!important;align-items:center!important}
html body #accountModal#accountModal .st-stage > .st-tier .st-tier-v{grid-row:1 / span 2!important;grid-column:1!important;align-self:center!important}
html body #accountModal#accountModal .st-stage > .st-tier b{grid-row:1!important;grid-column:2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important;font-size:12px!important}
html body #accountModal#accountModal .st-stage > .st-tier > i{grid-row:1!important;grid-column:3!important;width:100%!important;margin:0!important}
html body #accountModal#accountModal .st-stage > .st-tier .st-lv{grid-row:2!important;grid-column:3!important;margin:0!important;justify-content:flex-end}
html body #accountModal#accountModal .st-stage > .st-tier small{grid-row:2!important;grid-column:2!important;text-align:left!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important;font-size:10.5px!important}
html body #accountModal#accountModal .st-stage > .st-poses{flex:none!important;position:relative!important;margin:0!important;display:flex!important;gap:6px!important;flex-wrap:nowrap!important;justify-content:center!important;width:100%!important}
html body #accountModal#accountModal .st-stage > .st-poses button{flex:1 1 0!important;min-width:0!important;padding:6px 4px!important;font-size:11.5px!important}
html body #accountModal#accountModal .st-stage > .okv-legal,html body #accountModal#accountModal .st-stage > .st-note:empty{display:none!important}
html body #accountModal#accountModal .st-stage > .st-saved{position:absolute!important;bottom:52px!important;left:50%!important;transform:translateX(-50%)!important}
html body #accountModal#accountModal .st-panel{min-height:0!important;height:100%!important;display:flex!important;flex-direction:column!important}
html body #accountModal#accountModal .st-panel > #studioBody,html body #accountModal#accountModal .st-panel > .st-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;max-height:none!important}

/* Dar ekranlar */
@media (max-width:900px){
  html body #accountModal#accountModal .account-sheet{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto minmax(0,1fr)!important;height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important}
  html body #accountModal#accountModal .account-hero{grid-row:1}
  html body #accountModal#accountModal #accountStats{grid-column:1;grid-row:2;margin:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  html body #accountModal#accountModal #accountStats .as-tile em{display:none!important}
  html body #accountModal#accountModal .acc-tabs{grid-row:3}
  html body #accountModal#accountModal .acc-pane{grid-row:4;overflow-y:auto!important}
  html body #accountModal#accountModal .studio{display:flex!important;flex-direction:column!important;height:auto!important}
  html body #accountModal#accountModal .st-stage{height:auto!important;min-height:420px!important;flex:none!important;width:100%!important}
  html body #accountModal#accountModal .st-stage > .st-fig{flex:none!important;height:230px!important}
  html body #accountModal#accountModal .st-panel{height:auto!important}
  html body #accountModal#accountModal .st-panel > #studioBody{overflow:visible!important}
}

/* Oturuşta etekler dizlere toplanır (bel çizgisinden ölçeklenir) */
.figure.is-sit .fig2 .fig-skirt-g{transform-box:view-box;transform-origin:80px 150px;transform:scaleY(.52)}
.figure.is-sit .fig2 .fig-skirt-g.is-mini{transform:scaleY(.82)}
.figure.is-sit .fig2 .fig-skirt-g .fig-skirt{transform:none}
.figure.is-sit .fig2 .fig-cape,.figure.is-sit .fig2 .fig-cape + path{transform-box:view-box;transform-origin:80px 108px;transform:scaleY(.7)}

/* Eşleşme modları: üç konumlu kayan seçici (Kapalı / Açık / Fark etmez) */
html body #matchPad#matchPad#matchPad#matchPad#matchPad#matchPad .match-modes > .match-fold:is(.is-tri,.is-duo){display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;align-content:center!important;column-gap:8px!important;row-gap:2px!important;height:46px!important;padding:0 7px 0 12px!important;cursor:pointer;transition:border-color .3s ease,background .3s ease,box-shadow .3s ease}
html body #matchPad#matchPad#matchPad#matchPad#matchPad#matchPad .match-modes > .match-fold:is(.is-tri,.is-duo) > input{display:none!important}
html body #matchPad#matchPad#matchPad#matchPad#matchPad#matchPad .match-modes > .match-fold:is(.is-tri,.is-duo) > .mf-state{grid-column:1!important;grid-row:2!important;margin:0!important;padding:0!important;background:none!important;font:700 10px/1.1 'Outfit',sans-serif!important;transition:color .3s ease}
html body #matchPad .match-fold > .mf-state.bump{animation:mfBump .35s ease}
@keyframes mfBump{0%{opacity:.2;transform:translateY(3px)}100%{opacity:1;transform:none}}
html body #matchPad .match-fold > .mf-tri{grid-column:2;grid-row:1 / span 2;position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:24px;height:26px;padding:2px;border-radius:999px;background:rgba(0,0,0,.45);border:1px solid rgba(226,191,115,.22);box-shadow:inset 0 1px 3px rgba(0,0,0,.5)}
html body #matchPad .match-fold > .mf-tri > button{position:relative;z-index:1;display:grid;place-items:center;width:24px;height:22px;padding:0;margin:0;border:0;background:none;color:rgba(242,234,219,.45);cursor:pointer;transition:color .25s ease;min-width:0;box-shadow:none}
html body #matchPad .match-fold > .mf-tri > button svg{width:12px;height:12px}
html body #matchPad .match-fold > .mf-tri > button[aria-checked=true]{color:#1a1006}
html body #matchPad .match-fold > .mf-tri > .mf-thumb{position:absolute;z-index:0;top:2px;left:2px;width:24px;height:22px;border-radius:999px;background:linear-gradient(180deg,#9b8d74,#6d6250);box-shadow:0 2px 6px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.35);transition:transform .34s cubic-bezier(.34,1.45,.5,1),background .3s ease}
html body #matchPad .match-fold[data-state=on] > .mf-tri > .mf-thumb{transform:translateX(24px);background:linear-gradient(180deg,#fff0bd,#d6a84c)}
html body #matchPad .match-fold[data-state=any] > .mf-tri > .mf-thumb{transform:translateX(48px);background:linear-gradient(180deg,#cfe8ff,#56a8ff)}
html body #matchPad .match-fold.mf-ceza[data-state=on] > .mf-tri > .mf-thumb{background:linear-gradient(180deg,#ffc2b8,#e5484d)}
html body #matchPad .match-fold[data-state=off] > .mf-tri > button[data-v=off]{color:#f2eadb}
html body #matchPad .match-fold > .mf-tri > button:hover:not([aria-checked=true]){color:#f3d98f}
@media (prefers-reduced-motion:reduce){html body #matchPad .match-fold > .mf-tri > .mf-thumb{transition:none}html body #matchPad .match-fold > .mf-state.bump{animation:none}}

/* Alt şerit karakteri: titreyen kaide ışığı yerine sade, sabit zemin gölgesi; dokununca hafif yükselir */
html body #figureDock#figureDock .fig-ped,html body #figureDock#figureDock .fig2 .fig-shadow{display:none!important}
html body #figureDock#figureDock [data-figure]{position:relative;cursor:pointer;filter:none!important;transition:transform .25s ease}
html body #figureDock#figureDock [data-figure]::after{content:"";position:absolute;left:50%;bottom:3px;width:70%;height:7px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(closest-side,rgba(0,0,0,.55),rgba(0,0,0,0));pointer-events:none;z-index:-1}
html body #figureDock#figureDock [data-figure]:hover{transform:translateY(-2px)}
html body #figureDock#figureDock [data-figure]:focus-visible{outline:2px solid #f3d48a;outline-offset:3px;border-radius:8px}
html body #accountModal#accountModal .st-panel > .st-tabs{flex:none!important;min-height:36px}
html body #matchPad#matchPad#matchPad#matchPad#matchPad#matchPad .match-modes{container-type:inline-size}
@media (max-width:620px){
  html body #matchPad#matchPad#matchPad#matchPad#matchPad#matchPad .match-modes{grid-template-columns:minmax(0,1fr)!important;gap:5px!important}
  html body #matchPad#matchPad#matchPad#matchPad#matchPad#matchPad .match-modes > .match-fold:is(.is-tri,.is-duo){height:40px!important}
}
html body #matchPad#matchPad#matchPad#matchPad#matchPad#matchPad .match-modes > .match-fold:is(.is-tri,.is-duo){justify-items:start!important;text-align:left!important}html body #matchPad .match-fold > .mf-tri{justify-self:end}

/* Masa kural rozetleri: her eksen açıkça yazılır */
html body #modeBadges.mode-badges{display:flex;flex-wrap:wrap;gap:5px}
html body #modeBadges .mb{cursor:help;padding:4px 9px;border-radius:999px;font:800 10.5px/1 'Outfit',sans-serif;background:rgba(14,9,5,.82);border:1px solid rgba(226,191,115,.35);color:#f0dfb6;backdrop-filter:blur(4px)}
html body #modeBadges .mb-stake{background:linear-gradient(180deg,#fff0bd,#e2b558);color:#2a1d0c;border-color:transparent}
html body #modeBadges .mb-kat{border-color:#f3d48a;color:#fff1cf}
html body #modeBadges .mb-esli{border-color:#56a8ff;color:#d6ecff}
html body #modeBadges .mb-ceza{background:linear-gradient(180deg,#ff7a6e,#b3191f);color:#fff;border-color:transparent}
html body #modeBadges .mb-cezasiz{border-color:rgba(91,214,140,.55);color:#c9f7da}
html body #modeBadges .mb-noassist{border-color:#b98cff;color:#efe4ff}
html body #modeBadges :is(.mb-duz,.mb-tekli,.mb-assist){color:rgba(240,223,182,.78)}
/* Oturunca: bu masanın kuralları kartı */
.rules-intro{position:fixed;left:50%;top:18%;z-index:28000;transform:translate(-50%,-12px);opacity:0;pointer-events:none;width:min(640px,92vw);padding:16px 18px 14px;border-radius:20px;background:linear-gradient(160deg,rgba(43,29,13,.97),rgba(16,10,5,.97));border:1px solid rgba(226,181,88,.55);box-shadow:0 24px 60px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,240,200,.12);transition:opacity .35s ease,transform .35s ease;text-align:center}
.rules-intro.show{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.rules-intro small{display:block;font:700 13px/1.2 'Cinzel',serif;color:#f3d48a;margin-bottom:10px}
.rules-intro .ri-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.rules-intro .ri-item{padding:8px 10px;border-radius:12px;background:rgba(0,0,0,.3);border:1px solid rgba(226,191,115,.18);text-align:left}
.rules-intro .ri-item b{display:block;color:#fff1cf;font-size:14px}
.rules-intro .ri-item span{display:block;margin-top:2px;color:#b9a47a;font-size:11px;line-height:1.35}
.rules-intro .ri-ceza{border-color:rgba(255,110,96,.55);background:rgba(229,72,77,.12)}.rules-intro .ri-ceza b{color:#ffc2b8}
.rules-intro .ri-stake b{color:#f6dc8e}
.rules-intro .ri-ok{margin-top:12px;padding:7px 22px;border-radius:999px;border:0;background:linear-gradient(180deg,#fff0bd,#d6a84c);color:#1a1006;font-weight:800}
@media (max-width:600px){.rules-intro .ri-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (prefers-reduced-motion:reduce){.rules-intro{transition:none}}

/* Çevrimiçi satırı: klan rozeti ve statü rozetleri tek sırada, sıkışmadan */
html body #lobbyPlayerList .ol-main > .ol-tags{display:flex!important;flex-wrap:wrap;align-items:center;gap:4px;align-self:flex-start;max-width:100%;min-height:0}
html body #lobbyPlayerList .ol-tags > .clan-chip{margin:0!important;flex:none;width:auto!important}
html body #lobbyPlayerList .ol-tags > .aura-set{flex:none;max-width:none!important;width:auto!important}
html body #lobbyPlayerList .ol-tags .aura-badge{overflow:visible!important;flex:none!important;white-space:nowrap}
html body #lobbyPlayerList .ol-tags .aura-badge b{overflow:visible!important;text-overflow:clip!important;max-width:none!important}
html body #lobbyPlayerList .ol-main{min-width:0!important;overflow:hidden}
html body #lobbyPlayerList .ol-tags > .aura-set{flex-wrap:wrap!important;gap:3px!important;max-width:100%!important}
html body #lobbyPlayerList .ol-tags .aura-link{display:none!important}
html body .clan-chip small{display:inline-block!important;font-size:8.5px!important;line-height:1!important;color:#1a1006!important;min-width:9px;text-align:center;-webkit-text-fill-color:#1a1006}
