@charset "UTF-8";
:root {
  --bg: #f5f5f7;
  --bg2: #ebebed;
  --surface: #ffffff;
  --border: #e8e8eb;
  --border2: #d4d4d8;
  --accent: #111111;
  --accent2: #555555;
  --text: #111111;
  --text-muted: #444444;
  --text-faint: #9ca3af;
  --radius: px(12);
  --radius-sm: px(8);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: light;
  font-size: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.grecaptcha-badge {
  visibility: hidden !important;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(0.75rem);
  border-bottom: 0.0625rem solid var(--border);
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  gap: 1.25rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.nav-logo {
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--text);
  text-decoration: none;
}

.nav-tabs {
  display: flex;
}

.nav-tab {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0 0.75rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  border-bottom: 0.125rem solid transparent;
  white-space: nowrap;
  transition: color 0.15s;
  text-decoration: none;
}
.nav-tab:hover {
  color: var(--text);
}
.nav-tab.active {
  color: var(--text);
  border-bottom-color: var(--text);
}

.nav-right {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  background: #f0f0f2;
  border-radius: 1.25rem;
  padding: 0.4375rem 0.875rem;
  width: 11.875rem;
}
.search-wrap input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.8125rem;
  color: var(--text);
  font-family: inherit;
  width: 100%;
}
.search-wrap input::placeholder {
  color: #888;
}

.btn-ghost {
  font-size: 0.8125rem;
  padding: 0.4375rem 0.875rem;
  border: 0.0625rem solid var(--border2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: #999;
}

.btn-primary {
  font-size: 0.8125rem;
  padding: 0.4375rem 0.875rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--text);
  color: #fff;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}
.btn-primary:hover {
  opacity: 0.85;
}

.btn-primary-lg {
  background: var(--text);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.6875rem 1.75rem;
  cursor: pointer;
  width: 100%;
  margin-top: 0.5rem;
  transition: opacity 0.2s;
  display: block;
}
.btn-primary-lg:hover {
  opacity: 0.85;
}

.btn-register {
  background: var(--text);
  color: #fff;
  border: none;
  border-radius: 0.4375rem;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
  display: inline-block;
}
.btn-register:hover {
  opacity: 0.8;
}

.header-link {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.4375rem 0.75rem;
  border: 0.0625rem solid var(--border);
  border-radius: 0.375rem;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
  text-decoration: none;
}
.header-link:hover {
  border-color: #999;
  color: var(--text);
}

.page-layout {
  display: grid;
  grid-template-columns: 14rem 1fr;
  max-width: 100%;
  margin: 0;
}
.page-layout.page-layout--no-sidebar {
  display: block;
}
.page-layout.page-layout--no-sidebar .main-content-wrap {
  max-width: 35rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}
@media (max-width: 55rem) {
  .page-layout {
    grid-template-columns: 1fr;
  }
  .page-layout .sidebar {
    display: none;
  }
}

.sidebar {
  border-right: 0.0625rem solid var(--border);
  position: sticky;
  top: 3.25rem;
  height: calc(100vh - 3.25rem);
  overflow-y: auto;
  background: var(--surface);
}
.sidebar::-webkit-scrollbar {
  width: 0.25rem;
}
.sidebar::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 0.125rem;
}

.sb-section {
  pointer-events: painted;
  padding: 0.875rem 1rem;
  border-bottom: 0.0625rem solid #f0f0f2;
  cursor: pointer;
}
.sb-section:hover:not(:has(.sb-collapsible:hover)) .sb-label {
  opacity: 0.5;
}
.sb-section:last-child {
  border-bottom: none;
}

.sb-label {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.15s;
}
.sb-label .toggle-icon {
  font-size: 1.125rem;
  color: #aaa;
  transition: transform 0.2s;
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 20;
}
.sb-label.collapsed .toggle-icon {
  transform: rotate(-180deg);
}

.sb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

.sb-tag {
  font-size: 0.875rem;
  padding: 0.125rem 0.4375rem;
  border: 0.0625rem solid var(--border);
  border-radius: 0.25rem;
  cursor: pointer;
  color: var(--text-muted);
  background: #f8f8f9;
  white-space: nowrap;
  transition: all 0.15s;
  display: inline-block;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.5;
}
.sb-tag:hover {
  border-color: #999;
  color: var(--text);
}
.sb-tag.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
  padding-right: 0.5rem;
}

