/* =====================================================================
 * トップページ右の枠の下: 「今日の一行」と「用語ガチャ」（タブ・スワイプで切り替え）
 * サイトの白とオレンジで、初めての人にもこわくない見た目に。
 * ================================================================== */

.hub {
	--ol-bg: #fffdf8;
	--ol-panel: #fff4e1;
	--ol-line: #efdcc2;
	--ol-line-strong: #e2c49c;
	--ol-text: #2a1f16;
	--ol-dim: #86705c;
	--ol-green: #1a8f5a;
	--ol-green-soft: #e3f5ea;
	--ol-red: #d62839;
	--ol-red-soft: #fde8ea;
	--ol-accent: #c24400;
	--ol-brand: var(--kabocy-color-primary, #ff5b00);
	--ol-mono: ui-monospace, "SFMono-Regular", Consolas, "BIZ UDGothic", "Noto Sans Mono CJK JP", monospace;
	--ol-spring: cubic-bezier(0.2, 1.5, 0.4, 1);

	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 0;
	border: 2px solid var(--ol-line);
	border-radius: 16px;
	background: var(--ol-bg);
	color: var(--ol-text);
	box-shadow: 0 6px 0 -2px rgba(194, 68, 0, 0.12);
	overflow: hidden;
	box-sizing: border-box;
}
.hub *,
.hub *::before,
.hub *::after {
	box-sizing: border-box;
}
.hub :focus-visible {
	outline: 3px solid #1e63b0;
	outline-offset: 2px;
}

/* タブ（動く丸い下地） */
.hub__tabs {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 10px 10px 0;
	padding: 4px;
	border-radius: 999px;
	background: var(--ol-panel);
}
.hub__pill {
	position: absolute;
	top: 4px;
	bottom: 4px;
	left: 4px;
	width: calc(50% - 4px);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 2px 6px rgba(120, 60, 0, 0.14);
	transform: translateX(calc(var(--p, 0) * 100%));
	transition: transform 0.45s var(--ol-spring);
}
.hub.is-dragging .hub__pill {
	transition: none;
}
.hub__tab {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 36px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--ol-dim);
	font: inherit;
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	transition: color 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}
.hub__tab svg {
	width: 16px;
	height: 16px;
}
.hub__tab[aria-selected="true"] {
	color: var(--ol-accent);
}
.hub__dot {
	position: absolute;
	top: 6px;
	right: 14px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ol-brand);
	animation: hub-ping 1.6s ease-out infinite;
}
.hub__dot[hidden] {
	display: none;
}

/* 横に並べて、スワイプで送る */
.hub__track {
	display: flex;
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
}
.hub__track::-webkit-scrollbar {
	display: none;
}
.hub__panel {
	flex: 0 0 100%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	overflow-y: auto;
}
.hub--single .ol {
	flex: 1 1 auto;
}

/* ---------------------------------------------------------------------
 * 今日の一行
 * ------------------------------------------------------------------ */

