/* Ortak renkler, kartlar ve butonlar; ana sayfa; karakter testi. */
:root{
      --bg:#0f1220;
      --card:#181c2e;
      --card2:#20263d;
      --text:#f4f6fb;
      --muted:#aab2c8;
      --accent:#7c5cff;
      --accent2:#30d5c8;
      --danger:#ff6b81;
      --shadow:0 20px 60px rgba(0,0,0,.35);
      --radius:22px;
    }
    *{box-sizing:border-box}
    body{
      margin:0;
      font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
      background:
        radial-gradient(circle at 10% 10%, rgba(124,92,255,.22), transparent 30%),
        radial-gradient(circle at 90% 20%, rgba(48,213,200,.15), transparent 30%),
        var(--bg);
      color:var(--text);
      min-height:100vh;
    }
    .wrap{
      width:min(960px,92vw);
      margin:0 auto;
      padding:42px 0 70px;
    }
    .card{
      background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.01)),var(--card);
      border:1px solid rgba(255,255,255,.08);
      border-radius:var(--radius);
      box-shadow:var(--shadow);
      padding:34px;
    }
    .hidden{display:none!important}
    .hero{
      min-height:72vh;
      display:flex;
      align-items:center;
      justify-content:center;
    }
    .hero-inner{
      text-align:center;
      max-width:760px;
      margin:auto;
    }
    .badge{
      display:inline-block;
      padding:8px 13px;
      border-radius:999px;
      background:rgba(124,92,255,.14);
      border:1px solid rgba(124,92,255,.35);
      color:#d9d1ff;
      font-size:14px;
      margin-bottom:18px;
    }
    h1{
      font-size:clamp(34px,6vw,64px);
      line-height:1.02;
      margin:0 0 18px;
      letter-spacing:-1.5px;
    }
    .lead{
      font-size:clamp(17px,2.4vw,21px);
      color:var(--muted);
      line-height:1.6;
      margin:0 auto 28px;
      max-width:680px;
    }
    .start-btn,.next-btn,.restart-btn{
      border:0;
      border-radius:14px;
      padding:15px 24px;
      font-size:17px;
      font-weight:700;
      cursor:pointer;
      background:linear-gradient(135deg,var(--accent),#5f8cff);
      color:white;
      box-shadow:0 10px 30px rgba(124,92,255,.28);
      transition:.2s ease;
    }
    button:hover{transform:translateY(-1px)}
    .fine{
      color:var(--muted);
      font-size:13px;
      margin-top:18px;
    }
    .progress-row{
      display:flex;
      justify-content:space-between;
      gap:16px;
      color:var(--muted);
      font-size:14px;
      margin-bottom:12px;
    }
    .progress{
      width:100%;
      height:10px;
      border-radius:999px;
      background:#0c0f1b;
      overflow:hidden;
      margin-bottom:28px;
    }
    .progress > div{
      height:100%;
      width:0%;
      background:linear-gradient(90deg,var(--accent),var(--accent2));
      transition:width .25s ease;
    }
    .question{
      font-size:clamp(24px,4vw,34px);
      line-height:1.3;
      margin:0 0 24px;
    }
    .answers{
      display:grid;
      gap:13px;
    }
    .answer{
      text-align:left;
      width:100%;
      padding:17px 18px;
      border-radius:16px;
      border:1px solid rgba(255,255,255,.09);
      background:var(--card2);
      color:var(--text);
      cursor:pointer;
      font-size:16px;
      line-height:1.45;
      transition:.18s ease;
    }
    .answer:hover{
      border-color:rgba(124,92,255,.75);
      background:#272e49;
    }
    .answer.selected{
      border-color:var(--accent2);
      outline:2px solid rgba(48,213,200,.18);
      background:#243743;
    }
    .actions{
      display:flex;
      justify-content:flex-end;
      margin-top:22px;
    }
    .next-btn:disabled{
      opacity:.45;
      cursor:not-allowed;
      transform:none;
      box-shadow:none;
    }
    .result-head{
      text-align:center;
      margin-bottom:28px;
    }
    .emoji{
      font-size:64px;
      margin-bottom:8px;
    }
    .result-title{
      font-size:clamp(34px,5vw,52px);
      margin:0 0 6px;
    }
    .match{
      color:var(--accent2);
      font-weight:800;
      font-size:20px;
    }
    .summary{
      color:var(--muted);
      line-height:1.7;
      max-width:700px;
      margin:18px auto 0;
    }
    .traits{
      display:grid;
      gap:14px;
      margin:32px 0;
    }
    .trait-row{
      display:grid;
      grid-template-columns:110px 1fr 58px;
      gap:12px;
      align-items:center;
    }
    .trait-name{font-weight:700}
    .bar{
      height:12px;
      background:#0d1020;
      border-radius:999px;
      overflow:hidden;
    }
    .bar > div{
      height:100%;
      background:linear-gradient(90deg,var(--accent),var(--accent2));
      border-radius:999px;
    }
    .trait-val{text-align:right;color:#d7dded;font-weight:700}
    .insight-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:16px;
      margin-top:26px;
    }
    .insight{
      background:var(--card2);
      border:1px solid rgba(255,255,255,.07);
      border-radius:16px;
      padding:18px;
    }
    .insight strong{
      display:block;
      color:#fff;
      margin-bottom:7px;
    }
    .insight p{
      margin:0;
      color:var(--muted);
      line-height:1.55;
    }
    .confidence{
      margin-top:22px;
      padding:15px 17px;
      background:rgba(48,213,200,.08);
      border:1px solid rgba(48,213,200,.18);
      border-radius:14px;
      color:#c8fff9;
    }
    .footer-actions{
      display:flex;
      justify-content:center;
      margin-top:30px;
    }

    .home-head{
      text-align:center;
      max-width:820px;
      margin:28px auto 34px;
    }
    .home-head h1{
      margin-bottom:14px;
    }
    .test-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:18px;
    }
    .test-card{
      position:relative;
      background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012)),var(--card);
      border:1px solid rgba(255,255,255,.08);
      border-radius:20px;
      padding:24px;
      box-shadow:0 14px 40px rgba(0,0,0,.22);
      min-height:300px;
      display:flex;
      flex-direction:column;
      align-items:flex-start;
      transition:.2s ease;
    }
    .test-card:hover{
      transform:translateY(-3px);
      border-color:rgba(124,92,255,.28);
    }
    .test-card.featured{
      background:
        radial-gradient(circle at 100% 0%, rgba(48,213,200,.13), transparent 35%),
        radial-gradient(circle at 0% 0%, rgba(124,92,255,.18), transparent 40%),
        var(--card);
      border-color:rgba(124,92,255,.42);
    }
    .test-icon{
      font-size:42px;
      margin-bottom:12px;
    }
    .test-identity{
      display:flex;
      align-items:center;
      gap:11px;
      margin-bottom:12px;
    }
    .test-identity .test-icon{
      margin-bottom:0;
      line-height:1;
    }
    .test-folder{
      color:#e8e4ff;
      background:rgba(124,92,255,.13);
      border:1px solid rgba(124,92,255,.25);
      border-radius:999px;
      padding:6px 10px;
      font-size:13px;
      font-weight:800;
      letter-spacing:.2px;
    }
    .test-tag{
      font-size:12px;
      font-weight:800;
      letter-spacing:.3px;
      color:#bffaf4;
      background:rgba(48,213,200,.09);
      border:1px solid rgba(48,213,200,.18);
      padding:6px 9px;
      border-radius:999px;
      margin-bottom:12px;
    }
    .test-tag.soon{
      color:#d8dcee;
      background:rgba(255,255,255,.05);
      border-color:rgba(255,255,255,.08);
    }
    .test-card h2{
      font-size:25px;
      line-height:1.2;
      margin:0 0 12px;
    }
    .test-card p{
      color:var(--muted);
      line-height:1.6;
      margin:0 0 22px;
    }
    .test-card .start-btn,
    .test-card .ghost-btn{
      margin-top:auto;
    }
    .ghost-btn{
      border:1px solid rgba(255,255,255,.08);
      background:#20263a;
      color:#858da5;
      border-radius:14px;
      padding:14px 21px;
      font-weight:700;
      font-size:15px;
      cursor:not-allowed;
    }
    a.ghost-btn{
      text-decoration:none;
      cursor:pointer;
    }
    a.ghost-btn:hover{
      color:var(--text);
      border-color:rgba(124,92,255,.35);
    }


    .mode-label{
      display:inline-flex;
      align-items:center;
      gap:7px;
      padding:7px 10px;
      border-radius:999px;
      background:rgba(255,255,255,.055);
      border:1px solid rgba(255,255,255,.08);
      color:#cfd6ea;
      font-size:12px;
      font-weight:800;
      letter-spacing:.2px;
      margin-bottom:14px;
    }
    .scene{
      min-height:185px;
      border-radius:18px;
      margin-bottom:20px;
      display:flex;
      align-items:center;
      justify-content:center;
      text-align:center;
      padding:20px;
      position:relative;
      overflow:hidden;
      background:linear-gradient(135deg,#1b2140,#11182c);
      border:1px solid rgba(255,255,255,.08);
    }
    .scene::before,.scene::after{
      content:"";
      position:absolute;
      border-radius:50%;
      filter:blur(2px);
      opacity:.7;
    }
    .scene::before{
      width:190px;height:190px;
      background:rgba(124,92,255,.18);
      left:-60px;top:-80px;
    }
    .scene::after{
      width:160px;height:160px;
      background:rgba(48,213,200,.13);
      right:-40px;bottom:-70px;
    }
    .scene-icon{
      font-size:74px;
      line-height:1;
      filter:drop-shadow(0 10px 24px rgba(0,0,0,.35));
      z-index:1;
    }
    .scene-image{max-width:100%;max-height:190px;object-fit:contain;border-radius:12px}
    .scene-caption{
      margin-top:10px;
      color:#c9d0e2;
      font-size:14px;
      z-index:1;
    }
    .visual-answers{
      grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .visual-answer{
      min-height:142px;
      display:flex;
      flex-direction:column;
      justify-content:flex-end;
      position:relative;
      overflow:hidden;
      padding-top:58px;
    }
    .visual-answer .answer-icon{
      position:absolute;
      top:16px;
      left:18px;
      font-size:34px;
    }
    .visual-answer .answer-text{
      font-weight:700;
    }
    .duel{
      grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .duel .answer{
      min-height:170px;
      text-align:center;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      font-size:18px;
      font-weight:800;
    }
    .duel .answer-icon{
      font-size:42px;
      margin-bottom:14px;
    }
    .quick-note{
      padding:11px 13px;
      border-radius:12px;
      background:rgba(255,107,129,.08);
      border:1px solid rgba(255,107,129,.18);
      color:#ffd7de;
      margin-bottom:14px;
      font-size:13px;
      font-weight:700;
    }
    .mystery-note{
      padding:11px 13px;
      border-radius:12px;
      background:rgba(124,92,255,.10);
      border:1px solid rgba(124,92,255,.22);
      color:#ded7ff;
      margin-bottom:14px;
      font-size:13px;
    }
    @media(max-width:680px){
      .visual-answers,.duel{grid-template-columns:1fr}
      .scene{min-height:145px}
      .scene-icon{font-size:58px}
    }

    @media(max-width:680px){
      .card{padding:24px}
      .trait-row{grid-template-columns:86px 1fr 50px}
      .insight-grid{grid-template-columns:1fr}
      .wrap{padding-top:20px}
      .test-grid{grid-template-columns:1fr}
      .test-card{min-height:auto}
    }

/* Sayfalar arası bağlantılar */
.start-btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}
.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--muted);
  text-decoration: none;
}
.back-link:hover,
.back-link:focus-visible {
  color: var(--text);
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent2);
  outline-offset: 3px;
}

