:root {
  --bg: #08131f;
  --bg-soft: #10263b;
  --panel: rgba(9, 26, 40, 0.78);
  --panel-strong: rgba(13, 31, 45, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f8fbff;
  --muted: #9ec2d8;
  --accent: #ff5a3d;
  --accent-2: #ff8e53;
  --gold: #ffd36f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255, 90, 61, 0.2), transparent 22%),
    radial-gradient(circle at 15% 18%, rgba(77, 201, 255, 0.16), transparent 18%),
    linear-gradient(180deg, #0a1826 0%, #071018 56%, #06131e 100%);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.water-glow,
.water-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.water-glow {
  background:
    radial-gradient(circle at 20% 12%, rgba(0, 170, 255, 0.11), transparent 22%),
    radial-gradient(circle at 80% 28%, rgba(255, 110, 80, 0.1), transparent 20%),
    radial-gradient(circle at 45% 78%, rgba(76, 171, 255, 0.08), transparent 24%);
  filter: blur(18px);
}

.water-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(4, 13, 21, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner,
.filter-strip-inner,
.content,
.footer-inner {
  width: min(var(--max-width), calc(100vw - 32px));
  margin: 0 auto;
}

.topbar-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 780px) auto;
  align-items: center;
  gap: 16px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff7a4e 0%, #ff3d2f 100%);
  box-shadow: 0 16px 34px rgba(255, 90, 61, 0.34);
  overflow: hidden;
}

.brand-mark::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 16px;
  left: 9px;
  top: 15px;
  background: linear-gradient(180deg, #fff6ef 0%, #ffd6b7 100%);
  border-radius: 18px 18px 12px 18px;
  transform: rotate(-8deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 14px;
  border-style: solid;
  border-width: 9px 0 9px 11px;
  border-color: transparent transparent transparent #fff1e3;
  transform: rotate(-4deg);
}

.brand-copy strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.brand-copy span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.topbar-controls {
  display: grid;
  grid-template-columns: minmax(260px, 380px) repeat(3, minmax(120px, 156px));
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.topbar-search {
  display: flex;
  justify-content: center;
}

.topbar-search-label,
.field label {
  font-size: 12px;
  color: var(--muted);
}

.topbar-search-input,
.field input,
.field select,
.tool-input,
.tool-textarea,
.wish-form input,
.wish-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}

.topbar-search-input {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
}

.topbar-search-input::placeholder,
.field input::placeholder,
.wish-form input::placeholder,
.wish-form textarea::placeholder,
.tool-input::placeholder,
.tool-textarea::placeholder {
  color: rgba(210, 230, 242, 0.48);
}

.topbar-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-tab,
.wish-button,
.close-button {
  cursor: pointer;
}

.topbar-tab {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.topbar-tab.active {
  color: #fff8f2;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(255, 90, 61, 0.22);
}

.filter-strip {
  min-width: 0;
}

.filter-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 156px));
  gap: 10px;
  padding: 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.field select,
.field input,
.tool-input {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 38px;
  background:
    linear-gradient(180deg, rgba(16, 34, 49, 0.94), rgba(11, 24, 36, 0.98)),
    rgba(255, 255, 255, 0.04);
  border-color: rgba(137, 196, 230, 0.16);
  color: #eef7fd;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='none' stroke='%23cfe7f7' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M3 5.25 7 9l4-3.75'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(16, 34, 49, 0.94), rgba(11, 24, 36, 0.98));
  background-repeat: no-repeat, no-repeat;
  background-position: right 13px center, center;
  background-size: 14px 14px, 100% 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.field select:hover,
.field select:focus,
.topbar-search-input:focus {
  border-color: rgba(255, 156, 120, 0.34);
  box-shadow: 0 0 0 3px rgba(255, 90, 61, 0.08);
}

.field select option {
  color: #eaf6ff;
  background: #122535;
}

.content {
  width: min(var(--max-width), calc(100vw - 32px));
  padding: 10px 0 112px;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.hero {
  padding-bottom: 8px;
}

.hero-inner,
.tool-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
}

.hero-copy,
.hero-side-card,
.section-card,
.resource-card,
.modal-panel,
.tool-card,
.tool-hero {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy,
.hero-side-card,
.section-card,
.tool-card,
.tool-hero {
  border-radius: 28px;
}

.hero-copy,
.tool-hero {
  padding: 32px;
}

.hero-side {
  display: grid;
  gap: 18px;
}

.hero-side-card {
  padding: 24px;
}

.side-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffd9ba;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(255, 90, 61, 0.9);
}

.hero-copy h1,
.tool-hero h2 {
  margin: 22px 0 16px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.tool-hero h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.hero-copy .accent {
  color: #ffd2b0;
}

.hero-copy p,
.tool-hero p,
.wish-card p,
.catalog-head p,
.tool-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.hero-meta,
.tool-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-stat,
.tool-stat {
  min-width: 156px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stat strong,
.tool-stat strong {
  display: block;
  font-size: 26px;
  margin-bottom: 6px;
  color: #fff6e8;
}

.hero-stat span,
.tool-stat span {
  color: var(--muted);
  font-size: 13px;
}

.hero-note {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  background: rgba(255, 211, 111, 0.08);
  color: #ffe9b7;
  font-size: 14px;
  line-height: 1.7;
}

.wish-card {
  margin-top: 18px;
  padding: 20px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 104, 69, 0.12), rgba(83, 182, 255, 0.08)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wish-fab {
  position: fixed;
  left: 20px;
  top: 50%;
  z-index: 19;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(8, 24, 37, 0.88);
  color: #fff2e6;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  transform: translateY(-50%);
  animation: wishFloat 3.8s ease-in-out infinite;
}

.wish-fab-core {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffd5b3 0%, #ff8e53 40%, #ff5a3d 100%);
  box-shadow: 0 0 0 8px rgba(255, 90, 61, 0.12);
}

.wish-fab-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.wish-popover {
  position: fixed;
  left: 84px;
  top: 50%;
  z-index: 22;
  width: min(520px, calc(100vw - 124px));
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(-18px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.wish-popover.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.wish-popover-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(8, 24, 37, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.wish-popover-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 16px;
}

.wish-popover-head h3 {
  margin: 0;
  font-size: 24px;
  color: #fff6ea;
}

.wish-popover-head p {
  margin: 10px 0 0;
}

.wish-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.wish-card h3,
.tool-card h3,
.hero-side-card h3 {
  margin: 0 0 12px;
  color: #fff6ea;
}

.wish-grid,
.resource-grid,
.tool-grid {
  display: grid;
  gap: 10px;
}

.wish-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  margin-top: 18px;
}

.wish-panel {
  padding: 16px;
  border-radius: 18px;
  background: rgba(3, 16, 27, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.wish-pills,
.resource-tags,
.modal-tags,
.resource-files,
.wish-actions,
.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wish-pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(6, 21, 33, 0.72);
  border: 1px solid rgba(190, 228, 248, 0.22);
  color: #f4fbff;
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.wish-contact,
.wish-feedback {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.wish-contact strong {
  color: #fff1e4;
}

.wish-email-link {
  color: #ffd3b8;
  text-decoration: underline;
}

.wish-form {
  display: grid;
  gap: 12px;
}

.wish-form textarea,
.tool-textarea {
  min-height: 126px;
  padding: 13px 14px;
  resize: vertical;
  line-height: 1.6;
}

.wish-button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #fffaf5;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 12px 26px rgba(255, 90, 61, 0.22);
}

.wish-button.secondary {
  color: #dceef8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

.section-card {
  padding: 24px;
}

.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 10px;
}

.catalog-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.04em;
}

.result-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffd8b7;
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tool-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.resource-card,
.tool-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.resource-card {
  border-radius: 24px;
  cursor: pointer;
  min-width: 0;
}

.resource-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 165, 126, 0.36);
}

.resource-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(180deg, rgba(10, 25, 39, 0.1), rgba(3, 10, 16, 0.78)),
    linear-gradient(135deg, rgba(255, 103, 71, 0.18), rgba(88, 191, 255, 0.2));
  overflow: hidden;
}

.resource-media img,
.thumb-button img,
.preview-frame img {
  width: 100%;
  height: 100%;
  display: block;
}

.resource-media img {
  object-fit: cover;
}

.resource-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 56px;
  color: rgba(255, 255, 255, 0.76);
}

.resource-tags {
  position: absolute;
  left: 14px;
  top: 14px;
  right: 14px;
}

.tag.warn,
.status-chip {
  color: #fff2cf;
  background: rgba(174, 103, 24, 0.34);
  border-color: rgba(255, 218, 143, 0.4);
}

.resource-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
}

.resource-title,
.resource-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.resource-title h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.resource-price,
.inline-link {
  color: #ffd7b6;
  font-size: 14px;
}

.resource-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  min-height: 72px;
}

.resource-meta,
.detail-list,
.tool-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.resource-meta,
.detail-item,
.tool-output,
.tool-metrics {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.resource-meta strong,
.resource-meta span,
.detail-item strong,
.detail-item span {
  display: block;
}

.resource-meta strong,
.detail-item strong {
  font-size: 12px;
  color: #cfe6f4;
  text-transform: uppercase;
}

.resource-meta span,
.detail-item span {
  margin-top: 6px;
  color: #fff6ea;
}

.empty-state,
.loading-state,
.error-state {
  padding: 34px 20px;
  text-align: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

.tool-card {
  gap: 14px;
  padding: 22px;
}

.tool-card-wide {
  grid-column: span 2;
}

.tool-output {
  min-height: 56px;
  color: #d8edf8;
  line-height: 1.7;
}

.tool-output-code {
  white-space: pre-wrap;
  overflow: auto;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(1, 7, 12, 0.72);
  backdrop-filter: blur(12px);
}

.modal.open {
  display: flex;
}

.modal-panel {
  width: min(1120px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  border-radius: 30px;
  padding: 24px;
  background: var(--panel-strong);
}

.modal-head,
.modal-grid,
.preview-stage,
.modal-side {
  display: grid;
  gap: 20px;
}

.modal-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  margin-bottom: 22px;
}

.modal-title h3,
.modal-title p {
  margin: 0;
}

.modal-title p {
  margin-top: 10px;
  color: var(--muted);
}

.close-button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.modal-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
}

.preview-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(5, 16, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-frame img {
  object-fit: contain;
}

.preview-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  color: var(--muted);
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.thumb-button {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  aspect-ratio: 16 / 10;
}

.thumb-button.active {
  border-color: rgba(255, 157, 107, 0.56);
}

.thumb-button img {
  object-fit: cover;
}

.side-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.resource-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.resource-file-info {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.resource-file-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 99, 71, 0.16);
  color: #ffd2bf;
  font-weight: 700;
}

.resource-file-name strong,
.resource-file-name span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-file-name span {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 12px;
}

.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 18;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 12, 20, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.18);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  padding: 10px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.footer strong {
  color: #fff3e8;
  font-size: 13px;
}

@media (max-width: 1120px) {
  .topbar-inner,
  .hero-inner,
  .tool-hero,
  .modal-grid,
  .wish-grid,
  .resource-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .tool-card-wide {
    grid-column: auto;
  }

  .resource-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topbar-controls {
    grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(110px, 140px));
  }

  .filter-strip-inner {
    grid-template-columns: repeat(3, minmax(110px, 140px));
  }
}

