/* Dryckesspel Toolkit – spelappar. Teman kan ändra färger via variablerna. */
.ds-app, .ds-hub, .ds-wg-ov {
	--wg-bg: var(--ds-wg-bg, #3d4561);
	--wg-bg-deep: var(--ds-wg-bg-deep, #2b3147);
	--wg-ink: #fff;
	--wg-muted: rgba(255, 255, 255, .72);
	--wg-accent: var(--ds-accent, #d9334a);
	--wg-gold: var(--ds-cap, #e8a923);
	--wg-ok: #3fbf86;
	--wg-radius: var(--ds-radius, 18px);
}

.ds-wg__sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Startkortet i artikeln ---------- */
.ds-app { margin: 2em 0; }
.ds-app__card {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 16px 20px;
	padding: 22px;
	border-radius: var(--wg-radius);
	background: var(--wg-bg);
	color: var(--wg-ink);
	background-image: radial-gradient(circle at 100% 0, rgba(255, 255, 255, .07) 0 90px, transparent 91px);
}
@media (min-width: 700px) { .ds-app__card { padding: 28px 32px; grid-template-columns: auto 1fr auto; } }
.ds-app__icon { width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; color: var(--wg-gold); }
.ds-app__icon svg { width: 34px; height: 34px; }
.ds-app .ds-app__title { margin: 0 0 4px; color: inherit; font-size: 1.4em; line-height: 1.1; }
.ds-app .ds-app__lead { margin: 0; color: var(--wg-muted); max-width: 52ch; font-size: .97em; }
.ds-app__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (min-width: 700px) { .ds-app__actions { grid-column: auto; } }
.ds-app__actions .ds-wg__btn--go { min-width: 160px; }
.ds-app__link { color: #fff; font-weight: 700; }
.ds-app__start[disabled] { opacity: .6; cursor: progress; }

/* ---------- Hubben: alla spelappar ---------- */
.ds-hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; margin: 0 0 2em; }
.ds-hub .ds-app { margin: 0; }
.ds-hub .ds-app__card { height: 100%; grid-template-columns: auto 1fr; align-content: start; }
.ds-hub .ds-app__actions { grid-column: 1 / -1; margin-top: 4px; }

/* ---------- Formulär i appen ---------- */
.ds-app-form { width: 100%; display: grid; gap: 14px; text-align: left; }
.ds-app-field { display: grid; gap: 6px; }
.ds-app-field__label { font-size: .9rem; color: var(--wg-muted); font-weight: 700; }
.ds-app-field__hint { font-size: .85rem; color: var(--wg-muted); }
.ds-app-select, .ds-app-input {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border-radius: 14px;
	border: 1.5px solid rgba(255, 255, 255, .25);
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font: inherit;
	font-size: 1.05rem;
	font-weight: 600;
}
.ds-app-select { appearance: none; padding-right: 40px; background: rgba(255, 255, 255, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.ds-app-select option { color: #222; }
.ds-app-input::placeholder { color: rgba(255, 255, 255, .5); font-weight: 500; }
.ds-app-input:focus, .ds-app-select:focus { outline: 3px solid var(--wg-gold); outline-offset: 1px; }
textarea.ds-app-input { resize: vertical; min-height: 64px; }
.ds-app-check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--wg-muted); }
.ds-app-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--wg-accent); flex: none; }
.ds-app-form .ds-wg__btn--big { max-width: none; margin-top: 4px; }
.ds-app-inline { display: flex; gap: 8px; width: 100%; }
.ds-app-inline .ds-app-input { min-height: 48px; }

/* Status, regel, noter */
.ds-app-status { display: flex; justify-content: space-between; gap: 12px; width: 100%; font-size: .9rem; font-weight: 700; color: var(--wg-muted); }
.ds-app-status .is-broken { color: var(--wg-gold); }
.ds-app-rule { display: grid; gap: 6px; }
.ds-app-rule__title { margin: 0; color: #fff; font-size: clamp(1.8rem, 8vw, 2.4rem); line-height: 1.05; letter-spacing: -0.02em; }
.ds-app-rule__text { margin: 0; color: var(--wg-muted); font-size: 1.1rem; line-height: 1.45; max-width: 34ch; }
.ds-app-note { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .1); font-weight: 600; }
.ds-app-active { width: 100%; text-align: left; border-radius: 14px; background: rgba(0, 0, 0, .18); }
.ds-app-active summary { padding: 12px 16px; cursor: pointer; font-weight: 700; }
.ds-app-active ul { margin: 0; padding: 0 16px 14px 34px; display: grid; gap: 6px; }
.ds-wg-s__title--sm { font-size: 1.5rem; }

/* ---------- Spelkort ---------- */
.ds-pc-btn { appearance: none; border: 0; background: none; padding: 0; cursor: pointer; border-radius: 16px; }
.ds-pc-btn:focus-visible { outline: 3px solid var(--wg-gold); outline-offset: 4px; }
.ds-pc {
	position: relative;
	width: min(56vw, 34vh, 230px);
	aspect-ratio: 5 / 7;
	border-radius: 16px;
	background: #fff;
	color: #1e2332;
	box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 24px 44px rgba(10, 12, 24, .45);
	font-family: Georgia, "Times New Roman", serif;
	flex: none;
}
.ds-pc.is-red { color: #c8243b; }
.ds-pc--sm { width: min(36vw, 22vh, 150px); }
.ds-pc__corner { position: absolute; top: 8%; left: 9%; display: flex; flex-direction: column; align-items: center; line-height: .95; }
.ds-pc__corner--end { top: auto; left: auto; bottom: 8%; right: 9%; transform: rotate(180deg); }
.ds-pc__rank { font-size: calc(min(56vw, 34vh, 230px) * .2); font-weight: 700; }
.ds-pc__suit { font-size: calc(min(56vw, 34vh, 230px) * .15); }
.ds-pc--sm .ds-pc__rank { font-size: calc(min(36vw, 22vh, 150px) * .2); }
.ds-pc--sm .ds-pc__suit { font-size: calc(min(36vw, 22vh, 150px) * .15); }
.ds-pc__center { position: absolute; inset: 0; display: grid; place-items: center; font-size: calc(min(56vw, 34vh, 230px) * .45); }
.ds-pc--sm .ds-pc__center { font-size: calc(min(36vw, 22vh, 150px) * .45); }
.ds-pc.is-back {
	background-color: var(--wg-accent);
	background-image:
		radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .22) 0 18%, transparent 19%),
		repeating-linear-gradient(45deg, rgba(255, 255, 255, .12) 0 6px, transparent 6px 14px);
	border: 8px solid #fff;
}
.ds-pc.is-flip { animation: ds-pc-flip .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes ds-pc-flip { from { transform: rotateY(90deg) scale(.9); } }

/* ---------- Fuck the dealer ---------- */
.ds-ftd-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: 100%; }
@media (min-width: 420px) { .ds-ftd-grid { grid-template-columns: repeat(7, 1fr); } }
.ds-ftd-grid__btn { min-height: 56px; padding: 0; border-radius: 14px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.3rem; }
.ds-ftd-grid__btn:hover:not([disabled]) { background: rgba(255, 255, 255, .22); }
.ds-ftd-grid__btn[disabled] { opacity: .2; cursor: not-allowed; }
.ds-ftd-hint { margin: 0; display: flex; flex-direction: column; align-items: center; font-size: clamp(2.6rem, 14vw, 4rem); font-weight: 800; line-height: 1; }
.ds-ftd-hint__arrow { font-size: 1.4em; color: var(--wg-gold); }
.ds-ftd-hint.is-down { flex-direction: column-reverse; }
.ds-ftd-board { display: grid; grid-template-columns: repeat(13, 1fr); gap: 3px; width: 100%; padding: 10px 8px; border-radius: 14px; background: rgba(0, 0, 0, .18); }
.ds-ftd-board__col { display: grid; justify-items: center; gap: 4px; font-size: .75rem; font-weight: 700; }
.ds-ftd-board__col.is-done { opacity: .35; }
.ds-ftd-board__pips { display: grid; gap: 2px; }
.ds-ftd-board__pips span { width: 8px; height: 8px; border-radius: 2px; background: rgba(255, 255, 255, .18); }
.ds-ftd-board__pips span.is-on { background: var(--wg-gold); }

/* ---------- Knappar ---------- */
.ds-wg__btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 24px;
	border: 2px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
}
.ds-wg__btn--go { background: var(--wg-accent); color: #fff; }
.ds-wg__btn--go:hover { filter: brightness(1.08); }
.ds-wg__btn--go:active { transform: translateY(1px); }
.ds-wg__btn--big { min-height: 64px; font-size: 1.25rem; width: 100%; max-width: 420px; }
.ds-wg__btn--ghost { background: transparent; color: var(--wg-ink); border-color: rgba(255, 255, 255, .3); }
.ds-wg__btn:focus-visible { outline: 3px solid var(--wg-gold); outline-offset: 3px; }
.ds-wg__icon { min-height: 44px; width: 44px; padding: 0; background: rgba(255, 255, 255, .1); color: #fff; }
.ds-wg__swap {
	min-height: 40px;
	padding: 0 16px;
	font-size: .9rem;
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

/* ---------- Helskärm ---------- */
html.ds-wg-open, html.ds-wg-open body { overflow: hidden; }
.ds-wg-ov {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100dvh;
	background: var(--wg-bg);
	color: var(--wg-ink);
	font-family: inherit;
	transition: background-color .4s ease;
	padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.ds-wg-ov.is-hurry { background: #8a6418; }
.ds-wg-ov.is-final { background: #8f2232; animation: ds-wg-pulse 1s ease-in-out infinite; }
@keyframes ds-wg-pulse { 50% { background: #b1293d; } }
.ds-wg-ov[data-screen="win"] { background: #22694f; }

.ds-wg-ov__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.ds-wg-ov__team { font-weight: 800; font-size: 1.05rem; }
.ds-wg-ov__tools { display: flex; gap: 8px; }
.ds-wg-ov__stage { flex: 1; display: flex; overflow-y: auto; }

.ds-wg-s {
	margin: auto;
	width: 100%;
	max-width: 560px;
	padding: 16px 20px 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
}
.ds-app-who {
	margin: 0;
	color: var(--wg-gold);
	font-size: clamp(2rem, 9vw, 2.75rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
}
.ds-wg-s__kicker { margin: 0; color: var(--wg-gold); font-weight: 800; font-size: 1.05rem; }
.ds-wg-s__title { margin: 0; color: #fff; font-size: clamp(1.8rem, 7vw, 2.6rem); line-height: 1.05; letter-spacing: -0.02em; }
.ds-wg-s__text { margin: 0; color: var(--wg-muted); max-width: 36ch; }

/* Ordlista */
.ds-wg-words { list-style: none; margin: 4px 0; padding: 0; width: 100%; display: grid; gap: 10px; counter-reset: wg; }
.ds-wg-words__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 14px 14px 18px;
	border-radius: 16px;
	background: rgba(255, 255, 255, .1);
	text-align: left;
}
.ds-wg-words__word { flex: 1; font-size: clamp(1.6rem, 7.5vw, 2.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.ds-wg-words--result .ds-wg-words__word { font-size: 1.4rem; }
.ds-wg-words__mark { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.ds-wg-words__item.is-ok .ds-wg-words__mark { background: var(--wg-ok); }
.ds-wg-words__item.is-miss .ds-wg-words__mark { background: var(--wg-accent); }
.ds-wg-words__item.is-miss .ds-wg-words__word { opacity: .85; }

/* 3-2-1 */
.ds-wg-count { margin: 0; font-size: 9rem; font-weight: 800; line-height: 1; }
.ds-wg-count.is-pop { animation: ds-wg-pop .4s ease; }
@keyframes ds-wg-pop { from { transform: scale(1.4); opacity: .4; } }

/* Timer */
.ds-wg-ring { position: relative; width: min(72vw, 52vh, 340px); aspect-ratio: 1; }
.ds-wg-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); display: block; }
.ds-wg-ring circle { fill: none; stroke-width: 9; }
.ds-wg-ring__bg { stroke: rgba(255, 255, 255, .15); }
.ds-wg-ring__fg { stroke: var(--wg-gold); stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 0; }
.is-final .ds-wg-ring__fg { stroke: #fff; }
.ds-wg-ring__num {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: min(30vw, 22vh, 150px);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.04em;
}
.is-final .ds-wg-ring__num { animation: ds-wg-beat 1s ease-in-out infinite; }
@keyframes ds-wg-beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } }

.ds-wg-progress { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; color: var(--wg-muted); }
.ds-wg-dots { display: flex; gap: 8px; }
.ds-wg-dots__d { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.ds-wg-dots__d.is-on { background: var(--wg-ok); }
.ds-wg-actions { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ds-wg-actions .ds-wg__btn--ghost { touch-action: none; -webkit-touch-callout: none; }
.ds-wg-peek {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	margin: 0;
	padding: 24px 32px;
	border-radius: 20px;
	background: #fff;
	color: #1e2332;
	font-size: clamp(2rem, 10vw, 3rem);
	font-weight: 800;
	box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
	pointer-events: none;
	max-width: 90vw;
	overflow-wrap: anywhere;
}

.ds-wg-penalty {
	margin: 0;
	padding: 14px 18px;
	border-radius: 14px;
	background: rgba(0, 0, 0, .2);
	font-weight: 700;
	font-size: 1.1rem;
}
.ds-wg-score { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 320px; display: grid; gap: 6px; }
.ds-wg-score li { display: flex; justify-content: space-between; padding: 8px 14px; border-radius: 10px; background: rgba(255, 255, 255, .08); }
.ds-wg-score li.is-current { background: rgba(255, 255, 255, .18); }

/* ---------- Gemensamt för de nya apparna ---------- */
.ds-app-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.ds-app-seg__btn {
	flex: 1 1 auto;
	min-height: 48px;
	padding: 0 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, .2);
	font-size: 1rem;
}
.ds-app-seg__btn[aria-checked="true"] { background: #fff; color: var(--wg-bg-deep); border-color: #fff; }
.ds-app-seg--sm .ds-app-seg__btn { min-height: 38px; font-size: .85rem; padding: 0 12px; }
.ds-app-levelbar { width: 100%; margin-top: 8px; opacity: .9; }
.ds-app-levelbar .ds-app-seg { justify-content: center; }
.ds-app-levelbar .ds-app-seg__btn { flex: 0 1 auto; }

.ds-app-statement {
	margin: 0;
	width: 100%;
	padding: 28px 22px;
	border-radius: 22px;
	background: #fff;
	color: #1e2332;
	font-size: clamp(1.45rem, 6.5vw, 2.1rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
	box-shadow: 0 24px 44px rgba(10, 12, 24, .35);
	overflow-wrap: anywhere;
}
.ds-app-statement__lead { display: block; margin-bottom: 6px; font-size: .55em; font-weight: 700; color: var(--wg-accent); letter-spacing: 0; }
.ds-wg-count--word { font-size: clamp(4rem, 22vw, 7rem); color: var(--wg-gold); }
.ds-app-duo, .ds-app-trio { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.ds-app-trio { grid-template-columns: repeat(3, 1fr); }
.ds-app-duo .ds-wg__btn--big, .ds-app-trio .ds-wg__btn--big { max-width: none; }
.ds-app-trio .ds-wg__btn--big { font-size: 2rem; min-height: 88px; border-radius: 22px; }
.ds-wg__btn--alt { background: var(--wg-gold); color: #1e2332; }
.ds-app-who--placeholder { opacity: .35; }
.ds-wg-ring--sm { width: min(52vw, 34vh, 220px); }
.ds-wg-ring--sm .ds-wg-ring__num { font-size: min(20vw, 13vh, 90px); }

/* Flaskan */
.ds-bottle { width: min(86vw, 46vh, 380px); aspect-ratio: 1; }
.ds-bottle__ring { position: relative; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .07) 0 62%, transparent 63%); }
.ds-bottle__name {
	position: absolute;
	transform: translate(-50%, -50%);
	width: max-content;
	max-width: 34%;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	font-weight: 700;
	font-size: .9rem;
	line-height: 1.2;
	text-align: center;
	overflow-wrap: anywhere;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.ds-bottle__name.is-picked { background: var(--wg-gold); color: #1e2332; transform: translate(-50%, -50%) scale(1.15); }
.ds-bottle { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: grab; }
.ds-bottle.is-charging { cursor: grabbing; }
.ds-bottle__meter { position: absolute; inset: 14%; pointer-events: none; }
.ds-bottle__meter svg { width: 100%; height: 100%; transform: rotate(-90deg); display: block; }
.ds-bottle__meter circle { fill: none; stroke: var(--wg-gold); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; opacity: 0; transition: opacity .2s ease; }
.ds-bottle.is-charging .ds-bottle__meter circle { opacity: 1; }
.ds-bottle.is-charging .ds-bottle__bottle svg { filter: drop-shadow(0 0 14px rgba(232, 169, 35, .55)) drop-shadow(0 8px 12px rgba(0, 0, 0, .35)); }
.ds-bottle__hint { margin: 0; color: var(--wg-muted); font-size: .9rem; }
.ds-bottle__bottle { position: absolute; left: 50%; top: 50%; width: 22%; transform: translate(-50%, -50%) rotate(0deg); transform-origin: 50% 50%; }
.ds-bottle__bottle svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .35)); }

/* Tärningar */
.ds-dice { display: flex; gap: 18px; justify-content: center; margin: 8px 0; }
.ds-die {
	width: min(30vw, 20vh, 120px);
	aspect-ratio: 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr);
	padding: 13%;
	gap: 6%;
	border-radius: 22%;
	background: #fff;
	box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .08), 0 18px 34px rgba(10, 12, 24, .4);
}
.ds-die__pip { border-radius: 50%; }
.ds-die__pip.is-on { background: #1e2332; }
.ds-dice.is-rolling .ds-die { animation: ds-die-shake .12s linear infinite; }
.ds-dice.is-idle .ds-die { opacity: .35; }
@keyframes ds-die-shake { 25% { transform: rotate(-8deg) translateY(-3px); } 75% { transform: rotate(8deg) translateY(2px); } }
.ds-app-claim { display: grid; gap: 4px; padding: 18px 24px; border-radius: 20px; background: rgba(255, 255, 255, .1); }
.ds-app-claim__who { color: var(--wg-muted); font-weight: 700; }
.ds-app-claim__value { font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.05; }
.ds-app-claimpick { width: 100%; display: grid; gap: 10px; }
.ds-app-claims { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; width: 100%; }
.ds-app-claims__btn { min-height: 52px; padding: 6px 10px; border-radius: 14px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1rem; line-height: 1.15; }
.ds-app-claims__btn.is-true { background: var(--wg-gold); color: #1e2332; }
.ds-app-badge { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.ds-app-badge__btn { min-height: 34px; padding: 0 12px; font-size: .85rem; background: rgba(255, 255, 255, .15); color: #fff; }
.ds-app-results { display: grid; gap: 8px; width: 100%; min-height: 3em; }
.ds-app-result { display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); text-align: left; }
.ds-app-result strong { font-size: 1.2rem; }
.ds-app-result span { color: var(--wg-muted); }

/* Sten, sax, påse */
.ds-rps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.ds-rps__btn { flex-direction: column; min-height: 130px; border-radius: 22px; background: rgba(255, 255, 255, .12); color: #fff; gap: 6px; padding: 10px; }
.ds-rps__icon { font-size: 3rem; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.ds-rps-duel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.ds-rps-duel__side { display: grid; justify-items: center; gap: 4px; padding: 16px 8px; border-radius: 20px; background: rgba(0, 0, 0, .18); }
.ds-rps-duel__side.is-win { background: rgba(255, 255, 255, .16); outline: 3px solid var(--wg-gold); }
.ds-rps-duel__side .ds-rps__icon { font-size: 4.5rem; }

/* Kapten */
.ds-app-combo { margin: 0; padding: 0 0 0 1.6em; width: 100%; text-align: left; display: grid; gap: 6px; font-size: 1.15rem; font-weight: 700; }
.ds-app-combo li { padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.ds-app-combo li::marker { color: var(--wg-gold); font-weight: 800; }
.ds-app-combo li.is-new { background: var(--wg-gold); color: #1e2332; animation: ds-wg-pop .4s ease; }
.ds-app-combo__drink { list-style: none; margin-left: -1.6em; background: var(--wg-accent) !important; text-align: center; }

/* Liggande mobil: timer och knappar bredvid varandra */
@media (orientation: landscape) and (max-height: 500px) {
	.ds-wg-s--run { flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: 900px; }
	.ds-wg-ring { width: min(70vh, 280px); }
	.ds-wg-ring__num { font-size: min(26vh, 110px); }
	.ds-wg-actions { width: auto; flex: 1 1 260px; }
}

@media (prefers-reduced-motion: reduce) {
	.ds-pc.is-flip,
	.ds-wg-ov.is-final, .is-final .ds-wg-ring__num, .ds-wg-count.is-pop { animation: none; }
}

/* ---------- Hubben i grupper ---------- */
.ds-hub-groups { display: grid; gap: 40px; }
.ds-hub-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-hub-nav a { padding: 8px 16px; border-radius: 999px; background: var(--ds-surface, #eef1f7); text-decoration: none; font-weight: 700; color: inherit; }
.ds-hub-nav a:hover { background: var(--wg-bg); color: #fff; }
.ds-hub-group { scroll-margin-top: 24px; }
.ds-hub-group__title { margin: 0 0 16px; font-size: 1.6rem; }
.ds-hub .ds-app .ds-app__title { font-size: 1.3rem; }

.ds-bottle__btn { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.ds-bottle__btn.is-busy { opacity: .7; pointer-events: none; }