/* Karakter testinin içeriği sayfa üzerinde serbest durur. */
.character-page .wrap {
  width: min(800px, calc(100% - 32px));
}

/* Standart üç dosyalı test şablonu. */
.template-test-page .wrap{width:min(800px,calc(100% - 32px))}
.template-test-page #quizScreen .scene{
  min-height:160px;margin:5px 0 27px;padding:16px 0;overflow:visible;border:0;border-radius:0;
  background:
    radial-gradient(ellipse 36% 58% at 46% 42%,color-mix(in srgb,var(--accent) 18%,transparent),transparent 100%),
    radial-gradient(ellipse 30% 54% at 64% 66%,color-mix(in srgb,var(--accent2) 12%,transparent),transparent 100%);
}
.template-test-page #quizScreen .scene::before,.template-test-page #quizScreen .scene::after{display:none}
.template-test-page .answer{display:flex;align-items:center;gap:15px}
.template-test-page .answer-icon{flex:none;font-size:27px}
.template-test-page .answer-text{font-weight:700}
.template-test-page .answer-detail[hidden]{display:none}
.template-test-page .answer-detail{display:block;color:var(--muted);font-size:13px;line-height:1.45}
.template-test-page .doors{grid-template-columns:repeat(2,minmax(0,1fr))}
.template-test-page .doors .answer{min-height:210px;display:flex;flex-direction:column;justify-content:center;text-align:center}
.template-test-page .doors .answer-icon{font-size:42px}
.template-test-page .doors .answer-text{font-size:19px}

