/* Social9広場体験 */

.s9-trial-entry-btn {
    width: 100%;
    margin-top: 0;
    padding: 14px 16px;
    border: 1px solid var(--dt-accent-border, rgba(99, 102, 241, 0.35));
    border-radius: 10px;
    background: var(--dt-accent-soft, #eef2ff);
    color: var(--dt-accent-hover, #4f46e5);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.s9-trial-entry-btn:hover {
    background: #e0e7ff;
    border-color: var(--dt-accent, #6366f1);
}

.s9-trial-entry-hint {
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
    line-height: 1.5;
}

.s9-trial-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.s9-trial-modal-overlay.is-hidden {
    display: none;
}

.s9-trial-modal {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    padding: 24px;
}

.s9-trial-modal__title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
}

.s9-trial-modal__desc {
    margin: 0 0 16px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.s9-trial-modal__label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.s9-trial-modal__input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 12px;
}

.s9-trial-modal__input:focus {
    outline: none;
    border-color: var(--dt-accent, #6366f1);
    box-shadow: var(--dt-shadow-focus, 0 0 0 3px rgba(99, 102, 241, 0.18));
}

.s9-trial-modal__consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.s9-trial-modal__error {
    color: #dc2626;
    font-size: 13px;
    margin-bottom: 12px;
    min-height: 1.2em;
}

.s9-trial-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.s9-trial-modal__submit {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--dt-accent, #6366f1);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.s9-trial-modal__submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.s9-trial-modal__resume {
    width: 100%;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 14px;
    cursor: pointer;
}

.s9-trial-modal__force-new {
    width: 100%;
    padding: 10px;
    border: 1px dashed #94a3b8;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    font-size: 14px;
    cursor: pointer;
}

.s9-trial-modal__expired {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 13px;
    line-height: 1.5;
}

.s9-trial-modal__cancel {
    background: none;
    border: none;
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
    padding: 8px;
}

.s9-trial-plaza-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 999px;
    background: var(--dt-accent-soft, #eef2ff);
    color: var(--dt-accent-hover, #4f46e5);
    font-size: 11px;
    font-weight: 600;
}

.s9-trial-participants-panel {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f8fafc;
}

.s9-trial-participants-panel__title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.s9-trial-nav-hint {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 13px;
    line-height: 1.55;
}

.s9-trial-participants-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.s9-trial-participants-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 13px;
}

.s9-trial-participants-list li:last-child {
    border-bottom: none;
}

.s9-trial-participants-list__online {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

.s9-trial-participants-list__offline {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
}

.s9-trial-participants-dm-btn {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 11px;
    cursor: pointer;
    color: var(--dt-accent-hover, #4f46e5);
}

.s9-trial-participants-dm-btn:hover {
    background: var(--dt-accent-soft, #eef2ff);
}
