/* ==========================================
   FUJI X PLAY - COMMON STYLES
========================================== */

.fx-page,
.fx-page * {
    box-sizing: border-box;
}

html:has(body.fx-page) {
    font-size: 16px;
}

body.fx-page {
    margin: 0;
    padding: 0;

    background: #151112;
    color: var(--fx-text);

    font-family: var(--fx-font);
    font-size: 14px;
    line-height: 1.5;

    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

.fx-page button,
.fx-page input,
.fx-page select,
.fx-page textarea {
    font: inherit;
}

.fx-page button {
    cursor: pointer;
}

.fx-page a {
    color: inherit;
    text-decoration: none;
}

.fx-page img {
    display: block;
    max-width: 100%;
}

.fx-page button:focus-visible,
.fx-page a:focus-visible {
    outline: 2px solid var(--fx-gold);
    outline-offset: 3px;
}

/* Application Container */

.fx-app {
    position: relative;

    width: 100%;
    max-width: var(--fx-app-width);

    min-height: 100vh;
    min-height: 100dvh;

    margin: 0 auto;

    background: var(--fx-bg);

    padding-bottom: calc(
        82px + env(safe-area-inset-bottom, 0px)
    );
}

.fx-container {
    width: 100%;
    padding: 0 14px;
}

/* Buttons */

.fx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;
    padding: 8px 16px;

    border: 1px solid transparent;
    border-radius: 9px;

    font-size: 13px;
    font-weight: 600;

    transition: background .2s,
                transform .2s,
                border-color .2s;
}

.fx-btn:active {
    transform: scale(.97);
}

.fx-btn-primary {
    background: var(--fx-red-gradient);
    color: #fff !important;

    border-color: rgba(255, 100, 70, .35);
}

.fx-btn-outline {
    background: transparent;

    border-color: var(--fx-gold-dark);
    color: var(--fx-gold-light) !important;
}

.fx-btn-gold {
    background: var(--fx-gold-gradient);
    color: #211300 !important;
}

.fx-btn-block {
    width: 100%;
}

/* Shared Cards */

.fx-card {
    background: var(--fx-card);

    border: 1px solid var(--fx-border);
    border-radius: var(--fx-radius);

    overflow: hidden;
}

/* Section Titles */

.fx-section {
    margin-top: 24px;
}

.fx-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 12px;
}

.fx-section-title {
    display: flex;
    align-items: center;
    gap: 9px;

    margin: 0;

    color: var(--fx-gold-light);
    font-size: 17px;
    font-weight: 700;
}

.fx-section-title::before {
    content: '';

    display: block;

    width: 3px;
    height: 19px;

    border-radius: 8px;
    background: var(--fx-gold-gradient);
}

.fx-muted {
    color: var(--fx-text-muted);
}

.fx-page [hidden] {
    display: none !important;
}