.ol {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 16px 12px;
	color: var(--ol-text);
}
.ol__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
}
.ol__title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--ol-text);
}
.hub:not(.hub--single) .ol__title {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.ol__ps {
	color: var(--ol-green);
	font-family: var(--ol-mono);
	font-weight: 700;
}
.ol__no {
	font-family: var(--font-din, var(--ol-mono));
	font-size: 15px;
	color: var(--ol-dim);
}
.ol__level {
	padding: 0 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 20px;
	background: var(--ol-green-soft);
	color: #11653f;
}
.ol__level--2 { background: #e2edfb; color: #164c8a; }
.ol__level--3 { background: #fdebd3; color: #97470a; }
.ol__level--4 { background: var(--ol-brand); color: #fff; }
.ol__streak {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin-left: auto;
	padding: 0 8px;
	border-radius: 999px;
	background: #fff0e3;
	color: var(--ol-accent);
	font-size: 12px;
	font-weight: 700;
	line-height: 22px;
}
.ol__streak[hidden] {
	display: none;
}
.ol__streak svg {
	width: 13px;
	height: 13px;
	color: var(--ol-brand);
}
.ol__streak.is-pop {
	animation: ol-pop 0.6s var(--ol-spring);
}

.ol__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ol__prompt {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--ol-accent);
}
.ol__context {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
}
.ol__out,
.ol__hint {
	margin: 0;
	padding: 8px 10px;
	border: 1px dashed var(--ol-line-strong);
	border-radius: 10px;
	background: var(--ol-panel);
	color: var(--ol-text);
	font-family: var(--ol-mono);
	font-size: 12.5px;
	line-height: 1.6;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	max-height: 11em;
	overflow: auto;
}
.ol__hint b {
	color: var(--ol-brand);
	font-weight: 700;
}
.ol__risk {
	margin: 0;
	font-size: 12px;
	color: var(--ol-red);
}

/* 選ぶ（ころんとしたキー） */
.ol__choices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}
.ol__choices--lines {
	grid-template-columns: minmax(0, 1fr);
}
.ol__choice {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding: 7px 10px 9px;
	border: 1.5px solid var(--ol-line);
	border-bottom-width: 4px;
	border-radius: 12px;
	background: #fff;
	color: var(--ol-text);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: transform 0.12s ease, border-color 0.2s ease, background-color 0.2s ease, opacity 0.3s ease;
	-webkit-tap-highlight-color: transparent;
}
.ol__choice code {
	min-width: 0;
	padding: 0;
	background: none;
	color: inherit;
	font-family: var(--ol-mono);
	font-size: 14px;
	overflow-wrap: anywhere;
}
.ol__choice:hover:not(:disabled) {
	border-color: #ffb27a;
	background: #fffaf3;
	transform: translateY(-1px);
}
.ol__choice:active:not(:disabled) {
	transform: translateY(2px);
	border-bottom-width: 2px;
	margin-top: 2px;
}
.ol__key {
	flex: none;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 7px;
	background: var(--ol-panel);
	color: var(--ol-accent);
	font-family: var(--ol-mono);
	font-size: 11px;
	font-weight: 700;
}
.ol__choice:disabled {
	cursor: default;
}
.ol__choice.is-wait {
	border-color: var(--ol-brand);
}
.ol__choice.is-wait .ol__key {
	animation: ol-blink 0.6s steps(1) infinite;
}
.ol__choice.is-wrong {
	border-color: #f3b7bf;
	background: var(--ol-red-soft);
	color: #a3172a;
	text-decoration: line-through;
	animation: ol-shake 0.45s ease;
}
.ol__choice.is-right {
	border-color: var(--ol-green);
	background: var(--ol-green-soft);
	color: #0f5a37;
	animation: ol-pop 0.55s var(--ol-spring);
	box-shadow: 0 0 0 4px rgba(26, 143, 90, 0.15);
}
.ol__choice.is-right .ol__key {
	background: var(--ol-green);
	color: #fff;
}
.ol__choices.is-done .ol__choice:not(.is-right):not(.is-wrong) {
	opacity: 0.5;
}

/* 打つ */
.ol__term {
	display: flex;
	gap: 8px;
	align-items: stretch;
}
.ol__termline {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	padding: 0 10px;
	border: 2px solid var(--ol-line);
	border-radius: 12px;
	background: #fff;
}
.ol__input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ol-text);
	font-family: var(--ol-mono);
	font-size: 16px;
	caret-color: var(--ol-brand);
}
.ol__input:focus {
	outline: none;
}
.ol__termline:focus-within {
	border-color: var(--ol-brand);
	box-shadow: 0 0 0 4px rgba(255, 91, 0, 0.14);
}
.ol__termline.is-wrong {
	border-color: var(--ol-red);
	animation: ol-shake 0.45s ease;
}
.ol__run {
	flex: none;
	min-width: 64px;
	padding: 0 14px;
	border: 0;
	border-radius: 12px;
	background: var(--ol-brand);
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.12s ease;
}
.ol__run:active {
	transform: translateY(2px);
}
.ol__run:disabled {
	opacity: 0.5;
}
.ol__tries {
	display: flex;
	gap: 4px;
	align-items: center;
	margin: 0;
	font-size: 11px;
	color: var(--ol-dim);
}
.ol__tries i {
	width: 9px;
	height: 9px;
	border-radius: 3px;
	background: var(--ol-line);
}
.ol__tries i.is-miss {
	background: var(--ol-red);
}
.ol__tries i.is-hit {
	background: var(--ol-green);
}
.ol__msg {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--ol-accent);
}
.ol__msg:empty {
	display: none;
}

