@import url("styles/theme.css?v=e451ebe8c644");
@import url("styles/leaderboard.css?v=e451ebe8c644");
* {
  box-sizing:border-box;
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:var(--text-control);
  line-height:1.55;
}
button,input,textarea,select {
  font:inherit;
}
button,a,input,select,textarea {
  outline-offset:4px;
}
button {
  cursor:pointer;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface);
  color:var(--ink);
  padding:10px 15px;
  font-weight:600;
}
button:hover {
  border-color:var(--line-strong);
  background:var(--surface-soft);
}
button:disabled {
  opacity:.5;
  cursor:default;
}
a {
  color:inherit;
  text-decoration:none;
}
a:hover {
  text-decoration:underline;
}
p {
  margin:10px 0 18px;
}
h1,h2,h3 {
  line-height:1.2;
  letter-spacing:-.035em;
  margin:0 0 16px;
}
h1 {
  font-size:var(--text-hero);
  font-weight:750;
}
h2 {
  font-size:var(--text-section);
}
h3 {
  font-size:var(--text-title-sm);
}
.demo-strip {
  text-align:center;
  background:var(--surface-blue);
  font-size:var(--text-xs);
  letter-spacing:.07em;
  padding:7px 15px;
  font-weight:700;
  color:var(--muted);
}
.demo-strip span {
  font-weight:400;
  letter-spacing:0;
}
header {
  background:var(--surface);
  border-bottom:1px solid var(--line);
}
.header-inner {
  max-width:1300px;
  padding:26px 30px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:var(--text-brand);
  font-weight:800;
  letter-spacing:-1px;
}
.brand:hover {
  text-decoration:none;
}
.brand-icon {
  background:var(--accent);
  color:var(--on-accent);
  border-radius:10px;
  padding:4px 9px;
  font-size:var(--text-section);
  letter-spacing:-2px;
}
.brand-icon span {
  color:var(--logo-detail);
}
.brand-light {
  font-weight:450;
}
.brand small {
  display:block;
  font-size:var(--text-xs);
  letter-spacing:1.65px;
  font-weight:650;
  margin-top:2px;
}
nav {
  display:flex;
  align-items:center;
  gap:25px;
  font-size:var(--text-xs);
}
nav a:first-child {
  font-weight:700;
}
.quiet {
  background:transparent;
  border-color:transparent;
  padding:7px;
  color:var(--muted);
}
.primary {
  display:inline-block;
  background:var(--accent);
  color:var(--on-accent);
  border:1px solid var(--accent);
  padding:11px 19px;
  border-radius:8px;
  font-weight:650;
  font-size:var(--text-sm);
}
.primary:hover {
  background:var(--accent-hover);
  color:var(--on-accent);
  text-decoration:none;
}
.eyebrow {
  display:block;
  font-size:var(--text-xs);
  letter-spacing:1.6px;
  font-weight:750;
  color:var(--muted);
  margin-bottom:12px;
}
.accent {
  color:var(--accent);
}
main {
  max-width:1300px;
  margin:auto;
  padding:0 30px 60px;
}
.hero {
  display:grid;
  grid-template-columns:1.25fr 1fr;
  gap:70px;
  padding:48px 0 36px;
  align-items:center;
}
.hero h1 span {
  color:var(--accent);
}
.hero p {
  color:var(--muted);
  font-size:var(--text-md);
  line-height:1.8;
}
.hero-tags {
  display:flex;
  gap:22px;
  font-size:var(--text-xs);
  color:var(--muted);
}
.hero-right {
  padding-left:15px;
}
.banner {
  display:flex;
  flex-direction:column;
  border:1px solid var(--line);
  border-radius:12px;
  padding:22px 26px;
  gap:6px;
  background:var(--surface-blue);
}
.banner:hover {
  text-decoration:none;
  border-color:var(--line-strong);
}
.banner .eyebrow {
  font-size:var(--text-xs);
  margin:0 0 8px;
  color:var(--muted);
}
.banner strong {
  font-size:var(--text-title-lg);
  letter-spacing:-.7px;
  display:flex;
  justify-content:space-between;
}
.banner>span:last-child {
  font-size:var(--text-xs);
  color:var(--muted);
}
.banner-top {
  min-height:152px;
  background:linear-gradient(110deg,var(--surface-blue-deep),var(--surface-soft));
}
.category-bar {
  display:flex;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:14px 0;
  gap:9px;
  overflow:auto;
  margin-bottom:35px;
}
.category-bar button {
  border-color:transparent;
  background:transparent;
  white-space:nowrap;
  font-size:var(--text-xs);
  padding:9px 15px;
}
.category-bar .active,.admin-tabs .active {
  background:var(--accent);
  color:var(--on-accent);
}
.content-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 255px;
  gap:30px;
}
.section-top .eyebrow {
  font-size:var(--text-xs);
  margin-bottom:9px;
}
.section-top h2 {
  font-size:var(--text-section);
}
.count {
  font-size:var(--text-xs);
  padding:3px 7px;
  vertical-align:middle;
  background:var(--surface-blue);
  border-radius:5px;
  margin-left:10px;
  letter-spacing:0;
}
.filters {
  display:flex;
  gap:10px;
  margin:22px 0;
}
.search {
  display:flex;
  align-items:center;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:7px;
  flex:1;
  min-width:100px;
}
.search span {
  font-size:var(--text-title-lg);
  padding-left:12px;
  color:var(--muted);
}
.search input {
  width:100%;
  min-width:50px;
  border:0;
  margin:0;
  background:transparent;
  font-size:var(--text-xs);
  padding:12px;
}
.filters select {
  font-size:var(--text-xs);
  max-width:160px;
  margin:0;
  padding:10px;
  background:var(--surface);
}
.cards {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.offer-card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  transition:transform .18s,box-shadow .18s;
}
.offer-card:hover {
  transform:translateY(-3px);
  box-shadow:0 8px 24px var(--shadow);
}
.product-art {
  display:block;
  position:relative;
  width:100%;
  height:165px;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:radial-gradient(ellipse at 50% 70%,var(--art-center), var(--art-edge) 65%);
  padding:24px 12px 4px;
}
.product-art svg {
  width:100%;
  height:125px;
}
.condition {
  position:absolute;
  top:12px;
  left:12px;
  background:var(--surface);
  color:var(--muted);
  border:1px solid var(--line);
  padding:3px 7px;
  border-radius:5px;
  font-size:var(--text-xs);
  font-weight:650;
}
.condition.used {
  background:var(--used-bg);
  color:var(--used-text);
}
.art-note {
  position:absolute;
  bottom:7px;
  right:10px;
  font-size:var(--text-xs);
  color:var(--muted);
  letter-spacing:.5px;
}
.card-content {
  padding:17px;
}
.card-meta {
  display:flex;
  justify-content:space-between;
  gap:5px;
  font-size:var(--text-xs);
  color:var(--muted);
  margin-bottom:11px;
}
.card-meta span:first-child {
  font-weight:750;
  color:var(--accent);
}
.title-button {
  border:0;
  padding:0;
  background:none;
  text-align:left;
  width:100%;
  min-height:52px;
}
.title-button:hover {
  background:none;
}
.title-button h3 {
  font-size:var(--text-md);
  line-height:1.4;
  margin:0;
  letter-spacing:-.4px;
}
.price-row {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:baseline;
  margin:12px 0 8px;
}
.price-row strong {
  font-size:var(--text-section);
  letter-spacing:-1px;
}
.price-row span {
  font-size:var(--text-xs);
  color:var(--muted);
}
.card-summary {
  font-size:var(--text-xs);
  line-height:1.65;
  color:var(--muted);
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:36px;
  margin-bottom:18px;
}
.card-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:12px;
  border-top:1px solid var(--line);
}
.like {
  font-size:var(--text-xs);
  padding:5px 9px;
  border-color:var(--surface-blue);
  background:var(--surface-soft);
}
.like.selected {
  background:var(--accent-soft);
  border-color:var(--accent-line);
}
.detail-link {
  border:0;
  padding:5px 0;
  font-size:var(--text-xs);
  background:none;
  color:var(--accent);
}
.detail-link span {
  margin-left:13px;
}
.data-note {
  font-size:var(--text-xs);
  color:var(--muted);
  margin-top:22px;
}
aside {
  padding-top:0;
}
.community-box {
  background:var(--surface-blue);
  border:1px solid var(--line);
  border-radius:12px;
  padding:25px 21px;
  margin-bottom:20px;
}
.community-box .eyebrow {
  font-size:var(--text-xs);
  color:var(--muted);
}
.chat-icon {
  font-family:Georgia,serif;
  font-size:var(--text-quote);
  line-height:1;
  color:var(--accent);
  height:55px;
}
.community-box h3 {
  font-size:var(--text-title-md);
}
.community-box p {
  font-size:var(--text-xs);
  color:var(--muted);
  line-height:1.8;
}
.community-box a {
  display:block;
  font-size:var(--text-xs);
  font-weight:700;
  border-top:1px solid var(--line);
  padding-top:14px;
}
.submit-box {
  background:var(--surface);
  border:1px solid var(--line);
  padding:23px 20px;
  border-radius:12px;
  margin-bottom:20px;
}
.submit-box h3 {
  font-size:var(--text-title-sm);
}
.submit-box p {
  font-size:var(--text-xs);
  color:var(--muted);
}
.submit-box .primary {
  width:100%;
  font-size:var(--text-xs);
}
.submit-box small {
  display:block;
  text-align:center;
  margin-top:12px;
  color:var(--muted);
  font-size:var(--text-xs);
}
.banner-side {
  padding:20px;
  background:var(--surface-blue);
}
.banner-side strong {
  font-size:var(--text-card-title);
}
.aside-note {
  font-size:var(--text-xs);
  color:var(--muted);
  padding:24px 10px;
}
.aside-note p {
  margin-top:7px;
}
.banner-bottom {
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  padding:24px 30px;
  background:var(--surface-blue);
}
.banner-bottom .eyebrow {
  margin:0;
}
.banner-bottom strong {
  font-size:var(--text-title-md);
  gap:25px;
}
footer {
  background:var(--surface);
  border-top:1px solid var(--line);
}
.footer-inner {
  max-width:1300px;
  padding:35px 30px;
  margin:auto;
}
.footer-main {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:30px 0 15px;
}
.footer-main p {
  font-size:var(--text-xs);
  color:var(--muted);
  margin:5px 0;
}
.footer-links {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.footer-links button {
  border:0;
  font-size:var(--text-xs);
  font-weight:450;
  padding:5px;
  color:var(--muted);
}
.legal-note {
  border-top:1px solid var(--line);
  padding-top:18px;
  font-size:var(--text-xs);
  color:var(--muted);
  max-width:100%;
  margin:0;
}
dialog {
  border:1px solid var(--line);
  border-radius:16px;
  padding:35px;
  width:min(740px,94vw);
  max-height:90vh;
  color:var(--ink);
  box-shadow:0 25px 100px var(--modal-shadow);
}
dialog::backdrop {
  background:var(--backdrop);
  backdrop-filter:blur(3px);
}
dialog .close {
  position:sticky;
  float:right;
  top:0;
  border:0;
  background:var(--surface-soft);
  border-radius:100%;
  padding:0;
  width:30px;
  height:30px;
  font-size:var(--text-title-md);
  z-index:1;
}
dialog h2 {
  margin-top:6px;
  padding-right:20px;
}
label {
  display:block;
  font-size:var(--text-xs);
  font-weight:650;
  margin:14px 0;
}
input,textarea,select {
  display:block;
  width:100%;
  padding:11px 12px;
  border:1px solid var(--line);
  border-radius:7px;
  background:var(--surface);
  color:var(--ink);
  margin-top:7px;
}
textarea {
  resize:vertical;
}
.check {
  display:flex;
  align-items:center;
  gap:8px;
}
.check input {
  width:16px;
  margin:0;
}
.notice {
  background:var(--notice-bg);
  border-left:3px solid var(--notice-line);
  padding:13px 16px;
  font-size:var(--text-xs);
  color:var(--notice-text);
  margin:20px 0;
  line-height:1.7;
}
.muted {
  color:var(--muted);
  font-size:var(--text-xs);
}
.error {
  color:var(--error);
  font-size:var(--text-xs);
}
.reading {
  font-size:var(--text-lead);
  line-height:1.85;
  color:var(--reading);
}
.reading strong {
  background:var(--highlight-bg);
  color:var(--highlight-text);
  padding:0 3px;
  border-radius:3px;
}
.detail-price {
  font-size:var(--text-price-detail);
  font-weight:750;
  margin:20px 0 5px;
}
.detail-price small {
  font-size:var(--text-xs);
  font-weight:400;
  color:var(--muted);
}
.external {
  margin-bottom:15px;
}
.detail-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:12px 0;
}
.detail-actions button {
  font-size:var(--text-xs);
}
.forum-callout {
  background:var(--surface-blue);
  padding:20px;
  border-radius:10px;
  margin:25px 0;
  font-size:var(--text-sm);
}
.forum-callout p {
  font-size:var(--text-xs);
  margin:5px 0 12px;
}
.forum-callout a {
  font-weight:650;
}
.empty {
  padding:35px 20px;
  background:var(--surface);
  border:1px dashed var(--line);
  border-radius:10px;
  color:var(--muted);
  font-size:var(--text-sm);
  grid-column:1/-1;
}
.admin-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:42px 0 25px;
  gap:20px;
}
.admin-heading h1 {
  font-size:var(--text-page);
}
.admin-heading p {
  font-size:var(--text-xs);
  color:var(--muted);
}
.stats {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-bottom:28px;
}
.stats>div {
  padding:22px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:12px;
}
.stats strong {
  font-size:var(--text-stat);
  display:block;
  letter-spacing:-1px;
}
.stats span {
  font-size:var(--text-xs);
  color:var(--muted);
}
.admin-tabs {
  display:flex;
  gap:8px;
  overflow:auto;
  padding-bottom:20px;
}
.admin-tabs button {
  font-size:var(--text-xs);
}
.admin-content {
  padding:28px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:12px;
}
.admin-content h2 {
  margin-top:15px;
}
.admin-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:18px 0;
  border-bottom:1px solid var(--line);
}
.admin-row p {
  margin:5px 0;
}
.admin-row button {
  flex-shrink:0;
  font-size:var(--text-xs);
}
.url-text {
  overflow-wrap:anywhere;
  font-size:var(--text-xs);
}
.narrow {
  max-width:500px;
}
.form-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px;
}
.form-grid label {
  min-width:0;
}
.editor-tools {
  display:flex;
  gap:12px;
  align-items:center;
  background:var(--surface-soft);
  padding:8px;
  border:1px solid var(--line);
  border-radius:8px 8px 0 0;
}
.editor-tools button {
  font-size:var(--text-xs);
  padding:4px 10px;
}
.editor-tools span {
  font-size:var(--text-xs);
  color:var(--muted);
}
.rich-editor {
  min-height:170px;
  padding:15px;
  border:1px solid var(--line);
  border-top:0;
  border-radius:0 0 8px 8px;
}
.rich-editor p {
  margin:0 0 10px;
}
.version {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid var(--line);
  padding:10px 0;
  gap:10px;
  font-size:var(--text-xs);
}
.version button {
  font-size:var(--text-xs);
}
.banner-form {
  padding:20px;
  background:var(--surface-soft);
  border:1px solid var(--line);
  border-radius:10px;
  margin-bottom:20px;
}
.banner-form .form-grid {
  grid-template-columns:1fr 1fr;
}
.danger {
  color:var(--error);
  border-color:var(--danger-line);
}
#toast {
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translate(-50%,25px);
  background:var(--accent-hover);
  color:var(--on-accent);
  padding:13px 23px;
  border-radius:10px;
  box-shadow:0 5px 30px var(--modal-shadow);
  opacity:0;
  pointer-events:none;
  transition:.2s;
  max-width:90vw;
  font-size:var(--text-xs);
  z-index:5;
}
#toast.show {
  opacity:1;
  transform:translate(-50%,0);
}
@media(min-width:1450px) {
  .header-inner,main,.footer-inner {
    max-width:1370px;
  }
  .product-art {
    height:185px;
  }
  .product-art svg {
    height:145px;
  }
}
@media(max-width:1100px) {
  nav {
    gap:12px;
  }
  .brand {
    font-size:var(--text-title-sm);
  }
  .brand small {
    font-size:var(--text-xs);
  }
  .cards {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .content-layout {
    grid-template-columns:minmax(0,1fr) 235px;
    gap:22px;
  }
  .hero {
    gap:30px;
  }
  .hero-tags {
    gap:12px;
  }
  .section-top h2 {
    font-size:var(--text-title-md);
  }
}
@media(max-width:800px) {
  nav a {
    display:none;
  }
  .header-inner {
    padding:20px;
    gap:10px;
  }
  .header-inner>.primary {
    font-size:var(--text-xs);
    padding:10px;
  }
  main {
    padding:0 20px 35px;
  }
  .hero {
    grid-template-columns:1fr;
    gap:20px;
    padding:30px 0;
  }
  .hero-right {
    padding:0;
  }
  .banner-top {
    min-height:110px;
  }
  .hero h1 br {
    display:none;
  }
  .hero h1 {
    max-width:490px;
  }
  .hero p br {
    display:none;
  }
  .hero-tags {
    flex-wrap:wrap;
  }
  .content-layout {
    grid-template-columns:1fr;
  }
  aside {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
  }
  .community-box,.submit-box {
    margin:0;
  }
  .aside-note {
    padding:10px;
  }
  .banner-bottom {
    flex-wrap:wrap;
    gap:15px;
  }
  .banner-bottom .eyebrow {
    width:100%;
  }
  .footer-main {
    align-items:flex-start;
    gap:20px;
    flex-direction:column;
  }
  .footer-inner {
    padding:25px 20px;
  }
  .stats {
    grid-template-columns:1fr 1fr;
  }
  .admin-heading {
    align-items:flex-start;
    flex-direction:column;
  }
  .admin-content {
    padding:18px;
  }
  .filters select {
    max-width:145px;
  }
  .form-grid {
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:480px) {
  .demo-strip span {
    display:block;
    font-size:var(--text-xs);
  }
  .header-inner {
    flex-wrap:wrap;
  }
  .brand {
    flex:1;
  }
  .brand small {
    letter-spacing:1px;
  }
  .header-inner nav {
    order:3;
    width:100%;
    justify-content:flex-end;
    border-top:1px solid var(--line);
    padding-top:8px;
  }
  .header-inner nav a {
    display:block;
    font-size:var(--text-xs);
  }
  .header-inner nav button {
    font-size:var(--text-xs);
  }
  .hero h1 {
    font-size:var(--text-hero-mobile);
  }
  .hero p {
    font-size:var(--text-sm);
  }
  .hero-tags {
    font-size:var(--text-xs);
  }
  .category-bar {
    margin-bottom:25px;
  }
  .section-top h2 {
    font-size:var(--text-title-md);
  }
  .filters {
    flex-wrap:wrap;
  }
  .search {
    flex-basis:100%;
  }
  .filters select {
    flex:1;
    max-width:none;
  }
  .cards {
    gap:12px;
  }
  .card-content {
    padding:12px;
  }
  .product-art {
    height:130px;
  }
  .product-art svg {
    height:95px;
  }
  .title-button h3 {
    font-size:var(--text-sm);
  }
  .title-button {
    min-height:60px;
  }
  .card-meta {
    font-size:var(--text-xs);
    flex-wrap:wrap;
  }
  .card-meta span:last-child {
    display:none;
  }
  .price-row strong {
    font-size:var(--text-brand);
  }
  .price-row {
    gap:2px;
  }
  .price-row span {
    font-size:var(--text-xs);
  }
  .card-summary {
    font-size:var(--text-xs);
  }
  .detail-link {
    font-size:var(--text-xs);
  }
  .detail-link span {
    margin-left:3px;
  }
  .like {
    font-size:var(--text-xs);
    padding:5px;
  }
  .art-note {
    font-size:var(--text-xs);
  }
  aside {
    grid-template-columns:1fr;
  }
  .stats strong {
    font-size:var(--text-title-md);
  }
  .admin-row {
    align-items:flex-start;
    flex-direction:column;
  }
  .form-grid,.banner-form .form-grid {
    grid-template-columns:1fr;
    gap:0;
  }
  dialog {
    padding:23px;
  }
  .reading {
    font-size:var(--text-body);
  }
  .footer-links {
    gap:4px;
  }
  .hero-right .banner {
    padding:20px;
  }
  .banner-bottom>span:last-child {
    font-size:var(--text-xs);
  }
}
/* Readability shared by all screens. */
body {
  font-size:var(--text-body);
}
.hero p {
  font-size:var(--text-lead);
}
.hero-tags {
  font-size:var(--text-sm);
}
.brand small {
  font-size:var(--text-micro);
  letter-spacing:1px;
}
.eyebrow,.section-top .eyebrow,.community-box .eyebrow,.banner .eyebrow {
  font-size:var(--text-caption);
  letter-spacing:1px;
}
.demo-strip {
  font-size:var(--text-caption);
}
.category-bar {
  flex-wrap:wrap;
  gap:8px;
}
.category-bar button {
  font-size:var(--text-control);
  padding:10px 14px;
}
.header-inner {
  gap:18px;
}
nav {
  gap:18px;
  font-size:var(--text-control);
}
.primary {
  font-size:var(--text-control);
}
.content-layout {
  grid-template-columns:minmax(0,1fr) 280px;
}
.cards {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}
.product-art {
  height:190px;
}
.product-art svg {
  height:150px;
}
.card-content {
  padding:22px;
}
.title-button h3 {
  font-size:var(--text-card-title);
  line-height:1.4;
}
.title-button {
  min-height:60px;
}
.card-summary {
  font-size:var(--text-control);
  line-height:1.75;
  min-height:52px;
}
.card-meta {
  font-size:var(--text-xs);
  flex-wrap:wrap;
}
.price-row strong {
  font-size:var(--text-price);
}
.price-row span {
  font-size:var(--text-xs);
}
.card-bottom {
  flex-wrap:wrap;
  gap:10px;
}
.like {
  font-size:var(--text-control);
  padding:7px 12px;
}
.detail-link {
  font-size:var(--text-sm);
  margin-left:auto;
}
.comments-button {
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:var(--text-sm);
  padding:7px 9px;
  border-color:transparent;
  background:transparent;
}
.comments-button svg {
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
}
.comments-button b {
  font-weight:500;
}
.filters {
  align-items:center;
}
.search {
  margin:0;
}
.search input,.filters select {
  font-size:var(--text-control);
}
.filters select {
  max-width:185px;
}
.community-box p,.submit-box p,.aside-note {
  font-size:var(--text-control);
}
.community-box a,.submit-box .primary {
  font-size:var(--text-control);
}
.submit-box small,.banner>span:last-child {
  font-size:var(--text-sm);
}
.banner-bottom>span:last-child {
  font-size:var(--text-sm);
}
.footer-main p,.footer-links button,.legal-note,.data-note {
  font-size:var(--text-sm);
  line-height:1.7;
}
label,.muted,.notice,.admin-row button,.detail-actions button {
  font-size:var(--text-control);
}
.reading {
  font-size:var(--text-reading);
}
.art-note {
  font-size:var(--text-micro);
  color:var(--muted);
}
.condition {
  font-size:var(--text-xs);
}
.stats span {
  font-size:var(--text-control);
}
.banner-form h3 {
  font-size:var(--text-title-md);
}
.count {
  font-size:var(--text-sm);
}
.discussion-title {
  font-size:var(--text-lead);
  color:var(--muted);
}
.discussion-toolbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  border-top:1px solid var(--line);
  margin-top:24px;
  padding-top:12px;
}
.discussion-toolbar label {
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:400;
}
.discussion-toolbar select {
  margin:0;
  width:auto;
  font-size:var(--text-sm);
}
.comment-form-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  margin-top:12px;
}
.comment-form-footer small {
  font-size:var(--text-xs);
  color:var(--muted);
}
.comment {
  padding:19px 0;
  border-bottom:1px solid var(--line);
}
.comment-meta {
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  font-size:var(--text-sm);
}
.comment-meta time {
  color:var(--muted);
  font-size:var(--text-xs);
}
.comment-body {
  font-size:var(--text-body);
  line-height:1.7;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  margin:10px 0;
}
.comment-actions {
  display:flex;
  gap:14px;
  align-items:center;
}
.comment-actions button {
  font-size:var(--text-sm);
}
.comment-votes {
  display:flex;
  align-items:center;
  gap:7px;
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--surface-soft);
  padding:1px 5px;
}
.comment-votes button {
  border:0;
  border-radius:50%;
  padding:3px 8px;
  background:transparent;
  font-size:var(--text-card-title);
}
.comment-votes button[aria-pressed=true] {
  background:var(--accent-soft);
  color:var(--accent-hover);
}
.comment-votes b {
  font-size:var(--text-sm);
  min-width:15px;
  text-align:center;
}
.comment-replies {
  margin:15px 0 0 12px;
  padding-left:20px;
  border-left:2px solid var(--line);
}
.comment-replies.flat {
  margin-left:0;
  padding-left:0;
  border:0;
}
.comment-replies .comment {
  border-bottom:0;
  padding-bottom:0;
}
blockquote {
  margin:10px 0;
  padding:10px 15px;
  border-left:3px solid var(--line);
  background:var(--surface-soft);
  font-size:var(--text-sm);
  overflow-wrap:anywhere;
}
@media(max-width:1100px) {
  .content-layout {
    grid-template-columns:minmax(0,1fr) 245px;
  }
  .filters {
    flex-wrap:wrap;
  }
  .search {
    flex-basis:100%;
  }
  .filters select {
    flex:1;
    max-width:none;
  }
  .card-content {
    padding:18px;
  }
  .title-button h3 {
    font-size:var(--text-reading);
  }
  .detail-link {
    flex-basis:100%;
    text-align:right;
  }
  .brand small {
    font-size:var(--text-brand-small);
  }
}
@media(max-width:800px) {
  .content-layout {
    grid-template-columns:1fr;
  }
  .hero p {
    font-size:var(--text-body);
  }
  .hero-tags {
    font-size:var(--text-sm);
  }
  .detail-link {
    flex-basis:auto;
  }
  nav {
    font-size:var(--text-sm);
  }
  .banner-bottom {
    align-items:flex-start;
  }
  .footer-links {
    gap:9px;
  }
}
@media(max-width:540px) {
  .cards {
    grid-template-columns:1fr;
  }
  .card-content {
    padding:21px;
  }
  .title-button h3 {
    font-size:var(--text-card-title);
  }
  .title-button {
    min-height:0;
  }
  .card-summary {
    font-size:var(--text-md);
  }
  .card-meta {
    font-size:var(--text-sm);
  }
  .card-meta span:last-child {
    display:inline;
  }
  .product-art {
    height:180px;
  }
  .product-art svg {
    height:140px;
  }
  .price-row strong {
    font-size:var(--text-price-mobile);
  }
  .price-row span {
    font-size:var(--text-xs);
  }
  .category-bar {
    flex-wrap:nowrap;
  }
  .category-bar button {
    font-size:var(--text-control);
  }
  .header-inner nav a,.header-inner nav button {
    font-size:var(--text-sm);
  }
  .brand small {
    font-size:var(--text-brand-small);
  }
  .hero-tags {
    font-size:var(--text-xs);
  }
  .hero p {
    font-size:var(--text-body);
  }
  .detail-link {
    font-size:var(--text-control);
  }
  .like {
    font-size:var(--text-control);
  }
  .art-note {
    font-size:var(--text-micro);
  }
  .comment-form-footer,.discussion-toolbar {
    align-items:flex-start;
    flex-direction:column;
  }
  .discussion-toolbar label {
    width:100%;
    justify-content:space-between;
  }
  .comment-replies {
    margin-left:5px;
    padding-left:12px;
  }
  .banner-bottom>span:last-child {
    font-size:var(--text-sm);
  }
}
h1,h2,h3,.banner strong {
  color:var(--heading);
}
.review-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
}
a.product-link {
  display: inline-block;
  padding: .55rem .9rem;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent-hover);
  font-weight: 650;
}
a.product-link:hover { background: var(--surface-soft); }
.html-banner {width:100%; min-height:120px; border:0;}
.staff-tools {display:flex; flex-wrap:wrap; gap:.5rem; border-top:1px solid var(--line); margin-top:1rem; padding-top:.75rem;}
.staff-tools a {color:var(--accent-hover); font-size:var(--text-sm); text-decoration:underline;}
#realAdmin[hidden] {display:none;}
.staff-bar {
  background: var(--surface-blue);
  padding: .4rem max(1rem, calc((100% - 1240px) / 2));
  text-align: right;
}
.staff-bar[hidden] { display: none; }
.staff-bar a {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  padding: .4rem .9rem;
  font-size: var(--text-control);
  font-weight: 650;
  color: var(--accent-hover);
}

