:root{
  --qt-shell-pad:12px;
  --qt-shell-max:100%;
}

@media (min-width:576px){ :root{ --qt-shell-max:540px; } }
@media (min-width:768px){ :root{ --qt-shell-max:720px; } }
@media (min-width:992px){ :root{ --qt-shell-max:960px; } }
@media (min-width:1200px){ :root{ --qt-shell-max:1140px; } }
@media (min-width:1400px){ :root{ --qt-shell-max:1320px; } }

@media (max-width:560px){
  :root{
    --qt-shell-pad:10px;
  }
}

/* =========================================================
   PLATFORM.CSS — CLEAN / LIGHT / SINGLE SOURCE
   - Category hero diliyle uyumlu kompakt hero
   - Breadcrumb başlığın üstünde / solda
   - SVG FIRST
   - Hafif grid / hafif kartlar
   ========================================================= */

.qt-plat{
  --ink:var(--qt-ink,#0f172a);
  --muted:var(--qt-muted,#64748b);
  --ac:var(--accent,var(--qt-platform-default,#6A7EFF));
  --bd:rgba(15,23,42,.10);

  --heroBox:48px;
  --heroSvg:22px;

  --chipBox:36px;
  --goBox:30px;
  --dot:8px;

  color:var(--ink);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

.qt-plat,
.qt-plat *{
  box-sizing:border-box;
}

.qt-plat :where(h1,h2,h3,p,ul,li,ol){
  margin:0;
  padding:0;
}

.qt-plat :where(ul,ol){
  list-style:none;
}

.qt-plat :where(a){
  text-decoration:none;
  color:inherit;
}

.qt-plat :where(svg.qt-ic,.qt-ic){
  width:1em;
  height:1em;
  display:block;
  flex:0 0 auto;
  line-height:0;
}

.qt-plat .qt-ic{
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.qt-plat .qt-ic use{
  pointer-events:none;
}

.qt-plat i[class*="fa"]{
  display:none !important;
}

/* =========================================================
   BLEED WRAP
   ========================================================= */
.qt-plat-bleed{
  width:100%;
  max-width:none;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  position:relative;
  overflow-x:clip;
  padding:10px 0 14px;
  background:
    radial-gradient(880px 220px at 50% 0%, color-mix(in srgb,var(--ac) 8%, transparent), transparent 68%),
    linear-gradient(180deg, rgba(240,244,250,.72), rgba(232,238,247,.38));
}

.qt-plat-bleed::before{
  content:none;
}

.qt-plat-shell{
  width:100%;
  max-width:var(--qt-shell-max, 1320px);
  padding-left:var(--qt-shell-pad, 12px);
  padding-right:var(--qt-shell-pad, 12px);
  margin:0 auto;
  position:relative;
  z-index:1;
}

/* =========================================================
   HERO
   ========================================================= */
.qt-plat-hero{
  position:relative;
  margin:12px 0 12px;
  border:1px solid var(--bd);
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,253,.84));
  box-shadow:0 10px 28px rgba(2,6,23,.06);
}

.qt-plat-hero::before{
  content:none;
}

.qt-plat-hero-inner{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;
}

.qt-plat-badge{
  width:var(--heroBox);
  height:var(--heroBox);
  flex:0 0 var(--heroBox);
  border-radius:14px;
  display:grid;
  place-items:center;
  align-self:center;
  color:#fff;
  background:var(--ac);
  box-shadow:0 8px 18px rgba(2,6,23,.12);
}

.qt-plat-badge .qt-ic{
  width:var(--heroSvg);
  height:var(--heroSvg);
  display:block;
  color:currentColor;
}

.qt-plat-badge .qt-ic *{
  vector-effect:non-scaling-stroke;
}

.qt-plat-badge .qt-ic [fill]:not([fill="none"]){
  fill:currentColor;
}

.qt-plat-badge .qt-ic [stroke]{
  stroke:currentColor;
}

.qt-plat-hero-txt{
  min-width:0;
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
}

.qt-plat-breadcrumb{
  margin:0 0 8px;
}

.qt-plat-breadcrumb--hero{
  max-width:100%;
}

.qt-plat-breadcrumb__list{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  align-items:center;
  gap:8px;
  margin:0;
  padding:0;
}

.qt-plat-breadcrumb__item,
.qt-plat-breadcrumb__sep{
  font-size:13px;
  line-height:1.35;
}

.qt-plat-breadcrumb__item{
  color:rgba(18,27,52,.60);
}

.qt-plat-breadcrumb__item a{
  color:rgba(18,27,52,.60);
  text-decoration:none;
  transition:color .18s ease, opacity .18s ease;
}

.qt-plat-breadcrumb__item a:hover{
  color:var(--ac);
}

.qt-plat-breadcrumb__sep{
  color:rgba(18,27,52,.34);
  user-select:none;
}

.qt-plat-breadcrumb__item.is-current{
  color:var(--ac);
  font-weight:700;
}

.qt-plat-hero-title{
  margin:0 0 4px;
  min-width:0;
  font-size:22px;
  line-height:1.15;
  letter-spacing:-.02em;
  font-weight:950;
  color:#0b1220;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.qt-plat-hero-desc{
  margin:0;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.55;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
}

/* =========================================================
   MAIN / GRID
   ========================================================= */
.qt-plat-main{
  position:relative;
}

.qt-plat-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}

@media (min-width:980px){
  .qt-plat-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
  }
}

@supports (content-visibility:auto){
  .qt-plat-grid{
    content-visibility:auto;
    contain-intrinsic-size:820px;
  }
}

/* =========================================================
   CARD
   ========================================================= */
.qt-plat-card{
  position:relative;
  display:grid;
  grid-template-columns:var(--chipBox) minmax(0,1fr) var(--goBox);
  align-items:center;
  gap:10px;
  min-height:58px;
  padding:10px;
  border:1px solid rgba(15,23,42,.10);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,253,.86));
  box-shadow:0 8px 18px -14px rgba(15,23,42,.22);
  overflow:hidden;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.qt-plat-card::before{
  content:none;
}

.qt-plat-card::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:2px;
  background:var(--ac);
  opacity:.20;
  pointer-events:none;
}

