/*=================================================================
  SECTION: HERO
 *================================================================*/

.banner {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0.5em;
    font-size: smaller;
    z-index: 1;
    display: none !important; /* 强制隐藏banner元素 */
}

.banner .container {
    display: none !important; /* 强制屏蔽banner内的container元素 */
}

.banner .container > * {
    margin: 0;
}

#application {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: none,
    radial-gradient(62vh 150vh at 0 -50vh, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)),
    radial-gradient(62vh 150vh at 100% -50vh, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}

#application .container {
    position: absolute;
    padding: 2em;
}

#application div[data-active="false"] {
    display: none;
}

#application div[data-active="true"] {
    display: block;
    transition: all .38s ease-in 0s;
}

#application .box {
    border: 1px solid var(--panel-contrast);
    background: rgba(var(--panel-contrast-rgb), 0.4);
}

#application .box .caption {
    position: absolute;
    right: 0;
    bottom: 0.2em;
    left: 0;
}

/* 优化单选按钮布局 */
.purpose-options {
    text-align: center;
    margin: 1em 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8em;
}

.purpose-options p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.3em;
    white-space: nowrap;
}

.purpose-options input[type="radio"] {
    margin: 0;
    flex-shrink: 0;
}

.purpose-options label {
    margin: 0;
    cursor: pointer;
    padding: 0.3em 0.5em;
}

/* 响应式布局：宽度不够时的换行策略 */
@media (max-width: 600px) {
    .purpose-options {
        justify-content: center;
    }
    
    .purpose-options p:first-child {
        flex-basis: 100%;
        justify-content: center;
    }
    
    .purpose-options p:nth-child(2),
    .purpose-options p:nth-child(3) {
        flex: 1;
        min-width: 0;
        justify-content: center;
    }
}