body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #fff7d6 0%, #ffffff 100%);
}

.page {
    max-width: 560px;
    margin: 0 auto;
    padding: 72px 18px 32px;
}

.page-header {
    text-align: center;
    margin-bottom: 24px;
}

.page-header h1 {
    margin: 0;
    font-size: 30px;
    color: #333;
}

.subtitle {
    margin-top: 10px;
    color: #666;
    font-size: 15px;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.character-card {
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0,0,0,.12);
    overflow: hidden;
    padding: 0 0 14px;
    transition: .2s;
    text-align: center;
}

.character-image-wrap {
    position: relative;
    background: #f8f8f8;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-image-wrap img {
    width: 92%;
    height: 92%;
    object-fit: contain;
    object-position: center bottom;
    transition:
        filter .2s ease,
        opacity .2s ease;
}

.character-card:not(.collected) .character-image-wrap img {
    filter: grayscale(1) brightness(0);
    opacity: .28;
}

.locked-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.12);
}

.locked-badge svg {
    width: 52px;
    height: 52px;
    padding: 11px;
    border-radius: 50%;
    fill: rgba(34,34,34,.92);
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    background: rgba(255,255,255,.88);
    box-shadow: 0 6px 18px rgba(0,0,0,.24);
}

.character-name {
    min-height: 58px;
    padding: 12px 12px 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: clamp(14px, 4vw, 18px);
    line-height: 1.2;
    font-weight: 700;
    color: #333;

    text-align: center;
    overflow-wrap: anywhere;
    word-break: normal;
}

.character-actions {
    display: grid;
    gap: 8px;
    padding: 0 12px;
}

.character-action-button {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    overflow-wrap: anywhere;
    cursor: pointer;
    transition: transform .16s ease, filter .16s ease;
}

.character-action-button:active {
    transform: scale(.97);
}

.ar-button {
    background: #2e9f68;
}

.voice-button {
    background: #ef8b31;
}
