.prof { background: #f4ecdf; color: #15171e; }
.prof-hero { position: relative; overflow: clip; }
.prof-hero__in { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 112px 20px 120px; display: flex; flex-direction: column; gap: 16px; }
.prof-hero__title { margin: 0; font-size: clamp(48px, 6.4vw, 104px); line-height: 1.12; letter-spacing: 0; }
.prof-hero__identity { margin: 0; max-width: min(760px, calc(100% - 340px)); font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 15px; line-height: 1.5; color: #333c45; overflow-wrap: anywhere; }
.prof-hero__identity:empty { min-height: 23px; }
/* 2026-11-14 canvas: the drawing stands the full height of the band on the right */
.prof-hero .pn-hello { position: absolute; top: 0; right: max(0px, calc((100% - 1240px) / 2)); display: block; height: 100%; width: auto; aspect-ratio: 1 / 1; object-fit: cover; pointer-events: none; }
.prof-content { width: 100%; max-width: 1240px; margin: 0 auto; padding: 48px 20px 112px; }
.prof-loading { width: calc(100% - 40px); max-width: 1200px; margin: 0 auto; padding: 24px 0; }
.prof-section { display: flex; flex-wrap: wrap; gap: 16px 64px; padding: 40px 0; border-bottom: 1px solid #dcd7c6; }
.prof-section--last { border-bottom: 0; }
.prof-section__title { flex: 1 1 260px; max-width: 360px; margin: 0; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.15; letter-spacing: 0; }
.prof-section__body { flex: 999 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 20px; }
.prof-view, .prof-form { display: flex; flex-direction: column; gap: 20px; }
.prof-details { margin: 0; display: flex; flex-direction: column; border-top: 1px solid #dcd7c6; }
.prof-details > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid #dcd7c6; }
.prof-details dt { flex: 0 0 140px; font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 13px; letter-spacing: .06em; color: #5c5a52; }
.prof-details dd { flex: 1 1 200px; min-width: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 17px; line-height: 1.45; font-weight: 600; overflow-wrap: anywhere; }
.prof-details dd[data-empty="true"] { color: #5c5a52; font-weight: 400; }
.prof-verified { padding: 2px 8px; background: #285fa3; color: #fff; font-size: 12px; font-weight: 700; }
.prof-pair { display: flex; flex-wrap: wrap; gap: 18px 16px; }
.prof-pair > .fld { flex: 1 1 200px; min-width: 0; }
.prof .fld > label { color: #15171e; font-weight: 700; }
.prof .inp { height: 56px; background: #fff; border: 1px solid #12263f; font-size: 17px; }
.prof-note { margin: 0; font-size: 14px; line-height: 1.55; color: #5c5a52; }
.prof-note a, .prof-link { color: #15171e; text-underline-offset: 4px; }
.prof-lead { margin: 0; font-size: 17px; line-height: 1.65; color: #333c45; overflow-wrap: anywhere; }
.prof-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.prof .btn-navy { align-self: flex-start; min-height: 54px; height: auto; padding: 14px 22px; letter-spacing: 0; text-align: center; }
.prof .btn-text { min-height: 44px; color: #15171e; }
.prof-feedback { margin: 0; padding: 12px 16px; background: #fec940; font-size: 15px; line-height: 1.5; font-weight: 700; }
.prof-feedback[data-tone="error"] { background: #fdeee9; color: #9e2d18; }
.prof-prefs { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; }
.prof-prefs legend { margin-bottom: 6px; padding: 0; font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 13px; letter-spacing: .08em; color: #5c5a52; }
.prof-prefs label { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 0; border-bottom: 1px solid #e7dfcf; font-size: 16px; line-height: 1.4; font-weight: 600; cursor: pointer; }
.prof-prefs input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: #15171e; }
.prof-prefs:disabled { opacity: .6; }
.prof-saved { margin: 0; font-size: 14px; font-weight: 700; }
.prof-saved:empty { display: none; }
.prof-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 800; text-decoration: underline; }
.prof-logout { min-height: 50px; height: auto; padding: 12px 20px; gap: 8px; background: transparent; color: #15171e; }
.prof-password, .prof-delete { display: flex; flex-direction: column; gap: 18px; margin-top: 12px; padding: 24px; background: #ebdfca; scroll-margin-top: 24px; }
.prof-password h3, .prof-delete h3 { margin: 0; font-size: 28px; line-height: 1.2; }
.prof-password p, .prof-delete p, .prof-bye p { margin: 0; line-height: 1.65; }
.prof-delete { border: 1px solid #12263f; }
.prof-delete .btn-danger { height: auto; min-height: 50px; padding: 12px 18px; }
.prof-bye { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.prof-bye h2 { font-size: clamp(36px, 4vw, 64px); }
@media (max-width: 760px) {
  .prof-hero { min-height: 344px; }
  .prof-hero .pn-hello { top: 4px; right: -96px; height: 340px; }
  .prof-hero__in { padding: 40px 20px 24px; max-width: 62%; margin: 0; }
  .prof-hero__identity { max-width: none; }
  .prof-content { padding-top: 16px; padding-bottom: 72px; }
  .prof-section { padding: 32px 0; gap: 24px; }
  .prof-section__title { flex-basis: 100%; max-width: none; }
  .prof-details > div { gap: 4px 16px; }
  .prof-details dt { flex-basis: 130px; }
  .prof-password, .prof-delete { padding: 20px; }
}
/* 2026-11-15: the account sections live under the followed races on /panel/ */
.pg--panel .pd { padding-bottom: 56px; }
.pg--panel .prof-content { padding-top: 0; }
.prof-head { margin: 0; padding: 40px 0 12px; border-top: 3px solid #15171e; font-size: clamp(36px, 4vw, 56px); line-height: 1.12; letter-spacing: 0; scroll-margin-top: 24px; }
#takip { scroll-margin-top: 24px; }