.sb-group-list {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.sb-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.375rem 0.5rem;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  font-family: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: background 0.1s;
  text-decoration: none;
}
.sb-group:hover {
  background: #f5f5f7;
}
.sb-group.active {
  background: #f0f0f2;
  color: var(--text);
  font-weight: 500;
}

.sb-group-cnt {
  font-size: 0.9375rem;
  color: #888;
}

.sb-search {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: #f5f5f7;
  border-radius: 0.5rem;
  padding: 0.375rem 0.625rem;
  margin-bottom: 0.625rem;
}
.sb-search input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.9375rem;
  color: var(--text);
  font-family: inherit;
  width: 100%;
}
.sb-search input::placeholder {
  color: #888;
}

.main-content {
  padding: 1.5rem 1.25rem;
  min-width: 0;
  overflow: hidden;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.8125rem;
}

.section-title-lg {
  font-size: 1.5rem;
  font-weight: 500;
}

.section-sub {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 0.1875rem;
}

.see-all {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.see-all:hover {
  color: var(--text);
}

.section-gap {
  margin-bottom: 2rem;
}

.tag-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  border-radius: 2rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: border-color 0.15s, color 0.15s;
  text-decoration: none;
}
.tag-quick-link:hover {
  border-color: var(--text);
  color: var(--text);
}
.tag-quick-link .tag-quick-cnt {
  font-size: 0.7rem;
  color: #333;
}

.carousel-wrap {
  position: relative;
}
.carousel-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3rem;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none;
  z-index: 3;
}

.cards-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}
.cards-row::-webkit-scrollbar {
  display: none;
}
.cards-row .vcard {
  flex: 0 0 17rem;
  scroll-snap-align: start;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 0.0625rem solid #e0e0e0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(0.25rem);
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  font-size: 0.875rem;
  color: #333;
  padding: 0;
}
.carousel-btn:hover {
  background: var(--surface);
  box-shadow: 0 0.25rem 0.875rem rgba(0, 0, 0, 0.18);
  border-color: #888;
}
.carousel-btn.prev {
  left: -1.125rem;
}
.carousel-btn.next {
  right: -1.125rem;
}
.carousel-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.75rem;
}
@media (max-width: 40rem) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.vcard {
  background: var(--surface);
  border-radius: 0.875rem;
  border: 0.0625rem solid var(--border);
  position: relative;
  transition: box-shadow 0.15s, border-color 0.15s;
  display: flex;
  flex-direction: column;
}
.vcard:hover {
  border-color: #d0d0d4;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.09);
}

.vcard-banner-wrap {
  width: 100%;
  aspect-ratio: 6/1;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.875rem 0.875rem 0 0;
}
.vcard-banner-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vcard-banner-ph {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0.875rem 0.875rem 0 0;
}

.vcard-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.75rem 0.75rem 0.75rem;
}

.vcard-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 0.375rem;
  background: #e0e0e8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #555;
  flex-shrink: 0;
}
.vcard-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.heart-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 0.0625rem solid #e0e0e0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(0.25rem);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s;
  flex-shrink: 0;
  margin-bottom: 0.125rem;
}
.heart-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}
.heart-btn:hover {
  border-color: #ffb3c1;
  background: #fff5f7;
}
.heart-btn.hearted {
  border-color: #ff4d6d;
  background: #fff0f3;
}
.heart-btn.hearted svg {
  fill: #ff4d6d;
  stroke: #ff4d6d;
}

.vcard-body {
  padding: 0 0.75rem 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  position: relative;
}

.vcard-name {
  font-size: 1.125rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.vcard-group {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.0625rem;
}

.stamps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
}