.qt-plat-card:hover{
  transform:translateY(-2px);
  border-color:rgba(15,23,42,.14);
  box-shadow:0 12px 22px -16px rgba(15,23,42,.28);
}

.qt-plat-card:focus-visible{
  outline:none;
  border-color:rgba(15,23,42,.16);
  box-shadow:
    0 0 0 4px color-mix(in srgb,var(--ac) 10%, transparent),
    0 12px 22px -16px rgba(15,23,42,.28);
}

/* =========================================================
   LEFT ICON CHIP
   ========================================================= */
.qt-plat-ico{
  width:var(--chipBox);
  height:var(--chipBox);
  border-radius:12px;
  display:grid;
  place-items:center;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  color:var(--ac);
  box-shadow:0 4px 10px rgba(15,23,42,.04);
  position:relative;
}

.qt-plat-ico::before{
  content:"";
  width:var(--dot);
  height:var(--dot);
  border-radius:999px;
  background:currentColor;
}

/* =========================================================
   TITLE
   ========================================================= */
.qt-plat-title{
  min-width:0;
  font-size:.92rem;
  line-height:1.22;
  font-weight:900;
  letter-spacing:-.015em;
  color:var(--ink);
  white-space:normal;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* =========================================================
   RIGHT GO
   ========================================================= */
.qt-plat-go{
  justify-self:end;
  width:var(--goBox);
  height:var(--goBox);
  border-radius:10px;
  display:grid;
  place-items:center;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  color:var(--ac);
  transition:transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}

.qt-plat-card:hover .qt-plat-go{
  transform:translateX(1px);
  background:var(--ac);
  color:#fff;
  border-color:transparent;
}

/* =========================================================
   MOBILE / TABLET
   ========================================================= */
@media (max-width:640px){
  .qt-plat{
    --heroBox:46px;
    --heroSvg:21px;
    --chipBox:34px;
    --goBox:28px;
    --dot:8px;
  }

  .qt-plat-bleed{
    padding:8px 0 12px;
  }

  .qt-plat-hero{
    margin:10px 0 10px;
    border-radius:20px;
  }

  .qt-plat-hero-inner{
    padding:12px;
    gap:12px;
  }

  .qt-plat-breadcrumb{
    margin:0 0 7px;
  }

  .qt-plat-breadcrumb__item,
  .qt-plat-breadcrumb__sep{
    font-size:12px;
    line-height:1.3;
  }

  .qt-plat-hero-title{
    font-size:20px;
    line-height:1.12;
  }

  .qt-plat-hero-desc{
    font-size:.90rem;
    line-height:1.45;
  }

  .qt-plat-grid{
    gap:8px;
  }

  .qt-plat-card{
    min-height:54px;
    padding:9px;
    gap:9px;
    border-radius:16px;
  }

  .qt-plat-title{
    font-size:.92rem;
    line-height:1.14;
  }

  .qt-plat-go{
    border-radius:9px;
  }
}

@media (prefers-reduced-motion:reduce){
  .qt-plat-card,
  .qt-plat-go{
    transition:none !important;
  }
}

/* =========================================================
   PLATFORM ACCENTS
   ========================================================= */
.qt-plat.platform-telegram{ --ac:var(--qt-platform-telegram,#229ED9); }
.qt-plat.platform-twitter{ --ac:var(--qt-platform-twitter,#1D9BF0); }
.qt-plat.platform-instagram{ --ac:var(--qt-platform-instagram,#E1306C); }
.qt-plat.platform-youtube{ --ac:var(--qt-platform-youtube,#FF0000); }
.qt-plat.platform-tiktok{ --ac:var(--qt-platform-tiktok,#111827); }
.qt-plat.platform-facebook{ --ac:var(--qt-platform-facebook,#1877F2); }
.qt-plat.platform-linkedin{ --ac:var(--qt-platform-linkedin,#0A66C2); }
.qt-plat.platform-spotify{ --ac:var(--qt-platform-spotify,#1DB954); }
.qt-plat.platform-soundcloud{ --ac:var(--qt-platform-soundcloud,#FF5500); }
.qt-plat.platform-whatsapp{ --ac:var(--qt-platform-whatsapp,#25D366); }
.qt-plat.platform-kick{ --ac:var(--qt-platform-kick,#00E701); }
.qt-plat.platform-pinterest{ --ac:var(--qt-platform-pinterest,#E60023); }
.qt-plat.platform-twitch{ --ac:var(--qt-platform-twitch,#9146FF); }
.qt-plat.platform-snapchat{ --ac:var(--qt-platform-snapchat,#FFFC00); }