/*
* options-panel.css
* Solo estructura del panel de Options (tamaño, cuadrícula, espaciados).
* Sin colores: el panel hereda la paleta del tema activo en cada momento.
*/

#options_div, #alert_div {
    border-radius: 6px;
}
#options_div {
    width: 640px;
    height: 460px;
    max-width: 92vw;
    max-height: 86vh;
}
#options_close, #alert_close {
    font-size: 16px;
    padding: 8px 10px;
}
#options_tablist {
    padding-top: 10px;
}
.options_tab_icon {
    border-radius: 4px;
    margin: 2px 6px;
}
.options_tab {
    font-size: 13px;
}
.options_tab h2 {
    letter-spacing: 1px;
    padding-bottom: 8px;
}
.options_tab fieldset {
    border-style: solid;
    border-width: 1px;
    border-radius: 4px;
    margin: 0 0 14px 0;
    padding: 10px 12px;
}
.options_tab legend {
    font-weight: bold;
    padding: 0 6px;
}
.options_tab p {
    margin: 6px 0;
}
.options_tab p.unimportant {
    font-size: 11px;
    opacity: 0.65;
}
.options_tab input[type="text"], .options_tab input[type="password"], .options_tab input[type="number"], .options_tab input[type="range"] {
    padding: 3px 6px;
    border-radius: 3px;
}
#inline-expand-max {
    display: block;
    margin-bottom: 12px;
}
.options_tab button {
    border-radius: 3px;
    padding: 4px 10px;
    margin: 2px 4px 2px 0;
    cursor: pointer;
    font-family: inherit;
}
.espacio-toggle {
    display: block;
    margin: 6px 0;
    cursor: pointer;
}
.espacio-toggle input {
    margin-right: 6px;
    vertical-align: middle;
}
#show-relative-time {
    display: block;
    margin: -6px 0 14px 0;
    cursor: pointer;
}
#show-relative-time input {
    margin-right: 6px;
    vertical-align: middle;
}
.espacio-options-btn {
    font-size: 15px;
    text-decoration: none !important;
    margin-left: 10px;
}
.theme-select-list {
    margin-top: 4px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}
.theme-select-item {
    display: block;
    padding: 3px 10px;
    border-style: solid;
    border-width: 1px;
    border-radius: 3px;
    text-decoration: none;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.theme-select-item:hover {
    text-decoration: underline;
}
.theme-select-item.selected {
    font-weight: bold;
    border-width: 2px;
}
.mascot-select-list {
    margin-top: 4px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.mascot-select-item {
    display: block;
    padding: 6px;
    border-style: solid;
    border-width: 1px;
    border-radius: 3px;
    text-decoration: none;
    text-align: center;
}
.mascot-select-item img {
    display: block;
    max-width: 100%;
    max-height: 120px;
    margin: 0 auto 4px;
    object-fit: contain;
}
.mascot-select-item:hover {
    text-decoration: underline;
}
.mascot-select-item.selected {
    font-weight: bold;
    border-width: 2px;
}

#gnosis-mascot {
    position: fixed;
    right: 0;
    bottom: 0;
    max-height: 50vh;
    max-width: 18vw;
    pointer-events: none;
    z-index: 40;
    filter: drop-shadow(0 4px 14px rgba(0,0,0,0.6));
    transform-origin: bottom right;
    transition: transform 0.1s ease;
}
#gnosis-mascot.mascot-side-left {
    right: auto;
    left: 0;
    transform-origin: bottom left;
}
@media (max-width: 900px) {
    #gnosis-mascot {
        display: none;
    }
}
.mascot-side-wrap {
    display: flex;
    gap: 16px;
    margin: 4px 0 8px;
}
.mascot-side-option {
    cursor: pointer;
}
.mascot-side-option input {
    margin-right: 4px;
    vertical-align: middle;
}
.mascot-size-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}
.mascot-size-wrap input[type="range"] {
    flex: 1;
}
.mascot-size-label {
    min-width: 3.5em;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
