/* Rich player profile for the Daedalus template. */
#daedalus-main-module .profiles_player_card {
	box-sizing: border-box;
	width: 640px;
	height: auto;
	min-height: 0;
	padding: 12px;
	overflow: visible;
	position: relative;
	color: #c8bdb0;
	background-color: #0b0908;
	background-position: center top;
	background-size: cover;
	border: 1px solid #4b3521;
	border-radius: 4px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .72), inset 0 1px 0 rgba(255, 255, 255, .035);
}

#daedalus-main-module .profiles_player_card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(110deg, rgba(4, 3, 3, .94), rgba(12, 9, 7, .88) 58%, rgba(20, 13, 8, .91));
	pointer-events: none;
}

#daedalus-main-module .profiles-player-sheet {
	position: relative;
	z-index: 1;
}

#daedalus-main-module .profiles-player-layout {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	gap: 10px;
	align-items: stretch;
}

#daedalus-main-module .profiles-player-portrait-col,
#daedalus-main-module .profiles-player-guild-card,
#daedalus-main-module .profiles-player-inventory-col .av-inventory-section,
#daedalus-main-module .profiles-player-summary-panel,
#daedalus-main-module .profiles-player-achievements-panel {
	box-sizing: border-box;
	background: linear-gradient(180deg, rgba(18, 15, 13, .94), rgba(8, 7, 6, .96));
	border: 1px solid #34291f;
	border-radius: 3px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025), 0 3px 10px rgba(0, 0, 0, .42);
}

#daedalus-main-module .profiles-player-portrait-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	padding: 10px;
}

#daedalus-main-module .profiles-player-portrait {
	width: 94px;
	height: 128px;
	overflow: hidden;
	background: #050404;
	border: 1px solid #725126;
	box-shadow: 0 0 12px rgba(183, 125, 41, .14);
}

#daedalus-main-module .profiles-player-avatar-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#daedalus-main-module .profiles-player-portrait-name {
	max-width: 100%;
	color: #e2b94f;
	font: 700 14px Georgia, "Times New Roman", serif;
	text-align: center;
	word-break: break-word;
	text-shadow: 0 1px 0 #000;
}

#daedalus-main-module .profiles-player-flag {
	width: 16px;
	height: auto;
	vertical-align: -2px;
}

#daedalus-main-module .profiles-player-country {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

#daedalus-main-module .profiles-player-country img {
	width: 18px;
	height: auto;
	border: 1px solid #3b3026;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}

#daedalus-main-module .profiles-player-country strong {
	color: #d6a12d;
	font-size: 10px;
	letter-spacing: .08em;
}

#daedalus-main-module .profiles-player-inventory-col {
	grid-column: 2;
	grid-row: 1 / span 2;
	min-width: 0;
}

#daedalus-main-module .profiles-player-inventory-col .av-inventory-section {
	--cell: 40px !important;
	--gap: 5px !important;
	width: 100%;
	height: 100%;
	min-height: 376px;
	margin: 0;
	padding: 10px 8px;
	color: #c5ccd4;
	background: #12161a !important;
	border: 1px solid rgba(255, 255, 255, .08) !important;
	border-radius: 0 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04) !important;
	overflow: visible;
}

#daedalus-main-module .av-inventory-title {
	margin: 0 0 8px;
	color: #f4f6f8;
	font: 700 13px/1.3 "Segoe UI", Arial, sans-serif;
	letter-spacing: .4px;
	text-align: left;
	text-shadow: none;
}

#daedalus-main-module .av-slot {
	background: #15191d !important;
	border-color: rgba(255, 255, 255, .1) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

#daedalus-main-module .av-slot:hover {
	border-color: rgba(227, 38, 54, .55) !important;
	box-shadow: none !important;
}

#daedalus-main-module .av-slot .av-slot-item-tooltip {
	background: linear-gradient(180deg, #171b20, #101316) !important;
	border: 1px solid rgba(255, 255, 255, .1) !important;
	border-radius: 0 !important;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .55) !important;
	color: #d5dbe2 !important;
}

#daedalus-main-module .av-slot .av-slot-item-tooltip .name-option {
	color: #f4f6f8 !important;
	text-shadow: none !important;
}

