@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght=0,400;0,700;1,700&display=swap');

body, html {
	padding: 0;
	margin: 0;
	font-size: 14px;
	line-height: 1.5rem;
	font-family: 'PT Sans', sans-serif;
	color: #BBB;
	background: url('https://file.garden/akejTwoKFEFRZABp/IMG_1198.jpeg');
}

img {
	max-width: 100%;
	border-radius: 4px;
}

a {
	text-decoration: none;
	color: #FFF;
}

a:hover {
	text-decoration: underline;
}

.title {
	font-weight: 600;
	color: #FFF;
	font-size: 24px;
	line-height: 32px;
}

.subtitle {
	margin-bottom: 24px;
}

.wrapper {
	width: 1000px;
	background: #262628;
	margin: auto;
	margin-top: 12px;
	box-shadow: 0 0 24px rgba(0, 0, 0, 0.92);
}

.avatar {
	width: 200px;
	height: 200px;
	display: inline-block;
	vertical-align: top;
}

.avatar img {
	border: 2px solid #5a5a5a;
}

.header-text {
	margin: 0 24px;
	display: inline-block;
	width: 390px;
	box-sizing: border-box;
}

.header {
	min-height: 200px;
	padding: 24px;
	vertical-align: top;
}

.listening {
	display: inline-block;
	vertical-align: top;
}

/* Base Main Grid Layout */
.main {
	display: block;
}

.content {
	padding: 0 12px;
	width: 680px;
	display: inline-block;
	vertical-align: top;
	box-sizing: border-box;
}

.section {
	background: #39393e;
	margin-bottom: 24px;
	border: 1px solid #2f2f31;
}

.section-header {
	padding: 12px;
	background: #303033;
	color: #fff;
	font-weight: bold;
	letter-spacing: 0.5px;
}

.section-body {
	padding: 12px;
	background: #39393e;
	padding-bottom: 24px;
}

.sidebar {
	padding: 0 12px;
	background: #1e1e1f;
	display: inline-block;
	width: 300px;
	vertical-align: top;
	box-sizing: border-box;
	min-height: 500px;
}

.sidebar h2 {
	color: #fff;
	font-size: 16px;
	border-bottom: 1px solid #3a3a3c;
	padding-bottom: 6px;
}

.friend-avatar {
	width: 60px;
	display: inline-block;
}

.friend-name {
	display: inline-block;
	vertical-align: top;
	margin-left: 12px;
	line-height: 60px;
}

.friend {
	margin-bottom: 12px;
	background: rgba(0,0,0,0.15);
	padding: 6px;
	border-radius: 4px;
}

.menu {
	margin: 24px 0;
}

.menu ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}

.menu li a {
	font-size: 18px;
	line-height: 36px;
	display: block;
	padding: 4px 8px;
	background: rgba(255,255,255,0.03);
	margin-bottom: 4px;
	border-radius: 4px;
}

.menu li a:hover {
	background: rgba(255,255,255,0.08);
}

.scroll-container {
	width: 100%;
	overflow-x: auto;
	white-space: pre;
	font-family: monospace;
	background: #232326;
	padding: 10px;
	box-sizing: border-box;
	border-radius: 4px;
	color: #a3a3a3;
}

.blinkies {
	margin-top: 12px;
}

.width-50 {
	width: 50%;
}

table {
	border-collapse: collapse;
	margin: 24px 0;
	background-color: #262628;
	width: 100%;
}

th, td {
	padding: 12px 24px;
	vertical-align: top;
	border: 1px solid #333;
}

th {
	background: #303033;
	font-weight: 600;
	letter-spacing: 0.5px;
}

/* ================================================================= */
/* STEAM MOBILE VIEW RESPONSIVE OVERRIDES (Desktop remains perfect) */
/* ================================================================= */
@media (max-width: 1024px) {
	.wrapper {
		width: 100%;
		margin-top: 0;
		box-shadow: none;
	}

	.header {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 16px;
		background: #171a21; /* Dark Steam header vibe */
	}

	.avatar {
		width: 120px;
		height: 120px;
		margin-bottom: 12px;
	}

	.header-text {
		width: 100%;
		margin: 0 0 16px 0;
	}

	.listening {
		width: 100%;
		max-width: 400px;
	}

	/* Force contents and sidebars to stack correctly like Steam App */
	.content, .sidebar {
		width: 100%;
		display: block;
		float: none;
		padding: 16px;
	}

	.sidebar {
		background: #212429;
		border-top: 2px solid #1b1c20;
	}

	.menu ul {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.menu li a {
		text-align: center;
		margin-bottom: 0;
		background: #3a3f47;
	}

	.friend {
		display: inline-flex;
		width: calc(50% - 8px);
		margin-right: 4px;
		box-sizing: border-box;
		align-items: center;
	}
	
	.friend-name {
		line-height: normal;
		margin-left: 8px;
	}
}