/* 結果 */
.ol__result {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 10px;
	border-top: 1px dashed var(--ol-line-strong);
}
.ol__result[hidden] {
	display: none;
}
.ol__verdict {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
}
.ol__verdict.is-ok {
	color: var(--ol-green);
}
.ol__verdict.is-ng {
	color: var(--ol-accent);
}
.ol__screen {
	margin: 0;
	padding: 8px 12px;
	border-radius: 10px;
	background: #2a1f16;
	color: #f3e9dc;
	font-family: var(--ol-mono);
	font-size: 12.5px;
	line-height: 1.6;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	max-height: 12em;
	overflow: auto;
}
.ol__screen .ol__ps {
	margin-right: 6px;
	color: #8fd18f;
}
.ol__screen .ol__dim {
	color: #c9b8a4;
}
.ol__caret {
	display: inline-block;
	width: 0.55em;
	height: 1.05em;
	vertical-align: -0.18em;
	background: #f3e9dc;
	animation: ol-blink 1s steps(1) infinite;
}
.ol__explain {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
}
.ol__explain b {
	font-family: var(--ol-mono);
	color: var(--ol-accent);
}
.ol__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
	margin: 0;
	text-align: center;
}
.ol__stats div {
	padding: 6px 4px;
	border-radius: 10px;
	background: var(--ol-panel);
}
.ol__stats dt {
	font-size: 10.5px;
	color: var(--ol-dim);
}
.ol__stats dd {
	margin: 0;
	font-family: var(--font-din, var(--ol-mono));
	font-size: 20px;
	line-height: 1.2;
}
.ol__links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.ol__btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 36px;
	padding: 0 12px;
	border: 1.5px solid var(--ol-line-strong);
	border-radius: 999px;
	background: #fff;
	color: var(--ol-text);
	font: inherit;
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.12s ease, background-color 0.2s ease;
}
.ol__btn:hover {
	background: var(--ol-panel);
	color: var(--ol-text);
}
.ol__btn:active {
	transform: translateY(1px);
}
.ol__btn--lab {
	border-color: var(--ol-brand);
	background: var(--ol-brand);
	color: #fff;
}
.ol__btn--lab:hover {
	background: #e04f00;
	color: #fff;
}
.ol__yesterday {
	margin: 0;
	font-size: 11.5px;
	color: var(--ol-dim);
}
.ol__yesterday a {
	color: var(--ol-dim);
}
.ol__yesterday code {
	background: none;
	color: var(--ol-text);
	font-family: var(--ol-mono);
}
.ol__foot {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 8px;
	border-top: 1px solid var(--ol-line);
	font-size: 11.5px;
	color: var(--ol-dim);
}
.ol__foot b {
	font-family: var(--font-din, var(--ol-mono));
	font-size: 14px;
	font-weight: 400;
	color: var(--ol-text);
	font-variant-numeric: tabular-nums;
}
.ol__noscript {
	margin: 0;
	font-size: 12px;
	color: var(--ol-dim);
}
.ol__toast,
.gc__toast {
	position: absolute;
	left: 50%;
	bottom: 44px;
	z-index: 5;
	margin: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--ol-text);
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	white-space: nowrap;
	opacity: 0;
	transform: translate(-50%, 8px);
	transition: opacity 0.2s ease, transform 0.3s var(--ol-spring);
	pointer-events: none;
}
.ol__toast.is-on,
.gc__toast.is-on {
	opacity: 1;
	transform: translate(-50%, 0);
}

.ol.is-flip .ol__body {
	animation: ol-flip 0.6s var(--ol-spring);
}
.ol.is-win {
	animation: ol-win 1.2s ease;
}
.ol__bit,
.gc__bit {
	position: absolute;
	z-index: 4;
	width: 7px;
	height: 11px;
	border-radius: 2px;
	pointer-events: none;
}
.ol__rain {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.6s ease;
}
.ol.is-win .ol__rain {
	opacity: 1;
}
.ol__rain span {
	position: absolute;
	top: -20%;
	color: rgba(255, 91, 0, 0.18);
	font-family: var(--ol-mono);
	font-size: 12px;
	line-height: 1.1;
	writing-mode: vertical-rl;
	animation: ol-rain 1.6s linear forwards;
}
.ol > :not(.ol__rain):not(.ol__bit) {
	position: relative;
	z-index: 1;
}

/* ---------------------------------------------------------------------
 * 用語ガチャ
 * ------------------------------------------------------------------ */

