@charset "utf-8";

html {
	-webkit-text-size-adjust: 100%;
	box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }

a { color: #f0a14a; text-decoration: none; font-weight: bold; }
a:hover { color: #ffd27a; }

body {
	background: #07080c url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"><radialGradient id="g" cx="50%" cy="0%" r="80%"><stop offset="0%" stop-color="%231a1208"/><stop offset="100%" stop-color="%2307080c"/></radialGradient><rect width="100%" height="100%" fill="url(%23g)"/></svg>') center top no-repeat;
	background-color: #07080c;
	background-attachment: fixed;
	width: 100%;
	max-width: none;
	font-family: Segoe UI, Arial, Helvetica, Sans-Serif;
	font-size: 15px;
	line-height: 1.45;
	color: #e6e1d8;
	margin: 0;
	padding: 10px;
	min-height: 100vh;
}

div { overflow: hidden; display: block; }

.in {
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	background: #10131a;
	border: 1px solid #2a2418;
	border-radius: 14px;
	box-shadow: 0 0 0 1px #1a140c, 0 12px 40px rgba(0,0,0,0.45);
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border: 0;
	image-rendering: auto;
	image-rendering: high-quality;
	-ms-interpolation-mode: bicubic;
}
.portrait {
	max-width: 240px;
	width: auto;
	height: auto;
	border-radius: 12px;
	border: 1px solid #3a2a16;
	background: #0c0e14;
	object-fit: contain;
	object-position: center top;
}

font[color="black"], font[color="BLACK"] { color: #d8c4a0 !important; }
font[color="blue"], font[color="BLUE"] { color: #8ec5ff !important; }
font[color="brown"], font[color="BROWN"] { color: #e0a36a !important; }
font[color="green"], font[color="GREEN"] { color: #9ccc65 !important; }

.header, .top {
	background: linear-gradient(#2a1a0c, #0e1016);
	color: #ffcc80;
	text-align: center;
	padding: 12px 10px;
	border-top: 2px solid #e08a12;
	border-bottom: 1px solid #3a2a16;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.title {
	background: #161a22;
	color: #ffb347;
	font-size: 11px;
	padding: 9px 12px;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 0.06em;
	border-top: 1px solid #2a2418;
}

.message {
	background: #172214;
	color: #9ccc65;
	text-align: center;
	border-bottom: 1px solid #2a2418;
	padding: 8px;
}

.message a { color: #c5e1a5; }

.main, .main_c, .main_l {
	background: #12151c;
	color: #e6e1d8;
	border-bottom: 1px solid #1e222c;
	padding: 10px 12px;
}

.main_c { text-align: center; background: #141820; }
.main_l { text-align: left; }

.inside {
	background: #181c26;
	border-radius: 10px;
	border: 1px solid #2a2418;
	padding: 8px;
}

input[type="text"], input[type="password"], textarea, select {
	padding: 9px;
	border: 1px solid #3a3228;
	background: #0c0e14;
	color: #f3ead8;
	border-radius: 8px;
	width: 90%;
	max-width: 320px;
}

.submit, .btn-menu, a.submit {
	background: linear-gradient(#f5c542, #e08a12);
	color: #1a1208 !important;
	border: 1px solid #c7780c;
	padding: 9px 14px;
	border-radius: 10px;
	margin-top: 5px;
	font-weight: bold;
	cursor: pointer;
	display: inline-block;
}

.nr {
	display: inline-block;
	background: #2a2418;
	color: #ffcc80;
	padding: 2px 6px;
	font-weight: bold;
	border-radius: 4px;
}

.bottom {
	background: #0c0e14;
	color: #8a8478;
	text-align: center;
	padding: 10px;
	border-radius: 0 0 14px 14px;
	border-top: 1px solid #1e222c;
	font-size: 12px;
}

.true, .acept, .atlikta { color: #9ccc65; padding: 6px; }
.error { color: #ef5350; padding: 6px; }

.poll-card {
	background: #141820;
	border-bottom: 1px solid #1e222c;
	padding: 12px;
}
.poll-q {
	color: #ffcc80;
	font-weight: bold;
	margin-bottom: 6px;
}
.poll-note {
	color: #8a8478;
	font-size: 12px;
	margin-bottom: 8px;
}
.poll-opt {
	display: block;
	padding: 5px 0;
}
.poll-total {
	color: #c5b89a;
	font-size: 12px;
	margin-bottom: 6px;
}
.poll-row {
	margin: 6px 0 10px;
}
.poll-bar {
	height: 8px;
	background: #0c0e14;
	border: 1px solid #3a2a16;
	border-radius: 99px;
	overflow: hidden;
	margin-top: 4px;
}
.poll-bar span {
	display: block;
	height: 100%;
	background: linear-gradient(#f5c542, #e08a12);
}
.poll-closed .poll-q { color: #c5b89a; }
.poll-staff {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px dashed #2a2418;
}

.vmenu a {
	display: inline-block;
	background: #1a1f2a;
	color: #ffcc80;
	padding: 6px 10px;
	border-radius: 999px;
	margin: 2px;
	border: 1px solid #3a2a16;
}

.home-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding: 10px;
	background: #10131a;
}

.home-grid a {
	display: block;
	background: linear-gradient(#1c202b, #141820);
	color: #ffe7c2 !important;
	text-align: center;
	padding: 14px 6px;
	border: 1px solid #3a2a16;
	border-radius: 12px;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.4px;
	box-shadow: inset 0 1px 0 rgba(255,180,80,0.08);
}

.home-grid a:hover { background: #2a1c10; border-color: #e08a12; color: #ffd27a !important; }

.char-card {
	background: #181c26;
	border: 1px solid #2a2418;
	margin-bottom: 8px;
	overflow: hidden;
	border-radius: 10px;
}
.char-card img { max-width: 140px; max-height: 168px; }
.char-card .meta { padding: 8px; font-size: 13px; }
.char-select-row {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) auto;
	align-items: start;
	gap: 12px;
	padding: 12px 14px;
	border-bottom: 1px solid #1e222c;
	background: #161a22;
}
.char-select-row:nth-child(even) { background: #12151c; }
.char-select-row .pic {
	width: 96px;
	height: 120px;
	background: linear-gradient(#1c1710, #0c0e14);
	border: 1px solid #3a2a16;
	border-radius: 12px;
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.char-select-row img {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: contain;
	object-position: center center;
	border-radius: 8px;
	image-rendering: auto;
	-ms-interpolation-mode: bicubic;
}
.char-select-row .meta { font-size: 14px; line-height: 1.5; min-width: 0; }
.char-select-row .meta > b { color: #ffb347; font-size: 16px; display: inline-block; margin-bottom: 2px; }
.char-select-row .who { color: #ddd6cc; font-size: 14px; line-height: 1.45; margin: 4px 0 8px; }
.char-select-row .skills { color: #ffcc80; font-size: 14px; line-height: 1.45; margin-bottom: 8px; }
.char-select-row .skills b { color: #fff3d6; font-size: 14px; font-weight: bold; display: inline; }
.char-select-row .stats { color: #c8c0b4; font-size: 13px; }
.char-select-row .pick { white-space: nowrap; padding-top: 2px; text-align: right; }
.char-select-row .pick a {
	display: inline-block;
	background: linear-gradient(#f5c542, #e08a12);
	color: #1a1208 !important;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid #c7780c;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.langbar { text-align: right; font-size: 12px; padding: 6px 10px; background: #0c0e14; color: #8a8478; }
.stats-box b { color: #ffb347; }
.skill-img { max-width: 160px; max-height: 110px; border: 1px solid #3a2a16; }

.log, .log_red {
	display: inline-block;
	background: #2a2418;
	color: #ffe7c2;
	padding: 2px 5px;
	border-radius: 3px;
}
.log_red { font-weight: bold; color: #ff8a65; }

.rate-row { font-size: 12px; margin: 3px 0; line-height: 14px; }
.rate-lab { display: inline-block; width: 78px; vertical-align: middle; }
.rate-bar { display: inline-block; vertical-align: middle; }
.rate-seg { display: inline-block; width: 8px; height: 10px; margin-right: 1px; border: 1px solid #3a2a16; }
.rate-seg.on.atk { background: #e07a22; }
.rate-seg.on.def { background: #3d6b8a; }
.rate-seg.on.hp { background: #c62828; }
.rate-seg.on.chk { background: #1565c0; }
.rate-seg.on.diff { background: #6b5340; }
.rate-seg.off { background: #1e222c; }
.rate-n { font-size: 11px; }

.hud {
	margin: 8px 10px;
	padding: 12px;
	background: linear-gradient(#1c1710, #12151c);
	border: 1px solid #3a2a16;
	border-radius: 14px;
	box-shadow: inset 0 1px 0 rgba(255,180,80,0.12);
}
.hud-ava {
	float: left;
	width: 80px;
	height: 80px;
	object-fit: cover;
	object-position: top center;
	border-radius: 12px;
	border: 1px solid #e08a12;
	margin: 0 10px 8px 0;
	background: #0c0e14;
}
.hud-lv {
	float: right;
	min-width: 52px;
	text-align: center;
	color: #ffcc80;
	line-height: 1;
	padding: 4px 0 0;
}
.hud-lv b { display: block; font-size: 22px; color: #ffd27a; }
.hud-lv small { font-size: 10px; letter-spacing: 0.08em; color: #b8b0a4; }
.hud-id { color: #ffe7c2; padding-top: 2px; }
.hud-id span { color: #b8b0a4; font-size: 12px; }
.hud-rank { color: #ffb347; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.kage-mark { display: inline-block; color: #ffcc80; font-size: 11px; margin-right: 4px; border: 1px solid #e08a12; border-radius: 4px; padding: 0 4px; line-height: 1.4; }
.hud-bar {
	height: 8px;
	background: #0c0e14;
	border-radius: 99px;
	margin: 6px 0 2px;
	border: 1px solid #2a2418;
}
.hud-bar i {
	display: block;
	height: 8px;
	border-radius: 99px;
}
.hud-bar i.hp { background: linear-gradient(#ef5350, #c62828); }
.hud-bar i.chk { background: linear-gradient(#42a5f5, #1565c0); }
.hud-n { font-size: 11px; color: #b8b0a4; }
.hud-chips { margin-top: 10px; }
.hud-chips span {
	display: inline-block;
	background: #0c0e14;
	border: 1px solid #3a2a16;
	color: #ffcc80;
	border-radius: 999px;
	padding: 3px 8px;
	margin: 2px 4px 0 0;
	font-size: 11px;
}

.lasthit-card {
	max-width: 220px;
	margin: 10px auto;
	padding: 8px 8px 10px;
	text-align: center;
	background: linear-gradient(#2a1a12, #141820);
	border: 1px solid #e07a22;
	border-radius: 12px;
	color: #ffe7c2;
}
.lasthit-card-live .lasthit-frame {
	box-shadow: 0 0 12px #c45c12;
}
.lasthit-frame {
	width: 140px;
	height: 140px;
	margin: 0 auto 6px;
	overflow: hidden;
	border: 2px solid #ffb347;
	border-radius: 8px;
	background: #120c08;
}
.lasthit-frame img {
	width: 140px;
	height: 140px;
	max-width: 140px;
	max-height: 140px;
	object-fit: cover;
	object-position: center top;
	display: block;
}
.lasthit-k {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ffcc80;
	font-weight: bold;
}
.lasthit-meta, .lasthit-jutsu {
	font-size: 12px;
	line-height: 1.35;
	color: #ffe7c2;
}
.lasthit-jutsu { color: #ffb347; font-weight: bold; }
@media (max-width: 480px) {
	body { padding: 6px; font-size: 14px; }
	.in { border-radius: 12px; }
	.home-grid { gap: 6px; padding: 8px; }
	.home-grid a { padding: 12px 4px; font-size: 11px; }
	.char-select-row {
		grid-template-columns: 80px minmax(0, 1fr);
		grid-template-areas: "pic meta" "pick pick";
		gap: 8px 10px;
		padding: 10px;
	}
	.char-select-row .pic { grid-area: pic; width: 80px; height: 100px; }
	.char-select-row .meta { grid-area: meta; font-size: 12px; }
	.char-select-row .pick { grid-area: pick; text-align: right; padding-top: 2px; }
	.hud { margin: 6px; padding: 10px; }
}

@media (min-width: 768px) {
	body { padding: 20px; font-size: 15px; }
	.in { max-width: 760px; }
	.home-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px; }
	.home-grid a { padding: 16px 8px; font-size: 13px; }
	.char-select-row {
		grid-template-columns: 128px minmax(0, 1fr) auto;
		padding: 14px 18px;
		gap: 16px;
	}
	.char-select-row .pic { width: 128px; height: 160px; }
	.char-select-row .meta { font-size: 14px; }
	.char-select-row .meta > b { font-size: 16px; }
	.hud { margin: 12px 16px; padding: 14px 16px; }
	.hud-ava { width: 96px; height: 96px; }
	.portrait { max-width: 280px; }
	.lasthit-frame, .lasthit-frame img {
		width: 160px;
		height: 160px;
		max-width: 160px;
		max-height: 160px;
	}
}

@media (min-width: 1100px) {
	body { padding: 28px; font-size: 16px; line-height: 1.5; }
	.in { max-width: 1100px; }
	.home-grid { grid-template-columns: repeat(4, 1fr); }
	.home-grid a { font-size: 14px; padding: 18px 10px; }
	.char-select-row {
		grid-template-columns: 160px minmax(0, 1fr) auto;
		padding: 18px 22px;
	}
	.char-select-row .pic { width: 160px; height: 198px; }
	.char-select-row .meta { font-size: 15px; }
	.char-select-row .meta > b { font-size: 18px; }
	.char-select-row .who,
	.char-select-row .skills,
	.char-select-row .skills b { font-size: 15px; }
	.char-select-row .stats { font-size: 14px; }
	.char-select-row .pick a { font-size: 13px; padding: 10px 18px; }
	.hud-ava { width: 108px; height: 108px; }
	.hud-n, .hud-chips span, .hud-id span { font-size: 13px; }
	.hud-rank { font-size: 12px; }
	.portrait { max-width: 340px; }
	.main, .main_c, .main_l { padding: 14px 20px; }
	.title { padding: 12px 20px; font-size: 13px; }
}

@media (min-width: 1400px) {
	body { padding: 32px; font-size: 18px; line-height: 1.55; }
	.in { max-width: 1360px; }
	.header, .top { padding: 16px 14px; font-size: 18px; }
	.title { padding: 12px 24px; font-size: 15px; }
	.main, .main_c, .main_l { padding: 16px 24px; }
	.home-grid a { font-size: 15px; padding: 20px 12px; }
	.char-select-row {
		grid-template-columns: 200px minmax(0, 1fr) auto;
		padding: 22px 28px;
		gap: 22px;
	}
	.char-select-row .pic { width: 200px; height: 248px; }
	.char-select-row .meta { font-size: 16px; line-height: 1.5; }
	.char-select-row .meta > b { font-size: 22px; margin-bottom: 4px; }
	.char-select-row .who { font-size: 16px; color: #eee8de; }
	.char-select-row .skills,
	.char-select-row .skills b { font-size: 16px; }
	.char-select-row .stats { font-size: 15px; color: #d4cdc2; }
	.char-select-row .pick a { font-size: 14px; padding: 12px 22px; }
	.hud { margin: 14px 20px; padding: 18px 20px; }
	.hud-ava { width: 132px; height: 132px; }
	.hud-lv b { font-size: 28px; }
	.hud-lv small { font-size: 12px; }
	.hud-n, .hud-chips span { font-size: 14px; }
	.hud-bar, .hud-bar i { height: 10px; }
	.portrait { max-width: 420px; }
	.lasthit-card { max-width: 280px; }
	.lasthit-frame, .lasthit-frame img {
		width: 200px;
		height: 200px;
		max-width: 200px;
		max-height: 200px;
	}
	.lasthit-k, .lasthit-meta, .lasthit-jutsu { font-size: 14px; }
}

@media (min-width: 1800px) {
	.in { max-width: 1520px; }
	body { font-size: 19px; }
	.char-select-row {
		grid-template-columns: 220px minmax(0, 1fr) auto;
	}
	.char-select-row .pic { width: 220px; height: 272px; }
}

@media (max-width: 360px) {
	.lasthit-card { max-width: 188px; }
	.lasthit-frame, .lasthit-frame img {
		width: 120px;
		height: 120px;
		max-width: 120px;
		max-height: 120px;
	}
}
