:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-soft: #eef3f1;
  --ink: #1f2529;
  --muted: #68727b;
  --line: #d9e0e5;
  --teal: #0f8f82;
  --teal-dark: #0b6d64;
  --red: #c8423c;
  --orange: #c76b1b;
  --yellow: #b88b00;
  --blue: #315fbd;
  --violet: #7250a8;
  --radius: 8px;
  --shadow: 0 16px 44px rgba(31, 37, 41, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(15, 143, 130, 0.11), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 246, 248, 0.92));
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 14px clamp(16px, 3vw, 32px);
  border-bottom: 1px solid rgba(217, 224, 229, 0.86);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-lockup strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.2;
}

.brand-lockup span:not(.brand-mark) {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(15, 143, 130, 0.38);
  border-radius: 50%;
  background: conic-gradient(from 220deg, #0f8f82, #f4d35e, #c8423c, #315fbd, #0f8f82);
  box-shadow: inset 0 0 0 7px #fff;
}

.brand-mark span {
  width: 15px;
  height: 15px;
  border: 2px solid #1f2529;
  border-radius: 50%;
  background: #fff;
}

.topbar-actions,
.panel-title-row,
.dashboard-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-actions {
  flex: 0 0 auto;
}

.admin-auth-area {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-only {
  display: none !important;
}

body.is-admin .admin-only {
  display: inline-flex !important;
}

body.is-admin .ghost-button.admin-only,
body.is-admin .text-button.admin-only,
body.is-admin .primary-button.admin-only {
  display: inline-flex !important;
}

body.is-admin .icon-button.admin-only {
  display: grid !important;
}

.icon-button,
.text-button,
.ghost-button,
.primary-button {
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

.icon-button svg,
.primary-button svg,
.drop-zone svg,
.search-box svg,
.empty-state svg {
  width: 20px;
  height: 20px;
}

.text-button,
.ghost-button {
  min-height: 38px;
  padding: 0 13px;
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

.text-button.compact {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.88rem;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: var(--teal-dark);
  border: 1px solid rgba(15, 117, 109, 0.24);
  border-radius: var(--radius);
  background: var(--teal-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.ghost-button {
  min-height: 34px;
  padding: 0 11px;
  color: var(--muted);
  background: transparent;
}

.ghost-button.danger {
  color: var(--red);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  color: #fff;
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.icon-button:hover,
.text-button:hover,
.ghost-button:hover,
.primary-button:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 37, 41, 0.24);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 20px;
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 20px clamp(16px, 3vw, 32px) 32px;
}

.intake-panel,
.insight-panel,
.risk-map-panel,
.tag-panel,
.product-list-panel,
.detail-panel,
.compare-panel {
  border: 1px solid rgba(217, 224, 229, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.intake-panel {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 18px;
}

.insight-panel {
  min-width: 0;
  padding: 18px;
}

.section-heading {
  min-width: 0;
}

.section-heading p {
  margin: 0 0 5px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.18;
}

.section-heading h2 {
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
}

.intake-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.intake-form label {
  display: grid;
  gap: 7px;
}

.intake-form label span {
  color: var(--muted);
  font-size: 0.85rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.image-input-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px;
  gap: 12px;
  align-items: end;
}

.image-upload-control input {
  padding-top: 9px;
  font-size: 0.78rem;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  background: #fff;
}

input,
select {
  height: 42px;
  padding: 0 12px;
}

textarea {
  min-height: 190px;
  resize: vertical;
  padding: 12px;
  line-height: 1.55;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(15, 143, 130, 0.72);
  box-shadow: 0 0 0 3px rgba(15, 143, 130, 0.12);
}

.drop-zone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 14px;
  color: var(--muted);
  border: 1px dashed #aab7bd;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.drop-zone.is-dragging {
  color: var(--teal-dark);
  border-color: var(--teal-dark);
  background: rgba(15, 143, 130, 0.1);
}

.drop-zone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.drop-zone strong,
.drop-zone span {
  display: block;
}

.drop-zone strong {
  color: var(--ink);
}

.drop-zone span {
  margin-top: 2px;
  font-size: 0.86rem;
}

.link-preview-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafb;
}

.panel-title-row.compact {
  min-height: 28px;
  margin-bottom: 8px;
}

.panel-title-row.compact h3 {
  font-size: 0.92rem;
}

.link-preview,
.link-list {
  display: grid;
  gap: 8px;
}

.purchase-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 9px 10px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
}

.purchase-link:hover {
  border-color: rgba(15, 143, 130, 0.52);
}

.purchase-link strong,
.purchase-link small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.purchase-link small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.purchase-link em {
  min-width: 42px;
  padding: 4px 7px;
  color: var(--teal-dark);
  border-radius: 999px;
  background: rgba(15, 143, 130, 0.1);
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.primary-link {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  min-height: 38px;
  margin: 2px 0 10px;
  color: var(--teal-dark);
  font-weight: 700;
}

.link-empty {
  display: grid;
  min-height: 74px;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: var(--muted);
  border: 1px dashed #aab7bd;
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}

.link-empty strong {
  color: var(--ink);
}

.link-empty span {
  font-size: 0.82rem;
}

.image-preview {
  position: relative;
  display: grid;
  min-height: 148px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafb;
}

.image-preview img {
  display: block;
  width: 100%;
  height: 180px;
  padding: 8px;
  object-fit: contain;
  background: #fff;
}

.image-preview span {
  position: absolute;
  inset: auto 12px 12px;
  padding: 6px 9px;
  color: #fff;
  border-radius: var(--radius);
  background: rgba(31, 37, 41, 0.72);
  font-size: 0.78rem;
  text-align: center;
}

.image-preview.is-empty img {
  display: none;
}

.image-preview.is-empty span {
  position: static;
  color: var(--muted);
  background: transparent;
}

.dashboard-head {
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.search-box {
  position: relative;
  width: min(360px, 100%);
}

.search-box svg {
  position: absolute;
  top: 50%;
  left: 12px;
  color: var(--muted);
  transform: translateY(-50%);
}

.search-box input {
  padding-left: 40px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.metric-tile {
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f9fbfb);
}

.metric-tile span,
.muted-count {
  color: var(--muted);
  font-size: 0.84rem;
}

.metric-tile strong {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-size: 1.9rem;
  line-height: 1;
}

.main-grid,
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.85fr);
  gap: 14px;
  margin-top: 14px;
}

.risk-map-panel,
.tag-panel,
.product-list-panel,
.detail-panel,
.compare-panel {
  box-shadow: none;
}

.risk-map-panel,
.tag-panel,
.product-list-panel,
.detail-panel,
.compare-panel {
  min-width: 0;
  padding: 14px;
}

.panel-title-row {
  justify-content: space-between;
  min-height: 38px;
  margin-bottom: 10px;
}

.panel-title-row h3 {
  margin: 0;
  font-size: 1rem;
}

.panel-title-row select {
  width: auto;
  min-width: 156px;
  height: 34px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

#riskCanvas {
  display: block;
  width: 100%;
  aspect-ratio: 12 / 5;
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(15, 143, 130, 0.08), rgba(199, 107, 27, 0.08), rgba(200, 66, 60, 0.1)),
    #fff;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  min-height: 230px;
}

.tag-chip,
.level-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.tag-chip {
  gap: 6px;
  color: var(--ink);
}

.tag-chip span {
  color: var(--muted);
  font-size: 0.78rem;
}

.tag-chip.is-active {
  color: #fff;
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.tag-chip.is-active span {
  color: rgba(255, 255, 255, 0.82);
}

.product-list {
  display: grid;
  gap: 10px;
  max-height: 620px;
  overflow: auto;
  padding-right: 2px;
}

.product-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  min-height: 118px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: left;
}

.product-row.is-selected {
  border-color: rgba(15, 143, 130, 0.82);
  box-shadow: inset 3px 0 0 var(--teal-dark);
}

.risk-ring {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--ring-color) calc(var(--score) * 1%), #e6ecef 0);
}

.risk-ring span {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}

.product-thumb {
  display: block;
  width: 74px;
  height: 74px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafb;
}

.product-thumb img,
.detail-image,
.compare-image {
  display: block;
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: contain;
  background: #fff;
}

.product-copy {
  min-width: 0;
}

.product-copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-copy small,
.compare-card small,
.detail-main p {
  display: block;
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.product-meta span {
  min-height: 24px;
  padding: 3px 8px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.77rem;
  background: #f8fafb;
}

.compare-check {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
}

.compare-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal-dark);
}

.detail-view {
  min-height: 420px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}

.detail-image {
  height: 142px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafb;
}

.image-open-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.detail-image-button {
  width: 142px;
  height: 142px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafb;
}

.detail-image-button .detail-image {
  border: 0;
}

.review-image-button {
  display: block;
  width: min(100%, 280px);
  aspect-ratio: 4 / 3;
  margin: 10px 0 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafb;
}

.review-image-button img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: contain;
  background: #fff;
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(20, 25, 28, 0.74);
}

