:root {
    --color-main:   #ededed;
    --color-sub1:   #fc960f;
    --color-sub2:   #01b34c;
    --color-sub3:   #003769;
    --color-sub4:   #fc960f;
    --color-sub5:   #f5f5f5;
    --color-local:  #f1d511;
    --color-text:   #000000;
    --color-button: #fc960f;
    --font-family:  'M PLUS Rounded 1c', YakuHanJP, sans-serif;
}

/* =============================================
   背景パターン
   ============================================= */
main:before {
    background-image: url(/view/event/ekimemo5th/assets/img/bg_main.svg);
    background-size: 128px;
    background-attachment: fixed;
    background-repeat: repeat;
}

.content-holder{
    border-radius: 0.10rem;
}

/* =============================================
   スタンプスロット
   ============================================= */
.stamp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.12rem;
    padding: 0.16rem 0.08rem;
    align-items: center;
}

.stamp-slot {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stamp-slot .stamp-circle {
    width: 0.80rem;
    height: 0.80rem;
    border-radius: 50%;
    border: 3px solid #ccc;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.stamp-slot.unlocked .stamp-circle {
    border-color: var(--color-sub1);
    background: #fff;
}

.stamp-slot .stamp-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stamp-slot .stamp-placeholder {
    font-size: 0.28rem;
    color: #bbb;
    font-weight: 700;
}

/* スロット2だけ縦長長方形 */
.stamp-slot--rect .stamp-circle {
    width: 0.70rem;
    height: 1.00rem;
    border-radius: 6px;
}

.stamp-slot .stamp-number {
    font-size: 0.12rem;
    font-weight: 700;
    color: var(--color-text);
}

/* =============================================
   缶バッジ・アクスタ ノベルティカード
   ============================================= */
.novelty-card {
    background: #fff;
    border: 2px solid var(--color-sub1);
    border-radius: 12px;
    padding: 0.14rem 0.16rem;
    margin: 0.08rem 0;
    display: flex;
    align-items: center;
    gap: 0.12rem;
}

.novelty-card.locked {
    border-color: #ccc;
    opacity: 0.6;
}

.novelty-card .novelty-thumb {
    width: 0.70rem;
    height: 0.70rem;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.novelty-card .novelty-info {
    flex: 1;
}

.novelty-card .novelty-name {
    font-size: 0.15rem;
    font-weight: 700;
    color: var(--color-text);
}

.novelty-card .novelty-condition {
    font-size: 0.12rem;
    color: #666;
    margin-top: 0.04rem;
}

.novelty-card .novelty-badge {
    font-size: 0.11rem;
    background: var(--color-sub1);
    color: #fff;
    border-radius: 20px;
    padding: 0.03rem 0.08rem;
    font-weight: 700;
    flex-shrink: 0;
}

.novelty-card.locked .novelty-badge {
    background: #ccc;
}

/* =============================================
   誕生日イベントカード
   ============================================= */
.birthday-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 0.10rem 0.12rem;
    margin: 0.08rem 0;
    gap: 0.10rem;
    position: relative;
    overflow: hidden;
}

.birthday-card.active {
    border-color: var(--color-sub1);
}

.birthday-card.locked {
    opacity: 0.55;
}

.birthday-card .bday-swatch {
    width: 0.60rem;
    height: 0.70rem;
    border-radius: 6px;
    background: #ddd;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 0.04rem;
    overflow: hidden;
}

.birthday-card.active .bday-swatch {
    background: #ffb3c1;
}

.birthday-card .bday-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.birthday-card .bday-swatch .bday-chara-name {
    font-size: 0.10rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    background: rgba(0,0,0,0.35);
    width: 100%;
    padding: 0.02rem 0;
}

.birthday-card .bday-info {
    flex: 1;
}

.birthday-card .bday-station {
    font-size: 0.18rem;
    font-weight: 800;
    color: var(--color-text);
}

.birthday-card.locked .bday-station {
    color: #999;
}

.birthday-card .bday-dates {
    font-size: 0.12rem;
    color: #666;
    margin-top: 0.03rem;
}

.birthday-card .bday-chara-img {
    width: 0.65rem;
    height: 0.75rem;
    object-fit: contain;
    flex-shrink: 0;
}

/* QRコードボタン */
.qr-scan-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.10rem;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 0.14rem 0.20rem;
    font-size: 0.16rem;
    font-weight: 700;
    width: 100%;
    margin: 0.10rem 0;
    cursor: pointer;
}

.qr-scan-button:disabled {
    background: #888;
    cursor: not-allowed;
}

.qr-scan-button .qr-icon {
    font-size: 0.22rem;
}

.qr-scan-button .qr-arrow {
    margin-left: auto;
    font-size: 0.18rem;
}

/* =============================================
   缶バッジ行レイアウト
   ============================================= */
.badge-row {
    display: flex;
    align-items: center;
    gap: 0.14rem;
    margin: 0.10rem 0;
}

.badge-row__icon {
    flex-shrink: 0;
    width: 0.80rem;
    height: auto;
    border-radius: 6px;
}

.badge-row__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.badge-row__body .fontEvent {
    margin-left: 0.10rem;
}

/* 引換場所ブロック */
.exchange-location-block {
    background: #fff8ee;
    border: 2px solid var(--color-sub1);
    border-radius: 10px;
    padding: 0.14rem 0.16rem;
    margin: 0.10rem 0;
}

.exchange-location-block .location-label {
    font-size: 0.13rem;
    font-weight: 700;
    color: var(--color-sub1);
    margin-bottom: 0.06rem;
}

.exchange-location-block .location-name {
    font-size: 0.16rem;
    font-weight: 700;
    color: var(--color-text);
}

.exchange-location-block .location-hours {
    font-size: 0.12rem;
    color: #555;
    margin-top: 0.04rem;
}
