/* Local studio experiment: isolated from all other theme components. */
.tdc-loadouts-page { background:transparent; }
/* Reuse the theme's container instead of the independent 1320px layout. */
.ld-shell { --line:#303b48; max-width:var(--max,1180px); font-family:inherit; }
.ld-display .ld-unlock-level { display:table; padding:5px 9px; margin:8px 0 0; border:1px solid #724052; border-radius:5px; color:#ffc0cc; font-size:11px; font-weight:700; letter-spacing:1px; line-height:1.4; background:#ef49640a; }
.ld-unlock-note { margin:8px 0 0; color:#dfc899; font-size:10px; line-height:1.5; }
.ld-display[data-ld-game=battlefield] .ld-showcase>img { width:88%; max-width:680px; max-height:225px; }
.ld-shell :is(.ld-armory,.ld-roster,.ld-workbench,.ld-display,.ld-build,.ld-bottom,.ld-toolbar,.ld-masthead,.ld-game-tabs,.ld-inspector) { min-width:0; max-width:100%; }
.ld-shell :is(.ld-masthead,.ld-toolbar,.ld-display-top,.ld-display-bottom,.ld-inspector)>* { min-width:0; }
.ld-shell .ld-bottom { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }
.ld-shell .ld-bottom dl { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.ld-shell .ld-prose :is(img,video,iframe) { max-width:100%; }
.ld-shell .ld-prose pre { max-width:100%; overflow-x:auto; }
.ld-shell .ld-showcase { overflow:hidden; }
.ld-shell .ld-attachment { min-width:0; overflow-wrap:anywhere; }
@media(max-width:1050px) { .ld-shell .ld-bottom { grid-template-columns:minmax(0,1fr); } }
.ld-game-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:0 0 16px; }
.ld-game-tab { --game-accent:#f34c68; display:flex; align-items:center; gap:18px; padding:19px 23px; min-width:0; border:1px solid #354150; border-radius:10px; background:#111b26; transition:border-color .2s,background .2s; }
.ld-game-tab[data-game=battlefield] { --game-accent:#67d3cf; }
.ld-game-tab>b { font-size:30px; font-weight:900; font-style:italic; letter-spacing:-.05em; color:#738394; }
.ld-game-tab>span { font-size:18px; font-weight:800; }
.ld-game-tab small { display:block; margin-top:5px; font-size:8px; font-weight:400; letter-spacing:.17em; color:#8b9bac; }
.ld-game-tab>i { font-style:normal; margin-left:auto; color:#778797; }
.ld-game-tab:hover,.ld-game-tab.is-active { border-color:var(--game-accent); background:linear-gradient(120deg,#263442,#111924); }
.ld-game-tab.is-active { box-shadow:inset 0 -3px 0 var(--game-accent); }
.ld-game-tab.is-active>b,.ld-game-tab.is-active>i,.ld-game-tab.is-active small { color:var(--game-accent); }
.ld-masthead { border-left:3px solid #f33d58; padding-left:18px; }
.ld-kicker { color:#b2bdca; }
.ld-local { color:#ff9baa; background:#ee31520b; border-color:#843248; }
.ld-toolbar,.ld-roster,.ld-bottom { border-radius:10px; }
@media(min-width:721px) {
    .ld-shell .ld-roster { max-height:var(--ld-workbench-height,900px); overflow-y:auto; overflow-x:hidden; scrollbar-width:thin; scrollbar-color:#724052 #0d141a; }
    .ld-roster-head { position:sticky; top:0; z-index:2; background:#0d141a; }
}
.ld-display { border-radius:14px; background:radial-gradient(ellipse at 65% 60%,#3c283a 0,transparent 63%),linear-gradient(125deg,#152432,#080e16 75%); }
.ld-display h2 { font-style:italic; letter-spacing:-.045em; }
.ld-display-top { align-items:center; }
.ld-display-top>span:last-child { border:1px solid #803044; padding:6px 9px; border-radius:3px; background:#ed315510; }
.ld-showcase { height:285px; isolation:isolate; margin-top:5px; background-image:linear-gradient(#78879c09 1px,transparent 1px),linear-gradient(90deg,#78879c09 1px,transparent 1px); background-size:36px 36px; }
.ld-signature { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; flex-direction:column; pointer-events:none; transform:skew(-10deg); z-index:-1; user-select:none; }
.ld-signature b { font-size:clamp(100px,17vw,225px); line-height:.86; font-weight:900; letter-spacing:-.08em; color:transparent; -webkit-text-stroke:1px #8d6c813f; text-shadow:8px 9px 0 #ba36560d; }
.ld-signature span { margin-top:16px; font-size:10px; font-weight:800; letter-spacing:.7em; color:#b98e9d60; }
.ld-reticle { position:absolute; inset:26px 7% 35px; border:1px solid #8b8d9a16; clip-path:polygon(0 0,12% 0,12% 3%,88% 3%,88% 0,100% 0,100% 100%,88% 100%,88% 97%,12% 97%,12% 100%,0 100%); pointer-events:none; }
.ld-showcase>img { max-height:220px; transform:none; filter:drop-shadow(0 24px 14px #000b); animation:ld-studio-arrive .65s ease-out both; }
.ld-studio-label { position:absolute; bottom:7px; left:0; font-size:8px; color:#8b99a9; letter-spacing:.16em; }
.ld-showcase:after { bottom:40px; background:#000b; }
.ld-build-hint { margin:0 0 13px; color:#94a3b5; font-size:11px; }
.ld-attachment { width:100%; text-align:left; color:#edf0f3; font-family:inherit; cursor:pointer; border-radius:8px; border-top:1px solid #343e48; position:relative; }
.ld-attachment[aria-pressed=true] { background:linear-gradient(145deg,#482430,#1b202b); border-color:#ef4964; box-shadow:inset 0 2px 0 #f2546e; }
.ld-attachment[aria-pressed=true]>span:after { content:' / SEÇİLİ'; font-size:8px; letter-spacing:.05em; }
.ld-inspector { display:flex; align-items:center; gap:17px; margin-top:12px; padding:20px; min-width:0; border:1px solid #743145; border-radius:8px; background:linear-gradient(100deg,#25151f,#0d1721); }
.ld-shell [hidden] { display:none!important; }
.ld-inspector-mark { display:grid; place-items:center; flex-shrink:0; width:42px; height:42px; border:1px solid #a0455c; color:#ff6680; border-radius:8px; font-size:24px; }
.ld-inspector small { display:block; color:#ff889d; font-size:9px; letter-spacing:.12em; text-transform:uppercase; }
.ld-inspector strong { display:block; margin-top:6px; font-size:18px; line-height:1.35; }
.ld-inspector p { font-size:10px; color:#94a4b8; margin:7px 0 0; }
.ld-inspector-tag { margin-left:auto; flex-shrink:0; font-size:8px; letter-spacing:.12em; color:#ba879a; }
@keyframes ld-studio-arrive { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@media(max-width:720px) {
    .ld-shell.container { width:calc(100% - 24px)!important; }
    .ld-game-tabs { gap:9px; }
    .ld-game-tab { padding:15px 12px; gap:8px; align-items:flex-start; flex-direction:column; }
    .ld-game-tab>b { font-size:24px; }
    .ld-game-tab>span { font-size:14px; }
    .ld-game-tab small { font-size:7px; letter-spacing:.08em; }
    .ld-game-tab>i { display:none; }
    .ld-showcase { height:210px; }
    .ld-signature b { font-size:130px; }
    .ld-signature span { font-size:8px; letter-spacing:.5em; }
    .ld-showcase>img { max-height:155px; }
    .ld-display[data-ld-game=battlefield] .ld-showcase>img { max-height:155px; width:90%; }
    .ld-inspector { padding:15px 12px; gap:12px; }
    .ld-inspector strong { font-size:15px; }
    .ld-inspector-tag { display:none; }
    .ld-display-top { letter-spacing:.03em; gap:8px; }
}
@media(prefers-reduced-motion:reduce) { .ld-showcase>img { animation:none; } }
