:root {
  --lacivert: #14213d;
  --lacivert2: #1f3160;
  --kagit: #f6efe2;
  --kart: #fffaf1;
  --cizgi: #e2d6bf;
  --murekkep: #18233f;
  --soluk: #5b6277;
  --amber: #f2a20c;
  --amber-acik: #fff0cc;
  --rahat: #1f8a5b;
  --rahat-acik: #def3e8;
  --sinir: #b86e00;
  --sinir-acik: #ffecc7;
  --zor: #c2410c;
  --zor-acik: #fde3d3;
  --yazi: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sayi: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--kagit); color: var(--murekkep);
  font-family: var(--yazi); font-size: 16px; line-height: 1.45;
  background-image: radial-gradient(rgba(20,33,61,.06) 1px, transparent 1px);
  background-size: 18px 18px;
}
main { max-width: 680px; margin: 0 auto; padding: 0 14px 40px; }
a { color: var(--lacivert2); }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* Başlık */
.bas {
  background: var(--lacivert); color: #fff; margin: 0 -14px 14px; padding: 26px 20px 20px;
  border-bottom: 6px solid var(--amber); position: relative; overflow: hidden;
}
.bas::after {
  content: ''; position: absolute; right: -30px; top: 18px; width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(255,255,255,.14) 9px, transparent 10px) 0 0/30px 30px;
  transform: rotate(8deg);
}
.ust { margin: 0 0 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; color: #ffd27a; display: flex; gap: 5px; align-items: center; }
.balon { width: 11px; height: 11px; border: 2px solid #ffd27a; border-radius: 50%; display: inline-block; }
.balon.dolu { background: #ffd27a; }
h1 { font-size: clamp(34px, 10vw, 52px); line-height: .98; margin: 0 0 12px; font-weight: 900; letter-spacing: -.02em; }
h1 em { font-style: normal; color: var(--amber); }
.giris-yazi { margin: 0 0 12px; color: #dfe5f2; max-width: 34em; }
.giris-yazi b { color: #fff; }
.uyari-serit { margin: 0; display: inline-block; background: rgba(255,255,255,.1); border: 1px dashed rgba(255,210,122,.6); padding: 6px 10px; border-radius: 8px; font-size: 14px; }

/* Sekmeler */
.sekmeler { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--lacivert); padding: 5px; border-radius: 14px; margin-bottom: 14px; position: sticky; top: 6px; z-index: 5; box-shadow: 0 6px 18px rgba(20,33,61,.18); }
.sekmeler button { border: 0; background: transparent; color: #c9d2e8; padding: 11px 8px; border-radius: 10px; font-weight: 800; cursor: pointer; }
.sekmeler button[aria-selected="true"] { background: var(--amber); color: var(--lacivert); }

/* Kart */
#puan-karti, .kart { scroll-margin-top: 76px; }
.kart { background: var(--kart); border: 1.5px solid var(--cizgi); border-radius: 16px; padding: 16px; margin-bottom: 14px; box-shadow: 0 2px 0 var(--cizgi); }
.kart h2 { margin: 0 0 12px; font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.adim { width: 28px; height: 28px; border-radius: 50%; background: var(--lacivert); color: var(--amber); display: inline-grid; place-items: center; font-size: 15px; flex: none; }
.ipucu { color: var(--soluk); font-size: 14px; margin: 6px 0 10px; }
.kucuk { font-size: 13px; }

/* Alan seçimi */
.alanlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(98px, 1fr)); gap: 8px; }
.alanlar button, .liste-turu button {
  border: 2px solid var(--cizgi); background: #fff; border-radius: 12px; padding: 10px 6px; font-weight: 800; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.alanlar small { font-weight: 600; color: var(--soluk); font-size: 12px; }
.alanlar button[aria-checked="true"], .liste-turu button[aria-checked="true"] { border-color: var(--lacivert); background: var(--lacivert); color: #fff; }
.alanlar button[aria-checked="true"] small { color: #ffd27a; }

/* Net girişi: optik form */
.test-grup { margin: 6px 0 14px; }
.test-grup h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--soluk); margin: 0 0 6px; display: flex; justify-content: space-between; }
.test-grup h3 span { font-family: var(--sayi); color: var(--lacivert); letter-spacing: 0; }
.net-satir { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--cizgi); }
.net-satir label { font-weight: 700; }
.net-satir label small { display: block; color: var(--soluk); font-weight: 500; font-size: 12px; }
.net-giris { display: flex; align-items: center; gap: 4px; }
.net-giris button { width: 38px; height: 42px; border-radius: 10px; border: 1.5px solid var(--cizgi); background: #fff; font-weight: 900; font-size: 20px; cursor: pointer; color: var(--lacivert); }
.net-giris input { width: 74px; height: 42px; text-align: center; font-family: var(--sayi); font-weight: 800; font-size: 18px; border: 2px solid var(--lacivert); border-radius: 10px; background: #fff; }
.net-giris input:focus, select:focus, input[type="search"]:focus, .satir input:focus { outline: 3px solid var(--amber); outline-offset: 1px; }
.net-giris input.hata { border-color: var(--zor); background: var(--zor-acik); }
.obp { margin: 8px 0 14px; border: 1.5px dashed var(--cizgi); border-radius: 12px; padding: 10px 12px; }
.obp summary { font-weight: 800; cursor: pointer; }
.satir { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 6px; font-weight: 700; }
.satir input { width: 100px; height: 42px; text-align: center; font-family: var(--sayi); font-weight: 800; border: 2px solid var(--lacivert); border-radius: 10px; }
.kutu { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin: 6px 0; }
.kutu input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--lacivert); }

.buyuk { width: 100%; border: 0; border-radius: 14px; background: var(--amber); color: var(--lacivert); font-weight: 900; font-size: 18px; padding: 15px; cursor: pointer; box-shadow: 0 4px 0 #b97900; }
.buyuk:active { transform: translateY(2px); box-shadow: 0 2px 0 #b97900; }
.ikincil { border: 2px solid var(--lacivert); background: #fff; color: var(--lacivert); font-weight: 800; border-radius: 12px; padding: 11px 14px; cursor: pointer; }

/* Puan kartı */
.puan-karti { background: var(--lacivert); color: #fff; border-color: var(--lacivert); box-shadow: 0 4px 0 #0a1226; }
.puan-ust { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.puan-ust h2 { color: #fff; margin: 0; }
.rozet { background: var(--amber); color: var(--lacivert); font-weight: 900; border-radius: 999px; padding: 3px 10px; font-size: 13px; }
.buyuk-sayilar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 10px; }
.buyuk-sayilar div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 12px; }
.buyuk-sayilar b { display: block; white-space: nowrap; font-family: var(--sayi); font-size: clamp(21px, 6.6vw, 34px); color: var(--amber); line-height: 1.1; }
.buyuk-sayilar span { font-size: 13px; color: #c9d2e8; }
.puan-alt { font-size: 14px; color: #c9d2e8; margin: 6px 0 0; }
.puan-alt b { color: #fff; font-family: var(--sayi); }
.uyari { background: var(--zor-acik); color: #7a2706; border-radius: 10px; padding: 10px 12px; font-weight: 700; font-size: 14px; margin-top: 10px; }

/* Liste */
.liste-turu { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.liste-turu button { display: block; text-align: center; font-size: 14px; }
.filtreler input[type="search"], #hedef-ara { width: 100%; height: 46px; padding: 0 14px; border: 2px solid var(--lacivert); border-radius: 12px; background: #fff; font-size: 16px; }
.filtre-satir { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 8px; }
select { width: 100%; min-width: 0; height: 42px; border: 1.5px solid var(--cizgi); border-radius: 10px; background: #fff; padding: 0 6px; font-size: 14px; }
.etiketler { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; align-items: center; }
.cip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: 14px; cursor: pointer; border: 1.5px solid transparent; }
.cip input { accent-color: currentColor; margin: 0; }
.cip.rahat, .et.rahat { background: var(--rahat-acik); color: var(--rahat); }
.cip.sinirda, .et.sinirda { background: var(--sinir-acik); color: var(--sinir); }
.cip.zor, .et.zor { background: var(--zor-acik); color: var(--zor); }
.et.uzak { background: #eceef3; color: var(--soluk); }
.liste-ozet { font-size: 14px; color: var(--soluk); margin: 12px 0 6px; }
.liste-ozet b { color: var(--murekkep); }
.liste { list-style: none; margin: 0; padding: 0; }
.prog { border: 1.5px solid var(--cizgi); background: #fff; border-radius: 12px; margin-bottom: 8px; overflow: hidden; }
.prog > button { all: unset; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 11px 12px; width: 100%; box-sizing: border-box; cursor: pointer; }
.prog > button:focus-visible { outline: 3px solid var(--amber); }
.p-ad { font-weight: 800; line-height: 1.25; }
.p-uni { grid-column: 1; font-size: 13px; color: var(--soluk); }
.p-sag { grid-row: 1 / span 2; grid-column: 2; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.et { border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 900; white-space: nowrap; }
.p-sira { font-family: var(--sayi); font-weight: 800; font-size: 14px; }
.p-sira small { display: block; font-family: var(--yazi); font-weight: 500; color: var(--soluk); font-size: 11px; }
.tur-r { font-size: 11px; font-weight: 800; border-radius: 6px; padding: 1px 6px; margin-right: 4px; background: #e8ecf6; color: var(--lacivert2); }
.tur-r.V { background: #fdf0d8; color: #8a5300; }
.tur-r.K { background: #e6f2ee; color: #1d6b52; }
.p-detay { border-top: 1px dashed var(--cizgi); padding: 10px 12px 12px; font-size: 14px; background: #fffdf8; }
.p-detay dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 0 0 8px; }
.p-detay dt { color: var(--soluk); }
.p-detay dd { margin: 0; font-family: var(--sayi); font-weight: 700; }
.son-kisi { background: var(--amber-acik); border-radius: 10px; padding: 8px 10px; margin: 8px 0; }
.son-kisi h4 { margin: 0 0 6px; font-size: 14px; }
.net-tablo { display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 13px; }
.net-tablo span { background: #fff; border-radius: 8px; padding: 2px 7px; }
.net-tablo b { font-family: var(--sayi); }

/* Paylaş */
#kart-tuval { width: 100%; max-width: 360px; height: auto; display: block; margin: 0 auto 12px; border-radius: 14px; box-shadow: 0 6px 20px rgba(20,33,61,.25); }
.dugmeler { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dugmeler .buyuk { grid-column: 1 / -1; }

/* Hedef */
.hizli { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.hizli button { border: 1.5px solid var(--cizgi); background: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 14px; cursor: pointer; }
#mod-hedef .filtre-satir { grid-template-columns: 1fr 1fr; }
.hedef-ozet { display: grid; gap: 8px; margin: 10px 0; }
.kutucuk { border-radius: 12px; padding: 12px; background: #fff; border: 1.5px solid var(--cizgi); }
.kutucuk .k-bas { font-size: 13px; color: var(--soluk); font-weight: 700; }
.kutucuk .k-sayi { font-family: var(--sayi); font-weight: 800; font-size: 22px; color: var(--lacivert); }
.kutucuk.vurgu { background: var(--lacivert); color: #fff; border-color: var(--lacivert); }
.kutucuk.vurgu .k-bas { color: #c9d2e8; }
.kutucuk.vurgu .k-sayi { color: var(--amber); }
.fark { background: var(--amber-acik); border-radius: 12px; padding: 12px; font-weight: 700; }

.meslek { display: flex; flex-direction: column; gap: 4px; background: #fff3d6; border-color: #f1d79d; }
.meslek p { margin: 0; font-weight: 700; }
.meslek a { font-weight: 900; font-size: 17px; }
.bilgi ul { margin: 0; padding-left: 18px; font-size: 14px; color: #39405a; }
.bilgi li { margin-bottom: 7px; }
.alt { text-align: center; font-size: 14px; color: var(--soluk); padding-top: 6px; }
.alt a { font-weight: 800; }
.alt p { font-size: 12px; }
.bos { text-align: center; color: var(--soluk); padding: 14px; }

@media (max-width: 380px) {
  .filtre-satir { grid-template-columns: 1fr 1fr; }
  .filtre-satir select:last-child { grid-column: 1 / -1; }
  .net-giris button { width: 34px; }
  .net-giris input { width: 64px; }
}
.buyuk-sayilar b small { font-size: .6em; margin-right: 2px; }