@media (max-width: 760px) {
  .topbar-inner,
  .filter-strip-inner,
  .catalog-head,
  .footer-inner,
  .modal-head {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    gap: 12px;
    padding: 14px 0;
  }

  .topbar-controls {
    grid-template-columns: 1fr;
  }

  .topbar-tabs {
    width: 100%;
  }

  .topbar-tab {
    flex: 1;
  }

  .filter-strip-inner {
    grid-template-columns: 1fr;
    justify-content: stretch;
    padding-top: 0;
  }

  .content {
    padding-top: 24px;
    padding-bottom: 128px;
  }

  .wish-fab {
    left: 12px;
    padding: 10px 12px 10px 10px;
  }

  .wish-fab-text {
    display: none;
  }

  .wish-popover {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 92px;
    width: auto;
    transform: translateY(16px);
  }

  .wish-popover.open {
    transform: translateY(0);
  }

  .wish-popover-head {
    grid-template-columns: 1fr auto;
  }

  .hero-copy,
  .hero-side-card,
  .section-card,
  .tool-card,
  .tool-hero,
  .modal-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-meta,
  .tool-hero-stats,
  .resource-meta,
  .detail-list,
  .tool-metrics {
    grid-template-columns: 1fr;
  }

  .resource-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .resource-file {
    flex-direction: column;
    align-items: flex-start;
  }

  .thumb-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    padding: 10px 0 12px;
    font-size: 11px;
  }

  .footer strong {
    font-size: 12px;
  }
}

@keyframes wishFloat {
  0%, 100% {
    transform: translateY(-50%) translateY(0);
  }
  50% {
    transform: translateY(-50%) translateY(-10px);
  }
}
