html, body {
	padding: 0;
	margin: 0;
	overflow: hidden;
	height: 100%;
}

body {
	background: #000000;
	color: white;
}

html, body, canvas {
	touch-action-delay: none;
	touch-action: none;
}

canvas, .c3htmlwrap {
	position: absolute;
}

.c3htmlwrap {
	contain: strict;
}

.c3overlay {
	pointer-events: none;
}

.c3htmlwrap > * {
	pointer-events: auto;
}

/* HACK - work around elements being selectable only in iOS WKWebView for some reason */
html[ioswebview] .c3htmlwrap,
html[ioswebview] canvas {
	-webkit-user-select: none;
	user-select: none;
}

html[ioswebview] .c3htmlwrap > * {
	-webkit-user-select: auto;
	user-select: auto;
}

#notSupportedWrap {
	margin: 2em auto 1em auto;
	width: 75%;
	max-width: 45em;
	border: 2px solid #aaa;
	border-radius: 1em;
	padding: 2em;
	background-color: #f0f0f0;
	font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
	color: black;
}

#notSupportedTitle {
	font-size: 1.8em;
}

.notSupportedMessage {
	font-size: 1.2em;
}

.notSupportedMessage em {
	color: #888;
}

/* bbcode styles */
.bbCodeH1 {
	font-size: 2em;
	font-weight: bold;
}

.bbCodeH2 {
	font-size: 1.5em;
	font-weight: bold;
}

.bbCodeH3 {
	font-size: 1.25em;
	font-weight: bold;
}

.bbCodeH4 {
	font-size: 1.1em;
	font-weight: bold;
}

.bbCodeItem::before {
	content: " • ";
}

/* For text icons converted to HTML: size the height to the line height
   preserving the aspect ratio. Also add position: relative as that allows
   just adding a 'top' style for the iconoffsety style. */
.c3-text-icon {
	height: 1em;
	width: auto;
	position: relative;
}

/* screen reader text */
.c3-screen-reader-text {
	position: absolute;
	width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}
/* Sprint Codes house advertisement */
.sprint-ad-overlay { position: fixed; inset: 0; z-index: 2147483647; display: grid; place-items: center; padding: 16px; box-sizing: border-box; overflow: auto; background: rgba(5, 4, 18, .94); font-family: Arial, sans-serif; touch-action: auto; }
.sprint-ad { width: min(100%, 480px); margin: auto; color: #fff; border: 1px solid #574481; border-radius: 24px; overflow: hidden; background: #120e25; box-shadow: 0 24px 100px #0008; }
.sprint-ad-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; color: #c1b7da; font-size: 10px; letter-spacing: 1.5px; }
.sprint-ad-close { width: 36px; height: 36px; border: 1px solid #685785; border-radius: 50%; background: #ffffff0a; color: white; font-size: 25px; cursor: pointer; }
.sprint-ad-creative { display: flex; flex-direction: column; align-items: center; padding: 28px 32px 30px; text-align: center; text-decoration: none; color: inherit; background: radial-gradient(ellipse at 90% 20%, #8534ff50, transparent 60%), radial-gradient(ellipse at 0% 95%, #2047ff50, transparent 60%), #160e30; }
.sprint-ad-creative img { width: 100%; max-width: 340px; height: auto; margin-bottom: 40px; }
.sprint-ad-label { color: #bca3ff; letter-spacing: 2px; font-size: 11px; font-weight: bold; }
.sprint-ad h1 { font-size: clamp(32px, 7vw, 48px); line-height: 1.06; letter-spacing: -1.5px; margin: 16px 0; }
.sprint-ad p { max-width: 340px; color: #cfc6e5; font-size: 16px; line-height: 1.6; margin: 0 0 26px; }
.sprint-ad-cta { display: flex; gap: 24px; align-items: center; justify-content: center; background: #beff62; color: #19102e; padding: 17px 24px; border-radius: 12px; font-size: 16px; font-weight: bold; }
.sprint-ad-url { margin-top: 16px; color: #b7a7cf; font-size: 13px; }
.sprint-ad-back { display: block; width: 100%; border: 0; padding: 20px; background: #211833; color: white; font: bold 14px Arial, sans-serif; cursor: pointer; }
.sprint-ad-back:hover { background: #322348; }
.sprint-ad :focus-visible { outline: 3px solid #beff62; outline-offset: -4px; }
@media (max-height: 650px) { .sprint-ad-creative { padding: 14px 24px; } .sprint-ad-creative img { max-width: 260px; margin-bottom: 20px; } .sprint-ad h1 { font-size: 32px; } .sprint-ad p { font-size: 14px; margin-bottom: 16px; } }

.legal-links { position: fixed; bottom: max(3px, env(safe-area-inset-bottom)); left: 0; right: 0; z-index: 10000; width: max-content; max-width: 100%; margin: auto; padding: 3px 10px; border-radius: 8px; background: #0b0520e8; color: #ccc1df; font: 11px/1.5 Arial, sans-serif; }
.legal-links a { color: #eee9fa; text-decoration: underline; padding: 3px; }
.legal-links a:focus-visible { outline: 2px solid #beff62; }
