body {
  font-family: 'Comic Sans MS', 'Chalkboard SE', 'Trebuchet MS', 'Verdana', sans-serif;
  background-color: #009999;
  color: #000;
  margin: 0;
  padding: 0;
}

a {
  color: #ff00ff;
  font-weight: bold;
}

a:visited {
  color: #800080;
}

a:hover {
  color: #ff6600;
  text-decoration: underline overline;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  background: #ffffcc;
  border-left: 3px solid #cc9900;
  border-right: 3px solid #cc9900;
  padding: 10px 20px 20px;
  min-height: 100vh;
}

.header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px) minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  padding: 10px 15px;
  min-height: 72px;
  background: #000066;
  border: 3px outset #9999ff;
  margin-bottom: 8px;
}

.header-mascot-wrap {
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 10px;
}

.header-mascot-left {
  justify-content: flex-end;
}

.header-mascot-right {
  justify-content: flex-start;
}

.header-mascot {
  width: 100%;
  max-width: 260px;
  max-height: 140px;
  height: auto;
  object-fit: contain;
  display: block;
}

.header-mascot-flip {
  transform: scaleX(-1);
}

.header-mascot-left .header-mascot {
  transform: scaleX(-1);
}

.header-mascot-right .header-mascot {
  transform: none;
}

