/* Mimari Terim Testi — yalnız page-templates/terim-testi.php sayfasında yüklenir. Temanın değişkenlerini ve eskiz stillerini (.m3d-sk) kullanır. */
.m3d-tt { max-width: calc(760px + var(--gut) * 2); padding-bottom: clamp(48px, 7vw, 96px); }
.m3d-tt__label { margin: 0 0 10px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.m3d-tt__cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.m3d-tt__cat { cursor: pointer; }
.m3d-tt__cat.is-on { background: var(--ink); border-color: var(--ink); color: var(--stone); }
.m3d-tt__row { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.m3d-tt__row .m3d-tt__label { margin: 0; }
.m3d-tt__n { height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: inherit; color: var(--ink); }
.m3d-tt__best { margin: 18px 0 0; font-size: .9375rem; color: var(--bronze); }

.m3d-tt__card { padding: clamp(20px, 3.4vw, 34px); border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 40px -30px rgba(21, 21, 19, .45); animation: m3d-tt-in .3s var(--ease) both; }
.m3d-tt__top { display: flex; justify-content: space-between; gap: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.m3d-tt__step { flex: none; white-space: nowrap; color: var(--muted); }
.m3d-tt__catname { text-align: right; color: var(--bronze); }
.m3d-tt__bar { height: 4px; margin: 10px 0 20px; border-radius: 4px; background: var(--sand); overflow: hidden; }
.m3d-tt__bar i { display: block; height: 100%; background: var(--bronze); transition: width .4s var(--ease); }
.m3d-tt__q { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 400; line-height: 1.2; color: var(--ink); }
.m3d-tt__sketch { max-width: none; margin: 0 0 18px; cursor: default; }
.m3d-tt__def { margin: 0 0 18px; padding: 16px 20px; border-left: 3px solid var(--bronze); background: var(--stone); font-size: 1.0625rem; line-height: 1.65; color: var(--graphite); }

.m3d-tt__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m3d-tt__opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--stone); font: inherit; font-size: 1rem; text-align: left; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.m3d-tt__opt b { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.m3d-tt__opt:hover:not(:disabled) { border-color: var(--ink); transform: translateY(-1px); }
.m3d-tt__opt:disabled { cursor: default; }
.m3d-tt__opt.is-right { border-color: #4f7a52; background: #e3eee1; }
.m3d-tt__opt.is-right b { background: #4f7a52; border-color: #4f7a52; color: #fff; }
.m3d-tt__opt.is-wrong { border-color: #b4442f; background: #f6e3df; }
.m3d-tt__opt.is-wrong b { background: #b4442f; border-color: #b4442f; color: #fff; }

.m3d-tt__fb:empty { display: none; }
.m3d-tt__fb { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.m3d-tt__verdict { margin: 0 0 8px; font-weight: 700; }
.m3d-tt__verdict.is-ok { color: #3d6b40; }
.m3d-tt__verdict.is-no { color: #9a3523; }
.m3d-tt__exp { margin: 0; font-size: .9688rem; line-height: 1.6; color: var(--graphite); }
.m3d-tt__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-top: 16px; }
.m3d-tt__read { font-size: .9375rem; font-weight: 600; }

.m3d-tt__result { text-align: center; }
.m3d-tt__big { margin: 0; font-family: var(--serif); font-size: clamp(4rem, 10vw, 6rem); line-height: 1; color: var(--ink); }
.m3d-tt__big small { font-size: .4em; color: var(--muted); }
.m3d-tt__scoretext { margin: 8px 0 0; font-weight: 600; }
.m3d-tt__note { margin: 6px 0 22px; color: var(--muted); }
.m3d-tt__result .m3d-tt__label { text-align: left; }
.m3d-tt__review { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; text-align: left; }
.m3d-tt__review li { padding: 12px 14px; border-radius: var(--r); background: var(--stone); }
.m3d-tt__review a { font-weight: 700; }
.m3d-tt__review span { display: block; margin-top: 3px; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.m3d-tt__result .m3d-tt__actions { justify-content: center; }
.m3d-tt__msg { color: var(--muted); }
.m3d-tt__err { padding: 14px 18px; border-radius: var(--r); background: #f6e3df; color: #7c2c1d; }
.m3d-tt__content { padding-bottom: clamp(48px, 7vw, 96px); }

@keyframes m3d-tt-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
	.m3d-tt__opts { grid-template-columns: 1fr; }
	.m3d-tt__actions { flex-direction: column-reverse; align-items: stretch; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .m3d-tt__card { animation: none; } .m3d-tt__opt { transition: none; } }