.image-viewer.is-open {
  display: grid;
}

.image-viewer img {
  max-width: min(96vw, 1180px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.image-viewer-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.32);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(20, 25, 28, 0.48);
}

.admin-modal.is-open {
  display: grid;
}

.admin-card {
  width: min(420px, 100%);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 80px rgba(31, 37, 41, 0.18);
}

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

.admin-form label {
  display: grid;
  gap: 6px;
}

.admin-form label span {
  color: var(--muted);
  font-size: 0.84rem;
}

.admin-message {
  min-height: 20px;
  margin: 0;
  color: var(--red);
  font-size: 0.84rem;
}

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

.detail-hero h4 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.level-pill {
  border-color: transparent;
  color: #fff;
  white-space: nowrap;
}

.level-low {
  background: var(--teal-dark);
}

.level-mid {
  background: var(--orange);
}

.level-high {
  background: var(--red);
}

.score-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 12px 0;
}

.purchase-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 12px 0;
}

.score-item,
.purchase-item {
  min-height: 74px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.score-item span,
.purchase-item span {
  color: var(--muted);
  font-size: 0.78rem;
}

.score-item strong,
.purchase-item strong {
  display: block;
  margin-top: 6px;
  font-size: 1.3rem;
  line-height: 1.2;
  word-break: break-word;
}

.purchase-item strong {
  font-size: 0.98rem;
}

.bar-list,
.evidence-list,
.advice-list {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
}

.bar-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.bar-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edf0;
}

