/* =========== World status (left column): server save countdown + Rashid =========== */
.ol-ws {
	position: relative;
	margin: 12px 10px 0;
	border-radius: 12px;
	background:
		radial-gradient(circle at 15% -20%, rgba(255, 200, 40, 0.16), transparent 60%),
		var(--ol-card);
	border: 1px solid rgba(201, 162, 39, 0.45);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 215, 0, 0.08);
	overflow: hidden;
	text-align: left;
}

.ol-ws::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, #c9a227 20%, #ffd700 50%, #c9a227 80%, transparent);
}

.ol-ws-ss {
	padding: 14px 14px 12px;
	text-align: center;
}

.ol-ws-label {
	display: block;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ol-muted);
}

.ol-ws-timer {
	margin: 6px 0 4px;
	font-family: var(--ol-serif);
	font-size: 28px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0.06em;
	font-variant-numeric: tabular-nums;
	color: var(--ol-gold);
	text-shadow: 0 2px 0 #000, 0 0 18px rgba(255, 200, 40, 0.3);
}

.ol-ws.is-live .ol-ws-timer {
	font-size: 18px;
	color: #ff9b6a;
	text-shadow: 0 2px 0 #000, 0 0 14px rgba(255, 120, 60, 0.35);
	animation: ol-ws-blink 1.6s ease-in-out infinite;
}

@keyframes ol-ws-blink {
	50% { opacity: 0.55; }
}

.ol-ws-sub {
	display: block;
	font-size: 11px;
	line-height: 1.4;
	color: var(--ol-muted);
}

.ol-ws-rashid {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px 12px;
	border-top: 1px solid rgba(201, 162, 39, 0.22);
	background: rgba(0, 0, 0, 0.18);
	text-decoration: none;
	transition: background 0.18s ease;
}

.ol-ws-rashid:hover {
	background: rgba(255, 200, 40, 0.07);
	text-decoration: none;
}

.ol-ws-npc {
	position: relative;
	flex: 0 0 54px;
	width: 54px;
	height: 54px;
	border-radius: 10px;
	background: radial-gradient(circle at 50% 70%, rgba(255, 200, 40, 0.18), rgba(0, 0, 0, 0.35) 70%);
	border: 1px solid rgba(201, 162, 39, 0.3);
	overflow: hidden;
}

/* The outfit sprite sits in the bottom-right 34x37 of the 64x64 image: scale x1.5 and center that area. */
.ol-ws-npc img {
	position: absolute;
	left: -43px;
	top: -41px;
	width: 96px;
	height: 96px;
	max-width: none;
	image-rendering: pixelated;
}

.ol-ws-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ol-ws-city {
	margin: 2px 0 1px;
	font-family: var(--ol-serif);
	font-size: 17px;
	font-weight: 800;
	color: var(--ol-gold);
	text-shadow: 0 2px 0 #000;
}

.ol-ws-rashid:hover .ol-ws-city {
	color: #ffe28a;
}

/* =========== World status (home banner chips) =========== */
.oln-hero-ws {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 10px 0 0;
}

.oln-ws-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.45);
	border: 1px solid rgba(201, 162, 39, 0.45);
	font-size: 12px;
	letter-spacing: 0.03em;
	color: var(--ol-text);
	text-decoration: none;
}

a.oln-ws-chip:hover {
	border-color: #f0c850;
	text-decoration: none;
}

.oln-ws-chip strong {
	font-family: var(--ol-serif);
	font-size: 13px;
	color: var(--ol-gold);
	font-variant-numeric: tabular-nums;
}

.oln-hero-ws.is-live .oln-ws-chip:first-child strong {
	color: #ff9b6a;
}

/* =========== World status: next event =========== */
.ol-ws-event {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 12px 13px;
	border-top: 1px solid rgba(201, 162, 39, 0.22);
	background:
		radial-gradient(circle at 18% 50%, rgba(255, 190, 60, 0.12), transparent 55%),
		rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.ol-ws-event::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 40%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 225, 140, 0.08), transparent);
	animation: ol-ws-shine 6s ease-in-out infinite;
	pointer-events: none;
}

@keyframes ol-ws-shine {
	0%, 60% { left: -60%; }
	100% { left: 130%; }
}

.ol-ws-event-icon {
	position: relative;
	flex: 0 0 58px;
	width: 58px;
	height: 58px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: radial-gradient(circle at 50% 60%, rgba(255, 200, 60, 0.28), rgba(0, 0, 0, 0.45) 72%);
	border: 1px solid rgba(201, 162, 39, 0.5);
	box-shadow: 0 0 14px rgba(255, 190, 50, 0.18), inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.ol-ws-event-icon::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: 12px;
	box-shadow: 0 0 0 0 rgba(255, 200, 60, 0.45);
	animation: ol-ws-halo 2.8s ease-out infinite;
}

@keyframes ol-ws-halo {
	0% { box-shadow: 0 0 0 0 rgba(255, 200, 60, 0.4); }
	100% { box-shadow: 0 0 0 10px rgba(255, 200, 60, 0); }
}

.ol-ws-event-icon svg {
	width: 44px;
	height: 44px;
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 6px rgba(255, 200, 60, 0.25));
}

.ol-ws-event .ol-ws-label {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #e8c56a;
}

.ol-ws-event-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #e8b93a;
	box-shadow: 0 0 6px rgba(255, 200, 60, 0.8);
}

.ol-ws-event-cd {
	display: block;
	margin: 1px 0 2px;
	font-family: var(--ol-serif);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	font-variant-numeric: tabular-nums;
	color: #fff3cf;
	text-shadow: 0 1px 0 #000;
}

.ol-ws-event-desc {
	font-style: italic;
	opacity: 0.85;
}

.ol-ws-event.is-running .ol-ws-label {
	color: #ff8a7a;
}

.ol-ws-event.is-running .ol-ws-event-dot {
	background: #ff4a3d;
	box-shadow: 0 0 8px rgba(255, 74, 61, 0.9);
	animation: ol-ws-blink 1.1s ease-in-out infinite;
}

.ol-ws-event.is-running .ol-ws-event-icon {
	border-color: rgba(255, 110, 80, 0.7);
	box-shadow: 0 0 18px rgba(255, 90, 60, 0.35), inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.ol-ws-event.is-running .ol-ws-event-icon::before {
	animation-duration: 1.4s;
}
