/* ===== HEADER ===== */
header {
  padding: 8px 0 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 6px;
}

.avatar {
  width: 84px;
  height: 84px;
  align-self: center;
  border-radius: 50%;
  background-color: var(--line-soft);
  background-size: cover;
  background-position: center;
  border: 2px solid var(--paper);
  box-shadow:
    0 0 0 1px var(--line),
    0 4px 12px rgba(31,42,58,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.08);
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.avatar:active {
  transform: scale(0.96);
  box-shadow: 0 0 0 2px var(--accent), 0 4px 12px rgba(31,42,58,0.12);
}
.avatar::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px dashed var(--line);
  opacity: 0.6;
  pointer-events: none;
}
.avatar-shortcut-ring {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
  pointer-events: none;
  z-index: 2;
}

.title-block { min-width: 0; }
.title-block h1 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-variation-settings: "SOFT" 50;
}
.title-block .sub {
  font-size: 11px;
  color: var(--ink-faded);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 500;
}

.hdr-right {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.clock {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  color: var(--accent);
  font-weight: 500;
  font-feature-settings: "tnum";
  letter-spacing: -0.01em;
  text-align: right;
}
.clock .date {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-faded);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: right;
  margin-top: 3px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  background: var(--paper-dark);
  padding: 4px;
  border-radius: 12px;
}
.tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.tab.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

  /* ===== Stopka ===== */
  .footer-note {
    text-align: center;
    font-size: 12px;
    color: var(--ink-faded);
    margin-top: 30px;
    padding: 16px;
    font-style: italic;
    line-height: 1.6;
    letter-spacing: 0.03em;
  }
  .footer-note .dog { font-size: 14px; }
  .footer-version { display:inline-block; margin-top:8px; font-size:13px; color:var(--ink-faded); background:none; border:1px solid var(--line-soft); border-radius:10px; padding:2px 10px; cursor:pointer; font-family:inherit; letter-spacing:0.04em; transition:border-color .15s, color .15s; font-style:normal; }
  .footer-version:hover { color:var(--ink-soft); border-color:var(--line); }
