/* Rock Identifier homepage: reuses the existing site system and adds only the photo tool styles. */
.rock-hero { position: relative; padding-bottom: 86px; }
.rock-hero .hero-heading { max-width: 980px; }
.rock-hero .hero-announcement {
  display: inline-flex;
  width: fit-content;
  max-width: min(100%, calc(100vw - 32px));
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px !important;
  border: 1px solid rgba(239, 188, 113, .22);
  border-radius: 999px;
  background: rgba(44, 32, 22, .88);
  box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 8px 24px rgba(0, 0, 0, .12);
  line-height: 1.2;
}
.rock-hero .hero-announcement-leading {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 3px 8px 3px 3px;
  border: 1px solid rgba(239, 188, 113, .2);
  border-radius: 999px;
  background: rgba(28, 21, 16, .72);
  box-shadow: inset 0 1px rgba(255, 255, 255, .035);
}
.rock-hero .hero-announcement-badge {
  min-height: 32px;
  padding: 6px 15px;
  border: 1px solid rgba(255, 228, 193, .16);
  border-radius: 999px;
  background: #df9a5e;
  box-shadow: inset 0 1px rgba(255, 255, 255, .12);
  color: #24170f;
  font-size: .84rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}
.rock-hero .hero-announcement-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}
.rock-hero .hero-announcement-text {
  display: block;
  padding-right: 9px;
  color: #d8cec4;
  font-size: .86rem;
  white-space: nowrap;
}
.rock-hero .landing-hero-copy { max-width: 820px; margin: 28px auto 0; }
.rock-hero .hero-proof-row { justify-content: center; margin-top: 23px; }
.rock-tool-shell { width: min(900px, 100%); margin: 40px auto 0; padding: 18px; border: 1px solid var(--color-border); border-radius: 24px; background: rgba(38, 28, 21, .96); box-shadow: 0 22px 58px rgba(0, 0, 0, .23); text-align: left; }
/* 预览方案：隐藏工具卡顶部标题说明，让上传和示例结果直接成为首屏焦点。 */
.rock-tool-header { display: none; }
.rock-tool-header h2 { margin: 0 0 8px; color: #f7f1eb; font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.15; }
.rock-tool-header p:last-child { max-width: 650px; margin: 0; color: var(--color-text-muted); }
.tool-status-pill { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid rgba(174, 185, 132, .25); border-radius: 999px; background: rgba(119, 128, 86, .12); color: #dfe7bd; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.tool-status-pill > span { width: 7px; height: 7px; border-radius: 50%; background: #aeb984; box-shadow: 0 0 0 4px rgba(174, 185, 132, .12); }
.rock-tool-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: 14px; }
.rock-uploader-panel, .rock-result-panel { min-width: 0; padding: 18px; border: 1px solid var(--color-border); border-radius: 17px; background: #211811; }
.rock-dropzone { display: grid; min-height: 235px; place-items: center; padding: 22px; border: 1.5px dashed rgba(240, 176, 107, .42); border-radius: 15px; background: rgba(44, 32, 22, .5); color: var(--color-text); text-align: center; cursor: pointer; transition: border-color .18s, background .18s, transform .18s; }
.rock-dropzone:hover, .rock-dropzone:focus-visible, .rock-dropzone.is-dragging { border-color: #f0b06b; background: rgba(53, 39, 30, .8); outline: none; transform: translateY(-1px); }
.rock-empty-state { max-width: 420px; }
.rock-upload-icon, .result-panel-icon { display: grid; width: 54px; height: 54px; margin: 0 auto 16px; place-items: center; border: 1px solid rgba(223, 154, 94, .24); border-radius: 16px; background: rgba(223, 154, 94, .12); color: #f0b06b; }
.rock-upload-icon svg, .result-panel-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.rock-empty-state h3, .result-view h3 { margin: 0 0 8px; color: #f4eee8; font-size: 1.2rem; line-height: 1.3; }
.rock-empty-state p, .result-view p { margin: 0; color: var(--color-text-muted); line-height: 1.65; }
.dropzone-action-hint { display: block; margin-top: 14px; color: #c9a48c; font-size: .78rem; }
.rock-preview-state { width: 100%; max-width: 440px; }
.rock-preview-frame { display: grid; min-height: 188px; place-items: center; overflow: hidden; border-radius: 13px; background: #17110d; }
.rock-preview-frame img { width: 100%; max-height: 250px; object-fit: contain; }
.rock-file-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; color: #f0e7de; }
.rock-file-meta strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rock-file-meta span { flex: 0 0 auto; color: var(--color-text-muted); font-size: .78rem; }
.rock-file-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 10px; }
.text-button { padding: 3px 0; border: 0; background: transparent; color: #f0b06b; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.text-button:hover { color: #ffd4a7; text-decoration: underline; }
.text-button:disabled { cursor: wait; opacity: .5; }
.text-button-danger { color: #dfa099; }
.rock-dropzone-help, .rock-format-note { margin: 11px 1px 0; color: var(--color-text-muted); font-size: .76rem; line-height: 1.55; }
.rock-upload-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.rock-upload-actions .button { gap: 7px; }
.rock-upload-actions svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.rock-identify-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.rock-identify-actions .button { flex: 1 1 auto; }
.rock-identify-actions .button:disabled { cursor: not-allowed; opacity: .42; transform: none; box-shadow: none; }
.sample-button { flex: 0 0 auto; }
.button-spinner { width: 15px; height: 15px; margin-left: 7px; border: 2px solid rgba(36, 23, 15, .35); border-top-color: currentColor; border-radius: 50%; animation: rock-spin .75s linear infinite; }
.rock-tool-status, .rock-inline-message { min-height: 1.35em; margin: 12px 1px 0; font-size: .8rem; line-height: 1.5; }
.rock-inline-message { color: #efb0aa; }
.rock-tool-status { color: #c9a48c; }
.rock-result-panel { display: flex; min-height: 350px; align-items: center; justify-content: center; }
.result-view { width: 100%; }
.result-view > .result-panel-icon { margin-bottom: 18px; }
.result-empty, .result-loading, .result-error { text-align: center; }
.result-error-icon { font-size: 1.4rem; font-weight: 800; }
.result-error-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.loading-orbit { display: block; width: 56px; height: 56px; margin: 0 auto 20px; border: 3px solid rgba(223, 154, 94, .18); border-top-color: #f0b06b; border-right-color: #f0b06b; border-radius: 50%; animation: rock-spin .85s linear infinite; }
.result-success-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.result-kicker { margin: 0 0 7px; color: #f0b06b !important; font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.result-success h3 { margin-bottom: 0; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.result-check { display: grid; flex: 0 0 auto; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: rgba(119, 128, 86, .2); color: #dfe7bd; font-weight: 900; }
.result-example-mark { display: grid; flex: 0 0 auto; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(240, 176, 107, .35); border-radius: 50%; background: rgba(223, 154, 94, .14); color: #ffd4a7; font-size: .82rem; font-weight: 850; }
.result-facts { margin: 22px 0 0; }
.result-facts > div, .example-facts > div { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-top: 1px solid rgba(239, 188, 113, .12); }
.result-facts dt, .example-facts dt { color: var(--color-text-muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.result-facts dd, .example-facts dd { margin: 0; color: #f0e7de; font-weight: 650; text-align: right; }
.result-detail-block { margin-top: 20px; }
.result-detail-block h4, .example-clues h4 { margin: 0 0 8px; color: #e8ded5; font-size: .84rem; }
.result-detail-block p { font-size: .88rem; }
.result-detail-block ul, .example-clues ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.result-detail-block li, .example-clues li { position: relative; padding-left: 18px; color: var(--color-text-muted); font-size: .84rem; line-height: 1.5; }
.result-detail-block li::before, .example-clues li::before { content: "✓"; position: absolute; left: 0; color: #f0b06b; font-weight: 800; }
.result-next-step { margin-top: 20px; padding: 14px; border: 1px solid rgba(223, 154, 94, .2); border-radius: 12px; background: rgba(53, 39, 30, .68); }
.result-next-step strong { display: block; margin-bottom: 4px; color: #ffd4a7; font-size: .8rem; }
.result-next-step p { font-size: .82rem; }
.result-important-note { margin: 18px 0 0; color: #bfae9f !important; font-size: .73rem; line-height: 1.55; }
.result-example-media { position: relative; width: 100%; aspect-ratio: 3 / 2; margin-bottom: 12px; overflow: hidden; border: 1px solid rgba(239, 188, 113, .12); border-radius: 14px; background: #17110d; }
.result-example-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.result-example-media span { position: absolute; bottom: 10px; left: 10px; padding: 5px 8px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(28, 19, 14, .82); color: #ffe0bd; font-size: .63rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.result-example-note { padding-top: 4px; }
.result-success > .button { width: 100%; margin-top: 20px; }
.narrow-section { width: min(1000px, calc(100% - 40px)); }
.rock-identifier-paths { padding-top: 52px; }
.rock-identifier-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.rock-identifier-link-card { display: flex; min-width: 0; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--color-border); border-radius: 15px; background: #261c15; color: #f0e7de; text-decoration: none; transition: border-color .18s, background .18s, transform .18s; }
.rock-identifier-link-card:hover, .rock-identifier-link-card:focus-visible { border-color: rgba(240, 176, 107, .55); background: #2d2017; outline: none; transform: translateY(-2px); }
.rock-identifier-link-icon { display: block; flex: 0 0 56px; width: 56px; height: 56px; overflow: hidden; border: 1px solid rgba(223, 154, 94, .36); border-radius: 13px; background: #17110d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); }
.rock-identifier-link-icon img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .22s ease; }
.rock-identifier-link-card:hover .rock-identifier-link-icon img, .rock-identifier-link-card:focus-visible .rock-identifier-link-icon img { transform: scale(1.06); }
.rock-identifier-link-copy { display: grid; min-width: 0; gap: 4px; }
.rock-identifier-link-copy strong { color: #f0e7de; font-size: .9rem; line-height: 1.25; }
.rock-identifier-link-copy span { overflow: hidden; color: var(--color-text-muted); font-size: .76rem; line-height: 1.4; text-overflow: ellipsis; }
.rock-identifier-link-arrow { flex: 0 0 auto; margin-left: auto; color: #f0b06b; font-size: 1.05rem; }
.rock-result-showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rock-result-showcase-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--color-border); border-radius: 18px; background: #261c15; box-shadow: 0 14px 38px rgba(0, 0, 0, .14); }
.rock-result-showcase-media { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 0; overflow: hidden; background: #17110d; }
.rock-result-showcase-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rock-case-label { position: absolute; top: 10px; left: 10px; padding: 5px 7px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(28, 19, 14, .82); color: #ffe0bd; font-size: .6rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.rock-result-showcase-body { min-width: 0; padding: 18px 17px; }
.rock-result-showcase-body h3 { margin: 0 0 10px; color: #f4eee8; font-size: 1.22rem; line-height: 1.2; }
.rock-result-showcase-body .example-facts { margin: 0; }
.rock-result-showcase-body .example-facts > div { padding: 8px 0; }
.rock-result-showcase-body .example-clues { margin-top: 17px; }
.rock-result-showcase-body .example-clues h4 { margin-bottom: 6px; font-size: .8rem; }
.rock-result-showcase-body .example-clues ul { gap: 5px; }
.rock-result-showcase-body .example-clues li { font-size: .8rem; line-height: 1.4; }
.rock-showcase-lookalikes { display: grid; gap: 4px; margin-top: 14px; padding-top: 11px; border-top: 1px solid rgba(239, 188, 113, .12); }
.rock-showcase-lookalikes strong { color: #e8ded5; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; }
.rock-showcase-lookalikes span { color: var(--color-text-muted); font-size: .78rem; line-height: 1.4; }
.rock-result-showcase-body .example-next-step { margin-top: 17px; font-size: .8rem; line-height: 1.5; }
.rock-showcase-note { margin: 16px auto 0; color: var(--color-text-muted) !important; font-size: .76rem; line-height: 1.55; text-align: center; }
.example-result-card { display: grid; grid-template-columns: minmax(210px, .75fr) minmax(0, 1.25fr); overflow: hidden; border: 1px solid var(--color-border); border-radius: 22px; background: #261c15; box-shadow: 0 18px 48px rgba(0, 0, 0, .18); }
.example-visual-profile { display: flex; min-height: 360px; flex-direction: column; justify-content: center; padding: 35px; background: linear-gradient(145deg, #33251b, #201711); color: #f4eee8; }
.example-profile-kicker { margin: 0 0 18px; color: #f0b06b; font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.example-visual-profile strong { max-width: 260px; font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.25; }
.example-profile-lines { display: grid; gap: 8px; margin: 25px 0 18px; }
.example-profile-lines span { display: block; height: 9px; border-radius: 999px; background: #d7bd96; opacity: .88; }
.example-profile-lines span:nth-child(2) { width: 78%; background: #8e775d; }
.example-profile-lines span:nth-child(3) { width: 54%; background: #554335; }
.example-visual-profile > p:last-child { margin: 0; color: #c9b9aa; font-size: .8rem; line-height: 1.5; }
.example-result-content { padding: 35px; }
.example-result-content h3 { margin: 0 0 16px; color: #f4eee8; font-size: 2rem; }
.example-facts { margin: 0; }
.example-clues { margin-top: 22px; }
.example-next-step { margin: 24px 0 0; color: var(--color-text-muted); font-size: .86rem; line-height: 1.6; }
.example-next-step strong { color: #ffd4a7; }
.rock-benefit-grid, .rock-tip-grid, .signal-grid, .category-chip-grid, .audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rock-benefit-card, .rock-tip-card, .signal-grid article, .category-chip-grid article, .audience-grid article { min-width: 0; padding: 24px; border: 1px solid var(--color-border); border-radius: 16px; background: #261c15; box-shadow: 0 12px 36px rgba(0, 0, 0, .12); }
.benefit-number { display: grid; width: 36px; height: 36px; margin-bottom: 20px; place-items: center; border-radius: 10px; background: rgba(223, 154, 94, .13); color: #f0b06b; font-size: .75rem; font-weight: 850; }
.rock-benefit-card h3, .rock-tip-card h3, .signal-grid h3, .category-chip-grid strong, .audience-grid h3 { margin: 0 0 9px; color: #f0e7de; font-size: 1.05rem; line-height: 1.3; }
.rock-benefit-card p, .rock-tip-card p, .signal-grid p, .category-chip-grid span, .audience-grid p { margin: 0; color: var(--color-text-muted); font-size: .86rem; line-height: 1.7; }
.rock-tip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rock-tip-card > span { display: grid; width: 38px; height: 38px; margin-bottom: 18px; place-items: center; border-radius: 10px; background: rgba(223, 154, 94, .13); color: #f0b06b; font-size: 1.25rem; }
.signal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rock-boundary-note { margin: 24px auto 0; padding: 16px 18px; border-left: 3px solid #df9a5e; border-radius: 0 10px 10px 0; background: rgba(53, 39, 30, .62); color: #c9b9aa !important; font-size: .85rem; }
.category-chip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-chip-grid article { display: grid; gap: 6px; }
.rock-process-steps { margin-top: 0; }
.rock-process-steps li { min-height: 170px; }
.rock-final-cta { border-color: rgba(223, 154, 94, .24); background: linear-gradient(135deg, #2c2016, #211811); }
.rock-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
@keyframes rock-spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .rock-tool-grid, .example-result-card { grid-template-columns: 1fr; }
  .rock-result-panel { min-height: 320px; }
  .example-visual-profile { min-height: 250px; }
  .rock-identifier-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rock-result-showcase-grid { grid-template-columns: 1fr; }
  .rock-benefit-grid, .rock-tip-grid, .signal-grid, .category-chip-grid, .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .rock-hero .hero-announcement { max-width: calc(100vw - 28px); }
  .rock-hero .hero-announcement-text { max-width: 42vw; overflow-wrap: anywhere; white-space: normal; }
  .rock-tool-shell { margin-top: 30px; padding: 12px; border-radius: 20px; }
  .rock-tool-header { display: none; }
  .tool-status-pill { margin-top: 14px; }
  .rock-uploader-panel, .rock-result-panel { padding: 14px; border-radius: 15px; }
  .rock-dropzone { min-height: 225px; padding: 20px 15px; }
  .rock-identify-actions { align-items: stretch; flex-direction: column; gap: 11px; }
  .sample-button { align-self: center; }
  .rock-identifier-link-grid { grid-template-columns: 1fr; }
  .rock-result-showcase-media { aspect-ratio: 16 / 9; }
  .example-result-content { padding: 25px 20px; }
  .rock-benefit-grid, .rock-tip-grid, .signal-grid, .category-chip-grid, .audience-grid { grid-template-columns: 1fr; }
  .rock-cta-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .rock-cta-actions .button { width: 100%; }
}
