.gm-ready-quiz{position:relative;margin-block:48px 56px;padding:26px 0 16px;max-width:100%;color:var(--theme-text,#243D47);font-family:var(--theme-body-font,Heebo,sans-serif);text-align:center;isolation:isolate}
.gm-ready-quiz [hidden]{display:none!important}
.gm-ready-quiz [data-gm-quiz-interactive]{display:none}
.gm-quiz-js .gm-ready-quiz [data-gm-quiz-interactive]{display:block}
.gm-ready-quiz .gm-quiz-heading{max-width:58ch;margin-inline:auto}
.gm-ready-quiz h3{font-family:var(--theme-heading-font,'Frank Ruhl Libre',serif);font-size:31px;line-height:1.25;margin:0 0 12px}
.gm-ready-quiz p{font-size:16px;line-height:1.7;margin:0 0 16px}
.gm-ready-quiz .gm-quiz-intro{max-width:52ch;margin:0 auto}
.gm-ready-quiz .gm-quiz-route{position:relative;height:90px;margin:20px 24px 0}
.gm-ready-quiz .gm-quiz-route-line{position:absolute;inset:0;width:100%;height:90px;object-fit:fill;margin:0;opacity:.75}
.gm-ready-quiz .gm-quiz-port{position:absolute;top:47px;width:12px;height:12px;background:var(--theme-surface,#FFFCF7);border:2px solid var(--theme-accent,#7EAEBB);border-radius:50%;translate:50% 0;box-sizing:border-box}
.gm-ready-quiz .gm-quiz-port.is-current,.gm-ready-quiz .gm-quiz-port.is-passed{background:var(--theme-editorial-accent,#BC603D);border-color:var(--theme-editorial-accent,#BC603D)}
.gm-ready-quiz .gm-quiz-boat{position:absolute;right:10%;top:9px;width:46px;height:38px;transform:translateX(50%);z-index:1}
.gm-ready-quiz .gm-quiz-boat img{width:46px;height:38px;max-width:none;margin:0}
.gm-ready-quiz .gm-quiz-progress{font-size:13px;margin:0 0 18px}
.gm-ready-quiz [data-gm-quiz-stage]{min-height:290px;padding:0 10px;box-sizing:border-box}
.gm-ready-quiz fieldset{border:0;padding:0;margin:0;min-width:0}
.gm-ready-quiz legend{font-size:22px;line-height:1.5;font-weight:600;padding:0;margin:0 auto 22px;width:100%;box-sizing:border-box}
.gm-ready-quiz .gm-quiz-choices{display:flex;gap:16px;justify-content:center;align-items:stretch}
.gm-ready-quiz button{font:inherit;font-size:16px;line-height:1.55;color:inherit;cursor:pointer;white-space:normal;max-width:100%;min-height:48px}
.gm-ready-quiz .gm-quiz-choice{position:relative;flex:1;min-width:0;max-width:200px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:16px;padding:10px 4px 18px;background:transparent;border:0;border-radius:0}
.gm-ready-quiz .gm-quiz-choice-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:86px;height:86px;flex:none;border-radius:50%;background:var(--theme-selected,#E0EBE9);transition:transform .22s,background .22s;outline:1px solid transparent;outline-offset:6px}
.gm-ready-quiz .gm-quiz-choice:nth-child(2) .gm-quiz-choice-icon{background:color-mix(in srgb,var(--theme-accent,#7EAEBB) 28%,var(--theme-surface,#FFFCF7))}
.gm-ready-quiz .gm-quiz-choice:nth-child(3) .gm-quiz-choice-icon{background:color-mix(in srgb,var(--theme-editorial-accent,#BC603D) 17%,var(--theme-surface,#FFFCF7))}
.gm-ready-quiz .gm-quiz-choice-icon img{display:block;width:36px;height:36px;max-width:none;margin:0}
.gm-ready-quiz .gm-quiz-choice:hover .gm-quiz-choice-icon{transform:translateY(-7px) rotate(-4deg);outline-color:var(--theme-accent,#7EAEBB)}
.gm-ready-quiz .gm-quiz-choice.is-selected .gm-quiz-choice-icon{background:var(--theme-accent,#7EAEBB);outline:2px solid var(--theme-text,#243D47)}
.gm-ready-quiz .gm-quiz-choice.is-selected .gm-quiz-choice-icon::after{content:'\2713';position:absolute;inset-inline-end:auto;left:calc(50% - 10px);top:-8px;z-index:2;display:grid;place-items:center;box-sizing:border-box;width:20px;height:20px;color:#fff;background:#243d47;border:2px solid #fff;border-radius:50%;font:800 13px/1 Arial,sans-serif;pointer-events:none}
.gm-ready-quiz .gm-quiz-choice:disabled{cursor:default;opacity:1}
.gm-ready-quiz .gm-quiz-choice:disabled:not(.is-selected){opacity:.45}
.gm-ready-quiz :is(button,summary):focus-visible{outline:3px solid var(--theme-focus,#BC603D);outline-offset:5px;border-radius:4px}
.gm-ready-quiz :is(legend,h4)[tabindex]:focus{outline:0}
.gm-ready-quiz .gm-quiz-feedback{font-size:14px;min-height:24px;margin-block:6px 10px}
.gm-ready-quiz .gm-quiz-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-block:12px 0}
.gm-ready-quiz .gm-quiz-next{background:var(--theme-text,#243D47);color:var(--theme-surface,#FFFCF7);border:0;border-radius:40px;padding:12px 26px;min-height:48px}
html[data-site-theme] .gm-ready-quiz .gm-quiz-next{color:var(--theme-surface,#FFFCF7)!important}
.gm-ready-quiz .gm-quiz-next:disabled{opacity:.5;cursor:default}
.gm-ready-quiz .gm-quiz-back{border:0;background:transparent;padding:8px 12px;text-decoration:underline;text-underline-offset:5px}
.gm-ready-quiz .gm-quiz-result-title{font:600 29px/1.3 var(--theme-heading-font,'Frank Ruhl Libre',serif);margin:18px 0 14px}
.gm-ready-quiz[data-gm-quiz-phase=result] [data-gm-quiz-stage]{max-width:58ch;margin-inline:auto;padding-top:14px}
.gm-ready-quiz[data-gm-quiz-phase=result] [data-gm-quiz-stage]>.gm-quiz-choice-icon{width:64px;height:64px;transform:rotate(-9deg);border:1px dashed var(--theme-text,#243D47);outline:5px solid var(--theme-selected,#E0EBE9)}
.gm-ready-quiz ul{text-align:start;padding-inline-start:22px;margin:16px 0 24px;line-height:1.7}
.gm-ready-quiz li{margin-block:8px}
.gm-ready-quiz .gm-quiz-reading{margin:24px auto 0;max-width:58ch;text-align:start;border-top:1px solid var(--theme-border,#D6D1C6);padding-top:8px}
.gm-ready-quiz summary{cursor:pointer;min-height:44px;align-content:center;font-size:14px;text-decoration:underline;text-underline-offset:4px}
.gm-ready-quiz .gm-quiz-privacy{font-size:12px;margin:8px 0 0}
.gm-ready-quiz .gm-quiz-explanation,.gm-ready-quiz .gm-quiz-previous{text-align:start}
.gm-ready-quiz .gm-quiz-previous{margin-bottom:20px;padding:0 0 12px;border-bottom:1px solid var(--theme-border,#D6D1C6)}
.gm-ready-quiz .gm-quiz-previous p{font-size:14px;margin:0}
@media(max-width:650px){.gm-ready-quiz{margin-block:32px 40px;padding-top:12px}.gm-ready-quiz h3{font-size:27px}.gm-ready-quiz p{font-size:15px}.gm-ready-quiz .gm-quiz-route{margin-inline:8px}.gm-ready-quiz [data-gm-quiz-stage]{padding-inline:0;min-height:280px}.gm-ready-quiz legend{font-size:20px}.gm-ready-quiz .gm-quiz-choices{gap:8px}.gm-ready-quiz .gm-quiz-choice{font-size:14px;padding-inline:0;gap:14px}.gm-ready-quiz .gm-quiz-choice-icon{width:66px;height:66px}.gm-ready-quiz .gm-quiz-choice-icon img{width:30px;height:30px}.gm-ready-quiz .gm-quiz-privacy{font-size:12px}.gm-ready-quiz .gm-quiz-result-title{font-size:26px}}
@media(prefers-reduced-motion:reduce){.gm-ready-quiz,.gm-ready-quiz *{animation:none!important;transition:none!important}.gm-ready-quiz .gm-quiz-choice:hover .gm-quiz-choice-icon{transform:none}}

/* Keep four-or-more answers readable on narrow phones. */
.gm-ready-quiz .gm-quiz-choice>span:not(.gm-quiz-choice-icon){overflow-wrap:anywhere}
@media(max-width:420px){.gm-ready-quiz .gm-quiz-choices{flex-wrap:wrap}.gm-ready-quiz .gm-quiz-choices>.gm-quiz-choice:nth-last-child(n+4),.gm-ready-quiz .gm-quiz-choices>.gm-quiz-choice:nth-last-child(n+4)~.gm-quiz-choice{flex:1 1 calc(50% - 4px)}}

/* Adapter for the common postcard scene, scoped to Core quizzes only. */
.gm-ready-quiz.gm-postcard-quiz{--gm-postcard-ink:var(--theme-text,#243d47);text-align:start}
.gm-postcard-quiz .gm-quiz-heading{margin-inline:auto;text-align:center}
.gm-postcard-quiz .gm-postcard-spread{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:start;direction:ltr}
.gm-postcard-quiz.has-postcard-scene .gm-postcard-spread{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
.gm-postcard-quiz .gm-postcard-visual{position:sticky;top:110px;min-width:0;direction:rtl}
.gm-postcard-quiz .gm-postcard-copy{direction:rtl;min-width:0;text-align:start;padding:10px 0}
.gm-postcard-quiz .gm-quiz-choices{display:grid;grid-template-columns:minmax(0,1fr);justify-items:stretch;gap:14px}
.gm-ready-quiz.gm-postcard-quiz .gm-quiz-choice{position:relative;isolation:isolate;display:grid;direction:ltr;grid-template-columns:36px minmax(0,1fr);align-items:center;justify-self:stretch;align-self:stretch;gap:18px;width:100%;inline-size:100%;max-width:none;max-inline-size:none;min-inline-size:0;min-height:95px;padding:19px 22px 19px 44px;box-sizing:border-box;text-align:right;border:0;background:transparent;border-radius:0;color:var(--gm-postcard-ink);box-shadow:none;white-space:normal}
/* An unavailable paper image leaves readable text on the existing paper surface.
   Selection still has a plain blue background, independent of mask support. */
.gm-postcard-quiz .gm-quiz-choice::after{content:'';position:absolute;inset:-5px -6px;z-index:-1;pointer-events:none;background:url('/wp-content/plugins/gluya-journal/assets/media/journal-ticket-paper.webp') center/100% 160% no-repeat;filter:drop-shadow(0 4px 3px #46321713)}
.gm-ready-quiz.gm-postcard-quiz .gm-quiz-choice.is-selected{background:#e0eff3;border:0;box-shadow:none}
.gm-postcard-quiz .gm-quiz-choice.is-selected::after{background:linear-gradient(to right,#e65f44 0 30px,#e0eff3 30px 100%);mask:url('/wp-content/plugins/gluya-journal/assets/media/journal-ticket-paper.webp') center/100% 160% no-repeat;-webkit-mask:url('/wp-content/plugins/gluya-journal/assets/media/journal-ticket-paper.webp') center/100% 160% no-repeat}
.gm-ready-quiz.gm-postcard-quiz .gm-quiz-choice:focus-visible{outline:3px solid var(--theme-focus,#BC603D);outline-offset:5px;border-radius:3px}
.gm-postcard-quiz .gm-quiz-choice .gm-quiz-choice-icon,.gm-postcard-quiz .gm-quiz-choice.is-selected .gm-quiz-choice-icon{width:34px;height:34px;border-radius:0;background:transparent;outline:none}
.gm-postcard-quiz .gm-quiz-choice-icon img{width:30px;height:30px;object-fit:contain}
.gm-postcard-quiz .gm-quiz-choice-icon::after{content:none!important}
.gm-postcard-quiz .gm-postcard-check{display:none;position:absolute;left:50%;top:-9px;transform:translateX(-50%);width:20px;height:20px;border-radius:50%;box-sizing:border-box;background:#243d47;color:#fff;border:2px solid #fffcf6;font:800 13px/16px Arial,sans-serif;text-align:center;pointer-events:none}
.gm-postcard-quiz .is-selected .gm-postcard-check{display:block}
.gm-postcard-quiz .gm-quiz-choice>span:not(.gm-quiz-choice-icon):not(.gm-postcard-check){direction:rtl;overflow-wrap:anywhere;min-width:0}
.gm-postcard-quiz legend{font-family:var(--theme-heading-font,'Frank Ruhl Libre',serif);font-size:clamp(25px,2.5vw,36px);line-height:1.3;margin:0 0 24px;text-align:start}
.gm-postcard-quiz .gm-quiz-feedback{min-height:0;margin-block:18px;color:var(--gm-postcard-ink);text-align:start;font-size:15px;line-height:1.65}
.gm-postcard-quiz .gm-quiz-feedback:empty{display:none}
.gm-postcard-quiz .gm-quiz-learning-note{font-size:15px;line-height:1.65;text-align:start;color:var(--gm-postcard-ink);background:#e8f0ef;padding:10px 12px;margin:0 0 18px;border-inline-start:3px solid #5c8796}
.gm-postcard-quiz .gm-quiz-actions{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-start;align-items:center;margin-block:20px 8px}
.gm-postcard-quiz .gm-quiz-next{min-height:48px;padding:11px 24px;background:#243d47;color:#fff;border:1px solid #243d47;border-radius:3px;font-weight:650}
.gm-postcard-quiz .gm-quiz-next:disabled{background:#d7dfdf;color:#475e66;border-color:#d7dfdf;cursor:default}
.gm-postcard-quiz .gm-quiz-result-title{text-align:start;font-size:clamp(27px,2.6vw,38px);line-height:1.3}
@media(max-width:760px){.gm-postcard-quiz.has-postcard-scene .gm-postcard-spread{grid-template-columns:minmax(0,1fr);gap:18px}.gm-postcard-quiz .gm-postcard-visual{position:static;max-width:100%}.gm-postcard-quiz .gm-postcard-copy{padding-inline:0}.gm-ready-quiz.gm-postcard-quiz .gm-quiz-choice{font-size:16px;padding:15px 16px 15px 38px;min-height:95px;gap:12px}.gm-postcard-quiz .gm-quiz-choices{gap:14px}.gm-postcard-quiz .gm-quiz-route{height:70px;margin-top:10px}.gm-postcard-quiz legend{font-size:27px}.gm-postcard-quiz .gm-quiz-heading h3{font-size:29px}}
@media(max-width:380px){.gm-postcard-quiz legend{font-size:25px}.gm-ready-quiz.gm-postcard-quiz .gm-quiz-choice{font-size:15px;grid-template-columns:30px minmax(0,1fr)}.gm-postcard-quiz .gm-quiz-choice-icon{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){.gm-postcard-quiz *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Same Gluya scene API and geometry; only ready artwork becomes a displayed layer. */
.gluya-postcard-scene{--postcard-paper:var(--paper,#f8f2e8);--postcard-ink:var(--ink,#173f50);position:relative;isolation:isolate;width:100%;min-width:0;margin:0 0 1rem;background:var(--postcard-paper);color:var(--postcard-ink)}
.gluya-postcard-media{position:relative;aspect-ratio:4/3;min-width:0}
.gluya-postcard-scene [hidden]{display:none!important}
.gluya-postcard-layer{position:absolute;inset:0;min-width:0}
.gluya-postcard-scene .gluya-postcard-picture{position:absolute;inset:6% 6% 9%;width:88%;height:85%;max-width:none;margin:0;object-fit:contain;object-position:center;opacity:1;filter:none;transform:none}
.gluya-postcard-placeholder{position:absolute;inset:6% 6% 9%;display:grid;place-items:center;border:1px dashed #9fb5ba;background:#f3ecdf;color:#536b7b;text-align:center;font-size:.85rem;padding:1rem;box-sizing:border-box}
.gluya-postcard-scene .gluya-postcard-frame{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:fill;margin:0;z-index:2;pointer-events:none}
.gluya-postcard-scene .gluya-postcard-stamp{position:absolute;inset-inline-start:22%;bottom:-.4rem;width:24%;max-width:120px;height:auto;max-height:80px;object-fit:contain;margin:0;z-index:3;pointer-events:none;mix-blend-mode:multiply}
.gluya-postcard-caption{position:static;box-sizing:border-box;margin:.8rem 6% 0;min-block-size:3.1em;text-align:start;font-size:.78rem;line-height:1.55;color:var(--postcard-ink);overflow-wrap:anywhere}
.gluya-postcard-caption-measure{position:absolute;inset-inline:6%;top:0;margin:0;visibility:hidden;pointer-events:none;min-block-size:0;min-height:0;block-size:auto;height:auto;overflow:visible}
.gluya-postcard-image-note{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;pointer-events:none}
.gluya-postcard-wave-defs{position:absolute;pointer-events:none;overflow:hidden}
.gluya-postcard-wave-foam{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;overflow:hidden}
.gluya-postcard-wave-foam path{fill:none;stroke:#c0dfd9;stroke-width:.018;stroke-linecap:round}
.gluya-postcard-panels{position:absolute;inset:7% 6% 10%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2%;align-items:center}
.gluya-postcard-panels[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.gluya-postcard-panel{min-width:0;text-align:center}
.gluya-postcard-panel-picture{display:block;width:100%;height:auto;max-height:100%;object-fit:contain;margin:0}
.gluya-postcard-host{position:relative;width:100%;min-width:0}
.gluya-postcard-host>.gluya-postcard-overlay{position:absolute;inset:0;pointer-events:none}
.gluya-postcard-overlay>*{pointer-events:auto}
@media(max-width:760px){.gluya-postcard-scene .gluya-postcard-stamp{max-width:90px}.gluya-postcard-caption{font-size:.75rem}}
@media(prefers-reduced-motion:reduce){.gluya-postcard-scene *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.gm-ready-quiz{margin-top:24px}.gm-ready-quiz .gm-named-result{text-align:right;direction:rtl}.gm-ready-quiz .gm-named-result h4{font:700 34px/1.3"Frank Ruhl Libre",serif;color:#0B3157}.gm-ready-quiz .gm-named-result h5{font-size:19px;margin:22px 0 8px}.gm-ready-quiz .cabin-result-insight{background:#E8F2F2;padding:20px 24px;border-inline-start:3px solid #8DB8C5}.gm-ready-quiz .gm-named-result nav{display:grid;gap:12px;margin-block:24px}.gm-ready-quiz .gm-named-result nav a{min-height:44px;display:flex;align-items:center;color:#0B3157}.gm-ready-quiz .gm-named-result nav a:first-child{background:#0B3157;color:white;padding:8px 16px;border-radius:3px;text-decoration:none}.gm-ready-quiz .gm-named-result fieldset{display:grid;gap:14px;line-height:1.7;border:1px solid #D9D7CF;padding:18px}.gm-ready-quiz .gm-named-result input[type=email]{display:block;direction:ltr;width:100%;min-height:44px;box-sizing:border-box}.gm-ready-quiz .gm-named-result button{min-height:44px}.gm-ready-quiz .gm-named-result details{margin-block:20px}.gm-ready-quiz .gm-named-result summary{cursor:pointer;min-height:44px}.gm-ready-quiz .pace-day-advice{padding-inline-start:14px;border-inline-start:2px solid #D9D7CF}.gm-ready-quiz .gm-quiz-choice:focus-visible,.gm-ready-quiz a:focus-visible,.gm-ready-quiz button:focus-visible{outline:3px solid #B84E3A;outline-offset:4px}.gm-ready-quiz .gm-postcard-visual{align-self:start}#gm-section-pace{max-width:760px;margin:50px auto;scroll-margin-top:20px}#gm-section-pace li{margin-block:12px}@media (max-width:760px){.gm-ready-quiz .gm-named-result h4{font-size:28px}.gm-ready-quiz .gm-named-result p{font-size:16px}.gm-ready-quiz .gm-quiz-choices{grid-template-columns:1fr!important}.gm-ready-quiz .gm-quiz-choice{min-height:60px}.gm-ready-quiz .cabin-result-insight{padding:16px}}