#daedalus-main-module .av-slot .av-slot-item-tooltip .text-gray { color: #c5ccd4 !important; }
#daedalus-main-module .av-slot .av-slot-item-tooltip .text-blue { color: #8eb4d4 !important; }
#daedalus-main-module .av-slot .av-slot-item-tooltip .text-green { color: #7dbe96 !important; }
#daedalus-main-module .av-slot .av-slot-item-tooltip .text-yellow { color: #e7c27a !important; }
#daedalus-main-module .av-slot .av-slot-item-tooltip .text-violet { color: #c4b0e0 !important; }
#daedalus-main-module .av-slot .av-slot-item-tooltip .text-red { color: #f4b2bb !important; }

#daedalus-main-module .av-slot-label {
	font-size: 7px !important;
	color: #9aa3ad !important;
}

#daedalus-main-module .av-slot-hidden-lock {
	display: flex;
	color: #8b949e;
}

#daedalus-main-module .av-slot-hidden-lock svg {
	display: block;
	width: 14px;
	height: 14px;
}

#daedalus-main-module .av-slot-hidden-text {
	color: #9aa3ad !important;
	font-family: "Segoe UI", Arial, sans-serif;
}

#daedalus-main-module .profiles-player-guild-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 9px 7px;
	text-align: center;
}

#daedalus-main-module .profiles-player-guild-card-title {
	color: #927b57;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

#daedalus-main-module .profiles-player-guild-card-logo {
	display: flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
}

#daedalus-main-module .profiles-player-guild-card-logo img {
	max-width: 42px;
	max-height: 42px;
	border: 1px solid #4a3826;
}

#daedalus-main-module .profiles-player-guild-card-name,
#daedalus-main-module .profiles-player-guild-card-name a {
	color: #e2b94f;
	font: 700 13px Georgia, "Times New Roman", serif;
	text-decoration: none;
}

#daedalus-main-module .profiles-player-guild-details {
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: 100%;
	gap: 4px;
}

#daedalus-main-module .profiles-player-guild-details span {
	min-width: 0;
	padding: 4px 2px;
	background: #090807;
	border: 1px solid #282018;
	color: #b4a99d;
	font-size: 9px;
	line-height: 1.25;
	word-break: break-word;
}

#daedalus-main-module .profiles-player-guild-details b {
	display: block;
	margin-bottom: 2px;
	color: #756a5e;
	font-size: 7px;
	letter-spacing: .06em;
	text-transform: uppercase;
}

#daedalus-main-module .profiles-player-guild-details a { color: #d6a12d; }

#daedalus-main-module .profiles-player-summary-panel,
#daedalus-main-module .profiles-player-achievements-panel {
	margin-top: 10px;
	overflow: hidden;
}

#daedalus-main-module .profiles-player-maininfo-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

#daedalus-main-module .profiles-player-maininfo-table td {
	box-sizing: border-box;
	padding: 7px 9px;
	border-bottom: 1px solid #211b16;
	font-size: 11px;
	word-break: break-word;
}

#daedalus-main-module .profiles-player-maininfo-table tr:last-child td { border-bottom: 0; }
#daedalus-main-module .profiles-player-maininfo-table tr:nth-child(even) td { background: rgba(255, 255, 255, .012); }
#daedalus-main-module .profiles-player-maininfo-table td:nth-child(odd) { width: 22%; color: #796e62; font-weight: 700; }
#daedalus-main-module .profiles-player-maininfo-table td:nth-child(even) { width: 28%; color: #d1c4b7; font-weight: 700; }
#daedalus-main-module .profiles-player-maininfo-table .isonline { color: #68a447; }
#daedalus-main-module .profiles-player-maininfo-table .isoffline { color: #a84b43; }

#daedalus-main-module .profiles-player-achievements-panel { padding: 11px; }

#daedalus-main-module .profiles-player-achievements-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid #2b221a;
}

#daedalus-main-module .profiles-player-achievements-title {
	color: #d6a12d;
	font: 700 16px Georgia, "Times New Roman", serif;
}

#daedalus-main-module .profiles-player-achievements-points {
	padding: 4px 8px;
	background: #17120d;
	border: 1px solid #59411c;
	border-radius: 2px;
	color: #e2b94f;
	font-size: 10px;
	font-weight: 700;
}

#daedalus-main-module .profiles-player-achievements-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
}

#daedalus-main-module .profiles-player-achievement-item {
	display: flex;
	min-width: 0;
	min-height: 48px;
	align-items: center;
	gap: 6px;
	padding: 5px;
	background: linear-gradient(180deg, #12100e, #090807);
	border: 1px solid #2b231c;
	border-radius: 2px;
}

