/* Pebble guided mode (guide.js) */
.pg-ring { position: fixed; z-index: 2400; border: 4px solid #f5a623; border-radius: 14px; box-shadow: 0 0 0 4px rgba(245,166,35,.35); pointer-events: none; animation: pg-pulse 1.6s ease-in-out infinite; }
@keyframes pg-pulse { 50% { box-shadow: 0 0 0 10px rgba(245,166,35,.12); } }
.pg-bubble { position: fixed; z-index: 2401; width: min(340px, calc(100vw - 16px)); box-sizing: border-box; background: #fffaf0; color: #12361f; border: 4px solid #f5a623; border-radius: 16px; padding: 12px 14px 10px; box-shadow: 0 10px 30px rgba(0,0,0,.35); font-weight: 600; font-size: 16px; line-height: 1.35; font-family: inherit; }
.pg-bubble[hidden], .pg-ring[hidden], .pg-menu[hidden] { display: none; }
.pg-bubble.pg-lost { opacity: .0; pointer-events: none; }
.pg-n { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #7a4f2a; margin-bottom: 2px; padding-right: 28px; }
.pg-t { font-size: 17px; }
.pg-teach { margin-top: 8px; padding: 7px 9px; border-radius: 10px; background: #e8f3df; font-size: 14.5px; font-weight: 600; }
.pg-teach b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #1f6a2a; }
.pg-teach[hidden] { display: none; }
.pg-row { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.pg-b { font: inherit; font-weight: 800; font-size: 15px; padding: 7px 16px; border-radius: 10px; border: 3px solid #12361f; background: #fbf6e8; color: #12361f; cursor: pointer; }
.pg-bubble .pg-b { color: #12361f; }
.pg-bubble .pg-next { background: #1d4d2c; color: #fbf6e8; }
.pg-bubble .pg-x, .pg-bubble .pg-off { color: #12361f; }
.pg-bubble .pg-off { color: #7a4f2a; }
.pg-b[hidden] { display: none; }
.pg-x { position: absolute; top: 4px; right: 6px; width: 32px; height: 32px; border: 0; background: none; font-size: 26px; line-height: 1; color: #12361f; cursor: pointer; border-radius: 8px; }
.pg-x:hover, .pg-b:hover { filter: brightness(.95); }
.pg-off { display: block; margin: 6px 0 0 auto; border: 0; background: none; color: #7a4f2a; font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 2px 0; }
.pg-arrow { position: absolute; width: 18px; height: 18px; background: #fffaf0; border: 4px solid #f5a623; transform: translate(-50%, -50%) rotate(45deg); }
.pg-arrow.pg-below { top: 0; border-right: 0; border-bottom: 0; }
.pg-arrow.pg-above { top: 100%; border-left: 0; border-top: 0; }
.pg-arrow.pg-right { left: 0; border-right: 0; border-top: 0; }
.pg-arrow.pg-left { left: 100%; border-left: 0; border-bottom: 0; }
.pg-menu { position: fixed; z-index: 2402; display: flex; flex-direction: column; gap: 4px; background: #fffaf0; border: 3px solid #12361f; border-radius: 12px; padding: 6px; box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.pg-menu button { font-weight: 700; font-size: 14px; line-height: 1.2; font-family: inherit; text-align: left; padding: 8px 12px; border: 0; background: none; color: #12361f; border-radius: 8px; cursor: pointer; }
.pg-menu button:hover { background: #efe6d2; }
/* the Guided / Independent choice (welcome page and setup) */
.tc-gchoice { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 14px 0 4px; }
.tc-gchoice button { flex: 1 1 240px; max-width: 360px; text-align: left; font: inherit; padding: 10px 14px; border-radius: 14px; border: 3px solid #b9a77c; background: #fbf6e8; color: #12361f; cursor: pointer; }
.tc-gchoice button b { display: block; font-size: 18px; }
.tc-gchoice button small { display: block; font-size: 14px; font-weight: 600; color: #4a3a22; line-height: 1.3; }
.tc-gchoice button[aria-pressed=true] { border-color: #12361f; background: #e8f3df; box-shadow: 0 0 0 3px #f5a623; }
@media (prefers-reduced-motion: reduce) { .pg-ring { animation: none; } }
.tc-gcompact { margin: 4px 0 0; justify-content: flex-start; gap: 8px; }
.tc-gcompact button { flex: 1 1 140px; padding: 6px 10px; }
.tc-gcompact button b { font-size: 16px; }
.tc-gcompact button small { font-size: 13px; }
#guideBtn[aria-pressed=true] { background: #fff1cf; color: #12361f; }
