
.streamers-main {padding:40px 24px 64px}
.streamers-main [hidden] {display:none!important}
.streamers-main>.section-inner {width:min(100%,var(--max));margin-inline:auto}
.streamer-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,560px),1fr));gap:24px}
.streamer-card {display:grid;grid-template-columns:220px minmax(0,1fr);min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow)}
.streamer-portrait {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:32px 22px;background:linear-gradient(145deg,var(--green-soft),var(--panel-blue));border-right:1px solid var(--line)}
.streamer-avatar {width:160px;height:160px;max-width:100%;object-fit:cover;border:5px solid var(--panel);border-radius:50%;box-shadow:0 8px 24px rgba(27,41,34,.16)}
.streamer-role {padding:4px 12px;border:1px solid var(--line-strong);border-radius:999px;background:var(--panel);color:var(--green-dark);font-size:13px;font-weight:800;text-align:center}
.streamer-card-body {min-width:0;padding:30px 34px;align-self:center}
.streamer-name {margin:0;font-size:clamp(24px,2.8vw,34px);line-height:1.3;overflow-wrap:anywhere}
.streamer-subtitle {margin:4px 0 0;font-size:14px;color:var(--muted)}
.streamer-tags {display:flex;flex-wrap:wrap;gap:7px;padding:0;margin:18px 0 0;list-style:none}
.streamer-tag {padding:3px 10px;border-radius:6px;background:var(--panel-2);color:var(--muted);font-size:12px;font-weight:700}
.streamer-description {margin:18px 0 0;color:var(--muted);line-height:1.9;white-space:pre-line}
.streamer-links {display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.streamer-link {display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:10px 16px;border:1px solid var(--line-strong);border-radius:10px;background:var(--panel-2);color:var(--text);font-size:14px;font-weight:800;transition:background .16s,border-color .16s,transform .16s}
.streamer-link:hover {background:var(--green-soft);border-color:var(--green);transform:translateY(-2px)}
.streamer-platform-icon {display:flex;width:22px;height:22px;flex:0 0 22px;align-items:center}
.streamer-platform-icon svg {width:100%;height:100%}
.streamer-link-youtube .streamer-platform-icon {color:#c43232}
.streamer-link-twitch .streamer-platform-icon {color:#7550bb}
html[data-theme="dark"] .streamer-link-youtube .streamer-platform-icon {color:#ff8585}
html[data-theme="dark"] .streamer-link-twitch .streamer-platform-icon {color:#c7a7ff}
.streamer-link-arrow {margin-left:4px;color:var(--muted)}
#streamer-guidelines {margin-top:24px}
.streamer-guidelines {display:grid;gap:0}
.streamer-guidelines details {border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
.streamer-guidelines summary {padding:18px 0;font-size:16px;font-weight:700;cursor:pointer}
.streamer-guideline-body {padding:0 0 20px;color:var(--muted);font-size:15px;line-height:1.95}
.streamer-guideline-body p {margin:0 0 12px}
.streamer-guideline-body ul {margin:0 0 12px;padding-left:1.5em}
.streamer-guideline-body>:last-child {margin-bottom:0}
.streamer-guideline-body li+li {margin-top:8px}
.streamer-guideline-body strong {color:var(--red)}
.streamers-note {display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:30px;padding:22px 26px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--panel-2)}
.streamers-note strong {display:block}
.streamers-note p {margin:5px 0 0;color:var(--muted);font-size:14px}
.streamers-note-actions {display:flex;flex-wrap:wrap;gap:10px;flex:0 0 auto}
.streamers-note-actions .btn {min-height:44px;font-size:14px}
.streamers-empty {grid-column:1/-1;padding:32px;text-align:center;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);color:var(--muted)}
.streamer-link:focus-visible,.streamer-editor button:focus-visible,.streamer-editor a:focus-visible {outline:3px solid var(--green);outline-offset:3px}


.streamer-editor {display:grid;grid-template-columns:240px minmax(0,1fr);align-items:start;gap:24px}
.streamer-editor-sidebar,.streamer-editor-panel {padding:22px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow);min-width:0}
.streamer-editor h2 {margin:0 0 16px;font-size:19px}
.streamer-editor-list {display:flex;flex-direction:column;gap:8px;padding:0;margin:0 0 16px;list-style:none}
.streamer-editor-list button {width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--panel-2);color:var(--text);text-align:left;cursor:pointer;overflow-wrap:anywhere}
.streamer-editor-list button[aria-pressed="true"] {background:var(--green-soft);border-color:var(--green);font-weight:800}
.streamer-editor button,.streamer-editor .editor-action {min-height:44px}
.editor-button {display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:9px 14px;border:1px solid var(--line-strong);border-radius:8px;background:var(--panel-2);color:var(--text);font-weight:700;cursor:pointer}
.editor-button:hover {background:var(--green-soft)}
.editor-primary {background:var(--green-dark);color:var(--bg);border-color:var(--green-dark)}
.editor-primary:hover {background:var(--green);color:var(--bg)}
.editor-danger {color:var(--red);border-color:var(--red)}
.editor-button:disabled {opacity:.45;cursor:default}
.editor-toolbar {display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 22px}
.editor-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.editor-field {display:flex;flex-direction:column;gap:7px;min-width:0;font-size:14px;font-weight:700}
.editor-field-wide {grid-column:1/-1}
.editor-field input,.editor-field textarea {width:100%;padding:10px 12px;border:1px solid var(--line-strong);border-radius:8px;background:var(--bg-soft);color:var(--text);font-weight:400}
.editor-field input:focus,.editor-field textarea:focus {outline:2px solid var(--green);outline-offset:1px}
.editor-field textarea {min-height:128px;resize:vertical}
.editor-field small {font-weight:400;color:var(--muted);line-height:1.7}
.editor-field input[type="file"] {font-size:13px}
.editor-checkbox {display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700}
.editor-checkbox input {width:19px;height:19px;accent-color:var(--green-dark)}
.editor-export {display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}
.editor-export p {flex-basis:100%;margin:0;color:var(--muted);font-size:14px}
.editor-status {margin:16px 0 0;font-size:14px;color:var(--green-dark);min-height:1.75em;white-space:pre-line}
.editor-status[data-error="true"] {color:var(--red)}
.editor-preview {margin-top:30px}
.editor-preview>h2 {margin:0 0 16px;font-size:20px}
.editor-preview .streamer-card {grid-template-columns:180px minmax(0,1fr)}
.editor-preview .streamer-avatar {width:128px;height:128px}
.editor-empty {padding:20px;color:var(--muted)}

@media(max-width:1100px) {
  .streamer-card {grid-template-columns:180px minmax(0,1fr)}
  .streamer-avatar {width:136px;height:136px}
  .streamer-card-body {padding:26px}
  .streamers-note {align-items:flex-start;flex-direction:column;gap:18px}
}
@media(max-width:760px) {
  .streamers-main {padding:28px 14px 44px}
  .streamers-main>.section-inner {width:100%}
  .streamer-grid {gap:18px;grid-template-columns:1fr}
  .streamer-card,.editor-preview .streamer-card {grid-template-columns:1fr}
  .streamer-portrait {flex-direction:row;justify-content:flex-start;padding:22px 24px;border-right:0;border-bottom:1px solid var(--line)}
  .streamer-avatar,.editor-preview .streamer-avatar {width:104px;height:104px;flex:0 0 104px;border-width:4px}
  .streamer-card-body {padding:24px}
  .streamer-links {gap:8px;margin-top:20px}
  .streamer-link {flex:1 1 180px;justify-content:center}
  .streamers-note {padding:20px}
  .streamers-note-actions {width:100%}
  .streamers-note-actions .btn {flex:1 1 auto}
  .streamer-editor {grid-template-columns:1fr;gap:18px}
  .streamer-editor-sidebar,.streamer-editor-panel {padding:18px}
  .streamer-editor-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .editor-fields {grid-template-columns:1fr}
  .editor-field-wide {grid-column:auto}
}
@media(prefers-reduced-motion:reduce) {
  .streamer-link {transition:none}
  .streamer-link:hover {transform:none}
}

.streamer-link-tiktok .streamer-platform-icon {color:var(--text)}
