.main-content,
.main-content .section {
    position: relative;
    z-index: 1;
}

.hot-takes-layout {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hot-takes-panel {
    position: relative;
    overflow: visible;
    background: var(--bg-card);
    border: 0.0625rem solid var(--glass-border);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(0.75rem);
    -webkit-backdrop-filter: blur(0.75rem);
}

.hot-takes-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hot-takes-panel h3 {
    margin: 0;
    font-size: 1.15rem;
}

.hot-takes-panel-tools {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.hot-takes-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.hot-takes-form-row {
    display: grid;
    gap: 0.9rem;
}

.hot-takes-form-row-selectors {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 0.75fr) minmax(0, 1.5fr);
}

.hot-takes-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hot-takes-field-full {
    grid-column: 1 / -1;
}

.hot-takes-field.is-compact > span {
    display: none;
}

.hot-takes-managed-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    color: var(--text-secondary);
    white-space: nowrap;
}

.hot-takes-managed-toggle input {
    width: 1rem;
    height: 1rem;
    accent-color: #818cf8;
}

.hot-takes-field span,
.hot-takes-note,
.hot-takes-managed-meta,
.hot-takes-empty,
.hot-takes-status {
    color: var(--text-secondary);
}

.hot-takes-field input,
.hot-takes-field select {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.75rem 0.9rem;
    border-radius: 0.75rem;
    border: 0.0625rem solid rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.72);
    color: var(--text-primary);
    font: inherit;
}

.hot-takes-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.75rem;
    cursor: pointer;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(226, 232, 240, 0.82) 50%),
        linear-gradient(135deg, rgba(226, 232, 240, 0.82) 50%, transparent 50%);
    background-position:
        calc(100% - 1.1rem) calc(50% - 0.125rem),
        calc(100% - 0.75rem) calc(50% - 0.125rem);
    background-size: 0.4rem 0.4rem, 0.4rem 0.4rem;
    background-repeat: no-repeat;
}

.hot-takes-field input:focus,
.hot-takes-field select:focus,
.hot-takes-picker-toggle:focus {
    outline: none;
    border-color: rgba(129, 140, 248, 0.58);
    box-shadow: 0 0 0 0.1875rem rgba(99, 102, 241, 0.14);
}

.hot-takes-picker-field {
    position: relative;
}

.hot-takes-picker-field.is-open {
    z-index: 20;
}

.hot-takes-picker-toggle {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.625rem 0.9rem;
    border-radius: 0.75rem;
    border: 0.0625rem solid rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.72);
    color: var(--text-primary);
    font: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    cursor: pointer;
}

.hot-takes-picker-toggle:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.hot-takes-picker-current {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.hot-takes-picker-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    object-fit: cover;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.06);
}

.hot-takes-picker-avatar[hidden] {
    display: none;
}

.hot-takes-picker-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-takes-picker-arrow {
    color: var(--text-secondary);
    font-size: 0.8rem;
    flex: 0 0 auto;
}

.hot-takes-picker-menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    right: 0;
    z-index: 50;
    max-height: min(16rem, calc(100vh - 8rem));
    overflow-y: auto;
    padding: 0.35rem;
    border-radius: 0.9rem;
    border: 0.0625rem solid rgba(129, 140, 248, 0.3);
    background: linear-gradient(180deg, rgba(29, 35, 78, 0.98), rgba(10, 14, 34, 0.98));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(0.875rem);
    -webkit-backdrop-filter: blur(0.875rem);
}

.hot-takes-picker-menu.is-upward {
    top: auto;
    bottom: calc(100% + 0.4rem);
}

.hot-takes-picker-option {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text-primary);
    font: inherit;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.7rem;
    cursor: pointer;
    text-align: left;
}

.hot-takes-picker-option:hover,
.hot-takes-picker-option.active {
    background: rgba(99, 102, 241, 0.18);
}

.hot-takes-picker-option-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    object-fit: cover;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.06);
}

.hot-takes-picker-option-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.hot-takes-picker-option-name {
    color: var(--text-primary);
    font-weight: 700;
}

.hot-takes-picker-option-meta {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.hot-takes-field input::placeholder {
    color: rgba(148, 163, 184, 0.76);
}

.hot-takes-note {
    font-size: 0.9rem;
    line-height: 1.6;
}

.hot-takes-actions {
    display: flex;
    gap: 0.75rem;
}

.hot-takes-button {
    min-width: 7rem;
    min-height: 2.75rem;
    padding: 0 1rem;
    border-radius: 62.4375rem;
    border: 0.0625rem solid rgba(129, 140, 248, 0.45);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.26), rgba(139, 92, 246, 0.22));
    color: var(--text-primary);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.hot-takes-button:hover {
    transform: translateY(-0.0625rem);
    box-shadow: var(--shadow-glow);
}

.hot-takes-button.is-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border-color: rgba(148, 163, 184, 0.24);
}

.hot-takes-status {
    font-size: 0.9rem;
}

.hot-takes-status[data-tone="success"] {
    color: #86efac;
}

.hot-takes-status[data-tone="error"] {
    color: #fca5a5;
}

.hot-takes-managed-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hot-takes-card {
    border: 0.0625rem solid rgba(129, 140, 248, 0.18);
    border-radius: 0.9rem;
    background: rgba(15, 23, 42, 0.56);
    padding: 0.9rem 1rem;
}

.hot-takes-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
}

.hot-takes-badges {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.hot-takes-tag,
.hot-takes-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.6rem;
    border-radius: 62.4375rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.hot-takes-tag {
    background: rgba(99, 102, 241, 0.2);
    color: #c7d2fe;
}

.hot-takes-tag.is-subcategory {
    background: rgba(14, 165, 233, 0.18);
    color: #bae6fd;
}

.hot-takes-status-badge[data-status="pending"] {
    background: rgba(251, 191, 36, 0.16);
    color: #fde68a;
}

.hot-takes-status-badge[data-status="approved"] {
    background: rgba(34, 197, 94, 0.16);
    color: #86efac;
}

.hot-takes-status-badge[data-status="rejected"] {
    background: rgba(239, 68, 68, 0.16);
    color: #fca5a5;
}

.hot-takes-target {
    color: var(--text-primary);
    font-weight: 700;
}

.hot-takes-content {
    margin: 0.25rem 0 0.5rem;
    color: #e2e8f0;
    line-height: 1.7;
}

.hot-takes-managed-meta {
    font-size: 0.88rem;
    line-height: 1.6;
}

.hot-takes-empty {
    padding: 1.2rem;
    text-align: center;
    border: 0.0625rem dashed rgba(148, 163, 184, 0.18);
    border-radius: 0.9rem;
}

@media (max-width: 48rem) {
    .hot-takes-form-row-selectors {
        grid-template-columns: 1fr;
    }

    .hot-takes-panel-head,
    .hot-takes-panel-tools,
    .hot-takes-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