.guclu-yon-page{--accent:#dbaf42;--accent2:#46c8aa}
.guclu-yon-page #quizScreen .mode-label{
  color:#ffe8a0;
  background:rgba(219,175,66,.09);
  border-color:rgba(219,175,66,.22);
}
.guclu-yon-page #quizScreen .scene{
  min-height:138px;
  justify-content:flex-start;
  padding:14px 0 22px;
  background:
    radial-gradient(ellipse 26% 75% at 12% 50%,rgba(219,175,66,.20),transparent 100%),
    linear-gradient(90deg,rgba(219,175,66,.045),transparent 65%);
}
.guclu-yon-page #quizScreen .scene > div{
  width:100%;
  display:grid;
  grid-template-columns:96px minmax(0,1fr);
  align-items:center;
  gap:24px;
  text-align:left;
}
.guclu-yon-page #quizScreen .scene-icon{
  width:92px;
  height:92px;
  display:grid;
  place-items:center;
  border-radius:34px 14px 34px 14px;
  font-size:52px;
  background:linear-gradient(145deg,rgba(219,175,66,.18),rgba(70,200,170,.08));
  box-shadow:0 14px 34px rgba(0,0,0,.20),inset 0 0 0 1px rgba(255,232,160,.12);
}
.guclu-yon-page #quizScreen .scene-caption{
  margin:0;
  max-width:520px;
  color:#e9e2cf;
  font-size:16px;
  line-height:1.6;
}
.karanlik-taraf-page{--accent:#9a6ee8;--accent2:#e06482}
.karanlik-taraf-page #quizScreen .mode-label{
  color:#f0d9ff;
  background:rgba(154,110,232,.10);
  border-color:rgba(224,100,130,.20);
}
.karanlik-taraf-page #quizScreen .scene{
  min-height:145px;
  justify-content:flex-start;
  padding:16px 0 24px;
  background:
    radial-gradient(ellipse 28% 85% at 88% 50%,rgba(224,100,130,.15),transparent 100%),
    linear-gradient(270deg,rgba(154,110,232,.07),transparent 72%);
}
.karanlik-taraf-page #quizScreen .scene > div{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) 102px;
  align-items:center;
  gap:24px;
  text-align:left;
}
.karanlik-taraf-page #quizScreen .scene-icon{
  grid-column:2;
  grid-row:1;
  width:96px;
  height:96px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:52px;
  background:radial-gradient(circle,rgba(154,110,232,.20),rgba(12,14,28,.12) 68%);
  box-shadow:0 0 38px rgba(154,110,232,.16),inset 0 0 0 1px rgba(224,100,130,.10);
}
.karanlik-taraf-page #quizScreen .scene-caption{
  grid-column:1;
  grid-row:1;
  margin:0;
  max-width:540px;
  color:#ddd5e9;
  font-size:17px;
  line-height:1.6;
}
.iliskiler-page{--accent:#e86f92;--accent2:#9f87ee}
.iliskiler-page #quizScreen .mode-label{
  color:#ffd8e5;
  background:rgba(232,111,146,.09);
  border-color:rgba(159,135,238,.22);
}
.iliskiler-page #quizScreen .scene{
  min-height:150px;
  padding:14px 0 22px;
  background:
    radial-gradient(circle at 43% 43%,rgba(232,111,146,.14),transparent 24%),
    radial-gradient(circle at 57% 43%,rgba(159,135,238,.13),transparent 24%);
}
.iliskiler-page #quizScreen .scene > div{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:17px;
  text-align:center;
}
.iliskiler-page #quizScreen .scene-icon{
  position:relative;
  z-index:0;
  width:86px;
  height:76px;
  display:grid;
  place-items:center;
  font-size:44px;
}
.iliskiler-page #quizScreen .scene-icon::before,
.iliskiler-page #quizScreen .scene-icon::after{
  content:"";
  position:absolute;
  z-index:-1;
  width:64px;
  height:64px;
  border:1px solid rgba(232,111,146,.28);
  border-radius:50%;
  background:rgba(232,111,146,.08);
}
.iliskiler-page #quizScreen .scene-icon::before{left:0}
.iliskiler-page #quizScreen .scene-icon::after{
  right:0;
  border-color:rgba(159,135,238,.28);
  background:rgba(159,135,238,.08);
}
.iliskiler-page #quizScreen .scene-caption{
  max-width:580px;
  margin:0;
  color:#eadfe7;
  font-size:16px;
  line-height:1.55;
}
.insanlari-okuma-page{--accent:#5cb9e8;--accent2:#8bd0b4}
.insanlari-okuma-page #quizScreen .mode-label{
  color:#cdefff;
  background:rgba(92,185,232,.09);
  border-color:rgba(139,208,180,.22);
}
.insanlari-okuma-page #quizScreen .scene{
  min-height:150px;
  padding:14px 0 22px;
  background:
    radial-gradient(circle at 50% 43%,rgba(92,185,232,.14),transparent 24%),
    linear-gradient(90deg,transparent 10%,rgba(139,208,180,.06) 50%,transparent 90%);
}
.insanlari-okuma-page #quizScreen .scene > div{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  text-align:center;
}
.insanlari-okuma-page #quizScreen .scene-icon{
  position:relative;
  width:82px;
  height:82px;
  display:grid;
  place-items:center;
  border:2px solid rgba(139,208,180,.28);
  border-radius:50%;
  font-size:45px;
  background:rgba(11,20,36,.52);
  box-shadow:0 0 0 9px rgba(92,185,232,.045),0 12px 34px rgba(0,0,0,.22);
}
.insanlari-okuma-page #quizScreen .scene-icon::after{
  content:"";
  position:absolute;
  right:-13px;
  bottom:-8px;
  width:28px;
  height:7px;
  border-radius:7px;
  background:rgba(139,208,180,.38);
  transform:rotate(45deg);
}
.insanlari-okuma-page #quizScreen .scene-caption{
  max-width:580px;
  margin:0;
  color:#d9eaf0;
  font-size:16px;
  line-height:1.55;
}
.mantik-duygu-page{--accent:#6e9ee8;--accent2:#e77894}
.mantik-duygu-page #quizScreen .mode-label{
  color:#e1e8ff;
  background:linear-gradient(90deg,rgba(110,158,232,.10),rgba(231,120,148,.10));
  border-color:rgba(190,154,216,.24);
}
.mantik-duygu-page #quizScreen .scene{
  min-height:150px;
  padding:14px 0 22px;
  background:
    radial-gradient(ellipse 34% 70% at 34% 50%,rgba(110,158,232,.15),transparent 100%),
    radial-gradient(ellipse 34% 70% at 66% 50%,rgba(231,120,148,.13),transparent 100%);
}
.mantik-duygu-page #quizScreen .scene > div{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  text-align:center;
}
.mantik-duygu-page #quizScreen .scene-icon{
  width:92px;
  height:76px;
  display:grid;
  place-items:center;
  border-radius:38px;
  font-size:43px;
  background:linear-gradient(90deg,rgba(110,158,232,.18) 0 49.5%,rgba(231,120,148,.18) 50.5% 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 13px 34px rgba(0,0,0,.20);
}
.mantik-duygu-page #quizScreen .scene-caption{
  max-width:580px;
  margin:0;
  color:#e6e1ee;
  font-size:16px;
  line-height:1.55;
}
.algi-tipi-page{--accent:#58c3b5;--accent2:#8d82e8}
.algi-tipi-page #quizScreen .mode-label{
  color:#d7fff9;
  background:rgba(88,195,181,.09);
  border-color:rgba(141,130,232,.22);
}
.algi-tipi-page #quizScreen .scene{
  min-height:170px;
  padding:16px 0 24px;
  background:
    radial-gradient(circle at 36% 42%,rgba(88,195,181,.13),transparent 27%),
    radial-gradient(circle at 64% 55%,rgba(141,130,232,.13),transparent 29%);
}
.algi-tipi-page #quizScreen .scene > div{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  text-align:center;
}
.algi-tipi-page #quizScreen .scene-icon{
  width:88px;
  height:88px;
  display:grid;
  place-items:center;
  border-radius:28px 50% 28px 50%;
  font-size:47px;
  background:linear-gradient(145deg,rgba(88,195,181,.16),rgba(141,130,232,.15));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 14px 34px rgba(0,0,0,.20);
}
.algi-tipi-page #quizScreen .scene-image{
  display:block;
  width:min(100%,640px);
  max-height:320px;
  object-fit:contain;
  border-radius:20px;
  box-shadow:0 18px 45px rgba(0,0,0,.25);
}
.algi-tipi-page #quizScreen .scene-image[hidden]{display:none!important}
.algi-tipi-page #quizScreen .scene-audio{
  width:min(100%,440px);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}
