/* free-trial gate + labels (v2.6.4-trial1) */
#trialGate { position: fixed; inset: 0; z-index: 10040; background: var(--bg, #091326); color: var(--text, #e8eefc); display: flex; align-items: center; justify-content: center; padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px)); box-sizing: border-box; overflow-y: auto; }
#trialGate[hidden] { display: none; }
body.ek-need-trial #screen-start, body.ek-need-trial #screen-editor, body.ek-need-trial #ekSsoBar, body.ek-need-trial #hint,
body.ek-need-trial #sheetWrap, body.ek-need-trial #sheetBackdrop, body.ek-need-trial #sheetPanel, body.ek-need-trial #swUpdateToast { display: none !important; visibility: hidden !important; pointer-events: none !important; }
body.ek-need-trial { overflow: hidden; }
.trial-card { width: 100%; max-width: 440px; margin: auto; text-align: center; }
.trial-card .brand-icon { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 12px; display: block; }
.trial-card h1 { font-size: 22px; line-height: 1.3; margin: 6px 0 10px; }
.trial-card h2 { font-size: 17px; margin: 0 0 8px; }
.trial-lead, .trial-full p { font-size: 14px; line-height: 1.6; color: var(--muted, #a9b6d6); margin: 0 0 14px; }
.trial-top { margin: 0 0 4px; font-size: 13px; color: var(--muted, #a9b6d6); }
.trial-pill { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; background: #f6d56b; color: #3a2a00; font-size: 12px; font-weight: 800; letter-spacing: .2px; line-height: 1.5; vertical-align: middle; }
.trial-pill[hidden] { display: none; }
.trial-test { border: 2px dashed #e8b73a; border-radius: 12px; padding: 8px 10px; font-size: 12.5px; margin: 0 0 12px; }
#trialForm { text-align: left; }
#trialForm[hidden], #trialFull[hidden], #trialLead[hidden] { display: none; }
.trial-lb { display: block; font-size: 13px; font-weight: 700; margin: 0 0 6px; }
#trialKey { width: 100%; box-sizing: border-box; min-height: 46px; border-radius: 12px; border: 1px solid var(--border, #2b3a5c); background: var(--panel, #101c36); color: inherit; padding: 10px 12px; font-size: 15px; font-family: ui-monospace, Menlo, Consolas, monospace; }
#trialKey:focus-visible { outline: 2px solid #e8b73a; outline-offset: 2px; }
.trial-ts { min-height: 70px; margin: 12px 0 4px; display: flex; justify-content: center; }
.trial-err { min-height: 20px; font-size: 13px; color: #ff8a8a; margin: 4px 0 8px; }
#trialSubmit { width: 100%; min-height: 48px; }
#trialSubmit[disabled] { opacity: .6; }
.trial-links { margin: 16px 0 6px; font-size: 14px; }
.trial-links a, .trial-legal a, .trial-strip a { color: #f6d56b; }
.trial-legal { font-size: 12px; display: flex; gap: 14px; justify-content: center; margin: 6px 0 0; }
.trial-full { border: 1px solid var(--border, #2b3a5c); border-radius: 14px; padding: 14px; background: var(--panel, #101c36); }
/* in-app label: header pill + slim strip + gate-page note */
.trial-strip { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: center; font-size: 12.5px; padding: 6px 12px; color: var(--muted, #a9b6d6); }
.trial-strip[hidden] { display: none; }
.trial-strip button.linklike { background: none; border: 0; padding: 2px 4px; color: #f6d56b; text-decoration: underline; font: inherit; cursor: pointer; min-height: 28px; }
.ed-top .trial-pill { margin: 0 6px; flex: 0 0 auto; }
.auth-trial { font-size: 13px; line-height: 1.6; margin: 12px 0 0; color: var(--muted, #a9b6d6); }
.auth-trial a { color: #f6d56b; }
@media (max-width: 380px) { .trial-card h1 { font-size: 20px; } }
