
body { background-color: #eee; }

.tabs .tab {
  padding: 10px 20px;
  border: none;
  background: #f0f0f0;
  cursor: pointer;
}

.tab-content {
  display: none;
}

.tabs a.tab { display: inline-block; text-decoration: none; color: #333; font: inherit; line-height: normal; }

.tabs .tab.active {
  background: #666 !important;
  color: white !important;
  margin-bottom: 5px;
}

.tabs .tab.store {
  background: green !important;
  color: #fff;
}

.store_grid {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  gap: 2rem;
  margin: 0 auto;
  padding-top: 0;
}

.store_item {
  display: flex;
  flex-direction: row;
  gap: 0rem;
  align-items: center;
  background: #eee;
}

.item_image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.item_image img {
  width: 100%;
  object-fit: contain;
}

.item_image.stacked {
  display: block;
  position: relative;
  padding-bottom: 45%;
}

.item_image.stacked img {
  position: absolute;
  width: 60%;
  left: 0;
  top: 0;
}

.item_image.stacked img.base {
  z-index: 1;
}

.item_image.stacked img.middle {
  z-index: 2;
  transform: translateX(10%);
}

.item_image.stacked img.overlay {
  z-index: 3;
  transform: translateX(20%);
}

.item_info {
  flex: 1;
}

.blink {
  animation: blink 1s infinite;
  font-weight: bold;
  color: #333;
  margin-top: 0.5rem;
}
@keyframes blink {
  50% { opacity: 0; }
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
    max-width: 100%;
    min-width: 200px;
}

.shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 18px; margin: 10px 0 30px; }
.shop-item { display: flex; gap: 14px; padding: 14px; background: #fff; border-radius: 12px;
  box-shadow: 4px 6px 12px rgba(0,0,0,.12), -3px -3px 8px rgba(255,255,255,.9); }
.shop-pic { flex: 0 0 96px; width: 96px; height: 134px; border-radius: 8px; background: #f0eeeb; overflow: hidden; }
.shop-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-pic.none { background: repeating-linear-gradient(45deg, #f0eeeb, #f0eeeb 8px, #e6e3df 8px, #e6e3df 16px); }
.shop-body { flex: 1; min-width: 0; }
.shop-body h3 { margin: 0 0 4px; font-size: 17px; }
.shop-desc { margin: 0 0 4px; font-size: 13px; color: #555; }
.shop-mix { margin: 2px 0 6px; font-size: 12px; color: #666; line-height: 1.4; }
.shop-held { margin: 0 0 8px; font-size: 12px; color: #777; }
.shop-sizes { display: flex; flex-direction: column; gap: 6px; }
.shop-size { display: flex; align-items: center; gap: 10px; padding: 6px 10px; background: #f6f5f3; border-radius: 8px; font-size: 13px; }
.shop-size .size { flex: 1; font-weight: 600; white-space: nowrap; }
.shop-size .price { color: #333; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shop-size form { margin: 0; }
.shop-size button { width: 110px; padding: 5px 0; border: 0; border-radius: 6px; background: #2b2b2b; color: #fff; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; font-variant-numeric: tabular-nums; text-align: center; }
.shop-size button[disabled] { background: #c9c6c1; color: #fff; cursor: default; }
.shop-size button:hover { background: #000; }
.shop-sizes.two .shop-size button, .shop-size.head .col { width: 64px; flex: none; text-align: center; } .shop-size.head { background: none; padding-top: 0; padding-bottom: 0; font-size: 11px; font-weight: 600; color: #8a7a68; text-transform: uppercase; letter-spacing: .04em; } .shop-size button.bisc { background: #7a4a12; } .shop-size button.bisc:hover { background: #5c370c; } .shop-size button.bisc[disabled] { background: #c9c6c1; }
.notice { padding: 10px 14px; background: #fff7d6; border-left: 4px solid #e0b800; border-radius: 6px; }
.confirm { max-width: 420px; padding: 16px 20px; background: #fff; border: 1px solid #e3e0da; border-radius: 10px; }
.confirm h2 { margin-top: 0; }
.confirm table { border-collapse: collapse; margin: 10px 0 16px; }
.confirm td { padding: 4px 18px 4px 0; font-variant-numeric: tabular-nums; }
.confirm td:last-child { font-weight: 600; }
.confirm form { display: flex; align-items: center; gap: 14px; margin: 0; }
.confirm button { padding: 8px 18px; border: 0; border-radius: 6px; background: #2b2b2b; color: #fff; font-weight: 600; cursor: pointer; }
.confirm button:hover { background: #000; }
.confirm .cancel { color: #666; }
ul.registry { list-style: none; padding: 0; margin: 0 0 16px; }
ul.registry li { padding: 8px 12px; background: #fff; border-radius: 8px; margin-bottom: 6px; }
ul.registry li small { color: #666; margin-left: 8px; }

.diff1 { color: #999; } .diff2 { color: #009900; } .diff3 { color: #0247FE; } .diff4 { color: #8A2BE2; } .diff5 { color: #C9A400; } .diff6 { color: #D3212D; } .diff7 { color: #111; }

.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 640px; margin: 0 auto 24px; }
.slot { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px; border-radius: 12px; background: #fff; text-decoration: none; color: #222; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.slot img { width: 100%; aspect-ratio: 670 / 970; object-fit: contain; border-radius: 6px; }
.slot b { font-size: 13px; }
.slot small { color: #666; font-size: 11px; }
.slot .bar { display: block; width: 100%; height: 6px; background: #e4e4e4; border-radius: 3px; overflow: hidden; }
.slot .bar i { display: block; height: 100%; background: #177c28; }
.slot.empty { justify-content: center; border: 0; background: transparent; box-shadow: none; color: #8a7a68; aspect-ratio: 670 / 1150; }
.slot.empty span { font-weight: bold; }

.slots.pend, .slots.done { max-width: none; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.slot.pick { position: relative; border: 2px solid transparent; } .slot.pick .look { display: block; width: 100%; } .slot.pick label { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; width: 100%; }
.slot.pick input { position: absolute; top: 10px; left: 10px; width: 20px; height: 20px; accent-color: #177c28; }
.slot.pick:has(input:checked) { border-color: #177c28; }
.slot .die { width: 34%; aspect-ratio: auto; margin-top: -8px; }
.pend-actions button { font: inherit; padding: 8px 16px; border: 0; border-radius: 16px; background: #3C2F2F; color: #fff; cursor: pointer; margin-right: 8px; }
.pend-actions button.send { background: #177c28; }
.pend-actions button[disabled] { opacity: 1; background: #7a7069; color: #fff; cursor: default; }
form.pending label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
form.pending input { width: 18px; height: 18px; margin: 0; }
form.pending button { padding: 6px 14px; border: 0; border-radius: 16px; background: #b00020; color: #fff; font: inherit; font-size: 12px; cursor: pointer; }
form.pending button[disabled] { background: #c9c6c1; cursor: default; }

.help { max-width: 820px; margin: 0 auto; line-height: 1.5; }
.help .blurb { color: #555; font-style: italic; margin-top: 0; }
.help h2 { font-size: 18px; margin: 24px 0 6px; }
.help ul.topics { list-style: none; padding: 0; margin: 0; }
.help ul.topics li a { display: block; padding: 12px 16px; margin-bottom: 8px; background: #fff; border-radius: 8px; text-decoration: none; color: #222; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.help ul.topics li a span { display: block; color: #666; font-size: 13px; margin-top: 2px; }
.help .hero { position: relative; width: 100%; aspect-ratio: 2.46; max-height: 260px; margin: 0 0 10px; border-radius: 10px; overflow: hidden; background: #ccc center bottom / cover no-repeat; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.help .hero .over { position: absolute; top: 14px; right: 16px; max-width: 46%; text-align: right; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.85), 0 0 12px rgba(0,0,0,.6); }
.help .hero .over b { display: block; font-size: 34px; line-height: 1; }
.help .hero .over span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; opacity: .9; }
.help .hero .over p { margin: 8px 0 0; font-size: 14px; line-height: 1.35; }
.help .hero .over em { display: block; margin-top: 8px; font-size: 12px; font-style: normal; padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.45); text-shadow: none; }
.help .streakdemo { background: #fff; border-radius: 8px; padding: 10px 14px; margin: 12px 0; }
.help .streakdemo div { display: flex; align-items: center; gap: 3px; padding: 6px 0; }
.help .streakdemo span { flex: 0 0 300px; font-size: 13px; }
.help .streakdemo i { flex: 1; height: 8px; background: #ddd; border-right: 1px solid #333; }
.help .streakdemo i.on.z2 { background: #00CC00; } .help .streakdemo i.on.z3 { background: #0247FE; }
.help .freeze { display: flex; gap: 16px; align-items: center; }
.help .freeze img { width: 96px; flex: 0 0 96px; border-radius: 6px; }
@media (max-width: 600px) { .help .streakdemo span { flex-basis: 150px; } .help .hero .over { max-width: 60%; } .help .hero .over p { font-size: 12px; } }
.help .back { margin-top: 28px; }

.help .levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 16px 0; }
.help .level { background: #fff; border-radius: 10px; padding: 14px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.help .level img { width: 60%; max-width: 150px; border-radius: 8px; }
.help .level h3 { margin: 10px 0 4px; font-size: 16px; }
.help .level p { margin: 0; font-size: 13px; text-align: left; }
.help .level em { display: block; margin-top: 8px; font-size: 12px; color: #555; }
.help .slabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 16px 0; }
.help .slabdemo { container-type: inline-size; background: linear-gradient(160deg, #f7f7f7, #d9d9d9); border: 1px solid #bbb; border-radius: 3cqw; padding: 3cqw; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.help .slabdemo .well { aspect-ratio: 670 / 970; margin: 1cqw 1cqw 3cqw; border-radius: 3cqw; background: rgba(0,0,0,.08); box-shadow: inset 0 .8cqw 2.4cqw rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; color: #888; font-size: 4cqw; }
.help .slabdemo .plate { background: #fff; border-radius: 3cqw; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.help .slabdemo .top { display: grid; grid-template-columns: 24cqw 1fr 16cqw; gap: 3cqw; align-items: center; padding: 3cqw; }
.help .slabdemo .auth b { display: block; font: italic 900 9cqw/1 Arial, Helvetica, sans-serif; letter-spacing: -.3cqw; color: #999; }
.help .slabdemo .auth small { display: block; font-size: 2.6cqw; line-height: 1.3; margin-top: 1cqw; text-transform: uppercase; letter-spacing: .3cqw; color: #666; }
.help .slabdemo .ident { font-size: 3.4cqw; line-height: 1.35; }
.help .slabdemo .ident .by { color: #666; font-style: italic; font-size: 2.8cqw; }
.help .slabdemo .ident .rar { font-weight: bold; color: #666; font-size: 2.8cqw; }
.help .slabdemo .ident .serial { font-family: Menlo, Consolas, monospace; font-size: 3cqw; }
.help .slabdemo .ident .flag { display: inline-block; background: #ddd; color: #444; font-size: 2.4cqw; font-weight: bold; padding: .2cqw 1cqw; border-radius: 1cqw; }
.help .slabdemo .badge img, .help .slabdemo .badge svg { width: 100%; display: block; }
.help .slabdemo .band { background: var(--g); color: #fff; font-size: 3cqw; font-weight: bold; text-transform: uppercase; letter-spacing: .6cqw; text-align: center; padding: 1.4cqw; }
.help .slabdemo .foot { display: flex; justify-content: space-between; font-size: 2.6cqw; color: #666; padding: 2cqw 1cqw 0; }
.help table.grades, .help table.help-table { border-collapse: collapse; width: 100%; background: #fff; border-radius: 8px; overflow: hidden; font-size: 13px; }
.help table.grades td, .help table.help-table td, .help table.help-table th { padding: 6px 8px; border-bottom: 1px solid #eee; }
.help table.grades td[class] { font-weight: bold; color: #fff; text-align: center; width: 60px; }
.help .g20 { background: #111; } .help .g19 { background: #D3212D; } .help .g16 { background: #C9A400; } .help .g13 { background: #8A2BE2; } .help .g9 { background: #0247FE; } .help .g6 { background: #009900; } .help .g3 { background: #888; }
@media (max-width: 600px) { .help .levels, .help .slabs { grid-template-columns: 1fr; } }
.help .draft { background: #fff3cd; border-left: 6px solid #e0a800; padding: 10px 14px; border-radius: 6px; }

.help .mergedemo { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0 4px; }
.help .mcard { width: 64px; aspect-ratio: 670 / 970; border: 5px solid #ccc; border-radius: 6px; background: #f7f3ea; display: flex; align-items: flex-end; justify-content: center; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.help .mcard span { font-size: 9px; color: #444; padding-bottom: 4px; }
.help .mcard.z1 { border-color: #F2F2F2; } .help .mcard.z2 { border-color: #177c28; }
.help .arrow { font-size: 34px; color: #666; margin: 0 8px; }
.help .caption { text-align: center; color: #555; font-size: 13px; margin-top: 0; }
.help ol li { margin-bottom: 4px; }

.set-hero { position: relative; border-radius: 10px; overflow: hidden; background: #444 center / cover no-repeat; box-shadow: 0 2px 8px rgba(0,0,0,.25); color: #fff; }
.set-hero .hero-image { position: absolute; inset: 0; background: center / 100% 100% no-repeat; z-index: 0; }
.set-hero .hero-image.blurred { background-size: 100% auto; background-position: center 30%; }
.hero-fan { position: absolute; left: 50%; top: 7%; height: 86%; width: 72%; transform: translateX(-50%); z-index: 1; }
.hero-card { position: absolute; top: 0; width: 26%; aspect-ratio: 670 / 970; padding: 2%; box-sizing: border-box; border-radius: 4%; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.45);
  left: calc(var(--i) * (100% - 26%) / max(1, var(--n) - 1));
  transform: rotate(calc((var(--i) - (var(--n) - 1) / 2) * 4deg)); transform-origin: 50% 130%; z-index: calc(1 + var(--i)); }
.hero-fan[style], .hero-card img { }
.hero-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 3%; display: block; }
.hero-card.silver { background: linear-gradient(135deg, #e8e8e8, #b9b9b9 50%, #f2f2f2); }

.hero-card.gold { background: linear-gradient(135deg, #f7e08a, #c9a227 50%, #fff4c2); }
.hero-card.holo { background: linear-gradient(135deg, #ff9a9a, #9adfff 35%, #c9a8ff 65%, #ffb3e6); }
.hero-card.prism { background: linear-gradient(135deg, #dfe6f5, #ffd9f2 40%, #d9fff2 70%, #e8d9ff); }
.hero-card.onyx { background: linear-gradient(135deg, #3a3a42, #121216 50%, #4e4e58); }
.hero-card.carbon { background: linear-gradient(135deg, #262629, #131316 50%, #2e2e33); }
.set-hero .hero-text { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 10; text-align: center; padding: 14px 26px; border-radius: 10px; background: rgba(20, 20, 20, .72); box-shadow: 0 4px 16px rgba(0,0,0,.45); max-width: 70%; }
.set-hero h1, .set-hero h2 { color: #fff; font-size: 26px; line-height: 1.15; margin: 0 0 6px; padding: 0; text-align: center; }
.set-hero p { margin: 0; padding: 0; font-size: 14px; white-space: nowrap; }
.set-hero .hero-text b.draft { padding: 1px 7px; border-radius: 9px; background: #D3212D; color: #fff; }
.set-hero .hero-text b[class^="diff"] { padding: 1px 7px; border-radius: 9px; background: rgba(255,255,255,.92); }
.set-hero .hero-kind { margin: 8px 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.set-hero .hero-kind svg { width: 34px; height: 34px; flex: none; }
.hero-review { position: absolute; right: 10px; top: 10px; z-index: 11; padding: 3px 9px; border: 0; border-radius: 10px; background: rgba(0,0,0,.35); color: rgba(255,255,255,.75); font: 11px Arial, Helvetica, sans-serif; cursor: pointer; }
.hero-review:hover { background: rgba(0,0,0,.6); color: #fff; }
.tabs a.tab b { font-weight: normal; opacity: .65; margin-left: 4px; }
@media (max-width: 800px) { .set-hero h1, .set-hero h2 { font-size: 18px; } .set-hero p { font-size: 12px; white-space: normal; } .set-hero .hero-text { padding: 10px 14px; max-width: 84%; } .set-hero .hero-kind svg { width: 26px; height: 26px; } }

.setinfo { display: flex; gap: 32px; align-items: flex-start; padding: 8px 0 4px; }
.setinfo-text { flex: 1; min-width: 0; padding-top: 6px; }
.setinfo-pack { flex: 0 0 180px; padding: 14px 18px 18px; text-align: center; text-decoration: none; color: #333; font-size: 13px; }
.setinfo-pack img { width: 100%; display: block; filter: drop-shadow(0 4px 8px rgba(0,0,0,.3)); transition: transform .15s; }
.setinfo-pack:hover img { transform: translateY(-3px) scale(1.02); }
.setinfo-pack span { display: inline-block; margin-top: 8px; padding: 5px 14px; border-radius: 14px; background: #177c28; color: #fff; }
.setinfo-pack.off span { background: #9a9a9a; }
@media (max-width: 800px) { .setinfo { flex-direction: column; align-items: center; } .setinfo-pack { flex-basis: auto; width: 55%; } }

.tablewrap { overflow-x: auto; }
table.admin { border-collapse: collapse; background: #fff; font-size: 13px; white-space: nowrap; }
table.admin th, table.admin td { padding: 6px 10px; border-bottom: 1px solid #e6e6e6; text-align: right; }
table.admin th:first-child, table.admin td:first-child, table.admin th:nth-child(2), table.admin td:nth-child(2), table.admin td:nth-child(5) { text-align: left; }
table.admin th { background: #f0f0f0; font-weight: bold; position: sticky; top: 0; }
.admin-links a { margin-right: 6px; }

@media (max-width: 768px) {
  .tabs { display: flex; flex-wrap: wrap; gap: 4px; }
  .tabs .tab { padding: 6px 10px; font-size: 13px; }
  .set-hero { max-height: none; }
}

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.tabs .tab, .tabs a.tab { padding: 8px 18px; border: 1px solid rgba(60,47,47,.15); border-radius: 999px; background: #fff; color: #3C2F2F; font: 600 13px Arial, Helvetica, sans-serif; letter-spacing: .02em; cursor: pointer;
  box-shadow: 0 2px 6px rgba(60,40,20,.08); }
.tabs .tab:hover, .tabs a.tab:hover { background: #f6f1e8; }
.tabs .tab.active { background: #3C2F2F !important; color: #fff !important; border-color: #3C2F2F; margin-bottom: 0; }
.tabs .tab.store, .tabs a.tab.store { background: #177c28 !important; color: #fff; border-color: #177c28; } .tabs .tab.store:hover, .tabs a.tab.store:hover { background: #12621f !important; }
.tabs .tab.store.active { background: #3C2F2F !important; color: #fff; border-color: #3C2F2F; }
.tabs a.tab b { opacity: .6; }
.setinfo { background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: 4px 6px 12px rgba(0,0,0,.12), -3px -3px 8px rgba(255,255,255,.9); margin-bottom: 16px; }
.setinfo-text p { padding-bottom: 0; }
[data-section="byNUM"] { display: flex; gap: 8px; margin: 6px 0 12px; }
[data-section="byNUM"] a { padding: 5px 12px; border-radius: 999px; background: #fff; color: #3C2F2F; text-decoration: none; font-size: 12px; font-weight: 600; box-shadow: 0 2px 6px rgba(60,40,20,.08); }
[data-section="byNUM"] a:hover { background: #f6f1e8; }
.checklist { background: #fff; border-radius: 12px; padding: 12px 18px 16px; margin: 0 0 16px; box-shadow: 4px 6px 12px rgba(0,0,0,.12), -3px -3px 8px rgba(255,255,255,.9); }
.checklist h4 { border-bottom: 1px solid #e6e1d8; padding-bottom: 6px; margin-bottom: 4px; font-size: 15px; color: #3C2F2F; }
.shelf .shop-pic { background: none; display: flex; align-items: center; position: relative; }
.shelf .shop-pic img { object-fit: contain; filter: drop-shadow(0 2px 3px rgba(60,40,20,.25)); }
.shelf .shop-size .price { font-weight: 600; }
.shelf .shop-note { margin: 8px 0 0; font-size: 12px; color: #999; }
.shelf .shop-pic .ribbon { position: absolute; }

.shelf .shop-pic { flex-basis: 120px; width: 120px; height: 150px; }
.shelf .shop-pic img { position: absolute; left: 0; top: 0; width: 66%; height: 100%; object-fit: contain; }
.shelf .shop-pic.stack1 img { left: 17%; }
.shelf .shop-pic.stack2 img.p1 { left: 4%; } .shelf .shop-pic.stack2 img.p2 { left: 30%; }
.shelf .shop-pic.stack3 img.p1 { left: 0; } .shelf .shop-pic.stack3 img.p2 { left: 17%; } .shelf .shop-pic.stack3 img.p3 { left: 34%; }
.shelf .shop-pic .ribbon { left: 2%; right: 36%; top: 40%; font-size: 8px; letter-spacing: .2em; padding: .35em 0; }
.shelf .shop-pic.stack2 .ribbon { right: 10%; } .shelf .shop-pic.stack3 .ribbon { right: 0; }

.boards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin: 10px 0 14px; }
.board { background: #fff; border-radius: 12px; padding: 14px 18px 10px; box-shadow: 4px 6px 12px rgba(0,0,0,.12), -3px -3px 8px rgba(255,255,255,.9); overflow-x: auto; }
.board h3 { margin: 0 0 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #8a7a68; }
.board table { width: 100%; border-collapse: collapse; font-size: 13px; }
.board th { text-align: left; font-weight: normal; color: #999; border-bottom: 1px solid #eee; padding: 4px 6px; }
.board td { padding: 6px; border-bottom: 1px solid #f2efe9; }
.board td:first-child { color: #999; width: 1.5em; }
.board tr.me td { background: #fbf4e2; }
.board a { color: #3C2F2F; text-decoration: none; } .board a:hover { text-decoration: underline; }
.boards-note { font-size: 12px; color: #8a7a68; max-width: 720px; }
.setinfo-text .setlinks { margin: 10px 0 0; padding: 0; }
.setinfo-text .setlinks a { padding: 5px 12px; border-radius: 999px; background: #f6f1e8; color: #3C2F2F; text-decoration: none; font-size: 12px; font-weight: 600; }

.forsale { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin: 8px 0 30px; }
.sale { display: flex; gap: 12px; align-items: center; padding: 12px; background: #fff; border-radius: 12px; box-shadow: 4px 6px 12px rgba(0,0,0,.12); }
.sale .pic { position: relative; flex: 0 0 84px; }
.sale .pic img { width: 84px; border-radius: 6px; display: block; }
.sale .about .need { align-self: flex-start; margin: 0 0 4px; padding: 2px 7px; border-radius: 999px; background: #ffd23f; color: #3C2F2F; font: bold 10px/1.4 Arial, Helvetica, sans-serif; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.sale .pic .die { position: absolute; width: 34px; right: -8px; bottom: -8px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.sale .about { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 12px; color: #666; }
.sale .about b { font-size: 14px; color: #3C2F2F; }
.sale .about a { color: #3C2F2F; }
.sale .price { text-align: right; font-size: 13px; color: #555; white-space: nowrap; }
.sale .price b { display: block; font-size: 20px; color: #3C2F2F; }
.sale .price button { margin-top: 6px; font: inherit; padding: 6px 14px; border: 0; border-radius: 14px; background: #177c28; color: #fff; cursor: pointer; }
.sale .price button.unlist { background: #9a9a9a; }
.sale .price button[disabled] { opacity: .45; cursor: default; }
.sell input[type=number] { font: inherit; font-size: 18px; width: 120px; padding: 6px 10px; border: 1px solid #c9bfb2; border-radius: 8px; }
.sell ul.others { margin: 0 0 8px 18px; padding: 0; font-size: 13px; color: #555; }
.sell ul.others a { color: #3C2F2F; }
.sale .price small { display: block; font-size: 11px; color: #8a7a68; margin-top: 2px; }
.sale .price small.book { color: #3C2F2F; font-weight: bold; }
.sale .about .need.yours { background: #cfe3d2; color: #2d5a3a; }

.trade-button, .trade-button:visited { padding: 10px 20px; font-size: 16px; border-radius: 5px; background: #1f7a2e; color: #fff; text-decoration: none; display: inline-block; border: 0; cursor: pointer; }
.trade-button:hover { background: #12621f; text-decoration: none; }
.trade-button.small { padding: 5px 12px; font-size: 13px; } .section .sub a.buykit { margin-left: 8px; vertical-align: middle; text-decoration: none; }
.trade-list td:last-child { text-align: right; }
.tlist { list-style: none; margin: 0; padding: 0; }
.tlist li { padding: 6px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.tlist li:last-child { border-bottom: 0; }
.tlist .when { float: right; color: #999; font-size: 12px; }
.tlist i { color: #8a7a68; }

a.pcard.table-state { display: block; text-decoration: none; color: inherit; }
a.pcard.table-state h3 small { font-weight: normal; color: #8a7a68; }

.table-state .row { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.table-state .side { display: flex; flex-wrap: wrap; gap: 6px; }
.table-state .side img { width: 72px; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.table-state .mid { font-size: 26px; line-height: 1; color: #8a7a68; text-align: center; transform: rotate(90deg); width: 72px; }
.table-state .empty { color: #bbb; font-size: 12px; padding: 8px; }

a.pcard.table-tile { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: inherit; }
.table-tile .ticon { flex: none; width: 52px; height: 52px; border-radius: 12px; background: #3C2F2F; color: #fff; display: flex; align-items: center; justify-content: center; }
.table-tile .ticon svg { width: 30px; height: 30px; }
.table-tile .ticon img { width: 34px; height: 34px; object-fit: contain; }
.table-tile .tbody { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.table-tile .tname { font-size: 24px; line-height: 1.1; color: #3C2F2F; }
.table-tile .tstate { font-size: 14px; font-weight: bold; color: #8a7a68; }

.trade-slots { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 12px; max-width: 640px; margin: 8px auto 14px; align-items: start; }
.trade-slots h3 { text-align: center; margin: 0 0 8px; font-size: 15px; }
.trade-slots .tside { display: flex; flex-direction: column; gap: 12px; }
.trade-slots .tmid { text-align: center; font-size: 28px; color: #8a7a68; padding-top: 110px; }
.trade-slots .tslot { text-align: center; }
.trade-slots .tslot form.inline { display: inline; }
.trade-slots .tslot button.cancel { background: none; border: 0; font: inherit; font-size: 12px; color: #8a7a68; cursor: pointer; padding: 6px; }
.trade-slots .tslot button.cancel:hover { text-decoration: underline; }
.trade-slots .slot.empty { aspect-ratio: auto; padding: 40px 12px; text-decoration: none; }
.trade-slots .slot.empty:hover { border-color: #6F4E37; color: #6F4E37; }
.trade-slots .slot.empty small { display: block; margin-top: 6px; font-weight: normal; }
.dials .acts { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 12px 0 6px; }
.dials .acts form.inline, .table-head form.inline { display: inline; }
.dials .cancel, .table-head button.cancel { background: none; border: 0; font: inherit; color: #8a7a68; cursor: pointer; text-decoration: none; padding: 8px 6px; }
.dials .cancel:hover, .table-head button.cancel:hover { text-decoration: underline; }
.dials label { margin-right: 14px; font-size: 14px; }
.dials h3 { margin: 10px 0 4px; } .dials p.dial { margin: 4px 0; font-size: 14px; } .dials p.dial b { margin-right: 8px; } .dials p.dial label { margin-right: 10px; } .dials .sub { margin: 8px 0 0; }
.table-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.table-head h3 { margin: 0; flex: 1 1 auto; }
.table-head select { font: inherit; padding: 4px 8px; }
.trade-button.accept { background: #1f7a2e; }
@media (max-width: 560px) { .trade-slots { grid-template-columns: 1fr; } .trade-slots .tmid { padding: 0; transform: rotate(90deg); } }

.ach-strip { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ach-strip .stat b { display: block; font-size: 26px; color: #3C2F2F; line-height: 1.1; } .ach-strip .stat span { font-size: 11px; color: #8a7a68; letter-spacing: .05em; text-transform: uppercase; }
.ach-strip .latest { display: flex; align-items: center; gap: 6px; margin-left: auto; } .ach-strip .latest .sub { font-size: 11px; color: #8a7a68; text-transform: uppercase; letter-spacing: .05em; margin-left: 4px; }
.ach-strip .mini { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: #d9d4cc; } .ach-strip .mini svg { width: 18px; height: 18px; }
.pcard.ach { display: flex; gap: 12px; align-items: center; }
.ach .badge { flex: 0 0 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: #d9d4cc; } .ach .badge svg { width: 26px; height: 26px; }
.rung0 .badge, .mini.rung0, .help-table th.rung0 { background: #9a9a9a; } .rung1 .badge, .mini.rung1, .help-table th.rung1 { background: #00CC00; } .rung2 .badge, .mini.rung2, .help-table th.rung2 { background: #0247FE; }
.rung3 .badge, .mini.rung3, .help-table th.rung3 { background: #8A2BE2; } .rung4 .badge, .mini.rung4, .help-table th.rung4 { background: #FFD700; color: #333; } .rung5 .badge, .mini.rung5, .help-table th.rung5 { background: #D3212D; }
.rung6 .badge, .mini.rung6, .help-table th.rung6 { background: #222222; } .rung7 .badge, .mini.rung7, .help-table th.rung7 { background: linear-gradient(135deg, #bfe7ff, #4aa3df); color: #123; }
.ach .body { flex: 1; min-width: 0; } .ach .body small { color: #666; font-size: 12px; }
.ach .bar { height: 6px; background: #eee; border-radius: 3px; margin: 6px 0 3px; overflow: hidden; } .ach .bar span { display: block; height: 100%; background: #1f7a2e; }
.pcard.ach.new { outline: 2px solid #c9a227; }
.help table.help-table th { text-align: left; background: #f6f5f3; } .help table.help-table th[class] { color: #fff; text-align: center; } .help table.help-table td.n { text-align: center; white-space: nowrap; }
.help table.help-table small { color: #8a7a68; white-space: nowrap; }
.shelf .shop-size .open-held { display: inline-block; padding: 10px 20px; border-radius: 5px; background: #3C2F2F; color: #fff; text-decoration: none; font-size: 16px; }
.shelf .shop-size .open-held:hover { background: #241c1c; }

.sale-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 6px 0 10px; font-size: 14px; }
.sale-filters select { font: inherit; font-size: 13px; padding: 3px 6px; border-radius: 8px; }
.sale-table { width: auto; max-width: 100%; table-layout: auto; border-collapse: collapse; background: #fff; border-radius: 12px; box-shadow: 4px 6px 12px rgba(0,0,0,.12); overflow: hidden; margin-bottom: 30px; font-size: 14px; }
.sale-table th { text-align: left; padding: 8px 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8a7a68; border-bottom: 1px solid #f2efe9; white-space: nowrap; }
.sale-table th[data-sort] { cursor: pointer; } .sale-table th[data-sort]:hover, .sale-table th.on { color: #3C2F2F; }
.sale-table td { padding: 6px 10px; border-top: 1px solid #f2efe9; vertical-align: middle; }
.sale-table td.pic img { width: 34px; border-radius: 3px; display: block; }
.sale-table td.name a { color: #3C2F2F; text-decoration: none; font-weight: bold; } .sale-table td.name small { display: block; color: #8a7a68; font-size: 11px; }
.sale-table td.name .need { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: #ffd23f; color: #3C2F2F; font: bold 10px/1.4 Arial, Helvetica, sans-serif; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.sale-table td.grade img.die { width: 22px; height: 22px; vertical-align: middle; margin-right: 4px; }
.sale-table td.price { white-space: nowrap; } .sale-table td.left { color: #8a7a68; font-size: 12px; white-space: nowrap; }
.sale-table td.act form { margin: 0; } .sale-table td.act button { padding: 4px 12px; font-size: 12px; }

.sale-table td.rar { white-space: nowrap; font-weight: bold; } .sale-table td.rar img.paw { width: 22px; height: 22px; vertical-align: middle; margin-right: 2px; } .sale-table td.name .need { display: block; margin: 0 0 2px; width: max-content; } .sale-table td.name .num { color: #8a7a68; font-weight: normal; font-size: 12px; } .sale-table td.grade { white-space: nowrap; font-weight: bold; }
.sale-table td.name { min-width: 160px; max-width: 420px; }
.sale-table th:nth-child(1), .sale-table td.pic { width: 44px; } .sale-table th:nth-child(3), .sale-table td.rar { width: 64px; } .sale-table th:nth-child(4), .sale-table td.grade { width: 72px; } .sale-table th:nth-child(5), .sale-table td.price { width: 54px; }
.sale-table td.rar, .sale-table td.grade, .sale-table td.price, .sale-table td.left { white-space: nowrap; }

.topbar .right .credits.signup b, .right .credits.signup b { color: #ffd23f; }
.shop-size a.signup { display: inline-block; padding: 8px 16px; border-radius: 999px; background: #177c28; color: #fff; text-decoration: none; font-weight: bold; font-size: 13px; }
.pcard.join .big { font-size: 20px; }
.ach-strip.level .meter { flex: 1 1 160px; margin: 0; } .ach-strip.level .sub { white-space: nowrap; }

.rung7 .badge, .mini.rung7 { position: relative; overflow: hidden; color: #0b2a44;
  background: conic-gradient(from 20deg, #e9f7ff 0 40deg, #8fd3ff 40deg 90deg, #ffffff 90deg 120deg, #5fb6f2 120deg 180deg, #d6f0ff 180deg 220deg, #3f9be0 220deg 270deg, #ffffff 270deg 300deg, #9fdcff 300deg 360deg);
  box-shadow: 0 0 0 2px #fff inset, 0 0 14px 2px rgba(95,182,242,.75), 0 0 28px 6px rgba(95,182,242,.35); }
.rung7 .badge::before, .mini.rung7::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.95) 0 14%, rgba(255,255,255,0) 32%), radial-gradient(circle at 70% 72%, rgba(255,255,255,.6) 0 8%, rgba(255,255,255,0) 22%); }
.rung7 .badge::after, .mini.rung7::after { content: ""; position: absolute; top: -60%; left: -80%; width: 60%; height: 220%; transform: rotate(25deg);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,.9) 50%, rgba(255,255,255,0) 100%); animation: diamond-sweep 2.8s ease-in-out infinite; }
.rung7 .badge svg, .mini.rung7 svg { position: relative; z-index: 1; filter: drop-shadow(0 0 2px #fff); }
@keyframes diamond-sweep { 0% { left: -80%; } 55% { left: 130%; } 100% { left: 130%; } }
.rung7 .badge { animation: diamond-glow 2.8s ease-in-out infinite; }
@keyframes diamond-glow { 0%, 100% { box-shadow: 0 0 0 2px #fff inset, 0 0 14px 2px rgba(95,182,242,.75), 0 0 28px 6px rgba(95,182,242,.35); } 50% { box-shadow: 0 0 0 2px #fff inset, 0 0 18px 4px rgba(120,200,255,.95), 0 0 40px 10px rgba(95,182,242,.5); } }
.help-table th.rung7 { background: linear-gradient(135deg, #e9f7ff, #5fb6f2 60%, #cfeeff); color: #0b2a44; }
.achievements .rungs .rung-row { display: flex; flex-wrap: wrap; gap: 18px 26px; justify-content: center; padding: 6px 0; }
.achievements .rungs .rung-row > span { display: flex; flex-direction: column; align-items: center; gap: 6px; } .achievements .rungs .rung-row small { font-size: 12px; color: #6b5f52; }
.achievements .rungs .badge { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; } .achievements .rungs .badge svg { width: 26px; height: 26px; }
.profile.achievements .pcard.rungs { grid-column: 1 / -1; }
.trade-slots .tslot .tcard { max-width: 240px; margin: 0 auto; }
.trade-slots .tslot .tcard p { color: #444; }
.trade-slots .tslot .tcard.slabbed .slab { container-type: inline-size; width: 100%; }
.table-tile .ticon { position: relative; }
.table-tile.alert .ticon::after { content: ""; position: absolute; top: -4px; right: -4px; width: 13px; height: 13px; border-radius: 50%; background: #e0261c; border: 2px solid #fff; }
table.admin tr.low td { background: #fff2f0; } table.admin b.low { color: #c0261c; font-size: 11px; letter-spacing: .05em; margin-left: 6px; }
.shop-edition { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #6F4E37; }
.board .chip, .board .chip-form { display: inline-block; margin-left: 8px; vertical-align: middle; }
.board .chip { font-size: 11px; color: #8a7a68; letter-spacing: .04em; text-transform: uppercase; }
.board button.chip.act { font: inherit; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; padding: 2px 9px; border: 0; border-radius: 10px; background: #3C2F2F; color: #fff; cursor: pointer; }
table.admin.friends td.stand { text-align: left; white-space: nowrap; } table.admin.friends tr.onlymine td { color: #999; } table.admin.friends tr.req td { background: #fff8e1; } table.admin.friends .ask { color: #b26a00; margin-right: 6px; }
.dotbtn { width: 16px; height: 16px; border-radius: 50%; border: 0; color: #fff; font: bold 13px/16px Arial, sans-serif; padding: 0; margin-left: 8px; cursor: pointer; vertical-align: middle; }
.dotbtn.plus { background: #2e7d32; } .dotbtn.minus { background: #c62828; } .dotbtn:hover { filter: brightness(1.15); }
table.admin.friends td.stand form.inline { display: inline-block; margin: 0; vertical-align: middle; }

.shelf .shop-item { padding: 10px 12px; gap: 12px; }
.shelf .shop-body h3 { margin: 0 0 2px; font-size: 16px; }
.shelf .shop-desc { margin: 7px 0 10px; line-height: 1.35; }
.shelf .shop-size { padding: 4px 8px; }
.shelf .shop-note { margin: 5px 0 0; }
.shelf .shop-pic { height: 130px; flex-basis: 110px; width: 110px; }
.shelf .shop-desc b.ed { font-weight: 700; letter-spacing: .04em; color: #3C2F2F; }
.shelf .shop-body p { padding-bottom: 0; }
.adminpage .tablewrap { margin-bottom: 20px; } .adminpage h3 { margin: 22px 0 8px; } .adminpage .pcard { margin-top: 24px; }

.mergeall-link { margin: 6px 0 12px; } .mergeall-link[hidden] { display: none; }
.mergeall { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.mergeall .ma-alert { background: #fdecea; border-left: 4px solid #c0392b; padding: 10px 12px; border-radius: 6px; color: #5a1a12; }
.mergeall .ma-go { background: #c0392b; }
.ma-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; } .ma-table th, .ma-table td { padding: 6px 8px; border-bottom: 1px solid #f1ede6; text-align: left; font-size: 14px; } .ma-table th { font-size: 11px; text-transform: uppercase; color: #8a7a68; }
.ma-table .ma-pic img { width: 40px; border-radius: 4px; display: block; }
.ma-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; } .ma-made { display: block; text-align: center; color: #3C2F2F; text-decoration: none; font-size: 12px; } .ma-made img { width: 100%; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,.15); display: block; margin-bottom: 4px; }
.sale-table td.name .need.yours { background: #cfe3d2; color: #1f4d2a; }
.admin td.share { color: #b23a2b; font-weight: bold; white-space: nowrap; }
table.admin.report td:nth-child(n+2) { text-align: left; white-space: normal; } table.admin.report td .sub { margin-left: 6px; }
.gmat { max-width: 680px; margin: 0 auto 24px; padding: 16px 18px 14px; border-radius: 16px; background: radial-gradient(ellipse at 55% 45%, #e9d6b3 0%, #d9c094 55%, #c9ad7e 100%); box-shadow: inset 0 0 0 2px rgba(0,0,0,.12), inset 0 0 28px rgba(0,0,0,.14), 0 3px 10px rgba(0,0,0,.18); }
.gmat .slots { max-width: none; margin: 0; }
.gmat .slot { background: transparent; box-shadow: none; color: #3C2F2F; padding: 0; }
.gmat .slot .well { display: block; width: 100%; aspect-ratio: 670 / 970; border-radius: 9px; background: rgba(0,0,0,.14); box-shadow: inset 0 2px 8px rgba(0,0,0,.3), inset 0 0 0 1px rgba(0,0,0,.15); }
.gmat .slot .well img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 6px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.gmat .slot b { color: #3C2F2F; } .gmat .slot small { color: #6b5a48; }
.gmat .slot .bar { background: rgba(0,0,0,.15); } .gmat .slot .bar i { background: #177c28; }
.gmat .slot.empty { border: 0; aspect-ratio: auto; color: #6b5a48; justify-content: flex-start; }
.slabpage .pcard.wide { grid-column: 1 / -1; }
.slabpage .bureau .slots { max-width: 640px; margin: 4px auto 0; }
.slabpage .slot { background: transparent; box-shadow: none; padding: 0; color: #3C2F2F; }
.slabpage .slot .well { display: block; width: 100%; aspect-ratio: 750 / 1050; border-radius: 9px; background: #efe8da; box-shadow: inset 0 2px 8px rgba(0,0,0,.22), inset 0 0 0 1px rgba(0,0,0,.08); }
.slabpage .slot .well img { border-radius: 0; filter: none; }
.slabpage .slot.empty { border: 0; aspect-ratio: auto; color: #8a7a68; justify-content: flex-start; }
.slabpage .slot .bar { margin-top: 10px; height: 7px; } .slabpage .slot b { margin-top: 2px; }
.slabpage .section.wide { grid-column: 1 / -1; }
.slabpage .section h2 { margin: 6px 0 4px; font-size: 18px; } .slabpage .section h2 small { font-size: 13px; color: #8a7a68; font-weight: normal; }
.slabpage .sale.pick .price { cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; color: #8a7a68; }
.slabpage .sale.pick .price input { width: 22px; height: 22px; accent-color: #177c28; margin: 0; }
.slabpage .sale.pick:has(input:checked) { box-shadow: 0 0 0 2px #177c28, 4px 6px 12px rgba(0,0,0,.12); }
.slabpage .pcard.bureau { background: radial-gradient(ellipse at 55% 45%, #8a6a4e 0%, #6b4a33 55%, #553a28 100%); box-shadow: inset 0 0 0 2px rgba(0,0,0,.35), inset 0 0 28px rgba(0,0,0,.45), 0 3px 10px rgba(0,0,0,.25); color: #f3ead9; }
.slabpage .pcard.bureau h3, .slabpage .pcard.bureau .slot b { color: #fff; } .slabpage .pcard.bureau .slot small, .slabpage .pcard.bureau .slot.empty { color: #d9ccb8; } .slabpage .pcard.bureau .corner { color: #e9d6b3; }
.slabpage .pcard.bureau .slot .well { background: rgba(0,0,0,.3); box-shadow: inset 0 2px 8px rgba(0,0,0,.6), inset 0 0 0 1px rgba(0,0,0,.35); }
.slabpage .pcard.bureau .slot .bar { background: rgba(0,0,0,.35); } .slabpage .pcard.bureau .slot .bar i { background: #c9a24d; }
.cardthumb { position: relative; width: 100%; aspect-ratio: 750 / 1050; container-type: inline-size; }
.cardthumb .card-front { position: absolute; inset: 0; }
.sale .pic .cardthumb { width: 84px; margin-bottom: 10px; } .sale .pic .cardthumb img { width: 100%; }
.trade-card .cardthumb img, .ma-pic .cardthumb img, .ma-made .cardthumb img, .side .cardthumb img { border-radius: 0; box-shadow: none; }
.cardthumb.ghost { filter: grayscale(1) blur(1.5px) opacity(.55); }
.ma-table .ma-pic .cardthumb { width: 40px; }
.table-state .side .cardthumb { width: 72px; display: inline-block; vertical-align: middle; margin: 2px; }
.slabpage .slot.empty .well { display: flex; align-items: center; justify-content: center; } .slabpage .slot.empty .well i { font-style: normal; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #d9ccb8; opacity: .8; }
.sale .gradecol { flex: none; align-self: flex-start; } .sale .gradecol .die { width: 44px; height: 44px; display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.sale .pic .cardthumb { margin-bottom: 0; }
.slabpage form.slot { margin: 0; }
.slabpage .slot button.well.sealed { padding: 0; border: 0; cursor: pointer; font: inherit; animation: claimpulse 1.6s ease-in-out infinite; }
@keyframes claimpulse { 50% { box-shadow: inset 0 2px 8px rgba(0,0,0,.6), inset 0 0 0 1px rgba(0,0,0,.35), 0 0 18px rgba(201,162,77,.9); } }
.slabpage .slot.sealed b { color: #ffd466; }
.slabpage .bureau { position: relative; } .slabpage .bureau .authority { position: absolute; top: 14px; left: 18px; margin: 0; } .slabpage .bureau .slots { margin-top: 10px; } @media (max-width: 760px) { .slabpage .bureau .authority { position: static; margin: 0 0 8px; } } .slabpage .bureau .authority b { display: block; font: italic 900 30px/1 Arial, Helvetica, sans-serif; letter-spacing: -1px; color: #e9d6b3; } .slabpage .bureau .authority small { display: block; font-size: 9px; line-height: 1.3; margin-top: 3px; text-transform: uppercase; letter-spacing: 1px; color: #d9ccb8; }
.pend-actions .trade-button.vault { background: #c9a24d; color: #fff; vertical-align: middle; }
.board.topcards td.pic { display: flex; align-items: center; gap: 10px; } .board.topcards td.pic .cardthumb { width: 40px; flex: none; } .board.topcards td.pic .cardthumb img { box-shadow: none; } .board.topcards .cardname { color: inherit; text-decoration: none; line-height: 1.2; } .board.topcards .cardname small { color: #8a7a68; } .board.topcards img.die { width: 22px; height: 22px; vertical-align: middle; }
.boards .board.topcards { grid-column: 1 / -1; } .board.topcards table { width: 100%; } .board.topcards td:nth-child(4), .board.topcards td:nth-child(5) { white-space: nowrap; }
.buy-note { font-size: 12px; color: #8a7a68; margin: 2px 0 10px; }
.shop-item.soon { opacity: .9; } .shop-links button.soon, .shop-links button.soon:disabled { background: #F2C200; color: #111; border: 0; border-radius: 8px; padding: 8px 14px; font-weight: 700; cursor: default; opacity: 1; } .shop-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 0; }
.pcard.wide .table-state, .trades .table-state { margin-top: 8px; }
.table-state h3 .when { float: right; font-weight: normal; font-size: 12px; color: #999; }
.table-state .side .cardthumb, .table-state .side .card-flipper { width: 72px; }
a.pcard.table-state.draft { background-color: #2f7a4e; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.5px), radial-gradient(rgba(0,0,0,.12) 1px, transparent 1.5px); background-size: 7px 7px, 11px 11px; color: #f3ead6; border: 3px solid #b8941f; box-shadow: inset 0 0 0 2px #245f3c, inset 0 2px 12px rgba(0,0,0,.35), 0 3px 10px rgba(0,0,0,.25); }
a.pcard.table-state.draft h3 { color: #fff; } a.pcard.table-state.draft h3 small { color: #d9e9d9; } a.pcard.table-state.draft .mid { color: #e6c966; } a.pcard.table-state.draft .empty { color: #cfe6d6; }
a.pcard.table-state.draft h3 .tag { display: inline-block; margin-left: 10px; padding: 2px 9px; border-radius: 999px; background: #e6c966; color: #2b1d08; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
a.pcard.table-state.in { border-left: 6px solid #b3261e; }
a.pcard.table-state.out { border-left: 6px solid #3C2F2F; }
a.pcard.table-state.done { opacity: .72; border-left: 6px solid #d9cfc2; } a.pcard.table-state.done h3 { font-size: 15px; } a.pcard.table-state.done .side .cardthumb, a.pcard.table-state.done .side .card-flipper, a.pcard.table-state.done .side img { width: 52px; }
.hero-review { top: auto; bottom: 10px; }
.set-about { text-align: center; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid #e2d3bf; }
.set-about h2 { font-size: 26px; margin: 0 0 6px; color: #3C2F2F; }
.set-about p { text-align: center; margin: 0; padding: 0; font-size: 15px; color: #5a4a3a; }
.set-about b { color: #3C2F2F; }
.ai-note { text-align: center; font-size: 13px; color: #7a6a5a; margin-top: 18px; }
.artist-page { max-width: 1000px; margin: 0 auto; }
.artist-head { text-align: center; padding: 28px 16px 18px; border-radius: 16px; color: #fff; background: radial-gradient(ellipse at 50% 0%, #6b4a32 0%, #3C2F2F 60%, #241b1b 100%); border: 2px solid #d4a017; margin-bottom: 18px; }
.artist-head small { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: #ffd23f; }
.artist-head h1 { text-align: center; margin: 4px 0; font-size: 34px; color: #fff; }
.artist-head p { text-align: center; margin: 0; padding: 0; color: #e9d9c4; }
.artist-bio { max-width: 680px; margin: 0 auto 20px; font-size: 16px; line-height: 1.55; }
.artist-bio p { text-align: left; }
.set-about a.artist { font-weight: bold; color: #7a4a12; }
.artist-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.artist-links a { padding: 6px 14px; border-radius: 999px; background: #d4a017; color: #241b1b; font-weight: bold; font-size: 14px; text-decoration: none; }
.artist-links a:hover { background: #ffd23f; }
.artist-head.has-hero { background-size: cover; background-position: center; padding: 70px 16px 28px; }
.artist-about { display: flex; gap: 22px; align-items: flex-start; max-width: 760px; margin: 0 auto 20px; }
.artist-about .artist-bio { margin: 0; flex: 1; }
.artist-about .artist-pic { width: 160px; height: 160px; flex: none; border-radius: 10px; object-fit: contain; background: #241b1b; padding: 14px; box-sizing: border-box; border: 2px solid #d4a017; }
@media (max-width: 600px) { .artist-about { flex-direction: column; align-items: center; } }
.artist-head.has-hero h1, .artist-head.has-hero small, .artist-head.has-hero p { text-shadow: 0 2px 6px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.9); }
.artist-about { background: #fff; border: 1px solid #e2d3bf; border-radius: 14px; padding: 22px; box-shadow: 0 6px 18px rgba(36,27,27,.12); margin-bottom: 26px; }
.artist-about .artist-bio h2 { margin: 0 0 8px; font-size: 24px; font-weight: bold; color: #3C2F2F; }
.artist-about .artist-bio p:last-child { margin-bottom: 0; padding-bottom: 0; }
.board.topcards td.pic { display: table-cell; }
.board.topcards td.pic .cardthumb { float: left; width: 40px; height: 56px; aspect-ratio: auto; margin-right: 10px; }
.board.topcards td.pic .cardthumb .card-front { width: 40px; height: 56px; }
.board.topcards td.pic .cardthumb .print { height: 50px; }
@media (max-width: 600px) { .board.topcards td.pic .cardthumb { width: 32px; height: 45px; margin-right: 8px; } .board.topcards td.pic .cardthumb .card-front { width: 32px; height: 45px; } .board.topcards td.pic .cardthumb .print { height: 40px; } .board.topcards .cardname small, .board.topcards td.pic small { display: none; } .board.topcards td:nth-child(4) { font-size: 0; } .board.topcards td { padding: 6px 4px; } }
.ma-table .ma-pic .cardthumb { width: 40px; height: 56px; aspect-ratio: auto; }
.ma-table .ma-pic .cardthumb .card-front { width: 40px; height: 56px; }
.ma-table .ma-pic .cardthumb .print { height: 50px; }
.ma-table .ma-pic .cardthumb img { width: 100%; height: 100%; border-radius: 0; }
.ma-made .cardthumb { aspect-ratio: auto; height: 0; padding-bottom: 140%; margin-bottom: 4px; }
.ma-made .cardthumb img { width: 100%; height: 100%; margin: 0; border-radius: 0; box-shadow: none; }
.forsale.mine .sale.slot-empty { opacity: .75; } .forsale.mine .sale.slot-empty .cardthumb { box-sizing: border-box; border: 2px dashed #cfc7bb; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #b3a99b; font-size: 12px; } .mysales .forsale { margin-top: 8px; }
.mysales .past-head { margin: 18px 0 6px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8a7a68; } .sale.past { opacity: .9; } .sale.past .tag { align-self: flex-start; margin: 0 0 4px; padding: 2px 7px; border-radius: 999px; font: bold 10px/1.4 Arial, Helvetica, sans-serif; letter-spacing: .08em; text-transform: uppercase; } .sale.past .tag.sold { background: #cfe3d2; color: #2d5a3a; } .sale.past .tag.expired { background: #e6e3df; color: #6b635b; } .sale.past .price form + form { margin-top: 2px; }
.boards.site { grid-template-columns: repeat(6, 1fr); } .boards.site > .board { grid-column: span 2; } .boards.site > .board.level, .boards.site > .board.topcards { grid-column: span 3; } @media (max-width: 900px) { .boards.site { grid-template-columns: 1fr; } .boards.site > .board, .boards.site > .board.level, .boards.site > .board.topcards { grid-column: auto; } }