.algi-tipi-page #quizScreen .scene-audio span{
  color:#d7fff9;
  font-size:13px;
  font-weight:800;
}
.algi-tipi-page #quizScreen .scene-audio audio{
  width:100%;
  min-height:42px;
  accent-color:var(--accent);
}
.algi-tipi-page #quizScreen .scene-speech{
  min-height:44px;
  padding:10px 18px;
  border:1px solid rgba(88,195,181,.34);
  border-radius:999px;
  background:linear-gradient(90deg,rgba(88,195,181,.14),rgba(141,130,232,.13));
  color:#effffd;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}
.algi-tipi-page #quizScreen .scene-speech:hover{transform:translateY(-1px)}
.algi-tipi-page #quizScreen .scene-caption{
  max-width:620px;
  margin:0;
  color:#dce9e8;
  font-size:16px;
  line-height:1.55;
}
.algi-tipi-page #quizScreen .scene[data-media="image-audio"]{padding-top:8px}
.algi-tipi-page #quizScreen .media-gate{
  width:min(100%,560px);
  padding:28px 24px;
  border:1px solid rgba(141,130,232,.24);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(88,195,181,.08),rgba(141,130,232,.10));
  box-shadow:0 18px 45px rgba(0,0,0,.18);
}
.algi-tipi-page #quizScreen .media-gate-icon{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  margin:0 auto 13px;
  border-radius:50%;
  color:#dffffa;
  background:linear-gradient(145deg,rgba(88,195,181,.24),rgba(141,130,232,.24));
  box-shadow:0 0 28px rgba(88,195,181,.16);
  font-size:25px;
}
.algi-tipi-page #quizScreen .media-gate p{
  margin:0 0 18px;
  color:#dce9e8;
  line-height:1.55;
}
.algi-tipi-page #quizScreen .media-start{
  min-height:46px;
  padding:11px 20px;
  border:1px solid rgba(88,195,181,.36);
  border-radius:999px;
  color:#f2fffd;
  background:linear-gradient(100deg,#397f79,#655cb4);
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  font:inherit;
  font-weight:800;
  cursor:pointer;
}
.algi-tipi-page #quizScreen .media-start:hover{transform:translateY(-1px)}
.algi-tipi-page #quizScreen .media-status{
  color:#bffaf4;
  font-size:13px;
  font-weight:800;
  letter-spacing:.2px;
}
.algi-tipi-page #quizScreen .scene-video{
  width:min(100%,720px);
  aspect-ratio:16/9;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  border-radius:20px;
  background:#080b15;
  box-shadow:0 18px 45px rgba(0,0,0,.28);
}
.algi-tipi-page #quizScreen .scene-video iframe,
.algi-tipi-page #quizScreen .scene-video video,
.algi-tipi-page #quizScreen .youtube-player{
  width:100%;
  height:100%;
  border:0;
  object-fit:contain;
}
.algi-tipi-page #quizScreen .scene-video video[hidden]{display:none!important}
.baski-altinda-page{--accent:#ec7857;--accent2:#d9a441}
.baski-altinda-page #quizScreen .mode-label{
  color:#ffd9c9;
  background:rgba(236,120,87,.10);
  border-color:rgba(217,164,65,.24);
}
.baski-altinda-page #quizScreen .scene{
  min-height:150px;
  padding:14px 0 22px;
  background:radial-gradient(ellipse 35% 68% at 50% 42%,rgba(236,120,87,.16),transparent 100%);
}
.baski-altinda-page #quizScreen .scene > div{
  width:100%;
  display:grid;
  grid-template-columns:minmax(30px,1fr) 92px minmax(30px,1fr);
  align-items:center;
  gap:18px;
  text-align:center;
}
.baski-altinda-page #quizScreen .scene > div::before,
.baski-altinda-page #quizScreen .scene > div::after{
  content:"";
  height:2px;
  background:linear-gradient(90deg,transparent,rgba(236,120,87,.48));
}
.baski-altinda-page #quizScreen .scene > div::after{
  background:linear-gradient(90deg,rgba(217,164,65,.48),transparent);
}
.baski-altinda-page #quizScreen .scene-icon{
  width:86px;
  height:86px;
  display:grid;
  place-items:center;
  clip-path:polygon(25% 5%,75% 5%,98% 50%,75% 95%,25% 95%,2% 50%);
  font-size:45px;
  background:linear-gradient(145deg,rgba(236,120,87,.24),rgba(217,164,65,.10));
  filter:drop-shadow(0 13px 20px rgba(0,0,0,.24));
}
.baski-altinda-page #quizScreen .scene-caption{
  grid-column:1/-1;
  max-width:580px;
  margin:0 auto;
  color:#eadfd9;
  font-size:16px;
  line-height:1.55;
}

