/* Frameless Original KnitVision PNG Logo Everywhere */
.kv-frameless-logo,
.wordmark img,
.brand img,
.brand-mark img {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
  filter: drop-shadow(0 3px 8px rgba(56, 102, 214, 0.24));
}
.wordmark img {
  width: 38px !important;
  height: 38px !important;
}
.brand img {
  width: 36px !important;
  height: 36px !important;
}
.auth-welcome-art img {
  width: 118px !important;
  height: 118px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 12px 26px rgba(56, 102, 214, 0.28)) !important;
}

/* 4-Box Square Composition (2x2 Grid) for Profile Onboarding & Craft Picker */
.craft-quad-section {
  margin: 8px 0 18px;
}
.craft-quad-hint {
  margin: 0 0 14px;
  color: #4c685e;
  font-size: 0.92rem;
  line-height: 1.45;
}
.craft-quad-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 420px;
  margin: 0 auto 16px;
}
.craft-square-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 10px;
  border-radius: 22px;
  border: 2px solid #cfe6dc;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(19, 54, 41, 0.05);
  cursor: pointer;
  user-select: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}
.craft-square-tile:hover {
  transform: translateY(-2px);
  border-color: #7ccfb2;
}
.craft-square-tile input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.craft-square-tile .craft-art {
  width: 68px;
  height: 68px;
  margin-bottom: 6px;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
.craft-square-tile strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: #132620;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.craft-square-tile small {
  display: block;
  margin-top: 3px;
  font-size: 0.74rem;
  color: #547267;
  line-height: 1.25;
}
.craft-square-tile .craft-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eff7f4;
  border: 1.5px solid #c5dfd4;
  color: transparent;
  transition: all 0.16s ease;
}
.craft-square-tile .craft-check svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.craft-square-tile.selected,
.craft-square-tile:has(input:checked) {
  border-color: #1fa97c;
  background: linear-gradient(160deg, #ecfbf5 0%, #f4faff 100%);
  box-shadow: 0 10px 24px rgba(31, 169, 124, 0.18);
}
.craft-square-tile.selected .craft-art,
.craft-square-tile:has(input:checked) .craft-art {
  transform: scale(1.06);
}
.craft-square-tile.selected .craft-check,
.craft-square-tile:has(input:checked) .craft-check {
  background: #1fa97c;
  border-color: #1fa97c;
  color: #ffffff;
}

/* Inspiration & Favorites Screen */
.insp-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 16px 10px;
  background: rgba(246, 251, 249, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #d9ece4;
}
.insp-brand-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.insp-brand-left h1 {
  margin: 0;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  color: #132620;
}
.insp-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #167a59;
}
.insp-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.insp-fav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1.5px solid #cbe6da;
  background: #ffffff;
  color: #155e46;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(21, 94, 70, 0.08);
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.insp-fav-trigger:hover {
  transform: translateY(-1px);
  border-color: #1fa97c;
}
.insp-fav-trigger .insp-fav-icon {
  display: grid;
  place-items: center;
  color: #e03e6d;
}
.insp-fav-trigger .insp-fav-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
}
.insp-fav-trigger.has-items {
  border-color: #f2b8c9;
  background: #fff7fa;
}
.insp-fav-trigger b {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #eaf7f2;
  color: #145e45;
  font-size: 0.76rem;
}
.insp-fav-trigger.has-items b {
  background: #e03e6d;
  color: #ffffff;
}

.insp-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 14px calc(84px + env(safe-area-inset-bottom));
}
.insp-taste-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 15px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e7f8f1 0%, #ebf5fd 100%);
  border: 1px solid #cae7da;
}
.insp-taste-copy small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #167a59;
}
.insp-taste-copy small svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: none;
}
.insp-taste-copy p {
  margin: 3px 0 0;
  font-size: 0.86rem;
  color: #214237;
}
.insp-edit-crafts-btn {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid #9fd9c2;
  background: #ffffff;
  color: #146348;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.insp-filter-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 12px;
  scrollbar-width: none;
}
.insp-filter-strip::-webkit-scrollbar {
  display: none;
}
.insp-chip {
  flex: 0 0 auto;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1.5px solid #d1e7de;
  background: #ffffff;
  color: #35584c;
  font-size: 0.84rem;
  font-weight: 750;
  cursor: pointer;
  transition: all 0.15s ease;
}
.insp-chip.on {
  background: #1fa97c;
  border-color: #1fa97c;
  color: #ffffff;
  box-shadow: 0 5px 14px rgba(31, 169, 124, 0.25);
}

.insp-grid {
  columns: 2 164px;
  column-gap: 12px;
}
@media (min-width: 720px) {
  .insp-grid {
    columns: 3 210px;
    column-gap: 16px;
  }
}
.insp-card {
  break-inside: avoid;
  margin-bottom: 13px;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d6ebe2;
  box-shadow: 0 6px 18px rgba(19, 48, 38, 0.06);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.insp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(19, 48, 38, 0.1);
}
.insp-media-wrap {
  position: relative;
  background: #edf6f2;
}
.insp-open-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.insp-open-card img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 130px;
  max-height: 330px;
  object-fit: cover;
}
.insp-heart-btn {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: #36554a;
  box-shadow: 0 4px 12px rgba(15, 35, 28, 0.16);
  cursor: pointer;
  transition: transform 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}
