/* A Râu · Ver 171126_1: point to actual album controls. */
dialog.selection-tour { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; border-radius: 0!important; box-shadow: none; background: transparent; color: var(--text-main,#3d3026); font-family: 'Be Vietnam Pro',sans-serif; }
dialog.selection-tour::backdrop { background: transparent; }
.selection-tour .tour-spotlight { position: absolute; border: 2px solid #ceab63; border-radius: 14px; box-sizing: border-box; box-shadow: 0 0 0 150vmax rgba(29,23,17,.62),0 0 0 5px #e6c88355; pointer-events: none; }
.selection-tour .tour-callout { position: absolute; box-sizing: border-box; padding: 16px 18px 10px; border: 1px solid var(--border-color,#e8dccb); border-radius: 20px; background: #fffdf8; box-shadow: 0 16px 48px #21160d35; max-height: calc(100dvh - 24px); overflow: auto; }
.selection-tour header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.selection-tour [data-tour-counter] { color: var(--primary,#986b34); font-size: 11px; font-weight: 700; letter-spacing: .8px; }
.selection-tour button { font: inherit; cursor: pointer; touch-action: manipulation; }
.selection-tour .tour-close { width: 36px; height: 36px; flex-shrink: 0; border: 0; border-radius: 50%!important; background: var(--input-bg,#f5eee3); color: inherit; font-size: 23px; }
.selection-tour h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.4; color: inherit; }
.selection-tour p { margin: 0; font-size: 12px; line-height: 1.7; color: var(--text-muted,#756a5d); }
.selection-tour .tour-progress { display: flex; gap: 5px; list-style: none; margin: 12px 0; padding: 0; }
.selection-tour .tour-progress li { width: 20px; height: 3px; border-radius: 3px; background: var(--border-color,#e8dccb); }
.selection-tour .tour-progress li.current { background: var(--primary,#a37739); }
.selection-tour footer { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin: 0!important; padding: 0!important; border: 0!important; background: none!important; box-shadow: none!important; }
.selection-tour .tour-next { min-height: 42px; padding: 9px 20px; border: 0; border-radius: 999px!important; background: linear-gradient(135deg,#ba8f4b,#936629); color: white; font-size: 12px; font-weight: 700; }
.selection-tour .tour-back { margin-right: auto; min-height: 42px; padding: 7px 0; border: 0; background: none; color: var(--text-main,#473a2c); font-size: 11px; }
.selection-tour .tour-skip { min-height: 36px; padding: 6px 0; border: 0; background: none; color: var(--text-muted,#756a5d); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.selection-tour .tour-pointer { position: absolute; pointer-events: none; width: 28px; height: 32px; animation: tour-point 1.7s ease-in-out infinite; filter: drop-shadow(0 2px 3px #21160d55); }
.selection-tour .tour-pointer svg { width: 100%; height: 100%; fill: #fff9ed; stroke: #8c632e; stroke-width: 1.5; }
.selection-tour button:focus-visible { outline: 2px solid var(--primary,#a37739); outline-offset: 3px; }
.selection-tour button:hover { filter: brightness(.96); }
@keyframes tour-point { 0%,100% { transform: translate(14px,14px); } 45%,65% { transform: translate(0,0); } }
@media (prefers-reduced-motion:reduce) { .selection-tour * { animation: none!important; transition: none!important; } }
body.view-only-mode #albumGuideBtn { display: none!important; }

body.dark-theme .selection-tour .tour-callout { background: #2b251f; }

#selectionGuideDialog { border-radius: 0!important; }