@media(max-width:680px){
  .template-test-page .doors{grid-template-columns:1fr}
  .template-test-page .doors .answer{min-height:150px}
  .guclu-yon-page #quizScreen .scene{min-height:112px;padding:10px 0 18px}
  .guclu-yon-page #quizScreen .scene > div{grid-template-columns:72px minmax(0,1fr);gap:16px}
  .guclu-yon-page #quizScreen .scene-icon{width:70px;height:70px;border-radius:25px 10px;font-size:40px}
  .guclu-yon-page #quizScreen .scene-caption{font-size:14px;line-height:1.5}
  .karanlik-taraf-page #quizScreen .scene{min-height:112px;padding:10px 0 18px}
  .karanlik-taraf-page #quizScreen .scene > div{grid-template-columns:minmax(0,1fr) 72px;gap:16px}
  .karanlik-taraf-page #quizScreen .scene-icon{width:70px;height:70px;font-size:40px}
  .karanlik-taraf-page #quizScreen .scene-caption{font-size:14px;line-height:1.5}
  .insanlari-okuma-page #quizScreen .scene{min-height:126px;padding:10px 0 18px}
  .insanlari-okuma-page #quizScreen .scene > div{gap:13px}
  .insanlari-okuma-page #quizScreen .scene-icon{width:66px;height:66px;font-size:37px}
  .insanlari-okuma-page #quizScreen .scene-caption{font-size:14px;line-height:1.5}
  .mantik-duygu-page #quizScreen .scene{min-height:122px;padding:10px 0 18px}
  .mantik-duygu-page #quizScreen .scene > div{gap:13px}
  .mantik-duygu-page #quizScreen .scene-icon{width:76px;height:62px;font-size:35px}
  .mantik-duygu-page #quizScreen .scene-caption{font-size:14px;line-height:1.5}
  .baski-altinda-page #quizScreen .scene{min-height:126px;padding:10px 0 18px}
  .baski-altinda-page #quizScreen .scene > div{grid-template-columns:minmax(20px,1fr) 70px minmax(20px,1fr);gap:12px}
  .baski-altinda-page #quizScreen .scene-icon{width:66px;height:66px;font-size:36px}
  .baski-altinda-page #quizScreen .scene-caption{font-size:14px;line-height:1.5}
  .iliskiler-page #quizScreen .scene{min-height:124px;padding:10px 0 18px}
  .iliskiler-page #quizScreen .scene > div{gap:13px}
  .iliskiler-page #quizScreen .scene-icon{width:72px;height:62px;font-size:36px}
  .iliskiler-page #quizScreen .scene-icon::before,.iliskiler-page #quizScreen .scene-icon::after{width:52px;height:52px}
  .iliskiler-page #quizScreen .scene-caption{font-size:14px;line-height:1.5}
  .algi-tipi-page #quizScreen .scene{min-height:130px;padding:10px 0 18px}
  .algi-tipi-page #quizScreen .scene > div{gap:13px}
  .algi-tipi-page #quizScreen .scene-icon{width:68px;height:68px;font-size:37px}
  .algi-tipi-page #quizScreen .scene-image{max-height:250px;border-radius:15px}
  .algi-tipi-page #quizScreen .scene-caption{font-size:14px;line-height:1.5}
}

