/* Section Guides — guide blocks. Kept neutral so the section theme's own fonts and colours show through. */

/* wide tables scroll sideways on phones instead of squashing */
.sg-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.2em; max-width: 100%; }
.sg-table table { margin: 0; min-width: 560px; }
.sg-table + p.sg-table-hint { display: none; }

/* notes */
.sg-note { margin: 1.2em 0; padding: 10px 14px; border-left: 4px solid #e0a800; background: #fff8e1; color: inherit; font-style: normal; }
.sg-note p { margin: 0 0 .5em; }
.sg-note p:last-child { margin-bottom: 0; }
.sg-note--tip { border-left-color: #1a7fb5; background: #eef6fb; }

/* key facts list */
ul.sg-keys { padding-left: 1.2em; }
ul.sg-keys li { margin-bottom: .35em; }

/* game demo */
.sg-demo { margin: 1.4em 0; border: 1px solid #1c1f26; border-radius: 6px; overflow: hidden; background: #0f1218; color: #fff; }
.sg-demo__stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: radial-gradient(120% 90% at 30% 20%, #2b3a67 0%, #141a2b 55%, #0b0e15 100%); }
.sg-demo--portrait .sg-demo__stage { aspect-ratio: 4 / 3; }
.sg-demo__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.sg-demo__poster, .sg-demo__gate { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 16px; box-sizing: border-box; }
.sg-demo__gate { background: rgba(8, 10, 16, .94); }
.sg-demo__gate[hidden], .sg-demo__poster[hidden] { display: none; }
.sg-demo__name { margin: 0 0 4px; font-size: 1.6em; font-weight: 700; line-height: 1.2; color: #fff; }
.sg-demo__meta { margin: 0 0 14px; font-size: .95em; color: #c9d1e4; }
.sg-demo__small { margin: 10px 0 0; font-size: .8em; color: #aab3c8; }
.sg-demo p { color: inherit; }
.sg-demo__play { appearance: none; border: 0; border-radius: 4px; padding: 11px 22px; background: #f2b705; color: #111; font-weight: 700; font-size: 1em; cursor: pointer; line-height: 1.2; }
.sg-demo__play:hover, .sg-demo__play:focus { background: #ffd23f; }
.sg-demo__no { appearance: none; margin-top: 10px; border: 0; background: none; color: #c9d1e4; text-decoration: underline; cursor: pointer; font-size: .9em; }
.sg-demo__bar { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 8px 12px; background: #1c1f26; font-size: .85em; }
.sg-demo__bar span { flex: 1 1 auto; color: #c9d1e4; }
.sg-demo__bar button, .sg-demo__bar a { appearance: none; border: 1px solid #3a4152; border-radius: 3px; padding: 4px 10px; background: #262b36; color: #fff !important; text-decoration: none !important; font-size: 1em; cursor: pointer; font-weight: normal !important; }
.sg-demo__bar [hidden] { display: none; }
.sg-demo:fullscreen .sg-demo__stage, .sg-demo__stage:fullscreen { aspect-ratio: auto; height: 100%; }

@media (max-width: 640px) {
	.sg-demo__stage, .sg-demo--portrait .sg-demo__stage { aspect-ratio: auto; height: 72vh; min-height: 420px; max-height: 680px; }
	.sg-demo__name { font-size: 1.3em; }
}
