@charset "utf-8";
:root {
    --root-color-brown: #753a10;
    --root-color-orange: #ffa413;
    --root-color-white: white;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-drag: none;
}

::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: .2rem;
    color: var(--root-color-brown);
}

/* 弹窗按钮聚焦时禁止 body 产生隐藏滚动，整屏位移交给 fullpage。 */
html.fp-enabled body {
    overflow: clip !important;
}

button, input, select {
    font: inherit;
}

button, a[href], select, .btn-row label, .pop-agreement,
input[type="radio"], input[type="checkbox"] {
    cursor: pointer;
}

button:disabled {
    cursor: wait;
    opacity: .65;
}

button, fieldset {
    border: 0;
    background: none;
}

img {
    vertical-align: middle;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: .03rem solid #b48340;
    outline-offset: .03rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.enlarge:hover {
    transform: scale(1.1);
}

/* 沿用 Magicmon 的扫光层与两秒循环，裁切范围匹配 Clover 按钮。 */
.shadow-light {
    position: absolute;
    overflow: hidden;
    pointer-events: none;
    border-radius: inherit;
}

.shadow-light .effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, transparent, rgba(255, 255, 255, .4), transparent, transparent);
    animation: sg 2s linear infinite;
}

@keyframes sg {
    from {
        left: -100%;
    }
    to {
        left: 100%;
    }
}

/* 与 Magicmon 一致：fullpage 整屏切换、rem 尺寸、背景居中铺满。 */
.section {
    position: relative;
    overflow: hidden;
    background-position: center;
    background-size: cover;
}

#section-1 {
    background-image: url('../../imgs/pc/preregister/1/section-1.jpg');
}

#section-2 {
    background-image: url('../../imgs/pc/preregister/2/section-2.jpg');
}

#section-3 {
    background-image: url('../../imgs/pc/preregister/3/section-3.jpg');
}

#section-4 {
    background-image: url('../../imgs/pc/preregister/4/section-4.jpg');
}

.section-content {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.section-stage {
    position: absolute;
    width: 19.2rem;
    height: 10.8rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.scene-art {
    position: absolute;
    pointer-events: none;
}

.art-box {
    position: relative;
    display: block;
}

.art-box.scene-art {
    position: absolute;
}

.art-box img {
    width: 100%;
    height: 100%;
}

.art-text {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: pre;
    text-align: center;
    font-weight: 700;
    line-height: 1.1;
    color: #713b15;
}

.art-text--milestone {
    color: white;
    text-shadow: .01rem .01rem .01rem #68320d, -.01rem -.01rem .01rem #68320d;
}

.section-tagline {
    position: absolute;
    left: .56rem;
    top: -.01rem;
    width: 18.08rem;
    height: .61rem;
}

.pre-row {
    position: absolute;
    left: 5.4rem;
    top: 8.31rem;
    display: flex;
}

.pre-btn {
    position: relative;
    width: 4.02rem;
    height: 1.47rem;
    padding: 0;
    background: none;
    border: 0;
}

.pre-btn .shadow-light {
    left: .28rem;
    top: .22rem;
    width: 3.48rem;
    height: .88rem;
    border-radius: .5rem;
}

.pre-btn img {
    display: block;
    width: 100%;
    height: 100%;
}

.pre-btn[data-channel="shop"] {
    animation: clover-pre-breathe 2.4s ease-in-out infinite;
    transform-origin: center;
}

.section:not(.active) .pre-btn[data-channel="shop"] {
    animation-play-state: paused;
}

@keyframes clover-pre-breathe {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.035);
        filter: brightness(1.08);
    }
}

.pre-row .extra-btn {
    margin-left: -.06rem;
}

.step-1, .step-2 {
    position: absolute;
    width: 7.25rem;
    height: .98rem;
}

.step-1 {
    left: 2.24rem;
    top: 2.31rem;
}

.step-2 {
    left: 9.91rem;
    top: 2.48rem;
}

.pre-btn-2 {
    position: absolute;
    left: 3.84rem;
    top: 7.61rem;
}

.pre-btn-3 {
    position: absolute;
    left: 7.59rem;
    top: 7.8rem;
}

.registration-notice {
    position: absolute;
    left: 10.6rem;
    top: 3.55rem;
    font-size: .18rem;
    color: #65584b;
}