.gc {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 auto;
	padding: 12px 16px 12px;
}
.gc__stage[hidden] {
	display: none;
}
.gc__stage {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 150px;
}
.gc__machine {
	position: relative;
	width: 132px;
	transition: transform 0.3s ease;
}
.gc__machine.is-shake {
	animation: gc-shake 0.7s ease;
}
.gc__dome {
	position: relative;
	height: 92px;
	border: 3px solid var(--ol-text);
	border-bottom: 0;
	border-radius: 66px 66px 12px 12px;
	background: radial-gradient(circle at 30% 25%, #ffffff, #fff3e3 70%);
	overflow: hidden;
}
.gc__dome::after {
	content: "";
	position: absolute;
	top: 12px;
	left: 20px;
	width: 22px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	transform: rotate(18deg);
}
.gc__ball {
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: 26px;
	height: 26px;
	margin: -13px 0 0 -13px;
	border: 2px solid var(--ol-text);
	border-radius: 50%;
	background: linear-gradient(var(--c) 50%, #fff 50%);
	transition: transform 0.5s var(--ol-spring);
}
.gc__machine.is-shake .gc__ball {
	animation: gc-jiggle 0.7s ease;
}
.gc__machine.is-shake .gc__ball:nth-child(2n) {
	animation-direction: reverse;
}
.gc__body {
	position: relative;
	height: 56px;
	border: 3px solid var(--ol-text);
	border-radius: 6px 6px 14px 14px;
	background: var(--ol-brand);
}
.gc__knob {
	position: absolute;
	top: 10px;
	left: 50%;
	width: 30px;
	height: 30px;
	margin-left: -15px;
	border: 3px solid var(--ol-text);
	border-radius: 50%;
	background: #fff;
	transition: transform 0.7s var(--ol-spring);
}
.gc__knob::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 3px;
	right: 3px;
	height: 5px;
	margin-top: -2.5px;
	border-radius: 3px;
	background: var(--ol-text);
}
.gc__knob.is-turn {
	transform: rotate(360deg);
}
.gc__slot {
	position: absolute;
	right: 12px;
	bottom: 8px;
	width: 26px;
	height: 12px;
	border-radius: 6px;
	background: var(--ol-text);
}
.gc__capsule {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 54px;
	height: 54px;
	margin: -27px 0 0 -27px;
	cursor: pointer;
	filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.12));
}
.gc__capsule[hidden] {
	display: none;
}
.gc__cap-top,
.gc__cap-bottom {
	position: absolute;
	left: 0;
	width: 54px;
	height: 27px;
	border: 3px solid var(--ol-text);
	transition: transform 0.45s var(--ol-spring), opacity 0.4s ease;
}
.gc__cap-top {
	top: 0;
	border-bottom-width: 1.5px;
	border-radius: 27px 27px 0 0;
	background: var(--cap, #ff8a3d);
}
.gc__cap-bottom {
	bottom: 0;
	border-top-width: 1.5px;
	border-radius: 0 0 27px 27px;
	background: #fff;
}
.gc__capsule.is-drop {
	animation: gc-drop 0.9s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.gc__capsule.is-wobble {
	animation: gc-wobble 1.4s ease-in-out infinite;
}
.gc__capsule.is-open .gc__cap-top {
	transform: translate(-18px, -26px) rotate(-35deg);
	opacity: 0;
}
.gc__capsule.is-open .gc__cap-bottom {
	transform: translate(18px, 26px) rotate(25deg);
	opacity: 0;
}

.gc__panel {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.gc__lead {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.7;
	text-align: center;
}
.gc__lead b {
	font-family: var(--font-din, var(--ol-mono));
	font-size: 17px;
	color: var(--ol-accent);
}
.gc__pull {
	align-self: center;
	min-height: 46px;
	padding: 0 26px;
	border: 0;
	border-bottom: 4px solid #c24400;
	border-radius: 999px;
	background: var(--ol-brand);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.12s ease;
}
.gc__pull:active:not(:disabled) {
	transform: translateY(2px);
	border-bottom-width: 2px;
}
.gc__pull:disabled {
	border-bottom-color: #d8c3a8;
	background: #e9d8c2;
	color: #86705c;
	cursor: default;
}
.gc__note {
	margin: 0;
	font-size: 12px;
	color: var(--ol-dim);
	text-align: center;
}

/* 引いたカード */
.gc__card {
	position: relative;
	padding: 14px 14px 12px;
	border: 2px solid var(--rare, var(--ol-line-strong));
	border-radius: 14px;
	background: #fff;
	text-align: center;
	overflow: hidden;
	animation: gc-reveal 0.7s var(--ol-spring);
}
.gc__card[data-rarity="R"] { --rare: #7fb2ff; }
.gc__card[data-rarity="SR"] { --rare: #ffb300; }
.gc__card[data-rarity="SSR"] { --rare: #d05bd8; }
.gc__card[data-rarity="SSR"]::before,
.gc__card[data-rarity="SR"]::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.85) 48%, transparent 66%);
	transform: translateX(-120%);
	animation: gc-shine 1.4s ease 0.4s;
	pointer-events: none;
}
.gc__card[data-rarity="SSR"] {
	background: linear-gradient(135deg, #fff6fd, #f4f7ff 50%, #fffbe8);
}
.gc__rarity {
	display: inline-block;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--rare, var(--ol-panel));
	color: #fff;
	font-family: var(--font-din, var(--ol-mono));
	font-size: 14px;
	letter-spacing: 0.08em;
	line-height: 22px;
}
.gc__card[data-rarity="N"] .gc__rarity {
	background: var(--ol-panel);
	color: var(--ol-dim);
}
.gc__stars {
	margin-left: 6px;
	color: var(--rare, var(--ol-dim));
	font-size: 12px;
	letter-spacing: 1px;
}
.gc__term {
	margin: 8px 0 0;
	font-family: var(--font-site-brand, sans-serif);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: anywhere;
}
.gc__sub {
	margin: 2px 0 0;
	color: var(--ol-dim);
	font-size: 12.5px;
}
.gc__new {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 0 7px;
	border-radius: 4px;
	background: var(--ol-red);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 18px;
	transform: rotate(8deg);
}
.gc__q {
	margin: 0;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ol-accent);
}
.gc__choices {
	display: grid;
	gap: 6px;
}
.gc__choice {
	padding: 8px 10px 10px;
	border: 1.5px solid var(--ol-line);
	border-bottom-width: 4px;
	border-radius: 12px;
	background: #fff;
	color: var(--ol-text);
	font: inherit;
	font-size: 13px;
	line-height: 1.55;
	text-align: left;
	cursor: pointer;
	transition: transform 0.12s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.gc__choice:hover:not(:disabled) {
	border-color: #ffb27a;
	background: #fffaf3;
}
.gc__choice:active:not(:disabled) {
	transform: translateY(2px);
}
.gc__choice:disabled {
	cursor: default;
}
.gc__choice.is-right {
	border-color: var(--ol-green);
	background: var(--ol-green-soft);
	animation: ol-pop 0.55s var(--ol-spring);
}
.gc__choice.is-wrong {
	border-color: #f3b7bf;
	background: var(--ol-red-soft);
	animation: ol-shake 0.45s ease;
}
.gc__choices.is-done .gc__choice:not(.is-right):not(.is-wrong) {
	opacity: 0.5;
}
.gc__verdict {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
}
.gc__verdict.is-ok {
	color: var(--ol-green);
}
.gc__verdict.is-ng {
	color: var(--ol-accent);
}
.gc__more {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.7;
}
.gc__links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.gc__book {
	margin: auto 0 0;
	padding-top: 8px;
	border-top: 1px solid var(--ol-line);
	font-size: 11.5px;
	color: var(--ol-dim);
}
.gc__book b {
	font-family: var(--font-din, var(--ol-mono));
	font-size: 14px;
	font-weight: 400;
	color: var(--ol-text);
}

@keyframes ol-shake {
	20%, 60% { transform: translateX(-6px); }
	40%, 80% { transform: translateX(6px); }
}
@keyframes ol-pop {
	40% { transform: scale(1.05); }
}
@keyframes ol-blink {
	50% { opacity: 0; }
}
@keyframes ol-flip {
	from { transform: rotateX(70deg) translateY(-10px); opacity: 0; }
}
@keyframes ol-win {
	20% { background-color: #f3fbf6; }
}
@keyframes ol-rain {
	to { transform: translateY(140%); }
}
@keyframes hub-ping {
	0% { box-shadow: 0 0 0 0 rgba(255, 91, 0, 0.5); }
	100% { box-shadow: 0 0 0 8px rgba(255, 91, 0, 0); }
}
@keyframes gc-shake {
	20% { transform: rotate(-4deg); }
	40% { transform: rotate(4deg); }
	60% { transform: rotate(-3deg); }
	80% { transform: rotate(2deg); }
}
@keyframes gc-jiggle {
	30% { transform: translate(4px, -8px); }
	60% { transform: translate(-4px, 4px); }
}
@keyframes gc-drop {
	from { transform: translateY(-80px) scale(0.4) rotate(-90deg); opacity: 0; }
	60% { transform: translateY(8px) scale(1.05) rotate(10deg); opacity: 1; }
}
@keyframes gc-wobble {
	25% { transform: rotate(-8deg); }
	75% { transform: rotate(8deg); }
}
@keyframes gc-reveal {
	from { transform: rotateY(90deg) scale(0.8); opacity: 0; }
}
@keyframes gc-shine {
	to { transform: translateX(120%); }
}

/* トップの右の枠: 今日は何の日？（小）＋遊び */
.section-welcome-panel__picup.is-split > .khd-mini {
	flex: none;
}

@media screen and (max-width: 948px) {
	.hub__track {
		align-items: flex-start;
		transition: height 0.35s ease;
	}
	.hub__panel {
		overflow-y: visible;
	}
	.ol__choices {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}
@media screen and (max-width: 420px) {
	.ol__choices {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hub *,
	.hub {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
