* { box-sizing: border-box; margin: 0; padding: 0; } body { background-color: #f7f7f7; font-family: 'Montserrat', sans-serif; line-height: 1.4; } body:not(.curator) { padding-top: 0 !important; } body:not([data-page="playground"]) #toolbar { display: none !important; } .toolbar { position: fixed; align-items: center; top: 0; left: 0; width: 100%; display: none; justify-content: flex-end; gap: 0.5rem; background: rgba(255, 255, 255, 0.95); padding: 0.75rem 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); z-index: 1000; flex-wrap: wrap; } body.curator { padding-top: 3.5rem; } body.curator .toolbar { display: flex; } .toolbar button { padding: 0.6rem 1.2rem; font-size: 1rem; border: none; border-radius: 999px; font-weight: 600; transition: background 0.3s ease; } #modeToggle { background-color: #007bff; color: #fff; } #resetButton { background-color: #dc3545; color: #fff; } .hero-section { position: relative; overflow: hidden; width: 100%; min-height: 180px; max-height: 320px; } .hero-section img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; } .hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4rem 1rem; text-align: center; max-width: 90%; margin: 0 auto; } .hero-inputs { width: 100%; max-width: 600px; margin: 6rem auto 2rem auto; background: rgba(255, 255, 255, 0.95); padding: 1.5rem; border-radius: 0.75rem; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); border-top: 2px solid #eee; } .hero-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; text-shadow: 1px 1px 2px #fff; line-height: 1.2; margin-bottom: 0.75rem; } .hero-subtitle { font-size: 1.25rem; text-shadow: 1px 1px 2px #fff; line-height: 1.4; } /* Mobile scaling */ @media (max-width: 600px) { .hero-title { font-size: 1.75rem; } .hero-subtitle { font-size: 1rem; } } .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; padding: 1rem; max-width: 1200px; margin: 2rem auto; } .video-wrapper { display: flex; flex-direction: column; } .video-card { position: relative; aspect-ratio: 9 / 16; border-radius: 0.5rem; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); background-color: #000; overflow: hidden; } .video-card.landscape { aspect-ratio: 16 / 9; } .iframe-wrapper { position: absolute; top: -10%; left: -25%; width: 150%; height: 150%; } .video-card iframe, .video-card .placeholder { width: 100%; height: 100%; } .placeholder { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; background: #333; } .input-group { margin-bottom: 1.5rem; } .input-label { margin-bottom: 0.25rem; font-size: 0.85rem; font-weight: 600; color: #333; } .url-input, .comment-input { width: 100%; padding: 0.75rem; border: 1px solid #ccc; border-radius: 0.25rem; font-size: 0.9rem; } .comment { margin-top: 0.75rem; padding: 0.75rem; border-left: 4px solid #ffcc00; background-color: #fafafa; border-radius: 0.4rem; font-style: normal; font-size: 0.95rem; color: #222; box-shadow: 0 1px 3px rgba(0,0,0,0.08); } .affiliate-section { padding: 3rem 1rem; display: flex; justify-content: center; flex-direction: column; align-items: stretch; } .affiliate-cta { font-size: 1.1rem; background-color: #ffe600; color: #111; font-weight: 600; padding: 1rem 2rem; border-radius: 999px; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15); transition: all 0.3s ease; text-align: center; } .affiliate-cta:hover { transform: scale(1.05); } @media (max-width: 600px) { .hero-title { font-size: 1.75rem; } .hero-subtitle { font-size: 1rem; } .toolbar { flex-direction: column; align-items: flex-end; } .toolbar button { width: 100%; margin-bottom: 0.5rem; } } #keyToggle { position: fixed; bottom: 1rem; right: 1rem; z-index: 1000; background: transparent; border: none; font-size: 2rem; cursor: pointer; } .toolbar button#closeToggle { background: transparent; color: #333; font-size: 1.5rem; padding: 0.3rem; border-radius: 50%; margin-right: auto; } /* ——————— Toast / message box ——————— */ .message-box { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); min-width: 200px; max-width: 80%; padding: 0.75rem 1rem; border-radius: 6px; font-size: 0.95rem; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,0.15); opacity: 0; transition: opacity 0.3s ease; z-index: 2000; } .message-box.show { opacity: 1; } .message-box.success { background: #e6f4ea; color: #137333; } .message-box.error { background: #fce8e6; color: #a50e0e; } .message-box.info { background: #e8f0fe; color: #1967d2; } .dialog-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; z-index: 2001; } .dialog { background: white; padding: 1.5rem; border-radius: 8px; max-width: 320px; width: 90%; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.2); } .dialog p { font-size: 1.1rem; margin-bottom: 1.25rem; color: #202124; } .dialog-input { width: 100%; padding: 0.6rem; margin: 1rem 0; border: 1px solid #ccc; border-radius: 4px; } .dialog-actions { display: flex; justify-content: space-around; gap: 1rem; } .dialog-actions button { flex: 1; padding: 0.6rem; border: none; border-radius: 4px; cursor: pointer; } #dialogCancel { background: #eee; } #dialogConfirm { background: #1a73e8; color: white; } .hidden { display: none; } .mode-indicator { margin: 0 0.5rem; /* small gutter on each side */ font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; background: none; /* no pill background */ padding: 0; /* no extra hit-area */ color: #6c757d; /* your muted grey text */ cursor: default; } .mode-indicator.edit { color: #007bff; /* your primary blue */ } .mode-indicator.preview { color: #6c757d; /* same muted grey */ }