/*
 * lansparty app.css
 * Nur Ergaenzungen fuer Seiten/Komponenten, die es auf www.lansin.de nicht
 * gibt (Sitzplan, Tickets, Turnier-Bracket, Test-Units-Galerie). Farben,
 * Buttons, Container, Nav, Panels etc. kommen aus bootstrap.min.css +
 * vendor/lansinblaster.css (das echte Theme-CSS von www.lansin.de).
 */

img { max-width: 100%; height: auto; }

/* Sitzplan */
.plan { position: relative; width: 100%; min-height: 700px; background: #f7f8f5;
	border: 1px solid #e4e6e0; border-radius: 4px; overflow: auto; margin-bottom: 1.5rem; }
.plan.editor { border: 1px dashed #bbb; cursor: crosshair; }
.seat-group { position: absolute; border: 1px dashed #bbb; border-radius: 6px; background: rgba(131,222,0,0.04); pointer-events: none; }
.seat-group span { position: absolute; top: 4px; left: 8px; font-size: 0.75rem; font-weight: 700;
	color: #667; text-transform: uppercase; letter-spacing: 0.04em; }
.seat { position: absolute; width: 56px; height: 40px; border-radius: 4px; border: none;
	font-size: 0.72rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
	text-align: center; padding: 2px; font-family: inherit; font-weight: 700; }
.seat.free { background: #fff; border: 2px solid #3d9945; color: #3d9945; }
.seat.free:hover { background: #ecf7de; }
.seat.mine { background: #83de00; color: #16210a; }
.seat.taken { background: #ddd; color: #888; cursor: not-allowed; border: 2px solid #ddd; }
.plan.editor .seat { background: #83de00; color: #16210a; border: none; }
.plan.editor .seat.taken { background: #ddd; color: #777; }
.plan.editor .seat form { position: absolute; top: -8px; right: -8px; margin: 0; }
.plan.editor .seat button { width: 18px; height: 18px; border-radius: 50%; border: none; background: #9a3324; color: #fff;
	font-size: 0.7rem; line-height: 1; cursor: pointer; padding: 0; }
.seatplan-legend { display: flex; gap: 1.25rem; font-size: 0.85rem; color: #666; margin-bottom: 1rem; align-items: center; }
.seatplan-legend .dot { width: 14px; height: 14px; border-radius: 3px; display: inline-block; margin-right: 0.35rem; vertical-align: -2px; }
.seatplan-legend .dot.free { background: #fff; border: 2px solid #3d9945; }
.seatplan-legend .dot.mine { background: #83de00; }
.seatplan-legend .dot.taken { background: #ddd; }

/* Turnier-Bracket */
.bracket { display: flex; gap: 2rem; overflow-x: auto; margin-top: 1.5rem; padding-bottom: 1rem; }
.bracket .round { display: flex; flex-direction: column; justify-content: space-around; gap: 1rem; min-width: 200px; }
.bracket .round h4 { font-size: 0.78rem; color: #667; text-transform: uppercase; letter-spacing: 0.06em; }
.bracket .match { background: #fff; border: 1px solid #e4e6e0; border-radius: 4px; padding: 0.6rem 0.8rem; }
.bracket .match .team { padding: 0.3rem 0; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.bracket .match .team.winner { color: #3d9945; font-weight: 800; }
.bracket .match .team.pending { color: #aaa; }
.bracket .match button { font-size: 0.72rem; padding: 0.2rem 0.55rem; }

/* Ticket */
.ticket-card { text-align: center; }
.ticket-card img { max-width: 220px; border-radius: 6px; }

/* Test-Units Galerie */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.cat-card { display: block; background: #fff; border: 1px solid #e4e6e0; border-radius: 6px; padding: 1.5rem; }
.cat-card:hover { border-color: #83de00; text-decoration: none; }
.cat-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.cat-card p { margin: 0 0 0.75rem; color: #666; font-size: 0.88rem; line-height: 1.4; }
.cat-card .count { font-size: 0.78rem; color: #3d9945; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.shot-card { background: #fff; border: 1px solid #e4e6e0; border-radius: 6px; overflow: hidden; margin: 0; }
.shot-card img { width: 100%; display: block; border-bottom: 1px solid #e4e6e0; }
.shot-card figcaption { padding: 0.75rem 1rem; font-size: 0.88rem; color: #666; }

/* Sponsoren-Sidebar-Bilder etwas begrenzen */
.sidebar img.aligncenter { max-height: 60px; display: block; margin: 0 auto; }
