  /* ===== PROFIL ===== */
  .profile-photo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0 12px;
  }
  .profile-photo-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: var(--line-soft);
    background-size: cover;
    background-position: center;
    border: 4px solid var(--paper);
    box-shadow: 0 0 0 3px var(--line), 0 12px 36px rgba(31,42,58,0.16);
    position: relative;
    cursor: pointer;
    transition: box-shadow 0.15s;
    flex-shrink: 0;
  }
  .profile-photo-circle:active {
    box-shadow: 0 0 0 2px var(--accent), 0 8px 24px rgba(31,42,58,0.14);
  }
  .profile-photo-edit-badge {
    position: absolute;
    bottom: 2px; right: 2px;
    width: 28px; height: 28px;
    background: var(--ink);
    border-radius: 50%;
    border: 2px solid var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: white;
  }
  .profile-dog-name {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin-top: 12px;
    letter-spacing: -0.01em;
  }
  .profile-dog-tagline { font-size: 13px; color: var(--ink-faded); margin-top: 3px; }
  .profile-card-print-btn { font-size: 12px; color: var(--ink-faded); background: none; border: 1px solid var(--line); border-radius: 20px; padding: 4px 12px; cursor: pointer; transition: background 0.15s; }
  .profile-card-print-btn:hover { color: #b8423a; border-color: #b8423a; }

  .profile-pet-carousel {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0;
    cursor: grab;
  }
  .profile-pet-carousel:active { cursor: grabbing; }
  .profile-pet-carousel::before,
  .profile-pet-carousel::after {
    content: '';
    flex-shrink: 0;
    width: calc(50% - 110px);
  }
  .profile-pet-carousel::-webkit-scrollbar { display: none; }
  .profile-carousel-item {
    flex-shrink: 0;
    width: 220px;
    scroll-snap-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.28s ease, opacity 0.28s ease, filter 0.28s ease;
    transform: scale(0.72);
    opacity: 0.42;
    filter: grayscale(55%);
  }
  .profile-carousel-item.active {
    transform: scale(1);
    opacity: 1;
    filter: grayscale(0%);
  }
  .profile-carousel-item:not(.active) .profile-photo-circle:hover {
    box-shadow: 0 0 0 3px var(--accent), 0 6px 16px rgba(31,42,58,0.10);
  }
  .profile-photo-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
  }
  .profile-photo-del {
    font-size: 12px;
    color: var(--ink-faded);
    background: none;
    border: 1px solid var(--line);
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.01em;
  }
  .profile-photo-del:hover { color: #b8423a; border-color: #b8423a; }

  .profile-section { margin-bottom: 18px; }
  .profile-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
  }
  .profile-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    border-bottom: 1px solid var(--line-soft);
  }
  .profile-card-title {
    font-family: 'Fraunces', serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
  }
  .profile-field {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 16px;
    border-bottom: 1px solid var(--line-soft);
  }
  .profile-field:last-child { border-bottom: none; }
  .profile-field-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--ink-faded);
    flex-shrink: 0;
    min-width: 90px;
  }
  .profile-field-value {
    font-size: 14px;
    color: var(--ink);
    text-align: right;
    font-weight: 500;
  }
  .profile-field-value.empty { color: var(--ink-faded); font-style: italic; font-weight: 400; }

  .vet-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 8px;
    position: relative;
  }
  .vet-card-name { font-family: 'Fraunces', serif; font-size: 16px; font-weight: 700; color: var(--ink); }
  .vet-card-specialty { font-size: 12px; color: var(--ink-faded); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
  .vet-card-detail { font-size: 13px; color: var(--ink-soft); margin-top: 3px; line-height: 1.5; }
  .vet-card-phone { color: var(--accent); text-decoration: underline; }
  /* Placeholder tab */
  .placeholder-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
  }
  .placeholder-tab-icon { font-size: 44px; margin-bottom: 16px; opacity: 0.4; }
  .placeholder-tab-title {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-soft);
    margin-bottom: 8px;
  }
  .placeholder-tab-text { font-size: 13px; color: var(--ink-faded); line-height: 1.6; max-width: 250px; }

  /* Crop modal */
  .crop-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #111;
    border-radius: 10px;
    margin-bottom: 10px;
    touch-action: none;
    cursor: grab;
    user-select: none;
  }
  .crop-wrap:active { cursor: grabbing; }
  .crop-canvas { position: absolute; top: 0; left: 0; }
  .crop-ring-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .crop-ring {
    width: 80%;
    height: 80%;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.75);
    box-shadow: 0 0 0 9999px rgba(0,0,0,0.5);
  }
  .crop-hint { font-size: 12px; color: var(--ink-faded); text-align: center; margin-bottom: 12px; }