.form-box-wrap {
    position: absolute;
    left: 10.3rem;
    top: 5.8rem;
    width: 6.1rem;
}

.form-panel {
    padding: .28rem .34rem .2rem;
    border: .02rem solid #d8c39e;
    border-radius: .36rem;
    background: linear-gradient(135deg, #98744a55, #c9ac761a 75%);
    box-shadow: inset 0 0 0 .04rem #fff3;
}

.btn-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.btn-row label {
    display: flex;
    align-items: center;
    gap: .22rem;
}

.phone-img, .email-img {
    width: 1.61rem;
    height: .41rem;
    object-fit: contain;
}

.radio-input, .agreement-checkbox {
    appearance: none;
    flex-shrink: 0;
    width: .24rem;
    height: .24rem;
    border: .025rem solid #90632f;
    background: #fff6de;
}

.radio-input {
    border-radius: 50%;
}

.radio-input:checked {
    background: #f8a719;
    box-shadow: inset 0 0 0 .045rem #fff0cf;
}

.agreement-checkbox {
    width: .16rem;
    height: .16rem;
    border-width: .015rem;
}

.agreement-checkbox:checked::after {
    content: '';
    display: block;
    width: .045rem;
    height: .09rem;
    margin-left: .04rem;
    border: solid #8a5c27;
    border-width: 0 .02rem .02rem 0;
    transform: rotate(45deg);
}

.msg-row {
    display: flex;
    width: 5.37rem;
    height: .8rem;
    margin: .2rem 0 .2rem;
    overflow: hidden;
    border: .065rem solid #ffa71f;
    border-radius: .24rem;
    background: #fff8e9;
    box-shadow: 0 0 0 .02rem #fff5cc;
}

.msg-row input, .msg-row select {
    min-width: 0;
    border: 0;
    background: transparent;
    padding: .08rem .14rem;
    color: #693d16;
    font-size: .22rem;
}

.msg-row input {
    flex: 1;
    width: 100%;
}

.msg-row input:focus, .msg-row select:focus {
    outline: none;
    box-shadow: none;
}

.msg-row select {
    width: 1.65rem;
    border-right: .055rem solid #ffa71f;
    font-size: .19rem;
    padding: .04rem;
}

.msg-row:has([aria-invalid="true"]) {
    border-color: #ba4b30;
}

.phone-row:has([aria-invalid="false"]) {
    border-color: #268039;
}

.submit-btn {
    position: relative;
    width: 5.37rem;
    height: .86rem;
    display: block;
}

.submit-btn .shadow-light {
    inset: .04rem;
    border-radius: .18rem;
}

.submit-btn img {
    width: 100%;
    height: 100%;
}

.pop-agreement {
    display: flex;
    align-items: center;
    gap: .06rem;
    margin-top: .16rem;
    font-size: .16rem;
    line-height: 1.4;
    color: #554d42;
}

.pop-agreement a {
    color: inherit;
    text-decoration: none;
}

.milestone {
    position: absolute;
    width: 3.15rem;
    height: 2.74rem;
    padding: 0;
}

.milestone .art-box {
    width: 100%;
    height: 100%;
}

.milestone .get-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.clover-tooltip {
    display: none;
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 90%;
    width: 2.5rem;
    transform: translateX(-50%);
    padding: .18rem;
    border: .03rem solid #a27447;
    border-radius: .3rem;
    background: #fffcf4;
    color: #34271d;
    font-size: .2rem;
    line-height: 1.6;
}

.milestone:hover, .milestone:focus {
    z-index: 4;
}

.milestone:hover .clover-tooltip, .milestone:focus .clover-tooltip {
    display: block;
}

/* 职业轮播沿用 camp-character / pagination-box 结构。 */
.carousel-character, #camp-character, #camp-character .swiper-slide {
    width: 19.2rem;
    height: 10.8rem;
}

.carousel-character {
    position: absolute;
    inset: 0;
}

#camp-character {
    overflow: hidden;
}

.character-background {
    position: absolute;
    inset: 0;
    width: 19.2rem;
    height: 10.8rem;
}

.art-4-section-4-title-png {
    z-index: 2;
}

.character-skin {
    position: absolute;
    left: 6.25rem;
    top: 2.45rem;
    width: 6.07rem;
    height: 7.06rem;
    object-fit: contain;
}