.character-page #quizScreen .progress {
  margin-bottom: 24px;
}

.character-page #quizScreen .scene {
  min-height: 150px;
  margin: 8px 0 28px;
  padding: 16px 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(ellipse 36% 56% at 48% 42%, rgba(124,92,255,.18), transparent 100%),
    radial-gradient(ellipse 28% 48% at 65% 65%, rgba(48,213,200,.1), transparent 100%);
}

.character-page #quizScreen .scene::before,
.character-page #quizScreen .scene::after {
  display: none;
}

/* URL ile açılan sonuç önizlemesinin araçları. */
.preview-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 18px;
  margin-bottom: 18px;
  border: 1px dashed rgba(48,213,200,.4);
  border-radius: 16px;
  background: rgba(48,213,200,.06);
}

.preview-tools > div {
  flex: 1 1 220px;
}

.preview-tools strong {
  color: #c8fff9;
}

.preview-tools p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.preview-tools label {
  font-size: 14px;
  font-weight: 700;
}

.preview-tools select {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  background: var(--card2);
  color: var(--text);
  font: inherit;
}

@media (max-width: 680px) {
  .preview-tools select {
    width: 100%;
  }
}

.share-panel {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
}

.share-panel h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.share-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.share-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(124,92,255,.5);
  border-radius: 12px;
  background: rgba(124,92,255,.16);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.share-button.whatsapp {
  border-color: rgba(48,213,200,.4);
  background: rgba(48,213,200,.12);
}

.share-button.secondary {
  border-color: rgba(255,255,255,.16);
  background: var(--card2);
}

.share-panel .share-feedback,
.share-panel .share-hint {
  margin-top: 12px;
  font-size: 13px;
}

.share-panel .share-feedback {
  color: #c8fff9;
}

@media (max-width: 680px) {
  .share-actions > * {
    flex: 1 1 100%;
  }
}
