/* The camp tour (src/tour.js; the user, 2026-11-13): the camp dark round a lit hole, a small card beside it. The card
   is the settings card's (styles/camp.css .settings: the copper border, the dark wood, the camp's sans), the buttons
   the panels' amber (.panel .btn.primary) and the settings' dark ones (.st-x). Above everything the camp shows,
   below the fade to black. */
.ctour{position:fixed;inset:0;z-index:35;opacity:0;transition:opacity .3s ease;touch-action:none;-webkit-tap-highlight-color:transparent}
.ctour.on{opacity:1}
/* The dark: the window with the hole cut out (src/tour.js darkPath); the hole: a warm ring round it, as a lit place's
   outline. */
.ctour-dark{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.ctour-dark path{fill:rgba(7,5,3,.64)}
.ctour-hole{position:absolute;left:0;top:0;width:0;height:0;border-radius:18px;pointer-events:none}
.ctour-hole::after{content:"";position:absolute;inset:-2px;border-radius:inherit;border:2px solid #eba64c;
  box-shadow:0 0 14px rgba(240,160,70,.55),inset 0 0 10px rgba(240,160,70,.25);transition:opacity .2s ease}
/* (closed: Rosa's last word in the middle, nothing lit) */
.ctour-hole.shut::after{opacity:0}

.ctour-card{position:absolute;left:0;top:0;box-sizing:border-box;display:flex;align-items:stretch;width:428px;max-width:calc(100vw - 28px);padding:0;
  border:2px solid transparent;border-radius:16px;
  background:linear-gradient(180deg,#241a12 0,#1b120c 45%,#150f0a 100%) padding-box,linear-gradient(180deg,#f3b86c 0,#ef9944 12%,#ee9240 100%) border-box;
  box-shadow:0 0 0 1px rgba(0,0,0,.4),0 16px 36px rgba(0,0,0,.55);color:#fbf5e8;text-align:left;
  transition:opacity .16s ease}
.ctour-card.swap{opacity:0}
/* Rosa (src/talkbox.js's faces of her): her bust at the card's left, in the middle of its height, fading out at the
   bottom as the talk box's faces do (styles/talk.css .talk-face; the user, 2026-11-13: she stood on the card's floor). */
.ctour-rosa{position:relative;flex:none;align-self:center;width:108px;margin-left:6px;line-height:0;pointer-events:none;
  -webkit-mask-image:linear-gradient(180deg,#000 88%,rgba(0,0,0,0) 100%);mask-image:linear-gradient(180deg,#000 88%,rgba(0,0,0,0) 100%)}
.ctour-rosa img{display:block;width:108px;height:auto;user-select:none;-webkit-user-select:none}
.ctour-body{position:relative;flex:1;min-width:0;padding:17px 18px 14px 6px}
.ctour-text{position:relative;margin:0 0 15px;font:400 16.5px/1.5 var(--cp-sans);color:#fbf5e8;word-break:keep-all;overflow-wrap:break-word}
.ctour-foot{position:relative;display:flex;align-items:center;gap:8px}
.ctour-n{margin-right:auto;font:700 13.5px/1 var(--cp-bold);letter-spacing:.08em;color:#b3a091;font-variant-numeric:tabular-nums;white-space:nowrap}
.ctour-card button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ctour-skip{padding:8px 6px;border:0;background:none;font:400 15px/1 var(--cp-sans) !important;color:#c2b6a8;white-space:nowrap}
.ctour-skip:hover{color:#fbf5e8;text-decoration:underline;text-underline-offset:3px}
.ctour-btn{min-width:64px;padding:9px 15px;border-radius:9px;font:700 15px/1 var(--cp-bold) !important;white-space:nowrap;transition:filter .15s ease,transform .08s ease}
.ctour-btn:hover{filter:brightness(1.12)}
.ctour-btn:active{transform:translateY(1px)}
.ctour-prev{border:1.5px solid #6a4f39;background:linear-gradient(180deg,#413020,#33241a);color:#fbf5e8;box-shadow:inset 0 1px 0 rgba(255,220,170,.08)}
.ctour-next{border:1.5px solid transparent;background:#fd9a3c;color:#1c1007;box-shadow:inset 0 1px 0 #fccd6c,inset 0 -3px 0 #e07f35}
.ctour-card button[hidden]{display:none}
.ctour-skip:focus-visible,.ctour-btn:focus-visible{outline:2px solid var(--cp-gold);outline-offset:2px}

/* The arrow: a square turned on its corner, half out of the card's edge that faces the hole (data-side: where the card
   is), in the card's colour there with its border on the two outer sides. */
.ctour-arrow{position:absolute;z-index:2;width:16px;height:16px;box-sizing:border-box;transform:rotate(45deg);display:none;pointer-events:none}
.ctour-card[data-side] .ctour-arrow{display:block}
.ctour-card[data-side=""] .ctour-arrow{display:none}
.ctour-card[data-side="right"] .ctour-arrow{left:-10px;background:#1c130d;border-left:2px solid #ef9944;border-bottom:2px solid #ef9944}
.ctour-card[data-side="left"] .ctour-arrow{right:-10px;background:#1c130d;border-top:2px solid #ef9944;border-right:2px solid #ef9944}
.ctour-card[data-side="bottom"] .ctour-arrow{top:-10px;background:#241a12;border-top:2px solid #f3b86c;border-left:2px solid #f3b86c}
.ctour-card[data-side="top"] .ctour-arrow{bottom:-10px;background:#150f0a;border-bottom:2px solid #ee9240;border-right:2px solid #ee9240}

@media (prefers-reduced-motion:reduce){.ctour,.ctour-card{transition:none}}