.stamp-btn {
  border: 0.0625rem solid #ebebed;
  border-radius: 0.625rem;
  padding: 0.5rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  background: #f7f7f8;
  transition: all 0.15s;
  font-family: inherit;
}
.stamp-btn:hover:not(:disabled) {
  border-color: #ccc;
  background: #f0f0f2;
}
.stamp-btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.stamp-btn[data-type=first_time].stamped {
  border-color: #a0a8f0;
  background: #f0f1ff;
}
.stamp-btn[data-type=hooked].stamped {
  border-color: #f5c060;
  background: #fffbf0;
}
.stamp-btn[data-type=longtime].stamped {
  border-color: #f0a0c8;
  background: #fff0f8;
}
.stamp-btn[data-type=first_time].stamped .scount {
  color: #6366f1;
}
.stamp-btn[data-type=hooked].stamped .scount {
  color: #c07800;
}
.stamp-btn[data-type=longtime].stamped .scount {
  color: #d0408a;
}
.stamp-btn[data-type=first_time].done {
  border-color: #a0a8f0;
  background: #f0f1ff;
}
.stamp-btn[data-type=hooked].done {
  border-color: #f5c060;
  background: #fffbf0;
}
.stamp-btn[data-type=longtime].done {
  border-color: #f0a0c8;
  background: #fff0f8;
}
.stamp-btn[data-type=first_time].done .stamp-count {
  color: #6366f1;
}
.stamp-btn[data-type=hooked].done .stamp-count {
  color: #c07800;
}
.stamp-btn[data-type=longtime].done .stamp-count {
  color: #d0408a;
}

.stamp-inner {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.semoji {
  font-size: 1rem;
  line-height: 1;
}

.scount {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}

.slabel {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1;
}

.vcard-stats {
  border-top: 0.0625rem solid #f0f0f2;
  padding-top: 0.5rem;
  font-size: 0.75rem;
  color: #555;
  display: flex;
  flex-wrap: wrap;
}
.vcard-stats span {
  margin-right: 0.625rem;
  white-space: nowrap;
}
.vcard-stats span strong {
  font-weight: 500;
  color: var(--text);
}

.card-overlay {
  position: absolute;
  inset: 0;
  border-radius: 0.875rem;
  z-index: 1;
}

.stamp-btn,
.heart-btn {
  position: relative;
  z-index: 2;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-bottom: 0.875rem;
  border-bottom: 0.0625rem solid #f0f0f2;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: #f0f0f2;
  border: 0.0625rem solid var(--border2);
  border-radius: 1.25rem;
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}
.filter-chip:hover {
  background: #e5e5e8;
  color: var(--text);
}

.result-count {
  font-size: 0.8125rem;
  color: #666;
  margin-left: auto;
}
.result-count strong {
  color: var(--text);
  font-weight: 500;
}

.empty-state {
  text-align: center;
  padding: 5rem 1.25rem;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 2.5rem;
  margin-bottom: 0.875rem;
}

.empty-state h2 {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
}

.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: 0.875rem;
}

.empty-state-sub {
  font-size: 0.8125rem;
  margin-top: 0.25rem;
  color: var(--text-muted);
}

