@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
  --score-brilliant-bg: #F5F0C4;
  --score-brilliant-text: #7B5B2E;
  --score-brilliant-label: #D4A024;
  --score-brilliant-outline: #D4A024;
  --score-excellent-bg: #D4EBCE;
  --score-excellent-text: #3E6B35;
  --score-excellent-label: #2E5B25;
  --score-very-good-bg: #C4E8DC;
  --score-very-good-text: #2D7367;
  --score-very-good-label: #1D6357;
  --score-good-bg: #D4E8B0;
  --score-good-text: #4A6B24;
  --score-good-label: #3A5B14;
  --score-fair-bg: #E4DCA4;
  --score-fair-text: #7B5428;
  --score-fair-label: #6B4418;
  --score-average-bg: #F4E4C8;
  --score-average-text: #8B6B20;
  --score-average-label: #7B5B10;
  --score-poor-bg: #F8D4D4;
  --score-poor-text: #A03030;
  --score-poor-label: #8B2020;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined", sans-serif;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "liga";
  width: 24px;
  height: 24px;
  vertical-align: middle;
  flex-shrink: 0;
}

.material-symbols-outlined[style*=font-size] {
  width: auto;
  height: auto;
}

@layer base {
  body {
    @apply text-text-grey;
    font-family: Inter, Arial, "sans-serif";
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    background: #FFFFFF;
  }

  hr {
    @apply text-dark-grey;
  }

  h2 {
    @apply text-black font-semibold leading-9 sm-max:leading-[26px] sm-max:text-xl text-[26px];
  }

  * {
    scrollbar-color: hsla(0deg, 0%, 53.3%, 0.4) rgba(0, 0, 0, 0);
    scrollbar-width: thin;
    /* this gets the whole scrollbar including the scrollbar area */
    /* webkit scrollbar thumb is the part of the scrollbar which we hold to scroll  */
  }
  * ::-webkit-scrollbar {
    background: transparent;
    width: 7px;
  }
  * ::-webkit-scrollbar-thumb {
    background: #606060;
    /* we got the background now lets make it round */
    border-radius: 100px;
  }

  *::placeholder {
    @apply text-input-placeholder;
  }

  input:not([class*=hidden]):not([type=checkbox]):not([type=radio]):not([type=image]), textarea, select {
    @apply rounded-md text-sm;
    border: 1px solid theme("colors.border");
    background: #fff;
    padding: 12px 16px 13px 16px;
    display: block;
    width: 100%;
  }
  input:not([class*=hidden]):not([type=checkbox]):not([type=radio]):not([type=image]):focus::placeholder, textarea:focus::placeholder, select:focus::placeholder {
    color: transparent;
  }

  input[type=text], input[type=password], input[type=email] {
    height: 44px;
  }
}
@layer components {
  .error {
    @apply text-red my-2;
  }

  .user-avatar {
    @apply rounded-full relative p-1 border-[5px] border-dark-grey;
  }
  .user-avatar .avatar {
    @apply object-cover rounded-full block w-full h-full;
  }
  .user-avatar .user-online-status {
    @apply absolute bottom-0 right-[15px] border-[7px] border-white w-[28px] h-[28px] rounded-full;
  }
  .user-avatar .user-online-status.user-online {
    background: #87CA4C;
  }
  .user-avatar .user-online-status.user-offline {
    @apply bg-dark-grey;
  }

  .modal {
    @apply fixed w-full h-full top-0 left-0 flex justify-center items-center;
    z-index: 9999;
    background: rgba(0, 22, 48, 0.6);
  }
  .modal .modal-body {
    @apply relative bg-white rounded-lg overflow-y-auto max-h-[90%];
  }
  .modal .close-modal {
    position: absolute;
    right: 30px;
    top: 30px;
    cursor: pointer;
  }

  .container {
    @apply xl-max:px-7 xl-max:max-w-full;
    @apply sm-max:px-4;
  }

  .border {
    border-color: theme("colors.dark-grey");
  }

  .invalid-feedback {
    color: #da4a4a;
  }

  .btn {
    @apply rounded-lg px-5 cursor-pointer inline-flex items-center justify-center font-medium;
    height: 44px;
    transition: all 0.15s ease;
    color: #666;
  }
  .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  .btn.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
  }
  .btn.btn-default {
    @apply border;
    border-color: #e5e5e5;
    background: #fafafa;
  }
  .btn.btn-default:hover {
    background: #f0f0f0;
    border-color: #d4d4d4;
  }
  .btn.btn-sm {
    @apply px-4 text-sm;
    height: 36px;
  }
  .btn:hover img {
    filter: brightness(0) invert(1);
  }
  .btn.btn-primary {
    color: #0066FF;
    border: 1px solid #0066FF;
    background: transparent;
  }
  .btn.btn-primary:hover {
    background: #0066FF;
    color: white;
  }
  .btn.btn-primary-filled {
    background: #0066FF;
    color: white;
    border: none;
    font-weight: 600;
  }
  .btn.btn-primary-filled:hover {
    background: #0052CC;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
  }
  .btn.btn-danger {
    @apply text-red border border-red hover:bg-red hover:text-white;
  }
  .btn.btn-success, .compact-mode .item-row.list .item-row-col-actions .row-actions-buttons .btn.btn-add-to-list.btn-default {
    color: #10B981;
    border: 1px solid #10B981;
    background: transparent;
  }
  .btn.btn-success:hover, .compact-mode .item-row.list .item-row-col-actions .row-actions-buttons .btn.btn-add-to-list.btn-default:hover {
    background: #10B981;
    color: white;
  }
  .btn.btn-success-filled {
    background: #10B981;
    color: white;
    border: none;
  }
  .btn.btn-success-filled:hover {
    background: #059669;
  }
  .btn.btn-link {
    @apply text-black border-0;
    background: transparent;
  }
  .btn.btn-link:hover {
    background: #f5f5f5;
  }

  .alert {
    padding: 15px;
  }
  .alert.alert-danger {
    @apply bg-red text-white;
  }
  .alert.alert-warning {
    @apply bg-red text-white;
  }
  .alert.alert-success {
    @apply bg-navy text-white;
  }
  .alert.alert-info {
    @apply bg-navy text-white;
  }

  .base-shadow {
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.06);
  }

  .page-head-title {
    @apply text-black font-semibold md:text-[26px] lg:text-[32px] text-[24px];
    line-height: 36px;
  }

  .item-row {
    @apply flex relative flex-wrap lg:flex-nowrap justify-between rounded-xl;
    background: #fff;
    margin: 16px 0;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    border: 1px solid #f0f0f0;
  }
  .item-row:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
  }
  .item-row .item-title {
    @apply text-gray-900 font-semibold mb-1;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: -0.01em;
  }
  .item-row:not(.single) {
    padding: 24px;
  }
  .item-row.single .item-title {
    @apply text-[32px];
  }
  .item-row h2 {
    margin-bottom: 8px;
  }
  .item-row .item-row-col-image {
    @apply flex-shrink-0 w-56 lg:w-[180px] order-1 sm-max:w-full text-center;
  }
  .item-row .item-row-col-image img.item-image {
    @apply mb-2 inline-block rounded-lg;
  }
  .item-row.has-logo .item-row-col-image {
    @apply w-20 lg:w-[80px];
  }
  .item-row.has-logo .item-row-col-image img.item-image {
    @apply w-16 h-16 lg:w-[64px] lg:h-[64px] object-contain rounded-lg;
  }
  .item-row .item-row-col-content {
    @apply lg:order-2 order-3 lg:px-6;
  }
  .item-row .item-title-row {
    @apply flex items-center justify-between gap-2;
  }
  .item-row .item-row-col-actions {
    @apply flex-shrink-0 text-center flex order-2 gap-4
            sm-max:mt-5 sm-max:mb-7 sm-max:justify-between sm-max:w-full sm-max:flex sm-max:justify-center
            lg:order-3;
    width: 140px;
  }
  .item-row .description {
    @apply text-gray-600;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 8px;
  }
  .item-row .all-tags {
    @apply flex flex-wrap justify-start items-center gap-2 font-medium sm-max:justify-center;
    font-size: 12px;
    line-height: 20px;
  }
  .item-row .all-tags .tag {
    @apply text-gray-600;
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 6px;
    transition: background 0.15s ease;
  }
  .item-row .all-tags .tag:hover {
    background: #ebebeb;
  }
  .item-row .all-tags .tag.key-tag {
    background: #e8f0ff;
    color: #0066FF;
  }
  @screen sm-max {
    .item-row .all-tags .tag:nth-child(n+4) {
      display: none;
    }
  }
}
.toggle-selector {
  @apply w-9 h-5 bg-border relative rounded-full  after:content-[""] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-blue;
}

.item-row.list * {
  transition: all 0.7s ease-out;
}

.compact-mode .item-row.list {
  @apply p-4 items-center;
}
.compact-mode .item-row.list .btn, .compact-mode .item-row.list .btn * {
  transition: none;
}
.compact-mode .item-row.list:hover {
  transform: none;
}
.compact-mode .item-row.list .item-row-col-image {
  width: 72px;
}
.compact-mode .item-row.list .item-row-col-image img {
  max-height: 56px;
  border-radius: 8px;
}
.compact-mode .item-row.list h2.item-title {
  @apply text-[16px] inline-block mr-4 mb-0 font-semibold;
}
.compact-mode .item-row.list .item-row-tags, .compact-mode .item-row.list .all-tags {
  @apply inline;
}
.compact-mode .item-row.list .all-tags {
  margin-top: 0 !important;
}
.compact-mode .item-row.list .tag {
  @apply inline-block mr-2 font-medium text-[11px];
  padding: 2px 8px;
}
.compact-mode .item-row.list .tag:nth-child(n+4) {
  display: none;
}
.compact-mode .item-row.list .item-image {
  margin-bottom: 0 !important;
}
.compact-mode .item-row.list .item-row-col-content {
  padding-left: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
}
@screen sm-max {
  .compact-mode .item-row.list .item-row-col-content {
    padding-left: 0px;
  }
}
.compact-mode .item-row.list .item-row-col-content .description {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 8px;
  font-size: 13px;
}
.compact-mode .item-row.list .item-row-col-actions {
  @apply flex items-center flex-row-reverse;
  width: auto;
}
.compact-mode .item-row.list .item-row-col-actions .row-actions-buttons {
  @apply flex flex-nowrap flex-row-reverse gap-2;
}
.compact-mode .item-row.list .item-row-col-actions .row-actions-buttons .btn-edit {
  @apply p-0;
}
.compact-mode .item-row.list .item-row-col-actions .row-actions-buttons .btn-edit .btn-icon {
  @apply px-3 h-[40px] w-auto;
}
.compact-mode .item-row.list .item-row-col-actions .row-actions-buttons .btn-edit img {
  display: none !important;
}
.compact-mode .item-row.list .item-row-col-actions .row-actions-buttons .btn-edit span {
  display: inline-block !important;
}
.compact-mode .item-row.list .item-row-col-actions .row-actions-buttons .btn-add-to-list {
  @apply items-center;
}
.compact-mode .item-row.list .item-row-col-actions .row-actions-buttons .btn-add-to-list.btn-icon {
  @apply px-3 h-[40px] w-auto;
}
.compact-mode .item-row.list .item-row-col-actions .row-actions-buttons .btn-add-to-list .add-to-list-text {
  display: inline-block !important;
}
.compact-mode .item-row.list .item-row-col-actions .row-actions-buttons .btn-add-to-list .add-to-list-icon {
  display: none;
}
.compact-mode .item-row.list .item-row-col-actions .row-actions-buttons .btn-add-to-list .add-to-list-icon-compact-mode {
  display: inline !important;
}
.compact-mode .item-row.list .pie-wrapper {
  @apply w-[52px] h-[52px];
}
.compact-mode .item-row.list .pie-wrapper .pie {
  height: 103%;
  width: 103%;
}
.compact-mode .item-row.list .pie-wrapper .pie:before {
  @apply w-[40px] h-[40px];
}
.compact-mode .item-row.list .pie-wrapper .label {
  font-size: 20px !important;
}
.compact-mode .item-row.list .pie-wrapper .label .sub-text {
  display: none !important;
}

.auth-modal-content {
  @apply w-full;
  --padding: $padding;
  padding: 40px 40px 25px;
}
.auth-modal-content .bottom {
  @apply relative;
  padding-top: 20px;
  margin-top: 40px;
}
.auth-modal-content .bottom:before {
  content: "";
  position: absolute;
  top: 0;
  left: -40px;
  width: calc(100% + 80px);
  height: 1px;
  background: theme("colors.dark-grey");
}
.auth-modal-content .social-links .btn {
  @apply font-semibold text-black;
  font-size: 15px;
  margin-bottom: 15px;
}
.auth-modal-content .social-links .btn:hover img {
  filter: none;
}
.auth-modal-content .social-links .btn img {
  @apply w-6 h-6 mr-3.5;
}
.auth-modal-content .login-btn {
  @apply text-[15px] font-semibold block w-full mt-[25px];
}
.auth-modal-content .title {
  @apply text-black font-semibold text-xl text-center mb-[30px];
}
.auth-modal-content .or {
  @apply text-[15px] gap-[15px] flex items-center justify-center mt-[30px] mb-[20px];
}
.auth-modal-content .or hr {
  @apply flex-grow;
}
.auth-modal-content form label {
  @apply text-black font-medium;
}
.auth-modal-content form label input {
  @apply mt-1 mb-4;
}

.x-switch {
  @apply text-black font-medium text-[16px] m-0;
}

.sort-items-menu {
  @apply flex flex-wrap justify-center ml-auto gap-3.5 items-center text-sm;
  @apply sm-max:w-full;
}
.sort-items-menu .sort-items {
  @apply flex flex-wrap rounded-[80px] bg-dark-grey text-text-grey items-center relative;
}
.sort-items-menu .sort-items .sort-item {
  @apply px-3 py-1 rounded-[80px] cursor-pointer;
}
.sort-items-menu .sort-items .sort-item.active {
  @apply bg-blue text-white;
}
.sort-items-menu .menu-dropdown {
  @apply absolute bg-white rounded-md z-10 -translate-x-1/2 left-1/2 text-sm text-black font-medium;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 230px;
  top: 40px;
}
.sort-items-menu .menu-dropdown:after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -6px;
  width: 0;
  height: 0;
  content: "";
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
}
@media all and (max-width: 1500px) {
  .sort-items-menu .menu-dropdown {
    right: 0;
    left: auto;
    transform: translateX(0);
  }
  .sort-items-menu .menu-dropdown:after {
    left: auto;
    right: 0;
  }
}
.sort-items-menu .menu-dropdown li {
  @apply block text-center block border-b border-dark-grey;
}
.sort-items-menu .menu-dropdown li:last-child {
  border: none;
}
.sort-items-menu .menu-dropdown label {
  @apply py-5 px-4 flex justify-between;
}
@screen lg-max {
  .sort-items-menu .sort-items {
    @apply flex-grow cursor-pointer pr-4;
    background: url("/svg/triangle-reverse.svg") calc(100% - 10px) 50% no-repeat theme("colors.dark-grey");
  }
  .sort-items-menu .sort-items .sort-item {
    display: none;
  }
  .sort-items-menu .sort-items .sort-item.active {
    @apply bg-transparent text-inherit;
    display: block;
  }
}

.pagination {
  @apply flex flex-wrap justify-center gap-2 mt-7;
}
.pagination .page-item.active .page-link {
  @apply bg-blue text-white;
}
.pagination .page-item .page-link {
  @apply px-3 py-2 rounded;
}

#item-form-block {
  padding: 25px;
  border-radius: theme("borderRadius.lg");
  background: #fff;
  margin-top: 25px;
}
#item-form-block .list-checkbox-row {
  @apply mb-3;
  font-size: 15px;
}
#item-form-block .list-checkbox-row * {
  cursor: pointer;
}
#item-form-block .list-checkbox-row label {
  margin-left: 2px;
}
#item-form-block .tags-input-row {
  @apply rounded-md shadow-sm;
  border: 1px solid theme("colors.border");
  background: #fff;
  padding: 12px 16px 13px 16px;
  width: 100%;
}
#item-form-block .tags-input-row .tags-input-text {
  padding: 0;
  border: none;
  margin-left: 8px;
  box-shadow: none;
  display: inline;
  width: auto;
}
#item-form-block .tags-input-row .all-tags {
  @apply flex flex-wrap justify-start items-center space-x-2 font-medium gap-2;
  font-size: 12px;
  line-height: 22px;
}
#item-form-block .tags-input-row .all-tags .tag {
  @apply bg-light-grey text-text-grey flex items-center;
  padding: 3px 14px;
  border-radius: 80px;
  margin-left: 0 !important;
}
#item-form-block .tags-input-row .all-tags .tags-input-remove {
  @apply text-black;
  font-size: 1.3rem;
  line-height: 10.9px;
  margin-top: -2px;
  margin-right: -1px;
}
#item-form-block .tags-input-row .all-tags .tags-input-remove:first-child {
  margin-right: 0.25rem;
}
#item-form-block .tags-input-row .all-tags .tags-input-remove:last-child {
  margin-left: 0.25rem;
}
#item-form-block .tags-input-row .all-tags .tags-input-remove:focus {
  outline: 0;
}
#item-form-block .item-form-row {
  @apply flex flex-wrap;
  padding: 15px 0 25px;
  border-bottom: 1px solid theme("colors.dark-grey");
}
#item-form-block .item-form-row:first-of-type {
  padding-top: 0;
}
#item-form-block .item-form-row .item-form-row-col-left {
  @apply w-full md:w-2/6 lg:w-4/12  pr-4;
}
#item-form-block .item-form-row .item-form-row-col-left .item-form-row-title {
  @apply font-semibold;
  font-size: 18px;
  line-height: 24px;
}
#item-form-block .item-form-row .item-form-row-col-left .item-form-row-description {
  @apply font-normal;
  font-size: 15px;
  line-height: 20px;
}
#item-form-block .item-form-row .item-form-row-col-right {
  @apply w-full md:w-4/6 lg:w-8/12 mt-4 md:mt-0;
}
#item-form-block .item-form-row #dropzone {
  @apply text-black mb-3;
}
#item-form-block .item-form-row #dropzone label {
  @apply py-1 rounded-md flex flex-col justify-center items-center w-full cursor-pointer;
  background: rgba(1, 118, 255, 0.05);
  border: 1px dashed #0176FF;
}

.logo {
  @apply mr-12 lg:mr-24 flex items-center;
  gap: 6px !important;
}
.logo img.logo-icon {
  width: 20px;
  height: 20px;
  margin-right: 0 !important;
}
@media (min-width: 768px) {
  .logo img.logo-icon {
    width: 24px;
    height: 24px;
  }
}
.logo img.logo-text {
  height: 18px;
  width: auto;
}
@media (min-width: 768px) {
  .logo img.logo-text {
    height: 22px;
  }
}
.logo img.logo-full {
  height: 28px;
  width: auto;
}
@media (min-width: 768px) {
  .logo img.logo-full {
    height: 32px;
  }
}
.logo span {
  font-size: 24px;
  font-weight: 800;
  color: #252d37 !important;
  line-height: 1;
}
@media (min-width: 768px) {
  .logo span {
    font-size: 36px;
  }
}

.stitch-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  color: var(--stitch-text-main, #0d0d1c);
}
.stitch-logo:hover {
  opacity: 0.85;
}

.stitch-logo-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
  overflow: visible;
}

.stitch-logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--stitch-text-main, #0d0d1c);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

*:focus {
  outline: none;
}

[x-cloak] {
  display: none !important;
}

main > :first-child:not(.page-page) {
  padding-top: 40px;
}

.reviews-box {
  @apply rounded-lg bg-white px-[30px] pb-[25px] pt-[47px];
}
.reviews-box.item-reviews-box {
  padding-top: 25px;
}
.reviews-box .add-comment-box {
  @apply text-black;
}
.reviews-box .review-comments-title {
  @apply font-semibold text-black text-[26px];
}
.reviews-box .item-image-avatar {
  @apply w-[90px] h-[90px] rounded-full relative p-1 border-4 border-dark-grey;
}
.reviews-box .item-image-avatar img {
  @apply object-cover rounded-full block w-full h-full;
}
.reviews-box .global-rating {
  @apply flex justify-center gap-2.5 items-center text-sm;
}
.reviews-box .global-rating img {
  @apply w-[21px] h-[20px];
}
.reviews-box .global-rating .val {
  @apply font-semibold text-[26px] text-black;
}
.reviews-box .global-recommend {
  @apply flex justify-center gap-2.5 items-center text-sm mt-4 mb-[60px];
}
.reviews-box .global-recommend .val {
  @apply font-semibold text-[22px] text-black;
}
.reviews-box .sorting {
  @apply flex gap-3 items-center mb-6;
}
.reviews-box .sorting .sort-items {
  @apply rounded-[80px] pl-3 pr-8 py-0.5 bg-dark-grey cursor-pointer text-text-grey items-center relative;
  background: url("/svg/triangle-reverse.svg") calc(100% - 10px) 50% no-repeat theme("colors.dark-grey");
}
.reviews-box .sorting .sort-items .sort-item {
  display: none;
}
.reviews-box .sorting .sort-items .sort-item.active {
  @apply bg-transparent text-inherit;
  display: block;
}
.reviews-box .item {
  @apply flex border-t border-dark-grey py-7;
}
.reviews-box .item .user-info {
  @apply w-32 shrink-0 text-center pr-5;
}
.reviews-box .item .actions {
  @apply flex sm:gap-[10px] mt-6 flex-wrap;
}
.reviews-box .item .actions .btn:hover {
  background: theme("colors.bg-grey");
}
.reviews-box .item .actions .btn:hover img {
  filter: none;
}
.reviews-box .item .item-content .title {
  @apply text-black text-base font-semibold my-1;
}
.reviews-box .item .item-content .rating {
  @apply text-black text-base font-semibold mb-2;
}

.related-block {
  @apply rounded-lg bg-white px-[30px] pb-[25px] pt-[25px];
}
.related-block .block-title {
  @apply font-semibold text-black text-[26px] pb-[25px];
}
.related-block .related-items .related-item {
  margin-bottom: 15px;
}
.related-block .related-items .related-item a {
  color: theme("colors.blue.DEFAULT");
}
.related-block .related-items .related-item .title {
  @apply font-bold;
  font-size: 15px;
}
.related-block .related-items .related-item img {
  @apply block w-full max-h-full object-contain;
  border-radius: theme("borderRadius.md");
}
.related-block .related-items .related-item .image {
  position: relative;
  width: 112px;
  height: 78px;
}

.items-list-short-block-create-edit-form .block-title {
  @apply font-semibold text-black text-[26px] pb-[25px];
}
.items-list-short-block-create-edit-form .items-list-short-block-items {
  @apply grid grid-cols-2 gap-5;
}
.items-list-short-block-create-edit-form .items-list-short-block-items .items-list-short-item {
  @apply flex-[6] cursor-pointer;
}
.items-list-short-block-create-edit-form .items-list-short-block-items .items-list-short-item.items-list-short-item--checked {
  background: #ebf1ff;
}
.items-list-short-block-create-edit-form .items-list-short-block-items .items-list-short-item a {
  color: theme("colors.blue.DEFAULT");
}
.items-list-short-block-create-edit-form .items-list-short-block-items .items-list-short-item .title {
  @apply font-bold;
  font-size: 15px;
}
.items-list-short-block-create-edit-form .items-list-short-block-items .items-list-short-item img {
  @apply block w-full max-h-full object-contain;
  border-radius: theme("borderRadius.md");
}
.items-list-short-block-create-edit-form .items-list-short-block-items .items-list-short-item .image {
  position: relative;
  width: 112px;
  height: 78px;
}

.items-list-related .block-title {
  @apply font-semibold text-black text-[26px] pb-[25px];
}
.items-list-related .items-list-related-items {
  @apply grid grid-cols-2 lg:grid-cols-3 sm-max:grid-cols-1 gap-5;
}
.items-list-related .items-list-related-items .items-list-related-item {
  @apply flex-[6] cursor-pointer;
}
.items-list-related .items-list-related-items .items-list-related-item:hover {
  background: #f5f5f5;
}
.items-list-related .items-list-related-items .items-list-related-item .block-title {
  padding-bottom: 5px;
}
.items-list-related .items-list-related-items .items-list-related-item a {
  color: theme("colors.blue.DEFAULT");
}
.items-list-related .items-list-related-items .items-list-related-item .title {
  @apply font-bold;
  font-size: 15px;
}
.items-list-related .items-list-related-items .items-list-related-item img {
  @apply block w-full max-h-full object-contain;
  border-radius: theme("borderRadius.md");
}
.items-list-related .items-list-related-items .items-list-related-item .image {
  position: relative;
  width: 100px;
  max-height: 100px;
}

.item-comments .reviews-box .reviews-box {
  padding: 35px 0 0;
}
.item-comments .reviews-box .reviews-box .global-recommend {
  margin-bottom: 35px;
}

.download-pdf-btn {
  @apply inline-flex items-center justify-center;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0;
  margin-top: 4px;
  transition: color 0.2s ease;
}
.download-pdf-btn:hover {
  color: theme("colors.blue.DEFAULT");
}
.download-pdf-btn svg {
  width: 20px;
  height: 20px;
}

.download-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 22, 48, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1rem;
}

.download-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.download-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #f1f5f9;
  border-radius: 8px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.download-modal-close:hover {
  background: #e2e8f0;
  color: #334155;
}

.download-modal-header {
  text-align: center;
  margin-bottom: 24px;
}
.download-modal-header .header-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #ebf4ff 0%, #dbeafe 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.download-modal-header .header-icon svg {
  width: 28px;
  height: 28px;
  color: theme("colors.blue.DEFAULT");
}
.download-modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
}
.download-modal-header p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.download-modal-form .form-group {
  margin-bottom: 16px;
}
.download-modal-form .form-group input[type=email] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.2s ease;
}
.download-modal-form .form-group input[type=email]:focus {
  outline: none;
  border-color: theme("colors.blue.DEFAULT");
  box-shadow: 0 0 0 3px rgba(1, 118, 255, 0.1);
}
.download-modal-form .form-group input[type=email]::placeholder {
  color: #94a3b8;
}
.download-modal-form .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
}
.download-modal-form .checkbox-row input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  border: 2px solid #cbd5e1;
  border-radius: 4px;
  cursor: pointer;
  accent-color: theme("colors.blue.DEFAULT");
}
.download-modal-form .checkbox-row span {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}
.download-modal-form .checkbox-row span a {
  color: theme("colors.blue.DEFAULT");
  text-decoration: none;
}
.download-modal-form .checkbox-row span a:hover {
  text-decoration: underline;
}
.download-modal-form .error-text {
  display: block;
  color: #ef4444;
  font-size: 13px;
  margin: 4px 0 8px 28px;
}
.download-modal-form .submit-btn {
  width: 100%;
  padding: 14px 20px;
  margin-top: 20px;
  background: theme("colors.blue.DEFAULT");
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.download-modal-form .submit-btn:hover {
  background: #005FCF;
}
.download-modal-form .submit-btn:disabled, .download-modal-form .submit-btn.loading {
  opacity: 0.6;
  cursor: wait;
}

.download-modal-success {
  text-align: center;
  padding: 20px 0;
}
.download-modal-success .success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.download-modal-success .success-icon svg {
  width: 32px;
  height: 32px;
  color: #059669;
}
.download-modal-success h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
}
.download-modal-success p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

@media print {
  .item-block {
    break-inside: avoid;
  }
}
header {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background: #fff;
  font-size: 1rem;
  z-index: 5;
}
header .top-menu {
  min-width: 230px;
  justify-content: flex-end;
}
header .top-menu .btn {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  height: 44px;
}
header .top-menu .menu-dropdown {
  @apply absolute bg-white rounded-md z-10 -translate-x-1/2 left-1/2 text-sm text-black font-medium;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 110px;
  top: 63px;
}
header .top-menu .menu-dropdown:after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -6px;
  width: 0;
  height: 0;
  content: "";
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fff;
}
header .top-menu .menu-dropdown a {
  @apply px-4 block text-center;
}
header .top-menu .menu-dropdown a span {
  @apply py-3.5 block border-b border-dark-grey;
}
header .top-menu .menu-dropdown li:last-child a span {
  border: none;
}
header .avatar-button img {
  margin-top: 5px;
  border-radius: 100%;
  width: 44px;
  height: 44px;
}
header .main-menu a {
  color: theme("colors.black");
}
header .main-menu ul {
  display: flex;
  flex-wrap: wrap;
  font-weight: 500;
  align-items: center;
}
header .menu-desktop .main-menu {
  padding-left: 0;
}
header .menu-desktop .main-menu li {
  margin-right: 40px;
  padding-bottom: 10px;
  border-bottom: 3px solid transparent;
}
header .menu-desktop .main-menu li a:hover {
  color: theme("colors.blue.DEFAULT");
}
header .menu-desktop .main-menu li.active {
  border-bottom-color: theme("colors.blue.DEFAULT");
}
header .menu-desktop .main-menu li.active a {
  color: theme("colors.blue.DEFAULT");
}
header .menu-mobile-block .menu-mobile-open {
  @apply w-5 mr-3;
}
header .menu-mobile-overlay {
  @apply px-2.5 pt-[85px] fixed top-0 left-0 w-full z-50 h-full overflow-y-auto;
  background: #fff;
}
header .menu-mobile-overlay .menu-mobile-close {
  @apply w-8 absolute left-2 top-4;
}
header .menu-mobile-overlay .top-menu {
  @apply justify-center flex-wrap;
}
header .menu-mobile-overlay .main-menu a:hover {
  color: theme("colors.blue.DEFAULT");
}
header .menu-mobile-overlay .main-menu ul {
  @apply flex-col items-start;
}
header .menu-mobile-overlay .main-menu ul li {
  padding: 10px 0;
  display: block;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid theme("colors.light-grey");
}

.search-form {
  @apply order-5 md:order-2 flex-wrap md:mr-6 mt-4 md:mt-0 relative;
  width: 100%;
  position: relative;
  flex-shrink: 1000;
}
.search-form input[type=image] {
  box-shadow: none;
  width: auto;
  height: 22px;
  position: absolute;
  border: none;
  padding: 0;
  background: none;
  right: 17px;
  top: 12px;
}
.search-form.search-form-position-header {
  max-width: 320px;
}
.search-form.search-form-position-header #search-input {
  @apply bg-light-grey rounded-md;
  padding: 10px 18px;
  display: block;
  width: 100%;
  border: none;
  font-size: 14px;
}
.search-form.search-form-position-header #search-input:focus {
  border: 1px solid theme("colors.border");
}
.search-form.search-form-position-globe #search-input {
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.25rem;
  font-weight: 500;
  color: #ACAFB6;
  border: 1px solid rgba(198, 201, 207, 0.5019607843);
  background: #fff;
  padding: 20px 24px;
  display: block;
  width: 100%;
  height: 58px;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.0588235294);
}
.search-form.search-form-position-globe input[type=image] {
  right: 23px;
  top: 17px;
}
.search-form .autocomplete-items {
  @apply absolute left-0 top-[55px] bg-white rounded-md px-4 w-full text-black font-medium text-sm;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}
.search-form .autocomplete-items .item {
  @apply border-b border-dark-grey py-3 last-of-type:border-none cursor-pointer;
}
.search-form .autocomplete-items .item.active, .search-form .autocomplete-items .item:hover {
  @apply text-blue;
}

footer {
  width: 100%;
  margin-top: 60px;
  padding-top: 40px;
  background: #fff;
  border-top: 1px solid var(--stitch-border, #e5e5e5);
}
footer .container {
  max-width: var(--stitch-max-width, 900px);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) {
  footer .container {
    padding: 0 40px;
  }
}
footer .footer-bottom {
  @apply flex justify-between pt-10 md:pb-12 md-max:flex-wrap md-max:text-center;
  width: 100%;
}
footer .footer-bottom > * {
  @apply md-max:w-full md-max:mb-9;
}
@media (max-width: 767px) {
  footer .footer-bottom .footer-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
  }
}
footer .footer-title {
  @apply text-black;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 25px;
  text-transform: uppercase;
}
footer li {
  @apply text-black;
  margin-bottom: 10px;
}
footer li a {
  @apply md-max:justify-center;
}
footer .logo {
  @apply md-max:justify-center;
  margin: 0;
}
footer .copyright {
  @apply flex md:justify-between font-normal py-8;
  @apply md-max:justify-center md-max:flex-wrap md-max:text-center md-max:space-y-3;
}
footer .copyright > * {
  @apply md-max:w-full;
}
footer .copyright .privacy-line {
  @apply flex gap-4 md-max:justify-center;
}

.user-page .hero {
  @apply mt-[-40px] bg-[#212B35];
}
.user-page .hero img {
  @apply max-h-[230px] min-h-[120px] object-cover opacity-70;
}
.user-page .main {
  @apply flex flex-wrap gap-[40px] items-start;
}
.user-page .main .subtitle {
  @apply text-sm font-semibold mb-2.5 text-black;
}
.user-page .main .user-card {
  @apply rounded-lg bg-white px-[25px] pb-[25px] pt-[40px] md:flex-[3] flex flex-col shrink-0 gap-[30px] md:-translate-y-16 md-max:w-full;
}
.user-page .main .user-card .user-card-header {
  @apply flex flex-col items-center;
}
.user-page .main .user-card .user-card-header .user-avatar {
  @apply w-[160px] h-[160px] mb-6;
}
.user-page .main .user-card .user-card-header .user-name {
  @apply font-semibold text-[26px] text-black;
}
.user-page .main .user-card .user-card-header .user-level {
  @apply text-lg mt-2 mb-3;
}
.user-page .main .user-card .user-info {
  @apply text-sm font-medium;
}
.user-page .main .user-card .user-info .user-info-row {
  @apply flex justify-between pt-2 pb-2.5 border-b border-dark-grey;
}
.user-page .main .user-card .user-info .user-info-row:last-of-type {
  border: none;
}
.user-page .main .user-card .user-info .user-info-row .value {
  @apply text-black;
}
.user-page .main .user-card .user-tags-wrapper .user-tags {
  @apply flex flex-wrap justify-start items-center gap-2 font-medium;
  font-size: 12px;
  line-height: 22px;
}
.user-page .main .user-card .user-tags-wrapper .user-tags .tag {
  @apply bg-light-grey text-text-grey;
  padding: 3px 14px;
  border-radius: 80px;
}
.user-page .main .user-data {
  @apply pt-10 flex-grow md:flex-[9];
}
.user-page .main .user-data .user-tabs {
  @apply border-b border-dark-grey w-full font-medium;
}
.user-page .main .user-data .user-tabs ul {
  @apply text-input-placeholder text-lg gap-[40px] flex;
}
.user-page .main .user-data .user-tabs ul li {
  @apply cursor-pointer pb-2.5;
}
.user-page .main .user-data .user-tabs ul li:hover {
  @apply text-blue;
}
.user-page .main .user-data .user-tabs ul li.active {
  @apply text-blue border-b-2 border-blue;
}
.user-page .main .user-data .data-title {
  @apply text-black text-[32px] leading-9 font-semibold;
}
.user-page .main .user-data .item-image-avatar {
  @apply w-[90px] h-[90px] rounded-full relative p-1 border-4 border-dark-grey;
}
.user-page .main .user-data .item-image-avatar img {
  @apply object-cover rounded-full block w-full h-full;
}
.user-page .main .user-data .data-box {
  @apply rounded-lg bg-white px-[30px] py-[25px];
}
.user-page .main .user-data .data-box .title {
  @apply text-black text-[26px] leading-9 font-semibold;
}
.user-page .main .user-data .data-box .items {
  @apply grid-cols-5 grid gap-5 mt-5 sm-max:grid-cols-3;
}
.user-page .main .user-data .data-box .items .item {
  @apply text-center;
}
.user-page .main .user-data .data-box .items .item .item-image {
  --height: 160px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
@screen lg-max {
  .user-page .main .user-data .data-box .items .item .item-image {
    height: calc(var(--height) * 0.75 - 20px);
  }
}
@screen lg {
  .user-page .main .user-data .data-box .items .item .item-image {
    height: calc(var(--height) * 0.75);
  }
}
.user-page .main .user-data .data-box .items .item .item-image img {
  @apply rounded;
  display: inline;
  max-height: calc(var(--height) * 0.75);
}
.user-page .main .user-data .data-box .items .item .item-title {
  @apply text-sm mt-3 mb-2;
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-page .main .user-data .data-box .items .item .item-status {
  @apply text-xs px-2 h-6 uppercase rounded-md inline-block border font-semibold border-[#5E7AFF] bg-[#5E7AFF1A] text-[#5E7AFF];
  line-height: 22px;
}
.user-page .main .user-data .user-friends-data, .user-page .main .user-data .user-list-data, .user-page .main .user-data .user-reviews-data {
  @apply gap-[30px];
}
.user-page .main .user-data .user-tab-header {
  @apply flex justify-between items-center;
}
.user-page .main .user-data .user-tab-header .btn {
  @apply font-semibold;
  font-size: 15px;
}
.user-page .main .user-data .user-friends-data .items {
  margin: 0;
}

.profile-modal {
  @apply text-black;
  padding: 40px;
}
.profile-modal .title {
  @apply font-semibold text-[26px] mb-5 text-black mt-12;
}
.profile-modal .title:first-of-type {
  @apply mt-0;
}
.profile-modal label {
  @apply mb-2 block font-medium;
}
.profile-modal .update-avatar {
  @apply flex items-center gap-5;
}
.profile-modal .update-avatar .user-avatar {
  @apply w-[86px] h-[86px];
}
.profile-modal .update-avatar img {
  @apply rounded-full;
}

.pie-wrapper {
  @apply sm-max:w-[56px] sm:w-[96px] sm-max:h-[56px] sm:h-[96px] rounded-full shrink-0;
  border-radius: 100%;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pie-wrapper:hover {
  transform: scale(1.05);
}
.pie-wrapper .pie {
  @apply sm-max:w-[104%] sm-max:h-[105%] sm:w-[102%] sm:h-[102%];
  border-radius: 100%;
  position: absolute;
  left: -1px;
  top: -1px;
  content: "";
  display: block;
  transform: rotate(0deg);
}
.pie-wrapper .pie:before {
  @apply sm-max:w-[40px] sm-max:h-[40px] sm:w-[72px] sm:h-[72px];
  background: #ffffff;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  content: "";
  display: block;
}
.pie-wrapper .pie .label {
  transform: rotate(0deg);
  @apply font-bold;
  font-size: 36px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  text-align: center;
  background: none;
  color: theme("colors.black");
}
@media (max-width: 575px) {
  .pie-wrapper .pie .label {
    font-size: 20px;
  }
}
.pie-wrapper .pie .label div {
  @apply text-xs font-normal;
  color: theme("colors.text-grey");
}

.seo-page-wrapper {
  max-width: 780px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
@media (min-width: 768px) {
  .seo-page-wrapper {
    padding: 32px 24px 64px;
  }
}

.seo-page-header {
  margin-bottom: 32px;
  text-align: center;
}
@media (min-width: 768px) {
  .seo-page-header {
    margin-bottom: 48px;
  }
}

.seo-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  color: #637381;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.seo-breadcrumb a {
  color: #0066FF;
  text-decoration: none;
}
.seo-breadcrumb a:hover {
  text-decoration: underline;
}
.seo-breadcrumb .material-symbols-outlined {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.seo-page-title {
  font-size: 28px;
  font-weight: 700;
  color: #0d0d1c;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
@media (min-width: 768px) {
  .seo-page-title {
    font-size: 36px;
  }
}
.seo-page-title .material-symbols-outlined {
  color: #0066FF;
  font-size: 32px;
  width: 32px;
  height: 32px;
}
@media (min-width: 768px) {
  .seo-page-title .material-symbols-outlined {
    font-size: 40px;
    width: 40px;
    height: 40px;
  }
}

.seo-page-subtitle {
  font-size: 15px;
  color: #637381;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.seo-podium {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .seo-podium {
    gap: 24px;
    margin-bottom: 56px;
  }
}

.podium-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.podium-1 {
  order: 2;
}
@media (min-width: 768px) {
  .podium-1 {
    margin-top: -20px;
  }
}

.podium-2 {
  order: 1;
  margin-top: 20px;
}
@media (min-width: 768px) {
  .podium-2 {
    margin-top: 40px;
  }
}

.podium-3 {
  order: 3;
  margin-top: 20px;
}
@media (min-width: 768px) {
  .podium-3 {
    margin-top: 40px;
  }
}

.podium-rank {
  font-size: 18px;
  font-weight: 700;
  color: #637381;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
@media (min-width: 768px) {
  .podium-rank {
    font-size: 24px;
  }
}

.podium-crown {
  color: #D4A024;
}
.podium-crown .material-symbols-outlined {
  font-size: 24px;
  width: 24px;
  height: 24px;
}
@media (min-width: 768px) {
  .podium-crown .material-symbols-outlined {
    font-size: 32px;
    width: 32px;
    height: 32px;
  }
}

.podium-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
}
.podium-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.podium-card.winner {
  border-color: #fcd34d;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}
@media (min-width: 768px) {
  .podium-card {
    padding: 24px;
  }
}

.podium-2 .podium-card {
  border-color: #cbd5e1;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.podium-3 .podium-card {
  border-color: #fdba74;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

.podium-image {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  .podium-image {
    width: 80px;
    height: 80px;
  }
}
.podium-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.podium-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 8px;
  font-weight: 600;
  color: #637381;
}

.podium-title {
  font-size: 13px;
  font-weight: 600;
  color: #0d0d1c;
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .podium-title {
    font-size: 15px;
  }
}

.podium-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 16px;
  border-radius: 12px;
}
.podium-score .score-number {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}
@media (min-width: 768px) {
  .podium-score .score-number {
    font-size: 28px;
  }
}
.podium-score .score-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
}
@media (min-width: 768px) {
  .podium-score .score-label {
    font-size: 11px;
  }
}
.podium-score.brilliant {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
}
.podium-score.brilliant .score-number {
  color: var(--score-brilliant-text);
}
.podium-score.brilliant .score-label {
  color: var(--score-brilliant-label);
}
.podium-score.excellent {
  background: var(--score-excellent-bg);
}
.podium-score.excellent .score-number {
  color: var(--score-excellent-text);
}
.podium-score.excellent .score-label {
  color: var(--score-excellent-label);
}
.podium-score.very-good {
  background: var(--score-very-good-bg);
}
.podium-score.very-good .score-number {
  color: var(--score-very-good-text);
}
.podium-score.very-good .score-label {
  color: var(--score-very-good-label);
}
.podium-score.good {
  background: var(--score-good-bg);
}
.podium-score.good .score-number {
  color: var(--score-good-text);
}
.podium-score.good .score-label {
  color: var(--score-good-label);
}
.podium-score.fair {
  background: var(--score-fair-bg);
}
.podium-score.fair .score-number {
  color: var(--score-fair-text);
}
.podium-score.fair .score-label {
  color: var(--score-fair-label);
}
.podium-score.average {
  background: var(--score-average-bg);
}
.podium-score.average .score-number {
  color: var(--score-average-text);
}
.podium-score.average .score-label {
  color: var(--score-average-label);
}
.podium-score.poor {
  background: var(--score-poor-bg);
}
.podium-score.poor .score-number {
  color: var(--score-poor-text);
}
.podium-score.poor .score-label {
  color: var(--score-poor-label);
}

.podium-best-for {
  font-size: 11px;
  color: var(--stitch-text-secondary, #637381);
  text-align: center;
  margin: 0 0 8px;
  line-height: 1.3;
  font-weight: 500;
}
@media (min-width: 768px) {
  .podium-best-for {
    font-size: 12px;
  }
}

.podium-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--stitch-primary, #0066FF);
  background: transparent;
  border: 1px solid var(--stitch-primary, #0066FF);
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s;
}
.podium-cta-btn:hover {
  background: var(--stitch-primary, #0066FF);
  color: white;
  text-decoration: none;
}
@media (min-width: 768px) {
  .podium-cta-btn {
    padding: 7px 20px;
    font-size: 13px;
  }
}

.seo-quick-compare {
  margin-bottom: 48px;
}
.seo-quick-compare h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #0d0d1c;
  margin-bottom: 20px;
}
.seo-quick-compare h2 .material-symbols-outlined {
  color: #0066FF;
}

.quick-compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 100%;
}

@media (min-width: 740px) {
  .quick-compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .quick-compare-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.quick-compare-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.quick-compare-card:hover {
  border-color: #4338ca;
  box-shadow: 0 2px 12px rgba(67, 56, 202, 0.12);
}

.qc-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.qc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
}
.qc-item .qc-thumb {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
}
.qc-item .qc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qc-item .qc-name {
  font-size: 12.5px;
  font-weight: 650;
  color: #0d0d1c;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.qc-vs {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: #637381;
  padding: 4px 8px;
  background: #f3f4f6;
  border-radius: 6px;
  text-transform: uppercase;
}

.qc-action {
  display: flex;
  justify-content: center;
}

.qc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 650;
  color: #fff;
  background: #4338ca;
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
  min-width: 120px;
}

@media (max-width: 420px) {
  .qc-pair {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .qc-vs {
    justify-self: center;
  }
}
.seo-rankings-section {
  margin-bottom: 48px;
}
.seo-rankings-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #0d0d1c;
  margin-bottom: 20px;
}
.seo-rankings-section h2 .material-symbols-outlined {
  color: #0066FF;
}

.seo-rankings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.2s ease;
}
.ranking-item:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
@media (min-width: 768px) {
  .ranking-item {
    padding: 20px;
    gap: 16px;
  }
}
.ranking-item:nth-child(1) {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fcd34d;
}
.ranking-item:nth-child(2) {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: #cbd5e1;
}
.ranking-item:nth-child(3) {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-color: #fdba74;
}

.ranking-position {
  font-size: 16px;
  font-weight: 700;
  color: #637381;
  min-width: 40px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ranking-position.top-3 {
  color: #0066FF;
}
.ranking-position .material-symbols-outlined {
  color: #D4A024;
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.ranking-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  text-decoration: none;
  min-width: 0;
}

.ranking-image {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .ranking-image {
    width: 56px;
    height: 56px;
  }
}
.ranking-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.ranking-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 8px;
  font-weight: 600;
  font-size: 12px;
  color: #637381;
}

.ranking-info {
  flex: 1;
  min-width: 0;
}

.ranking-title {
  font-size: 15px;
  font-weight: 600;
  color: #0d0d1c;
  margin-bottom: 4px;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .ranking-title {
    font-size: 16px;
  }
}

.ranking-desc {
  font-size: 13px;
  color: #637381;
  line-height: 1.4;
  display: none;
}
@media (min-width: 768px) {
  .ranking-desc {
    display: block;
  }
}

.ranking-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
}
.ranking-score .score-number {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}
.ranking-score .score-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
}
.ranking-score.brilliant {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
}
.ranking-score.brilliant .score-number {
  color: var(--score-brilliant-text);
}
.ranking-score.brilliant .score-label {
  color: var(--score-brilliant-label);
}
.ranking-score.excellent {
  background: var(--score-excellent-bg);
}
.ranking-score.excellent .score-number {
  color: var(--score-excellent-text);
}
.ranking-score.excellent .score-label {
  color: var(--score-excellent-label);
}
.ranking-score.very-good {
  background: var(--score-very-good-bg);
}
.ranking-score.very-good .score-number {
  color: var(--score-very-good-text);
}
.ranking-score.very-good .score-label {
  color: var(--score-very-good-label);
}
.ranking-score.good {
  background: var(--score-good-bg);
}
.ranking-score.good .score-number {
  color: var(--score-good-text);
}
.ranking-score.good .score-label {
  color: var(--score-good-label);
}
.ranking-score.fair {
  background: var(--score-fair-bg);
}
.ranking-score.fair .score-number {
  color: var(--score-fair-text);
}
.ranking-score.fair .score-label {
  color: var(--score-fair-label);
}
.ranking-score.average {
  background: var(--score-average-bg);
}
.ranking-score.average .score-number {
  color: var(--score-average-text);
}
.ranking-score.average .score-label {
  color: var(--score-average-label);
}
.ranking-score.poor {
  background: var(--score-poor-bg);
}
.ranking-score.poor .score-number {
  color: var(--score-poor-text);
}
.ranking-score.poor .score-label {
  color: var(--score-poor-label);
}

.ranking-actions {
  display: flex;
  gap: 8px;
}
@media (max-width: 640px) {
  .ranking-actions {
    display: none;
  }
}

.ranking-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.ranking-btn.view-btn {
  background: #0066FF;
  color: #fff;
}
.ranking-btn.view-btn:hover {
  background: #0052CC;
}
.ranking-btn.compare-btn {
  background: #f3f4f6;
  color: #637381;
}
.ranking-btn.compare-btn:hover {
  background: #e5e7eb;
  color: #0d0d1c;
}

.seo-see-all {
  text-align: center;
  margin-top: 24px;
}

.alternatives-main-item {
  margin-bottom: 40px;
}

.main-item-card {
  background: #fff;
  border: 2px solid #0066FF;
  border-radius: 16px;
  padding: 20px;
}
@media (min-width: 768px) {
  .main-item-card {
    padding: 24px;
  }
}

.main-item-label {
  font-size: 12px;
  font-weight: 600;
  color: #0066FF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.main-item-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .main-item-content {
    flex-wrap: nowrap;
  }
}

.main-item-image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}
.main-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.main-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 12px;
  font-weight: 600;
  font-size: 20px;
  color: #637381;
}

.main-item-info {
  flex: 1;
  min-width: 200px;
}
.main-item-info h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}
.main-item-info h2 a {
  color: #0d0d1c;
  text-decoration: none;
}
.main-item-info h2 a:hover {
  color: #0066FF;
}

.main-item-desc {
  font-size: 14px;
  color: #637381;
  line-height: 1.5;
}

.main-item-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  margin-bottom: 8px;
}

.main-item-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 28px;
  border-radius: 16px;
}
.main-item-score .score-number {
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}
.main-item-score .score-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.main-item-score.brilliant {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  border: 1px solid var(--score-brilliant-outline);
}
.main-item-score.brilliant .score-number {
  color: var(--score-brilliant-text);
}
.main-item-score.brilliant .score-label {
  color: var(--score-brilliant-label);
}
.main-item-score.excellent {
  background: var(--score-excellent-bg);
}
.main-item-score.excellent .score-number {
  color: var(--score-excellent-text);
}
.main-item-score.excellent .score-label {
  color: var(--score-excellent-label);
}
.main-item-score.very-good {
  background: var(--score-very-good-bg);
}
.main-item-score.very-good .score-number {
  color: var(--score-very-good-text);
}
.main-item-score.very-good .score-label {
  color: var(--score-very-good-label);
}
.main-item-score.good {
  background: var(--score-good-bg);
}
.main-item-score.good .score-number {
  color: var(--score-good-text);
}
.main-item-score.good .score-label {
  color: var(--score-good-label);
}
.main-item-score.fair {
  background: var(--score-fair-bg);
}
.main-item-score.fair .score-number {
  color: var(--score-fair-text);
}
.main-item-score.fair .score-label {
  color: var(--score-fair-label);
}
.main-item-score.average {
  background: var(--score-average-bg);
}
.main-item-score.average .score-number {
  color: var(--score-average-text);
}
.main-item-score.average .score-label {
  color: var(--score-average-label);
}
.main-item-score.poor {
  background: var(--score-poor-bg);
}
.main-item-score.poor .score-number {
  color: var(--score-poor-text);
}
.main-item-score.poor .score-label {
  color: var(--score-poor-label);
}

.alternatives-section {
  margin-bottom: 48px;
}
.alternatives-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #0d0d1c;
  margin-bottom: 24px;
}
.alternatives-section h2 .material-symbols-outlined {
  color: #0066FF;
}

.alternatives-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.alt-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.alt-row:hover {
  border-color: #c4b5fd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.alt-row--best {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fcd34d;
}

.alt-row-rank {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #637381;
  background: #f3f4f6;
  border-radius: 50%;
  flex-shrink: 0;
}
.alt-row-rank.brilliant, .alt-row-rank.excellent {
  color: #047857;
  background: #dcfce7;
}
.alt-row-rank.good, .alt-row-rank.very-good {
  color: #0369a1;
  background: #e0f2fe;
}

.alt-row-image {
  flex-shrink: 0;
}
.alt-row-image img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}

.alt-row-placeholder {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #637381;
}

.alt-row-info {
  flex: 1;
  min-width: 0;
}

.alt-row-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alt-row-desc {
  font-size: 12px;
  color: var(--stitch-text-secondary, #637381);
  margin: 2px 0 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.alt-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.alt-row-tag {
  font-size: 10px;
  font-weight: 500;
  color: #637381;
  background: #f3f4f6;
  padding: 1px 6px;
  border-radius: 4px;
}

.alt-row-score {
  flex-shrink: 0;
  text-align: center;
  min-width: 56px;
  padding: 8px 10px;
  border-radius: 8px;
}
.alt-row-score .score-number {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.alt-row-score .score-label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 2px;
}
.alt-row-score.brilliant {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
}
.alt-row-score.brilliant .score-number {
  color: var(--score-brilliant-text);
}
.alt-row-score.brilliant .score-label {
  color: var(--score-brilliant-label);
}
.alt-row-score.excellent {
  background: var(--score-excellent-bg);
}
.alt-row-score.excellent .score-number {
  color: var(--score-excellent-text);
}
.alt-row-score.excellent .score-label {
  color: var(--score-excellent-label);
}
.alt-row-score.very-good {
  background: var(--score-very-good-bg);
}
.alt-row-score.very-good .score-number {
  color: var(--score-very-good-text);
}
.alt-row-score.very-good .score-label {
  color: var(--score-very-good-label);
}
.alt-row-score.good {
  background: var(--score-good-bg);
}
.alt-row-score.good .score-number {
  color: var(--score-good-text);
}
.alt-row-score.good .score-label {
  color: var(--score-good-label);
}
.alt-row-score.fair {
  background: var(--score-fair-bg);
}
.alt-row-score.fair .score-number {
  color: var(--score-fair-text);
}
.alt-row-score.fair .score-label {
  color: var(--score-fair-label);
}
.alt-row-score.average {
  background: var(--score-average-bg);
}
.alt-row-score.average .score-number {
  color: var(--score-average-text);
}
.alt-row-score.average .score-label {
  color: var(--score-average-label);
}
.alt-row-score.poor {
  background: var(--score-poor-bg);
}
.alt-row-score.poor .score-number {
  color: var(--score-poor-text);
}
.alt-row-score.poor .score-label {
  color: var(--score-poor-label);
}

.alt-tag {
  font-size: 10px;
  font-weight: 500;
  color: #0066FF;
  background: #EBF4FF;
  padding: 2px 6px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.alt-tag:hover {
  background: #D4E4FF;
}

.alt-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}
.alt-title a {
  color: #0d0d1c;
  text-decoration: none;
}
.alt-title a:hover {
  color: #0066FF;
}

.alt-desc {
  font-size: 13px;
  color: #637381;
  line-height: 1.4;
}

.alt-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  margin: 0 auto 8px;
}
.alt-score .score-number {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.alt-score .score-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
  letter-spacing: 0.3px;
}
.alt-score.brilliant {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
}
.alt-score.brilliant .score-number {
  color: var(--score-brilliant-text);
}
.alt-score.brilliant .score-label {
  color: var(--score-brilliant-label);
}
.alt-score.excellent {
  background: var(--score-excellent-bg);
}
.alt-score.excellent .score-number {
  color: var(--score-excellent-text);
}
.alt-score.excellent .score-label {
  color: var(--score-excellent-label);
}
.alt-score.very-good {
  background: var(--score-very-good-bg);
}
.alt-score.very-good .score-number {
  color: var(--score-very-good-text);
}
.alt-score.very-good .score-label {
  color: var(--score-very-good-label);
}
.alt-score.good {
  background: var(--score-good-bg);
}
.alt-score.good .score-number {
  color: var(--score-good-text);
}
.alt-score.good .score-label {
  color: var(--score-good-label);
}
.alt-score.fair {
  background: var(--score-fair-bg);
}
.alt-score.fair .score-number {
  color: var(--score-fair-text);
}
.alt-score.fair .score-label {
  color: var(--score-fair-label);
}
.alt-score.average {
  background: var(--score-average-bg);
}
.alt-score.average .score-number {
  color: var(--score-average-text);
}
.alt-score.average .score-label {
  color: var(--score-average-label);
}
.alt-score.poor {
  background: var(--score-poor-bg);
}
.alt-score.poor .score-number {
  color: var(--score-poor-text);
}
.alt-score.poor .score-label {
  color: var(--score-poor-label);
}

.alt-compare-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #f3f4f6;
  color: #9ca3af;
  text-decoration: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 2;
}
.alt-compare-icon .material-symbols-outlined {
  font-size: 16px;
  width: 16px;
  height: 16px;
}
.alt-compare-icon:hover {
  background: #0066FF;
  color: #fff;
}

.alt-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}
.alt-badge.better {
  background: #D4EBCE;
  color: #2E5B25;
}
.alt-badge.lower {
  background: #F8D4D4;
  color: #8B2020;
}
.alt-badge.similar {
  background: #f3f4f6;
  color: #637381;
}

.no-alternatives {
  text-align: center;
  padding: 48px 24px;
  background: #f9fafb;
  border-radius: 16px;
}
.no-alternatives .material-symbols-outlined {
  font-size: 48px;
  width: 48px;
  height: 48px;
  color: #d1d5db;
  margin-bottom: 16px;
}
.no-alternatives h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0d0d1c;
  margin-bottom: 8px;
}
.no-alternatives p {
  font-size: 14px;
  color: #637381;
  margin-bottom: 20px;
}

.alternatives-summary {
  margin-bottom: 48px;
}
.alternatives-summary h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #0d0d1c;
  margin-bottom: 20px;
}
.alternatives-summary h2 .material-symbols-outlined {
  color: #0066FF;
}

.summary-table-wrapper {
  overflow-x: auto;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.summary-table th, .summary-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}
.summary-table th {
  background: #f9fafb;
  font-size: 12px;
  font-weight: 600;
  color: #637381;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.summary-table td {
  font-size: 14px;
}
.summary-table tr:last-child td {
  border-bottom: none;
}

.summary-name a {
  color: #0d0d1c;
  font-weight: 500;
  text-decoration: none;
}
.summary-name a:hover {
  color: #0066FF;
}

.score-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.score-pill.brilliant {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  color: var(--score-brilliant-text);
}
.score-pill.excellent {
  background: var(--score-excellent-bg);
  color: var(--score-excellent-text);
}
.score-pill.very-good {
  background: var(--score-very-good-bg);
  color: var(--score-very-good-text);
}
.score-pill.good {
  background: var(--score-good-bg);
  color: var(--score-good-text);
}
.score-pill.fair {
  background: var(--score-fair-bg);
  color: var(--score-fair-text);
}
.score-pill.average {
  background: var(--score-average-bg);
  color: var(--score-average-text);
}
.score-pill.poor {
  background: var(--score-poor-bg);
  color: var(--score-poor-text);
}

.diff-positive {
  color: #2E5B25;
  font-weight: 600;
}

.diff-negative {
  color: #A03030;
  font-weight: 600;
}

.diff-neutral {
  color: #637381;
}

.summary-action a {
  color: #0066FF;
  font-weight: 500;
  text-decoration: none;
}
.summary-action a:hover {
  text-decoration: underline;
}

.alternatives-related {
  margin-bottom: 48px;
}
.alternatives-related h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #0d0d1c;
  margin-bottom: 20px;
}
.alternatives-related h2 .material-symbols-outlined {
  color: #0066FF;
}

.related-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-tag {
  padding: 10px 20px;
  background: #f3f4f6;
  color: #0d0d1c;
  font-size: 14px;
  font-weight: 500;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.related-tag:hover {
  background: #0066FF;
  color: #fff;
}

.seo-faq-section {
  margin-bottom: 48px;
}
.seo-faq-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #0d0d1c;
  margin-bottom: 20px;
}
.seo-faq-section h2 .material-symbols-outlined {
  color: #0066FF;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid #f3f4f6;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  cursor: pointer;
  list-style: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "\e5cf";
  font-family: "Material Symbols Outlined";
  font-size: 20px;
  color: var(--stitch-text-secondary, #637381);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-question:hover {
  color: var(--stitch-primary, #0066FF);
}

.faq-answer {
  padding: 0 0 14px;
  font-size: 13px;
  color: #637381;
  line-height: 1.6;
}

.seo-methodology {
  background: #f9fafb;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .seo-methodology {
    padding: 32px;
  }
}
.seo-methodology h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: #0d0d1c;
  margin-bottom: 16px;
}
.seo-methodology h2 .material-symbols-outlined {
  color: #0066FF;
}

.methodology-content {
  font-size: 14px;
  color: #637381;
  line-height: 1.7;
}
.methodology-content p {
  margin-bottom: 12px;
}
.methodology-content ul {
  margin: 12px 0;
  padding-left: 20px;
}
.methodology-content ul li {
  margin-bottom: 8px;
}
.methodology-content strong {
  color: #0d0d1c;
}

.stitch-breadcrumb {
  font-size: 13px;
  color: var(--stitch-text-secondary, #637381);
  margin-bottom: 16px;
}
.stitch-breadcrumb a {
  color: var(--stitch-text-secondary, #637381);
  text-decoration: none;
}
.stitch-breadcrumb a:hover {
  color: var(--stitch-primary, #0066FF);
}
.stitch-breadcrumb .stitch-breadcrumb-sep {
  margin: 0 6px;
  color: #d1d5db;
}
.stitch-breadcrumb span:last-child {
  color: var(--stitch-text-main, #0d0d1c);
  font-weight: 500;
}

.premium-mode .search-form, .premium-mode .main-menu, .premium-mode .type-tag, .premium-mode .comments-list, .premium-mode .author {
  display: none;
}
@screen sm-max {
  .premium-mode .item-row.list .item-title {
    text-align: center;
  }
  .premium-mode .item-row.list .item-row-col-actions {
    justify-content: center;
    margin-bottom: 20px;
  }
  .premium-mode .item-row.list .item-row-col-actions .row-actions-buttons {
    display: none;
  }
  .premium-mode .item-row.list .item-row-col-actions .x-rating-and-buy-now {
    justify-content: center;
    gap: 30px;
  }
}

.infinite-scroll-sentinel {
  height: 4px;
  visibility: hidden;
}

.infinite-scroll-loadmore {
  display: flex;
  justify-content: center;
  padding: 24px 0;
}

.infinite-scroll-loading {
  display: flex;
  justify-content: center;
  padding: 32px 0;
}
.infinite-scroll-loading .loading-spinner {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
  font-size: 14px;
}
.infinite-scroll-loading .loading-spinner svg {
  width: 24px;
  height: 24px;
  color: theme("colors.blue.DEFAULT");
}

.infinite-scroll-end {
  text-align: center;
  padding: 24px 0;
  color: #94a3b8;
  font-size: 14px;
  border-top: 1px solid #e2e8f0;
  margin-top: 16px;
}

.infinite-scroll-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  color: #64748b;
  background: #f8fafc;
  border-radius: 16px;
  margin-top: 24px;
  border: 1px dashed #e2e8f0;
}
.infinite-scroll-empty .empty-icon {
  font-size: 48px;
  color: #cbd5e1;
  margin-bottom: 16px;
}
.infinite-scroll-empty .empty-title {
  font-size: 18px;
  font-weight: 600;
  color: #475569;
  margin: 0 0 8px;
}
.infinite-scroll-empty .empty-subtitle {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}

.list-page-container {
  @apply w-full mx-auto px-4 lg:px-6;
  padding-top: 12px;
  padding-bottom: 24px;
  max-width: 1240px;
  background: #f8f8fc;
  min-height: calc(100vh - 60px);
}

.list-hero {
  @apply flex flex-col lg:flex-row lg:items-start lg:justify-between gap-4 mb-4;
}
.list-hero .list-hero-content {
  @apply flex flex-col gap-2;
  max-width: 48rem;
}
.list-hero .list-hero-title-row {
  @apply flex items-center gap-3 flex-wrap;
}
.list-hero .list-hero-title {
  @apply font-black tracking-tight;
  font-size: 24px;
  line-height: 1.2;
  color: #0d0d1c;
}
@screen lg {
  .list-hero .list-hero-title {
    font-size: 30px;
  }
}
.list-hero .list-hero-badge {
  @apply hidden sm:inline-flex h-5 items-center px-2 rounded-full text-green-700 font-bold border border-green-200 uppercase tracking-wide gap-1;
  background: #dcfce7;
  font-size: 10px;
}
.list-hero .list-hero-badge svg {
  @apply text-green-600;
}
.list-hero .list-hero-subtitle {
  font-size: 14px;
  line-height: 1.6;
  color: #49499c;
}
@screen lg {
  .list-hero .list-hero-subtitle {
    font-size: 16px;
  }
}
.list-hero .list-hero-meta {
  @apply flex flex-wrap items-center gap-x-3 gap-y-2;
  font-size: 12px;
  margin-top: 2px;
}
.list-hero .list-hero-meta .meta-item {
  @apply flex items-center gap-1.5 font-medium;
  color: #49499c;
}
.list-hero .list-hero-meta .meta-item svg {
  opacity: 0.8;
}
.list-hero .list-hero-meta .meta-dot {
  @apply text-gray-300;
}
.list-hero .list-hero-actions {
  @apply flex flex-wrap items-center gap-3;
  display: none;
}

.list-filter-bar {
  @apply flex flex-wrap items-center justify-between gap-3 py-2 mb-3 -mx-2 px-2;
  position: sticky;
  top: 60px;
  z-index: 40;
  background: #f8f8fc;
  transition: all 0.2s ease;
}
.list-filter-bar .filter-buttons {
  @apply flex items-center gap-2 overflow-x-auto pb-1;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.list-filter-bar .filter-buttons::-webkit-scrollbar {
  display: none;
}
.list-filter-bar .filter-buttons .sort-dropdown, .list-filter-bar .filter-buttons select, .list-filter-bar .filter-buttons .btn {
  @apply flex items-center gap-1.5 px-2.5 py-1 bg-white border rounded font-medium whitespace-nowrap;
  border-color: #cecee8;
  color: #0d0d1c;
  font-size: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.list-filter-bar .filter-buttons .sort-dropdown:hover, .list-filter-bar .filter-buttons select:hover, .list-filter-bar .filter-buttons .btn:hover {
  border-color: theme("colors.primary.DEFAULT");
  color: theme("colors.primary.DEFAULT");
}
.list-filter-bar .filter-results-count {
  @apply hidden sm:flex items-center font-medium;
  font-size: 11px;
  color: #49499c;
}

.list-section-header {
  @apply flex items-center gap-2 mb-2 mt-2;
}
.list-section-header .section-label {
  @apply font-bold uppercase tracking-wider;
  font-size: 11px;
  color: #49499c;
}
.list-section-header .section-line {
  @apply flex-1;
  height: 1px;
  background: #e7e7f4;
}

.related-lists-section {
  @apply mb-8 mt-2;
}
.related-lists-section .related-lists-title {
  @apply text-gray-900 font-semibold mb-4;
  font-size: 18px;
}
.related-lists-section .related-lists-grid {
  @apply grid gap-4;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.related-lists-section .related-list-card {
  @apply flex items-center gap-4 p-4 rounded-xl bg-white border border-gray-100;
  transition: all 0.2s ease;
}
.related-lists-section .related-list-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: #e5e5e5;
}
.related-lists-section .related-list-card .related-list-image {
  @apply flex-shrink-0 w-14 h-14 rounded-lg overflow-hidden bg-gray-100;
}
.related-lists-section .related-list-card .related-list-image img {
  @apply w-full h-full object-cover;
}
.related-lists-section .related-list-card .related-list-info {
  @apply flex flex-col;
}
.related-lists-section .related-list-card .related-list-name {
  @apply font-semibold text-gray-900;
  font-size: 15px;
}
.related-lists-section .related-list-card .related-list-item-count {
  @apply text-gray-500;
  font-size: 13px;
}

.items-list-section {
  @apply mb-8;
}

.list-faq-section {
  @apply py-12 mt-8 border-t border-gray-200;
}
.list-faq-section .list-faq-title {
  @apply text-gray-900 font-bold mb-8 text-center;
  font-size: 28px;
}
.list-faq-section .list-faq-grid {
  @apply grid gap-6;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  max-width: 900px;
  margin: 0 auto;
}
.list-faq-section .list-faq-item {
  @apply p-6 rounded-xl bg-white border border-gray-100;
}
.list-faq-section .list-faq-item h3 {
  @apply font-semibold text-gray-900 mb-3;
  font-size: 16px;
}
.list-faq-section .list-faq-item p {
  @apply text-gray-600;
  font-size: 14px;
  line-height: 1.7;
}

.item-card-logo {
  @apply flex-shrink-0;
}
.item-card-logo a {
  display: block;
}
.item-card-logo .item-logo-img {
  @apply w-10 h-10 rounded object-contain;
  border: 1px solid #f0f0f5;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.item-card-logo .item-logo-img:hover {
  background: #e8e8f0;
  border-color: #d0d0e0;
  color: var(--stitch-text);
}
.item-card-logo .item-logo-placeholder {
  @apply w-10 h-10 rounded flex items-center justify-center text-white font-bold text-sm;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.item-card-content {
  @apply flex-1 min-w-0 pr-4;
}

.item-card-title-row {
  @apply flex items-center gap-2 mb-0.5;
}

.item-card-title {
  @apply text-sm lg:text-base font-bold truncate;
  color: #0d0d1c;
  text-decoration: none;
  transition: color 0.15s ease;
}
.item-card-title:hover {
  color: #0d0df2;
}

.item-rank-badge {
  @apply inline-flex items-center justify-center h-4 px-1.5 rounded text-white font-bold leading-none;
  font-size: 9px;
  background: white;
  color: #0d0d1c;
  border: 1px solid #e5e5e5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.item-rank-badge.rank-1 {
  background: #0d0d1c;
  color: white;
  border-color: #333;
}

.item-card-description {
  @apply text-xs truncate mb-1;
  color: #49499c;
  max-width: 90%;
}

.item-card-meta {
  @apply flex items-center gap-2 flex-wrap;
  font-size: 11px;
}

.item-best-for {
  @apply flex items-center gap-1 font-medium;
  color: #0d0d1c;
}
.item-best-for svg {
  color: #0d0df2;
}

.item-meta-dot {
  @apply w-1 h-1 rounded-full;
  background: #d4d4d4;
}

.item-tag-pill {
  @apply inline-flex items-center px-1.5 py-0 rounded font-medium;
  font-size: 10px;
  background: #f0f0f5;
  color: #49499c;
  border: 1px solid #e5e5e5;
}

.item-card-actions {
  @apply flex items-center justify-between md:justify-end gap-3 w-full md:w-auto md:pl-3;
  border-left: none;
}
@media (min-width: 768px) {
  .item-card-actions {
    border-left: 1px solid #f0f0f5;
  }
}

.item-score-group {
  @apply flex items-center gap-2;
}

.item-score {
  @apply font-black rounded px-2 py-1 leading-none;
  font-size: 16px;
}

.item-confidence {
  @apply flex flex-col items-start gap-0.5;
}
.item-confidence .confidence-label {
  @apply font-bold leading-none;
  font-size: 10px;
}
.item-confidence .confidence-text {
  font-size: 10px;
  color: #49499c;
  line-height: 1;
  border-bottom: 1px dotted rgba(73, 73, 156, 0.5);
}

.item-action-buttons {
  @apply flex items-center gap-2 ml-2;
}

.item-visit-btn {
  @apply h-7 px-3 text-white text-xs font-bold rounded;
  background: #0d0df2;
  box-shadow: 0 1px 3px rgba(13, 13, 242, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.item-visit-btn:hover {
  background: rgba(13, 13, 242, 0.9);
}

.items-list-section .section-label {
  @apply flex items-center gap-2 mb-2 mt-4;
  font-size: 11px;
  font-weight: 700;
  color: #49499c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.items-list-section .section-label::after {
  content: "";
  @apply flex-1 h-px;
  background: #e7e7f4;
}

.item-detail-hero {
  @apply bg-white py-8 lg:py-12 border-b border-gray-100;
}
.item-detail-hero .hero-content {
  @apply flex flex-wrap lg:flex-nowrap gap-6 lg:gap-8 items-start;
}
.item-detail-hero .hero-image {
  @apply flex-shrink-0;
}
.item-detail-hero .hero-image .item-logo {
  @apply w-20 h-20 lg:w-28 lg:h-28 rounded-xl object-contain bg-gray-50 p-2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.item-detail-hero .hero-info {
  @apply flex-grow min-w-0;
}
.item-detail-hero .hero-title {
  @apply text-gray-900 font-bold mb-3;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
@media (min-width: 1024px) {
  .item-detail-hero .hero-title {
    font-size: 36px;
  }
}
.item-detail-hero .hero-title a {
  @apply text-gray-900;
  text-decoration: none;
  transition: color 0.15s ease;
}
.item-detail-hero .hero-title a:hover {
  color: #0066FF;
}
.item-detail-hero .hero-tags {
  @apply mb-4;
}
.item-detail-hero .hero-actions {
  @apply flex flex-wrap gap-3 mt-4;
}
.item-detail-hero .hero-score {
  @apply flex-shrink-0 text-center lg:ml-auto;
}
@media (max-width: 1023px) {
  .item-detail-hero .hero-score {
    @apply w-full mt-4 flex items-center gap-4;
  }
}

.item-quick-info {
  @apply flex flex-wrap gap-2 mb-4;
}
.item-quick-info .info-badge {
  @apply inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full text-sm font-medium;
}
.item-quick-info .info-badge svg {
  @apply flex-shrink-0;
}
.item-quick-info .free-badge {
  @apply bg-green-50 text-green-700;
}
.item-quick-info .price-badge {
  @apply bg-blue-50 text-blue-700;
}
.item-quick-info .best-for-badge {
  @apply bg-purple-50 text-purple-700;
}

.item-detail-content {
  @apply py-8 lg:py-12;
  background: #fafafa;
}
.item-detail-content .detail-grid {
  @apply flex flex-wrap lg:flex-nowrap gap-8;
}
.item-detail-content .detail-main {
  @apply flex-grow min-w-0;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .item-detail-content .detail-main {
    max-width: calc(100% - 340px);
  }
}
.item-detail-content .detail-sidebar {
  @apply flex flex-col gap-6 w-full lg:w-80 flex-shrink-0;
}

.section-title {
  @apply text-gray-900 font-bold mb-5;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.item-description-section {
  @apply bg-white rounded-xl p-6 lg:p-8 mb-6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.item-description-section .description-content {
  @apply text-gray-600;
  font-size: 15px;
  line-height: 1.8;
}
.item-description-section .description-content p {
  @apply mb-4;
}
.item-description-section .description-content p:last-child {
  @apply mb-0;
}
.item-description-section .description-content a {
  @apply text-blue-600;
}
.item-description-section .description-content a:hover {
  text-decoration: underline;
}
.item-description-section .description-content ul, .item-description-section .description-content ol {
  @apply pl-5 mb-4;
}
.item-description-section .description-content li {
  @apply mb-2;
}

.item-features-section {
  @apply bg-white rounded-xl p-6 lg:p-8 mb-6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.item-features-section .features-grid {
  @apply grid gap-4;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.item-features-section .feature-item {
  @apply p-4 rounded-lg bg-gray-50;
}
.item-features-section .feature-header {
  @apply flex justify-between items-center mb-2;
}
.item-features-section .feature-name {
  @apply text-gray-700 font-medium;
  font-size: 14px;
}
.item-features-section .feature-score {
  @apply text-gray-500 font-semibold;
  font-size: 13px;
}
.item-features-section .feature-bar {
  @apply h-2 bg-gray-200 rounded-full overflow-hidden;
}
.item-features-section .feature-bar-fill {
  @apply h-full rounded-full;
  background: linear-gradient(90deg, #0066FF, #3B82F6);
  transition: width 0.5s ease;
}

.item-pros-cons-section {
  @apply bg-white rounded-xl p-6 lg:p-8 mb-6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.item-pros-cons-section .pros-cons-grid {
  @apply grid gap-6;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.item-pros-cons-section .pros-column, .item-pros-cons-section .cons-column {
  @apply p-5 rounded-lg;
}
.item-pros-cons-section .pros-column {
  @apply bg-green-50;
}
.item-pros-cons-section .cons-column {
  @apply bg-red-50;
}
.item-pros-cons-section .column-header {
  @apply flex items-center gap-2 font-semibold mb-4;
  font-size: 15px;
}
.item-pros-cons-section .pros-header {
  @apply text-green-700;
}
.item-pros-cons-section .cons-header {
  @apply text-red-700;
}
.item-pros-cons-section .pros-list, .item-pros-cons-section .cons-list {
  @apply space-y-2 pl-0;
  list-style: none;
}
.item-pros-cons-section .pros-list li, .item-pros-cons-section .cons-list li {
  @apply relative pl-5;
  font-size: 14px;
  line-height: 1.6;
}
.item-pros-cons-section .pros-list li::before, .item-pros-cons-section .cons-list li::before {
  content: "";
  @apply absolute left-0 top-2 w-1.5 h-1.5 rounded-full;
}
.item-pros-cons-section .pros-list li {
  @apply text-green-800;
}
.item-pros-cons-section .pros-list li::before {
  @apply bg-green-500;
}
.item-pros-cons-section .cons-list li {
  @apply text-red-800;
}
.item-pros-cons-section .cons-list li::before {
  @apply bg-red-500;
}

.sidebar-card {
  @apply bg-white rounded-xl p-5 lg:p-6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.sidebar-card .sidebar-card-header {
  @apply text-gray-900 font-semibold mb-4 pb-3 border-b border-gray-100;
  font-size: 15px;
}

.reviews-summary .stars-display {
  @apply flex items-center gap-2 mb-2;
}
.reviews-summary .stars-value {
  @apply text-gray-900 font-bold;
  font-size: 18px;
}
.reviews-summary .reviews-count {
  @apply text-gray-500 text-sm mb-3;
}
.reviews-summary .recommend-percent {
  @apply flex items-center gap-1.5 text-green-600;
  font-size: 14px;
  font-weight: 500;
}

.related-items-list {
  @apply space-y-3;
}
.related-items-list .related-item {
  @apply flex items-center gap-3 p-2 -mx-2 rounded-lg;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.related-items-list .related-item:hover {
  background-color: #f9fafb;
}
.related-items-list .related-item-image {
  @apply w-10 h-10 rounded-lg object-contain bg-gray-100 flex-shrink-0;
}
.related-items-list .related-item-info {
  @apply flex-grow min-w-0;
}
.related-items-list .related-item-title {
  @apply block text-gray-700 font-medium truncate;
  font-size: 14px;
}
.related-items-list .related-item-score {
  @apply text-gray-400 text-sm;
}

.item-reviews-section {
  @apply py-12;
  background: #ffffff;
}
.item-reviews-section .reviews-box {
  @apply p-6 lg:p-8 rounded-xl;
}
.item-reviews-section .review-comments-title {
  @apply text-gray-900 font-bold mb-6;
  font-size: 22px;
}

:root {
  --stitch-primary: #0066FF;
  --stitch-primary-light: #3385FF;
  --stitch-primary-dark: #0052cc;
  --stitch-bg-light: #f8f8fc;
  --stitch-bg-dark: #101022;
  --stitch-text-main: #0d0d1c;
  --stitch-text-secondary: #49499c;
  --stitch-border: #e7e7f4;
  --stitch-border-dark: #cecee8;
  --stitch-input-bg: #f0f0f5;
  --stitch-max-width: 1080px;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.stitch-header-wrapper {
  max-width: 100vw;
  overflow-x: hidden;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stitch-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.stitch-header {
  width: 100%;
}

.stitch-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  padding: 10px 24px;
  max-width: var(--stitch-max-width);
  margin: 0 auto;
  width: 100%;
  overflow: visible;
}
@media (max-width: 768px) {
  .stitch-header-inner {
    padding: 10px 12px;
    gap: 8px;
  }
}
@media (min-width: 1024px) {
  .stitch-header-inner {
    padding: 10px 40px;
  }
}

.stitch-header-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.stitch-header-center {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  min-width: 0;
  overflow: visible;
}
@media (max-width: 768px) {
  .stitch-header-center {
    padding: 0 8px;
  }
}
@media (max-width: 480px) {
  .stitch-header-center {
    display: none;
  }
}

.stitch-search-wrapper {
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 200;
}

.stitch-search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
  border-radius: 9999px;
  background: #f3f4f6;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.stitch-search-form:focus-within {
  border-color: var(--stitch-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.stitch-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--stitch-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.stitch-search-icon .material-symbols-outlined {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.stitch-search-input {
  width: 100%;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  font-size: 14px !important;
  color: var(--stitch-text-main) !important;
  padding: 0 16px 0 32px !important;
  height: 32px !important;
}
.stitch-search-input::placeholder {
  color: var(--stitch-text-secondary) !important;
}
.stitch-search-input:focus {
  box-shadow: none !important;
  ring: 0 !important;
}

.stitch-autocomplete {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
  z-index: 9999;
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
}

.stitch-autocomplete-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 14px;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 0.1s ease;
  border-bottom: 1px solid #f5f5f5;
}
.stitch-autocomplete-item:last-child {
  border-bottom: none;
}
.stitch-autocomplete-item:hover, .stitch-autocomplete-item.active {
  background: #f8f9fa;
}

.stitch-autocomplete-thumb {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
  background: #f8f9fa;
}

.stitch-autocomplete-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--stitch-text-secondary);
  flex-shrink: 0;
}

.stitch-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .stitch-header-right {
    gap: 28px;
  }
}

.stitch-header-nav {
  display: none;
  align-items: center;
  gap: 20px;
}
@media (min-width: 768px) {
  .stitch-header-nav {
    display: flex;
  }
}

.stitch-nav-link {
  color: var(--stitch-text-main);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.stitch-nav-link:hover {
  color: var(--stitch-primary);
}

.stitch-login-link {
  color: var(--stitch-text-main);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.stitch-login-link:hover {
  color: var(--stitch-primary);
}

.stitch-lang-switcher {
  position: relative;
}

.stitch-lang-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  color: #637381;
  transition: all 0.15s;
}
.stitch-lang-btn:hover {
  border-color: #c4b5fd;
  color: #0d0d1c;
}

.stitch-lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 100;
}

.stitch-lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 13px;
  color: #374151;
  text-decoration: none;
  transition: background 0.1s;
}
.stitch-lang-option:hover {
  background: #f3f4f6;
}
.stitch-lang-option.active {
  color: #0066FF;
  font-weight: 600;
  background: #eef2ff;
}

.stitch-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 20px;
  background: #302bce;
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.stitch-cta-btn:hover {
  background: #4338ca;
  color: white;
}

.stitch-avatar-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 50%;
  overflow: hidden;
}

.stitch-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.stitch-header-auth {
  position: relative;
}
.stitch-header-auth .stitch-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: white;
  border: 1px solid var(--stitch-border);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  min-width: 140px;
  z-index: 100;
  white-space: normal;
}
.stitch-header-auth .stitch-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--stitch-text-main);
  text-decoration: none;
  transition: background 0.15s;
}
.stitch-header-auth .stitch-dropdown a:hover {
  background: var(--stitch-input-bg, #f3f4f6);
}
.stitch-header-auth .stitch-dropdown a:first-child {
  border-radius: 8px 8px 0 0;
}
.stitch-header-auth .stitch-dropdown a:last-child {
  border-radius: 0 0 8px 8px;
}

.stitch-auth-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: white;
  border: 1px solid var(--stitch-border);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  min-width: 160px;
  z-index: 100;
  white-space: normal;
}
.stitch-auth-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--stitch-text-main);
  text-decoration: none;
  transition: background 0.15s;
}
.stitch-auth-dropdown a:hover {
  background: var(--stitch-input-bg);
}
.stitch-auth-dropdown a:first-child {
  border-radius: 8px 8px 0 0;
}
.stitch-auth-dropdown a:last-child {
  border-radius: 0 0 8px 8px;
}

.stitch-mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--stitch-text-main);
}
@media (min-width: 768px) {
  .stitch-mobile-menu-btn {
    display: none;
  }
}

.stitch-type-menu-wrapper {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  border-bottom: 1px solid var(--stitch-border);
  background: white;
}

.stitch-type-menu-inner {
  max-width: var(--stitch-max-width);
  margin: 0 auto;
  padding: 0 24px;
  overflow: hidden;
  width: 100%;
}
@media (max-width: 768px) {
  .stitch-type-menu-inner {
    padding: 0 12px;
  }
}
@media (min-width: 1024px) {
  .stitch-type-menu-inner {
    padding: 0 40px;
  }
}

.stitch-type-nav {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 0;
  min-width: 100%;
}
.stitch-type-nav::-webkit-scrollbar {
  display: none;
}

.stitch-type-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.stitch-type-link .stitch-type-text {
  color: #4b5563;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.stitch-type-link .stitch-type-indicator {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  border-radius: 2px 2px 0 0;
  transition: background 0.2s;
}
.stitch-type-link:hover .stitch-type-text {
  color: #302bce;
}
.stitch-type-link:hover .stitch-type-indicator {
  background: rgba(48, 43, 206, 0.3);
}
.stitch-type-link.active .stitch-type-text {
  color: #302bce;
  font-weight: 700;
}
.stitch-type-link.active .stitch-type-indicator {
  background: #302bce;
}

.stitch-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.stitch-mobile-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: white;
  padding: 24px;
  overflow-y: auto;
}

.stitch-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.stitch-mobile-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--stitch-text-main);
  text-decoration: none;
  padding: 8px 0;
}
.stitch-mobile-nav a:hover {
  color: var(--stitch-primary);
}

.stitch-page-wrapper {
  width: 100%;
  min-height: calc(100vh - 60px);
  background: #f7f8fa;
}

.stitch-main {
  flex: 1;
  width: 100%;
  max-width: var(--stitch-max-width);
  margin: 0 auto;
  padding: 4px 24px 24px;
  background: transparent;
}
@media (min-width: 1024px) {
  .stitch-main {
    padding: 4px 40px 24px;
  }
}

.stitch-hero {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
  padding-top: 0;
}

.stitch-hero-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 768px;
}

.stitch-hero-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stitch-hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.stitch-hero-actions .share-btn {
  margin-top: 0;
}
.stitch-hero-actions .stitch-hero-sort {
  margin-left: auto;
}
.stitch-hero-actions .download-pdf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: white;
  color: #6b7280;
  padding: 0;
  margin-top: 0;
  cursor: pointer;
  transition: all 0.15s ease;
}
.stitch-hero-actions .download-pdf-btn svg {
  width: 18px;
  height: 18px;
}
.stitch-hero-actions .download-pdf-btn:hover {
  background: #f3f4f6;
  color: #0066FF;
  border-color: #0066FF;
}
.stitch-hero-actions .share-edit {
  color: #6b7280;
}
.stitch-hero-actions .share-edit .material-symbols-outlined {
  font-size: 18px;
}

.stitch-hero-title {
  color: var(--stitch-text-main);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}
@media (min-width: 1024px) {
  .stitch-hero-title {
    font-size: 30px;
  }
}

.stitch-hero-badge {
  display: none;
  height: 20px;
  align-items: center;
  padding: 0 8px;
  border-radius: 9999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid #bbf7d0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
@media (min-width: 640px) {
  .stitch-hero-badge {
    display: inline-flex;
  }
}

.stitch-hero-subtitle {
  color: var(--stitch-text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
@media (min-width: 1024px) {
  .stitch-hero-subtitle {
    font-size: 16px;
  }
}

.stitch-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 12px;
  margin-top: 4px;
}

.stitch-hero-best-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #0066FF;
  background: rgba(0, 102, 255, 0.06);
  border: 1px solid rgba(0, 102, 255, 0.15);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s;
}
.stitch-hero-best-link .material-symbols-outlined {
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  height: 16px;
}
.stitch-hero-best-link:hover {
  background: rgba(0, 102, 255, 0.12);
  border-color: rgba(0, 102, 255, 0.3);
}

.stitch-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--stitch-text-secondary);
  font-weight: 500;
  line-height: 1;
}
.stitch-meta-item .material-symbols-outlined {
  font-size: 18px;
  flex-shrink: 0;
  color: var(--stitch-primary);
  line-height: 1;
  transform: translateY(1px);
}

.stitch-meta-dot {
  color: #d1d5db;
}

.stitch-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 0;
  margin-top: 4px;
  transition: color 0.2s ease;
  text-decoration: none;
}
.stitch-edit-btn:hover {
  color: theme("colors.blue.DEFAULT");
}
.stitch-edit-btn .material-symbols-outlined {
  font-size: 20px;
}

.stitch-author-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stitch-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.stitch-author-link {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease;
}
.stitch-author-link:hover {
  opacity: 0.7;
}

.stitch-add-item-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--stitch-primary);
  color: white;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
  line-height: 1.4;
}
.stitch-add-item-btn:hover {
  background: #4f46e5;
  color: white;
}
.stitch-add-item-btn .material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
}

.stitch-add-item-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}

.stitch-add-item-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.stitch-add-item-modal {
  position: relative;
  width: 480px;
  max-width: 95vw;
  max-height: 70vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.stitch-add-item-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
}
.stitch-add-item-modal-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--stitch-text-main, #0d0d1c);
}
.stitch-add-item-modal-header h3 .material-symbols-outlined {
  font-size: 22px;
  color: var(--stitch-primary, #4f46e5);
}

.stitch-add-item-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  color: #9ca3af;
  transition: all 0.15s;
}
.stitch-add-item-modal-close:hover {
  background: #f1f5f9;
  color: #374151;
}

.stitch-add-item-search {
  position: relative;
  padding: 12px 20px;
  border-bottom: 1px solid #f1f5f9;
}
.stitch-add-item-search input {
  width: 100%;
  padding: 10px 12px 10px 44px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
  background: #f9fafb;
}
.stitch-add-item-search input:focus {
  border-color: var(--stitch-primary, #4f46e5);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.stitch-add-item-search-icon {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #9ca3af;
  pointer-events: none;
  z-index: 1;
}

.stitch-add-item-search-clear {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 2px;
}
.stitch-add-item-search-clear .material-symbols-outlined {
  font-size: 16px;
}

.stitch-add-item-success {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ecfdf5;
  color: #059669;
  font-size: 13px;
  font-weight: 500;
}
.stitch-add-item-success .material-symbols-outlined {
  font-size: 18px;
}

.stitch-add-item-results {
  flex: 1;
  overflow-y: auto;
  padding: 8px 12px;
  min-height: 120px;
  max-height: 50vh;
}

.stitch-add-item-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.1s;
}
.stitch-add-item-result:hover {
  background: #f8fafc;
}
.stitch-add-item-result:hover .stitch-add-item-result-add {
  color: var(--stitch-primary, #4f46e5);
}

.stitch-add-item-result-image {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stitch-add-item-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stitch-add-item-result-placeholder {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
}

.stitch-add-item-result-info {
  flex: 1;
  min-width: 0;
}

.stitch-add-item-result-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--stitch-text-main, #0d0d1c);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stitch-add-item-result-tag {
  font-size: 12px;
  color: #6b7280;
}

.stitch-add-item-result-score {
  font-size: 13px;
  font-weight: 600;
  color: var(--stitch-primary, #4f46e5);
  flex-shrink: 0;
}

.stitch-add-item-result-add {
  font-size: 22px;
  color: #d1d5db;
  flex-shrink: 0;
  transition: color 0.15s;
}

.stitch-add-item-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px;
  color: #9ca3af;
  text-align: center;
}
.stitch-add-item-empty .material-symbols-outlined {
  font-size: 36px;
  margin-bottom: 8px;
  opacity: 0.5;
}
.stitch-add-item-empty p {
  font-size: 14px;
  margin: 0 0 16px;
}

.stitch-add-item-create-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--stitch-primary, #4f46e5);
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.stitch-add-item-create-btn:hover {
  background: #4338ca;
  color: white;
}
.stitch-add-item-create-btn .material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
  vertical-align: middle;
}

.stitch-add-item-modal-footer {
  padding: 12px 20px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: center;
}

.stitch-add-item-create-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s;
}
.stitch-add-item-create-link:hover {
  color: var(--stitch-primary, #4f46e5);
}
.stitch-add-item-create-link .material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
  vertical-align: middle;
}

.stitch-methodology {
  position: relative;
  z-index: 10;
}

.stitch-methodology-toggle {
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  color: var(--stitch-primary);
  font-weight: 600;
  font-size: inherit;
  list-style: none;
  user-select: none;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}
.stitch-methodology-toggle:hover {
  opacity: 0.8;
}
.stitch-methodology-toggle .material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 18px;
}
.stitch-methodology-toggle::-webkit-details-marker {
  display: none;
}

.stitch-methodology-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  width: 288px;
  padding: 12px;
  background: white;
  border: 1px solid var(--stitch-border);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 100;
  font-size: 12px;
  color: var(--stitch-text-secondary);
  line-height: 1.5;
  font-weight: 400;
}

.stitch-filter-bar {
  background: transparent;
  padding: 8px 0;
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (max-width: 640px) {
  .stitch-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
}

.stitch-filter-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .stitch-filter-buttons {
    gap: 6px;
  }
}

.stitch-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: white;
  border: 1px solid var(--stitch-border-dark);
  border-radius: 6px;
  color: var(--stitch-text-main);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  line-height: 18px;
}
.stitch-filter-btn .material-symbols-outlined {
  font-size: 18px;
  width: 18px;
  height: 18px;
  line-height: 1;
  flex-shrink: 0;
  transform: translateY(-1px);
}
.stitch-filter-btn:hover {
  border-color: var(--stitch-primary);
  color: var(--stitch-primary);
  background: rgba(0, 102, 255, 0.04);
}
@media (max-width: 640px) {
  .stitch-filter-btn {
    padding: 6px 10px;
    font-size: 12px;
    line-height: 16px;
  }
  .stitch-filter-btn .material-symbols-outlined {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 1;
    transform: translateY(-1px);
  }
}

.stitch-filter-icon {
  font-size: 18px !important;
  color: var(--stitch-primary);
}

.stitch-filter-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: white;
  border: 1px solid var(--stitch-border-dark);
  border-radius: 6px;
  color: var(--stitch-primary);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.stitch-filter-icon-btn .material-symbols-outlined {
  font-size: 18px;
  line-height: 1;
}
.stitch-filter-icon-btn:hover {
  border-color: var(--stitch-primary);
  color: var(--stitch-primary);
  background: rgba(13, 13, 242, 0.04);
}
.stitch-filter-icon-btn.active {
  border-color: var(--stitch-primary);
  color: var(--stitch-primary);
  background: rgba(0, 102, 255, 0.08);
}

.stitch-dropdown {
  position: relative;
}

.stitch-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  min-width: 160px;
  background: white;
  border: 1px solid var(--stitch-border-dark);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 50;
  overflow: hidden;
}

.stitch-dropdown-item {
  display: block;
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-text-main);
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.stitch-dropdown-item:hover {
  background: #f3f4f6;
}
.stitch-dropdown-item.active {
  color: var(--stitch-primary);
  background: rgba(13, 13, 242, 0.04);
}

.stitch-filter-divider {
  height: 20px;
  width: 1px;
  background: var(--stitch-border-dark);
  margin: 0 4px;
}

.stitch-more-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: none;
  border: none;
  color: var(--stitch-text-secondary);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}
.stitch-more-filters:hover {
  color: var(--stitch-primary);
}
.stitch-more-filters .material-symbols-outlined {
  font-size: 16px;
}

.stitch-filter-results {
  display: none;
  align-items: center;
  font-size: 11px;
  color: var(--stitch-text-secondary);
  font-weight: 500;
}
@media (min-width: 640px) {
  .stitch-filter-results {
    display: flex;
  }
}

.stitch-filter-dropdown-wrapper {
  position: relative;
}

.stitch-filter-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  min-width: 180px;
  background: white;
  border: 1px solid var(--stitch-border-dark);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 100;
  overflow: hidden;
}
.stitch-filter-dropdown.tags-dropdown {
  min-width: 240px;
  max-height: 320px;
  overflow-y: auto;
}

.stitch-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--stitch-border);
  font-size: 12px;
  font-weight: 600;
  color: var(--stitch-text-secondary);
}

.stitch-dropdown-clear {
  background: none;
  border: none;
  color: var(--stitch-primary);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.stitch-dropdown-clear:hover {
  text-decoration: underline;
}

.stitch-dropdown-tags {
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stitch-dropdown-hint {
  font-size: 12px;
  color: var(--stitch-text-secondary);
  padding: 8px;
  text-align: center;
  width: 100%;
}

.stitch-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-text-main);
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.stitch-dropdown-item:hover {
  background: #f3f4f6;
}
.stitch-dropdown-item.active {
  color: var(--stitch-primary);
  background: rgba(0, 102, 255, 0.06);
}
.stitch-dropdown-item .material-symbols-outlined {
  font-size: 18px;
  color: var(--stitch-text-secondary);
}
.stitch-dropdown-item.active .material-symbols-outlined {
  color: var(--stitch-primary);
}

.stitch-tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: #f3f4f6;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--stitch-text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}
.stitch-tag-chip:hover {
  border-color: var(--stitch-primary);
  color: var(--stitch-primary);
}
.stitch-tag-chip.selected {
  background: rgba(0, 102, 255, 0.1);
  border-color: var(--stitch-primary);
  color: var(--stitch-primary);
}

.stitch-more-filters.active {
  color: var(--stitch-primary);
}

.stitch-expand-icon {
  transition: transform 0.2s;
}

.rotate-180 {
  transform: rotate(180deg);
}

.stitch-expanded-filters {
  width: 100%;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--stitch-border);
}

.stitch-expanded-filters-content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.stitch-filter-group {
  min-width: 200px;
  flex: 1;
}

.stitch-filter-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--stitch-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.stitch-score-slider-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 280px;
}

.stitch-score-values {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.stitch-score-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--stitch-text-main);
  background: #f3f4f6;
  padding: 6px 12px;
  border-radius: 8px;
  min-width: 48px;
  text-align: center;
}

.stitch-score-dash {
  color: #9ca3af;
  font-weight: 400;
  font-size: 14px;
}

.stitch-dual-slider {
  position: relative;
  height: 36px;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: visible;
}

.stitch-slider-track {
  position: absolute;
  top: 50%;
  left: 11px;
  right: 11px;
  height: 8px;
  background: linear-gradient(90deg, #e5e7eb 0%, #f3f4f6 100%);
  border-radius: 4px;
  transform: translateY(-50%);
}

.stitch-slider-range {
  position: absolute;
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.3);
}

.stitch-range-input {
  position: absolute;
  top: 50%;
  left: 11px;
  width: calc(100% - 22px);
  height: 22px;
  transform: translateY(-50%);
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
  padding: 0;
  z-index: 2;
}
.stitch-range-input::-webkit-slider-runnable-track {
  height: 8px;
  background: transparent;
}
.stitch-range-input::-moz-range-track {
  height: 8px;
  background: transparent;
}
.stitch-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: white;
  border: 2px solid #10b981;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 0 0 4px rgba(16, 185, 129, 0.1);
  transition: all 0.2s ease;
}
.stitch-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 6px rgba(16, 185, 129, 0.15);
}
.stitch-range-input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: white;
  border: 2px solid #10b981;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.stitch-range-input:focus {
  outline: none;
}

.stitch-range-min {
  z-index: 3;
}

.stitch-range-max {
  z-index: 4;
}

.stitch-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stitch-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  margin-top: 8px;
}

.stitch-section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--stitch-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  padding: 0;
}

.stitch-section-line {
  flex: 1;
  height: 1px;
  background: var(--stitch-border);
}

.stitch-items-section {
  margin-bottom: 24px;
}

.stitch-items-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stitch-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stitch-items-list > div {
  margin-bottom: 0;
}

.stitch-item-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--stitch-border);
  border-radius: 12px;
  padding: 16px 20px;
  gap: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
@media (min-width: 768px) {
  .stitch-item-card {
    padding: 18px 24px;
  }
}
.stitch-item-card:hover {
  border-color: rgba(13, 13, 242, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.stitch-item-card:last-child {
  margin-bottom: 0;
}

.stitch-item-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stitch-item-logo a {
  display: block;
}

.stitch-logo-img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #f0f0f5;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.stitch-logo-img:hover {
  background: #e8e8f0;
  border-color: #d0d0e0;
  color: var(--stitch-text);
}

.stitch-logo-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
  border: 1px solid #f0f0f5;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.stitch-logo-placeholder:hover {
  background: #e8e8f0;
  border-color: #d0d0e0;
  color: var(--stitch-text);
}

.stitch-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  padding-right: 16px;
}

.stitch-item-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stitch-item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--stitch-text-main);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
@media (min-width: 1024px) {
  .stitch-item-title {
    font-size: 17px;
  }
}
.stitch-item-title:hover {
  color: var(--stitch-primary);
}

.stitch-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 16px;
  padding: 0 6px;
  border-radius: 4px;
  background: white;
  color: var(--stitch-text-main);
  font-size: 9px;
  font-weight: 700;
  border: 1px solid #e5e7eb;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.stitch-rank-badge.rank-first {
  background: #111111;
  color: white;
  border-color: #374151;
}

.stitch-item-desc {
  font-size: 13px;
  color: var(--stitch-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
  margin: 0;
}

.stitch-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
  font-size: 12px;
  color: var(--stitch-text-secondary);
}

.stitch-best-for {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  color: var(--stitch-text-main);
}
.stitch-best-for .material-symbols-outlined {
  font-size: 13px;
  color: var(--stitch-primary);
}

.stitch-meta-separator {
  width: 4px;
  height: 4px;
  background: #d1d5db;
  border-radius: 50%;
}

.stitch-tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  background: #f3f4f6;
  color: #637381;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s;
}
.stitch-tag-pill:hover {
  background: #bfdbfe;
  color: #1e40af;
}
.stitch-tag-pill.stitch-tag-primary {
  background: #fef3c7;
  color: #92400e;
}
.stitch-tag-pill.stitch-tag-primary:hover {
  background: #fde68a;
  color: #78350f;
}

.stitch-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}
@media (min-width: 768px) {
  .stitch-item-actions {
    justify-content: flex-start;
    width: 200px;
    flex-shrink: 0;
  }
}

.stitch-score-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stitch-score-group .stitch-quality-label {
  font-size: 15px;
  font-weight: 600;
}

.stitch-score {
  font-size: 20px;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 5px;
  line-height: 1;
  width: 55px;
  text-align: center;
  flex-shrink: 0;
}

.stitch-score-brilliant-bg {
  background: #fef3c7;
}

.stitch-score-brilliant-text {
  color: #92400e;
}

.stitch-quality-brilliant {
  color: #b45309;
  font-weight: 700;
}

.stitch-confidence {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.stitch-confidence-label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.stitch-confidence-text {
  font-size: 10px;
  color: var(--stitch-text-secondary);
  line-height: 1;
  border-bottom: 1px dotted rgba(73, 73, 156, 0.5);
  cursor: help;
}

.stitch-action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid #e5e7eb;
}

.stitch-feedback-btn {
  font-size: 11px;
  font-weight: 500;
  color: var(--stitch-text-secondary);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
}
.stitch-feedback-btn:hover {
  color: var(--stitch-primary);
}

.stitch-visit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  background: var(--stitch-primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(13, 13, 242, 0.2);
  transition: background 0.2s;
  white-space: nowrap;
}
.stitch-visit-btn:hover {
  background: var(--stitch-primary-light);
  color: white;
}

.stitch-related-section {
  margin-bottom: 24px;
}

.stitch-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.stitch-related-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border: 1px solid var(--stitch-border);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.stitch-related-card:hover {
  border-color: var(--stitch-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stitch-related-image {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.stitch-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stitch-related-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.stitch-related-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stitch-related-count {
  font-size: 12px;
  color: var(--stitch-text-secondary);
}

.stitch-faq-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--stitch-border);
}

.stitch-faq-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--stitch-text-main);
  margin: 0 0 24px 0;
}

.stitch-faq-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) {
  .stitch-faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stitch-faq-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--stitch-text-main);
  margin: 0 0 8px 0;
}
.stitch-faq-item p {
  font-size: 14px;
  color: var(--stitch-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.stitch-header-wrapper ~ .menu-desktop,
.stitch-header-wrapper ~ .menu-mobile-block {
  display: none !important;
}

.stitch-detail-container {
  max-width: var(--stitch-max-width);
  margin: 0 auto;
  padding: 0 24px 48px;
}
@media (min-width: 1024px) {
  .stitch-detail-container {
    padding: 0 40px 48px;
  }
}

.stitch-detail-hero {
  padding: 32px 0;
  border-bottom: 1px solid var(--stitch-border);
  margin-bottom: 32px;
}

.stitch-detail-hero-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 768px) {
  .stitch-detail-hero-main {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.stitch-detail-identity {
  flex: 1;
  min-width: 0;
}

.stitch-detail-title-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.stitch-detail-logo {
  flex-shrink: 0;
}
.stitch-detail-logo a {
  display: block;
}

.stitch-detail-logo-img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: contain;
  background: #f9f9fb;
  border: 1px solid var(--stitch-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.stitch-detail-logo-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 20px;
}

.stitch-logo-clickable {
  cursor: pointer;
  transition: transform 0.2s ease;
}
.stitch-logo-clickable:hover {
  transform: scale(1.05);
}
.stitch-logo-clickable:hover .stitch-detail-logo-img {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stitch-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
}

.stitch-lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.stitch-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.stitch-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.stitch-lightbox-close .material-symbols-outlined {
  font-size: 28px;
  width: auto;
  height: auto;
}

.stitch-listed-on {
  margin-top: 24px;
}

.stitch-listed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.stitch-list-card {
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stitch-list-card:hover {
  transform: translateY(-2px);
}
.stitch-list-card:hover .stitch-list-card-image {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stitch-list-card-visual {
  position: relative;
  width: 100%;
  margin-bottom: 8px;
}

.stitch-list-card-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f7;
  border: 1px solid var(--stitch-border, #e5e5e5);
  transition: box-shadow 0.2s ease;
}
.stitch-list-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.stitch-list-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}
.stitch-list-placeholder .material-symbols-outlined {
  font-size: 36px;
  width: auto;
  height: auto;
}

.stitch-list-card-avatar {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid white;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  background: white;
}
.stitch-list-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stitch-avatar-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.stitch-list-card-title {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.3;
  padding: 0 4px;
}

.stitch-detail-title-info {
  flex: 1;
  min-width: 0;
}

.stitch-detail-title-with-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.stitch-title-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.stitch-action-btn,
.stitch-action-btn .btn-add-to-list,
.stitch-action-btn button {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  background: #fff !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none;
}
.stitch-action-btn .material-symbols-outlined,
.stitch-action-btn .btn-add-to-list .material-symbols-outlined,
.stitch-action-btn button .material-symbols-outlined {
  font-size: 18px;
  color: #6b7280;
}
.stitch-action-btn .add-to-list-star,
.stitch-action-btn .btn-add-to-list .add-to-list-star,
.stitch-action-btn button .add-to-list-star {
  font-size: 18px !important;
  color: #6b7280;
}
.stitch-action-btn .add-to-list-text,
.stitch-action-btn .btn-add-to-list .add-to-list-text,
.stitch-action-btn button .add-to-list-text {
  display: none !important;
}
.stitch-action-btn:hover,
.stitch-action-btn .btn-add-to-list:hover,
.stitch-action-btn button:hover {
  border-color: #0037ff !important;
  background: rgba(0, 55, 255, 0.05) !important;
}
.stitch-action-btn:hover .material-symbols-outlined,
.stitch-action-btn:hover .add-to-list-star,
.stitch-action-btn .btn-add-to-list:hover .material-symbols-outlined,
.stitch-action-btn .btn-add-to-list:hover .add-to-list-star,
.stitch-action-btn button:hover .material-symbols-outlined,
.stitch-action-btn button:hover .add-to-list-star {
  color: #0037ff;
}

.stitch-action-btn.btn-add-to-list--active,
.stitch-action-btn .btn-add-to-list--active {
  border-color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.1) !important;
}
.stitch-action-btn.btn-add-to-list--active .add-to-list-star,
.stitch-action-btn .btn-add-to-list--active .add-to-list-star {
  color: #f59e0b !important;
}

.stitch-detail-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--stitch-text-main);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .stitch-detail-title {
    font-size: 28px;
  }
}
.stitch-detail-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.stitch-detail-title a:hover {
  color: var(--stitch-primary);
}

.stitch-verified-badge {
  color: var(--stitch-primary);
  font-size: 20px;
  flex-shrink: 0;
}

.stitch-detail-subtitle {
  font-size: 14px;
  color: var(--stitch-text-secondary);
  margin: 0;
  line-height: 1.5;
}

.stitch-detail-key-specs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--stitch-text-secondary);
}
.stitch-detail-key-specs .material-symbols-outlined {
  font-size: 16px;
  color: var(--stitch-primary);
}
.stitch-detail-key-specs strong {
  font-weight: 600;
  color: var(--stitch-text-main);
}
.stitch-detail-key-specs .stitch-spec-dot {
  color: #d1d5db;
  margin: 0 2px;
}

.stitch-detail-updated {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--stitch-text-secondary);
  margin-bottom: 16px;
}
.stitch-detail-updated .material-symbols-outlined {
  font-size: 14px;
}

.stitch-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.stitch-detail-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
}
.stitch-detail-tag:hover {
  background: var(--stitch-primary);
  border-color: var(--stitch-primary);
  color: white;
  transform: translateY(-1px);
}
.stitch-detail-tag.stitch-tag-primary {
  background: #fff5eb;
  border: 1px solid #fde5d0;
  color: #9a5c27;
}
.stitch-detail-tag.stitch-tag-primary:hover {
  background: #f59e0b;
  border-color: #f59e0b;
  color: white;
  transform: translateY(-1px);
}

.stitch-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.stitch-detail-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  background: var(--stitch-primary);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(13, 13, 242, 0.25);
  transition: background 0.2s, transform 0.2s;
}
.stitch-detail-btn-primary:hover {
  background: var(--stitch-primary-light);
  color: white;
  transform: translateY(-1px);
}
.stitch-detail-btn-primary .material-symbols-outlined {
  font-size: 18px;
}

.stitch-detail-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  background: white;
  color: var(--stitch-text-main);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--stitch-border-dark);
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.stitch-detail-btn-secondary:hover {
  border-color: var(--stitch-primary);
  background: rgba(13, 13, 242, 0.04);
}

.stitch-detail-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid var(--stitch-border-dark);
  border-radius: 8px;
  color: var(--stitch-text-secondary);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.stitch-detail-btn-icon:hover {
  border-color: var(--stitch-primary);
  color: var(--stitch-primary);
}
.stitch-detail-btn-icon .material-symbols-outlined {
  font-size: 20px;
}

.stitch-detail-score-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.stitch-detail-score-wrapper .stitch-quality-label {
  text-align: center;
}

.stitch-score-with-star,
.stitch-score-with-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stitch-edit-btn-small {
  padding: 10px !important;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.stitch-edit-btn-small .material-symbols-outlined {
  font-size: 20px;
  color: #6b7280;
  transition: color 0.2s ease;
}
.stitch-edit-btn-small:hover {
  border-color: #0037ff;
  background: rgba(0, 55, 255, 0.05);
}
.stitch-edit-btn-small:hover .material-symbols-outlined {
  color: #0037ff;
}

.stitch-star-btn,
.stitch-star-btn .btn-add-to-list,
.stitch-star-btn button {
  padding: 10px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  background: #fff !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.stitch-star-btn img,
.stitch-star-btn .btn-add-to-list img,
.stitch-star-btn button img {
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  filter: grayscale(100%) brightness(0.7);
  transition: filter 0.2s ease;
}
.stitch-star-btn .add-to-list-text,
.stitch-star-btn .btn-add-to-list .add-to-list-text,
.stitch-star-btn button .add-to-list-text {
  display: none !important;
}
.stitch-star-btn .add-to-list-icon-compact-mode,
.stitch-star-btn .btn-add-to-list .add-to-list-icon-compact-mode,
.stitch-star-btn button .add-to-list-icon-compact-mode {
  display: none !important;
}
.stitch-star-btn .add-to-list-icon,
.stitch-star-btn .btn-add-to-list .add-to-list-icon,
.stitch-star-btn button .add-to-list-icon {
  display: block !important;
}
.stitch-star-btn .add-to-list-star,
.stitch-star-btn .btn-add-to-list .add-to-list-star,
.stitch-star-btn button .add-to-list-star {
  font-size: 20px;
  color: #9ca3af;
  transition: color 0.2s ease, font-variation-settings 0.2s ease;
}
.stitch-star-btn .add-to-list-star.filled,
.stitch-star-btn .btn-add-to-list .add-to-list-star.filled,
.stitch-star-btn button .add-to-list-star.filled {
  color: #f59e0b;
  font-variation-settings: "FILL" 1;
}
.stitch-star-btn:hover,
.stitch-star-btn .btn-add-to-list:hover,
.stitch-star-btn button:hover {
  border-color: #fbbf24 !important;
  background: #fffbeb !important;
}
.stitch-star-btn:hover img,
.stitch-star-btn .btn-add-to-list:hover img,
.stitch-star-btn button:hover img {
  filter: grayscale(0%) brightness(1);
  filter: sepia(1) saturate(3) brightness(1.1) hue-rotate(10deg);
}
.stitch-star-btn:hover .add-to-list-star,
.stitch-star-btn .btn-add-to-list:hover .add-to-list-star,
.stitch-star-btn button:hover .add-to-list-star {
  color: #fbbf24;
}
.stitch-star-btn.btn-add-to-list--active,
.stitch-star-btn .btn-add-to-list.btn-add-to-list--active,
.stitch-star-btn button.btn-add-to-list--active {
  border-color: #f59e0b !important;
  background: #fef3c7 !important;
}
.stitch-star-btn.btn-add-to-list--active .add-to-list-star,
.stitch-star-btn .btn-add-to-list.btn-add-to-list--active .add-to-list-star,
.stitch-star-btn button.btn-add-to-list--active .add-to-list-star {
  color: #f59e0b;
}
.stitch-star-btn.btn-add-to-list--active:hover,
.stitch-star-btn .btn-add-to-list.btn-add-to-list--active:hover,
.stitch-star-btn button.btn-add-to-list--active:hover {
  background: #fde68a !important;
}

.stitch-detail-score-wrapper .stitch-score-block {
  padding: 14px 18px;
}
.stitch-detail-score-wrapper .stitch-score-number {
  font-size: 26px;
}
.stitch-detail-score-wrapper .stitch-score-label {
  font-size: 14px;
}

.stitch-detail-score-label {
  text-align: center;
}
@media (min-width: 768px) {
  .stitch-detail-score-label {
    text-align: right;
  }
}

.stitch-score-label-text {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}
.stitch-score-label-text.text-purple {
  color: #7c3aed;
}
.stitch-score-label-text.text-green {
  color: #059669;
}

.stitch-score-label-count {
  font-size: 12px;
  color: var(--stitch-text-secondary);
  margin: 2px 0 0;
}

.stitch-detail-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
@media (min-width: 1024px) {
  .stitch-detail-layout {
    flex-direction: row;
  }
}

.stitch-detail-main {
  flex: 1;
  min-width: 0;
}

.stitch-detail-sidebar {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 1024px) {
  .stitch-detail-sidebar {
    width: 320px;
    flex-shrink: 0;
  }
}

.stitch-detail-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--stitch-border);
  overflow-x: auto;
}
.stitch-detail-tabs::-webkit-scrollbar {
  display: none;
}

.stitch-tab {
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--stitch-text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.stitch-tab:hover {
  background: var(--stitch-input-bg);
  color: var(--stitch-text-main);
}
.stitch-tab.active {
  background: var(--stitch-primary);
  color: white;
}

.stitch-detail-card {
  background: white;
  border: 1px solid var(--stitch-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}
.stitch-detail-card:last-child {
  margin-bottom: 0;
}

.stitch-detail-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--stitch-text-main);
  margin: 0 0 16px;
}

.stitch-detail-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--stitch-text-secondary);
}
.stitch-detail-description p {
  margin: 0 0 16px;
}
.stitch-detail-description p:last-child {
  margin-bottom: 0;
}
.stitch-detail-description a {
  color: var(--stitch-primary);
  text-decoration: none;
}
.stitch-detail-description a:hover {
  text-decoration: underline;
}
.stitch-detail-description ul, .stitch-detail-description ol {
  margin: 16px 0;
  padding-left: 24px;
}
.stitch-detail-description li {
  margin-bottom: 8px;
}

.stitch-detail-section-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--stitch-text-main);
  margin: 24px 0 16px;
}

.stitch-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stitch-capability-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: var(--stitch-input-bg);
  border-radius: 8px;
  font-size: 14px;
  color: var(--stitch-text-main);
}

.stitch-check-icon {
  color: #10b981;
  font-size: 18px;
  flex-shrink: 0;
}

.stitch-pros-cons-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 640px) {
  .stitch-pros-cons-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.stitch-pros-column,
.stitch-cons-column {
  padding: 20px;
  border-radius: 12px;
}

.stitch-pros-column {
  background: #f0fdf4;
}

.stitch-cons-column {
  background: #fef2f2;
}

.stitch-column-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}
.stitch-column-header .material-symbols-outlined {
  font-size: 20px;
}

.stitch-pros-header {
  color: #15803d;
}

.stitch-cons-header {
  color: #dc2626;
}

.stitch-pros-list,
.stitch-cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.stitch-pros-list li,
.stitch-cons-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.stitch-pros-list li:last-child,
.stitch-cons-list li:last-child {
  margin-bottom: 0;
}
.stitch-pros-list li .material-symbols-outlined,
.stitch-cons-list li .material-symbols-outlined {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.stitch-pros-list li {
  color: #166534;
}
.stitch-pros-list li .stitch-check-icon {
  color: #22c55e;
}

.stitch-cons-list li {
  color: #991b1b;
}

.stitch-x-icon {
  color: #ef4444;
  font-size: 16px;
}

.stitch-sidebar-card {
  background: white;
  border: 1px solid var(--stitch-border);
  border-radius: 12px;
  padding: 20px;
}

.stitch-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.stitch-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.stitch-sidebar-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--stitch-primary);
  text-decoration: none;
}
.stitch-sidebar-link:hover {
  text-decoration: underline;
}

.stitch-reviews-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.stitch-reviews-score {
  font-size: 32px;
  font-weight: 800;
  color: var(--stitch-text-main);
  line-height: 1;
}

.stitch-reviews-stars-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stitch-reviews-stars {
  display: flex;
  gap: 2px;
}

.stitch-star {
  font-size: 16px;
  color: #e5e7eb;
}
.stitch-star.filled {
  color: #fbbf24;
}

.stitch-reviews-count {
  font-size: 12px;
  color: var(--stitch-text-secondary);
}

.stitch-recommend {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #f0fdf4;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #15803d;
  margin-bottom: 16px;
}

.stitch-recommend-icon {
  color: #22c55e;
  font-size: 18px;
}

.stitch-write-review-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  background: var(--stitch-input-bg);
  border: 1px solid var(--stitch-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.stitch-write-review-btn:hover {
  border-color: var(--stitch-primary);
  background: rgba(13, 13, 242, 0.04);
}

.stitch-similar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stitch-similar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  margin: 0;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.stitch-similar-item:hover {
  background: var(--stitch-input-bg);
}

.stitch-similar-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--stitch-input-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--stitch-border);
}
.stitch-similar-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.stitch-similar-logo span {
  font-size: 12px;
  font-weight: 700;
  color: var(--stitch-text-secondary);
}

.stitch-similar-info {
  flex: 1;
  min-width: 0;
}

.stitch-similar-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stitch-similar-category {
  font-size: 12px;
  color: var(--stitch-text-secondary);
  margin: 2px 0 0;
}

.stitch-similar-score {
  font-size: 14px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  color: var(--stitch-text-main);
  background: var(--stitch-input-bg);
}
.stitch-similar-score.score-gold, .stitch-similar-score.score-brilliant {
  color: var(--score-brilliant-text);
  background: var(--score-brilliant-bg);
  border: 1px solid var(--score-brilliant-outline);
}
.stitch-similar-score.score-green-dark, .stitch-similar-score.score-excellent {
  color: var(--score-excellent-text);
  background: var(--score-excellent-bg);
}
.stitch-similar-score.score-green, .stitch-similar-score.score-very-good {
  color: var(--score-very-good-text);
  background: var(--score-very-good-bg);
}
.stitch-similar-score.score-green-light, .stitch-similar-score.score-good {
  color: var(--score-good-text);
  background: var(--score-good-bg);
}
.stitch-similar-score.score-yellow, .stitch-similar-score.score-fair {
  color: var(--score-fair-text);
  background: var(--score-fair-bg);
}
.stitch-similar-score.score-orange, .stitch-similar-score.score-average {
  color: var(--score-average-text);
  background: var(--score-average-bg);
}
.stitch-similar-score.score-gray, .stitch-similar-score.score-poor {
  color: var(--score-poor-text);
  background: var(--score-poor-bg);
}

.stitch-reviews-section {
  margin-top: 32px;
}

.stitch-quality-label {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin-top: 8px;
  display: block;
  width: 100%;
}

.stitch-dashboard {
  max-width: var(--stitch-max-width);
  margin: 0 auto;
  padding: 32px 16px;
}
@media (min-width: 768px) {
  .stitch-dashboard {
    padding: 40px 24px;
  }
}

.stitch-dashboard-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .stitch-dashboard-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.stitch-dashboard-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--stitch-text);
  letter-spacing: -0.03em;
  margin: 0;
}
@media (min-width: 768px) {
  .stitch-dashboard-title {
    font-size: 36px;
  }
}

.stitch-dashboard-subtitle {
  color: var(--stitch-muted);
  font-size: 15px;
  margin: 4px 0 0 0;
}

.stitch-dashboard-actions {
  display: flex;
  gap: 12px;
}

.stitch-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--stitch-primary);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 2px 8px rgba(13, 13, 242, 0.2);
}
.stitch-btn-primary:hover {
  background: #0a0ac7;
  transform: translateY(-1px);
}
.stitch-btn-primary .material-symbols-outlined {
  font-size: 18px;
}

.stitch-btn-add-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  background: #059669;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.stitch-btn-add-item:hover {
  background: #047857;
  transform: translateY(-1px);
}
.stitch-btn-add-item .material-symbols-outlined {
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.stitch-btn-add-list {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  background: #d97706;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.stitch-btn-add-list:hover {
  background: #b45309;
  transform: translateY(-1px);
}
.stitch-btn-add-list .material-symbols-outlined {
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.stitch-btn-following {
  background: #6c47c2 !important;
  box-shadow: 0 2px 8px rgba(108, 71, 194, 0.2) !important;
}
.stitch-btn-following:hover {
  background: #5a3aad !important;
}

.stitch-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: #fff;
  color: var(--stitch-text);
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid var(--stitch-border);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.stitch-btn-secondary:hover {
  background: var(--stitch-bg);
  border-color: #d0d0d8;
}

.stitch-btn-small {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--stitch-bg);
  color: var(--stitch-text);
  font-weight: 600;
  font-size: 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.stitch-btn-small:hover {
  background: #e8e8f0;
}

.stitch-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) {
  .stitch-dashboard-grid {
    grid-template-columns: 1fr 340px;
  }
}

.stitch-dashboard-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.stitch-dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stitch-dashboard-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stitch-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stitch-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--stitch-text);
  margin: 0;
}

.stitch-section-link {
  color: var(--stitch-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.stitch-section-link:hover {
  text-decoration: underline;
}

.stitch-activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stitch-activity-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.stitch-activity-card:hover {
  border-color: rgba(13, 13, 242, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.stitch-activity-card:hover .stitch-activity-title {
  color: var(--stitch-primary);
}

.stitch-activity-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stitch-activity-icon .material-symbols-outlined {
  font-size: 22px;
}

.stitch-activity-comment {
  background: #eff6ff;
  color: #2563eb;
}

.stitch-activity-list {
  background: #f0fdf4;
  color: #16a34a;
}

.stitch-activity-save {
  background: #faf5ff;
  color: #9333ea;
}

.stitch-activity-content {
  flex: 1;
  min-width: 0;
}

.stitch-activity-title {
  font-weight: 700;
  color: var(--stitch-text);
  font-size: 15px;
  margin: 0 0 4px 0;
  transition: color 0.15s;
}

.stitch-activity-meta {
  color: var(--stitch-muted);
  font-size: 13px;
  margin: 0;
}

.stitch-activity-image {
  width: 96px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  display: none;
}
@media (min-width: 640px) {
  .stitch-activity-image {
    display: block;
  }
}
.stitch-activity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stitch-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  text-align: center;
}
.stitch-empty-state .material-symbols-outlined {
  font-size: 48px;
  color: #d1d5db;
  margin-bottom: 12px;
}
.stitch-empty-state p {
  color: var(--stitch-muted);
  margin: 0 0 12px 0;
}

.stitch-link {
  color: var(--stitch-primary);
  text-decoration: none;
  font-weight: 500;
}
.stitch-link:hover {
  text-decoration: underline;
}

.stitch-trending-featured {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  height: 260px;
  text-decoration: none;
}
.stitch-trending-featured:hover .stitch-trending-bg {
  transform: scale(1.05);
}

.stitch-trending-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
  z-index: 1;
}

.stitch-trending-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
}

.stitch-trending-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stitch-trending-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.stitch-trending-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.stitch-badge-primary {
  background: rgba(13, 13, 242, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stitch-badge-score {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.stitch-trending-title {
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 8px 0;
}
@media (min-width: 768px) {
  .stitch-trending-title {
    font-size: 28px;
  }
}

.stitch-trending-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin: 0;
  max-width: 600px;
}

.stitch-trending-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
@media (min-width: 640px) {
  .stitch-trending-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stitch-trending-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--stitch-border);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.stitch-trending-card:hover {
  border-color: var(--stitch-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.stitch-trending-card:hover .stitch-trending-card-title {
  color: var(--stitch-primary);
}

.stitch-trending-card-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--stitch-bg);
}
.stitch-trending-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stitch-trending-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--stitch-muted);
  background: var(--stitch-bg);
}

.stitch-trending-card-info {
  flex: 1;
}

.stitch-trending-card-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--stitch-text);
  margin: 0;
  transition: color 0.15s;
}

.stitch-trending-card-category {
  font-size: 12px;
  color: var(--stitch-muted);
  margin: 2px 0 0 0;
}

.stitch-trending-card-score {
  font-size: 13px;
  font-weight: 700;
  color: var(--stitch-primary);
}

.stitch-categories-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stitch-category-pill {
  display: inline-flex;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid var(--stitch-border);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--stitch-text);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.stitch-category-pill:hover {
  border-color: var(--stitch-primary);
  color: var(--stitch-primary);
  background: #f5f5ff;
}

.stitch-recent-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stitch-recent-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stitch-recent-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--stitch-border);
  background: var(--stitch-bg);
}
.stitch-recent-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stitch-recent-icon span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 700;
  color: var(--stitch-muted);
}

.stitch-recent-content {
  flex: 1;
  min-width: 0;
}

.stitch-recent-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
@media (min-width: 640px) {
  .stitch-recent-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.stitch-recent-text {
  font-size: 15px;
  color: var(--stitch-text);
  margin: 0;
}

.stitch-recent-desc {
  font-size: 13px;
  color: var(--stitch-muted);
  margin: 0;
  padding: 12px;
  background: var(--stitch-bg);
  border-radius: 8px;
  border: 1px solid var(--stitch-border);
}

.stitch-sidebar-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stitch-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.stitch-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.stitch-sidebar-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--stitch-primary);
  text-decoration: none;
}
.stitch-sidebar-link:hover {
  text-decoration: underline;
}

.stitch-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.stitch-quick-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--stitch-text);
  font-weight: 500;
  font-size: 14px;
  transition: background 0.15s;
}
.stitch-quick-action:hover {
  background: var(--stitch-bg);
  color: var(--stitch-primary);
}
.stitch-quick-action .material-symbols-outlined {
  font-size: 20px;
  color: var(--stitch-muted);
}

.stitch-lists-preview {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stitch-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.stitch-list-item:hover {
  background: var(--stitch-bg);
}
.stitch-list-item:hover .stitch-list-name {
  color: var(--stitch-primary);
}

.stitch-list-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--stitch-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stitch-list-icon .material-symbols-outlined {
  font-size: 18px;
  color: var(--stitch-muted);
}
.stitch-list-icon img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--stitch-border, #e5e7eb);
  padding: 4px;
}

.stitch-list-info {
  flex: 1;
  min-width: 0;
}

.stitch-list-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--stitch-text);
  margin: 0;
  transition: color 0.15s;
}

.stitch-list-count {
  font-size: 12px;
  color: var(--stitch-muted);
  margin: 0;
}

.stitch-saved-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stitch-saved-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.stitch-saved-item:hover {
  background: var(--stitch-bg);
}
.stitch-saved-item:hover .stitch-saved-name {
  color: var(--stitch-primary);
}

.stitch-saved-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--stitch-border);
  background: var(--stitch-bg);
}
.stitch-saved-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stitch-saved-icon span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 700;
  font-size: 14px;
  color: var(--stitch-muted);
}

.stitch-saved-info {
  flex: 1;
  min-width: 0;
}

.stitch-saved-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--stitch-text);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}

.stitch-saved-category {
  font-size: 12px;
  color: var(--stitch-muted);
  margin: 0;
}

.stitch-saved-score {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.stitch-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 12px;
}

.stitch-stat-item {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.stitch-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--stitch-text);
}

.stitch-stat-label {
  font-size: 12px;
  color: var(--stitch-muted);
  margin-top: 2px;
}

.stitch-error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 48px 24px;
}

.stitch-error-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0f0f0 0%, #e5e5e5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.stitch-error-icon .material-symbols-outlined {
  font-size: 40px;
  color: var(--stitch-muted);
}
.stitch-error-icon.stitch-error-icon-warning {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}
.stitch-error-icon.stitch-error-icon-warning .material-symbols-outlined {
  color: #f57c00;
}

.luno-mascot {
  width: 140px;
  height: 140px;
  margin-bottom: 16px;
  animation: luno-float 3s ease-in-out infinite;
}
.luno-mascot svg {
  width: 100%;
  height: 100%;
}
.luno-mascot.luno-mascot-confused {
  animation: luno-wobble 2s ease-in-out infinite;
}
.luno-mascot.luno-mascot-sad {
  animation: luno-droop 2.5s ease-in-out infinite;
}

@keyframes luno-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes luno-wobble {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-4px) rotate(-3deg);
  }
  75% {
    transform: translateY(-4px) rotate(3deg);
  }
}
@keyframes luno-droop {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(5px) rotate(-2deg);
  }
}
.stitch-error-page-luno .stitch-error-code {
  color: rgba(102, 126, 234, 0.15);
}

.stitch-error-code {
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
  color: #f0f0f0;
  margin-bottom: 16px;
  letter-spacing: -4px;
}

.stitch-error-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--stitch-text);
  margin: 0 0 12px 0;
}

.stitch-error-message {
  font-size: 16px;
  color: var(--stitch-muted);
  max-width: 400px;
  margin: 0 0 32px 0;
  line-height: 1.6;
}

.stitch-error-search {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  margin-bottom: 24px;
}
@media (max-width: 480px) {
  .stitch-error-search {
    flex-direction: column;
  }
}

.stitch-search-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.stitch-search-input-wrap .material-symbols-outlined {
  position: absolute;
  left: 14px;
  font-size: 20px;
  color: var(--stitch-muted);
}
.stitch-search-input-wrap .stitch-search-input {
  width: 100%;
  padding: 12px 16px 12px 44px !important;
  border: 1px solid var(--stitch-border) !important;
  border-radius: 10px !important;
  font-size: 14px;
  background: #fff;
  transition: all 0.2s ease;
}
.stitch-search-input-wrap .stitch-search-input:focus {
  outline: none;
  border-color: var(--stitch-primary) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.stitch-error-links,
.stitch-error-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.stitch-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--stitch-muted);
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.stitch-btn-ghost .material-symbols-outlined {
  font-size: 18px;
}
.stitch-btn-ghost:hover {
  background: #f5f5f5;
  color: var(--stitch-text);
}

.stitch-error-categories {
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--stitch-border);
}

.stitch-error-categories-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-muted);
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stitch-error-categories-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.stitch-error-status {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fafafa;
  border-radius: 12px;
  max-width: 480px;
  text-align: left;
  margin-top: 8px;
}

.stitch-error-status-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e8f4fd;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stitch-error-status-icon .material-symbols-outlined {
  font-size: 20px;
  color: #2196f3;
}

.stitch-error-status-content {
  flex: 1;
}

.stitch-error-status-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text);
  margin: 0 0 4px 0;
}

.stitch-error-status-text {
  font-size: 13px;
  color: var(--stitch-muted);
  margin: 0;
  line-height: 1.5;
}
.stitch-error-status-text a {
  color: var(--stitch-primary);
  text-decoration: none;
}
.stitch-error-status-text a:hover {
  text-decoration: underline;
}

.stitch-auth-modal {
  width: 100%;
  padding: 40px;
}

.stitch-auth-form {
  width: 100%;
}

.stitch-auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.stitch-auth-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f5f5f5 0%, #ebebeb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.stitch-auth-icon .material-symbols-outlined {
  font-size: 28px;
  color: var(--stitch-text);
}

.stitch-auth-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--stitch-text);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.stitch-auth-subtitle {
  font-size: 14px;
  color: var(--stitch-muted);
  margin: 0;
}

.stitch-social-auth {
  margin-bottom: 20px;
}

.stitch-btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid var(--stitch-border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--stitch-text);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.stitch-btn-google img {
  width: 20px;
  height: 20px;
}
.stitch-btn-google:hover {
  background: #fafafa;
  border-color: #d4d4d4;
}

.stitch-auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
}
.stitch-auth-divider::before, .stitch-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--stitch-border);
}
.stitch-auth-divider span {
  padding: 0 12px;
  font-size: 12px;
  color: var(--stitch-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stitch-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stitch-form-group {
  margin-bottom: 16px;
}

.stitch-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-text);
  margin-bottom: 6px;
}

.stitch-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.stitch-label-row .stitch-label {
  margin-bottom: 0;
}

.stitch-link-muted {
  font-size: 13px;
  color: var(--stitch-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.stitch-link-muted:hover {
  color: var(--stitch-primary);
}

.stitch-input {
  width: 100%;
  padding: 11px 14px !important;
  border: 1px solid var(--stitch-border) !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  color: var(--stitch-text);
  background: #fff !important;
  transition: all 0.2s ease;
  height: auto !important;
}
.stitch-input::placeholder {
  color: #a0a0a0;
}
.stitch-input:focus {
  outline: none;
  border-color: var(--stitch-primary) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.stitch-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  cursor: pointer;
}
.stitch-checkbox input[type=checkbox] {
  width: 18px !important;
  height: 18px !important;
  padding: 0 !important;
  border: 1px solid var(--stitch-border) !important;
  border-radius: 4px !important;
  cursor: pointer;
  accent-color: var(--stitch-primary);
}

.stitch-checkbox-label {
  font-size: 13px;
  color: var(--stitch-muted);
}

.stitch-btn-full {
  width: 100%;
  justify-content: center;
}

.stitch-alert {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.stitch-alert-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.stitch-alert-success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.stitch-auth-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--stitch-border);
  font-size: 14px;
}
.stitch-auth-footer span:first-child {
  color: var(--stitch-muted);
}

.stitch-link {
  color: var(--stitch-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s ease;
}
.stitch-link .material-symbols-outlined {
  font-size: 18px;
}
.stitch-link:hover {
  opacity: 0.8;
}

.stitch-auth-modal .stitch-btn-primary,
.stitch-auth-form .stitch-btn-primary {
  background: var(--stitch-primary, #0066FF) !important;
  color: #fff !important;
  border: none !important;
}
.stitch-auth-modal .stitch-btn-primary span,
.stitch-auth-form .stitch-btn-primary span {
  color: #fff !important;
}
.stitch-auth-modal .stitch-btn-primary:hover,
.stitch-auth-form .stitch-btn-primary:hover {
  background: #0052cc !important;
}

.stitch-auth-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 20px 80px;
  min-height: 60vh;
}

.stitch-auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--stitch-border);
  padding: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.stitch-static-page {
  padding: 48px 0 80px;
}

.stitch-page-header {
  text-align: center;
  margin-bottom: 48px;
}

.stitch-page-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f5f5f5 0%, #ebebeb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.stitch-page-icon .material-symbols-outlined {
  font-size: 32px;
  color: var(--stitch-primary);
}

.stitch-page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--stitch-text);
  margin: 0 0 12px 0;
}

.stitch-page-subtitle {
  font-size: 16px;
  color: var(--stitch-muted);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.stitch-content-card {
  background: #fff;
  border: 1px solid var(--stitch-border);
  border-radius: 16px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .stitch-content-card {
    padding: 24px;
    border-radius: 12px;
  }
}

.stitch-prose {
  font-size: 15px;
  line-height: 1.8;
  color: var(--stitch-text);
}
.stitch-prose h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--stitch-text);
  margin: 32px 0 16px 0;
}
.stitch-prose h1:first-child {
  margin-top: 0;
}
.stitch-prose h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--stitch-text);
  margin: 28px 0 12px 0;
}
.stitch-prose h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--stitch-text);
  margin: 24px 0 10px 0;
}
.stitch-prose p {
  margin: 0 0 16px 0;
}
.stitch-prose p:last-child {
  margin-bottom: 0;
}
.stitch-prose a {
  color: var(--stitch-primary);
  text-decoration: none;
}
.stitch-prose a:hover {
  text-decoration: underline;
}
.stitch-prose strong, .stitch-prose b {
  font-weight: 600;
  color: var(--stitch-text);
}
.stitch-prose ul, .stitch-prose ol {
  margin: 16px 0;
  padding-left: 24px;
}
.stitch-prose li {
  margin-bottom: 10px;
}

.stitch-trust-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}
@media (max-width: 640px) {
  .stitch-trust-page {
    padding: 16px 16px 56px;
  }
}

.stitch-trust-hero {
  text-align: center;
  padding: 56px 24px 40px;
  background: linear-gradient(180deg, #f3f4ff 0%, #ffffff 100%);
  border: 1px solid var(--stitch-border, #e5e7eb);
  border-radius: 24px;
  margin-bottom: 32px;
}
@media (max-width: 640px) {
  .stitch-trust-hero {
    padding: 36px 16px 28px;
    border-radius: 18px;
  }
}

.stitch-trust-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stitch-primary, #0066FF);
  background: rgba(0, 102, 255, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.stitch-trust-hero-title {
  font-size: 44px;
  font-weight: 800;
  color: var(--stitch-text, #0d0d1c);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
@media (max-width: 640px) {
  .stitch-trust-hero-title {
    font-size: 32px;
  }
}

.stitch-trust-hero-subtitle {
  font-size: 18px;
  color: var(--stitch-muted, #637381);
  margin: 0 auto 28px;
  max-width: 640px;
  line-height: 1.55;
}
@media (max-width: 640px) {
  .stitch-trust-hero-subtitle {
    font-size: 16px;
  }
}

.stitch-trust-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.stitch-trust-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-text, #0d0d1c);
  background: #fff;
  border: 1px solid var(--stitch-border, #e5e7eb);
  padding: 8px 14px;
  border-radius: 999px;
}
.stitch-trust-meta-item .material-symbols-outlined {
  font-size: 16px;
  color: var(--stitch-primary, #0066FF);
}

.stitch-trust-tldr {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--stitch-border, #e5e7eb);
  border-left: 4px solid var(--stitch-primary, #0066FF);
  border-radius: 16px;
  margin-bottom: 40px;
}
@media (max-width: 640px) {
  .stitch-trust-tldr {
    padding: 20px;
    gap: 14px;
    border-radius: 12px;
  }
}

.stitch-trust-tldr-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 102, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stitch-trust-tldr-icon .material-symbols-outlined {
  font-size: 26px;
  color: var(--stitch-primary, #0066FF);
}

.stitch-trust-tldr-body {
  flex: 1;
}
.stitch-trust-tldr-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--stitch-text, #0d0d1c);
  margin: 0 0 8px;
}
.stitch-trust-tldr-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--stitch-text, #0d0d1c);
  margin: 0;
}

.stitch-trust-section {
  margin-bottom: 48px;
}

.stitch-trust-section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--stitch-text, #0d0d1c);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.stitch-trust-section-title em {
  font-style: italic;
  color: var(--stitch-primary, #0066FF);
}
@media (max-width: 640px) {
  .stitch-trust-section-title {
    font-size: 22px;
  }
}

.stitch-trust-section-lead {
  font-size: 15px;
  color: var(--stitch-muted, #637381);
  margin: 0 0 24px;
  line-height: 1.6;
}

.stitch-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.stitch-trust-pillar {
  background: #fff;
  border: 1px solid var(--stitch-border, #e5e7eb);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.stitch-trust-pillar:hover {
  border-color: var(--stitch-primary, #0066FF);
  transform: translateY(-1px);
}
.stitch-trust-pillar h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--stitch-text, #0d0d1c);
  margin: 14px 0 8px;
}
.stitch-trust-pillar p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--stitch-muted, #637381);
  margin: 0;
}
.stitch-trust-pillar a {
  color: var(--stitch-primary, #0066FF);
  text-decoration: none;
}
.stitch-trust-pillar a:hover {
  text-decoration: underline;
}
.stitch-trust-pillar code {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  background: #f3f4ff;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--stitch-primary, #0066FF);
}

.stitch-trust-pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f3f4ff 0%, #e7e9ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stitch-trust-pillar-icon .material-symbols-outlined {
  font-size: 22px;
  color: var(--stitch-primary, #0066FF);
}

.stitch-trust-exclusion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.stitch-trust-exclusion {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--stitch-border, #e5e7eb);
  border-radius: 12px;
  padding: 16px 20px;
}
.stitch-trust-exclusion > .material-symbols-outlined {
  flex-shrink: 0;
  font-size: 22px;
  color: #d33;
  margin-top: 2px;
}
.stitch-trust-exclusion > div {
  font-size: 14px;
  line-height: 1.6;
  color: var(--stitch-text, #0d0d1c);
}
.stitch-trust-exclusion strong {
  font-weight: 700;
  color: var(--stitch-text, #0d0d1c);
}

.stitch-trust-callout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 32px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: 16px;
  margin-bottom: 40px;
}
@media (max-width: 640px) {
  .stitch-trust-callout {
    padding: 20px;
    gap: 14px;
    border-radius: 12px;
  }
}
.stitch-trust-callout h2 {
  font-size: 18px;
  font-weight: 700;
  color: #78350f;
  margin: 0 0 8px;
}
.stitch-trust-callout p {
  font-size: 14px;
  line-height: 1.65;
  color: #78350f;
  margin: 0 0 8px;
}
.stitch-trust-callout p:last-child {
  margin-bottom: 0;
}
.stitch-trust-callout a {
  color: #92400e;
  font-weight: 600;
  text-decoration: underline;
}

.stitch-trust-callout-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(180, 83, 9, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stitch-trust-callout-icon .material-symbols-outlined {
  font-size: 26px;
  color: #92400e;
}

.stitch-trust-programs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stitch-trust-programs li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--stitch-border, #e5e7eb);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--stitch-text, #0d0d1c);
}
.stitch-trust-programs li > .material-symbols-outlined {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--stitch-primary, #0066FF);
  margin-top: 1px;
}
.stitch-trust-programs li strong {
  font-weight: 700;
  color: var(--stitch-text, #0d0d1c);
}

.stitch-trust-footer-cta {
  text-align: center;
  padding: 24px 16px 0;
  border-top: 1px solid var(--stitch-border, #e5e7eb);
  margin-top: 16px;
}
.stitch-trust-footer-cta p {
  font-size: 14px;
  color: var(--stitch-muted, #637381);
  margin: 0;
}
.stitch-trust-footer-cta a {
  color: var(--stitch-primary, #0066FF);
  text-decoration: none;
  font-weight: 600;
}
.stitch-trust-footer-cta a:hover {
  text-decoration: underline;
}

.lead-quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 16px 0 24px;
}
.lead-quiz-options label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--stitch-border, #e5e7eb);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  background: #fff;
}
.lead-quiz-options label:hover {
  border-color: var(--stitch-primary, #0066FF);
  background: #fafbff;
}
.lead-quiz-options label input[type=radio] {
  margin: 4px 0 0;
  accent-color: var(--stitch-primary, #0066FF);
}
.lead-quiz-options label span {
  font-size: 15px;
  line-height: 1.45;
  color: var(--stitch-text, #0d0d1c);
}
.lead-quiz-options label small {
  color: var(--stitch-muted, #637381);
  font-size: 13px;
}

.lead-email-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.lead-email-row input[type=email] {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--stitch-border, #e5e7eb);
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease;
}
.lead-email-row input[type=email]:focus {
  border-color: var(--stitch-primary, #0066FF);
}
.lead-email-row button {
  padding: 12px 24px;
  background: var(--stitch-primary, #0066FF);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.lead-email-row button:hover:not(.btn-disabled) {
  opacity: 0.9;
}
.lead-email-row button.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 480px) {
  .lead-email-row {
    flex-direction: column;
  }
}

.lead-progress {
  margin-top: 24px;
  height: 6px;
  background: var(--stitch-border, #e5e7eb);
  border-radius: 999px;
  overflow: hidden;
}

.lead-progress-bar {
  height: 100%;
  background: var(--stitch-primary, #0066FF);
  transition: width 0.3s ease;
}

.lead-progress-label {
  margin-top: 6px;
  font-size: 12px;
  color: var(--stitch-muted, #637381);
  text-align: right;
}

.lead-result-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.lead-result-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--stitch-border, #e5e7eb);
  border-radius: 14px;
  padding: 18px 20px;
}
@media (max-width: 540px) {
  .lead-result-card {
    flex-wrap: wrap;
  }
}

.lead-result-rank {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--stitch-primary, #0066FF);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lead-result-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  background: #f3f4ff;
}

.lead-result-body {
  flex: 1;
  min-width: 0;
}

.lead-result-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.lead-result-title a {
  font-size: 18px;
  font-weight: 700;
  color: var(--stitch-text, #0d0d1c);
  text-decoration: none;
}
.lead-result-title a:hover {
  color: var(--stitch-primary, #0066FF);
}

.lead-result-score {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #f3f4ff;
  color: var(--stitch-primary, #0066FF);
  font-weight: 700;
  font-size: 13px;
}

.lead-result-desc {
  font-size: 14px;
  color: var(--stitch-muted, #637381);
  margin: 0 0 12px;
  line-height: 1.55;
}

.lead-result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.lead-result-cta {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.lead-result-cta.primary {
  background: var(--stitch-primary, #0066FF);
  color: #fff;
}
.lead-result-cta.primary:hover {
  opacity: 0.9;
}
.lead-result-cta.secondary {
  background: #fff;
  color: var(--stitch-text, #0d0d1c);
  border: 1px solid var(--stitch-border, #e5e7eb);
}
.lead-result-cta.secondary:hover {
  border-color: var(--stitch-primary, #0066FF);
  color: var(--stitch-primary, #0066FF);
}

.uptime-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--stitch-border, #e5e7eb);
  border-radius: 14px;
  background: #fff;
}

.uptime-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.uptime-table th, .uptime-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--stitch-border, #e5e7eb);
  white-space: nowrap;
}
.uptime-table thead th {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--stitch-muted, #637381);
  background: #fafbff;
}
.uptime-table tbody tr:last-child td {
  border-bottom: none;
}
.uptime-table tbody tr:hover {
  background: #fafbff;
}
.uptime-table .num {
  width: 40px;
  color: var(--stitch-muted, #637381);
}
.uptime-table .host a {
  font-weight: 600;
  color: var(--stitch-text, #0d0d1c);
  text-decoration: none;
}
.uptime-table .host a:hover {
  color: var(--stitch-primary, #0066FF);
}
.uptime-table .score .uptime-score-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #f3f4ff;
  color: var(--stitch-primary, #0066FF);
  font-weight: 700;
  font-size: 13px;
}
.uptime-table .uptime {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.uptime-table .uptime.good {
  color: #15803d;
}
.uptime-table .uptime.ok {
  color: #b45309;
}
.uptime-table .uptime.bad {
  color: #b91c1c;
}
.uptime-table .uptime.muted {
  color: var(--stitch-muted, #637381);
  font-weight: 400;
}
.uptime-table .ms {
  font-variant-numeric: tabular-nums;
  color: var(--stitch-text, #0d0d1c);
}
.uptime-table .muted {
  color: var(--stitch-muted, #637381);
}

.stitch-contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.stitch-contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stitch-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #fafafa;
  border-radius: 12px;
}
.stitch-contact-item .stitch-contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--stitch-border);
}
.stitch-contact-item .stitch-contact-item-icon .material-symbols-outlined {
  font-size: 20px;
  color: var(--stitch-primary);
}
.stitch-contact-item .stitch-contact-item-content p {
  margin: 0;
}
.stitch-contact-item .stitch-contact-item-content .stitch-contact-item-label {
  font-size: 12px;
  color: var(--stitch-muted);
  margin-bottom: 2px;
}
.stitch-contact-item .stitch-contact-item-content .stitch-contact-item-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--stitch-text);
}

.stitch-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stitch-faq-item {
  background: #fafafa;
  border-radius: 12px;
  padding: 20px 24px;
  transition: all 0.2s ease;
}
.stitch-faq-item:hover {
  background: #f5f5f5;
}

.stitch-faq-question {
  font-size: 15px;
  font-weight: 600;
  color: var(--stitch-text);
  margin: 0 0 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.stitch-faq-question .material-symbols-outlined {
  font-size: 20px;
  color: var(--stitch-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.stitch-faq-answer {
  font-size: 14px;
  color: var(--stitch-muted);
  line-height: 1.6;
  margin: 0;
  padding-left: 32px;
}
.stitch-faq-answer a {
  color: var(--stitch-primary);
  text-decoration: none;
}
.stitch-faq-answer a:hover {
  text-decoration: underline;
}

.g-recaptcha {
  margin-bottom: 16px;
}

.stitch-comments-section {
  margin-top: 48px;
}

.stitch-comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.stitch-comments-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--stitch-text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.stitch-comments-title span {
  background: #f5f5f5;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--stitch-muted);
}

.stitch-comments-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stitch-sort-label {
  font-size: 13px;
  color: var(--stitch-muted);
}

.stitch-sort-tabs {
  display: flex;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 3px;
}

.stitch-sort-tab {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.stitch-sort-tab:hover {
  color: var(--stitch-text);
}
.stitch-sort-tab.active {
  background: #fff;
  color: var(--stitch-text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stitch-comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stitch-comment {
  background: #fff;
  border: 1px solid var(--stitch-border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
}
.stitch-comment:hover {
  border-color: #d4d4d4;
}

.stitch-comment-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.stitch-comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.stitch-comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stitch-comment-meta {
  flex: 1;
}

.stitch-comment-author {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stitch-comment-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text);
  text-decoration: none;
}
.stitch-comment-name:hover {
  color: var(--stitch-primary);
}

.stitch-comment-rank {
  font-size: 11px;
  padding: 2px 8px;
  background: #f5f5f5;
  border-radius: 20px;
  color: var(--stitch-muted);
}

.stitch-comment-date {
  font-size: 12px;
  color: var(--stitch-muted);
  margin-top: 2px;
}

.stitch-comment-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.stitch-stars {
  display: flex;
  gap: 2px;
}
.stitch-stars img {
  width: 16px;
  height: 16px;
}

.stitch-rating-value {
  font-size: 14px;
  font-weight: 600;
  color: #f59e0b;
}

.stitch-comment-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--stitch-text);
  margin: 0;
}

.stitch-comment-item-link {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--stitch-primary);
  text-decoration: none;
}
.stitch-comment-item-link:hover {
  text-decoration: underline;
}

.stitch-comment-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--stitch-border);
  flex-wrap: wrap;
}

.stitch-comment-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.stitch-comment-action .material-symbols-outlined {
  font-size: 18px;
}
.stitch-comment-action:hover {
  background: #f5f5f5;
  color: var(--stitch-text);
}
.stitch-comment-action.active {
  color: var(--stitch-primary);
}
.stitch-comment-action.stitch-report {
  margin-left: auto;
}
.stitch-comment-action.stitch-report:hover {
  color: #dc2626;
}

.stitch-add-comment {
  margin-top: 32px;
  margin-bottom: 32px;
}

.stitch-add-comment-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  background: #f5f5f5;
  border: 2px dashed var(--stitch-border);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--stitch-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}
.stitch-add-comment-trigger .material-symbols-outlined {
  font-size: 20px;
}
.stitch-add-comment-trigger:hover {
  border-color: var(--stitch-primary);
  color: var(--stitch-primary);
  background: rgba(99, 102, 241, 0.05);
}

.stitch-comment-form-card {
  background: #fafafa;
  border: 1px solid var(--stitch-border);
  border-radius: 12px;
  padding: 24px;
}

.stitch-comment-form-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--stitch-text);
  margin: 0 0 16px 0;
}

.stitch-comment-textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px !important;
  border: 1px solid var(--stitch-border) !important;
  border-radius: 10px !important;
  font-size: 14px;
  resize: vertical;
  background: #fff !important;
}
.stitch-comment-textarea:focus {
  outline: none;
  border-color: var(--stitch-primary) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.stitch-comment-rating-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.stitch-rating-label {
  font-size: 13px;
  color: var(--stitch-muted);
}

.stitch-rating-stars {
  display: flex;
  gap: 4px;
}
.stitch-rating-stars img {
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.stitch-rating-stars img:hover {
  transform: scale(1.1);
}

.stitch-comment-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.stitch-guest-prompt {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--stitch-border);
}
.stitch-guest-prompt p {
  font-size: 14px;
  color: var(--stitch-muted);
  margin: 0;
}
.stitch-guest-prompt p a {
  color: var(--stitch-primary);
  text-decoration: none;
  font-weight: 500;
}
.stitch-guest-prompt p a:hover {
  text-decoration: underline;
}

.stitch-comments-count {
  font-size: 14px;
  color: var(--stitch-muted);
  font-weight: 500;
}

.stitch-sort-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--stitch-border);
}

.stitch-sort-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--stitch-muted);
  background: transparent;
  border: 1px solid var(--stitch-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.stitch-sort-tab .material-symbols-outlined {
  font-size: 18px;
}
.stitch-sort-tab:hover {
  background: #f5f5f5;
  color: var(--stitch-text);
}
.stitch-sort-tab.active {
  background: var(--stitch-primary);
  color: #fff;
  border-color: var(--stitch-primary);
}

.stitch-comment-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--stitch-text);
  margin: 16px 0;
  white-space: pre-wrap;
}

.stitch-stars {
  display: flex;
  gap: 2px;
}
.stitch-stars .material-symbols-outlined {
  font-size: 18px;
  color: #d4d4d4;
}
.stitch-stars .material-symbols-outlined.filled {
  color: #fbbf24;
  font-variation-settings: "FILL" 1;
}

.stitch-rating-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--stitch-text);
  margin-left: 8px;
}

.stitch-comment-rating {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.stitch-like-btn.liked {
  color: var(--stitch-primary);
}
.stitch-like-btn.liked .material-symbols-outlined {
  font-variation-settings: "FILL" 1;
}
.stitch-like-btn:disabled {
  cursor: default;
}

.stitch-like-count {
  font-weight: 600;
}

.stitch-comment-action-report {
  margin-left: auto;
}
.stitch-comment-action-report:hover {
  color: #dc2626 !important;
}

.stitch-comment-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--stitch-border);
}
.stitch-comment-form-header h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--stitch-text);
  margin: 0;
}

.stitch-comment-form-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--stitch-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.stitch-comment-form-close:hover {
  background: #f5f5f5;
  color: var(--stitch-text);
}

.stitch-comment-form-guest {
  text-align: center;
  padding: 32px 20px;
}
.stitch-comment-form-guest > .material-symbols-outlined {
  font-size: 48px;
  color: var(--stitch-muted);
  margin-bottom: 16px;
}
.stitch-comment-form-guest p {
  font-size: 16px;
  color: var(--stitch-text);
  margin: 0 0 20px 0;
}

.stitch-comment-form-guest-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.stitch-comment-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stitch-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stitch-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--stitch-text);
}

.stitch-form-error {
  font-size: 13px;
  color: #dc2626;
  margin-top: 4px;
}

.stitch-rating-input {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stitch-stars-input {
  display: flex;
  gap: 4px;
}

.stitch-star-input {
  font-size: 28px;
  color: #d4d4d4;
  cursor: pointer;
  transition: all 0.15s ease;
}
.stitch-star-input:hover, .stitch-star-input.hover {
  color: #fbbf24;
  transform: scale(1.1);
}
.stitch-star-input.filled {
  color: #fbbf24;
  font-variation-settings: "FILL" 1;
}

.stitch-comment-form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--stitch-border);
}

.stitch-reviews-section {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

.stitch-reviews-header {
  margin-bottom: 24px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.stitch-reviews-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--stitch-text, #1a1a1a);
  letter-spacing: -0.02em;
}

.stitch-reviews-count {
  font-weight: 400;
  color: #9ca3af;
}

.stitch-review-form-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.stitch-review-form-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.stitch-review-form-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.stitch-review-form-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stitch-review-form-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--stitch-text, #1a1a1a);
  margin: 0;
}

.stitch-review-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stitch-review-rating-group {
  margin-bottom: 0;
}

.stitch-review-rating-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.stitch-review-rating-label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.stitch-review-rating-badge {
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.stitch-review-rating-badge.badge-excellent {
  background: #059669;
}
.stitch-review-rating-badge.badge-very-good {
  background: #10b981;
}
.stitch-review-rating-badge.badge-good {
  background: #3b82f6;
}
.stitch-review-rating-badge.badge-mediocre {
  background: #f59e0b;
}
.stitch-review-rating-badge.badge-average {
  background: #f97316;
}
.stitch-review-rating-badge.badge-poor {
  background: #ef4444;
}

.stitch-review-slider-wrapper {
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
}

.stitch-review-slider-fill {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: #0037ff;
  border-radius: 999px 0 0 999px;
  pointer-events: none;
  z-index: 1;
}

.stitch-review-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: #e5e7eb;
  border-radius: 999px;
  outline: none;
  position: relative;
  z-index: 2;
}
.stitch-review-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #0037ff;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.stitch-review-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #0037ff;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.stitch-review-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 4px;
}
.stitch-review-slider-labels span {
  font-size: 12px;
  color: #9ca3af;
}

.stitch-review-stars-row {
  display: flex;
  align-items: center;
  gap: 2px;
}

.stitch-review-star-btn {
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease;
}
.stitch-review-star-btn:hover {
  transform: scale(1.1);
}

.stitch-review-star {
  font-size: 24px;
  color: #d1d5db;
  transition: all 0.15s ease;
  font-variation-settings: "FILL" 0;
}
.stitch-review-star.filled {
  color: #f97316;
  font-variation-settings: "FILL" 1;
}
.stitch-review-star.half-filled {
  font-variation-settings: "FILL" 1;
  background: linear-gradient(90deg, #f97316 50%, #d1d5db 50%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stitch-review-star.hover {
  color: #fb923c;
  transform: scale(1.05);
}

.stitch-review-rating-hint {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 8px;
  text-align: center;
}

.stitch-review-textarea-group {
  margin-bottom: 0;
}

.stitch-review-textarea {
  width: 100%;
  min-height: 128px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--stitch-text, #1a1a1a);
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  resize: none;
  transition: all 0.2s ease;
}
.stitch-review-textarea::placeholder {
  color: #9ca3af;
}
.stitch-review-textarea:focus {
  outline: none;
  border-color: #0037ff;
  box-shadow: 0 0 0 3px rgba(0, 55, 255, 0.1);
  background: #fff;
}

.stitch-review-submit {
  box-shadow: 0 4px 14px rgba(0, 55, 255, 0.25);
}

.stitch-review-form-guest {
  text-align: center;
  padding: 24px 0;
}
.stitch-review-form-guest .material-symbols-outlined {
  font-size: 48px;
  color: #d4d4d4;
  margin-bottom: 16px;
}
.stitch-review-form-guest p {
  color: #6b7280;
  margin-bottom: 16px;
}

.stitch-review-form-reviewed {
  text-align: center;
  padding: 24px 0;
}
.stitch-review-form-reviewed .material-symbols-outlined {
  font-size: 48px;
  color: #10b981;
  margin-bottom: 16px;
}
.stitch-review-form-reviewed p {
  color: #374151;
  margin-bottom: 8px;
  font-weight: 500;
}
.stitch-review-form-reviewed .stitch-review-form-reviewed-hint {
  font-size: 13px;
  color: #9ca3af;
  font-weight: 400;
}

.stitch-reviews-filters {
  display: flex;
  gap: 4px;
  background: #f3f4f6;
  padding: 4px;
  border-radius: 8px;
  margin-bottom: 20px;
  width: fit-content;
}

.stitch-filter-pill {
  padding: 8px 14px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-text-secondary, #637381);
  cursor: pointer;
  transition: all 0.15s ease;
}
.stitch-filter-pill:hover {
  color: var(--stitch-text-main, #0d0d1c);
}
.stitch-filter-pill.active {
  background: white;
  color: var(--stitch-text-main, #0d0d1c);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stitch-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stitch-reviews-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stitch-review-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.stitch-review-header {
  margin-bottom: 12px;
}

.stitch-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stitch-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #e5e7eb;
}
.stitch-review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stitch-review-author-info {
  flex: 1;
}

.stitch-review-author-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stitch-review-author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text, #1a1a1a);
  text-decoration: none;
}
.stitch-review-author-name:hover {
  color: #0037ff;
}

.stitch-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #92400e;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}
.stitch-review-badge .material-symbols-outlined {
  font-size: 12px;
  width: 12px;
  height: 12px;
  color: #d97706;
}

.stitch-review-date {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 2px;
}

.stitch-review-score {
  margin-bottom: 12px;
}

.stitch-review-score-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--stitch-text, #1a1a1a);
}

.stitch-review-score-max {
  font-size: 16px;
  font-weight: 400;
  color: #9ca3af;
}

.stitch-review-body {
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0 0 24px 0;
}

.stitch-review-item-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #0037ff;
  margin-bottom: 12px;
}
.stitch-review-item-link a {
  color: inherit;
  text-decoration: none;
}
.stitch-review-item-link a:hover {
  text-decoration: underline;
}
.stitch-review-item-link .material-symbols-outlined {
  font-size: 16px;
}

.stitch-review-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stitch-review-action {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #6b7280;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}
.stitch-review-action .material-symbols-outlined {
  font-size: 18px;
}
.stitch-review-action:hover {
  color: #0037ff;
}
.stitch-review-action.liked, .stitch-review-action.active {
  color: #0037ff;
}

.stitch-reply-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 16px;
  background: #f3f4f6;
  border-radius: 8px;
  font-size: 13px;
  color: #6b7280;
}
.stitch-reply-hint .material-symbols-outlined {
  font-size: 18px;
  color: #0037ff;
}

.stitch-review-replies {
  margin-top: 24px;
  padding-left: 16px;
  border-left: 2px solid #f3f4f6;
}
@media (min-width: 768px) {
  .stitch-review-replies {
    padding-left: 24px;
  }
}

.stitch-review-reply {
  background: rgba(249, 250, 251, 0.5);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}
.stitch-review-reply:last-child {
  margin-bottom: 0;
}

.stitch-review-reply-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.stitch-review-reply-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.stitch-review-reply-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stitch-review-reply-info {
  flex: 1;
}

.stitch-review-reply-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text, #1a1a1a);
  text-decoration: none;
}
.stitch-review-reply-name:hover {
  color: #0037ff;
}

.stitch-review-reply-date {
  font-size: 11px;
  color: #9ca3af;
  display: block;
}

.stitch-review-reply-body {
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 12px 0;
}

.stitch-review-reply-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stitch-review-reply-action {
  font-size: 12px;
  color: #6b7280;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}
.stitch-review-reply-action .material-symbols-outlined {
  font-size: 14px;
}
.stitch-review-reply-action:hover {
  color: #0037ff;
}

.stitch-reviews-empty {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 48px 24px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.stitch-reviews-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: #eff6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stitch-reviews-empty-icon .material-symbols-outlined {
  font-size: 32px;
  color: #0037ff;
}

.stitch-reviews-empty-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--stitch-text, #1a1a1a);
  margin: 0 0 8px 0;
}

.stitch-reviews-empty-text {
  font-size: 14px;
  color: #6b7280;
  max-width: 320px;
  margin: 0 auto;
}

.stitch-categories-wrapper {
  padding: 48px 24px;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}
@media (min-width: 768px) {
  .stitch-categories-wrapper {
    padding: 64px 40px;
  }
}

.stitch-categories-container {
  max-width: 900px;
  margin: 0 auto;
}

.stitch-categories-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.stitch-categories-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--stitch-text-main, #0d0d1c);
  margin: 0;
  white-space: nowrap;
}

.stitch-categories-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #e5e7eb 0%, transparent 100%);
}

.stitch-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .stitch-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .stitch-categories-grid {
    grid-template-columns: 1fr;
  }
}

.stitch-category-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  overflow: hidden;
  min-width: 0;
}
.stitch-category-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.stitch-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}

.stitch-category-title-link {
  text-decoration: none;
  flex: 1;
  min-width: 0;
}
.stitch-category-title-link:hover .stitch-category-title {
  color: #0037ff;
}

.stitch-category-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stitch-category-view-all {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 500;
  color: #0037ff;
  text-decoration: none;
  transition: gap 0.2s ease;
}
.stitch-category-view-all .material-symbols-outlined {
  font-size: 14px;
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.stitch-category-view-all:hover {
  gap: 8px;
}
.stitch-category-view-all:hover .material-symbols-outlined {
  transform: translateX(2px);
}

.stitch-category-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stitch-category-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s ease;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.stitch-category-item:hover {
  background: #f9fafb;
}

.stitch-category-item-logo {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  contain: strict;
}
.stitch-category-item-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
}
.stitch-category-item-logo span {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
}

.stitch-category-item-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.stitch-category-item-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stitch-category-item-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 2px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stitch-category-rank {
  font-weight: 600;
  color: #0037ff;
}

.stitch-category-item-score {
  font-size: 14px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  flex-shrink: 0;
  color: var(--score-good-text);
  background: var(--score-good-bg);
}
.stitch-category-item-score.score-gold, .stitch-category-item-score.score-brilliant {
  color: var(--score-brilliant-text);
  background: var(--score-brilliant-bg);
  border: 1px solid var(--score-brilliant-outline);
}
.stitch-category-item-score.score-green-dark, .stitch-category-item-score.score-excellent {
  color: var(--score-excellent-text);
  background: var(--score-excellent-bg);
}
.stitch-category-item-score.score-green, .stitch-category-item-score.score-very-good {
  color: var(--score-very-good-text);
  background: var(--score-very-good-bg);
}
.stitch-category-item-score.score-green-light, .stitch-category-item-score.score-good {
  color: var(--score-good-text);
  background: var(--score-good-bg);
}
.stitch-category-item-score.score-yellow, .stitch-category-item-score.score-fair {
  color: var(--score-fair-text);
  background: var(--score-fair-bg);
}
.stitch-category-item-score.score-orange, .stitch-category-item-score.score-average {
  color: var(--score-average-text);
  background: var(--score-average-bg);
}
.stitch-category-item-score.score-gray, .stitch-category-item-score.score-poor {
  color: var(--score-poor-text);
  background: var(--score-poor-bg);
}

.stitch-categories-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.stitch-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.stitch-btn-secondary .material-symbols-outlined {
  font-size: 20px;
  transition: transform 0.2s ease;
}
.stitch-btn-secondary:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}
.stitch-btn-secondary:hover .material-symbols-outlined {
  transform: translateY(2px);
}

.stitch-profile {
  max-width: var(--stitch-max-width);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .stitch-profile {
    padding: 0 24px;
  }
}

.stitch-profile-header {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .stitch-profile-header {
    padding: 32px;
  }
}

.stitch-profile-header-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 768px) {
  .stitch-profile-header-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }
}

.stitch-profile-avatar-section {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .stitch-profile-avatar-section {
    justify-content: flex-start;
  }
}

.stitch-profile-avatar {
  position: relative;
  width: 100px;
  height: 100px;
}
@media (min-width: 768px) {
  .stitch-profile-avatar {
    width: 120px;
    height: 120px;
  }
}
.stitch-profile-avatar .stitch-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stitch-online-indicator {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #fff;
}
.stitch-online-indicator.online {
  background: #10b981;
}
.stitch-online-indicator.offline {
  background: #9ca3af;
}

.stitch-profile-info {
  flex: 1;
  text-align: center;
}
@media (min-width: 768px) {
  .stitch-profile-info {
    text-align: left;
  }
}

.stitch-profile-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}
@media (min-width: 768px) {
  .stitch-profile-name-row {
    justify-content: flex-start;
  }
}

.stitch-profile-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--stitch-text-main, #0d0d1c);
  letter-spacing: -0.02em;
  margin: 0;
}
@media (min-width: 768px) {
  .stitch-profile-name {
    font-size: 32px;
  }
}

.stitch-profile-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--stitch-primary) 0%, #4f46e5 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.stitch-profile-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 12px 0;
}
@media (min-width: 768px) {
  .stitch-profile-score {
    justify-content: flex-start;
  }
}

.stitch-profile-score-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--stitch-primary, #0066FF);
  letter-spacing: -0.02em;
}

.stitch-profile-score-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-muted, #637381);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.stitch-profile-bio {
  color: var(--stitch-muted, #666);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 16px 0;
  max-width: 500px;
}
@media (min-width: 768px) {
  .stitch-profile-bio {
    margin-left: 0;
    margin-right: auto;
  }
}

.stitch-profile-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
@media (min-width: 768px) {
  .stitch-profile-meta {
    justify-content: flex-start;
  }
}

.stitch-profile-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--stitch-muted, #666);
  font-size: 14px;
}
.stitch-profile-meta-item .material-symbols-outlined {
  font-size: 18px;
  color: #9ca3af;
}

.stitch-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
@media (min-width: 768px) {
  .stitch-profile-actions {
    justify-content: flex-start;
    margin-left: auto;
  }
}

.stitch-profile-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
@media (min-width: 640px) {
  .stitch-profile-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 640px) {
  .stitch-profile-stats.has-wizard-buttons {
    grid-template-columns: repeat(5, 1fr);
  }
}

.stitch-wizard-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 12px;
  padding: 10px 12px;
  border: 2px dashed;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  background: none;
}
.stitch-wizard-btn .material-symbols-outlined {
  font-size: 22px;
}
.stitch-wizard-btn--item {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #34d399;
  color: #059669;
}
.stitch-wizard-btn--item:hover {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border-style: solid;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}
.stitch-wizard-btn--list {
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  border-color: #fb923c;
  color: #ea580c;
}
.stitch-wizard-btn--list:hover {
  background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
  border-style: solid;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2);
}

.stitch-wizard-btn-label {
  font-size: 14px;
  font-weight: 700;
}

.stitch-wizard-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.stitch-wizard-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.stitch-wizard-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.stitch-wizard-content .material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
  flex-shrink: 0;
  vertical-align: middle;
}

.stitch-wizard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}
.stitch-wizard-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--stitch-text-main, #0d0d1c);
  display: flex;
  align-items: center;
  gap: 8px;
}

.stitch-wizard-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--stitch-muted, #666);
  border-radius: 8px;
  transition: background 0.15s;
}
.stitch-wizard-close:hover {
  background: #f3f4f6;
}

.stitch-wizard-body {
  padding: 20px 24px 24px;
}

.stitch-wizard-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  gap: 16px;
  text-align: center;
}
.stitch-wizard-loading .material-symbols-outlined {
  font-size: 48px;
  color: var(--stitch-primary, #0d0df2);
  animation: spin 1.5s linear infinite;
}
.stitch-wizard-loading p {
  color: var(--stitch-muted, #666);
  font-size: 14px;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.stitch-wizard-field {
  margin-bottom: 16px;
}
.stitch-wizard-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  margin-bottom: 6px;
}
.stitch-wizard-field input, .stitch-wizard-field textarea, .stitch-wizard-field select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--stitch-border, #e5e5e5);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.15s;
}
.stitch-wizard-field input:focus, .stitch-wizard-field textarea:focus, .stitch-wizard-field select:focus {
  outline: none;
  border-color: var(--stitch-primary, #0d0df2);
}
.stitch-wizard-field textarea {
  resize: vertical;
  min-height: 80px;
}

.stitch-wizard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.stitch-wizard-tags .stitch-wizard-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: #f3f4f6;
  border-radius: 99px;
  font-size: 12px;
  color: #374151;
  font-weight: 500;
}

.stitch-wizard-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.stitch-wizard-actions .stitch-wizard-btn-primary {
  flex: 1;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.stitch-wizard-actions .stitch-wizard-btn-primary.green {
  background: #059669;
}
.stitch-wizard-actions .stitch-wizard-btn-primary.green:hover {
  background: #047857;
}
.stitch-wizard-actions .stitch-wizard-btn-primary.green:disabled {
  background: #a7f3d0;
  cursor: not-allowed;
}
.stitch-wizard-actions .stitch-wizard-btn-primary.orange {
  background: #ea580c;
}
.stitch-wizard-actions .stitch-wizard-btn-primary.orange:hover {
  background: #c2410c;
}
.stitch-wizard-actions .stitch-wizard-btn-primary.orange:disabled {
  background: #fed7aa;
  cursor: not-allowed;
}
.stitch-wizard-actions .stitch-wizard-btn-primary.blue {
  background: var(--stitch-primary, #0d0df2);
}
.stitch-wizard-actions .stitch-wizard-btn-primary.blue:hover {
  background: #0a0ac0;
}
.stitch-wizard-actions .stitch-wizard-btn-primary.blue:disabled {
  background: #c7c7fc;
  cursor: not-allowed;
}
.stitch-wizard-actions .stitch-wizard-btn-secondary {
  padding: 10px 20px;
  border: 1px solid var(--stitch-border, #e5e5e5);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  background: #fff;
  color: var(--stitch-text-main, #0d0d1c);
  cursor: pointer;
  transition: all 0.15s;
}
.stitch-wizard-actions .stitch-wizard-btn-secondary:hover {
  background: #f9fafb;
}

.stitch-wizard-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 12px 16px;
  color: #dc2626;
  font-size: 13px;
  margin-bottom: 16px;
}

.stitch-wizard-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 12px 16px;
  color: #059669;
  font-size: 13px;
  margin-bottom: 16px;
}
.stitch-wizard-success a {
  color: #059669;
  font-weight: 600;
  text-decoration: underline;
}

.stitch-wizard-item-list {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid var(--stitch-border, #e5e5e5);
  border-radius: 10px;
  margin-top: 12px;
}

.stitch-wizard-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.1s;
}
.stitch-wizard-item-row:last-child {
  border-bottom: none;
}
.stitch-wizard-item-row:hover {
  background: #fafafa;
}
.stitch-wizard-item-row.deselected {
  opacity: 0.4;
}
.stitch-wizard-item-row input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: #ea580c;
  flex-shrink: 0;
}
.stitch-wizard-item-row .item-rank {
  font-size: 12px;
  font-weight: 700;
  color: var(--stitch-muted, #666);
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}
.stitch-wizard-item-row .item-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--stitch-text-main, #0d0d1c);
}
.stitch-wizard-item-row .item-score {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  flex-shrink: 0;
}
.stitch-wizard-item-row .item-score.excellent {
  background: #ecfdf5;
  color: #059669;
}
.stitch-wizard-item-row .item-score.great {
  background: #eff6ff;
  color: #2563eb;
}
.stitch-wizard-item-row .item-score.good {
  background: #fff7ed;
  color: #ea580c;
}
.stitch-wizard-item-row .item-score.average {
  background: #f3f4f6;
  color: #6b7280;
}

.stitch-wizard-item-count {
  font-size: 13px;
  color: var(--stitch-muted, #666);
  margin-top: 8px;
}

.stitch-wizard-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-top: 4px;
}

.stitch-wizard-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5e7eb;
  transition: all 0.3s ease;
}
.stitch-wizard-step-dot.active {
  background: #059669;
  width: 10px;
  height: 10px;
}
.stitch-wizard-step-dot.completed {
  background: #a7f3d0;
}

.stitch-wizard-input-wrap {
  position: relative;
}
.stitch-wizard-input-wrap input {
  width: 100%;
  padding: 14px 60px 14px 16px;
  border: 2px solid var(--stitch-border, #e5e5e5);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.stitch-wizard-input-wrap input:focus {
  outline: none;
  border-color: #059669;
}
.stitch-wizard-input-wrap input::placeholder {
  color: #9ca3af;
}

.stitch-wizard-char-counter {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: #9ca3af;
  pointer-events: none;
}
.stitch-wizard-char-counter.near-limit {
  color: #f59e0b;
}
.stitch-wizard-char-counter.at-limit {
  color: #ef4444;
}

.stitch-wizard-suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 16px;
}
.stitch-wizard-suggestions > span {
  font-size: 13px;
  color: var(--stitch-muted, #666);
  line-height: 1;
}

.stitch-wizard-suggestion {
  padding: 5px 12px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 99px;
  font-size: 13px;
  font-family: inherit;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s;
}
.stitch-wizard-suggestion:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
}

.stitch-wizard-duplicate-notice {
  background: #fffbeb;
  border: 1px solid #fbbf24;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 12px;
  margin-bottom: 16px;
}

.stitch-wizard-duplicate-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 10px;
}
.stitch-wizard-duplicate-header .material-symbols-outlined {
  font-size: 18px;
  color: #f59e0b;
}

.stitch-wizard-duplicate-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 10px;
}

.stitch-wizard-duplicate-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.stitch-wizard-duplicate-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.stitch-wizard-duplicate-info {
  flex: 1;
  min-width: 0;
}
.stitch-wizard-duplicate-info .dup-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stitch-wizard-duplicate-info .dup-keytag {
  font-size: 11px;
  color: var(--stitch-muted, #666);
  margin-top: 2px;
}

.stitch-wizard-duplicate-item .stitch-score-block {
  flex-shrink: 0;
}

.stitch-wizard-duplicate-actions {
  display: flex;
  gap: 8px;
}
.stitch-wizard-duplicate-actions a, .stitch-wizard-duplicate-actions button {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}
.stitch-wizard-duplicate-actions a {
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #374151;
}
.stitch-wizard-duplicate-actions a:hover {
  background: #f9fafb;
}
.stitch-wizard-duplicate-actions button {
  background: #059669;
  border: none;
  color: #fff;
}
.stitch-wizard-duplicate-actions button:hover {
  background: #047857;
}

.stitch-wizard-loading-orbit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.stitch-wizard-loading-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 28px;
}
.stitch-wizard-loading-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #059669;
  border-right-color: #0066FF;
  animation: spin-ring 1.8s linear infinite;
}
.stitch-wizard-loading-ring::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: #764ba2;
  border-left-color: #f59e0b;
  animation: spin-ring 2.4s linear infinite reverse;
}

@keyframes spin-ring {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.stitch-wizard-loading-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  animation: pulse-glow 2.5s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
  }
  50% {
    box-shadow: 0 0 20px 6px rgba(102, 126, 234, 0.2);
  }
}
.stitch-wizard-loading-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
}
.stitch-wizard-loading-dot:nth-child(2) {
  background: #059669;
  animation: orbit 2.5s linear infinite;
}
.stitch-wizard-loading-dot:nth-child(3) {
  background: #0066FF;
  animation: orbit 3.5s linear infinite reverse;
}
.stitch-wizard-loading-dot:nth-child(4) {
  background: #764ba2;
  animation: orbit 4s linear infinite;
  animation-delay: -1.5s;
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(54px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(54px) rotate(-360deg);
  }
}
.stitch-wizard-loading-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  margin-bottom: 8px;
}

.stitch-wizard-loading-messages {
  font-size: 13px;
  color: var(--stitch-muted, #666);
  min-height: 20px;
  margin-bottom: 12px;
  animation: fade-message 2.5s ease-in-out infinite;
}

@keyframes fade-message {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}
.stitch-wizard-loading-time {
  font-size: 12px;
  color: #9ca3af;
}

.stitch-wizard-loading-progress {
  width: 180px;
  height: 3px;
  background: #e5e7eb;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 12px;
}
.stitch-wizard-loading-progress::after {
  content: "";
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, #059669, #0066FF, #764ba2);
  border-radius: 99px;
  animation: progress-slide 1.5s ease-in-out infinite;
}

@keyframes progress-slide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(350%);
  }
}
.stitch-wizard-preview-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 16px;
}

.stitch-wizard-preview-image {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.stitch-wizard-preview-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s ease-in-out infinite;
}
.stitch-wizard-preview-image.has-image {
  background: #f3f4f6;
}
.stitch-wizard-preview-image.has-image::after {
  display: none;
}
.stitch-wizard-preview-image.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.stitch-wizard-preview-info {
  flex: 1;
  min-width: 0;
}

.stitch-wizard-preview-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--stitch-text-main, #0d0d1c);
  margin-bottom: 4px;
}

.stitch-wizard-preview-desc {
  font-size: 12px;
  color: var(--stitch-muted, #666);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

.stitch-wizard-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.stitch-wizard-preview-tags span {
  padding: 3px 10px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
}

.stitch-wizard-preview-score {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 10px;
  text-align: center;
  flex-shrink: 0;
  min-width: 52px;
  align-self: flex-start;
}
.stitch-wizard-preview-score .score-number {
  display: block;
  font-size: 18px;
  line-height: 1;
}
.stitch-wizard-preview-score .score-label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 2px;
}
.stitch-wizard-preview-score.brilliant {
  background: var(--score-brilliant-bg);
  color: var(--score-brilliant-text);
}
.stitch-wizard-preview-score.excellent {
  background: var(--score-excellent-bg);
  color: var(--score-excellent-text);
}
.stitch-wizard-preview-score.very-good {
  background: var(--score-very-good-bg);
  color: var(--score-very-good-text);
}
.stitch-wizard-preview-score.good {
  background: var(--score-good-bg);
  color: var(--score-good-text);
}
.stitch-wizard-preview-score.fair {
  background: var(--score-fair-bg);
  color: var(--score-fair-text);
}
.stitch-wizard-preview-score.average {
  background: var(--score-average-bg);
  color: var(--score-average-text);
}
.stitch-wizard-preview-score.poor {
  background: var(--score-poor-bg);
  color: var(--score-poor-text);
}

.stitch-wizard-preview-img-note {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.stitch-wizard-type-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.stitch-wizard-type-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1;
}
.stitch-wizard-type-chip:hover {
  border-color: #059669;
  color: #059669;
}
.stitch-wizard-type-chip.selected {
  background: #ecfdf5;
  border-color: #059669;
  color: #059669;
  font-weight: 600;
}

.stitch-wizard-tags-editable {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.stitch-wizard-tag-removable {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 6px 5px 10px;
  background: #f3f4f6;
  border-radius: 99px;
  font-size: 12px;
  color: #374151;
  font-weight: 500;
  line-height: 1;
}
.stitch-wizard-tag-removable button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: color 0.15s;
  flex-shrink: 0;
}
.stitch-wizard-tag-removable button:hover {
  color: #ef4444;
}

.stitch-wizard-tag-add {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 5px 10px;
  background: none;
  border: 1px dashed #d1d5db;
  border-radius: 99px;
  font-size: 12px;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1;
}
.stitch-wizard-tag-add:hover {
  border-color: #059669;
  color: #059669;
}

.stitch-wizard-tag-input {
  display: inline-flex;
  align-items: center;
}
.stitch-wizard-tag-input input {
  width: 100px;
  padding: 4px 8px;
  border: 1px solid #d1d5db;
  border-radius: 99px;
  font-size: 12px;
}
.stitch-wizard-tag-input input:focus {
  outline: none;
  border-color: #059669;
}

.stitch-wizard-link-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: #059669;
  cursor: pointer;
  margin-bottom: 16px;
}
.stitch-wizard-link-toggle .material-symbols-outlined {
  font-size: 16px;
}
.stitch-wizard-link-toggle:hover {
  text-decoration: underline;
}

.stitch-wizard-back-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: var(--stitch-muted, #666);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 10px;
  line-height: 1;
}
.stitch-wizard-back-btn .material-symbols-outlined {
  font-size: 16px;
  line-height: 1;
}
.stitch-wizard-back-btn:hover {
  color: var(--stitch-text-main, #0d0d1c);
}

.stitch-wizard-expert-link {
  text-align: center;
  margin-top: 12px;
}
.stitch-wizard-expert-link button {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  color: var(--stitch-muted, #666);
  cursor: pointer;
}
.stitch-wizard-expert-link button:hover {
  color: var(--stitch-text-main, #0d0d1c);
  text-decoration: underline;
}

.stitch-wizard-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 16px 0;
}

.stitch-wizard-celebration {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.stitch-wizard-check {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
}
.stitch-wizard-check .material-symbols-outlined {
  font-size: 64px;
  color: #059669;
  animation: scale-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scale-in {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.stitch-wizard-burst-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.stitch-wizard-burst-dots span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  animation: burst 0.8s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
}
.stitch-wizard-burst-dots span:nth-child(1) {
  --burst-x: -30px;
  --burst-y: -25px;
  background: #059669;
}
.stitch-wizard-burst-dots span:nth-child(2) {
  --burst-x: 30px;
  --burst-y: -20px;
  background: #0066FF;
}
.stitch-wizard-burst-dots span:nth-child(3) {
  --burst-x: -25px;
  --burst-y: 30px;
  background: #764ba2;
}
.stitch-wizard-burst-dots span:nth-child(4) {
  --burst-x: 28px;
  --burst-y: 25px;
  background: #f59e0b;
}
.stitch-wizard-burst-dots span:nth-child(5) {
  --burst-x: -35px;
  --burst-y: 5px;
  background: #ef4444;
}
.stitch-wizard-burst-dots span:nth-child(6) {
  --burst-x: 35px;
  --burst-y: -5px;
  background: #06b6d4;
}
.stitch-wizard-burst-dots span:nth-child(7) {
  --burst-x: 0px;
  --burst-y: -35px;
  background: #f97316;
}
.stitch-wizard-burst-dots span:nth-child(8) {
  --burst-x: 0px;
  --burst-y: 35px;
  background: #8b5cf6;
}

@keyframes burst {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--burst-x), var(--burst-y)) scale(0);
    opacity: 0;
  }
}
.stitch-wizard-success-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--stitch-text-main, #0d0d1c);
  text-align: center;
  margin-bottom: 16px;
}

.stitch-wizard-expert-form .stitch-wizard-field {
  margin-bottom: 14px;
}

.stitch-wizard-inline-ai-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #059669;
  cursor: pointer;
  transition: all 0.15s;
}
.stitch-wizard-inline-ai-btn .material-symbols-outlined {
  font-size: 14px;
}
.stitch-wizard-inline-ai-btn:hover {
  background: #d1fae5;
}
.stitch-wizard-inline-ai-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.stitch-wizard-expert-title-wrap {
  position: relative;
}
.stitch-wizard-expert-title-wrap input {
  padding-right: 110px;
}

.stitch-wizard-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 2px 8px;
  font-size: 11px;
  color: var(--stitch-muted, #666);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.15s;
}
.stitch-wizard-mode-toggle .material-symbols-outlined {
  font-size: 14px;
}
.stitch-wizard-mode-toggle:hover {
  background: #f3f4f6;
  color: var(--stitch-text-main, #0d0d1c);
}

@media (max-width: 480px) {
  .stitch-wizard-content {
    max-height: 92vh;
    border-radius: 12px;
  }

  .stitch-wizard-preview-card {
    flex-direction: column;
    align-items: stretch;
  }
  .stitch-wizard-preview-card .stitch-wizard-preview-score {
    align-self: flex-start;
  }

  .stitch-wizard-type-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .stitch-wizard-duplicate-actions {
    flex-direction: column;
  }
}
.entity-link {
  color: var(--stitch-primary, #0066FF);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.entity-link:hover {
  border-bottom-color: var(--stitch-primary, #0066FF);
}
.entity-link.entity-tag {
  display: inline-block;
  line-height: 1.3;
  padding: 0.05em 0.4em 0.15em;
  background: #e8f0fd;
  border: none;
  border-radius: 0.25em;
  vertical-align: baseline;
  font-size: inherit;
  font-weight: 500;
  color: #2c4a6e;
  text-decoration: none;
  border-bottom: none;
  transition: background 0.15s, color 0.15s;
}
.entity-link.entity-tag:hover {
  background: #d0e2fa;
  color: #1a365d;
}

.stitch-stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
  border: 1px solid var(--stitch-border, #e5e5e5);
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}
.stitch-stat-card:hover {
  border-color: rgba(13, 13, 242, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.stitch-stat-card.stitch-stat-highlight {
  background: var(--score-brilliant-bg);
  border: 1px solid var(--score-brilliant-outline);
}
.stitch-stat-card.stitch-stat-highlight .stitch-stat-value {
  color: var(--score-brilliant-text);
}
.stitch-stat-card.stitch-stat-highlight .stitch-stat-label {
  color: var(--score-brilliant-label);
}

.stitch-stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--stitch-text-main, #0d0d1c);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
  line-height: 1;
}

.stitch-stat-label {
  font-size: 13px;
  color: var(--stitch-muted, #666);
  font-weight: 500;
}

.stitch-profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) {
  .stitch-profile-grid {
    grid-template-columns: 1fr 340px;
  }
}

.stitch-profile-main {
  min-width: 0;
}

.stitch-profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 1023px) {
  .stitch-profile-sidebar {
    order: -1;
  }
}

.stitch-profile-tabs-full {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--stitch-border, #e5e5e5);
  overflow: hidden;
}

.stitch-profile-tabs-nav {
  display: flex;
  align-items: center;
  overflow-x: auto;
  border-bottom: 1px solid var(--stitch-border, #e5e5e5);
  background: #fafafa;
  scrollbar-width: none;
}
.stitch-profile-tabs-nav::-webkit-scrollbar {
  display: none;
}

.stitch-profile-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-text-secondary, #637381);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  line-height: 1;
}
.stitch-profile-tab .material-symbols-outlined {
  font-size: 16px;
  line-height: 1;
  vertical-align: middle;
  display: flex;
  align-items: center;
}
.stitch-profile-tab .tab-count {
  font-weight: 700;
  color: var(--stitch-text-main, #0d0d1c);
  font-size: 14px;
}
.stitch-profile-tab .tab-count-inline {
  font-size: 11px;
  background: #f3f4f6;
  padding: 1px 6px;
  border-radius: 10px;
  color: #6b7280;
}
.stitch-profile-tab:hover {
  color: var(--stitch-text-main, #0d0d1c);
  background: rgba(0, 0, 0, 0.02);
}
.stitch-profile-tab.active {
  color: var(--stitch-primary, #0066FF);
  border-bottom-color: var(--stitch-primary, #0066FF);
}
.stitch-profile-tab.active .tab-count {
  color: var(--stitch-primary, #0066FF);
}
.stitch-profile-tab--add {
  color: #047857;
  font-weight: 600;
  font-size: 12px;
}
.stitch-profile-tab--add:hover {
  background: rgba(4, 120, 87, 0.05);
}
.stitch-profile-tab--add .material-symbols-outlined {
  font-size: 18px;
}

.stitch-profile-tab-content {
  padding: 24px;
  overflow: hidden;
}

.stitch-profile-interests {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  align-items: center;
}

.stitch-interest-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: white;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s;
}
.stitch-interest-refresh .material-symbols-outlined {
  font-size: 14px;
  width: 14px;
  height: 14px;
}
.stitch-interest-refresh:hover {
  color: var(--stitch-primary);
  border-color: var(--stitch-primary);
}

.stitch-items-grid-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
@media (max-width: 768px) {
  .stitch-items-grid-compact {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .stitch-items-grid-compact {
    grid-template-columns: 1fr;
  }
}

.stitch-item-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.1s;
  min-width: 0;
}
.stitch-item-mini:hover {
  background: #f9fafb;
}
.stitch-item-mini img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.stitch-item-mini-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #9ca3af;
  flex-shrink: 0;
}

.stitch-item-mini-info {
  flex: 1;
  min-width: 0;
}

.stitch-item-mini-title {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-text-main, #0d0d1c);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stitch-item-mini-tag {
  font-size: 11px;
  color: var(--stitch-text-secondary, #637381);
}

.stitch-item-mini-score {
  font-size: 14px;
  font-weight: 700;
  color: #047857;
  flex-shrink: 0;
}

.stitch-empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--stitch-text-secondary, #637381);
}
.stitch-empty-state .material-symbols-outlined {
  font-size: 48px;
  color: #d1d5db;
  margin-bottom: 12px;
}
.stitch-empty-state p {
  margin: 0;
  font-size: 14px;
}

.stitch-tabs {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--stitch-border, #e5e5e5);
  overflow: hidden;
}

.stitch-tabs-nav {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--stitch-border, #e5e5e5);
  background: #fafafa;
  scrollbar-width: none;
}
.stitch-tabs-nav::-webkit-scrollbar {
  display: none;
}

.stitch-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--stitch-muted, #666);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.stitch-tab .material-symbols-outlined {
  font-size: 20px;
}
.stitch-tab:hover {
  color: var(--stitch-text-main, #0d0d1c);
}
.stitch-tab.active {
  color: var(--stitch-primary);
  border-bottom-color: var(--stitch-primary);
  background: #fff;
}

.stitch-tab-content {
  padding: 24px;
}
@media (min-width: 768px) {
  .stitch-tab-content {
    padding: 32px;
  }
}

.stitch-sidebar-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--stitch-border, #e5e5e5);
}

.stitch-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.stitch-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.stitch-btn-update-interests {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 16px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--stitch-primary, #0066FF) 0%, #4f46e5 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.stitch-btn-update-interests .material-symbols-outlined {
  font-size: 18px;
}
.stitch-btn-update-interests:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.35);
  background: linear-gradient(135deg, #0052cc 0%, #4338ca 100%);
}
.stitch-btn-update-interests:disabled {
  opacity: 0.7;
  cursor: wait;
}

.stitch-empty-interests {
  font-size: 13px;
  color: var(--stitch-muted, #637381);
  margin: 0;
  font-style: italic;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.stitch-about-text {
  color: var(--stitch-muted, #666);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.stitch-details-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stitch-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}
.stitch-detail-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.stitch-detail-label {
  font-size: 13px;
  color: var(--stitch-muted, #666);
}

.stitch-detail-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--stitch-text-main, #0d0d1c);
}

.stitch-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stitch-interest-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: #f3f4f6;
  color: var(--stitch-text-main, #0d0d1c);
  font-size: 13px;
  font-weight: 500;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.stitch-interest-tag:hover {
  background: var(--stitch-primary);
  color: #fff;
}

.stitch-activity-mini {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stitch-activity-mini-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #f9fafb;
  border-radius: 8px;
}
.stitch-activity-mini-item .material-symbols-outlined {
  font-size: 18px;
  color: var(--stitch-primary);
  flex-shrink: 0;
}

.stitch-activity-mini-content {
  flex: 1;
  min-width: 0;
  font-size: 13px;
}
.stitch-activity-mini-content span {
  color: var(--stitch-muted, #666);
}
.stitch-activity-mini-content a {
  display: block;
  color: var(--stitch-text-main, #0d0d1c);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}
.stitch-activity-mini-content a:hover {
  color: var(--stitch-primary);
}

.stitch-activity-mini-time {
  font-size: 12px;
  color: #9ca3af;
  flex-shrink: 0;
}

.stitch-tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.stitch-tab-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--stitch-text-main, #0d0d1c);
  margin: 0;
}

.stitch-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}
.stitch-empty-state .material-symbols-outlined {
  font-size: 48px;
  color: #d1d5db;
  margin-bottom: 24px;
}
.stitch-empty-state p {
  font-size: 16px;
  font-weight: 500;
  color: #d1d5db;
  margin: 0 0 16px 0;
}

.stitch-lists-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stitch-list-card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px;
  transition: background 0.2s;
}
.stitch-list-card:hover {
  background: #f3f4f6;
}
.stitch-list-card.stitch-list-card-private {
  border: 1px dashed #d1d5db;
}

.stitch-list-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.stitch-list-card-header .stitch-list-card-image {
  width: 48px;
  height: 48px;
  aspect-ratio: auto;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--stitch-border, #e5e7eb);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stitch-list-card-header .stitch-list-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.stitch-list-card-header .stitch-list-card-image .material-symbols-outlined {
  font-size: 20px;
  color: var(--stitch-muted, #666);
}

.stitch-list-card-info {
  flex: 1;
  min-width: 0;
}

.stitch-list-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  text-decoration: none;
}
.stitch-list-card-title:hover {
  color: var(--stitch-primary);
}

.stitch-private-icon {
  font-size: 16px;
  color: #9ca3af;
}

.stitch-list-card-count {
  display: block;
  font-size: 13px;
  color: var(--stitch-muted, #666);
  margin-top: 4px;
}

.stitch-list-card-actions {
  display: flex;
  gap: 8px;
}

.stitch-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--stitch-border, #e5e5e5);
  color: var(--stitch-muted, #666);
  text-decoration: none;
  transition: all 0.2s;
  padding: 0;
  position: relative;
}
.stitch-btn-icon .material-symbols-outlined {
  font-size: 18px !important;
  line-height: 18px !important;
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.stitch-btn-icon:hover {
  background: #f3f4f6;
  color: var(--stitch-text-main, #0d0d1c);
}
.stitch-btn-icon.stitch-btn-icon-primary {
  background: var(--stitch-primary);
  border-color: var(--stitch-primary);
  color: #fff;
}
.stitch-btn-icon.stitch-btn-icon-primary:hover {
  background: #0a0ac7;
}

.stitch-list-items-preview {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.stitch-list-items-preview::-webkit-scrollbar {
  display: none;
}

.stitch-list-item-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stitch-list-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stitch-list-item-thumb .material-symbols-outlined {
  font-size: 20px;
  color: #9ca3af;
}

.stitch-list-more {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--stitch-muted, #666);
  text-decoration: none;
  flex-shrink: 0;
}
.stitch-list-more:hover {
  background: #d1d5db;
}

.stitch-lists-compact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stitch-list-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: var(--stitch-bg-card, #fff);
  border: 1px solid var(--stitch-border, #e5e7eb);
  border-radius: 10px;
  transition: border-color 0.15s;
}
.stitch-list-row:hover {
  border-color: #c4c8cc;
}

.stitch-list-row-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 160px;
}

.stitch-list-row-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  text-decoration: none;
  white-space: nowrap;
}
.stitch-list-row-title:hover {
  color: var(--stitch-primary, #0066FF);
}

.stitch-list-row-count {
  font-size: 12px;
  color: var(--stitch-muted, #666);
  white-space: nowrap;
  margin-left: 4px;
}

.stitch-list-row-actions {
  display: flex;
  gap: 4px;
  margin-left: 8px;
}

.stitch-list-row-thumbs {
  display: flex;
  gap: 6px;
  align-items: center;
  overflow: hidden;
  flex: 1;
  justify-content: flex-end;
}

.stitch-list-row-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.stitch-list-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stitch-list-row-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-muted, #666);
}

.stitch-list-row-more {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--stitch-muted, #666);
  text-decoration: none;
  flex-shrink: 0;
}
.stitch-list-row-more:hover {
  background: #e5e7eb;
}

@media (max-width: 640px) {
  .stitch-list-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .stitch-list-row-thumbs {
    justify-content: flex-start;
  }
}
.stitch-recent-section {
  margin-bottom: 48px;
}
.stitch-recent-section:last-child {
  margin-bottom: 0;
}

.stitch-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  margin: 0 0 26px 0;
}

.stitch-recent-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 480px) {
  .stitch-recent-items-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 640px) {
  .stitch-recent-items-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 900px) {
  .stitch-recent-items-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.stitch-recent-item-card {
  display: flex;
  flex-direction: column;
  background: #f9fafb;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  border: 1px solid var(--stitch-border, #e5e7eb);
}
.stitch-recent-item-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-color: #d0d0d8;
}

.stitch-recent-item-image {
  width: 100%;
  aspect-ratio: 1/1;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stitch-recent-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stitch-recent-item-image .material-symbols-outlined {
  font-size: 24px;
  color: #9ca3af;
}

.stitch-recent-item-info {
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  min-height: 48px;
}

.stitch-recent-item-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--stitch-text-main, #0d0d1c);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.stitch-recent-item-score {
  font-size: 12px;
  font-weight: 700;
  color: #10b981;
  background: #ecfdf5;
  padding: 2px 6px;
  border-radius: 4px;
}

.stitch-recent-lists-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 480px) {
  .stitch-recent-lists-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 640px) {
  .stitch-recent-lists-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 900px) {
  .stitch-recent-lists-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.stitch-recent-list-card {
  display: flex;
  flex-direction: column;
  background: #f9fafb;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  border: 1px solid var(--stitch-border, #e5e7eb);
}
.stitch-recent-list-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-color: #d0d0d8;
}

.stitch-recent-list-preview {
  position: relative;
  height: 140px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.stitch-recent-list-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stitch-recent-list-preview .material-symbols-outlined {
  font-size: 24px;
  color: #9ca3af;
}

.stitch-recent-list-overlay {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
}

.stitch-recent-list-info {
  padding: 8px;
  text-align: center;
  min-height: 48px;
}

.stitch-recent-list-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  color: var(--stitch-text-main, #0d0d1c);
  line-height: 1.3;
  word-break: break-word;
}

.stitch-recent-list-meta {
  display: block;
  font-size: 10px;
  color: var(--stitch-muted, #666);
  margin-top: 2px;
}

.stitch-reviews-count-header {
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-muted, #666);
  margin-bottom: 12px;
}

.stitch-reviews-tab .stitch-reviews-list {
  gap: 8px;
}

.stitch-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stitch-review-card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px;
}
.stitch-review-card.stitch-review-card-compact {
  padding: 10px 14px;
}

.stitch-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.stitch-review-score-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.stitch-review-item-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}

.stitch-review-item-image {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stitch-review-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stitch-review-item-image .material-symbols-outlined {
  font-size: 20px;
  color: #9ca3af;
}

.stitch-review-item-info {
  flex: 1;
  min-width: 0;
}

.stitch-review-item-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stitch-review-item-link:hover .stitch-review-item-title {
  color: var(--stitch-primary);
}

.stitch-review-date {
  display: block;
  font-size: 12px;
  color: var(--stitch-muted, #666);
  margin-top: 2px;
}

.stitch-review-excerpt {
  display: block;
  font-size: 12px;
  color: var(--stitch-muted, #666);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-style: italic;
}

.stitch-review-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  flex-shrink: 0;
}
.stitch-review-rating.brilliant {
  background: var(--score-brilliant-bg);
  border: 1px solid var(--score-brilliant-outline);
}
.stitch-review-rating.brilliant .stitch-review-score {
  color: var(--score-brilliant-text);
}
.stitch-review-rating.excellent {
  background: var(--score-excellent-bg);
}
.stitch-review-rating.excellent .stitch-review-score {
  color: var(--score-excellent-text);
}
.stitch-review-rating.very-good {
  background: var(--score-very-good-bg);
}
.stitch-review-rating.very-good .stitch-review-score {
  color: var(--score-very-good-text);
}
.stitch-review-rating.good {
  background: var(--score-good-bg);
}
.stitch-review-rating.good .stitch-review-score {
  color: var(--score-good-text);
}
.stitch-review-rating.fair {
  background: var(--score-fair-bg);
}
.stitch-review-rating.fair .stitch-review-score {
  color: var(--score-fair-text);
}
.stitch-review-rating.average {
  background: var(--score-average-bg);
}
.stitch-review-rating.average .stitch-review-score {
  color: var(--score-average-text);
}
.stitch-review-rating.poor {
  background: var(--score-poor-bg);
}
.stitch-review-rating.poor .stitch-review-score {
  color: var(--score-poor-text);
}

.stitch-review-score {
  font-size: 14px;
  font-weight: 700;
}

.stitch-review-text {
  margin: 12px 0 0 0;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--stitch-text-secondary, #637381);
  font-style: italic;
  background: #f9fafb;
  border-left: 3px solid #e5e7eb;
  border-radius: 0 8px 8px 0;
}
.stitch-review-text::before {
  content: '"';
  font-size: 20px;
  font-weight: 700;
  color: #d1d5db;
  margin-right: 4px;
}
.stitch-review-text::after {
  content: '"';
  font-size: 20px;
  font-weight: 700;
  color: #d1d5db;
  margin-left: 4px;
}

.stitch-friends-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 480px) {
  .stitch-friends-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) {
  .stitch-friends-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stitch-friend-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: #f9fafb;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s;
}
.stitch-friend-card:hover {
  background: #f3f4f6;
}

.stitch-friend-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 12px;
}
.stitch-friend-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stitch-friend-info {
  text-align: center;
}

.stitch-friend-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
}

.stitch-friend-level {
  display: block;
  font-size: 12px;
  color: var(--stitch-muted, #666);
  margin-top: 2px;
}

.stitch-item-card {
  gap: 10px;
}

.stitch-item-main-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.stitch-item-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 8px;
}

.stitch-logo-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  transform: scale(1.1);
}

.stitch-logo-placeholder {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.stitch-item-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.stitch-item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--stitch-text-main);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
@media (min-width: 1024px) {
  .stitch-item-title {
    font-size: 17px;
  }
}
.stitch-item-title:hover {
  color: var(--stitch-primary);
}

.stitch-item-star {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.stitch-item-star .btn-add-to-list {
  width: auto !important;
  height: auto !important;
  min-width: auto !important;
  padding: 4px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
}
.stitch-item-star .btn-add-to-list .material-symbols-outlined {
  font-size: 18px !important;
  width: 18px !important;
  height: 18px !important;
  color: #9ca3af;
  transition: color 0.2s ease;
}
.stitch-item-star .btn-add-to-list:hover .material-symbols-outlined {
  color: #f59e0b;
}
.stitch-item-star .btn-add-to-list.btn-add-to-list--active .material-symbols-outlined {
  color: #f59e0b;
}

.stitch-score-wrapper {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stitch-score-block {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  min-width: 56px;
}
.stitch-score-block.brilliant {
  background: var(--score-brilliant-bg);
  border: 1px solid var(--score-brilliant-outline);
}
.stitch-score-block.brilliant .stitch-score-number {
  color: var(--score-brilliant-text);
}
.stitch-score-block.excellent {
  background: var(--score-excellent-bg);
}
.stitch-score-block.excellent .stitch-score-number {
  color: var(--score-excellent-text);
}
.stitch-score-block.very-good {
  background: var(--score-very-good-bg);
}
.stitch-score-block.very-good .stitch-score-number {
  color: var(--score-very-good-text);
}
.stitch-score-block.good {
  background: var(--score-good-bg);
}
.stitch-score-block.good .stitch-score-number {
  color: var(--score-good-text);
}
.stitch-score-block.fair {
  background: var(--score-fair-bg);
}
.stitch-score-block.fair .stitch-score-number {
  color: var(--score-fair-text);
}
.stitch-score-block.average {
  background: var(--score-average-bg);
}
.stitch-score-block.average .stitch-score-number {
  color: var(--score-average-text);
}
.stitch-score-block.poor {
  background: var(--score-poor-bg);
}
.stitch-score-block.poor .stitch-score-number {
  color: var(--score-poor-text);
}

.stitch-score-number {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stitch-score-label {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.stitch-score-label.brilliant {
  color: var(--score-brilliant-label);
}
.stitch-score-label.excellent {
  color: var(--score-excellent-label);
}
.stitch-score-label.very-good {
  color: var(--score-very-good-label);
}
.stitch-score-label.good {
  color: var(--score-good-label);
}
.stitch-score-label.fair {
  color: var(--score-fair-label);
}
.stitch-score-label.average {
  color: var(--score-average-label);
}
.stitch-score-label.poor {
  color: var(--score-poor-label);
}

.stitch-user-score-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.stitch-user-score-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.stitch-user-score-meta .stitch-reviews-stars {
  display: flex;
  gap: 1px;
  line-height: 1;
  margin: 0;
}
.stitch-user-score-meta .stitch-reviews-stars .stitch-star {
  font-size: 14px;
  color: #e5e7eb;
  line-height: 1;
}
.stitch-user-score-meta .stitch-reviews-stars .stitch-star.filled {
  color: #d97706;
}
.stitch-user-score-meta .stitch-reviews-stars .stitch-star.partial {
  background: linear-gradient(90deg, #d97706 var(--fill, 50%), #e5e7eb var(--fill, 50%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stitch-user-score-meta .stitch-reviews-count {
  font-size: 11px;
  color: #6b7280;
  line-height: 1;
  margin-top: 2px;
}

.stitch-user-score-wrapper .stitch-score-number {
  font-weight: 900;
}

.stitch-review-score-wrapper {
  flex-direction: row;
  gap: 8px;
  margin: 8px 0 12px;
}

.stitch-item-secondary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 84px;
  padding-right: 96px;
  margin: 0;
}
@media (max-width: 767px) {
  .stitch-item-secondary {
    padding-left: 0;
    padding-right: 0;
  }
}

.stitch-item-desc {
  font-size: 13px;
  color: var(--stitch-text-secondary);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stitch-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.score-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: 10px;
  width: 80px;
}
.score-pill .score-number {
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}
@media (max-width: 480px) {
  .score-pill .score-number {
    font-size: 16px;
  }
}
.score-pill .score-label {
  font-size: 10px;
  font-weight: 500;
  margin-top: 2px;
}
@media (max-width: 480px) {
  .score-pill .score-label {
    font-size: 9px;
  }
}
.score-pill.brilliant {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  border: 1px solid var(--score-brilliant-outline);
}
.score-pill.brilliant .score-number {
  color: var(--score-brilliant-text);
}
.score-pill.brilliant .score-label {
  color: var(--score-brilliant-label);
}
.score-pill.excellent {
  background: var(--score-excellent-bg);
}
.score-pill.excellent .score-number {
  color: var(--score-excellent-text);
}
.score-pill.excellent .score-label {
  color: var(--score-excellent-label);
}
.score-pill.very-good {
  background: var(--score-very-good-bg);
}
.score-pill.very-good .score-number {
  color: var(--score-very-good-text);
}
.score-pill.very-good .score-label {
  color: var(--score-very-good-label);
}
.score-pill.good {
  background: var(--score-good-bg);
}
.score-pill.good .score-number {
  color: var(--score-good-text);
}
.score-pill.good .score-label {
  color: var(--score-good-label);
}
.score-pill.fair {
  background: var(--score-fair-bg);
}
.score-pill.fair .score-number {
  color: var(--score-fair-text);
}
.score-pill.fair .score-label {
  color: var(--score-fair-label);
}
.score-pill.average {
  background: var(--score-average-bg);
}
.score-pill.average .score-number {
  color: var(--score-average-text);
}
.score-pill.average .score-label {
  color: var(--score-average-label);
}
.score-pill.poor {
  background: var(--score-poor-bg);
}
.score-pill.poor .score-number {
  color: var(--score-poor-text);
}
.score-pill.poor .score-label {
  color: var(--score-poor-label);
}

.image-with-corner-rank {
  position: relative;
  flex-shrink: 0;
}

.corner-rank {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 20px;
  height: 20px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 10px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.corner-rank.rank-1 {
  width: 26px;
  height: 26px;
  font-size: 13px;
  font-weight: 700;
  background: #f59e0b;
  color: white;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
}
.corner-rank.rank-2 {
  width: 24px;
  height: 24px;
  font-size: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  box-shadow: 0 1px 3px rgba(217, 119, 6, 0.2);
}
.corner-rank.rank-3 {
  width: 22px;
  height: 22px;
  font-size: 11px;
  font-weight: 600;
  background: #dcfce7;
  color: #059669;
}

.top-pick-badge {
  position: absolute;
  top: -12px;
  right: 8px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(217, 119, 6, 0.3);
}

.stitch-item-card.top-pick {
  border: 2px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #fff9e6 50%, white 100%);
}

.item-key-spec {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.item-key-spec .material-symbols-outlined {
  font-size: 14px;
  color: #9ca3af;
}
.item-key-spec strong {
  color: #374151;
  font-weight: 600;
}

.tag.best-for {
  background: #dbeafe;
  color: #1d4ed8;
}

.score-pill.score-pill-sm {
  padding: 6px 10px;
  border-radius: 8px;
}
.score-pill.score-pill-sm .score-number {
  font-size: 14px;
}
.score-pill.score-pill-sm .score-label {
  font-size: 9px;
}

.stitch-layout-with-sidebar {
  display: flex;
  gap: 6px;
  max-width: 1080px;
  margin: 0 auto;
}
.stitch-layout-with-sidebar .stitch-main {
  flex: 1;
  min-width: 0;
}
@media (max-width: 1024px) {
  .stitch-layout-with-sidebar .stitch-sidebar {
    display: none;
  }
}

.stitch-sidebar {
  width: 280px;
  flex-shrink: 0;
  padding-top: 12px;
  padding-bottom: 48px;
}

.sidebar-section {
  background: white;
  border: 1px solid var(--stitch-border, #e5e7eb);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.sidebar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  margin: 0 0 12px 0;
  padding-left: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sidebar-title .material-symbols-outlined {
  font-size: 18px;
  color: var(--stitch-primary, #0066FF);
}

.sidebar-best-links {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sidebar-best-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--stitch-text-main, #0d0d1c);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
}
.sidebar-best-link .material-symbols-outlined {
  font-size: 16px;
  line-height: 1;
  color: #0066FF;
}
.sidebar-best-link:hover {
  background: rgba(0, 102, 255, 0.05);
  color: #0066FF;
}

.sidebar-categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.sidebar-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  border-radius: 6px;
  color: var(--stitch-text-secondary, #637381);
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  transition: all 0.15s ease;
}
.sidebar-category-chip .material-symbols-outlined {
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
}
.sidebar-category-chip:hover {
  background: #f3f4f6;
  color: var(--stitch-text-main, #0d0d1c);
}

.sidebar-trending {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-trending-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.sidebar-trending-item:hover {
  background: #f3f4f6;
}
.sidebar-trending-item .trending-rank {
  width: 20px;
  height: 20px;
  background: #f3f4f6;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--stitch-text-secondary, #637381);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sidebar-trending-item .trending-thumb,
.sidebar-trending-item .trending-thumb-placeholder {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  flex-shrink: 0;
}
.sidebar-trending-item .trending-thumb {
  object-fit: contain;
  border: 1px solid var(--stitch-border, #e5e7eb);
  background: #f8fafc;
}
.sidebar-trending-item .trending-thumb-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--stitch-text-secondary, #637381);
  background: #f3f4f6;
  border: 1px solid var(--stitch-border, #e5e7eb);
}
.sidebar-trending-item .trending-name {
  font-size: 13px;
  color: var(--stitch-text-main, #0d0d1c);
  line-height: 1.3;
  min-width: 0;
}

.sidebar-recent {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-recent-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.sidebar-recent-item:hover {
  background: #f3f4f6;
}
.sidebar-recent-item .recent-thumb {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--stitch-border, #e5e7eb);
}
.sidebar-recent-item .recent-thumb-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--stitch-bg, #f8fafc);
  border: 1px solid var(--stitch-border, #e5e7eb);
  font-size: 11px;
  font-weight: 600;
  color: var(--stitch-muted, #637381);
}
.sidebar-recent-item .recent-name {
  flex: 1;
  font-size: 13px;
  color: var(--stitch-text-main, #0d0d1c);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-recent-item .recent-score {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  color: #047857;
  background: #d1fae5;
}
.sidebar-recent-item .recent-score.brilliant {
  background: var(--score-brilliant-bg);
  color: var(--score-brilliant-text);
  border: 1px solid var(--score-brilliant-outline);
}
.sidebar-recent-item .recent-score.excellent {
  background: var(--score-excellent-bg);
  color: var(--score-excellent-text);
}
.sidebar-recent-item .recent-score.very-good {
  background: var(--score-very-good-bg);
  color: var(--score-very-good-text);
}
.sidebar-recent-item .recent-score.good {
  background: var(--score-good-bg);
  color: var(--score-good-text);
}
.sidebar-recent-item .recent-score.fair {
  background: var(--score-fair-bg);
  color: var(--score-fair-text);
}
.sidebar-recent-item .recent-score.average {
  background: var(--score-average-bg);
  color: var(--score-average-text);
}
.sidebar-recent-item .recent-score.poor {
  background: var(--score-poor-bg);
  color: var(--score-poor-text);
}

.sidebar-newsletter {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-color: #bae6fd;
}

.sidebar-newsletter-text {
  font-size: 13px;
  color: var(--stitch-text-secondary, #637381);
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.sidebar-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
}
.sidebar-input:focus {
  outline: none;
  border-color: var(--stitch-primary, #0066FF);
  box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.1);
}

.sidebar-btn {
  padding: 8px 16px;
  background: var(--stitch-primary, #0066FF);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}
.sidebar-btn:hover {
  background: #0052cc;
}

.item-card {
  display: flex !important;
  flex-direction: row !important;
  background: white;
  border: 1px solid var(--stitch-border, #e5e7eb);
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.2s ease;
  gap: 16px;
  align-items: center;
  position: relative;
}
.item-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.item-card.top-pick {
  border: 2px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #fff9e6 50%, white 100%);
}

.item-image {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 480px) {
  .item-image {
    width: 56px;
    height: 56px;
  }
}
.item-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

.item-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.item-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.item-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  margin-bottom: 2px;
  display: block;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.item-title:hover {
  color: var(--stitch-primary, #0066FF);
}

.item-best-for {
  font-size: 11px;
  color: var(--stitch-text-secondary, #637381);
  margin: 0 0 4px;
  line-height: 1.3;
  font-style: italic;
}

.item-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.item-pricing-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 600;
  background: #f0f4ff;
  color: #0066FF;
  border-radius: 4px;
  line-height: 1.4;
}
.item-pricing-badge.item-pricing-free {
  background: #ecfdf5;
  color: #16a34a;
}

.item-description {
  font-size: 12px;
  color: var(--stitch-text-secondary, #637381);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
  line-height: 1.4;
}

.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tag {
  font-size: 10px;
  font-weight: 500;
  background: #f3f4f6;
  color: var(--stitch-text-secondary, #637381);
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  border: none !important;
}
.tag:hover {
  background: #e0e7ff;
  color: #4338ca;
}
.tag.tag-primary {
  background: #fff5eb;
  border: 1px solid #fde5d0 !important;
  color: #9a5c27;
  font-weight: 600;
}
.tag.tag-primary:hover {
  background: #fde5d0;
  color: #7a4619;
}
.tag.best-for {
  background: #dbeafe;
  color: #1d4ed8;
}

.score-star-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.star-btn-wrapper {
  flex-shrink: 0;
}
.star-btn-wrapper .btn-add-to-list {
  width: 32px;
  height: 24px;
  border: none !important;
  background: transparent !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 4px;
  transition: none !important;
}
.star-btn-wrapper .btn-add-to-list .add-to-list-star {
  font-size: 20px;
  color: #d1d5db;
  transition: color 0.15s ease;
}
.star-btn-wrapper .btn-add-to-list:hover {
  background: transparent !important;
  border: none !important;
}
.star-btn-wrapper .btn-add-to-list:hover .add-to-list-star {
  color: #f59e0b;
}
.star-btn-wrapper .btn-add-to-list.btn-add-to-list--active .add-to-list-star {
  color: #f59e0b;
}
.star-btn-wrapper .btn-add-to-list .add-to-list-text {
  display: none !important;
}

.item-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: var(--stitch-primary, #0066FF);
  background: transparent;
  border: 1px solid var(--stitch-primary, #0066FF);
  border-radius: 5px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s;
}
.item-cta-btn:hover {
  background: var(--stitch-primary, #0066FF);
  color: white;
  text-decoration: none;
}

@media (max-width: 640px) {
  .item-cta-btn {
    padding: 3px 8px;
    font-size: 10px;
  }
}
.item-rank {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  background: #f3f4f6;
  color: var(--stitch-text-secondary, #637381);
  flex-shrink: 0;
}
.item-rank.top-3 {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
}

.item-card.top-pick .item-rank {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

@media (max-width: 640px) {
  .item-card {
    padding: 10px 12px;
    gap: 10px;
    border-radius: 10px;
  }
  .item-card.top-pick {
    border-width: 2px;
  }

  .item-rank {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .item-image {
    width: 52px;
    height: 52px;
    border-radius: 8px;
  }

  .item-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 3px;
  }

  .item-description {
    display: none;
  }

  .item-tags {
    gap: 4px;
    flex-wrap: nowrap;
    overflow: hidden;
  }
  .item-tags .tag {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
  }

  .score-pill {
    padding: 8px 12px;
    border-radius: 8px;
  }
  .score-pill .score-number {
    font-size: 15px;
    font-weight: 700;
  }
  .score-pill .score-label {
    font-size: 11px;
    font-weight: 500;
  }

  .star-btn-wrapper .star-btn {
    padding: 4px;
  }
  .star-btn-wrapper .star-btn .material-symbols-outlined {
    font-size: 18px;
  }

  .score-star-group {
    gap: 1px;
  }
}
.score-progress {
  display: inline-flex;
  align-items: center;
}

.score-generating {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: linear-gradient(90deg, #f0f0ff 0%, #e8e8ff 50%, #f0f0ff 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 8px;
  font-size: 13px;
  color: var(--stitch-primary);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.score-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-top-color: var(--stitch-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.score-complete {
  display: flex;
  align-items: center;
  gap: 6px;
}

.score-confidence {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
}
.score-confidence.high {
  background: #d1fae5;
  color: #047857;
}
.score-confidence.medium {
  background: #fef3c7;
  color: #b45309;
}
.score-confidence.low {
  background: #fee2e2;
  color: #dc2626;
}

.score-failed {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #dc2626;
  font-size: 13px;
}
.score-failed .material-symbols-outlined {
  font-size: 16px;
}

.score-pending {
  font-size: 13px;
  color: var(--stitch-text-secondary);
  font-style: italic;
}

.stitch-header-home {
  border-bottom-color: transparent;
  box-shadow: none;
}

.stitch-header-symmetric .stitch-header-inner {
  padding: 16px 24px;
}
@media (min-width: 1024px) {
  .stitch-header-symmetric .stitch-header-inner {
    padding: 20px 40px;
  }
}

@keyframes stitch-hero-float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}
.stitch-hero-home {
  position: relative;
  padding: 80px 24px 60px;
  text-align: center;
  background: #ffffff;
  overflow: hidden;
}
@media (min-width: 768px) {
  .stitch-hero-home {
    padding: 100px 40px 80px;
  }
}

.stitch-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.stitch-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23302bce' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stitch-hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(48, 43, 206, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0.6;
}

.stitch-hero-float {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: stitch-hero-float 6s ease-in-out infinite;
}

.stitch-hero-float-1 {
  top: 20%;
  left: 10%;
  width: 200px;
  height: 200px;
  background: rgba(147, 197, 253, 0.5);
}
@media (min-width: 768px) {
  .stitch-hero-float-1 {
    width: 256px;
    height: 256px;
  }
}

.stitch-hero-float-2 {
  bottom: 20%;
  right: 10%;
  width: 280px;
  height: 280px;
  background: rgba(199, 210, 254, 0.5);
  animation-delay: 2s;
}
@media (min-width: 768px) {
  .stitch-hero-float-2 {
    width: 384px;
    height: 384px;
  }
}

.stitch-hero-container {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stitch-hero-headline {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--stitch-text-main);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  text-align: center;
  word-break: break-word;
}
@media (min-width: 480px) {
  .stitch-hero-headline {
    font-size: 40px;
  }
}
@media (min-width: 640px) {
  .stitch-hero-headline {
    font-size: 56px;
  }
}
@media (min-width: 768px) {
  .stitch-hero-headline {
    font-size: 72px;
  }
}

.stitch-hero-gradient-text {
  background: linear-gradient(to right, #302bce, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stitch-hero-home .stitch-hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #6b7280;
  font-weight: 300;
  margin: 0 0 40px;
  max-width: 560px;
  text-align: center;
}
@media (min-width: 768px) {
  .stitch-hero-home .stitch-hero-subtitle {
    font-size: 18px;
    margin-bottom: 48px;
  }
}

.stitch-hero-search {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto 32px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .stitch-hero-search {
    margin-bottom: 40px;
  }
}

.stitch-hero-search-glow {
  position: absolute;
  inset: -4px;
  background: linear-gradient(to right, #302bce, #818cf8);
  border-radius: 9999px;
  opacity: 0.2;
  filter: blur(8px);
  transition: opacity 0.5s ease;
}

.stitch-hero-search:hover .stitch-hero-search-glow,
.stitch-hero-search:focus-within .stitch-hero-search-glow {
  opacity: 0.4;
}

.stitch-hero-search-form {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 9999px;
  box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.1), 0 8px 10px -6px rgba(99, 102, 241, 0.1);
  padding: 8px;
  transition: all 0.2s ease;
}

.stitch-hero-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 16px;
  color: #9ca3af;
}
.stitch-hero-search-icon .material-symbols-outlined {
  font-size: 24px;
  width: 24px;
  height: 24px;
}

.stitch-hero-search-input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  font-size: 16px !important;
  color: var(--stitch-text-main) !important;
  padding: 12px 16px !important;
  height: auto !important;
}
.stitch-hero-search-input::placeholder {
  color: #9ca3af !important;
}
@media (min-width: 768px) {
  .stitch-hero-search-input {
    font-size: 18px !important;
  }
}

.stitch-hero-search-btn {
  flex-shrink: 0;
  background: #302bce;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(48, 43, 206, 0.3);
  transition: all 0.2s ease;
}
@media (min-width: 640px) {
  .stitch-hero-search-btn {
    padding: 12px 32px;
  }
}
.stitch-hero-search-btn:hover {
  background: #1d4ed8;
}
.stitch-hero-search-btn:active {
  transform: scale(0.95);
}
@media (min-width: 768px) {
  .stitch-hero-search-btn {
    font-size: 16px;
  }
}

.stitch-hero-autocomplete {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
  z-index: 9999;
  overflow: hidden;
  max-height: 360px;
  overflow-y: auto;
  text-align: left;
}

.stitch-hero-autocomplete-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 15px;
  color: var(--stitch-text-main);
  cursor: pointer;
  transition: background 0.1s ease;
  border-bottom: 1px solid #f5f5f5;
}
.stitch-hero-autocomplete-item:last-child {
  border-bottom: none;
}
.stitch-hero-autocomplete-item:hover, .stitch-hero-autocomplete-item.active {
  background: #f8f9fa;
}

.stitch-hero-autocomplete-thumb {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
  background: #f8f9fa;
}

.stitch-hero-autocomplete-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--stitch-text-secondary);
  flex-shrink: 0;
}

.stitch-hero-autocomplete-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stitch-hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.stitch-hero-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
@media (min-width: 640px) {
  .stitch-hero-filters {
    gap: 12px;
  }
}

.stitch-hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.stitch-hero-pill:hover {
  border-color: #302bce;
  color: #302bce;
  transform: translateY(-2px);
}
.stitch-hero-pill.active {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
@media (min-width: 640px) {
  .stitch-hero-pill {
    padding: 10px 24px;
    font-size: 14px;
  }
}

.stitch-section-header-lined {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .stitch-section-header-lined {
    margin-bottom: 40px;
  }
}

.stitch-section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #e5e5e5 20%, #e5e5e5 80%, transparent 100%);
}

.stitch-section-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stitch-text-secondary);
  white-space: nowrap;
  margin: 0;
}
@media (min-width: 768px) {
  .stitch-section-title {
    font-size: 15px;
  }
}

.stitch-social-proof {
  padding: 14px 24px;
  background: #f0f0ff;
  border-bottom: 1px solid #e0e0f0;
  text-align: center;
}

.stitch-social-proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #4b5563;
}
@media (max-width: 480px) {
  .stitch-social-proof-inner {
    font-size: 12px;
    gap: 8px;
  }
}

.stitch-proof-stat strong {
  color: #0d0d1c;
  font-weight: 800;
}

.stitch-proof-dot {
  color: #c4b5fd;
  font-size: 18px;
}

.stitch-value-props {
  padding: 40px 24px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.stitch-value-props-container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 640px) {
  .stitch-value-props-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.stitch-value-prop {
  text-align: center;
}
.stitch-value-prop h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0d0d1c;
  margin: 8px 0 4px;
}
.stitch-value-prop p {
  font-size: 13px;
  color: #637381;
  line-height: 1.5;
}

.stitch-value-icon {
  font-size: 28px;
  color: var(--stitch-primary, #0066FF);
}

.stitch-cta-section {
  padding: 56px 24px;
  background: linear-gradient(135deg, #f0f4ff 0%, #f8f0ff 100%);
  text-align: center;
}

.stitch-cta-container {
  max-width: 560px;
  margin: 0 auto;
}
.stitch-cta-container h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0d0d1c;
  margin-bottom: 8px;
}
.stitch-cta-container p {
  font-size: 15px;
  color: #637381;
  margin-bottom: 24px;
  line-height: 1.5;
}

.stitch-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stitch-cta-btn {
  padding: 12px 28px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.stitch-popular-items-wrapper {
  padding: 48px 24px;
  background: #ffffff;
}
@media (min-width: 768px) {
  .stitch-popular-items-wrapper {
    padding: 64px 40px;
  }
}

.stitch-popular-items-container {
  max-width: 900px;
  margin: 0 auto;
}

.stitch-popular-items-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  contain: layout;
  min-width: 0;
}
@media (min-width: 768px) {
  .stitch-popular-items-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}
.stitch-popular-items-list .stitch-category-item {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 12px 16px;
  min-height: 64px;
  width: 100%;
  min-width: 0;
}
.stitch-popular-items-list .stitch-category-item:hover {
  border-color: #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.stitch-categories-grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .stitch-categories-grid-2col {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (min-width: 768px) {
  .stitch-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .stitch-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.item-page {
  background: var(--stitch-bg, #f9fafb);
  min-height: 100vh;
}

.item-page-container {
  max-width: var(--stitch-max-width);
  margin: 0 auto;
  padding: 0 24px 48px;
}
@media (min-width: 1024px) {
  .item-page-container {
    padding: 0 40px 48px;
  }
}

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox-close .material-symbols-outlined {
  font-size: 24px;
}

.breadcrumbs {
  padding: 4px 0;
  margin-top: -8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--stitch-text-secondary, #637381);
}
.breadcrumbs a {
  color: var(--stitch-text-secondary, #637381);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--stitch-primary, #0066FF);
}
.breadcrumbs .separator {
  color: #d1d5db;
}
.breadcrumbs .current {
  color: var(--stitch-text-main, #0d0d1c);
  font-weight: 500;
}

.jump-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  margin-bottom: 12px;
}

.jump-links-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.jump-links-updated {
  font-size: 11px;
  color: #c4c8cc;
  white-space: nowrap;
}

.jump-link {
  font-size: 13px;
  color: var(--stitch-text-secondary, #637381);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}
.jump-link:hover, .jump-link.active {
  color: var(--stitch-primary, #0066FF);
  border-bottom-color: var(--stitch-primary, #0066FF);
}
.jump-link .count {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 11px;
  margin-left: 4px;
}

#similar,
#reviews,
#lists,
#overview {
  scroll-margin-top: 100px;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 1024px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
}

.main-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card {
  background: white;
  border: 1px solid var(--stitch-border, #e5e7eb);
  border-radius: 12px;
  padding: 24px;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--stitch-text-main, #0d0d1c);
}
.card-title .material-symbols-outlined {
  font-size: 20px;
  color: var(--stitch-primary, #0066FF);
}

.hero-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .hero-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-image-container {
  position: relative;
  cursor: pointer;
}
@media (max-width: 768px) {
  .hero-image-container {
    display: flex;
    justify-content: center;
  }
}

.hero-image {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  object-fit: cover;
  background: #f8fafc;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #e5e7eb;
}
.hero-image:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  .hero-image {
    width: 140px;
    height: 140px;
  }
}

.hero-image.is-logo {
  object-fit: contain;
  padding: 10px;
}

.hero-image.is-photo {
  object-fit: cover;
  padding: 0;
}

.hero-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  font-size: 48px;
  font-weight: 700;
}

.hero-zoom-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.2s;
}
.hero-zoom-hint .material-symbols-outlined {
  font-size: 12px;
  width: 12px;
  height: 12px;
}

.hero-image-container:hover .hero-zoom-hint {
  opacity: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
  color: var(--stitch-text-main, #0d0d1c);
}

.mobile-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #f8fafc;
  border-radius: 12px;
  margin: 12px 0 16px;
  border: 1px solid #e5e7eb;
  width: fit-content;
  max-width: 200px;
}
@media (min-width: 1025px) {
  .mobile-score-badge {
    display: none;
  }
}
@media (max-width: 768px) {
  .mobile-score-badge {
    margin-left: auto;
    margin-right: auto;
  }
}
.mobile-score-badge .mobile-score-number {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--stitch-text-main, #0d0d1c);
}
.mobile-score-badge .mobile-score-label {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mobile-score-badge.brilliant {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  border: 1px solid var(--score-brilliant-outline);
}
.mobile-score-badge.brilliant .mobile-score-number {
  color: var(--score-brilliant-text);
}
.mobile-score-badge.brilliant .mobile-score-label {
  color: var(--score-brilliant-label);
}
.mobile-score-badge.excellent {
  background: var(--score-excellent-bg);
}
.mobile-score-badge.excellent .mobile-score-number {
  color: var(--score-excellent-text);
}
.mobile-score-badge.excellent .mobile-score-label {
  color: var(--score-excellent-label);
}
.mobile-score-badge.very-good {
  background: var(--score-very-good-bg);
}
.mobile-score-badge.very-good .mobile-score-number {
  color: var(--score-very-good-text);
}
.mobile-score-badge.very-good .mobile-score-label {
  color: var(--score-very-good-label);
}
.mobile-score-badge.good {
  background: var(--score-good-bg);
}
.mobile-score-badge.good .mobile-score-number {
  color: var(--score-good-text);
}
.mobile-score-badge.good .mobile-score-label {
  color: var(--score-good-label);
}
.mobile-score-badge.fair {
  background: var(--score-fair-bg);
}
.mobile-score-badge.fair .mobile-score-number {
  color: var(--score-fair-text);
}
.mobile-score-badge.fair .mobile-score-label {
  color: var(--score-fair-label);
}
.mobile-score-badge.average {
  background: var(--score-average-bg);
}
.mobile-score-badge.average .mobile-score-number {
  color: var(--score-average-text);
}
.mobile-score-badge.average .mobile-score-label {
  color: var(--score-average-label);
}
.mobile-score-badge.poor {
  background: var(--score-poor-bg);
}
.mobile-score-badge.poor .mobile-score-number {
  color: var(--score-poor-text);
}
.mobile-score-badge.poor .mobile-score-label {
  color: var(--score-poor-label);
}

.hero-meta-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--stitch-text-secondary, #637381);
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.hero-subtitle {
  font-weight: 500;
  color: #047857;
}

.hero-meta-dot {
  color: #d1d5db;
}

.hero-updated-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hero-updated-inline .material-symbols-outlined {
  font-size: 14px;
}

.key-tag-link {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--score-brilliant-bg);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--score-brilliant-text);
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.key-tag-link:hover {
  background: var(--score-excellent-bg);
  color: var(--score-excellent-text);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(212, 160, 36, 0.25);
}
@media (max-width: 768px) {
  .key-tag-link {
    align-self: center;
  }
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
@media (max-width: 768px) {
  .hero-tags {
    justify-content: center;
  }
}

.hero-tag {
  padding: 3px 10px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.15s;
}
.hero-tag:hover {
  background: var(--stitch-primary, #0066FF);
  border-color: var(--stitch-primary, #0066FF);
  color: white;
}
.hero-tag.primary {
  background: #fff5eb;
  border-color: #fde5d0;
  color: #9a5c27;
}
.hero-tag.primary:hover {
  background: #f59e0b;
  border-color: #f59e0b;
  color: white;
}

.hero-updated {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--stitch-text-secondary, #637381);
  margin-bottom: 8px;
}
.hero-updated .material-symbols-outlined {
  font-size: 14px;
  width: 14px;
  height: 14px;
}
@media (max-width: 768px) {
  .hero-updated {
    justify-content: center;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  overflow: visible;
  align-items: center;
  max-width: 100%;
}
@media (min-width: 769px) {
  .hero-actions {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .hero-actions {
    justify-content: center;
  }
}
.hero-actions .action-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--stitch-border, #e5e7eb);
  border-radius: 6px;
  background: white;
  font-size: 12px;
  font-weight: 500;
  color: var(--stitch-text-main, #0d0d1c);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.action-btn:hover {
  border-color: var(--stitch-primary, #0066FF);
  color: var(--stitch-primary, #0066FF);
}
.action-btn.icon-only {
  padding: 0;
  gap: 0;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
}
.action-btn.icon-only .material-symbols-outlined {
  font-size: 16px;
}
.action-btn.primary {
  background: var(--stitch-primary, #0066FF);
  border-color: var(--stitch-primary, #0066FF);
  color: white;
}
.action-btn.primary:hover {
  background: #0052cc;
}
.action-btn.external-cta {
  height: 32px;
  border-radius: 8px;
  font-weight: 700;
  transform: translateY(0);
}
.action-btn.external-cta.affiliate {
  padding: 0 14px;
  min-width: 120px;
  color: #ffffff;
  border-color: #16a34a;
  background: #16a34a;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.22);
}
.action-btn.external-cta.affiliate:hover {
  background: #15803d;
  border-color: #15803d;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(22, 163, 74, 0.28);
}
.action-btn.external-cta.website {
  width: 32px;
  min-width: 32px;
  padding: 0;
  border-color: #d7dceb;
  background: #ffffff;
  color: #1f2d4f;
  box-shadow: none;
}
.action-btn.external-cta.website:hover {
  background: #f8f9fc;
  border-color: #c9d2e8;
  color: #0d0d1c;
  transform: translateY(0);
  box-shadow: none;
}
.action-btn .material-symbols-outlined {
  font-size: 15px;
  width: 15px;
  height: 15px;
}

.action-btn-wrapper .btn-add-to-list {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--stitch-primary, #0066FF);
  border-radius: 6px;
  background: var(--stitch-primary, #0066FF);
  font-size: 12px;
  font-weight: 500;
  color: white;
  cursor: pointer;
  transition: all 0.15s;
}
.action-btn-wrapper .btn-add-to-list:hover {
  background: #0052cc;
}
.action-btn-wrapper .btn-add-to-list .add-to-list-star {
  font-size: 16px;
}

.overview-text {
  font-size: 15px;
  line-height: 1.7;
  color: #637381 !important;
}
.overview-text p {
  margin-bottom: 16px;
  color: #637381 !important;
}
.overview-text p:last-child {
  margin-bottom: 0;
}
.overview-text strong, .overview-text b {
  color: #374151 !important;
  font-weight: 600;
}
.overview-text a {
  color: #637381;
  text-decoration: underline;
}
.overview-text a:hover {
  color: var(--stitch-primary, #0066FF);
}
.overview-text em, .overview-text i, .overview-text span, .overview-text div {
  color: #637381 !important;
}
.overview-text .desc-type-highlight {
  color: var(--stitch-primary, #0066FF) !important;
  font-weight: 600;
}

.best-for-block {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 14px;
  color: var(--stitch-text-secondary, #637381);
}
.best-for-block .material-symbols-outlined {
  font-size: 18px;
  color: var(--stitch-primary, #0066FF);
  flex-shrink: 0;
  margin-top: 1px;
}
.best-for-block strong {
  color: var(--stitch-text-main, #0d0d1c);
}

.section-subtitle {
  font-size: 14px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 12px;
  color: var(--stitch-text-main, #0d0d1c);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 640px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
}

.capability-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--stitch-text-main, #0d0d1c);
}

.check-icon {
  font-size: 18px;
  width: 18px;
  height: 18px;
  color: #10b981;
}

.metadata-table {
  width: 100%;
  border-collapse: collapse;
}
.metadata-table tr {
  border-bottom: 1px solid #f3f4f6;
}
.metadata-table tr:last-child {
  border-bottom: none;
}
.metadata-table td {
  padding: 10px 0;
  font-size: 14px;
}
.metadata-table td:first-child {
  color: var(--stitch-text-secondary, #637381);
  width: 120px;
  padding-right: 16px;
}
.metadata-table td:last-child {
  font-weight: 500;
  color: var(--stitch-text-main, #0d0d1c);
}

.spec-year-link {
  color: var(--stitch-primary, #0066FF);
  text-decoration: none;
  font-weight: 500;
}
.spec-year-link:hover {
  text-decoration: underline;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 640px) {
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
}

.column-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.column-header .material-symbols-outlined {
  font-size: 16px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pros-header {
  color: #10b981;
}

.cons-header {
  color: #ef4444;
}

.pros-list, .cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pros-list li, .cons-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--stitch-text-secondary, #637381);
}
.pros-list li .material-symbols-outlined, .cons-list li .material-symbols-outlined {
  font-size: 16px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pros-list li .check-icon {
  color: #10b981;
}

.x-icon {
  color: #ef4444;
}

.similar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.similar-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  padding: 0;
  color: var(--stitch-text-main, #0d0d1c);
}

.see-all {
  font-size: 13px;
  color: var(--stitch-primary, #0066FF);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.see-all:hover {
  text-decoration: underline;
}
.see-all .material-symbols-outlined {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) {
  .similar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .similar-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.similar-card {
  background: white;
  border: 1px solid var(--stitch-border, #e5e7eb);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.15s;
}
.similar-card:hover {
  border-color: var(--stitch-primary, #0066FF);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.similar-card-image {
  width: 100%;
  height: 100px;
  object-fit: cover;
  background: #f3f4f6;
}

.similar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  font-size: 24px;
  font-weight: 700;
}

.similar-card-content {
  padding: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.similar-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c) !important;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.similar-card-why {
  font-size: 11px;
  color: var(--stitch-text-secondary, #637381) !important;
  line-height: 1.2;
  margin-bottom: 6px;
}

.score-card {
  text-align: center;
}

.score-block-main {
  padding: 24px 32px;
  border-radius: 16px;
  margin-bottom: 10px;
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
}
.score-block-main.brilliant {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  border: 1px solid var(--score-brilliant-outline);
}
.score-block-main.brilliant .score-number {
  color: var(--score-brilliant-text);
}
.score-block-main.brilliant .score-label {
  color: var(--score-brilliant-label);
}
.score-block-main.excellent {
  background: var(--score-excellent-bg);
}
.score-block-main.excellent .score-number {
  color: var(--score-excellent-text);
}
.score-block-main.excellent .score-label {
  color: var(--score-excellent-label);
}
.score-block-main.very-good {
  background: var(--score-very-good-bg);
}
.score-block-main.very-good .score-number {
  color: var(--score-very-good-text);
}
.score-block-main.very-good .score-label {
  color: var(--score-very-good-label);
}
.score-block-main.good {
  background: var(--score-good-bg);
}
.score-block-main.good .score-number {
  color: var(--score-good-text);
}
.score-block-main.good .score-label {
  color: var(--score-good-label);
}
.score-block-main.fair {
  background: var(--score-fair-bg);
}
.score-block-main.fair .score-number {
  color: var(--score-fair-text);
}
.score-block-main.fair .score-label {
  color: var(--score-fair-label);
}
.score-block-main.average {
  background: var(--score-average-bg);
}
.score-block-main.average .score-number {
  color: var(--score-average-text);
}
.score-block-main.average .score-label {
  color: var(--score-average-label);
}
.score-block-main.poor {
  background: var(--score-poor-bg);
}
.score-block-main.poor .score-number {
  color: var(--score-poor-text);
}
.score-block-main.poor .score-label {
  color: var(--score-poor-label);
}
.score-block-main .score-number {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}
.score-block-main .score-label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.score-breakdown {
  border-radius: 8px;
  padding: 16px;
  text-align: left;
}
.score-breakdown.brilliant {
  background: var(--score-brilliant-bg);
  border: 1px solid var(--score-brilliant-outline);
}
.score-breakdown.brilliant .score-breakdown-title {
  color: var(--score-brilliant-label);
}
.score-breakdown.brilliant .score-row {
  border-top-color: rgba(123, 91, 46, 0.2);
}
.score-breakdown.excellent {
  background: var(--score-excellent-bg);
  border: 1px solid rgba(62, 107, 53, 0.3);
}
.score-breakdown.excellent .score-breakdown-title {
  color: var(--score-excellent-label);
}
.score-breakdown.excellent .score-row {
  border-top-color: rgba(62, 107, 53, 0.2);
}
.score-breakdown.very-good {
  background: var(--score-very-good-bg);
  border: 1px solid rgba(45, 115, 103, 0.3);
}
.score-breakdown.very-good .score-breakdown-title {
  color: var(--score-very-good-label);
}
.score-breakdown.very-good .score-row {
  border-top-color: rgba(45, 115, 103, 0.2);
}
.score-breakdown.good {
  background: var(--score-good-bg);
  border: 1px solid rgba(74, 107, 36, 0.3);
}
.score-breakdown.good .score-breakdown-title {
  color: var(--score-good-label);
}
.score-breakdown.good .score-row {
  border-top-color: rgba(74, 107, 36, 0.2);
}
.score-breakdown.fair {
  background: var(--score-fair-bg);
  border: 1px solid rgba(123, 84, 40, 0.3);
}
.score-breakdown.fair .score-breakdown-title {
  color: var(--score-fair-label);
}
.score-breakdown.fair .score-row {
  border-top-color: rgba(123, 84, 40, 0.2);
}
.score-breakdown.average {
  background: var(--score-average-bg);
  border: 1px solid rgba(139, 107, 32, 0.3);
}
.score-breakdown.average .score-breakdown-title {
  color: var(--score-average-label);
}
.score-breakdown.average .score-row {
  border-top-color: rgba(139, 107, 32, 0.2);
}
.score-breakdown.poor {
  background: var(--score-poor-bg);
  border: 1px solid rgba(160, 48, 48, 0.3);
}
.score-breakdown.poor .score-breakdown-title {
  color: var(--score-poor-label);
}
.score-breakdown.poor .score-row {
  border-top-color: rgba(160, 48, 48, 0.2);
}

.score-breakdown-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  border-top: 1px solid rgba(22, 163, 74, 0.2);
}
.score-row:first-of-type {
  border-top: none;
}

.score-row-label {
  color: var(--stitch-text-secondary, #637381);
}

.score-row-value {
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
}

.score-row.rate-now {
  cursor: pointer;
  margin: 0 -16px;
  padding: 10px 16px;
  border-radius: 0 0 8px 8px;
  transition: background 0.15s;
  text-decoration: none;
  display: flex;
}
.score-row.rate-now:hover {
  background: rgba(0, 102, 255, 0.1);
}
.score-row.rate-now .score-row-value {
  color: var(--stitch-primary, #0066FF);
  display: flex;
  align-items: center;
  gap: 4px;
}
.score-row.rate-now .score-row-value .material-symbols-outlined {
  font-size: 14px;
  width: 14px;
  height: 14px;
}

.score-row.user-rating-row {
  margin: 0 -16px;
  padding: 10px 16px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  display: flex;
}
.score-row.user-rating-row .stitch-review-score-group {
  flex-shrink: 0;
}
.score-row.user-rating-row .stitch-score-block {
  padding: 6px 12px;
  border-radius: 8px;
}
.score-row.user-rating-row .stitch-score-number {
  font-size: 16px;
}
.score-row.user-rating-row .stitch-score-label {
  font-size: 11px;
}

.reviews-summary {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.reviews-score-mini {
  text-align: center;
}

.score-block-mini {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 6px;
}
.score-block-mini.brilliant {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  border: 1px solid var(--score-brilliant-outline);
}
.score-block-mini.brilliant .score-number {
  color: var(--score-brilliant-text);
}
.score-block-mini.excellent {
  background: var(--score-excellent-bg);
}
.score-block-mini.excellent .score-number {
  color: var(--score-excellent-text);
}
.score-block-mini.very-good {
  background: var(--score-very-good-bg);
}
.score-block-mini.very-good .score-number {
  color: var(--score-very-good-text);
}
.score-block-mini.good {
  background: var(--score-good-bg);
}
.score-block-mini.good .score-number {
  color: var(--score-good-text);
}
.score-block-mini.fair {
  background: var(--score-fair-bg);
}
.score-block-mini.fair .score-number {
  color: var(--score-fair-text);
}
.score-block-mini.average {
  background: var(--score-average-bg);
}
.score-block-mini.average .score-number {
  color: var(--score-average-text);
}
.score-block-mini.poor {
  background: var(--score-poor-bg);
}
.score-block-mini.poor .score-number {
  color: var(--score-poor-text);
}
.score-block-mini .score-number {
  font-size: 24px;
  font-weight: 800;
}

.reviews-stars {
  color: #f59e0b;
  font-size: 12px;
}
.reviews-stars .star {
  color: #d1d5db;
}
.reviews-stars .star.filled {
  color: #f59e0b;
}
.reviews-stars .star.partial {
  color: #f59e0b;
}

.reviews-count {
  font-size: 11px;
  color: var(--stitch-text-secondary, #637381);
}

.rating-distribution {
  flex: 1;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.rating-label {
  font-size: 11px;
  color: var(--stitch-text-secondary, #637381);
  width: 18px;
  text-align: right;
}

.rating-bar {
  flex: 1;
  height: 6px;
  background: #f3f4f6;
  border-radius: 3px;
  overflow: hidden;
}

.rating-fill {
  height: 100%;
  background: #f59e0b;
  border-radius: 3px;
}

.recommend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #f0fdf4;
  border-radius: 8px;
  margin-bottom: 16px;
}
.recommend-row .material-symbols-outlined {
  color: #10b981;
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.recommend-text {
  font-size: 12px;
  font-weight: 500;
  color: #166534;
}

.write-review-cta {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--stitch-primary, #0066FF);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}
.write-review-cta:hover {
  background: #0052cc;
  color: white;
}

.write-review-subtext {
  font-size: 11px;
  color: var(--stitch-text-secondary, #637381);
  text-align: center;
  margin-top: 8px;
}

.no-reviews-state {
  text-align: center;
  padding: 24px 16px;
}
.no-reviews-state .no-reviews-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.no-reviews-state .no-reviews-icon .material-symbols-outlined {
  font-size: 24px;
  color: #9ca3af;
}
.no-reviews-state .no-reviews-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  margin-bottom: 4px;
}
.no-reviews-state .no-reviews-text {
  font-size: 13px;
  color: var(--stitch-text-secondary, #637381);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid #f3f4f6;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  cursor: pointer;
  list-style: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "\e5cf";
  font-family: "Material Symbols Outlined";
  font-size: 20px;
  color: var(--stitch-text-secondary, #637381);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-question:hover {
  color: var(--stitch-primary, #0066FF);
}

.faq-answer {
  padding: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--stitch-text-secondary, #637381);
}
.faq-answer a {
  color: var(--stitch-primary, #0066FF);
  text-decoration: none;
}
.faq-answer a:hover {
  text-decoration: underline;
}
.faq-answer ul {
  margin: 6px 0;
  padding-left: 20px;
}
.faq-answer ul li {
  margin-bottom: 3px;
}
.faq-answer p {
  margin: 0;
}
.faq-answer strong {
  color: var(--stitch-text-main, #0d0d1c);
}

.alternatives-cta-card {
  padding: 0 !important;
}

.alternatives-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  text-decoration: none;
  color: var(--stitch-text-main, #0d0d1c);
  border-radius: 10px;
  transition: background 0.15s;
}
.alternatives-link:hover {
  background: #f8fafc;
  color: var(--stitch-text-main, #0d0d1c);
}
.alternatives-link > .material-symbols-outlined:first-child {
  font-size: 24px;
  color: var(--stitch-primary, #0066FF);
  flex-shrink: 0;
}
.alternatives-link > .material-symbols-outlined:last-child {
  font-size: 18px;
  color: var(--stitch-text-secondary, #637381);
  flex-shrink: 0;
  margin-left: auto;
}
.alternatives-link div {
  flex: 1;
  min-width: 0;
}
.alternatives-link strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.alternatives-link span:not(.material-symbols-outlined) {
  font-size: 12px;
  color: var(--stitch-text-secondary, #637381);
}

.quick-vote-card {
  text-align: center;
  padding: 16px !important;
}

.quick-vote-question {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--stitch-text-main, #0d0d1c);
}

.quick-vote-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.quick-vote-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.quick-vote-btn .material-symbols-outlined {
  font-size: 18px;
}
.quick-vote-btn.agree:hover {
  border-color: #22c55e;
  background: #f0fdf4;
  color: #16a34a;
}
.quick-vote-btn.disagree:hover {
  border-color: #ef4444;
  background: #fef2f2;
  color: #dc2626;
}

.quick-vote-result {
  padding-top: 4px;
}

.quick-vote-bar {
  height: 8px;
  background: #f3f4f6;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.quick-vote-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.quick-vote-stats {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--stitch-text-secondary, #637381);
}

.item-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid #e5e7eb;
  padding: 0 16px;
}

.item-nav-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  gap: 12px;
}

.item-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--stitch-text-main, #0d0d1c);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  min-width: 0;
  flex: 1;
}
.item-nav-link:hover {
  background: #f3f4f6;
  color: var(--stitch-primary, #0066FF);
}
.item-nav-link.prev {
  justify-content: flex-start;
}
.item-nav-link.next {
  justify-content: flex-end;
  text-align: right;
}
.item-nav-link.disabled {
  visibility: hidden;
}
.item-nav-link .material-symbols-outlined {
  font-size: 20px;
  flex-shrink: 0;
}
.item-nav-link .item-nav-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-nav-position {
  font-size: 12px;
  color: var(--stitch-text-secondary, #637381);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .item-nav-link .item-nav-title {
    max-width: 100px;
  }
}
.create-own-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}
.create-own-cta > .material-symbols-outlined:first-child {
  font-size: 28px;
  color: var(--stitch-primary, #0066FF);
  flex-shrink: 0;
}
.create-own-cta > div {
  flex: 1;
  min-width: 0;
}
.create-own-cta > div strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.create-own-cta > div span {
  font-size: 13px;
  color: var(--stitch-text-secondary, #637381);
}
.create-own-cta .action-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.internal-links-card .card-title {
  margin-bottom: 8px;
}

.internal-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.internal-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  color: var(--stitch-text-main, #0d0d1c);
  font-size: 14px;
  transition: color 0.15s;
}
.internal-link:last-child {
  border-bottom: none;
}
.internal-link:hover {
  color: var(--stitch-primary, #0066FF);
}
.internal-link > .material-symbols-outlined:first-child {
  font-size: 20px;
  color: var(--stitch-primary, #0066FF);
  flex-shrink: 0;
}
.internal-link > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.internal-link .link-arrow {
  font-size: 16px;
  color: var(--stitch-text-secondary, #637381);
  flex-shrink: 0;
}

.featured-lists-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.featured-list-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  color: var(--stitch-text-main, #0d0d1c);
  transition: color 0.15s;
}
.featured-list-card:last-child {
  border-bottom: none;
}
.featured-list-card:hover .featured-list-title {
  color: var(--stitch-primary, #0066FF);
}
.featured-list-card > .material-symbols-outlined {
  font-size: 18px;
  color: var(--stitch-text-secondary, #637381);
  flex-shrink: 0;
}

.featured-list-thumb-wrap {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-list-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.featured-list-thumb-placeholder {
  color: var(--stitch-text-secondary, #637381);
  font-size: 12px;
  font-weight: 700;
}

.featured-list-info {
  flex: 1;
  min-width: 0;
}

.featured-list-title {
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-list-meta {
  font-size: 12px;
  color: var(--stitch-text-secondary, #637381);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.featured-list-rank {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #f3f4f6;
  color: var(--stitch-text-secondary, #637381);
}
.featured-list-rank.top {
  background: #fef3c7;
  color: #92400e;
}

.list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
}
.list-item:last-of-type {
  border-bottom: none;
}
.list-item:hover .list-name {
  color: var(--stitch-primary, #0066FF);
}

.list-thumb-container {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.list-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.list-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  font-size: 16px;
  font-weight: 600;
}

.list-user-avatar {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid white;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 9px;
  font-weight: 600;
}

.list-info {
  flex: 1;
  min-width: 0;
}

.list-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  margin-bottom: 2px;
  transition: color 0.15s;
}

.list-meta {
  font-size: 11px;
  color: var(--stitch-text-secondary, #637381);
  display: flex;
  align-items: center;
  gap: 4px;
}
.list-meta .material-symbols-outlined {
  font-size: 12px;
  width: 12px;
  height: 12px;
}

.list-rank {
  background: #f3f4f6;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
}
.list-rank.top {
  background: var(--score-excellent-bg, #dcfce7);
  color: var(--score-excellent-num, #16a34a);
}

.similar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
}
.similar-item:last-of-type {
  border-bottom: none;
}
.similar-item:hover .similar-item-title {
  color: var(--stitch-primary, #0066FF);
}

.similar-item-thumb {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
}
.similar-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.similar-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.similar-item-info {
  flex: 1;
  min-width: 0;
}

.similar-item-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-text-main, #0d0d1c);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}

.similar-item-score {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.similar-item-score.brilliant {
  background: var(--score-brilliant-bg);
  color: var(--score-brilliant-text);
  border: 1px solid var(--score-brilliant-outline);
}
.similar-item-score.excellent {
  background: var(--score-excellent-bg);
  color: var(--score-excellent-text);
}
.similar-item-score.very-good {
  background: var(--score-very-good-bg);
  color: var(--score-very-good-text);
}
.similar-item-score.good {
  background: var(--score-good-bg);
  color: var(--score-good-text);
}
.similar-item-score.fair {
  background: var(--score-fair-bg);
  color: var(--score-fair-text);
}
.similar-item-score.average {
  background: var(--score-average-bg);
  color: var(--score-average-text);
}
.similar-item-score.poor {
  background: var(--score-poor-bg);
  color: var(--score-poor-text);
}

.sidebar-alternatives-link {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--stitch-border, #e5e7eb);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--stitch-text-secondary, #637381);
  text-decoration: none;
  transition: color 0.15s;
}
.sidebar-alternatives-link .material-symbols-outlined {
  font-size: 16px;
  flex-shrink: 0;
  color: var(--stitch-primary, #0066FF);
  opacity: 0.75;
}
.sidebar-alternatives-link:hover {
  color: var(--stitch-primary, #0066FF);
}
.sidebar-alternatives-link:hover .material-symbols-outlined {
  opacity: 1;
}

.score-actions {
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
}
.score-actions .score-row.rate-now {
  margin: 0;
  padding: 0;
  border-top: none;
  border-radius: 0;
}
.score-actions .score-row.rate-now:hover {
  background: transparent;
}

.add-to-list-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 2px dashed var(--stitch-border, #e5e7eb);
  border-radius: 8px;
  margin-top: 12px;
  cursor: pointer;
  color: var(--stitch-text-secondary, #637381);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
}
.add-to-list-card:hover {
  border-color: var(--stitch-primary, #0066FF);
  color: var(--stitch-primary, #0066FF);
  background: #f0f7ff;
}
.add-to-list-card .btn-add-to-list {
  background: transparent;
  border: none;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.stitch-add-to-list-modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 380px;
  margin: 0 auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.stitch-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.stitch-modal-close .material-symbols-outlined {
  font-size: 20px;
  color: var(--stitch-muted);
}
.stitch-modal-close:hover {
  background: var(--stitch-bg);
}

.stitch-auth-prompt {
  text-align: center;
}

.stitch-auth-prompt-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.stitch-auth-prompt-icon .material-symbols-outlined {
  font-size: 28px;
  color: var(--stitch-primary);
}

.stitch-auth-prompt-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--stitch-text);
  margin: 0 0 8px;
}

.stitch-auth-prompt-item {
  font-size: 16px;
  font-weight: 600;
  color: var(--stitch-primary);
  margin: 0 0 12px;
}

.stitch-auth-prompt-text {
  font-size: 14px;
  color: var(--stitch-muted);
  line-height: 1.5;
  margin: 0 0 24px;
}

.stitch-auth-prompt-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stitch-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--stitch-primary);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.stitch-btn-primary:hover {
  background: var(--stitch-primary-dark);
  transform: translateY(-1px);
}

.stitch-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--stitch-text) !important;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--stitch-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.stitch-btn-secondary:hover {
  background: var(--stitch-bg);
  border-color: var(--stitch-muted);
}

.add-to-list-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 28, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.add-to-list-modal-overlay.overlay-enter {
  transition: opacity 0.25s ease-out;
}
.add-to-list-modal-overlay.overlay-enter-start {
  opacity: 0;
}
.add-to-list-modal-overlay.overlay-enter-end {
  opacity: 1;
}
.add-to-list-modal-overlay.overlay-leave {
  transition: opacity 0.2s ease-in;
}
.add-to-list-modal-overlay.overlay-leave-start {
  opacity: 1;
}
.add-to-list-modal-overlay.overlay-leave-end {
  opacity: 0;
}

.add-to-list-modal {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}
.add-to-list-modal.modal-enter {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.add-to-list-modal.modal-enter-start {
  opacity: 0;
  transform: scale(0.95) translateY(10px);
}
.add-to-list-modal.modal-enter-end {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.add-to-list-modal.modal-leave {
  transition: all 0.2s ease-in;
}
.add-to-list-modal.modal-leave-start {
  opacity: 1;
  transform: scale(1);
}
.add-to-list-modal.modal-leave-end {
  opacity: 0;
  transform: scale(0.95);
}

.add-to-list-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: none;
  background: #f1f5f9;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: all 0.2s ease;
  z-index: 10;
}
.add-to-list-modal-close:hover {
  background: #e2e8f0;
  color: #637381;
  transform: rotate(90deg);
}

.add-to-list-guest {
  padding: 40px 32px 32px;
  text-align: center;
}

.add-to-list-item-preview {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.add-to-list-item-icon-wrapper {
  position: relative;
}

.add-to-list-item-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(145deg, #e6f0ff, #f0f7ff);
  border: 1px solid rgba(0, 102, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: gentleFloat 3s ease-in-out infinite;
}
.add-to-list-item-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.add-to-list-item-icon .fallback-icon {
  font-size: 32px;
  color: var(--stitch-primary);
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
.add-to-list-bookmark-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--stitch-primary), #0052cc);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.4);
}
.add-to-list-bookmark-badge svg {
  color: white;
}

.add-to-list-headline {
  font-size: 20px;
  font-weight: 600;
  color: var(--stitch-text);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.add-to-list-headline .item-name {
  color: var(--stitch-primary);
}

.add-to-list-value-prop {
  font-size: 14px;
  color: #637381;
  line-height: 1.5;
  margin: 0 0 24px;
}

.add-to-list-benefits {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
}

.add-to-list-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.add-to-list-benefit span {
  font-size: 12px;
  font-weight: 500;
  color: #637381;
}

.add-to-list-benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #637381;
  transition: all 0.2s ease;
}
.add-to-list-benefit:hover .add-to-list-benefit-icon {
  background: #e6f0ff;
  color: var(--stitch-primary);
  transform: translateY(-2px);
}

.add-to-list-cta-primary {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--stitch-primary) 0%, #0052cc 100%);
  color: white;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}
.add-to-list-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.add-to-list-cta-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
}

.add-to-list-secondary {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: #637381;
}
.add-to-list-secondary a {
  color: var(--stitch-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.add-to-list-secondary a:hover {
  color: #0052cc;
  text-decoration: underline;
}

.add-to-list-skip {
  text-align: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--stitch-border);
}
.add-to-list-skip button {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.add-to-list-skip button:hover {
  color: #637381;
  background: #f8fafc;
}

.add-to-list-user {
  display: flex;
  flex-direction: column;
}

.add-to-list-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--stitch-border);
}

.add-to-list-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, #e6f0ff, #f0f7ff);
  border: 1px solid rgba(0, 102, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.add-to-list-header-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.add-to-list-header-icon .fallback-icon {
  font-size: 20px;
  color: var(--stitch-primary);
}

.add-to-list-header-text {
  flex: 1;
  min-width: 0;
}
.add-to-list-header-text h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--stitch-text);
  margin: 0 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.add-to-list-header-text p {
  font-size: 13px;
  color: #637381;
  margin: 0;
}

.add-to-list-mode-toggle {
  display: flex;
  gap: 4px;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 8px;
}
.add-to-list-mode-toggle .mode-btn {
  flex: 1;
  padding: 6px 12px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: #637381;
  cursor: pointer;
  transition: all 0.2s;
}
.add-to-list-mode-toggle .mode-btn.active {
  background: white;
  color: var(--stitch-text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.add-to-list-mode-toggle .mode-btn:hover:not(.active) {
  color: var(--stitch-text);
}

.add-to-list-create-mode {
  padding: 20px 24px;
}
.add-to-list-create-mode .create-form-container {
  margin-bottom: 16px;
}
.add-to-list-create-mode .create-form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-text);
  margin-bottom: 8px;
}
.add-to-list-create-mode .create-form-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--stitch-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s;
}
.add-to-list-create-mode .create-form-input:focus {
  outline: none;
  border-color: var(--stitch-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}
.add-to-list-create-mode .create-form-hint {
  font-size: 12px;
  color: #637381;
  margin: 8px 0 0;
}
.add-to-list-create-mode .add-to-list-footer {
  padding: 0;
  border: none;
  background: transparent;
}
.add-to-list-create-mode .add-to-list-done.create-mode {
  width: 100%;
  justify-content: center;
}

.add-to-list-grid-mode .add-to-list-footer {
  margin-top: 0;
}

.add-to-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px 20px;
  max-height: 280px;
  overflow-y: auto;
}
.add-to-list-grid .add-to-list-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  border: 2px solid transparent;
  margin-top: 0;
}
.add-to-list-grid::-webkit-scrollbar {
  width: 4px;
}
.add-to-list-grid::-webkit-scrollbar-track {
  background: transparent;
}
.add-to-list-grid::-webkit-scrollbar-thumb {
  background: var(--stitch-border);
  border-radius: 2px;
}

.add-to-list-card {
  position: relative;
  background: #f8fafc;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.add-to-list-card:hover {
  background: #f1f5f9;
  border-color: #e5e7eb;
}
.add-to-list-card.selected {
  background: #e6f0ff;
  border-color: var(--stitch-primary);
}
.add-to-list-card.selected .list-card-check {
  opacity: 1;
  transform: scale(1);
}
.add-to-list-card.already-added {
  background: #d1fae5;
  border-color: #10b981;
}
.add-to-list-card.already-added .list-card-check {
  opacity: 1;
  transform: scale(1);
  background: #10b981;
}

.list-card-thumb {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #e5e7eb;
  margin-bottom: 8px;
}
.list-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e5e7eb, #f1f5f9);
}
.list-card-placeholder .material-symbols-outlined {
  font-size: 28px;
  color: #9ca3af;
}

.list-card-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--stitch-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s;
}
.list-card-check .material-symbols-outlined {
  font-size: 16px;
  color: white;
}

.list-card-info {
  text-align: center;
}

.list-card-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--stitch-text);
  line-height: 1.3;
  margin-bottom: 2px;
}

.list-card-count {
  font-size: 11px;
  color: #637381;
}

.list-card-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  background: var(--stitch-primary);
  color: white;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.list-card-badge.suggested {
  background: linear-gradient(135deg, #10b981, #059669);
}

.add-to-list-empty {
  padding: 40px 24px;
  text-align: center;
}
.add-to-list-empty .material-symbols-outlined {
  font-size: 48px;
  color: #d1d5db;
  margin-bottom: 12px;
}
.add-to-list-empty p {
  color: #637381;
  font-size: 14px;
  margin: 0 0 16px;
}
.add-to-list-empty .add-to-list-empty-hint {
  font-size: 12px;
  color: #9ca3af;
  margin-top: -8px;
}
.add-to-list-empty .btn-create-first {
  padding: 10px 20px;
  background: var(--stitch-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.add-to-list-empty .btn-create-first:hover {
  background: #0052cc;
}

.add-to-list-lists {
  max-height: 340px;
  overflow-y: auto;
  padding: 8px 0;
}
.add-to-list-lists::-webkit-scrollbar {
  width: 6px;
}
.add-to-list-lists::-webkit-scrollbar-track {
  background: transparent;
}
.add-to-list-lists::-webkit-scrollbar-thumb {
  background: var(--stitch-border);
  border-radius: 3px;
}

.add-to-list-section-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.add-to-list-section-label.suggested svg {
  color: #f59e0b;
}

.add-to-list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}
.add-to-list-row:hover {
  background: #f8fafc;
}
.add-to-list-row.selected {
  background: #e6f0ff;
  border-left-color: var(--stitch-primary);
}
.add-to-list-row.already-added {
  background: #d1fae5;
  border-left-color: #10b981;
}

.add-to-list-checkbox {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.add-to-list-checkbox input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}
.add-to-list-checkbox .checkbox-custom {
  position: absolute;
  inset: 0;
  border: 2px solid var(--stitch-border);
  border-radius: 6px;
  background: white;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.add-to-list-checkbox .checkbox-custom svg {
  color: white;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}
.add-to-list-checkbox input:checked + .checkbox-custom {
  background: var(--stitch-primary);
  border-color: var(--stitch-primary);
}
.add-to-list-checkbox input:checked + .checkbox-custom svg {
  opacity: 1;
  transform: scale(1);
}
.already-added .add-to-list-checkbox .checkbox-custom {
  background: #10b981;
  border-color: #10b981;
}
.already-added .add-to-list-checkbox .checkbox-custom svg {
  opacity: 1;
  transform: scale(1);
}

.add-to-list-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #637381;
}

.add-to-list-info {
  flex: 1;
  min-width: 0;
}

.add-to-list-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--stitch-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.add-to-list-name .best-match {
  font-size: 10px;
  font-weight: 600;
  color: var(--stitch-primary);
  background: #e6f0ff;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.add-to-list-meta {
  font-size: 12px;
  color: #637381;
}
.add-to-list-meta .already-text {
  color: #10b981;
  font-weight: 500;
}

.add-to-list-create {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  cursor: pointer;
  transition: all 0.15s ease;
  border-top: 1px solid var(--stitch-border);
  margin-top: 8px;
}
.add-to-list-create:hover {
  background: #e6f0ff;
}
.add-to-list-create span {
  font-size: 14px;
  font-weight: 500;
  color: var(--stitch-primary);
}

.add-to-list-create-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e6f0ff;
  color: var(--stitch-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-to-list-create-form {
  display: flex;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--stitch-border);
  margin-top: 8px;
  background: #fafbfc;
}
.add-to-list-create-form input {
  flex: 1;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--stitch-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s ease;
}
.add-to-list-create-form input:focus {
  outline: none;
  border-color: var(--stitch-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}
.add-to-list-create-form button {
  height: 40px;
  padding: 0 16px;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.add-to-list-create-form .btn-create {
  background: var(--stitch-primary);
  color: white;
}
.add-to-list-create-form .btn-create:hover {
  background: #0052cc;
}
.add-to-list-create-form .btn-cancel {
  background: transparent;
  color: #637381;
}
.add-to-list-create-form .btn-cancel:hover {
  background: #f1f5f9;
}

.add-to-list-empty {
  padding: 32px 24px;
  text-align: center;
}
.add-to-list-empty p {
  color: #637381;
  font-size: 14px;
  margin: 0;
}

.add-to-list-footer {
  display: flex;
  justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1px solid var(--stitch-border);
  background: #fafbfc;
}

.add-to-list-done {
  height: 40px;
  padding: 0 24px;
  border: none;
  border-radius: 10px;
  background: var(--stitch-primary);
  color: white;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}
.add-to-list-done:hover:not(:disabled) {
  background: #0052cc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}
.add-to-list-done:disabled {
  background: var(--stitch-border);
  color: #9ca3af;
  cursor: not-allowed;
}
.add-to-list-done .count-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
}

.compare-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.compare-modal {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.compare-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: #f3f4f6;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}
.compare-modal-close .material-symbols-outlined {
  font-size: 20px;
  color: #637381;
}
.compare-modal-close:hover {
  background: #e5e7eb;
}
.compare-modal-close:hover .material-symbols-outlined {
  color: var(--stitch-text-main);
}

.compare-modal-header {
  padding: 28px 32px 20px;
  text-align: center;
  border-bottom: 1px solid var(--stitch-border);
}
.compare-modal-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--stitch-text-main);
  margin: 0 0 4px;
}

.compare-modal-subtitle {
  font-size: 14px;
  color: #637381;
  margin: 0;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  padding: 24px;
}
@media (max-width: 640px) {
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.compare-column {
  padding: 0 24px;
}
@media (max-width: 640px) {
  .compare-column {
    padding: 0;
  }
}

@media (max-width: 640px) {
  .compare-column-left {
    border-bottom: 1px solid var(--stitch-border);
    padding-bottom: 24px;
  }
}

.compare-label {
  font-size: 12px;
  font-weight: 600;
  color: #637381;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.compare-change-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: none;
  background: transparent;
  color: var(--stitch-primary);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
}
.compare-change-btn .material-symbols-outlined {
  font-size: 14px;
}
.compare-change-btn:hover {
  background: rgba(0, 102, 255, 0.1);
}

.compare-item-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: #f8fafc;
  border-radius: 16px;
  border: 2px solid transparent;
}

.compare-column-left .compare-item-card {
  border-color: var(--stitch-primary);
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.03), rgba(0, 102, 255, 0.08));
}

.compare-item-image-container {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.compare-item-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.compare-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.compare-item-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--stitch-text-main);
  margin: 0 0 12px;
  line-height: 1.3;
}

.compare-score-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
}

.compare-item-card .score-block-main {
  padding: 12px 20px;
  max-width: 120px;
  border-radius: 12px;
  margin-bottom: 0;
}
.compare-item-card .score-block-main .score-number {
  font-size: 28px;
}
.compare-item-card .score-block-main .score-label {
  font-size: 11px;
  margin-top: 3px;
}

.suggestion-score-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.compare-suggestion-card .score-block-main {
  padding: 4px 10px;
  max-width: none;
  margin-bottom: 0;
  border-radius: 8px;
}
.compare-suggestion-card .score-block-main .score-number {
  font-size: 14px;
  font-weight: 700;
}
.compare-suggestion-card .score-block-main .score-label {
  font-size: 9px;
  margin-top: 1px;
  letter-spacing: 0.3px;
}

.compare-item-card .key-tag-link {
  margin-top: 8px;
  display: inline-flex;
}

.compare-vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}
@media (max-width: 640px) {
  .compare-vs-divider {
    padding: 0;
  }
}

.compare-vs-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--stitch-primary), #0052cc);
  color: white;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
  animation: comparePulse 2s ease-in-out infinite;
}

@keyframes comparePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.compare-select-area,
.compare-selected-area {
  min-height: 280px;
}

.compare-search-container {
  position: relative;
  margin-bottom: 20px;
}

.compare-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #9ca3af;
}

.compare-search-input {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 16px;
  border: 2px solid var(--stitch-border);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s ease;
}
.compare-search-input:focus {
  outline: none;
  border-color: var(--stitch-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}
.compare-search-input::placeholder {
  color: #9ca3af;
}

.compare-section-label {
  font-size: 13px;
  font-weight: 500;
  color: #637381;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.compare-section-label .material-symbols-outlined {
  font-size: 16px;
  color: var(--stitch-primary);
}

.compare-suggestions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.compare-suggestion-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 10px;
  background: #f8fafc;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-align: center;
  min-width: 0;
  overflow: hidden;
}
.compare-suggestion-card:hover {
  border-color: var(--stitch-primary);
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.suggestion-image-container {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.suggestion-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.suggestion-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.suggestion-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-text-main);
  margin-bottom: 6px;
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.compare-no-results,
.compare-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #9ca3af;
}
.compare-no-results .material-symbols-outlined,
.compare-loading .material-symbols-outlined {
  font-size: 48px;
  margin-bottom: 12px;
}
.compare-no-results p,
.compare-loading p {
  font-size: 14px;
  margin: 0;
}

.compare-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e5e7eb;
  border-top-color: var(--stitch-primary);
  border-radius: 50%;
  animation: compareSpin 0.8s linear infinite;
  margin-bottom: 12px;
}

@keyframes compareSpin {
  to {
    transform: rotate(360deg);
  }
}
.compare-spinner-small {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: compareSpin 0.8s linear infinite;
}

.btn-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-content .material-symbols-outlined {
  font-size: 18px;
  width: 18px;
  height: 18px;
}
.btn-content.comparing {
  gap: 10px;
}

.compare-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid var(--stitch-border);
  background: #fafbfc;
  border-radius: 0 0 20px 20px;
}

.compare-btn-cancel {
  height: 44px;
  padding: 0 20px;
  border: 2px solid var(--stitch-border);
  border-radius: 10px;
  background: white;
  color: #637381;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}
.compare-btn-cancel:hover {
  border-color: #d1d5db;
  color: var(--stitch-text-main);
}

.compare-btn-primary {
  height: 44px;
  padding: 0 24px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--stitch-primary), #0052cc);
  color: white;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.compare-btn-primary .material-symbols-outlined {
  font-size: 18px;
}
.compare-btn-primary:hover:not(.disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.35);
}
.compare-btn-primary.disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

.compare-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.compare-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.compare-page-header h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--stitch-text-main);
  margin: 0;
  flex: 1;
}
@media (max-width: 640px) {
  .compare-page-header h1 {
    font-size: 18px;
  }
}

.compare-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: #f3f4f6;
  border: none;
  border-radius: 8px;
  color: #637381;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.compare-back-btn .material-symbols-outlined {
  font-size: 20px;
  line-height: 1;
}
.compare-back-btn:hover {
  background: #e5e7eb;
  color: var(--stitch-text-main);
}

.compare-page-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
@media (max-width: 640px) {
  .compare-page-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.compare-page-item {
  background: white;
  border: 2px solid var(--stitch-border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: all 0.2s ease;
}
.compare-page-item.winner {
  border-color: #10b981;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.02), rgba(16, 185, 129, 0.06));
}
.compare-page-item .key-tag-link {
  margin-top: 12px;
  display: inline-flex;
}

.compare-affiliate-disclosure {
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  margin: -24px 0 16px;
  line-height: 1.4;
}

.compare-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.compare-cta-btn .material-symbols-outlined {
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1;
}
.compare-cta-btn.primary {
  background: var(--stitch-primary, #0066FF);
  color: white;
  border: 2px solid var(--stitch-primary, #0066FF);
}
.compare-cta-btn.primary:hover {
  background: #0052cc;
  border-color: #0052cc;
}
.compare-cta-btn.outline {
  background: white;
  color: var(--stitch-primary, #0066FF);
  border: 2px solid var(--stitch-primary, #0066FF);
}
.compare-cta-btn.outline:hover {
  background: rgba(0, 102, 255, 0.05);
}

.compare-meta-pricing-section {
  margin-bottom: 32px;
}

.compare-meta-pricing-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
@media (max-width: 640px) {
  .compare-meta-pricing-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.compare-meta-pricing-card {
  background: white;
  border: 1px solid var(--stitch-border);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.meta-pricing-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--stitch-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.meta-pricing-amount {
  font-size: 20px;
  font-weight: 700;
  color: var(--stitch-text-main);
}
.meta-pricing-amount.free {
  color: #10b981;
}
.meta-pricing-amount.muted {
  font-size: 14px;
  font-weight: 400;
  color: #9ca3af;
}

.meta-pricing-note {
  font-size: 12px;
  color: #10b981;
  font-weight: 500;
}

.compare-meta-pricing-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare-meta-pricing-divider .material-symbols-outlined {
  font-size: 24px;
  color: #d1d5db;
}
@media (max-width: 640px) {
  .compare-meta-pricing-divider {
    display: none;
  }
}

.verdict-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.verdict-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.verdict-cta-btn .material-symbols-outlined {
  font-size: 18px;
}
.verdict-cta-btn.primary {
  background: var(--stitch-primary, #0066FF);
  color: white;
  border: 2px solid var(--stitch-primary, #0066FF);
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.25);
}
.verdict-cta-btn.primary:hover {
  background: #0052cc;
  border-color: #0052cc;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.35);
  transform: translateY(-1px);
}
.verdict-cta-btn.outline {
  background: white;
  color: var(--stitch-primary, #0066FF);
  border: 2px solid var(--stitch-primary, #0066FF);
}
.verdict-cta-btn.outline:hover {
  background: rgba(0, 102, 255, 0.05);
}

.winner-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px 7px 11px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
}
.winner-badge .material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 1;
  transform: translateY(1px);
}

.compare-item-link {
  display: block;
  text-decoration: none;
}

.compare-page-image {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.compare-page-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.compare-page-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.compare-page-title {
  font-size: 18px;
  font-weight: 600;
  margin: 12px 0 0;
  line-height: 1.3;
  text-align: center;
}
.compare-page-title a {
  color: var(--stitch-text-main);
  text-decoration: none;
}
.compare-page-title a:hover {
  color: var(--stitch-primary);
}

.compare-page-category {
  display: inline-block;
  padding: 6px 14px;
  background: #f3f4f6;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #637381;
  text-decoration: none;
  margin-top: 12px;
  transition: all 0.2s ease;
}
.compare-page-category:hover {
  background: var(--stitch-primary);
  color: white;
}
.compare-page-category.golden {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  color: #92400e;
  font-weight: 600;
}
.compare-page-category.golden:hover {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  color: #78350f;
}

.compare-page-score {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px 20px;
  border-radius: 12px;
  margin-top: 8px;
  min-width: 90px;
}
.compare-page-score .score-number {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}
.compare-page-score .score-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.compare-page-score.brilliant {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  border: 1px solid var(--score-brilliant-outline);
}
.compare-page-score.brilliant .score-number {
  color: var(--score-brilliant-text);
}
.compare-page-score.brilliant .score-label {
  color: var(--score-brilliant-label);
}
.compare-page-score.excellent {
  background: var(--score-excellent-bg);
}
.compare-page-score.excellent .score-number {
  color: var(--score-excellent-text);
}
.compare-page-score.excellent .score-label {
  color: var(--score-excellent-label);
}
.compare-page-score.very-good {
  background: var(--score-very-good-bg);
}
.compare-page-score.very-good .score-number {
  color: var(--score-very-good-text);
}
.compare-page-score.very-good .score-label {
  color: var(--score-very-good-label);
}
.compare-page-score.good {
  background: var(--score-good-bg);
}
.compare-page-score.good .score-number {
  color: var(--score-good-text);
}
.compare-page-score.good .score-label {
  color: var(--score-good-label);
}
.compare-page-score.fair {
  background: var(--score-fair-bg);
}
.compare-page-score.fair .score-number {
  color: var(--score-fair-text);
}
.compare-page-score.fair .score-label {
  color: var(--score-fair-label);
}
.compare-page-score.average {
  background: var(--score-average-bg);
}
.compare-page-score.average .score-number {
  color: var(--score-average-text);
}
.compare-page-score.average .score-label {
  color: var(--score-average-label);
}
.compare-page-score.poor {
  background: var(--score-poor-bg);
}
.compare-page-score.poor .score-number {
  color: var(--score-poor-text);
}
.compare-page-score.poor .score-label {
  color: var(--score-poor-label);
}

.compare-page-vs {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 640px) {
  .compare-page-vs {
    padding: 8px 0;
  }
}

.vs-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--stitch-primary), #0052cc);
  color: white;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

.compare-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--stitch-text-main);
  margin: 0 0 20px;
  text-align: center;
}
.compare-section-title .material-symbols-outlined {
  font-size: 20px;
  width: 20px;
  height: 20px;
  color: var(--stitch-primary);
}

.compare-verdict-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--stitch-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}
.compare-verdict-section .compare-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}
.compare-verdict-section .compare-section-title .material-symbols-outlined {
  color: var(--stitch-primary);
  font-size: 24px;
}

.compare-verdict-card {
  background: white;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.verdict-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--stitch-text-main);
  margin: 0 0 16px;
}
.verdict-text p {
  margin: 0 0 12px;
}
.verdict-text p:last-child {
  margin-bottom: 0;
}

.verdict-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.verdict-winner,
.verdict-confidence {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--stitch-text-secondary);
}
.verdict-winner .material-symbols-outlined,
.verdict-confidence .material-symbols-outlined {
  font-size: 18px;
  position: relative;
  top: 1px;
}
.verdict-winner strong,
.verdict-confidence strong {
  color: var(--stitch-text-main);
}

.verdict-winner .material-symbols-outlined {
  color: #f59e0b;
}
.verdict-winner.tie .material-symbols-outlined {
  color: #6b7280;
}

.verdict-confidence.confidence-high .material-symbols-outlined {
  color: #10b981;
}
.verdict-confidence.confidence-medium .material-symbols-outlined {
  color: #f59e0b;
}
.verdict-confidence.confidence-low .material-symbols-outlined {
  color: #6b7280;
}

.compare-subsection-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main);
  margin: 24px 0 16px;
}

.compare-differences-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #f1f5f9;
}
.compare-differences-section .compare-section-title {
  margin-bottom: 24px;
}

.compare-differences {
  margin-top: 24px;
}

.differences-grid {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.differences-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  padding: 12px 16px;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 600;
  color: var(--stitch-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.differences-header span:first-child {
  text-align: right;
}
.differences-header span:last-child {
  text-align: left;
}
.differences-header .differences-aspect-header {
  text-align: center;
  min-width: 100px;
}

.differences-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
}
.differences-row:last-child {
  border-bottom: none;
}

.diff-aspect {
  font-size: 12px;
  font-weight: 600;
  color: var(--stitch-primary);
  text-align: center;
  min-width: 100px;
  padding: 4px 12px;
  background: rgba(0, 102, 255, 0.08);
  border-radius: 12px;
  align-self: center;
}

.diff-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 0 8px;
}

.slider-track {
  width: 80px;
  height: 10px;
  background: linear-gradient(90deg, #dbeafe 0%, #e5e7eb 50%, #fef3c7 100%);
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  border: 1px solid #d1d5db;
}

.slider-fill {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.slider-fill.left {
  left: 0;
  background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3);
}
.slider-fill.right {
  right: 0;
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.diff-value {
  font-size: 13px;
  color: var(--stitch-text-main);
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.diff-value .diff-text {
  display: block;
}
.diff-value.item1 {
  text-align: right;
}
.diff-value.item2 {
  text-align: left;
}
.diff-value.winner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(59, 130, 246, 0.12) 100%);
  color: #1e40af;
  font-weight: 500;
}
.diff-value.item1.winner {
  border-left: 3px solid #3b82f6;
}
.diff-value.item2.winner {
  border-right: 3px solid #3b82f6;
}
.diff-value.loser {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.08) 0%, rgba(245, 158, 11, 0.12) 100%);
  color: #92400e;
}
.diff-value.item1.loser {
  border-left: 3px solid #f59e0b;
}
.diff-value.item2.loser {
  border-right: 3px solid #f59e0b;
}

.compare-when-to-choose {
  margin-top: 24px;
}

.when-to-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .when-to-choose-grid {
    grid-template-columns: 1fr;
  }
}

.when-to-choose-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.when-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.when-card-header img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.when-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.when-card-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--stitch-text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
}
.when-card-list li:last-child {
  margin-bottom: 0;
}
.when-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--stitch-primary);
  border-radius: 50%;
}
.when-card-list li strong {
  color: var(--stitch-primary);
  font-weight: 600;
}

.tag-link {
  color: var(--stitch-primary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted var(--stitch-primary);
  transition: all 0.15s ease;
}
.tag-link:hover {
  color: #0052cc;
  border-bottom-style: solid;
}

.compare-breakdown-section,
.compare-details-section {
  background: white;
  border: 1px solid var(--stitch-border);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 24px;
}
.compare-breakdown-section .compare-section-title,
.compare-details-section .compare-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.compare-breakdown-section .compare-section-title .material-symbols-outlined,
.compare-details-section .compare-section-title .material-symbols-outlined {
  color: var(--stitch-primary);
  font-size: 20px;
}

.compare-breakdown-grid,
.compare-details-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-breakdown-row,
.compare-detail-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}
.compare-breakdown-row:last-child,
.compare-detail-row:last-child {
  border-bottom: none;
}

.breakdown-value,
.detail-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--stitch-text-main);
}
.breakdown-value:first-child,
.detail-value:first-child {
  text-align: right;
}
.breakdown-value:last-child,
.detail-value:last-child {
  text-align: left;
}
.breakdown-value.highlight,
.detail-value.highlight {
  color: #10b981;
}

.breakdown-label,
.detail-label {
  font-size: 13px;
  font-weight: 500;
  color: #637381;
  text-align: center;
  min-width: 100px;
}

.tags-row .detail-value {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags-row .detail-value:first-child {
  justify-content: flex-end;
}
.tags-row .detail-value:last-child {
  justify-content: flex-start;
}
.tags-row .detail-value.centered {
  justify-content: center !important;
  text-align: center;
}

.detail-tag {
  display: inline-block;
  padding: 3px 10px;
  background: #f3f4f6;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  color: #637381;
}

.compare-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.compare-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: white;
  border: 2px solid var(--stitch-border);
  border-radius: 12px;
  color: var(--stitch-text-main);
  text-decoration: none;
  transition: all 0.2s ease;
  min-width: 140px;
  max-width: 200px;
}
.compare-action-btn .action-btn-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}
.compare-action-btn .action-btn-title {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  color: var(--stitch-text-main);
}
.compare-action-btn .material-symbols-outlined {
  font-size: 18px;
  color: #637381;
}
.compare-action-btn:hover {
  border-color: var(--stitch-primary);
}
.compare-action-btn:hover .action-btn-title {
  color: var(--stitch-primary);
}
.compare-action-btn:hover .material-symbols-outlined {
  color: var(--stitch-primary);
}

.compare-overview-section {
  background: white;
  border: 1px solid var(--stitch-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}
.compare-overview-section .compare-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}
.compare-overview-section .compare-section-title .material-symbols-outlined {
  color: var(--stitch-primary);
  font-size: 22px;
}

.compare-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 640px) {
  .compare-overview-grid {
    grid-template-columns: 1fr;
  }
}

.compare-overview-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
}

.overview-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--stitch-text-main);
  margin: 0 0 12px;
}

.overview-card-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--stitch-text-secondary);
  margin-bottom: 12px;
}

.overview-card-empty {
  font-size: 14px;
  color: #9ca3af;
  font-style: italic;
  margin: 0;
}

.overview-read-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-primary);
  text-decoration: none;
}
.overview-read-more:hover {
  text-decoration: underline;
}

.compare-reviews-section {
  background: white;
  border: 1px solid var(--stitch-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}
.compare-reviews-section .compare-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}
.compare-reviews-section .compare-section-title .material-symbols-outlined {
  color: var(--stitch-primary);
  font-size: 22px;
}

.compare-reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 640px) {
  .compare-reviews-grid {
    grid-template-columns: 1fr;
  }
}

.compare-reviews-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reviews-column-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main);
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.compare-review-card {
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px;
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-author-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.review-author-link:hover .review-author {
  color: var(--stitch-primary);
}

.review-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.review-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--stitch-text-main);
  transition: color 0.15s ease;
}

.review-user-score {
  background: #f0f9ff;
  color: #0369a1;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  flex-shrink: 0;
}

.review-stars {
  display: flex;
  gap: 2px;
}
.review-stars .star {
  font-size: 12px;
  color: #d1d5db;
}
.review-stars .star.filled {
  color: #f59e0b;
}

.review-score-mini {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  flex-shrink: 0;
}
.review-score-mini.brilliant {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
}
.review-score-mini.excellent {
  background: #dcfce7;
  color: #166534;
}
.review-score-mini.very-good {
  background: #dbeafe;
  color: #1e40af;
}
.review-score-mini.good {
  background: #e0e7ff;
  color: #3730a3;
}
.review-score-mini.fair {
  background: #fef3c7;
  color: #92400e;
}
.review-score-mini.average {
  background: #fed7aa;
  color: #c2410c;
}
.review-score-mini.poor {
  background: #fee2e2;
  color: #991b1b;
}

.review-card-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--stitch-text-secondary);
  margin: 0;
}

.no-reviews-text {
  font-size: 13px;
  color: #9ca3af;
  font-style: italic;
  margin: 0;
  text-align: center;
  padding: 20px;
}

.see-all-reviews {
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-primary);
  text-decoration: none;
  text-align: center;
  padding: 8px;
}
.see-all-reviews:hover {
  text-decoration: underline;
}

.compare-similar-section {
  background: white;
  border: 1px solid var(--stitch-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}
.compare-similar-section .compare-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}
.compare-similar-section .compare-section-title .material-symbols-outlined {
  color: var(--stitch-primary);
  font-size: 22px;
}

.compare-similar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 640px) {
  .compare-similar-grid {
    grid-template-columns: 1fr;
  }
}

.compare-similar-single {
  display: flex;
  flex-direction: column;
}
.compare-similar-single .similar-items-single {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 640px) {
  .compare-similar-single .similar-items-single {
    grid-template-columns: 1fr;
  }
}
.compare-similar-single .see-all-similar {
  text-align: center;
  margin-top: 16px;
}

.compare-similar-column {
  display: flex;
  flex-direction: column;
}

.similar-column-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.similar-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.similar-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.similar-item-row:hover {
  background: #f1f5f9;
}

.similar-item-row .similar-item-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.similar-item-row .similar-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.similar-item-row .similar-item-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #6366f1;
}

.similar-item-name {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.similar-item-row .similar-item-score {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  flex-shrink: 0;
}
.similar-item-row .similar-item-score.brilliant {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  color: var(--score-brilliant-text);
}
.similar-item-row .similar-item-score.excellent {
  background: var(--score-excellent-bg);
  color: var(--score-excellent-text);
}
.similar-item-row .similar-item-score.very-good {
  background: var(--score-very-good-bg);
  color: var(--score-very-good-text);
}
.similar-item-row .similar-item-score.good {
  background: var(--score-good-bg);
  color: var(--score-good-text);
}
.similar-item-row .similar-item-score.fair {
  background: var(--score-fair-bg);
  color: var(--score-fair-text);
}
.similar-item-row .similar-item-score.average {
  background: var(--score-average-bg);
  color: var(--score-average-text);
}
.similar-item-row .similar-item-score.poor {
  background: var(--score-poor-bg);
  color: var(--score-poor-text);
}

.no-similar-text {
  font-size: 13px;
  color: #9ca3af;
  font-style: italic;
  margin: 0;
  text-align: center;
  padding: 20px;
}

.see-all-similar {
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-primary);
  text-decoration: none;
  text-align: center;
  padding: 12px 8px 0;
  margin-top: 8px;
}
.see-all-similar:hover {
  text-decoration: underline;
}

.similar-items-ranked {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ranked-item-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.ranked-item-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.ranked-item-card.top-ranked {
  border-color: #fcd34d;
  background: linear-gradient(135deg, rgba(253, 211, 77, 0.05), rgba(251, 191, 36, 0.08));
}

.rank-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rank-badge.gold {
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.ranked-item-image {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #667eea, #764ba2);
}
.ranked-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ranked-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.ranked-item-content {
  flex: 1;
  min-width: 0;
}

.ranked-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main);
  margin-bottom: 4px;
  line-height: 1.3;
}

.ranked-item-desc {
  font-size: 12px;
  color: var(--stitch-text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ranked-item-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 10px;
  flex-shrink: 0;
  position: relative;
}
.ranked-item-score .best-badge {
  position: absolute;
  top: -8px;
  right: -4px;
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.03em;
}
.ranked-item-score .score-value {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.ranked-item-score .score-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.9;
}
.ranked-item-score.brilliant {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
}
.ranked-item-score.brilliant .score-value {
  color: var(--score-brilliant-text);
}
.ranked-item-score.brilliant .score-label {
  color: var(--score-brilliant-label);
}
.ranked-item-score.excellent {
  background: var(--score-excellent-bg);
}
.ranked-item-score.excellent .score-value {
  color: var(--score-excellent-text);
}
.ranked-item-score.excellent .score-label {
  color: var(--score-excellent-label);
}
.ranked-item-score.very-good {
  background: var(--score-very-good-bg);
}
.ranked-item-score.very-good .score-value {
  color: var(--score-very-good-text);
}
.ranked-item-score.very-good .score-label {
  color: var(--score-very-good-label);
}
.ranked-item-score.good {
  background: var(--score-good-bg);
}
.ranked-item-score.good .score-value {
  color: var(--score-good-text);
}
.ranked-item-score.good .score-label {
  color: var(--score-good-label);
}
.ranked-item-score.fair {
  background: var(--score-fair-bg);
}
.ranked-item-score.fair .score-value {
  color: var(--score-fair-text);
}
.ranked-item-score.fair .score-label {
  color: var(--score-fair-label);
}
.ranked-item-score.average {
  background: var(--score-average-bg);
}
.ranked-item-score.average .score-value {
  color: var(--score-average-text);
}
.ranked-item-score.average .score-label {
  color: var(--score-average-label);
}
.ranked-item-score.poor {
  background: var(--score-poor-bg);
}
.ranked-item-score.poor .score-value {
  color: var(--score-poor-text);
}
.ranked-item-score.poor .score-label {
  color: var(--score-poor-label);
}

.detail-tag-link {
  display: inline-block;
  padding: 4px 10px;
  background: #f3f4f6;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #637381;
  text-decoration: none;
  transition: all 0.2s ease;
}
.detail-tag-link:hover {
  background: var(--stitch-primary);
  color: white;
}
.detail-tag-link.key-tag {
  background: var(--stitch-primary);
  color: white;
  font-weight: 600;
}
.detail-tag-link.key-tag:hover {
  background: #0052cc;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.compare-share-buttons,
.share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
@media (max-width: 768px) {
  .compare-share-buttons,
.share-buttons {
    margin-left: 0;
    margin-top: 12px;
    width: 100%;
    justify-content: center;
  }
}

.share-buttons {
  margin-left: 0;
  margin-top: 12px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: white;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}
.share-btn svg {
  width: 18px;
  height: 18px;
}
.share-btn:hover {
  border-color: var(--stitch-primary);
  color: var(--stitch-primary);
  background: rgba(0, 102, 255, 0.05);
}
.share-btn.twitter:hover {
  border-color: #1DA1F2;
  color: #1DA1F2;
  background: rgba(29, 161, 242, 0.08);
}
.share-btn.reddit:hover {
  border-color: #FF4500;
  color: #FF4500;
  background: rgba(255, 69, 0, 0.08);
}
.share-btn.facebook:hover {
  border-color: #1877F2;
  color: #1877F2;
  background: rgba(24, 119, 242, 0.08);
}

.battle-toggle-row {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}

.battle-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}
.battle-toggle-btn svg {
  width: 20px;
  height: 20px;
}
.battle-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}
.battle-toggle-btn:active {
  transform: translateY(0);
}

.battle-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.compare-page-grid {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.compare-page-grid.winner-revealed {
  opacity: 1;
  transform: translateY(0);
}

[x-cloak] {
  display: none !important;
}

.battle-arena {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  padding: 40px;
  padding-top: 80px;
  width: 100%;
  max-width: 900px;
  position: relative;
  min-height: 250px;
}
@media (max-width: 768px) {
  .battle-arena {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
    padding-top: 40px;
  }
}

.battle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: battleItemSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
}
.battle-item.battle-item-1 {
  animation-delay: 0.2s;
  opacity: 0;
  transform: translateX(-50px);
}
.battle-item.battle-item-2 {
  animation-delay: 0.4s;
  opacity: 0;
  transform: translateX(50px);
}
.battle-item img {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.battle-item.battle-pulse img, .battle-item.battle-pulse .battle-placeholder {
  transform: scale(1.25);
  box-shadow: 0 8px 48px rgba(249, 115, 22, 0.5), 0 8px 32px rgba(0, 0, 0, 0.4);
}
.battle-item.battle-winner {
  z-index: 10;
}
.battle-item.battle-winner img, .battle-item.battle-winner .battle-placeholder {
  transform: scale(1.5);
  border-color: #fcd34d;
  box-shadow: 0 0 60px rgba(252, 211, 77, 0.6), 0 8px 32px rgba(0, 0, 0, 0.4);
}
.battle-item.battle-loser {
  animation: battleLoserOut 0.6s cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards;
  position: absolute;
}
.battle-item.battle-draw-item img, .battle-item.battle-draw-item .battle-placeholder {
  transform: scale(1.1);
  border-color: #fcd34d;
  box-shadow: 0 0 40px rgba(252, 211, 77, 0.4), 0 8px 32px rgba(0, 0, 0, 0.4);
}
@keyframes battleItemSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes battleLoserOut {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  60% {
    opacity: 0.5;
    transform: scale(0.6) rotate(15deg);
  }
  100% {
    opacity: 0;
    transform: scale(0) rotate(30deg);
    pointer-events: none;
  }
}
.battle-name {
  display: none;
}

.battle-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: white;
  border: 4px solid white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.battle-item-image {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.battle-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .battle-item-image {
    width: 100px;
    height: 100px;
  }
}

.battle-item-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: white;
}

.battle-item-name {
  font-size: 18px;
  font-weight: 700;
  color: white;
  text-align: center;
  max-width: 150px;
}
@media (max-width: 768px) {
  .battle-item-name {
    font-size: 16px;
  }
}

.battle-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 120px;
  transition: opacity 0.4s ease, transform 0.4s ease, min-width 0.4s ease, width 0.4s ease;
}
.battle-vs.battle-vs-hidden {
  opacity: 0;
  transform: scale(0);
  min-width: 0;
  width: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
.battle-vs .battle-vs-text {
  font-size: 48px;
  font-weight: 900;
  color: #f97316;
  text-shadow: 0 0 40px rgba(249, 115, 22, 0.6);
}
@media (max-width: 768px) {
  .battle-vs {
    min-width: 100px;
    height: 100px;
  }
  .battle-vs .battle-vs-text {
    font-size: 36px;
  }
}

.battle-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
}

.countdown-number {
  font-size: 96px;
  font-weight: 900;
  color: #f97316;
  text-shadow: 0 0 40px rgba(249, 115, 22, 0.8), 0 0 80px rgba(249, 115, 22, 0.4);
  animation: countdownPulse 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.countdown-number.countdown-fight {
  font-size: 64px;
  color: #ef4444;
  text-shadow: 0 0 40px rgba(239, 68, 68, 0.8), 0 0 80px rgba(239, 68, 68, 0.4);
  animation: fightPulse 0.3s ease-in-out infinite alternate;
}
@media (max-width: 768px) {
  .countdown-number {
    font-size: 72px;
  }
  .countdown-number.countdown-fight {
    font-size: 48px;
  }
}

@keyframes countdownPulse {
  0% {
    opacity: 0;
    transform: scale(2);
  }
  50% {
    opacity: 1;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes countdownFight {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}
@keyframes fightPulse {
  0% {
    transform: scale(1);
    text-shadow: 0 0 40px rgba(239, 68, 68, 0.8), 0 0 80px rgba(239, 68, 68, 0.4);
  }
  100% {
    transform: scale(1.15);
    text-shadow: 0 0 60px rgb(239, 68, 68), 0 0 120px rgba(239, 68, 68, 0.6);
  }
}
.battle-slide-in {
  animation: battleSlideIn 0.5s ease-out forwards;
}

@keyframes battleSlideIn {
  0% {
    opacity: 0;
    transform: translateX(var(--slide-direction, -50px));
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.battle-item-1.battle-slide-in {
  --slide-direction: -50px;
}

.battle-item-2.battle-slide-in {
  --slide-direction: 50px;
}

.battle-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  animation: battleResultFadeIn 0.5s ease 0.3s forwards;
  opacity: 0;
  transform: translateY(20px);
}

.battle-result-image {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  border: 3px solid #fcd34d;
  box-shadow: 0 0 60px rgba(252, 211, 77, 0.6), 0 8px 32px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  margin-bottom: 8px;
}

@keyframes battleResultFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.battle-winner-label {
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.battle-winner-text {
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.battle-winner-name {
  font-size: 32px;
  font-weight: 800;
  color: #fcd34d;
  text-shadow: 0 0 30px rgba(252, 211, 77, 0.5);
}
@media (max-width: 768px) {
  .battle-winner-name {
    font-size: 24px;
  }
}

.battle-tie-text {
  font-size: 28px;
  font-weight: 700;
  color: white;
}
@media (max-width: 768px) {
  .battle-tie-text {
    font-size: 22px;
  }
}

.battle-verdict {
  max-width: 400px;
  margin-top: 16px;
  font-size: 14px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 768px) {
  .battle-verdict {
    font-size: 13px;
    max-width: 280px;
  }
}

.battle-view-results-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 28px;
  background: #f97316;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}
.battle-view-results-btn .material-symbols-outlined {
  font-size: 20px;
}
.battle-view-results-btn:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(249, 115, 22, 0.5);
}
.battle-view-results-btn:active {
  transform: translateY(0);
}

.battle-close-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: #6b7280;
  opacity: 0;
  transition: opacity 0.3s ease;
  transition-delay: 1.5s;
}
.battle-close-hint.show {
  opacity: 1;
}

.cumulative-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #f3f4f6;
  border-radius: 20px;
  font-size: 12px;
  color: #6b7280;
  margin-top: 8px;
}
.cumulative-score-badge strong {
  font-weight: 700;
  color: var(--stitch-text-main);
}

.compare-pros-cons-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #f1f5f9;
}
.compare-pros-cons-section .compare-section-title {
  margin-bottom: 24px;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .pros-cons-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.pros-cons-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
}

.pros-cons-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #e5e7eb;
}
.pros-cons-header img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.pros-cons-header span {
  font-size: 15px;
  font-weight: 600;
  color: var(--stitch-text-main);
}

.pros-cons-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.pros-cons-item-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--stitch-text-main);
}

.pros-cons-content {
  padding: 20px;
}

.pros-list,
.cons-list {
  padding: 16px 20px;
}
.pros-list:last-child,
.cons-list:last-child {
  padding-bottom: 20px;
}
.pros-list h4,
.cons-list h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 12px;
  padding: 0;
}
.pros-list h4 .material-symbols-outlined,
.cons-list h4 .material-symbols-outlined {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.pros-list {
  border-bottom: 1px solid #f1f5f9;
}
.pros-list h4 {
  color: #10b981;
}

.cons-list h4 {
  color: #ef4444;
}

.pros-cons-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.pros-cons-label.pros {
  color: #10b981;
}
.pros-cons-label.cons {
  color: #ef4444;
}
.pros-cons-label svg {
  width: 16px;
  height: 16px;
}

.pros-list ul,
.cons-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pros-cons-card .pros-list li,
.pros-cons-card .cons-list li {
  font-size: 13px;
  color: var(--stitch-text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.pros-cons-card .pros-list li::before,
.pros-cons-card .cons-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.pros-cons-card .pros-list li::before {
  background: #10b981;
}

.pros-cons-card .cons-list li::before {
  background: #ef4444;
}

.compare-features-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #f1f5f9;
}
.compare-features-section .compare-section-title {
  margin-bottom: 24px;
}

.features-comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}
.features-comparison-table th, .features-comparison-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}
.features-comparison-table th {
  background: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  color: var(--stitch-text-main);
}
.features-comparison-table td {
  font-size: 13px;
  color: var(--stitch-text-secondary);
}
.features-comparison-table tr:last-child td {
  border-bottom: none;
}
.features-comparison-table .feature-name {
  font-weight: 500;
  color: var(--stitch-text-main);
  width: 30%;
}
.features-comparison-table .feature-item1,
.features-comparison-table .feature-item2 {
  width: 35%;
}
@media (max-width: 768px) {
  .features-comparison-table {
    font-size: 12px;
  }
  .features-comparison-table th, .features-comparison-table td {
    padding: 10px 12px;
  }
}

.compare-pricing-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #f1f5f9;
}
.compare-pricing-section .compare-section-title {
  margin-bottom: 24px;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.pricing-item-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--stitch-text-main);
  margin-bottom: 12px;
}

.pricing-amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--stitch-primary);
  margin-bottom: 12px;
}

.pricing-value-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.pricing-value-badge.excellent {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.pricing-value-badge.good {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.pricing-value-badge.fair {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}
.pricing-value-badge.poor {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.diff-winner-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
  color: #78350f;
  margin-left: 8px;
}
.diff-winner-badge svg {
  width: 12px;
  height: 12px;
}

.diff-aspect {
  display: flex;
  align-items: center;
  gap: 4px;
}

.embed-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.embed-modal-content {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  overflow: hidden;
}

.embed-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.embed-modal-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--stitch-text-main);
  margin: 0;
}

.embed-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  color: #9ca3af;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.embed-modal-close:hover {
  background: #f3f4f6;
  color: var(--stitch-text-main);
}
.embed-modal-close svg {
  width: 20px;
  height: 20px;
}

.embed-modal-body {
  padding: 20px;
}

.embed-code-wrapper {
  margin-bottom: 16px;
}

.embed-code-wrapper label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--stitch-text-main);
  margin-bottom: 8px;
}

.embed-code-wrapper textarea {
  width: 100%;
  height: 100px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-family: "Monaco", "Menlo", monospace;
  font-size: 12px;
  color: var(--stitch-text-secondary);
  background: #f8fafc;
  resize: none;
}

.embed-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--stitch-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.embed-copy-btn:hover {
  background: #0052cc;
}
.embed-copy-btn svg {
  width: 16px;
  height: 16px;
}

.compare-another-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: none;
  background: white;
  border: 1px solid var(--stitch-border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.compare-another-section .compare-section-title {
  margin-bottom: 24px;
}

.compare-another-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 768px) {
  .compare-another-cards {
    grid-template-columns: 1fr;
  }
}

.compare-another-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.compare-another-card > span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main);
  margin-bottom: 12px;
}
.compare-another-card .compare-search-mini {
  max-width: 100%;
}

.compare-search-mini {
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}

.compare-search-mini input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  color: var(--stitch-text-main);
  transition: all 0.2s ease;
}
.compare-search-mini input::placeholder {
  color: #9ca3af;
}
.compare-search-mini input:focus {
  outline: none;
  border-color: var(--stitch-primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.compare-search-mini .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}
.compare-search-mini .search-icon svg {
  width: 18px;
  height: 18px;
}

.compare-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  max-height: 280px;
  overflow-y: auto;
  z-index: 100;
}

.compare-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f3f4f6;
}
.compare-result-item:last-child {
  border-bottom: none;
}
.compare-result-item:hover {
  background: #f8fafc;
}

.compare-result-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.compare-result-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-result-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.compare-result-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.compare-result-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--stitch-text-main);
  margin-bottom: 2px;
}

.compare-result-category {
  font-size: 12px;
  color: var(--stitch-text-secondary);
}

.compare-search-loading,
.compare-search-empty {
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
}

@media (max-width: 768px) {
  .item-tags {
    flex-wrap: nowrap !important;
    overflow: hidden;
  }
  .item-tags .tag {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

.item-content .item-tags {
  flex-wrap: nowrap;
  overflow: hidden;
}
.item-content .item-tags .tag {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .stitch-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
  }

  .stitch-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: white;
    padding: 24px;
    overflow-y: auto;
    z-index: 10000;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  }

  .stitch-header-nav {
    display: none;
  }

  .stitch-login-link,
.stitch-cta-btn {
    display: none;
  }

  .stitch-mobile-menu-btn {
    display: flex !important;
  }
}
@media (max-width: 768px) {
  .stitch-page-wrapper,
.stitch-content,
.stitch-list-wrapper {
    max-width: 100vw;
    overflow-x: hidden;
  }
}

@media (max-width: 640px) {
  .item-card {
    max-width: 100%;
    overflow: hidden;
  }

  .item-content {
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }

  .item-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.mobile-score-badge.brilliant {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%) !important;
  border-color: #f59e0b !important;
}
.mobile-score-badge.brilliant .mobile-score-number {
  color: #92400e !important;
}
.mobile-score-badge.brilliant .mobile-score-label {
  color: #78350f !important;
}

.stitch-edit-page {
  min-height: 100vh;
  background: #f5f6f8;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stitch-edit-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  max-width: 720px;
  background: rgba(245, 246, 248, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
}

.stitch-edit-header-inner {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.stitch-edit-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stitch-edit-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 12px;
  color: #64748b;
  transition: all 0.2s;
}
.stitch-edit-back-btn:hover {
  background: #e2e8f0;
  color: #334155;
}
.stitch-edit-back-btn .material-symbols-outlined {
  font-size: 24px;
  width: 24px;
  height: 24px;
}

.stitch-edit-header-title {
  display: flex;
  flex-direction: column;
}
.stitch-edit-header-title h1 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #0f172a;
  margin: 0;
}

.stitch-edit-header-meta {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

.stitch-edit-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stitch-btn-primary {
  height: 40px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #0055ff;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.stitch-btn-primary:hover {
  background: #0044cc;
}
.stitch-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.stitch-btn-secondary {
  height: 40px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: transparent;
  border: 1px solid #e5e7eb;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.stitch-btn-secondary:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.stitch-btn-text {
  padding: 8px 12px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.stitch-btn-text:hover {
  color: #1e293b;
}

.stitch-btn-danger {
  height: 40px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #ef4444;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.stitch-btn-danger:hover {
  background: #dc2626;
}
.stitch-btn-danger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.stitch-edit-loading {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #1e293b;
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.stitch-edit-loading .material-symbols-outlined {
  font-size: 18px;
  width: 18px;
  height: 18px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.stitch-edit-main {
  width: 100%;
  max-width: 720px;
  padding: 32px 16px 140px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.stitch-edit-main form {
  display: contents;
}

.stitch-edit-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.stitch-edit-card h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
  margin: 0;
}

.stitch-edit-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.stitch-type-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
}

.stitch-type-option {
  cursor: pointer;
}
.stitch-type-option input {
  display: none;
}
.stitch-type-option span {
  display: block;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  color: #64748b;
  transition: all 0.2s;
}
.stitch-type-option span.active {
  background: #fff;
  color: #0055ff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.stitch-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stitch-form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .stitch-form-row-2col {
    grid-template-columns: 1fr;
  }
}

.stitch-label-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 8px;
}

.stitch-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.stitch-char-count {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
}

.stitch-input {
  height: 40px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0 12px;
  font-size: 14px;
  color: #0f172a;
  transition: all 0.2s;
}
.stitch-input::placeholder {
  color: #94a3b8;
}
.stitch-input:focus {
  outline: none;
  border-color: #0055ff;
  box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.1);
}
.stitch-input.is-invalid {
  border-color: #ef4444;
}

.stitch-textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 12px;
  font-size: 14px;
  color: #0f172a;
  resize: vertical;
  min-height: 100px;
  transition: all 0.2s;
}
.stitch-textarea::placeholder {
  color: #94a3b8;
}
.stitch-textarea:focus {
  outline: none;
  border-color: #0055ff;
  box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.1);
}
.stitch-textarea.is-invalid {
  border-color: #ef4444;
}

.stitch-input-icon-wrapper {
  position: relative;
}
.stitch-input-icon-wrapper .stitch-input {
  padding-right: 40px;
}
.stitch-input-icon-wrapper .stitch-input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  width: 20px;
  height: 20px;
  color: #94a3b8;
  pointer-events: none;
}

.stitch-input-with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stitch-input-with-icon .material-symbols-outlined {
  font-size: 20px;
  width: 20px;
  height: 20px;
  color: #94a3b8;
  flex-shrink: 0;
}
.stitch-input-with-icon .stitch-input {
  flex: 1;
}

.stitch-ai-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(0, 85, 255, 0.05);
  color: #0055ff;
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.stitch-ai-btn .material-symbols-outlined {
  font-size: 16px;
  width: 16px;
  height: 16px;
}
.stitch-ai-btn:hover {
  background: rgba(0, 85, 255, 0.1);
}
.stitch-ai-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.stitch-score-group {
  max-width: 200px;
}

.stitch-score-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stitch-score-lock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  cursor: pointer;
  color: #9ca3af;
  transition: all 0.15s;
}
.stitch-score-lock-btn:hover {
  border-color: #f59e0b;
  color: #f59e0b;
}
.stitch-score-lock-btn.locked {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #d97706;
}

.stitch-score-input {
  flex: 1;
  text-align: center;
  font-weight: 600;
}

.stitch-score-preview {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.stitch-score-preview.brilliant {
  background: var(--score-brilliant-bg);
  color: var(--score-brilliant-text);
  border: 1px solid var(--score-brilliant-outline);
}
.stitch-score-preview.excellent {
  background: var(--score-excellent-bg);
  color: var(--score-excellent-text);
}
.stitch-score-preview.very-good {
  background: var(--score-very-good-bg);
  color: var(--score-very-good-text);
}
.stitch-score-preview.good {
  background: var(--score-good-bg);
  color: var(--score-good-text);
}
.stitch-score-preview.fair {
  background: var(--score-fair-bg);
  color: var(--score-fair-text);
}
.stitch-score-preview.average {
  background: var(--score-average-bg);
  color: var(--score-average-text);
}
.stitch-score-preview.poor {
  background: var(--score-poor-bg);
  color: var(--score-poor-text);
}

.stitch-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 640px) {
  .stitch-media-grid {
    grid-template-columns: 1fr;
  }
}

.stitch-upload-zone {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  border-radius: 12px;
  border: 2px dashed #cbd5e1;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  overflow: hidden;
}
.stitch-upload-zone:hover {
  border-color: rgba(0, 85, 255, 0.5);
  background: rgba(0, 85, 255, 0.02);
}
.stitch-upload-zone.loading {
  opacity: 0.6;
  pointer-events: none;
}
.stitch-upload-zone.has-image {
  border-style: solid;
  border-color: #e5e7eb;
}
.stitch-upload-zone.has-image:hover {
  border-color: rgba(0, 85, 255, 0.5);
}
.stitch-upload-zone.has-image:hover .stitch-upload-hover-overlay {
  opacity: 1;
}

.stitch-upload-preview {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.has-image .stitch-upload-preview {
  opacity: 1;
}
.stitch-upload-zone:not(.has-image) .stitch-upload-preview {
  opacity: 0.4;
}

.stitch-upload-hover-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.2s;
  cursor: pointer;
}
.stitch-upload-hover-overlay .stitch-upload-icon {
  background: rgba(255, 255, 255, 0.9);
}
.stitch-upload-hover-overlay .stitch-upload-text {
  color: #fff;
}

.stitch-upload-generating {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
}

.stitch-generating-spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0055ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.stitch-generating-spinner .material-symbols-outlined {
  font-size: 28px;
  width: 28px;
  height: 28px;
  color: #fff;
}

.stitch-upload-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
  cursor: pointer;
}

.stitch-upload-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.stitch-upload-icon .material-symbols-outlined {
  font-size: 20px;
  width: 20px;
  height: 20px;
  color: #64748b;
}

.stitch-upload-text {
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  margin: 0;
}

.stitch-upload-hint {
  font-size: 12px;
  color: #94a3b8;
  margin: 4px 0 0;
}

.stitch-media-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

.stitch-generate-btn {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  background: #1e293b;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.stitch-generate-btn .stitch-btn-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.stitch-generate-btn .material-symbols-outlined {
  font-size: 18px;
  width: 18px;
  height: 18px;
}
.stitch-generate-btn:hover {
  opacity: 0.9;
}
.stitch-generate-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.stitch-generate-btn.generating {
  background: #0055ff;
  cursor: wait;
}

.stitch-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stitch-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: #f1f5f9;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.stitch-tag:hover {
  border-color: #cbd5e1;
}

.stitch-tag-remove {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 4px;
  color: #94a3b8;
  transition: all 0.2s;
}
.stitch-tag-remove .material-symbols-outlined {
  font-size: 14px;
  width: 14px;
  height: 14px;
}
.stitch-tag-remove:hover {
  background: #e2e8f0;
  color: #475569;
}

.stitch-tag-input {
  background: transparent;
  border: none;
  font-size: 14px;
  color: #64748b;
  padding: 6px 4px;
  min-width: 80px;
  flex: 1;
}
.stitch-tag-input::placeholder {
  color: #94a3b8;
}
.stitch-tag-input:focus {
  outline: none;
}

.stitch-lists-header {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 16px;
}

.stitch-link-btn {
  color: #0055ff;
  font-size: 14px;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.stitch-link-btn:hover {
  text-decoration: underline;
}

.stitch-new-list-form {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.stitch-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.stitch-checkbox-label input[type=checkbox] {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  accent-color: #0055ff;
}
.stitch-checkbox-label span {
  font-size: 14px;
  color: #475569;
}

.stitch-visibility-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stitch-toggle-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.stitch-toggle-option:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}
.stitch-toggle-option.active {
  border-color: var(--stitch-primary, #0066FF);
  background: #f0f7ff;
}
.stitch-toggle-option.active .material-symbols-outlined {
  color: var(--stitch-primary, #0066FF);
}
.stitch-toggle-option.active .stitch-toggle-label {
  color: var(--stitch-primary, #0066FF);
}
.stitch-toggle-option .material-symbols-outlined {
  font-size: 32px;
  color: #9ca3af;
  transition: color 0.2s;
}
.stitch-toggle-option .stitch-toggle-label {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  transition: color 0.2s;
}
.stitch-toggle-option .stitch-toggle-desc {
  font-size: 13px;
  color: #6b7280;
}

.stitch-label-optional {
  font-weight: 400;
  color: #9ca3af;
}

.stitch-form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.stitch-lists-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stitch-list-option {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 4px 0;
}
.stitch-list-option:hover .stitch-list-name {
  color: #0f172a;
}
.stitch-list-option.selected .stitch-list-checkbox {
  background: #0055ff;
  border-color: #0055ff;
}
.stitch-list-option.selected .stitch-list-checkbox .material-symbols-outlined {
  color: #fff;
}

.stitch-list-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.stitch-list-checkbox .material-symbols-outlined {
  font-size: 14px;
  width: 14px;
  height: 14px;
  color: transparent;
}

.stitch-list-name {
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  transition: color 0.2s;
}

.stitch-admin-card {
  background: #f1f5f9;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.stitch-admin-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stitch-admin-header .material-symbols-outlined {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.stitch-mono {
  font-family: "SF Mono", Monaco, Consolas, monospace;
}

.stitch-hint {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
}

.stitch-error {
  font-size: 13px;
  color: #ef4444;
  margin-top: 4px;
}

.stitch-info-text {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

.stitch-link-helper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #0055ff;
  margin-top: 8px;
}
.stitch-link-helper .material-symbols-outlined {
  font-size: 16px;
  width: 16px;
  height: 16px;
}
.stitch-link-helper:hover {
  text-decoration: underline;
}

.stitch-edit-footer {
  position: fixed;
  bottom: 0;
  z-index: 50;
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.05);
}

.stitch-delete-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ef4444;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 12px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.stitch-delete-btn .material-symbols-outlined {
  font-size: 18px;
  width: 18px;
  height: 18px;
}
.stitch-delete-btn:hover {
  background: rgba(239, 68, 68, 0.1);
}

.stitch-footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stitch-btn-save {
  padding: 0 32px;
  box-shadow: 0 4px 12px rgba(0, 85, 255, 0.2);
}
.stitch-btn-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 85, 255, 0.3);
}

.stitch-delete-modal {
  padding: 40px;
  text-align: center;
}
.stitch-delete-modal h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 16px 0 8px;
}
.stitch-delete-modal p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 24px;
}

.stitch-delete-modal-icon {
  font-size: 48px;
  width: 48px;
  height: 48px;
  color: #ef4444;
}

.stitch-delete-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

[x-cloak] {
  display: none !important;
}

@media (max-width: 640px) {
  .stitch-edit-header-inner {
    padding: 12px 16px;
  }

  .stitch-edit-header-title h1 {
    font-size: 16px;
  }

  .stitch-btn-secondary {
    display: none;
  }

  .stitch-edit-main {
    padding: 16px 12px 120px;
  }

  .stitch-edit-card {
    padding: 16px;
    gap: 16px;
  }

  .stitch-type-toggle {
    flex-wrap: wrap;
  }

  .stitch-type-option span {
    padding: 6px 12px;
    font-size: 11px;
  }

  .stitch-edit-footer {
    padding: 12px 16px;
  }

  .stitch-btn-save {
    padding: 0 24px;
  }
}
.lead-magnet {
  background: linear-gradient(145deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  margin-bottom: 80px;
}
.lead-magnet::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.lead-magnet-content {
  position: relative;
  z-index: 1;
}

.lead-magnet-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.lead-magnet-icon-wrap {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lead-magnet-icon-wrap .material-symbols-outlined {
  color: white;
  font-size: 22px;
}

.lead-magnet-headline {
  color: white;
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lead-magnet-subheadline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.lead-magnet-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lead-magnet-input-wrap {
  position: relative;
}

.lead-magnet-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  color: #1a1a2e;
  transition: all 0.2s ease;
}
.lead-magnet-input::placeholder {
  color: #9ca3af;
}
.lead-magnet-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}
.lead-magnet-input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.lead-magnet-btn {
  width: 100%;
  padding: 12px 20px;
  background: white;
  color: #667eea;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
}
.lead-magnet-btn:hover:not(:disabled) {
  background: #f8f9ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.lead-magnet-btn:active:not(:disabled) {
  transform: translateY(0);
}
.lead-magnet-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.lead-magnet-btn.loading {
  pointer-events: none;
}

.lead-magnet-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-top-color: #667eea;
  border-radius: 50%;
  animation: lead-magnet-spin 0.8s linear infinite;
}

@keyframes lead-magnet-spin {
  to {
    transform: rotate(360deg);
  }
}
.lead-magnet-error {
  color: #fecaca;
  font-size: 12px;
  margin: 8px 0 0;
  padding: 8px 12px;
  background: rgba(239, 68, 68, 0.2);
  border-radius: 6px;
}

.lead-magnet-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.lead-magnet-trust-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
}
.lead-magnet-trust-item .material-symbols-outlined {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.lead-magnet-success {
  text-align: center;
  padding: 8px 0;
  position: relative;
  z-index: 1;
}

.lead-magnet-success-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.lead-magnet-success-icon .material-symbols-outlined {
  font-size: 32px;
  color: white;
}

.lead-magnet-success-title {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.lead-magnet-success-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

.lead-magnet[data-variant=hidden-gems] {
  background: linear-gradient(145deg, #f59e0b 0%, #d97706 100%);
}
.lead-magnet[data-variant=hidden-gems] .lead-magnet-btn {
  color: #d97706;
}
.lead-magnet[data-variant=hidden-gems] .lead-magnet-spinner {
  border-color: rgba(217, 119, 6, 0.3);
  border-top-color: #d97706;
}

.lead-magnet[data-variant=track-list] {
  background: linear-gradient(145deg, #10b981 0%, #059669 100%);
}
.lead-magnet[data-variant=track-list] .lead-magnet-btn {
  color: #059669;
}
.lead-magnet[data-variant=track-list] .lead-magnet-spinner {
  border-color: rgba(5, 150, 105, 0.3);
  border-top-color: #059669;
}

.lead-magnet[data-variant=weekly-movers] {
  background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 100%);
}
.lead-magnet[data-variant=weekly-movers] .lead-magnet-btn {
  color: #1d4ed8;
}
.lead-magnet[data-variant=weekly-movers] .lead-magnet-spinner {
  border-color: rgba(29, 78, 216, 0.3);
  border-top-color: #1d4ed8;
}

.lead-magnet-spotlight {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.lead-magnet-spotlight [x-cloak] {
  display: none !important;
}

.spotlight-content {
  display: flex;
  flex-direction: column;
}

.spotlight-hero {
  position: relative;
  height: 180px;
  width: 100%;
  overflow: hidden;
}

.spotlight-hero-fallback {
  background: linear-gradient(145deg, #0d65f2 0%, #0b56d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
}

.spotlight-hero-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spotlight-hero-icon .material-symbols-outlined {
  font-size: 32px;
  color: white;
}

.spotlight-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.spotlight-close:hover {
  background: rgba(0, 0, 0, 0.45);
}
.spotlight-close .material-symbols-outlined {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  font-variation-settings: "FILL" 0, "wght" 500;
}
.spotlight-close.spotlight-close-fallback {
  background: rgba(255, 255, 255, 0.2);
}
.spotlight-close.spotlight-close-fallback:hover {
  background: rgba(255, 255, 255, 0.35);
}
.spotlight-close.spotlight-close-fallback .material-symbols-outlined {
  color: white;
}

.spotlight-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  line-height: 1;
}
.spotlight-badge .material-symbols-outlined {
  font-size: 16px;
  color: #eab308;
  line-height: 1;
  transform: none;
  height: auto;
  width: auto;
}

.spotlight-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.lead-magnet-spotlight:hover .spotlight-hero-img {
  transform: scale(1.05);
}

.spotlight-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2) 50%, transparent);
}

.spotlight-hero-caption {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
  z-index: 10;
}

.spotlight-item-title {
  color: white;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0;
}

.spotlight-item-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 500;
  margin: 4px 0 0 0;
}

.spotlight-form-section {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spotlight-headline {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  margin: 0;
}

.spotlight-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.5;
  margin: -8px 0 0 0;
}

.spotlight-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spotlight-input {
  width: 100%;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #1e293b;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.spotlight-input::placeholder {
  color: #94a3b8;
}
.spotlight-input:focus {
  outline: none;
  border-color: var(--stitch-primary, #0d65f2);
  box-shadow: 0 0 0 3px rgba(13, 101, 242, 0.1);
}
.spotlight-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.spotlight-btn {
  width: 100%;
  padding: 12px 16px;
  background: #1e293b;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.spotlight-btn:hover:not(:disabled) {
  background: #334155;
}
.spotlight-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.spotlight-btn .material-symbols-outlined {
  font-size: 18px;
}

.spotlight-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.spotlight-error {
  font-size: 12px;
  color: #ef4444;
  text-align: center;
  margin: 0;
}

.spotlight-footer {
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
  margin: 0;
}

.spotlight-success {
  padding: 32px 20px;
  text-align: center;
}

.spotlight-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: linear-gradient(145deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spotlight-success-icon .material-symbols-outlined {
  font-size: 28px;
  color: white;
}

.spotlight-success-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px 0;
}

.spotlight-success-text {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.discover-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.discover-hero {
  text-align: center;
  padding: 32px 24px;
  margin: 0 -16px 24px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.discover-hero h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--stitch-text-main, #0d0d1c);
  margin: 0 0 6px;
}
.discover-hero p {
  font-size: 15px;
  color: #637381;
  margin: 0 0 20px;
}
.discover-hero .discover-search {
  max-width: 460px;
  margin: 0 auto;
}

.discover-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  padding-bottom: 60px;
}
@media (max-width: 1024px) {
  .discover-layout {
    grid-template-columns: 1fr;
  }
}

.discover-main {
  min-width: 0;
}

@media (max-width: 1024px) {
  .discover-sidebar {
    display: none;
  }
}

.discover-section {
  margin-bottom: 32px;
  padding: 20px;
  border-radius: 14px;
}
.discover-section:nth-child(odd) {
  background: #f8fafc;
}
.discover-section:nth-child(even) {
  background: #fff;
  border: 1px solid #f1f5f9;
}

.discover-section-header {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}
.discover-section-header h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--stitch-text-main, #0d0d1c);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.discover-section-header h2 .material-symbols-outlined {
  font-size: 20px;
  color: #6c47c2;
}
.discover-section-header .discover-section-subtitle {
  font-size: 13px;
  color: #637381;
  margin: 4px 0 0;
}

.discover-grid {
  display: grid;
  gap: 8px;
}

.discover-grid-4 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
  .discover-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .discover-grid-4 {
    grid-template-columns: 1fr;
  }
}
.discover-grid-4 .discover-card {
  min-width: 0;
  overflow: hidden;
}

.discover-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 12px;
  transition: box-shadow 0.2s, border-color 0.15s;
  text-decoration: none;
  color: inherit;
}
.discover-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-color: #c4b5fd;
}

.discover-card-image {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f1f5f9;
  overflow: hidden;
  flex-shrink: 0;
}
.discover-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discover-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #94a3b8;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.discover-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.discover-card-text {
  flex: 1;
  min-width: 0;
}

.discover-card-excerpt {
  display: block;
  font-size: 11px;
  color: #637381;
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.discover-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.discover-card-score {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}
.discover-card-score.brilliant {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  border: 1px solid var(--score-brilliant-outline);
  color: var(--score-brilliant-text);
}
.discover-card-score.excellent {
  background: var(--score-excellent-bg);
  color: var(--score-excellent-text);
}
.discover-card-score.very-good {
  background: var(--score-very-good-bg);
  color: var(--score-very-good-text);
}
.discover-card-score.good {
  background: var(--score-good-bg);
  color: var(--score-good-text);
}
.discover-card-score.fair {
  background: var(--score-fair-bg);
  color: var(--score-fair-text);
}
.discover-card-score.average {
  background: var(--score-average-bg);
  color: var(--score-average-text);
}
.discover-card-score.poor {
  background: var(--score-poor-bg);
  color: var(--score-poor-text);
}

.discover-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 900px) {
  .discover-categories {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .discover-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

.discover-category-card {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.discover-category-card:hover {
  background: #f0edff;
  border-color: #c4b5fd;
}

.discover-category-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
}

.discover-category-count {
  font-size: 12px;
  color: #637381;
  margin-top: 4px;
}

.discover-comparisons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 640px) {
  .discover-comparisons {
    grid-template-columns: 1fr;
  }
}

.discover-comparison-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.discover-comparison-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.discover-comparison-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.discover-comparison-item img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}
.discover-comparison-item span {
  font-size: 13px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.discover-comparison-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #94a3b8;
}

.discover-comparison-vs {
  font-size: 12px;
  font-weight: 800;
  color: #6c47c2;
  background: #f0edff;
  padding: 4px 10px;
  border-radius: 6px;
  flex-shrink: 0;
}

.discover-lists {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 640px) {
  .discover-lists {
    grid-template-columns: repeat(2, 1fr);
  }
}

.discover-list-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.discover-list-card:hover {
  background: #f8fafc;
  border-color: #c4b5fd;
}

.discover-list-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discover-list-count {
  font-size: 12px;
  color: #637381;
  margin-top: 4px;
}

.category-subscribe-card {
  background: linear-gradient(135deg, #f0edff, #e8f4fd);
  border: 1px solid #c4b5fd;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin: 32px 0;
}
.category-subscribe-card .category-subscribe-icon {
  font-size: 32px;
  color: #6c47c2;
  margin-bottom: 8px;
}
.category-subscribe-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--stitch-text-main, #0d0d1c);
  margin: 0 0 4px;
}
.category-subscribe-card p {
  font-size: 14px;
  color: #637381;
  margin: 0 0 16px;
}

.category-subscribe-form {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}
@media (max-width: 480px) {
  .category-subscribe-form {
    flex-direction: column;
  }
}

.category-subscribe-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}
.category-subscribe-input:focus {
  border-color: #6c47c2;
  box-shadow: 0 0 0 3px rgba(108, 71, 194, 0.1);
}

.category-subscribe-btn {
  padding: 10px 20px;
  background: #6c47c2;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.category-subscribe-btn:hover {
  background: #5a3aad;
}

.category-subscribe-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.category-subscribe-success .material-symbols-outlined {
  font-size: 24px;
  color: #10b981;
}
.category-subscribe-success p {
  font-size: 15px;
  font-weight: 500;
  color: var(--stitch-text-main, #0d0d1c);
  margin: 0;
}

.item-compare-check {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s, background 0.15s, border-color 0.15s;
  color: #637381;
}
.item-card:hover .item-compare-check {
  opacity: 1;
}
@media (hover: none) {
  .item-compare-check {
    opacity: 1;
  }
}
.item-compare-check.active {
  opacity: 1;
  background: #6c47c2;
  border-color: #6c47c2;
  color: #fff;
}
.item-compare-check:hover:not(.active) {
  background: #f0edff;
  border-color: #c4b5fd;
  color: #6c47c2;
}
.item-compare-check .material-symbols-outlined {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transform: translateY(0.5px);
}

.item-card {
  position: relative;
}

.multi-compare-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-top: 2px solid #6c47c2;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  padding: 12px 16px;
}

.multi-compare-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.multi-compare-items {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.multi-compare-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #f0edff;
  border: 1px solid #c4b5fd;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--stitch-text-main, #0d0d1c);
  white-space: nowrap;
}
.multi-compare-chip .multi-compare-chip-img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
}

.multi-compare-chip-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  padding: 0;
  display: flex;
}
.multi-compare-chip-remove:hover {
  color: #ef4444;
}

.multi-compare-hint {
  font-size: 13px;
  color: #637381;
  font-style: italic;
}

.multi-compare-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.multi-compare-clear {
  background: none;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #637381;
  cursor: pointer;
}
.multi-compare-clear:hover {
  background: #f1f5f9;
}

.multi-compare-go {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: #6c47c2;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.multi-compare-go:hover {
  background: #5a3aad;
}
.multi-compare-go.disabled {
  opacity: 0.5;
  pointer-events: none;
}
.multi-compare-go .material-symbols-outlined {
  font-size: 18px;
}

.onboarding-preview-page {
  padding-bottom: 56px;
}

.onboarding-preview-hero .onboarding-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.onboarding-preview-hero .onboarding-preview-badge .material-symbols-outlined {
  font-size: 14px;
}

.onboarding-preview-search {
  max-width: 520px;
  margin: 0 auto 14px;
}

.onboarding-preview-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.onboarding-preview-chip {
  border: 1px solid #dbe3ef;
  background: #fff;
  color: #253041;
  border-radius: 999px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.onboarding-preview-chip small {
  color: #7b8797;
  font-size: 11px;
  font-weight: 500;
}
.onboarding-preview-chip:hover {
  border-color: #b8c7de;
}
.onboarding-preview-chip.active {
  border-color: #6c47c2;
  background: #f0edff;
}

.onboarding-preview-layout {
  align-items: start;
}

.onboarding-preview-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  color: #64748b;
}

.onboarding-preview-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.onboarding-preview-pick-chip {
  max-width: 100%;
}

.onboarding-preview-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 640px) {
  .onboarding-preview-cards {
    grid-template-columns: 1fr;
  }
}

.onboarding-preview-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px;
}
.onboarding-preview-card .discover-card {
  margin-bottom: 8px;
}

.onboarding-preview-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.onboarding-preview-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
}

.onboarding-preview-add {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 8px;
  height: 30px;
  padding: 0 10px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}
.onboarding-preview-add .material-symbols-outlined {
  font-size: 16px;
  line-height: 1;
}
.onboarding-preview-add:hover {
  background: #f8fafc;
}
.onboarding-preview-add.active {
  border-color: #6c47c2;
  color: #5b34b2;
  background: #f0edff;
}

.onboarding-profile-preview {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px;
}

.onboarding-profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.onboarding-profile-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
}
.onboarding-profile-header p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}
@media (max-width: 768px) {
  .onboarding-profile-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.onboarding-profile-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.onboarding-profile-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 768px) {
  .onboarding-profile-groups {
    grid-template-columns: 1fr;
  }
}

.onboarding-profile-group {
  border: 1px solid #eef2f7;
  border-radius: 10px;
  padding: 10px;
  background: #fcfdff;
}
.onboarding-profile-group h4 {
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #334155;
}
.onboarding-profile-group .stitch-category-item {
  padding: 8px;
  margin-bottom: 6px;
  border-radius: 8px;
  border: 1px solid #eef2f7;
  background: #fff;
}

.onb2 {
  min-height: 100vh;
  padding-bottom: 40px;
}

.onb2-admin-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  font-size: 12px;
}

.onb2-admin-label {
  font-weight: 700;
  color: #374151;
}

.onb2-admin-step {
  margin-left: auto;
  color: #9ca3af;
  font-weight: 600;
}

.onb2-step {
  padding: 0 16px;
}

.onb2-step-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 0 20px;
}

.onb2-step-wide {
  max-width: 800px;
}

.onb2-step-header {
  text-align: center;
  margin-bottom: 24px;
}
.onb2-step-header h1 {
  font-size: 26px;
  font-weight: 800;
  color: #0d0d1c;
  margin: 8px 0 6px;
  letter-spacing: -0.4px;
}
.onb2-step-header p {
  font-size: 14px;
  color: #637381;
  margin: 0;
}

.onb2-step-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #9ca3af;
  background: #f3f4f6;
  padding: 3px 10px;
  border-radius: 999px;
}

.onb2-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 480px) {
  .onb2-category-grid {
    grid-template-columns: 1fr;
  }
}

.onb2-category-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
}
.onb2-category-chip:hover {
  border-color: #c7d2fe;
  background: #fafaff;
}
.onb2-category-chip.active {
  border-color: #6c47c2;
  background: #f5f3ff;
}

.onb2-category-thumbs {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.onb2-category-thumbs img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  background: #f1f5f9;
}

.onb2-category-info {
  flex: 1;
  min-width: 0;
}

.onb2-category-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.onb2-category-count {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

.onb2-category-check {
  font-size: 20px;
  color: #6c47c2;
  flex-shrink: 0;
}

.onb2-progress {
  margin-bottom: 18px;
}

.onb2-progress-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 6px;
}
.onb2-progress-text strong {
  color: #6c47c2;
}

.onb2-progress-hint {
  font-size: 11px;
  color: #94a3b8;
}

.onb2-progress-bar {
  width: 100%;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
}

.onb2-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6c47c2, #818cf8);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.onb2-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px;
}
@media (max-width: 480px) {
  .onb2-items-grid {
    grid-template-columns: 1fr;
  }
}

.onb2-item-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}
.onb2-item-card:hover {
  border-color: #c7d2fe;
  background: #fafaff;
}
.onb2-item-card.picked {
  border-color: #6c47c2;
  background: #f5f3ff;
}
.onb2-item-card .stitch-category-item-logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.onb2-item-card .stitch-category-item-logo img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}
.onb2-item-card .stitch-category-item-logo span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #f1f5f9;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}
.onb2-item-card .stitch-category-item-score {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.onb2-item-info {
  flex: 1;
  min-width: 0;
}

.onb2-item-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.onb2-item-tag {
  font-size: 10px;
  color: #94a3b8;
}

.onb2-item-pick-icon {
  font-size: 18px;
  color: #d1d5db;
  flex-shrink: 0;
  transition: color 0.15s;
}
.onb2-item-pick-icon.picked {
  color: #6c47c2;
  font-variation-settings: "FILL" 1;
}

.onb2-profile-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
}

.onb2-profile-header {
  padding: 24px 20px 16px;
  text-align: center;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid #e5e7eb;
}
.onb2-profile-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0d0d1c;
  margin: 8px 0 6px;
}

.onb2-profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto;
}

.onb2-profile-stats-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
}
.onb2-profile-stats-row strong {
  color: #1e293b;
  font-weight: 700;
}

.onb2-profile-categories {
  padding: 4px 0;
}

.onb2-profile-group {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
}
.onb2-profile-group:last-child {
  border-bottom: none;
}
.onb2-profile-group .stitch-category-items {
  margin-top: 8px;
}
.onb2-profile-group .stitch-category-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  margin-bottom: 4px;
  text-decoration: none;
  color: inherit;
  transition: background 0.1s;
}
.onb2-profile-group .stitch-category-item:hover {
  background: #f8fafc;
}

.onb2-profile-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.onb2-profile-group-name {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #334155;
}

.onb2-profile-group-count {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

.onb2-search-wrap {
  position: relative;
  margin-bottom: 16px;
}

.onb2-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #94a3b8;
  pointer-events: none;
}

.onb2-search-input {
  width: 100%;
  padding: 10px 36px 10px 44px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  color: #1e293b;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}
.onb2-search-input:focus {
  border-color: #6c47c2;
}
.onb2-search-input::placeholder {
  color: #b4bcc8;
}

.onb2-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 2px;
}

.onb2-selected-count {
  font-size: 13px;
  font-weight: 600;
  color: #6c47c2;
}

.onb2-cat-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.onb2-cat-tabs::-webkit-scrollbar {
  height: 0;
}

.onb2-cat-tab {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  background: #f3f4f6;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 5px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.onb2-cat-tab:hover {
  background: #e5e7eb;
}
.onb2-cat-tab.active {
  color: #6c47c2;
  background: #f5f3ff;
  border-color: #6c47c2;
}

.onb2-progress-ready {
  color: #22c55e !important;
}

.onb2-load-more {
  display: block;
  margin: 16px auto 0;
  font-size: 13px;
  font-weight: 600;
  color: #6c47c2;
  background: #f5f3ff;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 24px;
  cursor: pointer;
  transition: all 0.15s;
}
.onb2-load-more:hover {
  border-color: #6c47c2;
}

.onb2-profile-setup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 8px 0 16px;
}

.onb2-avatar-picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.onb2-avatar-preview {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  transition: background 0.2s;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.onb2-avatar-preview:hover .onb2-avatar-edit {
  opacity: 1;
}

.onb2-avatar-edit {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.15s;
}

.onb2-avatar-remove {
  font-size: 12px;
  color: #94a3b8;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.onb2-avatar-remove:hover {
  color: #64748b;
}

.onb2-avatar-colors {
  display: flex;
  gap: 8px;
}

.onb2-color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
}
.onb2-color-dot:hover {
  transform: scale(1.15);
}
.onb2-color-dot.active {
  border-color: #1e293b;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px currentColor;
}

.onb2-profile-fields {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.onb2-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 4px;
}

.onb2-optional {
  font-weight: 400;
  color: #94a3b8;
}

.onb2-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  color: #1e293b;
  outline: none;
  transition: border-color 0.15s;
}
.onb2-input:focus {
  border-color: #6c47c2;
}
.onb2-input::placeholder {
  color: #b4bcc8;
}

.onb2-profile-bio {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 6px;
}

.onb2-similar-users {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.onb2-similar-user {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.onb2-similar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.onb2-similar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

.onb2-similar-info {
  flex: 1;
  min-width: 0;
}

.onb2-similar-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.onb2-similar-bio {
  display: block;
  font-size: 12px;
  color: #94a3b8;
}

.onb2-follow-btn {
  font-size: 12px;
  font-weight: 700;
  color: #6c47c2;
  background: #fff;
  border: 1.5px solid #6c47c2;
  border-radius: 999px;
  padding: 5px 14px;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}
.onb2-follow-btn:hover {
  background: #6c47c2;
  color: #fff;
}
.onb2-follow-btn.following {
  background: #6c47c2;
  color: #fff;
}

.onb2-similar-items {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.onb2-similar-items::-webkit-scrollbar {
  height: 0;
}

.onb2-similar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  flex-shrink: 0;
}
.onb2-similar-item.shared {
  background: #f5f3ff;
  border-color: #ddd6fe;
}
.onb2-similar-item img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
}

.onb2-similar-item-info {
  min-width: 0;
}

.onb2-similar-item-title {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

.onb2-similar-item-tag {
  font-size: 9px;
  color: #94a3b8;
}

.onb2-shared-badge {
  font-size: 9px;
  font-weight: 700;
  color: #6c47c2;
  background: #ede9fe;
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
}

.onb2-similar-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.onb2-similar-tag {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 999px;
}

.onb2-empty-users {
  text-align: center;
  padding: 32px 16px;
  color: #94a3b8;
}
.onb2-empty-users p {
  margin-top: 8px;
  font-size: 14px;
}

.onb2-step-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 0 0;
}

.onb2-hint {
  font-size: 13px;
  color: #94a3b8;
}

.onb2-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.onb2-final-footer {
  flex-direction: column;
  gap: 14px;
}

.onb2-cta-large {
  font-size: 15px;
  padding: 12px 28px;
}

.onb2-final-links {
  display: flex;
  gap: 8px;
}

.ranks-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.ranks-points-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}
.ranks-points-card > .material-symbols-outlined {
  font-size: 24px;
  color: var(--stitch-primary, #4f46e5);
  flex-shrink: 0;
}

.ranks-points-action {
  font-size: 14px;
  font-weight: 500;
  color: var(--stitch-text-main, #0d0d1c);
}

.ranks-points-value {
  font-size: 13px;
  font-weight: 600;
  color: #059669;
}

.ranks-tier-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
}

.ranks-tier-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  transition: background 0.15s;
}
.ranks-tier-row.current {
  background: #eef2ff;
  border: 2px solid var(--stitch-primary, #4f46e5);
}
.ranks-tier-row.locked {
  opacity: 0.5;
}
.ranks-tier-row.unlocked:not(.current):hover {
  background: #f8fafc;
}

.ranks-tier-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ranks-tier-icon .material-symbols-outlined {
  font-size: 22px;
}

.ranks-tier-info {
  flex: 1;
}

.ranks-tier-name {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ranks-tier-you {
  font-size: 10px;
  font-weight: 700;
  background: var(--stitch-primary, #4f46e5);
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

.ranks-tier-threshold {
  font-size: 12px;
  color: #9ca3af;
}

.ranks-tier-check {
  font-size: 20px;
  font-variation-settings: "FILL" 1;
}

.ranks-tier-lock {
  font-size: 18px;
  color: #d1d5db;
}