/* Lectura y resaltado tomados del estilo de NoticiasHardware. */
.offer-reading {font-size:1.3rem;line-height:1.8;color:#4f4f4f;max-width:900px;white-space:pre-line;margin:1rem 0;}
.offer-reading strong,.card-summary strong {background:#fff3cd;padding:0 4px;border-radius:3px;color:#000;font-weight:650;box-decoration-break:clone;-webkit-box-decoration-break:clone;}
.affiliate-disclosure {color:var(--muted);font-size:1rem;line-height:1.5;margin:.75rem 0;}
.offer-card .affiliate-disclosure,#modalBody .affiliate-disclosure,.pilot-card .affiliate-disclosure {
  color:var(--affiliate-note);
  font-size:var(--text-affiliate);
  font-weight:400;
}
.card-read-more {
  display:inline-block;
  align-self:flex-start;
  color:var(--accent-hover);
  font-size:.9375rem;
  text-decoration:underline;
  text-underline-offset:3px;
  background:none;
  border:0;
  padding:.15rem 0;
  margin:-.5rem 0 1rem;
}
.card-read-more:hover {color:var(--heading);}
.card-read-more:focus-visible {outline:2px solid var(--accent);outline-offset:3px;}
.card-read-more[hidden] {display:none;}
.product-condition {display:inline-block;align-self:flex-start;background:var(--surface-blue);color:var(--ink);border:1px solid var(--line-strong);border-radius:6px;padding:.2rem .5rem;margin:0 0 .75rem;font-size:.9375rem;font-weight:650;}

/* Las ofertas terminadas conservan lectura y conversación, con estado inequívoco. */
.offer-expired {filter:grayscale(1);}
.expired-stamp {
  display:inline-block;
  border:3px solid #414141;
  border-radius:6px;
  padding:.45rem .7rem;
  background:#fffffff2;
  color:#303030;
  font-size:1.15rem;
  line-height:1.2;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.product-art .expired-stamp {
  position:absolute;
  z-index:1;
  bottom:1.15rem;
  right:.8rem;
  max-width:calc(100% - 1.6rem);
  transform:rotate(-8deg);
}
.expired-caption {font-weight:650;color:#4a4a4a;line-height:1.5;}
.offer-expired button:disabled {cursor:default;opacity:.7;}
.pilot-card>.expired-stamp {margin:0 1rem 1rem 0;}

[hidden] { display: none !important; }