.pagination {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  padding: 2rem 0 3rem;
  flex-wrap: wrap;
  margin-top: 0;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.625rem;
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  border-radius: var(--radius-sm);
  color: #888;
  font-size: 0.8125rem;
  transition: all 0.15s;
}
.page-link:hover {
  border-color: #888;
  color: var(--text);
}
.page-link.current {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
  font-weight: 500;
}
.page-link.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.detail-wrap {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.breadcrumb {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb-sep {
  color: #888;
}

.yt-banner {
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 0.0625rem solid var(--border);
  animation: fadeUp 0.4s ease both;
}
.yt-banner img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 12.5rem;
  object-fit: cover;
}

.profile-header {
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  animation: fadeUp 0.35s ease both;
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.25rem;
}

.profile-icon {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  border: 0.125rem solid var(--border);
  object-fit: cover;
  flex-shrink: 0;
}

.profile-icon-ph {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: #f0f0f2;
  border: 0.125rem solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.25rem;
}

.profile-reading {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 0.125rem;
}

.profile-nickname {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.profile-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.625rem;
  border: 0.0625rem solid var(--border);
  border-radius: 1.25rem;
  color: var(--text-muted);
  background: #f8f8f9;
  text-decoration: none;
  transition: all 0.15s;
}
.profile-tag:hover {
  border-color: #999;
  color: var(--text);
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.15s;
}
.link-btn:hover {
  opacity: 0.8;
}

.link-btn-yt {
  background: #ff0000;
  color: #fff;
}

.link-btn-tw {
  background: #9146ff;
  color: #fff;
}

.profile-edit-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1.125rem;
  border: 0.0625rem solid var(--border);
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}
.btn-outline:hover {
  border-color: var(--text);
  color: var(--text);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.info-card {
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  border-radius: 0.875rem;
  padding: 1rem 1.125rem;
  animation: fadeUp 0.4s ease both;
}

.info-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

.info-value {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

a.info-value-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  text-decoration: none;
  display: inline-block;
}
a.info-value-link:hover {
  text-decoration: underline;
  color: var(--accent2);
}

.info-sub {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

.yt-stats-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.yt-stat-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-bottom: 0.125rem;
}

.yt-stat-val {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
}

.description-card {
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  border-radius: 0.875rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  animation: fadeUp 0.45s ease both;
}

.section-title-sm {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.description-text {
  font-size: 0.96875rem;
  line-height: 1.85;
  color: #333;
  white-space: pre-wrap;
}

.related-section {
  margin-bottom: 1rem;
  animation: fadeUp 0.5s ease both;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.625rem;
  margin-top: 0.75rem;
}

.related-card {
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  border-radius: 0.75rem;
  padding: 0.875rem;
  text-decoration: none;
  transition: box-shadow 0.15s, border-color 0.15s;
  display: block;
}
.related-card:hover {
  border-color: #d0d0d4;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
}

.related-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.125rem;
}

.related-reading {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

.related-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.related-tag {
  font-size: 0.6875rem;
  padding: 0.1875rem 0.5rem;
  background: #f0f0f2;
  border-radius: 1rem;
  color: var(--text-muted);
}

.stamp-section {
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  border-radius: 0.875rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  animation: fadeUp 0.55s ease both;
}

.stamp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.stamp-emoji {
  font-size: 1.375rem;
  line-height: 1;
}

.stamp-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.2;
  text-align: center;
}

.stamp-count {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}

.stamp-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.625rem;
  min-height: 1.2em;
}

.report-area {
  text-align: right;
  margin-top: 0.75rem;
}

.report-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.78125rem;
  cursor: pointer;
  font-family: inherit;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: color 0.2s;
}
.report-link:hover {
  color: #ff6b6b;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.modal-box {
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 27.5rem;
  width: 90%;
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.modal-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.report-options {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}

.report-option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  padding: 0.625rem 0.875rem;
  border: 0.0625rem solid var(--border);
  border-radius: 0.5rem;
  transition: border-color 0.15s;
  font-size: 0.875rem;
}
.report-option:hover {
  border-color: var(--text);
}
.report-option input {
  accent-color: var(--text);
}

.report-textarea {
  width: 100%;
  background: #f5f5f7;
  border: 0.0625rem solid var(--border);
  border-radius: 0.5rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.875rem;
  padding: 0.625rem 0.75rem;
  outline: none;
  resize: vertical;
  margin-bottom: 1.25rem;
}

.modal-actions {
  display: flex;
  gap: 0.625rem;
}

.modal-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.375rem;
}

.modal-msg {
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
  min-height: 1.2em;
}

.registered-at {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 1rem;
}

.profileForm {
  margin-top: 3rem;
}

.form-container {
  max-width: 41.25rem;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3.5rem;
}
.form-container h1 {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.form-section-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
  display: block;
}

.form-divider {
  height: 0.0625rem;
  background: var(--border);
  margin: 1.375rem 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}
@media (max-width: 37.5rem) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 2rem;
}
.form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.form-group.has-error input, .form-group.has-error textarea {
  border-color: #e53e3e;
}

.required {
  background: #fff5f5;
  border: 0.0625rem solid #fdd;
  color: #cc3333;
  border-radius: 0.25rem;
  font-size: 0.6875rem;
  padding: 0.0625rem 0.4375rem;
  margin-left: 0.375rem;
  font-weight: 500;
}

