.pool-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.home-pool-grid { grid-template-columns: repeat(4, 1fr); }
.pool-card { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: none; overflow: hidden; transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease; position: relative; cursor: pointer; }
.pool-card:hover { transform: translateY(-3px); border-color: #b9a8f3; box-shadow: var(--shadow); }

.pool-visual { height: 170px; background: #f6f3ff; border-radius: 17px; display: grid; place-items: center; position: relative; overflow: hidden; font-size: 74px; }
.pool-visual > img { width: 88%; height: 90%; object-fit: contain; transition: transform .35s ease; }
.pool-card:hover .pool-visual > img { transform: translateY(-4px) scale(1.03); }
.pool-visual > span { display: none; }
.card-badge { position: absolute; z-index: 2; left: 12px; top: 12px; right: auto; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 5px 8px; font-size: 10px; font-weight: 700; color: var(--purple); box-shadow: none; }

.pool-info { padding: 17px; }
.pool-title-row { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.pool-title-row h3 { font-size: 17px; color: var(--text); }
.price { font-weight: 820; white-space: nowrap; color: var(--purple); }
.pool-subtitle { color: var(--muted); font-size: 12px; }
.progress-row { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin: 17px 0 7px; }
.progress { height: 6px; overflow: hidden; border-radius: 99px; background: #ece9f5; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, #7042f4 0%, #00d2ff 100%); border-radius: inherit; box-shadow: 0 0 10px rgba(112, 66, 244, 0.4); }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; font-size: 11px; color: var(--muted); }

.detail-layout { display: grid; grid-template-columns: minmax(0,1.28fr) minmax(330px,.72fr); gap: 22px; }
.detail-layout > *, .detail-layout .panel { min-width: 0; }
.recent-list { display: grid; gap: 9px; }
.recent-summary { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; color: var(--muted); font-size: 11px; }
.recent-item { min-width: 0; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #eee9f6; border-radius: 12px; background: #fbfaff; }
.recent-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #eee8ff; color: var(--purple); font-weight: 800; }
.recent-meta { min-width: 0; display: grid; gap: 3px; }
.recent-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.recent-meta span { color: var(--muted); font-size: 11px; }
.recent-item .numbers { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.prize-stage { height: 370px; border-radius: 20px; display: grid; place-items: center; font-size: 132px; position: relative; overflow: hidden; }
.prize-stage::after { content: ""; width: 240px; height: 240px; border-radius: 50%; border: 1px solid color-mix(in srgb,var(--accent) 35%,transparent); position: absolute; box-shadow: 0 0 0 42px color-mix(in srgb,var(--accent) 5%,transparent); }
.prize-stage span { z-index: 1; filter: drop-shadow(0 25px 20px rgba(0,0,0,.32)); }
.prize-stage img { position: relative; z-index: 1; width: 82%; height: 86%; object-fit: contain; filter: drop-shadow(0 24px 22px rgba(44, 28, 98, .18)); }
.detail-title { margin-top: 23px; display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.detail-title h1 { font-size: 34px; }
.buy-box { position: sticky; top: 101px; align-self: start; }
.countdown { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin: 18px 0 24px; }
.time-unit { padding: 12px 4px; text-align: center; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 13px; }
.time-unit strong { display: block; font-size: 20px; }
.time-unit span { color: var(--muted); font-size: 9px; }
.quantity { display: grid; grid-template-columns: 44px 1fr 44px; gap: 8px; margin: 11px 0 15px; }
.quantity button, .quantity input { border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--text); min-height: 45px; border-radius: 13px; text-align: center; }
.quantity button { cursor: pointer; font-size: 18px; }
.quick-counts { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; }
.quick-counts button { padding: 7px 3px; border: 1px solid var(--line); color: var(--muted); background: transparent; border-radius: 9px; cursor: pointer; font-size: 11px; }
.cost-line { display: flex; justify-content: space-between; align-items: end; margin: 22px 0 14px; }
.cost-line strong { font-size: 26px; color: var(--green); }
.fairness { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.hash { font-family: ui-monospace,SFMono-Regular,Consolas,monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 10px; border-radius: 10px; background: rgba(0,0,0,.18); color: #a7a7ba; font-size: 10px; }

/* Newbie Pool Section & Carousel */
.newbie-pool-section {
  margin: 28px 0 36px;
  padding: 24px 26px 20px;
  border: 1px solid #ded6f4;
  border-radius: 22px;
  background: linear-gradient(135deg, #fbf9ff, #fff 68%);
  box-shadow: none;
}
.newbie-pool-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; margin-bottom: 18px; }
.newbie-pool-title { min-width: 280px; }
.newbie-pool-title > div { display: flex; align-items: center; gap: 10px; }
.newbie-pool-title h2 { margin: 0; font-size: 27px; letter-spacing: -1px; }
.newbie-pool-title p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.newbie-exclusive-label { display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border-radius: 9px; background: #eee8ff; color: var(--purple); font-size: 12px; font-weight: 800; }
.newbie-pool-rules { display: flex; align-items: center; justify-content: flex-end; gap: 0; }
.newbie-pool-rules > span { position: relative; min-width: 168px; padding: 2px 20px 2px 52px; border-left: 1px solid var(--line); }
.newbie-pool-rules > span:first-child { border-left: 0; }
.newbie-pool-rules b { position: absolute; left: 16px; top: 7px; color: #aa96ec; font-size: 12px; }
.newbie-pool-rules strong, .newbie-pool-rules small { display: block; }
.newbie-pool-rules strong { font-size: 13px; }
.newbie-pool-rules small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.newbie-carousel { position: relative; padding: 0 44px 20px; }
.newbie-carousel-stage { display: grid; grid-template-columns: minmax(190px, 270px) minmax(420px, 520px) minmax(190px, 270px); align-items: stretch; justify-content: center; gap: 38px; min-height: 140px; }
.newbie-carousel-stage.is-single { grid-template-columns: minmax(0, 520px); }
.newbie-slide-preview { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.82); color: var(--text); display: grid; grid-template-columns: 84px minmax(0,1fr); align-items: center; gap: 13px; text-align: left; cursor: pointer; transition: border-color .2s ease, transform .2s ease; }
.newbie-slide-preview:hover { border-color: #b9a8f3; transform: translateY(-2px); }
.newbie-slide-preview img { width: 84px; height: 100px; object-fit: contain; }
.newbie-slide-preview span { font-size: 13px; font-weight: 800; line-height: 1.4; }
.newbie-slide-card { min-width: 0; padding: 14px 16px; border: 1px solid #cfc2f5; border-radius: 16px; background: #fff; display: grid; grid-template-columns: 110px minmax(0,1fr) auto; align-items: center; gap: 15px; box-shadow: 0 10px 28px rgba(77,51,153,.07); }
.newbie-slide-media { height: 110px; display: grid; place-items: center; border-radius: 13px; background: #f7f4ff; overflow: hidden; }
.newbie-slide-media img { width: 100%; height: 100%; object-fit: contain; }
.newbie-slide-info { min-width: 0; }
.newbie-round-label { display: inline-flex; margin-bottom: 7px; padding: 4px 8px; border-radius: 7px; background: #f0ebff; color: var(--purple); font-size: 10px; font-weight: 800; }
.newbie-slide-title { max-width: 100%; min-height: 40px; padding: 0; border: 0; background: transparent; color: var(--text); display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 15px; font-weight: 850; line-height: 1.35; text-align: left; cursor: pointer; }
.newbie-slide-title:hover { color: var(--purple); }
.newbie-slide-progress { display: flex; justify-content: space-between; gap: 10px; margin: 12px 0 6px; color: var(--muted); font-size: 11px; }
.newbie-slide-progress strong, .newbie-slide-progress b { color: var(--purple); }
.newbie-slide-cta { min-width: 105px; min-height: 44px; padding: 0 16px; white-space: nowrap; }
.newbie-carousel-arrow { position: absolute; top: 50%; z-index: 2; width: 38px; height: 38px; margin-top: -29px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(45,32,91,.08); }
.newbie-carousel-arrow:hover { border-color: #baaaf0; color: var(--purple); }
.newbie-carousel-arrow.previous { left: 0; }
.newbie-carousel-arrow.next { right: 0; }
.newbie-carousel-dots { position: absolute; left: 50%; bottom: 1px; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; }
.newbie-carousel-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: #cec7df; cursor: pointer; transition: width .2s ease, background .2s ease; }
.newbie-carousel-dots button.active { width: 20px; background: var(--purple); }
.pool-status-overlay { position:absolute; inset:0; z-index:3; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; color:#fff; background:rgba(8,8,14,.58); backdrop-filter:blur(1.5px); }
.pool-status-overlay strong { font-size:24px; letter-spacing:.12em; }
.pool-status-overlay span { font-size:12px; color:rgba(255,255,255,.8); }
.pool-card-closed .pool-visual > img { filter:grayscale(.35); }
.category-filters { margin: 0 0 18px; overflow-x: auto; padding-bottom: 4px; }
.category-filters .filter { white-space: nowrap; min-height: 40px; }
.filters { display: flex; gap: 7px; }
.filter { border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 8px 13px; border-radius: 11px; cursor: pointer; font-size: 12px; }
.filter.active { color: var(--text); border-color: rgba(124,92,255,.4); background: rgba(124,92,255,.12); }
