.rush-studio-page{width:min(1500px,calc(100% - 34px));margin:18px auto 56px;display:grid;gap:18px}.rush-studio-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 32px;border:1px solid #dce7f1;border-radius:26px;background:radial-gradient(circle at 88% 10%,rgba(85,89,255,.18),transparent 28%),linear-gradient(135deg,#fff,#f4f8ff 66%,#f4efff);box-shadow:0 18px 42px rgba(28,61,106,.08)}.rush-studio-hero h2{margin:4px 0 8px;font-size:34px;color:#17335c}.rush-studio-hero p{margin:0;max-width:820px;color:#667b96;line-height:1.55}.rush-studio-mark{display:flex;align-items:center;gap:10px;padding:15px 20px;border-radius:20px;background:linear-gradient(135deg,#15bce5,#5f57ef);color:#fff;box-shadow:0 14px 30px rgba(56,82,218,.24);transform:rotate(-2deg)}.rush-studio-mark span{font-size:28px}.rush-studio-mark b{font-size:22px;letter-spacing:.06em}.rush-studio-shell{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(390px,.85fr);gap:18px}.rush-studio-config,.rush-studio-preview{border:1px solid #dce7f1;border-radius:26px;background:#fff;box-shadow:0 16px 40px rgba(27,65,104,.07)}.rush-studio-config{padding:26px;display:grid;gap:18px}.rush-studio-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;border-bottom:1px solid #e7eef5;padding-bottom:12px}.rush-studio-section-head>div{display:flex;align-items:center;gap:10px}.rush-studio-section-head span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#eef4ff;color:#5064d7;font-weight:950}.rush-studio-section-head h3{margin:0;color:#1a395f}.rush-studio-section-head p{margin:0;color:#7b8da3;font-size:12px}.rush-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rush-lobby-music{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid #dde8f3;border-radius:18px;background:#f8fbff;cursor:pointer}.rush-lobby-music input{margin-top:3px}.rush-lobby-music span{display:grid;gap:3px}.rush-lobby-music b{color:#244766}.rush-lobby-music small{color:#7a8da0}.rush-studio-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.rush-studio-status{font-size:12px;color:#627891}.rush-studio-status.error{color:#c4394d}.rush-studio-status.success{color:#168657}.rush-studio-preview{padding:22px;display:grid;align-content:start;gap:12px;background:linear-gradient(180deg,#fff,#f6f9ff)}.rush-preview-screen{min-height:300px;border-radius:24px;padding:24px;background:radial-gradient(circle at 50% 10%,rgba(255,255,255,.25),transparent 30%),linear-gradient(145deg,#0eb9d5,#3457df 54%,#7044db);display:grid;place-items:center;align-content:center;gap:12px;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.28),0 16px 34px rgba(36,79,184,.22)}.rush-preview-code{font-size:35px;font-weight:1000;letter-spacing:.12em}.rush-preview-qr{display:grid;place-items:center;width:78px;height:78px;background:#fff;color:#18264b;border-radius:13px;font-size:54px;line-height:1}.rush-preview-screen strong{font-size:20px}.rush-preview-players{display:flex}.rush-preview-players i{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff;font-style:normal;font-size:22px;margin-left:-7px;border:3px solid rgba(255,255,255,.55);box-shadow:0 4px 12px rgba(0,0,0,.16)}.rush-preview-options{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;width:min(290px,100%)}.rush-preview-options span{height:34px;border-radius:9px}.rush-preview-options span:nth-child(1){background:#2097ff}.rush-preview-options span:nth-child(2){background:#ff9d24}.rush-preview-options span:nth-child(3){background:#f1455b}.rush-preview-options span:nth-child(4){background:#27bb65}.rush-studio-preview h3{margin:6px 0 0;color:#19375d}.rush-studio-preview p{margin:0;color:#71859d;line-height:1.45}.rush-link-box{display:grid;gap:9px;padding:12px;border:1px solid #dce8f4;border-radius:16px;background:#fff}.rush-link-box input{width:100%;border:0;background:#f4f7fb;border-radius:11px;padding:11px;color:#42617d}.rush-link-box>div{display:flex;gap:8px;flex-wrap:wrap}.rush-student-entry{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-radius:15px;background:#eef4ff;color:#536c88;font-size:12px}.rush-student-entry code{color:#3651c5;font-weight:850}.rush-studio-page .field select{min-height:44px}@media(max-width:1000px){.rush-studio-shell{grid-template-columns:1fr}.rush-studio-preview{grid-template-columns:minmax(260px,.8fr) 1fr;align-items:center}.rush-preview-screen{grid-row:span 5}}@media(max-width:720px){.rush-studio-page{width:min(100% - 20px,1500px)}.rush-studio-hero{padding:22px;align-items:flex-start}.rush-studio-mark{display:none}.rush-studio-shell{display:block}.rush-studio-preview{margin-top:16px;display:grid}.rush-option-grid{grid-template-columns:1fr}.rush-studio-section-head{align-items:flex-start;flex-direction:column}.rush-student-entry{align-items:flex-start;flex-direction:column}}
html[data-theme="dark"] .rush-studio-hero,html[data-theme="dark"] .rush-studio-config,html[data-theme="dark"] .rush-studio-preview{background:#172633;border-color:#30495b}html[data-theme="dark"] .rush-studio-hero h2,html[data-theme="dark"] .rush-studio-section-head h3,html[data-theme="dark"] .rush-studio-preview h3{color:#e8f2ff}html[data-theme="dark"] .rush-studio-hero p,html[data-theme="dark"] .rush-studio-section-head p,html[data-theme="dark"] .rush-studio-preview p{color:#9bb0c1}
.rush-language-config{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(180px,.75fr);gap:14px;padding:16px;border:1px solid #dde8f3;border-radius:18px;background:linear-gradient(135deg,#f8fbff,#f5f1ff)}
.rush-language-config .field{margin:0}.rush-language-config small{display:block;margin-top:5px;color:#7a8da0;line-height:1.4}
@media(max-width:720px){.rush-language-config{grid-template-columns:1fr}}

.rush-studio-config .field{display:grid;gap:8px;padding:16px 18px;border:1px solid #dde8f3;border-radius:20px;background:linear-gradient(180deg,#fff,#f7faff);box-shadow:inset 0 1px 0 rgba(255,255,255,.95)}
.rush-studio-config .field>span{font-size:12px;font-weight:900;letter-spacing:.01em;color:#234563}
.rush-studio-config .field select,.rush-studio-config .field input{min-height:48px;border:1px solid #d7e4f2;border-radius:14px;padding:0 14px;background:#fff;color:#214261;box-shadow:0 6px 18px rgba(28,61,106,.05);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.rush-studio-config .field select:hover,.rush-studio-config .field input:hover{border-color:#bfd2ea}
.rush-studio-config .field select:focus,.rush-studio-config .field input:focus{outline:none;border-color:#6558ea;box-shadow:0 0 0 4px rgba(101,88,234,.12),0 10px 22px rgba(45,78,154,.08);transform:translateY(-1px)}
.rush-option-grid .field{min-height:124px}
.rush-language-config{position:relative;overflow:hidden;align-items:start}
.rush-language-config::after{content:"";position:absolute;right:-26px;top:-26px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,rgba(101,88,234,.12),transparent 68%);pointer-events:none}
.rush-language-config .field{background:rgba(255,255,255,.78);backdrop-filter:blur(4px)}
.rush-lobby-music{position:relative;min-height:92px;border-radius:20px;background:linear-gradient(135deg,#f9fbff,#eef4ff);box-shadow:0 10px 24px rgba(31,67,116,.06);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.rush-lobby-music:hover{border-color:#c7d8ee;box-shadow:0 14px 28px rgba(31,67,116,.1);transform:translateY(-1px)}
.rush-lobby-music input{width:18px;height:18px;accent-color:#5c57e8}
.rush-studio-actions .primary,.rush-link-box .secondary,.rush-link-box .primary-link{border-radius:15px!important;box-shadow:0 12px 28px rgba(63,84,213,.16)}
.rush-studio-actions .primary:hover,.rush-link-box .secondary:hover,.rush-link-box .primary-link:hover{transform:translateY(-1px)}
.rush-link-box{padding:14px;border-radius:18px;background:linear-gradient(180deg,#fff,#f7faff)}
.rush-link-box input{border:1px solid #d7e4f2;background:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.rush-student-entry{border:1px solid rgba(113,129,230,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
html[data-theme="dark"] .rush-studio-config .field{background:linear-gradient(180deg,#1b2d3b,#182835);border-color:#314858}
html[data-theme="dark"] .rush-studio-config .field>span{color:#dceaff}
html[data-theme="dark"] .rush-studio-config .field select,html[data-theme="dark"] .rush-studio-config .field input{background:#152430;border-color:#30495b;color:#e8f2ff;box-shadow:none}
html[data-theme="dark"] .rush-language-config{background:linear-gradient(135deg,#1d2f3d,#20273f)}
html[data-theme="dark"] .rush-lobby-music{background:linear-gradient(135deg,#1b2d3b,#1b2734);border-color:#30495b}
html[data-theme="dark"] .rush-link-box{background:linear-gradient(180deg,#182734,#172533);border-color:#30495b}
html[data-theme="dark"] .rush-link-box input{background:#13212d;border-color:#30495b;color:#e6f2ff}
html[data-theme="dark"] .rush-student-entry{background:#1a2a37;color:#c7d9eb}
html[data-theme="dark"] .rush-student-entry code{color:#9eb6ff}


/* V7.1.2 — stronger Rush! Studio visual polish */
.rush-option-grid{gap:16px}
.rush-option-grid .field,.rush-language-config .field{min-height:132px}
.rush-language-config{padding:18px;border-radius:22px;box-shadow:0 12px 28px rgba(31,67,116,.06)}
.rush-language-config .field{border-radius:18px}
.rush-studio-config .field>span{font-size:13px;color:#1d3f63}
.rush-studio-config .field small{font-size:12px;line-height:1.5}
.rush-lobby-music{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px;padding:18px 20px;min-height:108px}
.rush-lobby-music input{-webkit-appearance:none;appearance:none;width:54px;height:30px;border:1px solid #cddaf0;border-radius:999px;background:linear-gradient(135deg,#dce6f4,#cfd9eb);box-shadow:inset 0 1px 2px rgba(14,35,74,.1);cursor:pointer;position:relative;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;margin:0}
.rush-lobby-music input::before{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 6px 14px rgba(32,54,98,.2);transition:transform .18s ease}
.rush-lobby-music input:checked{border-color:#6a5bec;background:linear-gradient(135deg,#18b9dc,#6858e8);box-shadow:0 0 0 4px rgba(101,88,234,.12),0 10px 22px rgba(45,78,154,.12)}
.rush-lobby-music input:checked::before{transform:translateX(24px)}
.rush-lobby-music span{display:grid;gap:6px;align-content:center}
.rush-lobby-music b{display:flex;align-items:center;gap:8px;font-size:19px;line-height:1.15;color:#1e4164}
.rush-lobby-music b::before{content:"🎵";font-size:18px}.rush-show-join-link b::before{content:"🔗"}
.rush-lobby-music small{display:block;max-width:560px;line-height:1.55;color:#6f84a0}
.rush-studio-actions{padding-top:6px}
@media(max-width:720px){.rush-option-grid .field,.rush-language-config .field{min-height:auto}.rush-lobby-music{grid-template-columns:1fr;align-items:start}.rush-lobby-music input{justify-self:start}}
html[data-theme="dark"] .rush-lobby-music input{border-color:#4a6174;background:linear-gradient(135deg,#2a3d4d,#223341)}
html[data-theme="dark"] .rush-lobby-music input:checked{border-color:#70a0ff;background:linear-gradient(135deg,#16a8cd,#5f57ef)}

/* V7.3.0 — custom competition title and short-domain status */
.rush-competition-name-field{padding:15px 16px;border:1px solid #dfe8f3;border-radius:17px;background:linear-gradient(135deg,#fbfdff,#f7f5ff)}.rush-competition-name-field input{font-size:16px;font-weight:850;color:#213f68}.rush-competition-name-field small{line-height:1.45}.rush-preview-screen #rushPreviewActivityName{max-width:92%;text-align:center;line-height:1.15;overflow-wrap:anywhere}.rush-student-entry{flex-wrap:wrap}.rush-student-entry small{flex:1 0 100%;color:#7689a1;line-height:1.4}.rush-student-entry code{overflow-wrap:anywhere;word-break:break-all}

/* V7.3.1 — custom competition title is reflected in Studio controls without overflow */
#rushStudioActivityTitle,#rushPreviewActivityName{overflow-wrap:anywhere;word-break:break-word}
#rushPublishBtn{height:auto;min-height:44px;white-space:normal;line-height:1.2;overflow-wrap:anywhere;padding-top:10px;padding-bottom:10px}


/* V7.4.6 — publication logo editor */
.rush-publication-logo-box{margin-top:14px;padding:16px 18px;border:1px solid rgba(90,110,160,.18);border-radius:18px;background:linear-gradient(180deg,rgba(246,249,255,.92),rgba(237,243,255,.9));display:flex;flex-direction:column;gap:14px}.rush-publication-logo-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.rush-publication-logo-head span{display:block;font-weight:800;color:#18315a;font-size:15px}.rush-publication-logo-head small{display:block;margin-top:6px;color:#5d6b89;line-height:1.45}.rush-publication-logo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.rush-logo-upload-field input[type=file]{padding:10px 0}.rush-logo-clear{white-space:nowrap}.rush-logo-preview{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.9);border:1px dashed rgba(84,104,150,.28)}.rush-logo-preview-frame{width:132px;min-height:72px;display:grid;place-items:center;border-radius:14px;background:radial-gradient(circle at top,rgba(62,130,255,.12),rgba(13,25,50,.04));border:1px solid rgba(80,110,170,.16);padding:10px}.rush-logo-preview-frame img{max-width:100%;max-height:56px;object-fit:contain}.rush-logo-preview-copy{display:flex;flex-direction:column;gap:4px}.rush-logo-preview-copy b{color:#18315a}.rush-logo-preview-copy small{color:#667493;line-height:1.45}@media (max-width:720px){.rush-publication-logo-head{flex-direction:column}.rush-logo-clear{width:100%}.rush-logo-preview{flex-direction:column;align-items:flex-start}.rush-logo-preview-frame{width:100%}}
/* V7.21.3 — Rush Sales Mode publication profile. */
.rush-ways-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.rush-sales-mode{grid-column:1/-1;border-color:rgba(255,157,36,.34);background:linear-gradient(135deg,#fffaf2,#fff2df)}
.rush-sales-mode b::before{content:"💼"!important}
.rush-lobby-music.is-locked{opacity:.55;cursor:not-allowed}.rush-lobby-music.is-locked input{cursor:not-allowed}
#rushDefaultOptionsGrid.is-sales-disabled,#rushDefaultsSectionHead.is-sales-disabled{opacity:.46;filter:saturate(.55)}
#rushDefaultOptionsGrid.is-sales-disabled{pointer-events:none}
html[data-theme="dark"] .rush-sales-mode{background:linear-gradient(135deg,#352a1c,#30251d);border-color:#5d4930}
@media(max-width:720px){.rush-ways-grid{grid-template-columns:1fr}.rush-sales-mode{grid-column:auto}}