input[type=text],
input[type=url],
input[type=date],
input[type=number],
input[type=password] {
  width: 100%;
  height: 3.75rem;
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  border-radius: 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  padding: 0 1rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}
input[type=text]:focus,
input[type=url]:focus,
input[type=date]:focus,
input[type=number]:focus,
input[type=password]:focus {
  border-color: #777;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.07);
}
input[type=text]::placeholder,
input[type=url]::placeholder,
input[type=date]::placeholder,
input[type=number]::placeholder,
input[type=password]::placeholder {
  color: #c0c0c8;
}

.date-parts {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.date-parts input[type=text] {
  width: auto;
}
.date-parts input[type=text].date-part-y {
  width: 6.25rem;
}
.date-parts input[type=text].date-part-md {
  width: 3.875rem;
}
.date-parts span {
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

textarea {
  width: 100%;
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  border-radius: 0.25rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  padding: 0.875rem 1rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  resize: vertical;
  min-height: 7.5rem;
  line-height: 1.75;
}
textarea:focus {
  border-color: #777;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.07);
}
textarea::placeholder {
  color: #c0c0c8;
}

.help-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.3125rem;
  margin-bottom: 0.25rem;
}

.error-box {
  background: #fff5f5;
  border: 0.0625rem solid #fdd;
  color: #cc3333;
  border-radius: var(--radius-sm);
  padding: 0.6875rem 0.9375rem;
  margin-bottom: 1.125rem;
  font-size: 0.875rem;
}

.error-msg {
  display: block;
  color: #cc3333;
  font-size: 0.78125rem;
  margin-top: 0.25rem;
}

#tag-input-area {
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3125rem;
  align-items: center;
  cursor: text;
  transition: border-color 0.2s;
}
#tag-input-area:focus-within {
  border-color: #888;
}

#tag-input-field {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.875rem;
  outline: none;
  min-width: 8.125rem;
  padding: 0.125rem 0;
  width: auto;
}

.tag-badge {
  background: var(--bg2);
  border: 0.0625rem solid var(--border2);
  color: var(--text-muted);
  border-radius: 1.25rem;
  font-size: 0.78125rem;
  padding: 0.1875rem 0.625rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
}
.tag-badge button {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
}
.tag-badge button:hover {
  color: var(--text);
}

.input-suggest-wrap {
  position: relative;
}

#group-suggest {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.3);
  margin-top: 0.25rem;
  overflow: hidden;
  max-height: 15rem;
  overflow-y: auto;
}

.suggest-item {
  padding: 0.6875rem 0.875rem;
  cursor: pointer;
  font-size: 0.875rem;
  border-bottom: 0.0625rem solid var(--border);
  transition: background 0.1s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.suggest-item:hover, .suggest-item.is-highlighted {
  background: rgba(124, 106, 255, 0.1);
}

.suggest-item-badge {
  font-size: 0.7rem;
  padding: 0.125rem 0.5rem;
  border-radius: 1.25rem;
  background: rgba(124, 106, 255, 0.15);
  color: var(--accent);
}

#tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
  min-height: 1.75rem;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(124, 106, 255, 0.15);
  border: 0.0625rem solid rgba(124, 106, 255, 0.4);
  border-radius: 0.25rem;
  padding: 0.9375rem 0.9375rem;
  font-size: 0.81875rem;
  color: var(--accent);
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, border-color 0.15s;
}
.tag-chip:hover {
  background: rgba(255, 107, 107, 0.15);
  border-color: rgba(255, 107, 107, 0.5);
  color: #ff6b6b;
}
.tag-chip .tag-chip-x {
  font-size: 0.6875rem;
  opacity: 0.7;
}

.tag-categories {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}

.tag-category-label {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  align-items: center;
}

.tag-preset-btn {
  background: var(--bg2);
  border: 0.0625rem solid var(--border);
  border-radius: 0.25rem;
  padding: 0.9375rem 0.9375rem;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}
.tag-preset-btn.is-selected {
  background: rgba(124, 106, 255, 0.2);
  border-color: var(--accent);
  color: var(--accent);
}