.character-box {
    position: absolute;
    left: 2.64rem;
    top: 2.78rem;
    width: 4.5rem;
}

.character-row {
    display: flex;
    align-items: center;
    gap: .14rem;
    margin-bottom: .14rem;
}

.character-row img {
    width: 1.11rem;
    height: 1.03rem;
}

.character-name {
    font-size: .46rem;
    white-space: nowrap;
}

.character-label {
    display: inline-block;
    width: 1.31rem;
    height: .47rem;
    object-fit: contain;
}

.class-role {
    display: flex;
    align-items: center;
    gap: .16rem;
    margin: .16rem 0;
    font-size: .2rem;
    color: #504637;
}

.character-desc {
    width: 3.5rem;
    margin: .2rem 0 .24rem .6rem;
    font-size: .23rem;
    line-height: 1.5;
    font-weight: 700;
    color: #504637;
}

.skill {
    display: block;
    width: 3.71rem;
    height: .89rem;
    margin: .18rem 0 0 .46rem;
}

.character-pagination {
    position: absolute;
    z-index: 2;
    left: 11.2rem;
    top: 7.8rem;
    display: flex;
    align-items: center;
    gap: .1rem;
}

.pagination-box {
    width: 4.9rem;
    overflow: hidden;
    padding: .07rem;
}

.swiper-character-pagination {
    display: flex;
    gap: .12rem;
}

.swiper-character-pagination .swiper-pagination-bullet {
    flex: 0 0 1.1rem;
    width: 1.1rem;
    height: 1.1rem;
    margin: 0 !important;
    opacity: 1;
    background: none;
    border: .03rem solid transparent;
    border-radius: .18rem;
}

.swiper-character-pagination img {
    width: 100%;
    height: 100%;
    filter: brightness(.55);
    transition: filter .2s ease;
}

.swiper-character-pagination .swiper-pagination-bullet-active img {
    filter: brightness(1);
}

.swiper-character-pagination .swiper-pagination-bullet-active {
    border-color: white;
    box-shadow: 0 0 0 .03rem #ffb32c, 0 0 .18rem #ffe873;
}

.camp-character-left, .camp-character-right {
    width: .42rem;
    height: .48rem;
}

.camp-character-left::after, .camp-character-right::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border: .12rem solid transparent;
    border-right-color: #ffaf24;
    filter: drop-shadow(0 0 .02rem white);
}

.camp-character-right::after {
    border-right-color: transparent;
    border-left-color: #ffaf24;
}

.float-btn-vertical {
    position: fixed;
    z-index: 10;
    right: .55rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: .08rem;
}

.channel-button {
    padding: 0;
    color: inherit;
}

.float-btn-vertical img {
    width: .61rem;
    height: .62rem;
}

.top {
    position: fixed;
    bottom: -1.5rem;
    z-index: 10;
    width: 19.2rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    color: #fff4d6;
    background: linear-gradient(100deg, #462609, #83522b 50%, #482508);
}

.top > a {
    align-self: flex-end;
    margin-bottom: -.02rem;
    height: 1.33rem;
}

.logo {
    display: block;
    width: 3.63rem;
    height: 1.33rem;
}

.pre-now, .pre-now img {
    width: 6.59rem;
    height: .5rem;
}

.top-btn-box {
    position: relative;
    isolation: isolate;
    height: 1rem;
    padding: 0 .1rem;
    display: flex;
    align-items: center;
    gap: .16rem;
    color: inherit;
    text-align: left;
}

/* P-6 商店按钮选中态：圆角金色透光底板，不改变内容尺寸与间距。 */
.top-btn-box::before {
    content: '';
    position: absolute;
    inset: 0 -.32rem;
    z-index: -1;
    pointer-events: none;
    border-radius: .35rem .35rem 0 0;
    background: linear-gradient(to bottom, rgba(255, 231, 177, .3), rgba(255, 231, 177, .08) 55%, rgba(255, 231, 177, .36));
    box-shadow: inset 0 0 .16rem .03rem rgba(255, 239, 193, .6);
    opacity: 0;
    transition: opacity .18s ease;
}

.top-btn-box:hover::before, .top-btn-box:focus-visible::before {
    opacity: 1;
}

.top-btn-box:focus-visible {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    .pre-btn[data-channel="shop"], .shadow-light .effect {
        animation: none;
    }

    .top-btn-box::before {
        transition: none;
    }
}

.top-btn-box img {
    width: .63rem;
    height: .72rem;
}

.top-btn-box small {
    display: block;
    font-size: .16rem;
}

.top-btn-box strong {
    display: block;
    font-size: .35rem;
    line-height: 1.1;
}

#section-5 {
    height: 2.86rem;
    color: #fff4d6;
    background: linear-gradient(100deg, #462609, #83522b 50%, #482508);
}

.section-5-content {
    height: 2.86rem;
    padding: .55rem 0 .3rem;
    font-size: .14rem;
    line-height: 1.8;
}

.section-5-content a {
    color: inherit;
    text-decoration: none;
}

.section-5-btn-row {
    display: flex;
    justify-content: center;
    gap: 1.3rem;
    margin-bottom: .25rem;
}

.section-5-btn-row img {
    width: .43rem;
    height: .38rem;
    object-fit: contain;
}

.section-5-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
}

