ul {
    list-style: none;
}

ul li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul li img {
    vertical-align: bottom;
}

body {
    font-size: 16px;
}

#open,
#close,
#option0,
#option1,
#option2,
#option3 {
    cursor: pointer;
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    padding: 12px;
    margin: 16px auto 0;
    background: #4caf50;
    color: white;
}

#mask {
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: 100vh;
    width: 100%;
}

#modal {
    background: #fff;
    color: #555;
    height: 80vh;
    padding: 20px;
    border-radius: 4px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 2;
    transition: 0.4s;
    overflow: visible;
}

@media (max-width: 991px) {
    #modal {
        height: auto;
        width: 80vw;
    }
}

#modal img {
    height: 70%;
    width: auto;
}

@media (max-width: 991px) {
    #modal img {
        height: auto;
        width: 80%;
    }
}

#mask.hidden {
    display: none;
}

#modal.hidden {
    transform: translate(0, -10000px);
}

#button_left {
    display: grid;
    position: relative;
    cursor: pointer;
    justify-self: center;
    align-self: center;
}

#button_right {
    display: inline-block;
    position: relative;
    cursor: pointer;
    justify-self: center;
    align-self: center;
}

#leftangle {
    overflow: hidden;
}

.container-navbar {
    display: flex;
    width: 100%;
    margin-right: 0px;
    margin-left: 0px;
    padding-right: 15px;
    padding-left: 15px;
    align-items: center;
    justify-content: flex-start;
}

@media (max-width: 991px) {
    .container-navbar {
        display: flex;
        width: calc(100% - 40px);
        margin-right: 0px;
        margin-left: 0px;
        padding-right: 0px;
        padding-left: 0px;
        align-items: center;
        justify-content: space-around;
        flex-wrap: wrap;
        /* はみ出した部分を消す。ハンバーガーのみはabsolute指定(width40px)して、それ除いた部分を領域にした。 */
    }
}

.avatar-animal {
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 50%;
    margin-right: 0px;
    object-fit: cover;
}
/* キャラクターのアイコン（立ち絵なので、顔のあたりを丸く切り取る。loginmodal.js） */
.avatar-animal.is-chara {
    object-position: center 6%;
    background: #e8f6ff;
}

#changepassb,
#changecodeb {
    float: left;
}

#logoutb {
    padding: 5px 10px;
}

.card-user .card-body {
    overflow: visible;
}

.usercard-scores {
    margin: 0px 0px 5px;
    ;
}

@media (min-width: 992px) {
    .card-update-caption {
        max-width: 120px;
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .card-update-caption {
        font-size: 20px;
    }
}

.intense {
    cursor: url('../../assets/img/others/plus_cursor.png') 25 25, auto;
}

.reflection-wrap {
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: absolute;
}

.reflection {
    height: 100%;
    width: 30px;
    position: absolute;
    top: 0px;
    left: 0;
    background-color: #fff;
    opacity: 0;
    transform: rotate(45deg);
    animation: reflection 3s ease-in-out infinite;
    -webkit-transform: rotate(45deg);
    -webkit-animation: reflection 3s ease-in-out infinite;
}

@keyframes reflection {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }
    80% {
        transform: scale(0) rotate(45deg);
        opacity: 0.3;
    }
    81% {
        transform: scale(4) rotate(45deg);
        opacity: 0.6;
    }
    100% {
        transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}

@-webkit-keyframes reflection {
    0% {
        -webkit-transform: scale(0) rotate(45deg);
        opacity: 0;
    }
    80% {
        -webkit-transform: scale(0) rotate(45deg);
        opacity: 0.3;
    }
    81% {
        -webkit-transform: scale(4) rotate(45deg);
        opacity: 0.6;
    }
    100% {
        -webkit-transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}

.DivLink {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.db-edit{
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* 中身の箱は、ナビバーの高さだけ低くする（--navbar-h は loginmodal.js の setHeight が入れる）。
   以前は箱が画面いっぱいの高さのままナビバーの下に置かれ、どのページも一番下の約60pxが画面の外に出ていた（2026-09-24） */
.wrapper > nav.navbar ~ .main-panel {
    height: calc(100% - var(--navbar-h, 0px));
    max-height: calc(100% - var(--navbar-h, 0px));
    min-height: 0;
    /* スマホ幅では light-bootstrap が transition: all を付けていて、高さが0.5秒かけて動いてしまう。サイドバーの開閉に使うものだけ動かす */
    transition-property: transform, top, bottom;
}

/* ヘッダー（ナビバー）とサイドバーの文字は選択できないように（2026-10-01。ゲームで連打したときに選択されていた） */
.navbar, .sidebar { user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

/* 押しやすく（2026-10-05 UI の 洗い出し）: 見た目は そのまま、指で 押せる 範囲を 44px くらいに 広げる */
.navbar .container-navbar > .navbar-brand { display: inline-flex; align-items: center; height: 44px; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; color: #888; } /* ホーム・バケツ・ジュエルを 同じ 高さの 箱に（縦が そろわず、ジュエルだけ リンク先が 無く 濃い色だった） */
.navbar .container-navbar > .navbar-brand i { padding-top: 0 !important; line-height: 1; position: relative; top: 0; }
.navbar #home_btn { position: relative; } /* 押せる 範囲は 見えない 枠で 広げる（箱を 広げると 並びが ずれた） */
.navbar #home_btn::after, .navbar .navbar-toggler::after { content: ""; position: absolute; inset: -8px -10px; }
.navbar .navbar-toggler { position: relative; top: 3px; }
.navbar #home_btn i { top: 1px; } .navbar #buckets_btn i { top: -3px; } /* 絵の 中の 位置の ちがいを ならす（文字の 中心に そろえる） */
@media (max-width: 991px) { .container-navbar { justify-content: space-between; padding-left: 4px; padding-right: 8px; } } /* ホームを 左はしに（均等割りで 内側に 寄っていた） */
.qr-back, .qm-back, .ch-back, .us-chart { display: inline-block; padding: 12px 8px; margin: -12px -8px; } /* 戻る・「称号を見る ›」などの 文字の リンク */
.gd-top { padding: 10px 0; margin-bottom: -10px; }
.main-panel label > input[type="checkbox"] { width: 18px; height: 18px; flex: none; } /* 要確認だけ・完全一致・ツリーの クラス など（13px だった） */
/* サイドバー（2026-10-05 UI の 洗い出し）: 項目の 字が 12px の 大文字で 小さかった。クラス名が まだ 無いとき「VRinkai:」と コロンだけ 残っていた → コロンは クラス名が あるときだけ */
.sidebar .nav li .nav-link p { font-size: 14px; text-transform: none; }
#logo_dbname:not(:empty)::before { content: ": "; }