.tag-add-btn {
  background: none;
  border: 0.0625rem dashed var(--border);
  border-radius: 1.25rem;
  padding: 0.3125rem 0.75rem;
  font-size: 0.81875rem;
  font-family: inherit;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.tag-add-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tag-inline-input {
  display: none;
  align-items: center;
  gap: 0.375rem;
}

input.tag-inline-field {
  height: auto;
  background: var(--bg2);
  border: 0.0625rem solid var(--accent);
  border-radius: 0.375rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0.3125rem 0.625rem;
  width: 10rem;
  outline: none;
}

.tag-inline-suggest {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 13.75rem;
  z-index: 100;
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.3);
  margin-top: 0.125rem;
  overflow: hidden;
}

.tag-inline-suggest-item {
  padding: 0.5rem 0.875rem;
  cursor: pointer;
  font-size: 0.85rem;
  border-bottom: 0.0625rem solid var(--border);
  display: flex;
  justify-content: space-between;
}
.tag-inline-suggest-item:hover {
  background: rgba(124, 106, 255, 0.1);
}
.tag-inline-suggest-item span:last-child {
  font-size: 0.71875rem;
  color: var(--text-muted);
}

.tag-inline-submit {
  background: var(--accent);
  border: none;
  border-radius: 0.375rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.81875rem;
  padding: 0.3125rem 0.75rem;
  cursor: pointer;
}

.tag-inline-cancel {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.81875rem;
  padding: 0.3125rem 0.5rem;
  cursor: pointer;
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.form-actions .btn-primary {
  margin-top: 0;
}

.form-actions__cancel {
  display: flex;
  align-items: center;
}

.container {
  max-width: 55rem;
  margin: 0 auto;
  padding: 5rem 1.25rem 4.5rem;
}

.section-title {
  font-size: 0.71875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.0625rem solid var(--border);
}

.vtuber-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13.75rem, 1fr));
  gap: 0.875rem;
}

.vtuber-card {
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  border-radius: var(--radius);
  padding: 1.125rem;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
  animation: fadeUp 0.4s ease both;
}
.vtuber-card:hover {
  border-color: var(--border2);
  transform: translateY(-0.125rem);
}