.insp-heart-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
}
.insp-heart-btn.is-liked {
  color: #e03e6d;
  background: #ffffff;
  transform: scale(1.06);
}
.insp-heart-btn:active {
  transform: scale(0.88);
}
.insp-badge-craft {
  position: absolute;
  left: 9px;
  bottom: 9px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(17, 41, 33, 0.72);
  backdrop-filter: blur(6px);
  color: #e9fcf4;
  font-size: 0.69rem;
  font-weight: 800;
}
.insp-card-body {
  padding: 10px 12px 12px;
  cursor: pointer;
}
.insp-reason {
  display: block;
  font-size: 0.71rem;
  font-weight: 750;
  color: #187d5b;
  margin-bottom: 3px;
}
.insp-card-body h3 {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.32;
  color: #132620;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insp-empty-favs,
.insp-loading {
  text-align: center;
  padding: 44px 20px;
  max-width: 420px;
  margin: 20px auto;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid #d6ebe2;
}
.insp-empty-heart {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff2f6;
  color: #e03e6d;
  margin-bottom: 10px;
}
.insp-empty-heart svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.insp-detail-sheet .insp-detail-media img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 10px;
}
.insp-detail-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.insp-craft-pill,
.insp-reason-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}
.insp-craft-pill {
  background: #e5f7ef;
  color: #156e50;
}
.insp-reason-pill {
  background: #eaf4fc;
  color: #1f64a8;
}
.insp-tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}
.insp-tag-row span {
  padding: 3px 9px;
  border-radius: 999px;
  background: #f1f8f5;
  color: #3d6356;
  font-size: 0.76rem;
  font-weight: 700;
}
.insp-detail-actions {
  display: grid;
  gap: 8px;
}
.insp-sheet-like,
.insp-ext-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 13px;
  text-decoration: none;
  font-weight: 800;
}
.insp-sheet-like svg,
.insp-ext-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
}


/* Centered Logo-Only Header & Frameless 3-Bar Preference/Profile Icon */
.web-nav.centered-bar {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  gap: 8px;
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 16px 8px !important;
}
.nav-slot-left {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.nav-slot-center {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-slot-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-center-logo {
  display: grid;
  place-items: center;
  padding: 2px;
  margin: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
}
.top-center-logo img,
.kv-topbar .brand img {
  width: 42px !important;
  height: 42px !important;
  display: block;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 3px 9px rgba(56, 102, 214, 0.28));
}
.prefs-bars-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #16382d;
  cursor: pointer;
  transition: transform 0.14s ease, color 0.14s ease;
}
.prefs-bars-btn:hover,
.prefs-bars-btn.is-current {
  color: #1fa97c;
}
.prefs-bars-btn:active {
  transform: scale(0.92);
}
.prefs-bars-btn svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.55;
  stroke-linecap: round;
}
.kv-shell {
  padding-top: 0 !important;
}
.kv-topbar {
  margin-bottom: 10px;
}

/* Friend Search + "Arkadaş davet et" Slot + Direct Messages */
.friend-search-wrap {
  margin: 4px 0 16px;
}
.friend-search-trigger {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 16px;
  border: 1.5px solid #cbe6da;
  background: #ffffff;
  color: #557569;
  font-size: 0.92rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(19, 54, 41, 0.05);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.friend-search-trigger:hover {
  border-color: #1fa97c;
  box-shadow: 0 6px 18px rgba(31, 169, 124, 0.12);
}
.friend-search-trigger svg,
.friend-search-box > svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  fill: none;
  stroke: #167a59;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.friend-search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px 6px 14px;
  border-radius: 16px;
  border: 2px solid #1fa97c;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(31, 169, 124, 0.14);
}
.friend-search-box input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  padding: 8px 4px !important;
  font-size: 0.95rem;
  color: #132620;
}
.friend-search-close {
  width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
}
.friend-search-slots {
  margin-top: 8px;
  display: grid;
  gap: 7px;
  padding: 8px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #d1e8de;
  box-shadow: 0 10px 26px rgba(18, 52, 40, 0.08);
}
.friend-slot {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #e3f1eb;
  background: #f9fdfb;
  text-align: left;
}
button.friend-slot.invite-slot {
  background: linear-gradient(135deg, #e6f9f1 0%, #ebf6ff 100%);
  border: 1.5px solid #9be0c6;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
button.friend-slot.invite-slot:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(31, 169, 124, 0.16);
}
.friend-slot-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.friend-slot-avatar.invite-badge {
  display: grid;
  place-items: center;
  background: #1fa97c;
  color: #ffffff;
}
.friend-slot-avatar.invite-badge svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
}
.friend-slot-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}
.friend-slot-copy strong {
  font-size: 0.92rem;
  color: #132620;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.friend-handle {
  font-style: normal;
  font-weight: 600;
  font-size: 0.8rem;
  color: #4f7266;
}
.friend-slot-copy small {
  font-size: 0.77rem;
  color: #4c6c61;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.friend-slot-pill {
  flex-shrink: 0;
  padding: 7px 13px;
  border-radius: 999px;
  background: #1fa97c;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}
.friend-slot-act {
  flex-shrink: 0;
  margin: 0 !important;
}
.friend-slot-empty {
  margin: 6px 4px;
  font-size: 0.83rem;
  color: #537066;
}
.friends-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0 10px;
}
.friends-section-head h3 {
  margin: 0;
  font-size: 1.02rem;
  color: #15352b;
}
.dm-quick-start {
  margin-bottom: 14px;
  padding: 11px 13px;
  border-radius: 16px;
  background: #effaf5;
  border: 1px solid #cfeadf;
}
.dm-quick-start > small {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  color: #167a59;
  margin-bottom: 8px;
}
.dm-quick-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.dm-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  border: 1px solid #bfe3d3;
  background: #ffffff;
  color: #153c2f;
  font-size: 0.84rem;
  font-weight: 750;
  cursor: pointer;
}
.dm-chip img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.invite-link-box input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1.5px solid #cde5db;
  background: #f4faf7;
  color: #14362b;
  font-weight: 700;
  margin: 8px 0 14px;
}