.bar-fill {
  width: var(--width);
  height: 100%;
  border-radius: inherit;
  background: var(--bar-color);
}

.detail-section {
  margin-top: 16px;
}

.detail-section h5 {
  margin: 0 0 8px;
  font-size: 0.96rem;
}

.evidence-list p,
.advice-list p {
  margin: 0;
  padding: 10px 11px;
  color: #364148;
  border-left: 3px solid rgba(15, 143, 130, 0.48);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #f7faf9;
  line-height: 1.55;
}

.summary-panel {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.summary-panel p {
  margin: 0;
  color: #364148;
  line-height: 1.55;
}

.summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.summary-tags span {
  min-height: 26px;
  padding: 4px 8px;
  color: var(--teal-dark);
  border: 1px solid rgba(15, 143, 130, 0.28);
  border-radius: 999px;
  background: rgba(15, 143, 130, 0.08);
  font-size: 0.78rem;
}

.review-list {
  display: grid;
  gap: 10px;
}

.review-item {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.review-head span {
  color: var(--muted);
  font-size: 0.78rem;
}

.review-item p {
  margin: 0;
  color: #364148;
  line-height: 1.55;
}

.compare-panel {
  margin-top: 14px;
}

.compare-view {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.compare-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.compare-image {
  height: 132px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafb;
}

.compare-card strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compare-card .product-meta {
  margin-bottom: 10px;
}

.empty-state {
  display: grid;
  min-height: 210px;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--muted);
  text-align: center;
}

.empty-state strong {
  color: var(--ink);
}

.empty-state svg {
  width: 34px;
  height: 34px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 14px;
  color: #fff;
  border-radius: var(--radius);
  background: #263238;
  box-shadow: var(--shadow);
}

@media (max-width: 1120px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .intake-panel {
    position: static;
  }
}

@media (max-width: 840px) {
  .metrics-grid,
  .main-grid,
  .content-grid,
  .compare-view,
  .purchase-board {
    grid-template-columns: 1fr;
  }

  .dashboard-head {
    align-items: stretch;
  }

  .search-box {
    width: 100%;
  }

  .product-list {
    max-height: none;
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: flex-start;
  }

  .topbar-actions {
    align-self: stretch;
    justify-content: flex-end;
  }

  .brand-lockup span:not(.brand-mark) {
    white-space: normal;
  }

  .form-grid,
  .image-input-grid,
  .score-board {
    grid-template-columns: 1fr;
  }

  .product-row {
    grid-template-columns: 68px minmax(0, 1fr) auto auto;
  }

  .product-thumb {
    width: 68px;
    height: 68px;
  }

  .compare-check {
    grid-column: auto;
    grid-row: auto;
    justify-self: end;
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-main {
    display: grid;
  }

  .detail-image,
  .detail-image-button {
    width: 100%;
    height: 190px;
  }

  .bar-row {
    grid-template-columns: 62px minmax(0, 1fr) 34px;
  }
}