.card-name {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-reading {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.card-group {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.card-group::before {
  content: "◆";
  font-size: 0.5rem;
  color: var(--accent2);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.card-tag {
  background: #f0f0f2;
  border: 0.0625rem solid var(--border2);
  color: #555;
  border-radius: 0.25rem;
  font-size: 0.71875rem;
  padding: 0.125rem 0.4375rem;
}

.card-debut {
  font-size: 0.71875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.site-footer {
  border-top: 0.0625rem solid var(--border);
  text-align: center;
  padding: 1.25rem;
  color: var(--text-faint);
  font-size: 0.8rem;
}

.main-content-wrap {
  min-width: 0;
  overflow: hidden;
}

.page-layout-nosidebar,
.page-layout-single {
  max-width: 100%;
  margin: 0;
}
.page-layout-nosidebar .main-content-wrap,
.page-layout-single .main-content-wrap {
  width: 100%;
}

main.main-content {
  padding: 3rem 10rem 1.5rem 10rem;
  min-width: 0;
  overflow: hidden;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.text-muted-sm {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.flex-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.stack-lg {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.surface-card {
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.section-block {
  margin-bottom: 3rem;
}

.card-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.card-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

.card-footer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 0.0625rem solid var(--border);
}

.empty-block {
  text-align: center;
  padding: 2.5rem 1.25rem;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.diff-before {
  background: rgba(255, 107, 107, 0.06);
  border: 0.0625rem solid rgba(255, 107, 107, 0.2);
  border-radius: 0.375rem;
  padding: 0.5rem 0.625rem;
}

.diff-after {
  background: rgba(124, 106, 255, 0.06);
  border: 0.0625rem solid rgba(124, 106, 255, 0.2);
  border-radius: 0.375rem;
  padding: 0.5rem 0.625rem;
}

.diff-label {
  font-size: 0.7rem;
  margin-bottom: 0.25rem;
}
.diff-label--before {
  color: #ff6b6b;
}
.diff-label--after {
  color: var(--accent);
}

.diff-field {
  font-size: 0.83125rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.badge-admin {
  background: rgba(124, 106, 255, 0.15);
  color: var(--accent);
  border-radius: 0.25rem;
  padding: 0.0625rem 0.375rem;
  font-size: 0.7rem;
}

.badge-accent {
  background: rgba(124, 106, 255, 0.1);
  border: 0.0625rem solid rgba(124, 106, 255, 0.3);
  color: var(--accent);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.heart-btn-lg {
  width: auto;
  border-radius: 2rem;
  padding: 0.5rem 1.125rem;
  gap: 0.5rem;
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
}

.heart-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.flash-warning {
  background: rgba(255, 193, 7, 0.1);
  border: 0.0625rem solid rgba(255, 193, 7, 0.4);
  color: #b8860b;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.verified-msg {
  background: rgba(124, 106, 255, 0.1);
  border: 0.0625rem solid rgba(124, 106, 255, 0.3);
  color: var(--accent);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.chart-period-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}
.chart-period-tabs a {
  font-size: 0.8125rem;
  padding: 0.25rem 0.75rem;
  border: 0.0625rem solid var(--border);
  border-radius: 1.25rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.15s;
}
.chart-period-tabs a:hover, .chart-period-tabs a.active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.chart-card {
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.chart-card-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.log-card {
  background: var(--surface);
  border: 0.0625rem solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: block;
  transition: border-color 0.2s;
  text-decoration: none;
  color: inherit;
}
.log-card:hover {
  border-color: var(--accent);
}

.log-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.log-card-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.log-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.log-card-fields {
  font-size: 0.78125rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
}

.btn-rollback {
  background: rgba(124, 106, 255, 0.1);
  border: 0.0625rem solid rgba(124, 106, 255, 0.3);
  color: var(--accent);
  border-radius: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-family: inherit;
  font-size: 0.78125rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn-rollback:hover {
  background: var(--accent);
  color: #fff;
}

.subscriber-diff-wrap {
  display: flex;
  align-items: center;
  gap: 0.1875rem;
  margin-top: 0.125rem;
}

.subscriber-diff-period {
  color: #9ca3af;
  font-size: 0.65rem;
}

.text-dark-xs {
  font-size: 0.75rem;
  color: #444;
}

.mypage-section {
  margin-bottom: 3rem;
}

.vcard-edit-footer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 0.0625rem solid var(--border);
}

.view-toggle {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
  flex-shrink: 0;
}

.view-btn {
  width: 2rem;
  height: 2rem;
  border: 0.0625rem solid var(--border);
  border-radius: 0.375rem;
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  padding: 0;
}
.view-btn:hover {
  border-color: var(--border2);
  color: var(--text);
}
.view-btn.active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.cards-grid-sm {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: 0.5rem;
}
.cards-grid-sm .stamps,
.cards-grid-sm .vcard-stats {
  display: none;
}

.cards-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.cards-list .vcard {
  flex-direction: row;
  align-items: center;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
}
.cards-list .vcard-top-row {
  padding: 0;
  flex-shrink: 0;
}
.cards-list .vcard-icon {
  width: 2.5rem;
  height: 2.5rem;
}
.cards-list .vcard-body {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 0;
  flex: 1;
}
.cards-list .stamps {
  display: none;
}
.cards-list .vcard-stats {
  border: none;
  padding: 0;
}
.cards-list .heart-btn {
  width: 2rem;
  height: 2rem;
}

.table-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0.625rem;
  border: 0.0625rem solid var(--border);
}

.vtuber-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84375rem;
  background: var(--surface);
  min-width: 40rem;
}
.vtuber-table thead tr {
  border-bottom: 0.0625rem solid var(--border);
}
.vtuber-table thead th {
  position: sticky;
  top: 3.25rem;
  z-index: 5;
  background: var(--surface);
  box-shadow: 0 0.0625rem 0 var(--border);
}
.vtuber-table th {
  padding: 0.625rem 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.78125rem;
  white-space: nowrap;
  text-align: left;
  user-select: none;
}
.vtuber-table th.vt-sortable {
  cursor: pointer;
}
.vtuber-table th.vt-sortable:hover {
  color: var(--text);
}
.vtuber-table th.vt-col-icon {
  width: 3rem;
  padding-right: 0;
}
.vtuber-table th.vt-col-sub, .vtuber-table th.vt-col-debut, .vtuber-table th.vt-col-fav {
  white-space: nowrap;
}
.vtuber-table .vt-sort-icon {
  font-size: 0.6875rem;
  opacity: 0.4;
  margin-left: 0.1875rem;
}
.vtuber-table th.vt-asc .vt-sort-icon,
.vtuber-table th.vt-desc .vt-sort-icon {
  opacity: 1;
}
.vtuber-table tbody .vt-row {
  cursor: pointer;
  border-bottom: 0.0625rem solid var(--border);
  transition: background 0.1s;
}
.vtuber-table tbody .vt-row:hover td {
  background: var(--bg);
}
.vtuber-table tbody .vt-row:last-child {
  border-bottom: none;
}
.vtuber-table td {
  padding: 0.625rem 0.875rem;
  vertical-align: middle;
  color: var(--text);
}
.vtuber-table .vt-td-icon {
  width: 3rem;
  padding-right: 0;
}
.vtuber-table .vt-td-fav {
  width: 2.5rem;
  text-align: center;
}
.vtuber-table .vt-num {
  font-variant-numeric: tabular-nums;
}
.vtuber-table .vt-muted {
  color: var(--text-muted);
}
.vtuber-table .vtuber-table-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  object-fit: cover;
  display: block;
}
.vtuber-table .vtuber-table-icon--placeholder {
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.vtuber-table .vtuber-table-name {
  font-size: 0.875rem;
  font-weight: 600;
  display: block;
}
.vtuber-table .vtuber-table-reading {
  font-size: 0.6875rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.0625rem;
}
.vtuber-table .vt-total {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 400;
  white-space: nowrap;
}
.vtuber-table .vt-stamp {
  white-space: nowrap;
  padding: 0.375rem 0.625rem;
}
.vtuber-table .vt-stamp-btn {
  background: none;
  border: 0.0625rem solid transparent;
  border-radius: 0.3125rem;
  padding: 0.1875rem 0.4375rem;
  font-size: 0.8125rem;
  font-family: inherit;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.1875rem;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  white-space: nowrap;
}
.vtuber-table .vt-stamp-btn:hover:not(:disabled) {
  background: var(--bg);
  border-color: var(--border2);
  color: var(--text);
}
.vtuber-table .vt-stamp-btn:disabled {
  opacity: 0.5;
  cursor: default;
}
.vtuber-table .vt-stamp-btn[data-type=first_time].stamped {
  color: #6366f1;
  background: #f0f1ff;
  border-color: #a0a8f0;
}
.vtuber-table .vt-stamp-btn[data-type=hooked].stamped {
  color: #c07800;
  background: #fffbf0;
  border-color: #f5c060;
}
.vtuber-table .vt-stamp-btn[data-type=longtime].stamped {
  color: #d0408a;
  background: #fff0f8;
  border-color: #f0a0c8;
}
.vtuber-table .vt-heart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 0.0625rem solid #e0e0e0;
  border-radius: 1.25rem;
  background: var(--surface);
  padding: 0.25rem 0.625rem;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: all 0.15s;
  white-space: nowrap;
}
.vtuber-table .vt-heart-btn svg {
  width: 0.8125rem;
  height: 0.8125rem;
  flex-shrink: 0;
}
.vtuber-table .vt-heart-btn:hover {
  border-color: #ffb3c1;
  color: #ff4d6d;
}
.vtuber-table .vt-heart-btn.hearted {
  border-color: #ff4d6d;
  color: #ff4d6d;
}
.vtuber-table .vt-heart-btn.hearted svg {
  fill: #ff4d6d;
  stroke: #ff4d6d;
}

@media (max-width: 48rem) {
  .view-btn[data-view=grid-sm],
  .view-btn[data-view=table] {
    display: none;
  }
}
.msg-success {
  background: rgba(124, 106, 255, 0.1);
  border: 0.0625rem solid rgba(124, 106, 255, 0.3);
  color: var(--accent);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

/*# sourceMappingURL=style.css.map */
