.player-pass .player-pass__actions [data-guide-open],
.player-pass .player-pass__secondary [data-guide-open] {
    color: #c5e2e7;
    background: #1c292b;
    border: 1px solid #4b777e;
}
.account-guide {
    position: fixed;
    z-index: 900;
    bottom: 16px;
    left: 16px;
    width: min(360px, calc(100vw - 32px));
    box-sizing: border-box;
    color: #eddfc5;
    background: #181510fa;
    border: 1px solid #947440;
    border-radius: 8px;
    box-shadow: 0 12px 36px #0008;
    text-align: left;
    letter-spacing: 0;
}
.account-guide[hidden], .account-guide [hidden] { display: none !important; }
.account-guide summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    padding: 8px 12px;
    box-sizing: border-box;
    cursor: pointer;
    list-style: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.account-guide summary::-webkit-details-marker { display: none; }
.account-guide summary::marker { content: ''; }
.account-guide summary:focus-visible { outline: 2px solid #f0cf81; outline-offset: 3px; }
.account-guide__heading { min-width: 0; }
.account-guide__heading strong { display: block; color: #f4d588; font-size: 16px; line-height: 1.5; }
.account-guide__heading > span { display: block; color: #c6ba9f; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.account-guide__toggle {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #f4d588;
    font: 24px/1 Arial, sans-serif;
}
.account-guide__toggle > span:last-child { display: none; }
.account-guide[open] .account-guide__toggle > span:first-child { display: none; }
.account-guide[open] .account-guide__toggle > span:last-child { display: block; }
.account-guide__body {
    padding: 14px;
    border-top: 1px solid #5d4b2f;
    max-height: min(520px, calc(100vh - 130px));
    max-height: min(520px, calc(100dvh - 130px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.account-guide__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.account-guide__steps li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding-bottom: 9px;
    border-bottom: 2px solid #494136;
    color: #b9b2a5;
    font-size: 12px;
    line-height: 1.5;
}
.account-guide__steps li > span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font: 12px/1 Arial, sans-serif;
}
.account-guide__steps [aria-current='step'] { color: #f2cc74; border-color: #f2cc74; }
.account-guide__steps .is-done { color: #94c6ac; border-color: #5e8f75; }
.account-guide .account-guide__principle { color: #b1d3dd; padding: 10px 0; margin: 0; border-bottom: 1px solid #3c3a33; }
.account-guide h3 { margin: 14px 0 8px; color: #ffebba; font-size: 18px; line-height: 1.5; }
.account-guide p { font-size: 13px; line-height: 1.7; margin: 8px 0; overflow-wrap: anywhere; }
.account-guide .account-guide__hint { color: #bdb39e; font-size: 12px; }
.account-guide__actions { display: grid; gap: 8px; margin-top: 14px; }
.account-guide__actions > button, .account-guide__actions > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #80653b;
    border-radius: 6px;
    color: #f2dfaf;
    background: #272219;
    font: 700 13px/1.5 "Microsoft JhengHei", sans-serif;
    text-decoration: none;
    text-shadow: none;
    cursor: pointer;
    touch-action: manipulation;
    transition: background-color .15s;
    overflow-wrap: anywhere;
}
.account-guide__actions > .is-primary { color: #21190c; background: #e6bd69; border-color: #f2d58a; }
.account-guide__actions > :hover { filter: brightness(1.1); transform: none; }
.account-guide__actions > :focus-visible { outline: 2px solid #b1d3dd; outline-offset: 2px; }
.account-guide__status:empty { display: none; }
.account-guide .account-guide__status { color: #b1d3dd; font-size: 12px; }

@media (max-width: 600px) {
    .account-guide {
        left: 12px;
        right: 72px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        width: auto;
    }
    .account-guide[open] {
        right: 12px;
        bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }
    .account-guide__body {
        max-height: calc(100vh - 192px - env(safe-area-inset-bottom, 0px));
        max-height: calc(100dvh - 192px - env(safe-area-inset-bottom, 0px));
    }
}