.section-5-info > img {
    width: 2.86rem;
    height: .83rem;
}

/* bPopup 按主体尺寸居中，右侧倒计时吊牌溢出展示。 */
#pop-pre-tip {
    display: none;
    width: 6.42rem;
    height: 8.1rem;
}

.pop-content {
    position: relative;
    width: 6.42rem;
    height: 8.1rem;
}

.pop-content-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 6.42rem;
    height: 8.1rem;
}

.timer {
    position: absolute;
    left: 6.32rem;
    top: 1.38rem;
    width: 2.28rem;
    height: 1.96rem;
    font-size: .4rem;
    font-family: Impact, 'Arial Narrow', sans-serif;
    font-weight: 400;
    line-height: .4rem;
    color: #734218;
}

.time-bg {
    width: 2.28rem;
    height: 1.96rem;
}

.timer > div {
    position: absolute;
    top: 1.35rem;
    width: .46rem;
    display: flex;
    justify-content: center;
}

.minute {
    left: .25rem;
}

.second {
    left: .92rem;
}

.milliSeconds {
    left: 1.56rem;
}

.pop-close {
    position: absolute;
    z-index: 2;
    left: 7.02rem;
    top: 1.41rem;
    width: .86rem;
    height: .78rem;
}

.pop-step-1, .pop-step-2 {
    position: absolute;
    width: 4.47rem;
    height: .66rem;
}

.pop-step-1 {
    left: .63rem;
    top: 2.72rem;
}

.pop-step-2 {
    left: .82rem;
    top: 4.54rem;
}

.pop-register-btn {
    position: absolute;
    left: 1.03rem;
    top: 3.24rem;
}

.pop-awards {
    position: absolute;
    top: 5.33rem;
    left: 0;
}

.pop-awards .art-box {
    position: absolute;
    width: 1.93rem;
    height: 1.84rem;
}

.pop-awards .art-box:nth-child(1) {
    left: .27rem;
    top: .03rem;
}

.pop-awards .art-box:nth-child(2) {
    left: 1.36rem;
}

.pop-awards .art-box:nth-child(3) {
    left: 2.31rem;
}

.pop-awards .art-box:nth-child(4) {
    left: 3.24rem;
}

.pop-awards .art-box:nth-child(5) {
    left: 4.19rem;
}

.pop-info-box {
    position: absolute;
    left: .44rem;
    top: 5.31rem;
    width: 5.2rem;
}

