Files

268 lines
4.7 KiB
CSS

.deck-detail-page {
max-width: 800px;
margin: 0 auto;
padding: 0 1rem 3rem;
}
.simulator {
margin-top: 3rem;
padding: 2rem;
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--radius);
}
.simulator-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
}
.simulator-header h2 {
margin: 0;
}
.simulator-controls {
display: flex;
gap: 1rem;
align-items: center;
}
.hand-display {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
min-height: 250px;
margin-bottom: 1.5rem;
}
.hand-card-wrapper {
position: relative;
width: 160px;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s;
}
.hand-card-wrapper:hover {
transform: translateY(-5px);
}
.hand-card-wrapper.selected {
transform: scale(0.95);
opacity: 0.7;
}
.hand-card-img {
width: 100%;
border-radius: 10px;
overflow: hidden;
border: 2px solid transparent;
aspect-ratio: 2/3;
}
.hand-card-wrapper.diver .hand-card-img {
border-color: #ffd700;
box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}
.hand-card-wrapper.selected .hand-card-img {
border-color: var(--accent);
}
.hand-card-img img {
width: 100%;
height: 100%;
object-fit: cover;
}
.card-placeholder {
width: 100%;
height: 100%;
background: var(--bg-elevated);
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 1rem;
font-size: 0.9rem;
color: var(--text-muted);
}
.diver-tag {
position: absolute;
top: -8px;
left: 50%;
transform: translateX(-50%);
background: #ffd700;
color: black;
font-size: 0.7rem;
font-weight: bold;
padding: 2px 8px;
border-radius: 4px;
text-transform: uppercase;
z-index: 2;
}
.mulligan-overlay {
position: absolute;
inset: 0;
background: rgba(255, 77, 77, 0.4);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 2rem;
border-radius: 10px;
z-index: 3;
}
.simulator-hint {
text-align: center;
font-size: 0.9rem;
color: var(--text-muted);
margin-top: 1rem;
}
@media (max-width: 600px) {
.simulator-header {
flex-direction: column;
gap: 1rem;
align-items: flex-start;
}
.hand-card-wrapper {
width: 120px;
}
}
.back-link {
display: inline-flex;
align-items: center;
gap: 0.4rem;
color: var(--text-secondary);
text-decoration: none;
font-size: 0.85rem;
margin-bottom: 1.5rem;
transition: color var(--transition);
}
.back-link:hover {
color: var(--accent);
}
.deck-article {
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 2rem;
}
.deck-header {
margin-bottom: 2rem;
padding-bottom: 1.5rem;
border-bottom: 1px solid var(--border);
}
.deck-header h1 {
margin: 0 0 0.5rem;
}
.deck-factions {
display: flex;
gap: 0.4rem;
margin-bottom: 0.5rem;
flex-wrap: wrap;
}
.faction-badge {
display: inline-block;
font-size: 0.75rem;
font-weight: 600;
padding: 0.2rem 0.7rem;
border-radius: 999px;
background: var(--bg-elevated);
color: var(--accent);
border: 1px solid var(--border);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.deck-card-count {
font-size: 0.85rem;
color: var(--text-muted);
margin: 0 0 1.5rem;
}
.deck-section {
margin-bottom: 2rem;
}
.deck-section:last-child {
margin-bottom: 0;
}
.deck-section h2 {
font-size: 1.05rem;
font-weight: 600;
margin: 0 0 1rem;
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--text-primary);
}
.deck-description {
font-size: 0.95rem;
line-height: 1.7;
color: var(--text-secondary);
}
.deck-description p {
margin: 0 0 1rem;
}
.deck-description p:last-child {
margin-bottom: 0;
}
.empty-state {
text-align: center;
padding: 4rem 1rem;
color: var(--text-muted);
}
.empty-state i {
font-size: 3rem;
display: block;
margin-bottom: 1rem;
}
.inline-card-btn {
background: none;
border: none;
padding: 0;
font-family: inherit;
font-size: inherit;
font-weight: 600;
color: var(--accent);
cursor: pointer;
text-decoration: underline;
text-underline-offset: 2px;
text-decoration-color: rgba(108, 99, 255, 0.3);
transition: color var(--transition), text-decoration-color var(--transition);
}
.inline-card-btn:hover {
color: #7b73ff;
text-decoration-color: #7b73ff;
}
@media (max-width: 768px) {
.back-link {
margin-bottom: 1rem;
}
}