.ww-shell, .ww-play, .ww-result {
    max-width: 720px;
    margin: 0 auto;
    padding: 18px 14px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #e5e7eb;
    background: radial-gradient(circle at 20% 0%, rgba(56,189,248,0.25), rgba(14,165,233,0.05)), #0f172a;
}
.ww-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ww-lang-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}
.ww-lang-row label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #cbd5e1;
}
.ww-lang-row select {
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgba(148,163,184,0.4);
    background: rgba(15,23,42,0.9);
    color: #e5e7eb;
    font-size: 13px;
}
.ww-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: #cbd5e1;
}
.ww-form select {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(148,163,184,0.4);
    background: rgba(15,23,42,0.9);
    color: #e5e7eb;
}
.ww-btn {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(56,189,248,0.6);
    background: linear-gradient(135deg, #0ea5e9, #22c55e);
    color: #0b1120;
    font-weight: 700;
    cursor: pointer;
}
.ww-btn.ghost {
    background: rgba(15,23,42,0.9);
    color: #e5e7eb;
    border-color: rgba(148,163,184,0.5);
}
.ww-tagline {
    margin-top: 12px;
    color: #94a3b8;
}
.ww-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.ww-grid {
    display: grid;
    gap: 1px;
    justify-content: center;
}
.ww-cell {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,23,42,0.8);
    border: 1px solid rgba(148,163,184,0.4);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #e5e7eb;
    user-select: none;
    transition: border-color 0.2s, background 0.2s;
}
.ww-cell:hover {
    border-color: #38bdf8;
}
.ww-cell.selected {
    background: rgba(34,197,94,0.2);
    border-color: rgba(34,197,94,0.8);
}
.ww-cell.solution {
    background: rgba(34,197,94,0.35);
    border-color: #22c55e;
}
.ww-status {
    margin-top: 12px;
    color: #e5e7eb;
}
.ww-status.error {
    color: #f87171;
}
.ww-status.success {
    color: #4ade80;
}
.ww-hint {
    margin-top: 8px;
    font-size: 13px;
    color: #94a3b8;
}
.ww-hint-bar {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
}
.ww-btn.small {
    padding: 6px 10px;
    font-size: 12px;
}
.ww-stats {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(148,163,184,0.35);
    font-size: 13px;
    color: #cbd5e1;
}
.ww-stats ul {
    margin: 6px 0 0;
    padding-left: 18px;
}