#daedalus-main-module .profiles-player-achievement-icon { order: -1; flex: 0 0 34px; }
#daedalus-main-module .profiles-player-achievement-icon img { display: block; max-width: 34px; max-height: 34px; margin: auto; }
#daedalus-main-module .profiles-player-achievement-label { min-width: 0; color: #a99d90; font-size: 9px; line-height: 1.25; word-break: break-word; }
#daedalus-main-module .profiles-player-achievement-label span { display: block; margin-top: 2px; color: #d6a12d; font-weight: 700; }
#daedalus-main-module .profiles-player-achievements-empty { padding: 12px; color: #786e63; text-align: center; }

@media (max-width: 700px) {
	#daedalus-main-module .profiles_player_card { width: 100%; }
	#daedalus-main-module .profiles-player-layout { grid-template-columns: 1fr; }
	#daedalus-main-module .profiles-player-inventory-col { grid-column: 1; grid-row: auto; overflow-x: auto; }
	#daedalus-main-module .profiles-player-inventory-col .av-inventory-section { min-width: 465px; }
	#daedalus-main-module .profiles-player-achievements-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Old-school Daedalus pass: flatter panels, fewer dashboard-style cards. */
#daedalus-main-module .profiles_player_card {
	padding: 10px;
	background-color: #090807;
	border-color: #392a1d;
	border-radius: 2px;
	box-shadow: 0 2px 7px rgba(0, 0, 0, .72);
}

#daedalus-main-module .profiles_player_card::before {
	background: rgba(8, 7, 6, .9);
}

#daedalus-main-module .profiles-player-layout {
	gap: 8px;
}

#daedalus-main-module .profiles-player-portrait-col,
#daedalus-main-module .profiles-player-guild-card,
#daedalus-main-module .profiles-player-summary-panel,
#daedalus-main-module .profiles-player-achievements-panel {
	background: #0d0b09;
	border-color: #30251c;
	border-radius: 1px;
	box-shadow: none;
}

#daedalus-main-module .profiles-player-portrait {
	border-color: #59401f;
	box-shadow: none;
}

#daedalus-main-module .profiles-player-portrait-name,
#daedalus-main-module .profiles-player-guild-card-name,
#daedalus-main-module .profiles-player-guild-card-name a,
#daedalus-main-module .profiles-player-achievements-title {
	color: #d6a12d;
	text-shadow: 0 1px #000;
}

#daedalus-main-module .profiles-player-guild-details {
	gap: 0;
	border-top: 1px solid #241c16;
	border-left: 1px solid #241c16;
}

#daedalus-main-module .profiles-player-guild-details span {
	padding: 4px 2px;
	background: transparent;
	border: 0;
	border-right: 1px solid #241c16;
	border-bottom: 1px solid #241c16;
}

#daedalus-main-module .profiles-player-summary-panel,
#daedalus-main-module .profiles-player-achievements-panel {
	margin-top: 8px;
}

#daedalus-main-module .profiles-player-maininfo-table tr:nth-child(even) td {
	background: #100e0c;
}

#daedalus-main-module .profiles-player-maininfo-table td {
	border-bottom-color: #251e18;
}

#daedalus-main-module .profiles-player-achievements-panel {
	padding: 9px;
}

#daedalus-main-module .profiles-player-achievements-header {
	margin-bottom: 4px;
	padding: 0 2px 7px;
	border-bottom-color: #34281c;
}

#daedalus-main-module .profiles-player-achievements-points {
	padding: 0;
	background: transparent;
	border: 0;
	color: #9b8250;
	font-size: 9px;
}

#daedalus-main-module .profiles-player-achievements-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 12px;
}

#daedalus-main-module .profiles-player-achievement-item {
	min-height: 39px;
	padding: 4px 2px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #251e18;
	border-radius: 0;
}

#daedalus-main-module .profiles-player-achievement-icon {
	flex-basis: 30px;
}

#daedalus-main-module .profiles-player-achievement-icon img {
	max-width: 28px;
	max-height: 28px;
}

#daedalus-main-module .profiles-player-achievement-label {
	font-size: 9px;
}

#daedalus-main-module .profiles-player-achievement-label span {
	display: inline;
	margin: 0 0 0 3px;
	color: #b58b30;
}