.header-logo-wrap {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.header-logo {
  max-width: 400px;
  width: 100%;
  display: block;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px;
  font-size: 14px;
  background: #ccccff;
  border: 2px inset #9999cc;
  margin-bottom: 10px;
}

.nav-left,
.nav-right {
  white-space: nowrap;
}

.nav-left a,
.nav-right a {
  font-size: 13px;
}

.nav-left a + a {
  margin-left: 4px;
}

.nav-right a + a {
  margin-left: 4px;
}

.nav .username {
  color: #006600 !important;
  font-weight: bold;
  text-decoration: none;
}

.nav .username:hover {
  text-decoration: underline;
}

marquee {
  background: #ff0066;
  color: #ffff00;
  font-size: 18px;
  font-weight: bold;
  padding: 4px;
  border: 2px outset #ff99cc;
  margin-bottom: 10px;
}

.intro {
  margin-bottom: 15px;
  border: 3px ridge #cc9900;
  background: #fff;
  padding: 10px;
}

.intro-text {
  font-size: 14px;
  line-height: 1.5;
}

.intro-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.intro-defs {
  width: 220px;
  flex-shrink: 0;
  font-size: 12px;
  line-height: 1.45;
  padding: 8px 10px;
  background: #ffffcc;
  border: 2px inset #d6c76b;
}

.intro-defs div + div {
  margin-top: 8px;
}

.intro-text b {
  color: #000;
}

hr {
  border: none;
  border-top: 3px solid #ff0000;
  margin: 12px 0;
}

/* CTA inside intro */
.intro-cta {
  margin-top: 8px;
}

.cta-btn {
  display: inline-block;
  font-family: 'Comic Sans MS', 'Comic Neue', sans-serif;
  font-size: 16px;
  font-weight: bold;
  padding: 6px 20px;
  background: #ff6600;
  color: #fff !important;
  border: 3px outset #cc5500;
  text-decoration: none !important;
  cursor: pointer;
  letter-spacing: 1px;
}

.cta-btn:visited {
  color: #fff !important;
}

.cta-btn:hover {
  background: #ff3300;
  color: #ffff00 !important;
}

.cta-btn:active {
  border-style: inset;
}

.cta-sub {
  font-size: 11px;
  color: #666;
  margin-top: 4px;
  display: inline;
  margin-left: 8px;
}

.cta-btn-alt {
  background: #000066;
  border-color: #3333cc;
  margin-left: 6px;
}

.cta-btn-alt:hover {
  background: #3333cc;
  color: #ffff00 !important;
}

/* Search bar */
.search-bar {
  margin-bottom: 0;
  background: #e0e0ff;
  border: 2px inset #aaaacc;
  padding: 8px;
  text-align: center;
}

.search-bar input[type="text"] {
  font-family: 'Comic Sans MS', 'Comic Neue', sans-serif;
  font-size: 14px;
  padding: 4px 6px;
  border: 2px inset #999;
  width: 300px;
  max-width: 50%;
}

.search-bar select {
  font-family: 'Comic Sans MS', 'Comic Neue', sans-serif;
  font-size: 13px;
  padding: 3px;
  border: 2px inset #999;
}

.search-bar button {
  font-family: 'Comic Sans MS', 'Comic Neue', sans-serif;
  font-size: 13px;
  padding: 4px 12px;
  background: #ccccff;
  border: 2px outset #9999cc;
  cursor: pointer;
  font-weight: bold;
}

.search-bar button:active {
  border-style: inset;
}

/* Tab bar */
.tab-bar {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 3px solid #000066;
}

.tab-bar .tab {
  display: inline-block;
  padding: 6px 14px;
  font-family: 'Comic Sans MS', 'Comic Neue', sans-serif;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  background: #ccccff;
  color: #000066;
  border: 2px outset #9999cc;
  border-bottom: none;
  cursor: pointer;
}

.tab-bar .tab:hover {
  background: #ddddff;
  color: #000066;
}

.tab-bar .tab.active {
  background: #000066;
  color: #ffff00;
  border: 2px inset #3333cc;
  border-bottom: none;
}

/* Repo table */
.repo-table {
  width: 100%;
  border-collapse: collapse;
  border: 3px outset #999;
  font-size: 13px;
}

.repo-table th {
  background: #000066;
  color: #ffff00;
  padding: 6px 8px;
  border: 2px outset #3333cc;
  text-align: left;
  white-space: nowrap;
}

.repo-table th a {
  color: #ffff00;
  text-decoration: none;
  cursor: pointer;
}

.repo-table th a:visited {
  color: #ffff00;
}

.repo-table th a:hover {
  color: #ffcc00;
  text-decoration: underline;
}

.repo-table td {
  padding: 5px 8px;
  border: 1px solid #ccccaa;
  vertical-align: middle;
}

.repo-table tr:nth-child(even) {
  background: #ffeedd;
}

.repo-table tr:nth-child(odd) {
  background: #fff;
}

.repo-table tr:hover {
  background: #ffff99;
}

/* Repo cell (name + date + description merged) */
.repo-cell a {
  font-size: 14px;
}

.repo-date {
  font-size: 10px;
  color: #888;
  margin-left: 8px;
}

.repo-desc {
  font-size: 11px;
  color: #555;
  margin-top: 2px;
  max-width: 450px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Score cell */
.score-cell {
  text-align: center;
  font-weight: bold;
  font-size: 15px;
  white-space: nowrap;
}

.score-na { color: #999; font-style: italic; }
.score-low { color: #006600; }
.score-mid { color: #cc6600; }
.score-high { color: #cc0000; }

/* Stars cell */
.stars-cell {
  text-align: right;
  font-size: 12px;
  color: #666;
  white-space: nowrap;
}

/* Community cell */
.community-cell {
  text-align: center;
  white-space: nowrap;
}

.cscore {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 3px;
}

.vote-row {
  white-space: nowrap;
}

.vote-btn {
  background: none;
  border: 2px outset #ccc;
  cursor: pointer;
  padding: 3px;
  vertical-align: middle;
  transition: none;
}

.vote-btn:active {
  border-style: inset;
}

.vote-btn img {
  width: 55px;
  height: 55px;
  display: block;
  image-rendering: pixelated;
}

.vote-btn.active {
  border: 2px inset #ff6600;
  background: #ffeecc;
}

.vote-img-static {
  width: 55px;  
  height: 55px;
  vertical-align: middle;
  image-rendering: pixelated;
}

.vote-count {
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  min-width: 20px;
  text-align: center;
  vertical-align: middle;
  margin: 0 2px;
}

.vote-count.kino { color: #006600; }
.vote-count.slop { color: #cc0000; }

/* Pagination */
.pagination {
  text-align: center;
  margin: 12px 0;
  font-size: 14px;
}

.pagination a, .pagination span {
  display: inline-block;
  padding: 3px 10px;
  margin: 0 2px;
  border: 2px outset #aaa;
  background: #ddd;
  text-decoration: none;
  color: #000;
}

.pagination span.current {
  background: #ff6600;
  color: #fff;
  border-style: inset;
  font-weight: bold;
}

.pagination a:hover {
  background: #ffcc00;
}

/* Form pages */
.form-page {
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
  border: 3px ridge #cc9900;
  padding: 20px;
}

.form-page h2 {
  text-align: center;
  color: #000066;
  font-size: 20px;
  margin-top: 0;
}

.form-page label {
  display: block;
  font-size: 14px;
  margin-top: 10px;
  font-weight: bold;
}

.form-page input[type="text"],
.form-page input[type="password"],
.form-page select {
  font-family: 'Comic Sans MS', 'Comic Neue', sans-serif;
  font-size: 14px;
  padding: 5px;
  width: 100%;
  box-sizing: border-box;
  border: 2px inset #999;
}

.form-page .submit-btn {
  display: block;
  margin: 15px auto 0;
  font-family: 'Comic Sans MS', 'Comic Neue', sans-serif;
  font-size: 15px;
  font-weight: bold;
  padding: 6px 30px;
  background: #66cc66;
  border: 3px outset #339933;
  cursor: pointer;
  color: #000;
}

.form-page .submit-btn:active {
  border-style: inset;
}

.error-msg {
  color: #cc0000;
  background: #ffcccc;
  border: 2px solid #cc0000;
  padding: 6px 10px;
  font-size: 13px;
  text-align: center;
  margin-bottom: 10px;
}

.success-msg {
  color: #006600;
  background: #ccffcc;
  border: 2px solid #006600;
  padding: 6px 10px;
  font-size: 13px;
  text-align: center;
  margin-bottom: 10px;
}

.footer {
  text-align: center;
  padding: 10px;
  font-size: 11px;
  color: #666;
  border-top: 3px solid #ff0000;
  margin-top: 20px;
}

.footer .counter {
  font-family: 'Courier New', monospace;
  background: #000;
  color: #0f0;
  padding: 2px 8px;
  font-size: 13px;
  letter-spacing: 2px;
  border: 2px inset #333;
  display: inline-block;
  margin: 4px 0;
}

.footer-support {
  font-size: 10px;
  color: #888;
  margin-top: 4px;
}

.footer-support a {
  font-size: 10px;
  font-weight: normal;
}

/* GitHub link in table */
.gh-link {
  font-size: 10px;
  color: #999 !important;
  font-weight: normal;
  text-decoration: none;
  margin-left: 4px;
}

.gh-link:hover {
  color: #ff6600 !important;
  text-decoration: underline;
}

/* Repo detail page */
.repo-detail {
  background: #fff;
  border: 3px ridge #cc9900;
  padding: 20px;
  text-align: center;
}

.repo-detail-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 8px;
}

.repo-detail-mascot {
  width: 120px;
}

.repo-detail-logo {
  width: 250px;
}

.repo-detail h2 {
  color: #000066;
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 8px;
}

.repo-detail-links {
  font-size: 13px;
  margin-bottom: 12px;
}

.repo-detail-desc {
  font-size: 14px;
  color: #555;
  margin: 10px auto;
  max-width: 600px;
}

.repo-detail-scores {
  margin: 15px auto;
  border-collapse: collapse;
}

.repo-detail-scores td {
  padding: 10px 25px;
  text-align: center;
  border: 2px outset #ccc;
  background: #ffffee;
}

.detail-label {
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.detail-score {
  font-size: 28px;
  font-weight: bold;
}

.repo-detail-votes {
  margin: 15px 0;
}

.repo-detail-meta {
  font-size: 11px;
  color: #888;
  margin-top: 10px;
}

.repo-detail-pending {
  font-size: 12px;
  color: #886600;
  background: #fffbe6;
  border: 1px solid #e6d080;
  border-radius: 4px;
  padding: 6px 12px;
  margin-top: 10px;
  text-align: center;
}

/* Badge embed */
.badge-embed {
  margin-top: 15px;
  text-align: center;
}

.badge-preview {
  display: block;
  margin: 6px auto;
}

.badge-copy-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  max-width: 540px;
  margin: 0 auto;
}

.badge-input {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  padding: 4px 6px;
  border: 2px inset #999;
  width: 100%;
  box-sizing: border-box;
  background: #f5f5f5;
  cursor: default;
}

.badge-copy-btn {
  font-family: inherit;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 10px;
  border: 2px solid #333;
  background: #333;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-copy-btn:hover {
  background: #555;
  border-color: #555;
}

.badge-copy-hint {
  font-size: 11px;
  color: #666;
  margin-top: 4px;
}

/* Review form */
.review-form-box {
  max-width: 600px;
  margin: 15px auto;
  background: #fff;
  border: 3px ridge #cc9900;
  padding: 15px;
}

.review-form-box h3 {
  text-align: center;
  color: #000066;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 16px;
}

.review-form-radios {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.review-radio {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}

.review-radio-img {
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
}

.review-form-box textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Comic Sans MS', 'Comic Neue', sans-serif;
  font-size: 13px;
  padding: 6px;
  border: 2px inset #999;
  resize: vertical;
  min-height: 60px;
}

.review-form-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.review-char-count {
  font-size: 11px;
  color: #888;
}

/* Reviews list */
.reviews-section {
  max-width: 600px;
  margin: 15px auto;
}

.reviews-section h3 {
  text-align: center;
  color: #000066;
  font-size: 16px;
  margin-bottom: 10px;
}


/* Repo row actions (reviews + share inside repo cell) */
.repo-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}

.review-count-link {
  font-size: 11px;
  color: #666 !important;
  font-weight: normal;
  text-decoration: none;
}

.review-count-link:hover {
  text-decoration: underline;
  color: #ff6600 !important;
}

.table-share-link {
  display: inline-block;
  font-family: 'Comic Sans MS', 'Comic Neue', sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 8px;
  background: #ccddff;
  color: #000066 !important;
  border: 1px outset #aaa;
  text-decoration: none;
}

.table-share-link:hover {
  background: #aaccff;
}

.table-share-link:active {
  border-style: inset;
}

/* Share bar */
.share-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
}

.share-btn {
  display: inline-block;
  font-family: 'Comic Sans MS', 'Comic Neue', sans-serif;
  font-size: 13px;
  font-weight: bold;
  padding: 5px 14px;
  border: 2px outset #aaa;
  cursor: pointer;
  text-decoration: none;
  color: #000;
}

.share-btn:active {
  border-style: inset;
}

.share-x {
  background: #ccddff;
  color: #000066 !important;
}

.share-x:hover {
  background: #aaccff;
}

.share-copy {
  background: #ddffdd;
}

.share-copy:hover {
  background: #aaffaa;
}

/* Share toast */
.share-toast {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #000066;
  color: #ffff00;
  font-family: 'Comic Sans MS', 'Comic Neue', sans-serif;
  font-size: 14px;
  font-weight: bold;
  padding: 12px 20px;
  border: 3px outset #9999ff;
  text-align: center;
  z-index: 9999;
  max-width: 90%;
}

.share-toast a {
  color: #ffcc00;
  margin-left: 8px;
}


/* Global reviews page */
.reviews-page {
  max-width: 700px;
  margin: 0 auto;
}

.reviews-page h2 {
  text-align: center;
  color: #000066;
  font-size: 20px;
  margin-bottom: 12px;
}

/* Review rows (shared component) */
.featured-reviews {
  margin-bottom: 10px;
  border: 2px solid #ccccaa;
  background: #fff;
}

.featured-tabs {
  display: flex;
  background: #e0e0ff;
  border-bottom: 1px solid #ccccaa;
}

.featured-tab {
  flex: 1;
  padding: 4px 0;
  font-family: 'Comic Sans MS', 'Comic Neue', sans-serif;
  font-size: 12px;
  font-weight: bold;
  color: #000066;
  background: none;
  border: none;
  cursor: pointer;
  text-align: center;
  border-bottom: 2px solid transparent;
}

.featured-tab:hover {
  background: #d0d0ff;
}

.featured-tab.active {
  background: #fff;
  border-bottom: 2px solid #000066;
}

/* Top sloppers rows */
.slopper-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-top: 1px solid #eee;
  font-size: 12px;
}

.slopper-rank {
  font-weight: bold;
  color: #000066;
  min-width: 20px;
}

.slopper-name {
  font-weight: bold;
  color: #000066;
  text-decoration: none;
}

.slopper-name:hover {
  text-decoration: underline;
  color: #ff6600;
}

.slopper-stat {
  color: #888;
  margin-left: auto;
  font-size: 11px;
}

.slopper-ups {
  color: #000066;
  font-weight: bold;
  font-size: 11px;
}

/* Avatar with hat — single 100×75 base, scaled so sloppers/reviews/profile all align */
.avatar-wrap {
  position: relative;
  flex-shrink: 0;
  overflow: visible;
  display: inline-block;
  vertical-align: middle;
  line-height: 0;
  width: calc(100px * var(--avatar-scale, 1));
  height: calc(75px * var(--avatar-scale, 1));
}

.avatar-scaler {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 75px;
  transform: scale(var(--avatar-scale, 1));
  transform-origin: top left;
}

.avatar-mascot {
  display: block;
  width: 100px;
  height: 75px;
  object-fit: contain;
  object-position: bottom center;
  transform: scaleX(-1);
}

.avatar-hat {
  position: absolute;
  left: 80%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.avatar-wrap[data-variant="compact"] .avatar-hat {
  top: 6%;
}

.avatar-wrap[data-variant="profile"] .avatar-hat {
  top: 22%;
}

.avatar-hat svg {
  display: block;
  width: 100%;
  height: 100%;
}

.fr-item {
  position: relative;
  padding: 5px 8px;
  border-top: 1px solid #eee;
  background: #fff;
}

.fr-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  min-width: 0;
}

.fr-badge {
  position: absolute;
  bottom: 4px;
  right: 6px;
  width: 18px;
  height: 18px;
  image-rendering: pixelated;
  opacity: 0.7;
}

.fr-user {
  font-weight: bold;
  color: #000066;
  text-decoration: none;
  flex-shrink: 0;
  font-size: 12px;
}

.fr-user:hover {
  text-decoration: underline;
  color: #ff6600;
}

.fr-on {
  color: #888;
  flex-shrink: 0;
  font-size: 11px;
}

.fr-on a {
  font-size: 11px;
  font-weight: normal;
}

.fr-time {
  font-size: 10px;
  color: #999;
  margin-left: auto;
}

.fr-msg {
  color: #555;
  font-size: 12px;
  line-height: 1.4;
  padding: 2px 28px 0 33px;
  white-space: pre-wrap;
  word-break: break-word;
}

.fr-upvote {
  flex-shrink: 0;
  background: none;
  border: 1px solid #ccc;
  cursor: pointer;
  padding: 0 4px;
  font-size: 11px;
  font-weight: bold;
  color: #666;
  font-family: 'Comic Sans MS', 'Comic Neue', sans-serif;
  line-height: 1.4;
}

.fr-upvote:hover {
  background: #ddf;
  color: #000066;
  border-color: #99c;
}

.fr-upvote.upvoted {
  background: #ccddff;
  border-color: #6699cc;
  color: #000066;
}

.fr-ups {
  color: #000066;
  font-weight: bold;
  font-size: 11px;
  flex-shrink: 0;
}

/* Reviews page sort tabs */
.reviews-sort-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 10px;
  border-bottom: 3px solid #000066;
}

.reviews-sort-tabs .tab {
  display: inline-block;
  padding: 6px 14px;
  font-family: 'Comic Sans MS', 'Comic Neue', sans-serif;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  background: #ccccff;
  color: #000066;
  border: 2px outset #9999cc;
  border-bottom: none;
  cursor: pointer;
}

.reviews-sort-tabs .tab:hover {
  background: #ddddff;
  color: #000066;
}

.reviews-sort-tabs .tab.active {
  background: #000066;
  color: #ffff00;
  border: 2px inset #3333cc;
  border-bottom: none;
}

/* User profile page */
.profile-page {
  max-width: 700px;
  margin: 0 auto;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 3px ridge #cc9900;
  padding: 20px;
  margin-bottom: 15px;
}

.profile-mascot {
  width: 100px;
  flex-shrink: 0;
  transform: scaleX(-1);
}

.profile-info h2 {
  color: #000066;
  font-size: 24px;
  margin: 0 0 4px;
}

.profile-karma {
  font-size: 20px;
  font-weight: bold;
  color: #ff6600;
}

.profile-meta {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.profile-status {
  font-size: 13px;
  color: #555;
  font-style: italic;
  margin-bottom: 2px;
}

.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
  justify-content: center;
}

.profile-stat {
  background: #fff;
  border: 2px solid #ccccaa;
  padding: 10px 16px;
  text-align: center;
  min-width: 100px;
}

.profile-stat-value {
  font-size: 22px;
  font-weight: bold;
  color: #000066;
}

.profile-stat-kino { color: #006600; }
.profile-stat-slop { color: #cc0000; }

.profile-stat-label {
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.profile-section {
  margin-bottom: 15px;
}

.profile-section h3 {
  text-align: center;
  color: #000066;
  font-size: 16px;
  margin-bottom: 10px;
}

.profile-repos-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px outset #999;
  font-size: 13px;
}

.profile-repos-table th {
  background: #000066;
  color: #ffff00;
  padding: 5px 8px;
  border: 2px outset #3333cc;
  text-align: left;
  font-size: 12px;
}

.profile-repos-table td {
  padding: 4px 8px;
  border: 1px solid #ccccaa;
  text-align: center;
}

.profile-repos-table td:first-child {
  text-align: left;
}

.profile-repos-table tr:nth-child(even) {
  background: #ffeedd;
}

.profile-repos-table tr:nth-child(odd) {
  background: #fff;
}

.profile-edit {
  background: #fffff0;
  border: 2px solid #ccccaa;
  padding: 10px 14px;
  margin-bottom: 15px;
}

.profile-edit-form {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: flex-end;
}

.profile-edit-form label {
  font-size: 11px;
  font-weight: bold;
  color: #666;
  width: 100%;
  margin: 0;
}

.profile-edit-form input[type="text"] {
  flex: 1;
  min-width: 150px;
  padding: 4px 6px;
  font-size: 13px;
  font-family: 'Comic Sans MS', 'Comic Neue', sans-serif;
  border: 2px inset #ccc;
}

.profile-edit-form .submit-btn {
  padding: 4px 14px;
  font-size: 12px;
}

.honey { display: none !important; }

@supports (-webkit-touch-callout: none) {
  body,
  .cta-btn,
  .search-bar input[type="text"],
  .search-bar select,
  .search-bar button,
  .tab-bar .tab,
  .form-page input[type="text"],
  .form-page input[type="password"],
  .form-page select,
  .form-page .submit-btn,
  .review-form-box textarea,
  .table-share-link,
  .share-btn,
  .share-toast {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .container {
    border-left: none;
    border-right: none;
    padding: 8px 10px 16px;
  }

  .header .header-logo {
    max-width: 240px;
  }

  .intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .intro-main {
    flex-direction: column;
    align-items: center;
  }

  .intro-defs {
    width: 100%;
    max-width: 320px;
  }

  .search-bar input[type="text"] {
    width: 100%;
    max-width: 100%;
  }

  .repo-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .repo-table {
    min-width: 600px;
  }

  .repo-detail-banner {
    flex-direction: column;
    gap: 8px;
  }

  .repo-detail-mascot {
    width: 80px;
  }

  .repo-detail-logo {
    width: 180px;
  }

  .repo-detail-scores {
    display: block;
  }

  .repo-detail-scores td {
    display: block;
    padding: 8px 12px;
  }

  .review-form-box {
    padding: 10px;
  }

  .badge-input {
    font-size: 10px;
  }

  .badge-copy-btn {
    font-size: 10px;
  }

  .tab-bar {
    flex-wrap: wrap;
  }

  .tab-bar .tab {
    font-size: 11px;
    padding: 5px 8px;
  }

  .form-page {
    padding: 12px;
  }

  .vote-btn img {
    width: 40px;
    height: 40px;
  }

  .vote-img-static {
    width: 40px;
    height: 40px;
  }

  .profile-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 12px;
  }

  .profile-mascot {
    width: 70px;
  }

  .profile-stats {
    gap: 6px;
  }

  .profile-stat {
    min-width: 80px;
    padding: 8px 10px;
  }

  .profile-stat-value {
    font-size: 18px;
  }

  .reviews-sort-tabs {
    flex-wrap: wrap;
  }

  .reviews-sort-tabs .tab {
    font-size: 11px;
    padding: 5px 8px;
  }
}
