.turkce-testler { background:#faf6ee; color:#371619; font-family:Inter,Arial,sans-serif; }
.turkce-testler [hidden] { display:none !important; }
.turkce-test-header,.turkce-test-nav { padding:16px clamp(16px,5vw,72px); }
.turkce-test-header { background:linear-gradient(110deg,#4a0d1b,#79192e); }
.turkce-test-header a { color:#fff0d5; font:700 clamp(28px,4vw,40px)/1.1 "Cormorant Garamond",Georgia,serif; text-decoration:none; }
.turkce-test-nav { display:flex; flex-wrap:wrap; gap:12px 24px; border-bottom:1px solid #e4ccba; background:#fffaf2; }
.turkce-test-nav a,.turkce-shell a:not(.btn) { color:#72152d; }
.turkce-shell { max-width:1200px; margin:28px auto 56px; padding:0 16px; }
.turkce-shell h1 { font:700 clamp(32px,5vw,46px)/1.08 "Cormorant Garamond",Georgia,serif; margin:0 0 22px; }
.turkce-shell .content-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.turkce-shell .content-card { display:flex; flex-direction:column; align-items:flex-start; gap:16px; background:#fcf7ef; padding:24px; border:1px solid #e7d5c0; border-radius:8px; min-width:0; }
.turkce-shell .content-card h2 { font:700 30px/1.1 "Cormorant Garamond",Georgia,serif; margin:0; }
.turkce-shell .content-card p { margin:0; line-height:1.5; }
.turkce-shell .content-card .btn { margin-top:auto; }
.turkce-shell .test-count { color:#79192e; font-weight:700; }
.turkce-shell .tag { border-radius:24px; padding:6px 10px; background:#ebded0; color:#72152d; font-size:12px; font-weight:700; }
#quiz { max-width:880px; margin:auto; }
.turkce-shell fieldset { min-width:0; margin:0 0 18px; padding:16px; border:1px solid #e7d5c0; border-radius:8px; background:#fffaf3; }
.turkce-shell legend { font-weight:700; padding:0 7px; color:#72152d; }
.question-text p { margin:0 0 10px; line-height:1.6; }
.quiz-options { margin-top:14px; }
.quiz-options label { display:flex; align-items:baseline; gap:8px; line-height:1.5; padding:8px 5px; border-radius:5px; cursor:pointer; }
.quiz-options input { accent-color:#72152d; flex:none; }
.quiz-options .letter { color:#72152d; }
.quiz-options .correct { background:#e4f3e9; }
.quiz-options .incorrect { background:#fbe7e6; }
.option-table { width:100%; border-collapse:collapse; text-align:left; }
.option-table th,.option-table td { padding:4px 6px; vertical-align:top; }
.test-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:14px; }
#result { min-height:1.5em; font-weight:700; }
#answers { padding:14px; margin:12px 0; border:1px solid #e7d5c0; border-radius:8px; }
#answers summary { color:#72152d; font-weight:700; cursor:pointer; }
#answers li { margin:10px 0; white-space:pre-line; }
@media(max-width:850px) { .turkce-shell .content-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) { .turkce-shell .content-grid { grid-template-columns:minmax(0,1fr); } .option-table { font-size:.83rem; } .option-table th,.option-table td { padding:4px 3px; } }
@media print { .turkce-test-header,.turkce-test-nav,.test-actions,#next-test { display:none; } .turkce-shell fieldset { break-inside:avoid; } }

.quiz-toolbar { gap:10px; margin:0 0 20px; }
.quiz-drawing-tools { display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding-left:10px; border-left:1px solid #e4d7c9; }
.quiz-drawing-tools button { border:0; cursor:pointer; }
.quiz-drawing-tools button[aria-pressed="true"] { background:#79192e; color:white; }
.quiz-drawing-tools button:disabled { opacity:.55; cursor:default; }
#questions fieldset { position:relative; }
.quiz-ink { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:1; }
.quiz-ink path { fill:none; stroke:#9b193c; stroke-width:3px; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; }
#questions[data-drawing="pen"] .quiz-ink { pointer-events:auto; touch-action:none; cursor:crosshair; }
#questions[data-drawing="eraser"] .quiz-ink { pointer-events:auto; touch-action:none; cursor:cell; }
#questions[data-drawing="eraser"] .quiz-ink path { pointer-events:stroke; }
@media(max-width:560px) { .quiz-drawing-tools { padding-left:0; border-left:0; } }
@media print { .quiz-toolbar,.quiz-ink { display:none; } }