.pop-info-box .form-panel {
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.pop-info-box .phone-img, .pop-info-box .email-img {
    width: 1.07rem;
    height: .28rem;
}

.pop-info-box .btn-row {
    padding-left: .6rem;
}

.pop-info-box .btn-row label {
    gap: .18rem;
}

.pop-info-box .radio-input {
    width: .18rem;
    height: .18rem;
    border-width: .02rem;
}

.pop-info-box .radio-input:checked {
    box-shadow: inset 0 0 0 .03rem #fff0cf;
}

.pop-info-box .msg-row {
    margin: 1.53rem 0 .06rem;
    width: 3.25rem;
    height: .5rem;
    border-width: .03rem;
    border-radius: .1rem;
}

.pop-info-box .msg-row input {
    font-size: .18rem;
    padding: .04rem;
}

.pop-info-box .msg-row select {
    width: 1rem;
    font-size: .16rem;
    padding: .02rem;
    border-width: .03rem;
}

.pop-info-box .submit-btn {
    position: absolute;
    left: 3.35rem;
    top: 1.77rem;
    width: 1.92rem;
    height: .55rem;
}

.pop-info-box .submit-btn .shadow-light {
    border-radius: .1rem;
}

.pop-info-box .pop-agreement {
    margin-left: .66rem;
    margin-top: .05rem;
    width: 4rem;
    font-size: .12rem;
    white-space: nowrap;
}

.pop-info-box .agreement-checkbox {
    width: .12rem;
    height: .12rem;
}

.pop-tip {
    position: absolute;
    left: 3.19rem;
    top: 8.09rem;
    font-size: .09rem;
    color: #fff8e5;
    white-space: nowrap;
}

.jq-toast-wrap {
    z-index: 10000 !important;
}

.art-1-section-logo-png {
    left: 10.7rem;
    top: 0.94rem;
    width: 4.59rem;
    height: 1.99rem;
}

.art-1-section-title-png {
    left: 7.61rem;
    top: 1.46rem;
    width: 10.97rem;
    height: 4.72rem;
}

.art-2-section-2-title-png {
    left: 4.97rem;
    top: 0.67rem;
    width: 9.27rem;
    height: 1.67rem;
}

.art-2-section-2-role-png {
    left: 2.04rem;
    top: 1.57rem;
    width: 8.37rem;
    height: 8.47rem;
}

.art-2-section-2-suit-png {
    left: 6.61rem;
    top: 5.26rem;
    width: 2.83rem;
    height: 2.69rem;
}

.art-2-section-2-suit-png-text-0 {
    left: 32.8622%;
    top: 77.3234%;
    width: 22.9682%;
    height: 8.9219%;
    font-size: 0.12rem;
}

.art-2-section-2-award-1-png {
    left: 9.61rem;
    top: 3.55rem;
    width: 2.53rem;
    height: 2.46rem;
}

.art-2-section-2-award-1-png-text-0 {
    left: 35.5731%;
    top: 69.9187%;
    width: 38.7352%;
    height: 16.2602%;
    font-size: 0.1355rem;
}

.art-2-section-2-award-2-png {
    left: 11.14rem;
    top: 3.48rem;
    width: 2.53rem;
    height: 2.46rem;
}

.art-2-section-2-award-2-png-text-0 {
    left: 40.3162%;
    top: 72.7642%;
    width: 18.5771%;
    height: 4.0650%;
    font-size: 0.1355rem;
}

.art-2-section-2-award-3-png {
    left: 12.47rem;
    top: 3.48rem;
    width: 2.53rem;
    height: 2.46rem;
}

.art-2-section-2-award-3-png-text-0 {
    left: 29.2490%;
    top: 66.6667%;
    width: 37.9447%;
    height: 12.1951%;
    font-size: 0.1355rem;
}

.art-2-section-2-award-4-png {
    left: 13.67rem;
    top: 3.48rem;
    width: 2.53rem;
    height: 2.46rem;
}

.art-2-section-2-award-4-png-text-0 {
    left: 36.3636%;
    top: 72.7642%;
    width: 28.8538%;
    height: 5.2846%;
    font-size: 0.1236rem;
}

.art-2-section-2-award-5-png {
    left: 15rem;
    top: 3.48rem;
    width: 2.53rem;
    height: 2.46rem;
}

.art-2-section-2-award-5-png-text-0 {
    left: 29.6443%;
    top: 72.3577%;
    width: 34.3874%;
    height: 4.4715%;
    font-size: 0.1355rem;
}

.art-3-section-3-title-png {
    left: 4.97rem;
    top: 0.67rem;
    width: 9.27rem;
    height: 1.67rem;
}

.art-3-section-3-role-png {
    left: 2.94rem;
    top: 2.48rem;
    width: 13.35rem;
    height: 7.52rem;
}

.milestone-1 {
    left: 3.36rem;
    top: 2.38rem;
}

.art-3-pre-num-1-png-text-0 {
    left: 37.1429%;
    top: 72.2628%;
    width: 25.3968%;
    height: 7.6642%;
    font-size: 0.28rem;
}

.milestone-2 {
    left: 2.56rem;
    top: 5.14rem;
}

.art-3-pre-num-2-png-text-0 {
    left: 33.3333%;
    top: 74.8175%;
    width: 33.9683%;
    height: 8.7591%;
    font-size: 0.315rem;
}

.milestone-3 {
    left: 12.01rem;
    top: 2.21rem;
}

.art-3-pre-num-3-png-text-0 {
    left: 33.9683%;
    top: 73.3577%;
    width: 32.0635%;
    height: 8.3942%;
    font-size: 0.2993rem;
}

.milestone-4 {
    left: 14.37rem;
    top: 3.71rem;
}

.art-3-pre-num-4-png-text-0 {
    left: 30.7937%;
    top: 77.7372%;
    width: 38.0952%;
    height: 9.4891%;
    font-size: 0.35rem;
}

.milestone-5 {
    left: 12.77rem;
    top: 6.26rem;
}

.art-3-pre-num-5-png-text-0 {
    left: 29.5238%;
    top: 79.9270%;
    width: 41.2698%;
    height: 10.2190%;
    font-size: 0.378rem;
}

.art-4-section-4-title-png {
    left: 4.97rem;
    top: 0.64rem;
    width: 9.27rem;
    height: 1.67rem;
}

.art-pop-pop-award-1-png-text-0 {
    left: 35.7513%;
    top: 66.8478%;
    width: 36.2694%;
    height: 16.3043%;
    font-size: 0.0967rem;
}

.art-pop-pop-award-2-png-text-0 {
    left: 40.4145%;
    top: 68.4783%;
    width: 17.0984%;
    height: 4.3478%;
    font-size: 0.0967rem;
}

.art-pop-pop-award-3-png-text-0 {
    left: 30.0518%;
    top: 63.0435%;
    width: 35.7513%;
    height: 11.9565%;
    font-size: 0.0967rem;
}

.art-pop-pop-award-4-png-text-0 {
    left: 36.7876%;
    top: 69.0217%;
    width: 26.9430%;
    height: 4.8913%;
    font-size: 0.0882rem;
}

.art-pop-pop-award-5-png-text-0 {
    left: 35.7513%;
    top: 68.4783%;
    width: 23.3161%;
    height: 5.4348%;
    font-size: 0.0967rem;
}

/* Country selector: parchment colors and a compact gold arrow. */
.msg-row select {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    padding: .04rem .28rem .04rem .10rem;
    color: #693d16;
    background-color: #fff0cd;
    background-image: linear-gradient(45deg, transparent 50%, #9a6c37 50%), linear-gradient(135deg, #9a6c37 50%, transparent 50%);
    background-position: right .15rem center, right .09rem center;
    background-size: .06rem .06rem;
    background-repeat: no-repeat;
    transition: background-color .15s ease;
}

.msg-row select:hover, .msg-row select:focus {
    background-color: #ffe6ac;
}

.msg-row select option {
    color: #693d16;
    background-color: #fff8e9;
}

@supports (appearance: base-select) {
    .msg-row select, .msg-row select::picker(select) {
        appearance: base-select;
    }

    .msg-row select {
        align-items: center;
    }

    .msg-row select::picker-icon {
        display: none;
    }

    .msg-row select::picker(select) {
        min-width: max(anchor-size(width), 1.8rem);
        max-height: min(3.2rem, 45dvh);
        margin-block: .06rem;
        padding: .06rem;
        border: .02rem solid #c59149;
        border-radius: .12rem;
        background: #fff8e9;
        color: #693d16;
        box-shadow: 0 .06rem .18rem #58320e33, inset 0 0 0 .02rem #fffdf3;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: #c59149 #fff0cd;
    }

    .msg-row select option {
        display: flex;
        align-items: center;
        min-height: 2em;
        padding: .35em .55em;
        border-radius: .06rem;
        cursor: pointer;
    }

    .msg-row select option:hover, .msg-row select option:focus {
        background: #ffe7b3;
        outline: none;
    }

    .msg-row select option:checked {
        background: #f8d58c;
        color: #61380f;
        font-weight: bold;
    }

    .msg-row select option::checkmark {
        color: #94601e;
    }
}
