/* Starting guide (Gearing Guide window) - same leather and gold look as the rest of the site */

.gg-window {
	margin: 0 0 2rem 0;
	border: 2px solid #7d5f26;
	border-radius: 3px;
	background:
		linear-gradient(90deg, transparent, rgba(240,200,110,.55) 50%, transparent) top center / 70% 2px no-repeat,
		radial-gradient(ellipse at 50% 0%, rgba(150,100,30,.25), transparent 60%),
		linear-gradient(180deg, #2a2016 0%, #1b140d 55%, #130e09 100%);
	background-color: #16110c;
	box-shadow: inset 0 0 0 1px #0b0805, inset 0 0 0 4px rgba(201,156,60,.28), inset 0 0 45px rgba(0,0,0,.6), 0 0 0 1px #000, 0 8px 20px rgba(0,0,0,.65);
	overflow: hidden;
}

/* Title bar */
.gg-titlebar {
	padding: 14px 20px;
	text-align: center;
	border-bottom: 1px solid rgba(201,156,60,.35);
	background: linear-gradient(180deg, rgba(150,105,30,.35), rgba(0,0,0,.25));
}
.gg-titlebar span {
	font-size: 22px;
	font-weight: bold;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #ffd36b;
	text-shadow: 0 0 10px rgba(255,200,80,.55), 0 2px 2px rgba(0,0,0,.8);
}

.gg-body {
	display: flex;
	align-items: stretch;
	min-height: 560px;
}

/* Left list of guides */
.gg-side {
	flex: 0 0 260px;
	margin: 0;
	padding: 12px;
	list-style: none;
	border-right: 1px solid rgba(201,156,60,.3);
	background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.15));
}
.gg-cat {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 8px 0;
	padding: 12px 14px;
	border: 1px solid rgba(240,184,64,.25);
	border-radius: 3px;
	cursor: pointer;
	color: #cdbf9b;
	font-weight: bold;
	letter-spacing: .4px;
	background: linear-gradient(180deg, rgba(60,44,22,.55), rgba(26,19,10,.6));
	transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background .25s ease, border-color .25s ease;
}
.gg-cat i {
	flex: 0 0 28px;
	text-align: center;
	font-size: 20px;
	color: #f0b840;
	filter: drop-shadow(0 0 5px rgba(255,190,70,.55));
}
.gg-cat:hover {
	transform: translateX(4px);
	color: #fff2c4;
	border-color: #ffd36b;
	box-shadow: 0 0 16px rgba(255,190,70,.4), inset 0 0 14px rgba(240,184,64,.25);
}
.gg-cat.is-active {
	color: #2b1b06;
	border-color: #ffe9a8;
	background: linear-gradient(180deg, #ffe9a8 0%, #f0c04e 45%, #c88a1e 100%);
	text-shadow: 0 1px 0 rgba(255,255,255,.45);
	box-shadow: 0 0 14px rgba(255,190,70,.5), inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 4px rgba(120,70,10,.45);
}
.gg-cat.is-active i { color: #5a3a08; filter: none; }

/* Right side */
.gg-main { flex: 1 1 auto; min-width: 0; padding: 14px 16px 16px 16px; }
.gg-panel { display: none; }
.gg-panel.is-active { display: block; }

/* Tabs (Early / Mid / End game) */
.gg-tabs { display: flex; gap: 6px; margin: 0 0 12px 0; flex-wrap: wrap; }
.gg-tab {
	flex: 1 1 0;
	padding: 10px 12px;
	border: 1px solid rgba(240,184,64,.3);
	border-radius: 3px;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: .5px;
	color: #cdbf9b;
	background: linear-gradient(180deg, rgba(60,44,22,.6), rgba(26,19,10,.7));
	transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.gg-tab:hover { color: #fff2c4; box-shadow: 0 0 14px rgba(255,190,70,.4); transform: translateY(-2px); }
.gg-tab.is-active {
	color: #ffd36b;
	border-color: #ffd36b;
	background: linear-gradient(180deg, rgba(150,105,30,.55), rgba(60,40,12,.8));
	text-shadow: 0 0 8px rgba(255,200,80,.55);
	box-shadow: inset 0 0 14px rgba(240,184,64,.3), 0 0 12px rgba(240,184,64,.3);
}

/* Scrolling list of steps */
.gg-scroll {
	max-height: 600px;
	overflow-y: auto;
	padding-right: 6px;
	border-top: 1px solid rgba(201,156,60,.25);
	scrollbar-width: thin;
	scrollbar-color: #8a6a2c rgba(0,0,0,.35);
}
.gg-scroll::-webkit-scrollbar { width: 10px; }
.gg-scroll::-webkit-scrollbar-track { background: rgba(0,0,0,.35); }
.gg-scroll::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #c99a3c, #7d5f26); border-radius: 5px; }

.gg-list { display: none; margin: 0; padding: 0; list-style: none; counter-reset: gg; }
.gg-list.is-active { display: block; animation: ggFade .35s ease; }
@keyframes ggFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.gg-list li {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	counter-increment: gg;
	padding: 15px 14px 15px 46px;
	border-bottom: 1px solid rgba(201,156,60,.2);
	line-height: 1.5;
	font-size: 16px;
	transition: background .25s ease;
}
.gg-list li:hover { background: linear-gradient(90deg, rgba(201,156,60,.12), transparent); }
.gg-list li::before {
	content: counter(gg) ".";
	position: absolute;
	left: 14px;
	top: 16px;
	font-size: 13px;
	font-weight: bold;
	color: #c9a24a;
}

.gg-green { color: #8df28d !important; text-shadow: 0 0 6px rgba(80,220,80,.3), 0 1px 2px rgba(0,0,0,.8); }
.gg-gold { color: #ffd36b !important; text-shadow: 0 0 6px rgba(255,200,80,.25), 0 1px 2px rgba(0,0,0,.8); }
.gg-green *, .gg-gold b { font-weight: bold; }
/* the site's general text colour must not turn the item names grey */
.gg-window .gg-gold b:not(.gg-tag) { color: #ffe9a8 !important; }
.gg-window .gg-green b.gg-cmd { color: #ffe9a8 !important; }
.gg-window .gg-chip, .gg-window .gg-chip i { color: #ffd36b !important; }
.gg-window .gg-cat span { color: inherit !important; }
.gg-window .gg-soon p { color: #cdbf9b !important; }

.gg-cmd {
	padding: 1px 8px;
	border: 1px solid rgba(255,211,107,.6);
	border-radius: 3px;
	color: #ffe9a8;
	background: rgba(0,0,0,.4);
	font-family: Consolas, monospace;
	text-shadow: none;
}
.gg-chip {
	display: inline-block;
	padding: 1px 9px;
	border: 1px solid rgba(255,211,107,.55);
	border-radius: 3px;
	color: #ffd36b;
	background: rgba(0,0,0,.35);
	white-space: nowrap;
}
.gg-chip i { margin-right: 4px; color: #f0b840; }

.gg-tag {
	display: inline-block;
	margin-right: 4px;
	padding: 0 8px;
	border-radius: 3px;
	color: #2b1b06;
	background: linear-gradient(180deg, #ffe9a8, #e0aa3a);
	text-shadow: none;
}

/* Material rows get a gem icon on the right */
.gg-item > i {
	flex: 0 0 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: #f0b840;
	border: 1px solid rgba(240,184,64,.5);
	border-radius: 4px;
	background: linear-gradient(180deg, rgba(90,64,24,.7), rgba(30,20,8,.9));
	box-shadow: 0 0 10px rgba(240,184,64,.25);
}

/* Guides that are not written yet */
.gg-soon { min-height: 480px; }
.gg-soon.is-active { display: flex; align-items: center; justify-content: center; text-align: center; }
.gg-soon i { font-size: 54px; color: #f0b840; filter: drop-shadow(0 0 12px rgba(255,190,70,.6)); }
.gg-soon h4 { margin: 16px 0 6px 0; color: #ffd36b; text-transform: uppercase; letter-spacing: 2px; }
.gg-soon p { margin: 0; color: #cdbf9b; font-style: italic; }

/* Phones and small tablets */
@media (max-width: 991px) {
	.gg-body { flex-direction: column; min-height: 0; }
	.gg-side { flex: none; display: flex; gap: 8px; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(201,156,60,.3); }
	.gg-cat { flex: 0 0 auto; margin: 0; white-space: nowrap; }
	.gg-cat:hover { transform: translateY(-2px); }
	.gg-tab { flex: 1 1 100%; }
	.gg-scroll { max-height: none; }
	.gg-list li { padding-left: 40px; flex-wrap: wrap; font-size: 15px; }
}

/* ---- Weapons / Offset guide additions ---- */

/* Many tabs (Offset guide): let them wrap and keep each one readable */
.gg-tab { flex: 1 1 auto; font-size: 13px; padding: 9px 12px; white-space: nowrap; }
.gg-tab i { margin-right: 6px; color: #f0b840; }
.gg-tab.is-active i { color: #ffd36b; }

/* INFO notes at the top of the Offset guide */
.gg-info {
	margin: 12px 0 4px 0;
	padding: 10px 14px;
	border: 1px solid rgba(240,184,64,.35);
	border-left: 4px solid #f0b840;
	border-radius: 3px;
	background: linear-gradient(90deg, rgba(150,105,30,.22), rgba(0,0,0,.25));
}
.gg-info p { margin: 6px 0; line-height: 1.5; color: #ffd36b !important; font-size: 15px; text-shadow: 0 1px 2px rgba(0,0,0,.8); }
.gg-info .gg-tag { margin-right: 6px; }

/* A heading line inside a list ("Rings:", "Neck:" ...): no number, gold plate */
.gg-list li.gg-head { counter-increment: none; padding: 12px 14px; background: linear-gradient(90deg, rgba(150,105,30,.35), transparent); }
.gg-list li.gg-head::before { display: none; }
.gg-list li.gg-head span { font-size: 18px; font-weight: bold; letter-spacing: 1px; color: #ffe9a8 !important; text-shadow: 0 0 8px rgba(255,200,80,.5), 0 1px 2px rgba(0,0,0,.8); }
.gg-list li.gg-head i { margin-right: 10px; color: #f0b840; filter: drop-shadow(0 0 5px rgba(255,190,70,.6)); }

@media (max-width: 991px) {
	.gg-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
	.gg-tab { flex: 0 0 auto; }
}

/* Hint under the title: how to open the guide ingame */
.gg-hint { margin-top: 8px; font-size: 15px; color: #e6d7ae !important; text-shadow: 0 1px 2px rgba(0,0,0,.8); }
.gg-hint i { margin-right: 6px; color: #f0b840; filter: drop-shadow(0 0 5px rgba(255,190,70,.6)); }
.gg-hint .gg-cmd { margin: 0 3px; color: #ffe9a8 !important; font-size: 16px; }

/* ---- Spells / Titule / Commands additions ---- */

/* Blocks of item chips (scrolls, curses ...) */
.gg-list li.gg-block { display: block; padding: 12px 14px 14px 14px; counter-increment: none; }
.gg-list li.gg-block::before { display: none; }
.gg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gg-chipitem {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 4px 14px 4px 5px;
	border: 1px solid rgba(240,184,64,.4);
	border-radius: 4px;
	color: #ffd36b;
	font-size: 14px;
	font-weight: bold;
	background: linear-gradient(180deg, rgba(70,50,20,.75), rgba(26,19,10,.85));
	text-shadow: 0 1px 2px rgba(0,0,0,.8);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.gg-chipitem:hover { transform: translateY(-2px); border-color: #ffd36b; box-shadow: 0 0 14px rgba(255,190,70,.45); }
.gg-chipitem span:last-child { color: #ffd36b !important; }

/* Item icon boxes (real icons are loaded into them) */
.gg-ico {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 1px solid rgba(240,184,64,.55);
	border-radius: 4px;
	background: linear-gradient(180deg, rgba(90,64,24,.7), rgba(30,20,8,.9));
	box-shadow: 0 0 8px rgba(240,184,64,.25);
	color: #f0b840 !important;
	font-size: 16px;
}
.gg-ico img { width: 100%; height: 100%; display: block; }
.gg-ico-r { flex: 0 0 40px; width: 40px; height: 40px; }
.gg-inline-ico { width: 22px; height: 22px; margin-right: 6px; vertical-align: middle; border-radius: 3px; border: 1px solid rgba(240,184,64,.6); }

/* Command rows */
.gg-list li.gg-cmdrow { justify-content: flex-start; gap: 18px; }
.gg-cmdrow .gg-cmd { flex: 0 0 200px; text-align: center; font-size: 16px; }

@media (max-width: 991px) {
	.gg-cmdrow .gg-cmd { flex: 0 0 auto; }
}

/* Item chips are text only */
.gg-chipitem { padding: 6px 14px; }
