/* Additions on top of the Golden Engine stylesheets: sign-in pages, the call view, the after-call questions. */
[hidden] { display: none !important; }
.gt-signout { font-size: 13px; font-weight: 600; color: #6a7282; background: none; border: 1px solid #e5e7eb; border-radius: 8px; padding: 6px 12px; cursor: pointer; margin-left: auto; }
.gt-signout:hover { background: #f9fafb; color: #101828; }

/* call view */
.gt-stage { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; border: 1px solid #f3f4f6; background: #000; box-shadow: inset 0 2px 4px rgb(0 0 0 / .05); }
@media (min-width: 640px) { .gt-stage { aspect-ratio: 16 / 9; } }
.gt-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gt-pill { display: flex; align-items: center; gap: 6px; border-radius: 999px; background: #fffbeb; padding: 4px 12px; font-size: 12px; line-height: 16px; font-weight: 700; color: #bb4d00; }
.gt-pill b { font-weight: 700; }
.gt-pill i { width: 6px; height: 6px; border-radius: 999px; background: #fe9a00; animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
.gt-pill.live { background: #ecfdf5; color: #007a55; animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
.gt-pill.live i { background: #00bc7d; animation: none; }
.gt-outline { display: flex; height: 32px; align-items: center; gap: 6px; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; padding: 0 12px; font-size: 12px; font-weight: 600; color: #364153; cursor: pointer; align-self: flex-start; }
.gt-outline:hover { background: #f9fafb; }

/* buttons shared by modal and sign-in */
.gt-dark { font: inherit; font-size: 14px; font-weight: 600; color: #fff; background: #101828; border: 0; border-radius: 10px; padding: 11px 20px; cursor: pointer; }
.gt-dark:hover { background: #000; }
.gt-dark:disabled { opacity: .5; cursor: not-allowed; }
.gt-ghost { font: inherit; font-size: 14px; font-weight: 600; color: #4a5565; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 11px 20px; cursor: pointer; }
.gt-ghost:hover { background: #f9fafb; }
.gt-err { min-height: 18px; margin: 10px 0 0; font-size: 13px; font-weight: 500; color: #e7000b; }

/* after-call questions */
.gt-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 24px 16px; overflow-y: auto; background: rgb(16 24 40 / .55); }
.gt-modal { width: 100%; max-width: 560px; margin: auto; background: #fff; border: 1px solid #e5e7eb; border-radius: 24px; padding: 28px; box-shadow: 0 20px 50px rgb(0 0 0 / .25); }
.gt-modal-head h2 { font-size: 22px; font-weight: 900; letter-spacing: -.02em; color: #101828; }
.gt-modal-head p { margin-top: 4px; font-size: 13px; font-weight: 500; color: #6a7282; }
.gt-q { margin-top: 22px; border: 0; padding: 0; }
.gt-q legend, .gt-q-label { display: block; font-size: 14px; font-weight: 700; color: #101828; margin-bottom: 10px; }
.gt-q-label { margin-top: 22px; }
.gt-q-label span { font-weight: 500; color: #99a1af; }
.gt-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gt-opt { position: relative; }
.gt-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.gt-opt span { display: block; text-align: center; font-size: 13px; font-weight: 600; color: #364153; border: 2px solid #f3f4f6; border-radius: 12px; padding: 10px 8px; transition: border-color .15s, background .15s; }
.gt-opt:hover span { border-color: #e5e7eb; }
.gt-opt input:checked + span { border-color: #155dfc; background: #eff6ff; color: #1447e6; }
.gt-opt input:focus-visible + span { outline: 2px solid #155dfc; outline-offset: 2px; }
.gt-modal textarea { width: 100%; font: inherit; font-size: 14px; color: #101828; border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px 12px; resize: vertical; background: #fff; }
.gt-modal textarea:focus { outline: 2px solid #155dfc; outline-offset: 1px; }
.gt-modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.gt-thanks { margin-top: 18px; font-size: 15px; font-weight: 600; color: #101828; }
@media (max-width: 420px) { .gt-opts { grid-template-columns: 1fr; } .gt-modal { padding: 20px; } }

/* sign-in and invite pages */
.gt-auth { min-height: 100vh; background: #fff; display: flex; flex-direction: column; }
.gt-auth-logo { display: flex; align-items: center; gap: 8px; padding: 32px 40px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: #000; text-decoration: none; }
.gt-auth-box { width: 100%; max-width: 384px; margin: 40px auto; padding: 0 16px 60px; }
.gt-auth-box h1 { font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: #101828; }
.gt-auth-box .sub { margin: 8px 0 28px; font-size: 14px; color: #6a7282; }
.gt-auth-box label { display: block; font-size: 14px; font-weight: 500; color: #101828; margin-bottom: 18px; }
.gt-auth-box input { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 14px; color: #101828; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 10px 12px; }
.gt-auth-box input:focus { outline: 2px solid #155dfc; outline-offset: 1px; }
.gt-auth-box input[readonly] { background: #f9fafb; color: #6a7282; }
.gt-auth-box .gt-dark { width: 100%; margin-top: 6px; }
.gt-auth-box .note { margin-top: 18px; font-size: 13px; color: #6a7282; }
.gt-auth-box .note a { color: #101828; font-weight: 600; }

/* results page */
.gt-results { max-width: 1100px; margin: 0 auto; padding: 32px 16px 60px; }
.gt-results h1 { font-size: 26px; font-weight: 900; letter-spacing: -.02em; color: #101828; }
.gt-results .sub { margin: 6px 0 24px; font-size: 14px; color: #6a7282; }
.gt-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 20px; margin-bottom: 14px; }
.gt-card h3 { font-size: 15px; font-weight: 700; color: #101828; }
.gt-card .meta { font-size: 12px; color: #6a7282; margin: 2px 0 12px; }
.gt-card dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; font-size: 13px; }
.gt-card dt { color: #4a5565; }
.gt-card dd { font-weight: 700; color: #101828; text-align: right; }
.gt-card .comment { margin-top: 12px; padding-top: 12px; border-top: 1px solid #f3f4f6; font-size: 13px; color: #364153; white-space: pre-wrap; }

/* Loading screen drawn over the embed while the double gets ready. Same layout, sizes and colours as the
   loading panel in the Golden Engine app (its "default" variant); the keyframes come from the app stylesheet. */
.gt-load { position: absolute; inset: 0; z-index: 15; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(145deg, #0a0b0e 0%, #111318 50%, #0d0e12 100%); transition: opacity .7s ease; }
.gt-load.out { opacity: 0; pointer-events: none; }
.gt-load-bg { position: absolute; inset: 0; overflow: hidden; }
.gt-load-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); opacity: .6; filter: blur(28px) brightness(.35) saturate(1.2); }
.gt-load-veil { position: absolute; inset: 0; background: rgb(0 0 0 / .4); backdrop-filter: blur(64px); -webkit-backdrop-filter: blur(64px); }
.gt-load-glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.gt-load-glow i { position: absolute; border-radius: 999px; }
.gt-load-glow i:nth-child(1) { top: 50%; left: 50%; width: 384px; height: 384px; margin: -192px 0 0 -192px; background: rgb(37 99 235 / .1); filter: blur(120px); animation: breathe 4s ease-in-out infinite; }
.gt-load-glow i:nth-child(2) { top: 15%; left: 20%; width: 112px; height: 112px; background: rgb(37 99 235 / .06); filter: blur(64px); animation: float 7s ease-in-out infinite; }
.gt-load-glow i:nth-child(3) { right: 15%; bottom: 20%; width: 144px; height: 144px; background: rgb(173 70 255 / .06); filter: blur(64px); animation: float 9s ease-in-out infinite 2s; }
.gt-load-glow i:nth-child(4) { top: 60%; left: 65%; width: 80px; height: 80px; background: rgb(81 162 255 / .05); filter: blur(40px); animation: float 6s ease-in-out infinite 1s; }
.gt-load-body { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; padding: 0 24px; text-align: center; }
.gt-load-face { position: relative; margin-bottom: 40px; }
.gt-load-face svg { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); transform: rotate(-90deg); }
.gt-load-face svg circle:last-child { transition: stroke-dashoffset .3s ease; }
.gt-load-halo { position: absolute; inset: -24px; border-radius: 999px; border: 1px solid rgb(37 99 235 / .15); animation: breathe 3s ease-in-out infinite; }
.gt-load-pic { position: relative; width: 96px; height: 96px; overflow: hidden; border-radius: 999px; border: 2px solid rgb(255 255 255 / .1); background: rgb(255 255 255 / .05); box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25); }
.gt-load-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 999px; }
.gt-load-pic span { position: absolute; inset: 0; background: linear-gradient(to right, transparent, rgb(255 255 255 / .1), transparent); animation: shimmer-slide 2.5s ease-in-out infinite; }
.gt-load h2 { margin-bottom: 12px; max-width: 384px; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -.025em; color: rgb(255 255 255 / .9); animation: message-fade .5s ease; }
.gt-load-stage { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 20px; font-weight: 500; color: rgb(255 255 255 / .4); }
.gt-load-dots { display: flex; align-items: center; gap: 6px; }
.gt-load-dots b { display: inline-block; width: 10px; height: 10px; border-radius: 999px; background: #2563eb; animation: dot-bounce 1.4s ease-in-out infinite; }
.gt-load-dots b:nth-child(2) { background: rgb(37 99 235 / .7); animation-delay: .2s; }
.gt-load-dots b:nth-child(3) { background: rgb(37 99 235 / .4); animation-delay: .4s; }
.gt-load-bar { margin-top: 32px; width: 224px; height: 6px; overflow: hidden; border-radius: 999px; background: rgb(255 255 255 / .08); }
.gt-load-bar div { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(to right, rgb(37 99 235 / .6), #2563eb, #3b82f6); transition: width .3s ease; }
.gt-load-pct { margin-top: 10px; font-size: 12px; line-height: 16px; font-weight: 500; font-variant-numeric: tabular-nums; color: rgb(255 255 255 / .3); }
.gt-load-net { margin-top: 20px; display: flex; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid rgb(0 188 125 / .2); background: rgb(0 188 125 / .1); padding: 8px 16px; font-size: 12px; line-height: 16px; font-weight: 500; color: #5ee9b5; animation: network-banner-enter .4s ease-out both; }
.gt-load-net.fair { border-color: rgb(253 154 0 / .2); background: rgb(253 154 0 / .1); color: #ffd230; }
@media (min-width: 640px) { .gt-load-pic { width: 112px; height: 112px; } .gt-load h2 { font-size: 24px; line-height: 32px; } }

/* full screen call */
.gt-callbtns { display: flex; gap: 8px; align-self: flex-start; }
.gt-stage.fs { position: fixed; inset: 0; z-index: 200; width: 100vw; height: 100vh; height: 100dvh; aspect-ratio: auto; border: 0; border-radius: 0; }
.gt-stage:fullscreen { width: 100vw; height: 100vh; aspect-ratio: auto; border: 0; border-radius: 0; }
.gt-fs-exit { display: none; position: absolute; top: 60px; right: 16px; z-index: 30; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgb(255 255 255 / .2); background: rgb(0 0 0 / .45); color: #fff; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.gt-stage.fs .gt-fs-exit { display: flex; }
.gt-fs-exit:hover { background: rgb(0 0 0 / .65); }

/* connection notice at the top of the page */
.gt-notice{margin:0 0 24px;padding:12px 16px;border:1px solid #B2DDFF;border-radius:12px;background:#EFF8FF;color:#175CD3;font-size:13px;line-height:1.5;font-weight:500}
.gt-notice b{font-weight:700;color:#1849A9}

/* brand: Golden Double + small line under it */
.gt-brand{display:flex;flex-direction:column;line-height:1.15;white-space:nowrap}
.gt-brand small{font-size:9px;font-weight:500;letter-spacing:0;color:#667085;margin-top:2px}

.gt-notice-dark{margin-bottom:10px;border-color:#D0D5DD;background:#fff;color:#101828}
.gt-notice-dark b{color:#101828}
