/* Shared Space styling. Generated from _shared/spaceapp/ — do not edit in place. */ .gradio-container { max-width: 1080px !important; margin: 0 auto !important; font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif !important; } /* --- hero ---------------------------------------------------------------- */ .hero-container { text-align: center; padding: 40px 16px 24px; } .hero-badge { display: inline-block; text-decoration: none; background: linear-gradient(135deg, #4f46e5, #2563eb); color: #fff; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; padding: 7px 18px; border-radius: 999px; margin-bottom: 16px; } .hero-badge:hover { filter: brightness(1.1); text-decoration: none; } .hero-title { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 10px; background: linear-gradient(135deg, #4338ca 0%, #2563eb 55%, #7c3aed 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .hero-desc { font-size: 1rem; line-height: 1.6; color: var(--body-text-color-subdued, #64748b); max-width: 62ch; margin: 0 auto; } @media (max-width: 620px) { .hero-title { font-size: 1.8rem; } } /* --- api key row --------------------------------------------------------- */ .api-key-row { align-items: center; gap: 10px; margin-bottom: 4px; } .get-key-btn { display: inline-block; white-space: nowrap; padding: 9px 16px; border-radius: 8px; border: 1px solid var(--border-color-primary, #d2d6de); font-size: 0.86rem; font-weight: 600; text-decoration: none; color: var(--body-text-color, #14161a); } .get-key-btn:hover { background: var(--background-fill-secondary, #f4f5f7); } .key-note { font-size: 0.82rem !important; line-height: 1.55; color: var(--body-text-color-subdued, #6b7280) !important; margin: 2px 2px 18px !important; } .key-note code { font-size: 0.95em; } /* --- controls ------------------------------------------------------------ */ .primary-btn { background: linear-gradient(135deg, #4f46e5, #2563eb) !important; border: 0 !important; color: #fff !important; font-weight: 650 !important; border-radius: 9px !important; margin-top: 8px; } .primary-btn:hover { filter: brightness(1.08); } /* --- footer -------------------------------------------------------------- */ .cta-container { text-align: center; padding: 22px 16px 8px; margin-top: 18px; border-top: 1px solid var(--border-color-primary, #e4e6eb); } .cta-desc { font-size: 0.86rem; color: var(--body-text-color-subdued, #6b7280); margin: 0; } .cta-desc a { color: #4f46e5; text-decoration: none; font-weight: 600; } .cta-desc a:hover { text-decoration: underline; } .cta-desc code { font-size: 0.95em; } /* Link to the full product and real examples (Spaces that set promo / showcase). */ .promo-container { text-align: center; margin: 4px 0 18px; } .promo-btn { display: inline-block; padding: 10px 22px; border-radius: 10px; background: #d4ff00; color: #000 !important; font-weight: 700; text-decoration: none !important; } .promo-btn:hover { background: #c4e600; } .promo-desc { margin: 8px auto 0; max-width: 640px; font-size: 14px; opacity: 0.75; } .showcase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 18px; } .showcase-item { margin: 0; border-radius: 12px; overflow: hidden; background: #111; } .showcase-item video, .showcase-item img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; } .showcase-item figcaption { padding: 6px 10px; font-size: 12px; color: #e5e7eb; } /* Wide items (e.g. before/after strips) take a full row and keep their own shape. */ .showcase-wide { grid-column: 1 / -1; } .showcase-wide img { aspect-ratio: auto; object-fit: contain; }