/* At the Gates of Loyang (Loyang2) Tutorial Styles */
.loyangTourControls { display: flex; flex-wrap: wrap; gap: .4rem; }
#loyangTutorialNext { margin-left: auto; }
#btn_loyangTutorialShowTip .buttonText {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    clip-path: none !important;
}
.loyangTourTarget {
    outline: 3px solid #ffcc00 !important;
    outline-offset: 3px;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.6) !important;
}

.loyangTourPopover {
    --bs-popover-max-width: min(28rem, calc(100vw - 24px));
    --bs-popover-border-color: #b8871f;
    z-index: 1050;
}
.loyangTourPopover .popover-header {
    background: #5d8233;
    color: #ffffff;
    font-weight: bold;
}
.loyangTourPopover .popover-body {
    max-height: 40vh;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.45;
}
.loyangTourPopover p {
    margin-bottom: .65rem;
}
body.loyangTutorial #game {
    position: relative;
}
.loyangTourIntroduction {
    --bs-popover-max-width: min(42rem, calc(100vw - 24px));
    width: calc(100% - 24px);
}
.loyangTourIntroduction .popover-arrow {
    display: none;
}
.loyangTourPopover[data-loyang-tour-moved] .popover-arrow {
    visibility: hidden;
}
.loyangTutorialLogTitle {
    font-size: 1rem;
    margin: .75rem .6rem .4rem;
    font-weight: bold;
}
.loyangTutorialLog {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.loyangTutorialLog h3 {
    font-size: .85rem;
    margin: .9rem .6rem .3rem;
    color: #555;
}
.loyangTutorialLogEntry {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    width: 100%;
    padding: .4rem .6rem;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
    text-align: left;
    color: inherit;
    font: inherit;
    cursor: pointer;
    font-size: 0.85rem;
}
.loyangTutorialLogEntry .bi-circle {
    color: #777;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.loyangTutorialLogEntry .bi-check-circle {
    color: #28723d;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.loyangTutorialLogEntry:hover, .loyangTutorialLogEntry[aria-current], .loyangTutorialLogEntry.active {
    background: #e5edf8;
    font-weight: 600;
}
.loyangTutorialLogEntry:focus-visible {
    outline: 2px solid #5d8233;
    outline-offset: -2px;
}
