/* Saat Öğrenme — A4 poster / çalışma kağıdı (matematik 3) */
@import url("../paylasilan/mychember.css");

@page { size: A4 portrait; margin: 0; }

:root {
  --ink: #2f2a26;
  --ink-soft: #5c534c;
  --serif: "Baloo 2", "Segoe UI", sans-serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --pink: #f9a8d4;
  --purple: #c4b5fd;
  --blue: #93c5fd;
  --yellow: #fde047;
  --accent: #7c3aed;
  --strip: #f9a8d4;
  --card: #ede9fe;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: #e8e2d8;
  color: var(--ink);
  font-family: var(--sans);
}

.screen-nav {
  max-width: 900px; margin: 0 auto;
  padding: 1.4rem 1.2rem 0.5rem;
}
.screen-nav h1 {
  font-family: var(--serif); font-weight: 800;
  font-size: 1.6rem; margin: 0 0 0.3rem;
}
.screen-nav p { margin: 0; color: var(--ink-soft); line-height: 1.45; }

.deck { max-width: 900px; margin: 0 auto; padding: 0 0 36px; }

.page {
  width: 210mm; height: 297mm; margin: 12px auto;
  background: linear-gradient(180deg, #fff7fb 0%, #fffdf9 40%, #f5f3ff 100%);
  box-shadow: 0 8px 28px rgba(47, 42, 38, 0.15);
  padding: 0 9mm 5mm;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  row-gap: 2.5mm;
  position: relative;
  overflow: hidden;
}

.page-strip {
  height: 6mm;
  margin: 0 -9mm;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
}

.page-head { padding: 3.5mm 0 1.5mm; text-align: center; }
.page-head h1 {
  font-family: var(--serif); font-weight: 800;
  font-size: 22pt; margin: 0; line-height: 1.1;
  letter-spacing: 0.02em;
}
.page-head h1 .c1 { color: #ef4444; }
.page-head h1 .c2 { color: #22c55e; }
.page-head h1 .c3 { color: #3b82f6; }
.page-head h1 .c4 { color: #a855f7; }
.page-head h1 .c5 { color: #ec4899; }
.page-head .tag {
  display: inline-block;
  margin-top: 2mm;
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 10pt;
  padding: 1.6mm 5mm;
  border-radius: 5mm;
}

.main {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 3mm;
  min-height: 0;
}

/* Üst: büyük saat + etiketler */
.clock-stage {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 1mm 0 0;
  overflow: visible;
}

.clock-wrap {
  position: relative;
  width: min(132mm, 96%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 1mm;
}

.clock-wrap svg.big-clock {
  width: 58%;
  height: 58%;
  display: block;
  filter: drop-shadow(0 2mm 3mm rgba(124, 58, 237, 0.12));
  z-index: 1;
}

.label-ring {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.time-label {
  position: absolute;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 6.5pt;
  line-height: 1.15;
  background: #fff;
  border: 0.4mm solid #e9d5ff;
  border-radius: 2.2mm;
  padding: 1.1mm 1.6mm;
  box-shadow: 0 1mm 2mm rgba(47, 42, 38, 0.08);
  width: 30mm;
  min-height: 7.5mm;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  white-space: normal;
}
.time-label .hl { color: #db2777; font-weight: 800; }
.time-label.past .hl { color: #2563eb; }
.time-label.to .hl { color: #7c3aed; }
.time-label.oclock .hl { color: #16a34a; }
.time-label.half .hl { color: #ea580c; }

/* Alt örnek tablosu */
.examples {
  background: var(--card);
  border-radius: 4mm;
  padding: 3mm 3.5mm 2.5mm;
  border: 0.45mm solid #ddd6fe;
  min-height: 0;
}
.examples h2 {
  font-family: var(--serif); font-weight: 800;
  font-size: 11pt; margin: 0 0 2mm; text-align: center; color: var(--accent);
}

.ex-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4mm 5mm;
}
.ex-row {
  display: grid;
  grid-template-columns: 11mm 16mm 1fr;
  align-items: center;
  gap: 1.8mm;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 2mm;
  padding: 0.6mm 1.3mm;
  min-height: 12mm;
}
.ex-row svg.mini {
  width: 11mm; height: 11mm; display: block;
}
.ex-digital {
  font-family: var(--serif); font-weight: 800; font-size: 9pt;
  color: #fff; background: #7c3aed;
  border-radius: 2mm; text-align: center;
  padding: 1mm 0;
}
.ex-row:nth-child(odd) .ex-digital { background: #db2777; }
.ex-row:nth-child(3n) .ex-digital { background: #2563eb; }
.ex-row:nth-child(4n) .ex-digital { background: #16a34a; }
.ex-phrase {
  font-size: 8pt; font-weight: 600; color: var(--ink); line-height: 1.2;
}

.foot {
  font-size: 7pt; color: rgba(47, 42, 26, 0.5);
  text-align: center; letter-spacing: 0.02em;
}

@media print {
  html, body { margin: 0 !important; padding: 0 !important; background: white !important; }
  .screen-nav, nav, .no-print { display: none !important; }
  .page { box-shadow: none !important; margin: 0 auto !important; max-height: 295mm !important; page-break-inside: avoid !important; break-inside: avoid !important; }
  .page:last-child { page-break-after: avoid !important; break-after: avoid !important; }

  body { background: #fff; 
}
  .screen-nav { display: none !important; }
  .page { box-shadow: none; margin: 0; page-break-after: auto; }
}
