/* Native Tournaments tab treatment for the browser-only tryout demo. */
@keyframes tourneyPreferenceShiftUp {
  0% { background: #123f49; transform: translateY(10px) scale(1.015); }
  55% { background: #2f756e; transform: translateY(-4px) scale(1.02); }
  100% { background: rgba(244,196,76,.08); transform: translateY(0) scale(1); }
}
@keyframes tourneyPreferenceShiftDown {
  0% { background: #123f49; transform: translateY(-10px) scale(1.015); }
  55% { background: #2f756e; transform: translateY(4px) scale(1.02); }
  100% { background: rgba(244,196,76,.08); transform: translateY(0) scale(1); }
}
.tourney-tryout-section {
  padding: 30px 0 80px;
  background: #1c2030;
}
.tourney-tryout-heading {
  margin: 0 auto 24px;
  max-width: 760px;
  text-align: center;
}
.tourney-tryout-heading .section-label { justify-content: center; color: #c99d32; }
.tourney-tryout-heading .section-title { margin-bottom: 8px; }
.tourney-tryout-heading .section-sub { margin: 0 auto; max-width: none; color:#ffe36e; }
.tourney-tryout-section > .section-wrap { max-width: 1800px; }
.tourney-tryout-shell {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(108,224,200,.4);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(16,43,89,.97), rgba(7,26,59,.98));
  box-shadow: 0 16px 34px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.06);
}
.tourney-tryout-top-layout {
  display:grid;
  grid-template-columns:minmax(400px,1.35fr) minmax(240px,.82fr) minmax(280px,.85fr);
  gap:18px;
  align-items:stretch;
  margin-bottom:18px;
}
.tourney-tryout-how-panel {
  min-width:0;
  padding:20px;
  border:1px solid rgba(244,196,76,.38);
  border-radius:13px;
  background:#30343d;
  box-shadow:none;
}
.tourney-tryout-how-panel .tourney-tryout-screen-heading { margin-bottom:13px; }
.tourney-tryout-how-panel .tourney-tryout-flow { grid-template-columns:1fr; gap:10px; }
.tourney-tryout-how-panel .tourney-tryout-flow li { grid-template-columns:42px minmax(0,1fr); min-height:0; padding:0 0 12px; border:0; border-bottom:1px solid rgba(220,226,234,.2); border-radius:0; background:transparent; }
.tourney-tryout-how-panel .tourney-tryout-flow li:last-child { padding-bottom:0; border-bottom:0; }
.tourney-tryout-how-panel .tourney-tryout-flow li:not(:last-child)::before { content:""; position:absolute; z-index:0; left:19px; top:42px; bottom:-8px; width:2px; background:linear-gradient(to bottom,rgba(244,196,76,.9),rgba(108,224,200,.3)); box-shadow:0 0 8px rgba(244,196,76,.2); }
.tourney-tryout-how-panel .tourney-tryout-flow li:not(:last-child)::after { content:none; }
.tourney-tryout-how-panel .tourney-tryout-flow-number { position:relative; z-index:1; width:40px; height:40px; border:2px solid #9bcaff; background:linear-gradient(145deg,#27548c 0%,#102b55 100%); box-shadow:0 0 0 2px rgba(155,202,255,.22),0 2px 6px rgba(0,0,0,.42),inset 0 1px 1px rgba(255,255,255,.18),inset 0 -2px 4px rgba(0,0,0,.34); color:#fff; font-size:.84rem; text-shadow:0 1px 2px rgba(0,0,0,.72); }
.tourney-tryout-how-panel .tourney-tryout-flow-number::before { content:""; position:absolute; inset:4px; border:1px solid rgba(255,255,255,.48); border-radius:50%; pointer-events:none; }
.tourney-tryout-how-panel .tourney-tryout-flow li:nth-child(2) .tourney-tryout-flow-number { border-color:#80e5d0; background:linear-gradient(145deg,#197f74 0%,#0c3f3d 100%); box-shadow:0 0 0 2px rgba(128,229,208,.22),0 2px 6px rgba(0,0,0,.42),inset 0 1px 1px rgba(255,255,255,.18),inset 0 -2px 4px rgba(0,0,0,.34); }
.tourney-tryout-how-panel .tourney-tryout-flow li:nth-child(3) .tourney-tryout-flow-number { border-color:#d1c1ff; background:linear-gradient(145deg,#5e49a2 0%,#2c205d 100%); box-shadow:0 0 0 2px rgba(209,193,255,.22),0 2px 6px rgba(0,0,0,.42),inset 0 1px 1px rgba(255,255,255,.18),inset 0 -2px 4px rgba(0,0,0,.34); }
.tourney-tryout-how-panel .tourney-tryout-flow li:nth-child(4) .tourney-tryout-flow-number { border-color:#ffdc74; background:linear-gradient(145deg,#9a6f13 0%,#4e3508 100%); box-shadow:0 0 0 2px rgba(255,220,116,.22),0 2px 6px rgba(0,0,0,.42),inset 0 1px 1px rgba(255,255,255,.18),inset 0 -2px 4px rgba(0,0,0,.34); }
.tourney-tryout-how-panel .tourney-tryout-flow strong { font-size:.68rem; line-height:1.35; }
.tourney-tryout-how-panel .tourney-tryout-flow small { margin-top:4px; font-size:.6rem; line-height:1.4; }
.tourney-tryout-flow-fine-print { display:block; margin-top:4px; color:#92a0b5; font-size:.48rem; font-style:normal; line-height:1.35; }
.tourney-tryout-how-panel .tourney-tryout-flow li:not(:last-child)::after { content:none; }
.tourney-tryout-output {
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:100%;
  padding:20px;
  overflow:hidden;
  border:1px solid rgba(244,196,76,.48);
  border-radius:13px;
   background:linear-gradient(145deg,#29443f,#1e3632);
  box-shadow:none;
}
.tourney-tryout-output > .tourney-tryout-output-heading { margin-bottom:13px; }
.tourney-tryout-output-heading > div { min-width:0; }
.tourney-tryout-output-heading > div > p { color:#f4c44c; }
.tourney-tryout-output-heading h3 { font-size:1.5rem; white-space:nowrap; }
.tourney-tryout-output .tourney-tryout-output-primary-icon { width:40px; height:40px; border-radius:10px; font-size:1.25rem; }
.tourney-tryout-output::before { content:""; position:absolute; inset:0 auto 0 0; width:4px; background:linear-gradient(#f6d36b,#b47b18); }
.tourney-tryout-output-placeholder { display:flex; flex:1; flex-direction:column; align-items:center; justify-content:center; padding:22px 12px; text-align:center; }
.tourney-tryout-output-placeholder[hidden] { display:none; }
.tourney-tryout-output-icon { display:grid; place-items:center; width:54px; height:54px; margin-bottom:14px; color:#6ce0c8; border:1px solid rgba(108,224,200,.48); border-radius:50%; background:rgba(42,149,135,.13); box-shadow:0 0 0 7px rgba(108,224,200,.035); font-size:1.45rem; }
.tourney-tryout-output-placeholder p { margin:0 0 6px; color:#6ce0c8; font:800 .64rem 'Josefin Sans',sans-serif; letter-spacing:.12em; text-transform:uppercase; }
.tourney-tryout-output-placeholder h3 { margin:0; color:#fff; font:700 1.65rem/1.05 'Cormorant Garamond',serif; }
.tourney-tryout-output-placeholder > span:last-child { display:block; max-width:330px; margin-top:9px; color:#9fb4d2; font-size:.7rem; line-height:1.5; }
.tourney-tryout-output-status { display:flex; flex:1; flex-direction:column; min-width:0; }
.tourney-tryout-output-status-label { margin-bottom:9px; color:#f1d783; font:800 .58rem 'Josefin Sans',sans-serif; letter-spacing:.1em; text-transform:uppercase; }
 .tourney-tryout-output-status .tourney-tryout-output-placeholder { min-height:0; padding:0; }
.tourney-tryout-output-status .tourney-tryout-output-icon { width:35px; height:35px; margin-bottom:8px; font-size:1rem; }
.tourney-tryout-output-status .tourney-tryout-output-placeholder h3 { font-size:1.18rem; }
.tourney-tryout-output-status .tourney-tryout-output-placeholder > span:last-child { margin-top:6px; font-size:.59rem; }
.tourney-tryout-output-status .tourney-tryout-result { max-width:none; margin:12px 0 0; padding:14px 15px; }
.tourney-tryout-output-status .tourney-tryout-result h3 { font-size:1.22rem; }
.tourney-tryout-output-status .tourney-tryout-result p { font-size:.62rem; line-height:1.4; }
.tourney-tryout-output-stats { margin-top:14px; padding-top:12px; border-top:1px solid rgba(244,196,76,.48); text-align:center; }
.tourney-tryout-output-stats > div:last-child { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; width:100%; margin:0 auto; }
.tourney-tryout-output-stats > div:last-child > span { display:block; min-width:0; padding:8px 4px 7px; border:1px solid rgba(255,255,255,.16); border-radius:8px; background:rgba(4,18,44,.2); white-space:nowrap; }
.tourney-tryout-output-stats span { color:#c5d7e9; font-size:.72rem; font-weight:700; text-align:center; }
.tourney-tryout-stat-heading { display:block; margin-bottom:7px; color:inherit; font:700 .62rem/1 'Josefin Sans',sans-serif; letter-spacing:.08em; text-transform:uppercase; }
.tourney-tryout-output-stats strong { display:block; margin-bottom:6px; color:#fff; font-size:1.5rem; line-height:1; white-space:nowrap; }
.tourney-tryout-output-stats strong > span { color:inherit; font-size:inherit; }
.tourney-tryout-output-stats strong > .tourney-tryout-stat-unit { font-size:.62rem; letter-spacing:.035em; text-transform:uppercase; }
.tourney-tryout-output-stats small { display:block; color:inherit; font-size:.87rem; font-weight:700; line-height:1.2; }
.tourney-tryout-output-stats small > span { display:block; color:inherit; font-size:inherit; }
.tourney-tryout-output-stats span.is-paired { color:#b8fac4; border-color:rgba(108,242,138,.3); background:rgba(108,242,138,.09); }
.tourney-tryout-output-stats span.is-paired strong { color:#6cf28a; }
.tourney-tryout-output-stats span.is-pending { color:#ffb6a5; border-color:rgba(255,118,95,.3); background:rgba(255,118,95,.09); }
.tourney-tryout-output-stats span.is-pending strong { color:#ff765f; }
.tourney-tryout-output-stats span.is-open { color:#f6d88b; border-color:rgba(244,196,76,.3); background:rgba(244,196,76,.09); }
.tourney-tryout-output-stats span.is-open strong { color:#f4c44c; }
.tourney-tryout-status {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 12px 0 0;
  padding: 11px 13px;
  color: #c8f5e9;
  border: 1px solid rgba(108,224,200,.38);
  border-radius: 8px;
  background: rgba(42,149,135,.14);
  font-size: .72rem;
  line-height: 1.45;
}
.tourney-tryout-status.is-error { color: #ffd3d3; border-color: rgba(255,126,126,.4); background: rgba(145,40,56,.16); }
.tourney-tryout-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 27px;
}
.tourney-tryout-progress > div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 12px;
  color: #718ab2;
  border: 1px solid rgba(144,180,235,.2);
  border-radius: 8px;
  background: rgba(3,15,40,.48);
  font: 700 .68rem/1.2 'Josefin Sans',sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tourney-tryout-progress > div.is-active,
.tourney-tryout-progress > div.is-current {
  color: #fff;
  border-color: rgba(108,224,200,.7);
  background: linear-gradient(110deg, rgba(35,142,122,.32), rgba(16,60,112,.55));
}
.tourney-tryout-progress b {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .66rem;
}
.tourney-tryout-progress > div.is-active b { color: #0a332f; background: #6ce0c8; border-color: #6ce0c8; }
.tourney-tryout-screen { animation: tourneyTryoutIn .22s ease both; }
@keyframes tourneyTryoutIn { from { opacity: .35; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.tourney-tryout-screen-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.tourney-tryout-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  color: #83c3ff;
  border: 1px solid rgba(103,166,255,.5);
  border-radius: 10px;
  background: rgba(27,99,212,.2);
  font-size: 21px;
}
.tourney-tryout-icon.is-teal { color: #6ce0c8; border-color: rgba(108,224,200,.5); background: rgba(42,149,135,.16); }
.tourney-tryout-icon.is-gold { color: #f4c44c; border-color: rgba(244,196,76,.5); background: rgba(244,188,25,.14); }
.tourney-tryout-icon.is-violet { color:#c7b8ff; border-color:rgba(181,161,255,.56); background:rgba(113,83,197,.18); }
.tourney-tryout-screen-heading p {
  margin: 0 0 3px;
  color: #6ce0c8;
  font: 700 .62rem 'Josefin Sans',sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.tourney-tryout-screen-heading h3 {
  margin: 0;
  color: #fff;
  font: 700 1.7rem/1.05 'Cormorant Garamond',serif;
}
.tourney-tryout-screen-heading > div > span {
  display: block;
  margin-top: 5px;
  color: #a9bbd9;
  font-size: .78rem;
  line-height: 1.45;
}
.tourney-tryout-date-options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.tourney-tryout-date-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 145px;
  padding: 20px;
  color: #dce9ff;
  border: 1px solid rgba(120,157,225,.35);
  border-radius: 10px;
  background: rgba(4,15,39,.62);
  text-align: left;
  transition: border-color .18s, transform .18s, background .18s;
}
.tourney-tryout-date-card:hover { border-color: #76bdff; transform: translateY(-2px); }
.tourney-tryout-date-card.is-selected {
  color: #fff;
  border-color: #f4c44c;
  background: linear-gradient(135deg, rgba(28,79,159,.82), rgba(9,35,81,.96));
  box-shadow: 0 0 0 1px rgba(244,196,76,.2), 0 10px 22px rgba(0,0,0,.2);
}
.tourney-tryout-date-card b { display: block; color: #a7c2eb; font-size: .73rem; letter-spacing: .05em; }
.tourney-tryout-date-card.is-selected b { color: #dbe9ff; }
.tourney-tryout-date-card strong { display: block; margin-top: 5px; font: 700 1.45rem/1 'Cormorant Garamond',serif; }
.tourney-tryout-date-card span { display: block; margin-top: 16px; color: #9eb6df; font-size: .72rem; }
.tourney-tryout-date-card span::before { content: '●'; margin-right: 7px; color: #6ce0c8; font-size: .55rem; vertical-align: middle; }
.tourney-tryout-date-card em {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #07162d;
  border-radius: 50%;
  background: transparent;
  font-style: normal;
}
.tourney-tryout-date-card.is-selected em { background: #f4c44c; }
.tourney-tryout-note {
  display: flex;
  gap: 9px;
  margin-top: 17px;
  padding: 12px 14px;
  color: #a9bedf;
  border: 1px solid rgba(103,166,255,.24);
  border-radius: 8px;
  background: rgba(27,99,212,.12);
  font-size: .73rem;
  line-height: 1.5;
}
.tourney-tryout-note strong { flex: 0 0 auto; color: #8ec7ff; }
.tourney-tryout-modes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-bottom: 19px; }
.tourney-tryout-modes button {
  display: grid;
  grid-template-columns: 29px 1fr;
  gap: 2px 10px;
  align-items: center;
  min-height: 77px;
  padding: 12px 14px;
  color: #9eb2d5;
  border: 1px solid rgba(120,157,225,.3);
  border-radius: 9px;
  background: rgba(4,15,39,.6);
  text-align: left;
}
.tourney-tryout-modes button:hover { border-color: #76bdff; }
.tourney-tryout-modes button.is-selected { color: #fff; border-color: #6ce0c8; background: rgba(31,122,111,.22); }
.tourney-tryout-modes button > span { grid-row: 1 / 3; color: #76bdff; font-size: 1.55rem; text-align: center; }
.tourney-tryout-modes button.is-selected > span { color: #6ce0c8; }
.tourney-tryout-modes strong { font-size: .78rem; }
.tourney-tryout-modes small { color: #8298bf; font-size: .65rem; line-height: 1.35; }
.tourney-tryout-modes button.is-selected small { color: #b7d6d0; }
.tourney-tryout-list-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 9px; color: #b8cbe9; font-size: .72rem; font-weight: 700; }
.tourney-tryout-list-label span:last-child { color: #829ac2; font-weight: 400; }
.tourney-tryout-students { display: grid; gap: 8px; }
.tourney-tryout-student {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 12px;
  color: #edf4ff;
  border: 1px solid rgba(120,157,225,.26);
  border-radius: 8px;
  background: rgba(4,13,34,.5);
  text-align: left;
}
.tourney-tryout-student:hover { border-color: #76bdff; }
.tourney-tryout-student.is-selected { border-color: #6ce0c8; background: rgba(31,122,111,.2); }
.tourney-tryout-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; color: #06152e; border-radius: 8px; font-size: .66rem; font-weight: 800; }
.tourney-tryout-avatar.gold { background: #f0c34d; }.tourney-tryout-avatar.blue { background: #82b7ff; }.tourney-tryout-avatar.violet { background: #b5a1ff; }.tourney-tryout-avatar.teal { background: #77ddc8; }
.tourney-tryout-student-copy { flex: 1; min-width: 0; }.tourney-tryout-student-copy strong,.tourney-tryout-student-copy small { display: block; }.tourney-tryout-student-copy strong { font-size: .76rem; }.tourney-tryout-student-copy small { margin-top: 3px; color: #8198bf; font-size: .65rem; }
.tourney-tryout-student-status { color: #6ce0c8; font-size: .62rem; font-weight: 700; white-space: nowrap; }.tourney-tryout-chevron { color: #829ac2; font-size: 1.2rem; }
.tourney-tryout-empty { padding: 15px; color: #a9bbd9; border: 1px dashed rgba(120,157,225,.34); border-radius: 8px; font-size: .74rem; line-height: 1.5; }
.tourney-tryout-callout { margin-top: 12px; padding: 11px 13px; color: #a9bedf; border: 1px solid rgba(103,166,255,.24); border-radius: 8px; background: rgba(27,99,212,.1); font-size: .7rem; line-height: 1.5; }
.tourney-tryout-callout.is-teal { color: #c4eee5; border-color: rgba(108,224,200,.3); background: rgba(42,149,135,.13); }
.tourney-tryout-board-layout {
  display: grid;
  grid-template-columns: 560px minmax(260px,1fr) 270px;
  gap: 12px;
  align-items: stretch;
  margin-top: 14px;
}
.tourney-tryout-roster,.tourney-tryout-board,.tourney-tryout-side > section {
  border: 1px solid rgba(83,133,219,.34);
  border-radius: 10px;
  background: linear-gradient(150deg,rgba(3,17,45,.84),rgba(5,22,55,.68));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.tourney-tryout-roster { padding: 14px; }
.tourney-tryout-board { min-width: 0; overflow: hidden; }
.tourney-tryout-board-panel-title,.tourney-tryout-board-heading,.tourney-tryout-board-heading > div { display: flex; align-items: center; gap: 9px; }
.tourney-tryout-board-panel-title { margin-bottom: 12px; }
.tourney-tryout-board-panel-title h4,.tourney-tryout-board-heading h4 { margin: 0; color: #fff; font: 700 .9rem 'Josefin Sans',sans-serif; letter-spacing: .04em; text-transform: uppercase; }
 .tourney-tryout-board-panel-title p { margin: 3px 0 0; color: #8da5ca; font-size: .7rem; line-height: 1.35; }
 .tourney-tryout-board-panel-title .tourney-tryout-roster-instructions { margin-top: 6px; color: #fff; font-size: .77rem; font-weight: 600; line-height: 1.5; }
.tourney-tryout-board-icon { display: grid; place-items: center; flex: 0 0 auto; width: 29px; height: 29px; color: #79baff; border-radius: 7px; background: rgba(36,104,224,.2); font-size: 1rem; }
.tourney-tryout-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 9px; }
.tourney-tryout-filter-row span { color: #7890b7; font: 700 .63rem 'Josefin Sans',sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.tourney-tryout-filter-row .is-active { padding: 6px 9px; color: #092049; border-radius: 5px; background: #f5c441; }
.tourney-tryout-preference-list { display:grid; gap:5px; margin:0 0 10px; padding:0; list-style:none; }
 .tourney-tryout-preference-list li { position:relative; display:grid; grid-template-columns:25px 22px minmax(0,1fr) 72px 30px; gap:7px; align-items:center; min-height:44px; padding:6px 7px; color:#dce9ff; border:1px solid rgba(244,196,76,.3); border-radius:6px; background:rgba(244,196,76,.08); cursor:grab; touch-action:none; transition:border-color .16s,background .16s,box-shadow .16s,transform .16s,opacity .16s; }
.tourney-tryout-preference-list li:hover,.tourney-tryout-preference-list li:focus-visible { border-color:#f4c44c; background:rgba(244,196,76,.13); outline:none; }
 .tourney-tryout-preference-list li.is-dragging { z-index:3; opacity:.98; border-color:#6ce0c8; background:#123f49; box-shadow:0 10px 20px rgba(0,0,0,.34),0 0 0 2px rgba(108,224,200,.3); cursor:grabbing; transform:translateY(-3px) scale(1.02); }
 .tourney-tryout-preference-list li.is-drop-target { border-color:#f4c44c; background:#3b341f; box-shadow:none; }
 .tourney-tryout-preference-list li.is-drop-before::before,.tourney-tryout-preference-list li.is-drop-after::before { position:absolute; left:7px; right:7px; z-index:4; height:3px; border-radius:3px; background:#f4c44c; box-shadow:0 0 0 1px rgba(255,245,180,.45); content:""; }
 .tourney-tryout-preference-list li.is-drop-before::before { top:-4px; }
 .tourney-tryout-preference-list li.is-drop-after::before { bottom:-4px; }
 .tourney-tryout-preference-list li.is-reordered-up { animation:tourneyPreferenceShiftUp .42s ease-out; }
 .tourney-tryout-preference-list li.is-reordered-down { animation:tourneyPreferenceShiftDown .42s ease-out; }
.tourney-tryout-preference-list li > b { display:grid; place-items:center; width:23px; height:23px; color:#07162d; border-radius:50%; background:#f4c44c; font-size:.58rem; }
 .tourney-tryout-preference-list li > span:not(.tourney-tryout-preference-grip) { min-width:0; overflow:hidden; font-size:.66rem; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
 .tourney-tryout-preference-name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
 .tourney-tryout-preference-grade { padding-left:8px; color:#b8cae6; border-left:1px solid rgba(142,199,255,.35); font-size:.57rem!important; font-weight:600!important; }
.tourney-tryout-preference-grip { display:grid; place-items:center; width:19px; height:24px; color:#8ec7ff; border:1px solid rgba(142,199,255,.34); border-radius:4px; font-size:.94rem; font-weight:700; line-height:1; text-align:center; }
.tourney-tryout-preference-list button { display:grid; place-items:center; width:27px; height:27px; padding:0; color:#a9ccff; border:1px solid rgba(120,157,225,.3); border-radius:4px; background:rgba(4,13,34,.62); font-size:.76rem; }
.tourney-tryout-preference-list button:last-child { color:#ffc7c7; }
.tourney-tryout-preference-list button:disabled { opacity:.28; cursor:not-allowed; }
.tourney-tryout-preference-list button:not(:disabled):hover,.tourney-tryout-preference-list button:not(:disabled):focus-visible { color:#fff; border-color:#76bdff; outline:none; }
.tourney-tryout-preference-empty { margin:0 0 10px; padding:9px 10px; color:#8298bf; border:1px dashed rgba(120,157,225,.25); border-radius:6px; font-size:.62rem; line-height:1.4; }
.tourney-tryout-search { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; padding: 0 9px; color: #7391bd; border: 1px solid rgba(89,137,215,.25); border-radius: 6px; background: rgba(2,13,36,.7); }
.tourney-tryout-search input { min-width: 0; width: 100%; padding: 9px 0; color: #eef5ff; border: 0; outline: 0; background: transparent; font-size: .7rem; }
.tourney-tryout-search input::placeholder { color: #617ba4; }
.tourney-tryout-roster-list { display: grid; grid-template-columns: 1fr; gap: 6px; max-height: 540px; overflow-y: auto; scrollbar-color: rgba(103,157,235,.45) transparent; }
 .tourney-tryout-roster-piece { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 82px 48px; align-items: center; min-width: 0; min-height: 52px; padding: 7px 10px; color: #eaf3ff; border: 1px solid rgba(79,139,231,.5); border-radius: 7px; background: linear-gradient(155deg,rgba(10,41,91,.88),rgba(3,18,48,.86)); cursor: grab; text-align: left; transition: border-color .17s,box-shadow .17s,transform .17s,opacity .17s; }
.tourney-tryout-roster-piece:hover,.tourney-tryout-roster-piece:focus-visible { border-color: #76bdff; box-shadow: 0 0 13px rgba(56,145,255,.25); transform: translateY(-2px); outline: none; }
.tourney-tryout-roster-piece.is-selected { border-color: #f4c44c; box-shadow: 0 0 13px rgba(244,196,76,.34); }
.tourney-tryout-roster-piece.is-dragging { opacity: .42; cursor: grabbing; }
.tourney-tryout-roster-piece[hidden] { display: none; }
.tourney-tryout-roster-name { min-width: 0; overflow: hidden; white-space: nowrap; }
 .tourney-tryout-roster-grade { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tourney-tryout-roster-name strong { display: block; overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
 .tourney-tryout-roster-grade,.tourney-tryout-roster-check { padding-left: 9px; border-left: 1px solid rgba(126,173,235,.3); }
 .tourney-tryout-roster-grade { color: #b4c8e6; font-size: .6rem; font-weight: 700; line-height: 1.35; }
.tourney-tryout-roster-check { display:grid; place-items:center; justify-self: end; min-width:29px; height:24px; padding-right: 3px; color: #7fbaff; border-radius:9px; font-size: .68rem; font-weight:800; }
.tourney-tryout-roster-piece.is-selected .tourney-tryout-roster-check { color:#07162d; background:#f4c44c; }
.tourney-tryout-piece-art { display: grid; place-items: center; width: 50px; height: 58px; margin-bottom: 3px; color: #4191ff; filter: none; }
.tourney-tryout-piece-art svg { width: 100%; height: 100%; overflow: visible; }
.tourney-tryout-piece-art svg g { fill: currentColor; stroke: #8ec7ff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.2; }
.tourney-tryout-roster-piece.violet .tourney-tryout-piece-art,.tourney-tryout-piece.violet .tourney-tryout-piece-art { color: #ff55bd; filter: none; }
.tourney-tryout-roster-piece.violet .tourney-tryout-piece-art svg g,.tourney-tryout-piece.violet .tourney-tryout-piece-art svg g { stroke: #ffafe1; }
.tourney-tryout-roster-piece.gold .tourney-tryout-piece-art,.tourney-tryout-piece.gold .tourney-tryout-piece-art { color: #f4c44c; filter: none; }
.tourney-tryout-roster-piece.teal .tourney-tryout-piece-art,.tourney-tryout-piece.teal .tourney-tryout-piece-art,.tourney-tryout-your-piece.teal { color: #56dfc2; filter: none; }
.tourney-tryout-board-heading { justify-content: space-between; min-height: 57px; padding: 10px 13px; border-bottom: 1px solid rgba(83,133,219,.28); }
.tourney-tryout-board-heading > span { color: #f1c755; font-size: .64rem; font-weight: 700; letter-spacing: .04em; }
.tourney-tryout-board-grid { padding: 8px 10px 12px; }
.tourney-tryout-board-row { display: grid; grid-template-columns: 24px minmax(0,1fr) 25px minmax(0,1fr); gap: 7px; align-items: center; min-height: 78px; padding: 5px; border-bottom: 1px solid rgba(72,112,187,.16); }
.tourney-tryout-board-row:last-child { border-bottom: 0; }
.tourney-tryout-row-number { color: #c8d8ef; font: 700 .65rem 'Josefin Sans',sans-serif; text-align: center; }
.tourney-tryout-board-slot { min-width: 0; }
.tourney-tryout-piece,.tourney-tryout-drop-slot { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 66px; border-radius: 7px; }
.tourney-tryout-piece { position: relative; padding: 4px 7px; color: #edf5ff; border: 1px solid rgba(79,139,231,.52); background: linear-gradient(145deg,rgba(12,47,102,.88),rgba(4,21,53,.9)); box-shadow: none; }
.tourney-tryout-piece.is-incoming { cursor: pointer; text-align: left; background: linear-gradient(145deg,rgba(91,66,18,.92),rgba(47,30,9,.94)); }
.tourney-tryout-piece.is-incoming:hover,.tourney-tryout-piece.is-incoming:focus-visible { border-color: #f4c44c; box-shadow: none; outline: none; }
.tourney-tryout-piece .tourney-tryout-piece-art { width: 38px; height: 46px; margin: 0; }
.tourney-tryout-piece-name { min-width: 0; overflow: hidden; font-size: .86rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.tourney-tryout-piece-tag { position: absolute; top: -8px; right: 6px; z-index: 1; padding: 4px 7px; color: #07162d; border: 1px solid rgba(255,244,180,.72); border-radius: 4px; background: #ffd35c; box-shadow: none; font-size: .54rem; font-weight: 900; letter-spacing: .04em; line-height: 1.1; text-transform: uppercase; white-space: nowrap; }
.tourney-tryout-piece.is-incoming .tourney-tryout-piece-tag { color: #241500; background: #ffcf4d; }
.tourney-tryout-board-row.is-locked .tourney-tryout-piece { border-color: #43db76; box-shadow: none; }
.tourney-tryout-board-row.is-pending .tourney-tryout-piece,.tourney-tryout-board-row.is-your-request .tourney-tryout-piece,.tourney-tryout-board-row.is-incoming .tourney-tryout-piece { border-color: #f4c44c; box-shadow: none; }
.tourney-tryout-row-state { display: grid; place-items: center; color: #5f83b9; cursor: help; font-size: .7rem; text-align: center; }
.tourney-tryout-row-state svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; vertical-align: middle; }
.tourney-tryout-board-row.is-locked .tourney-tryout-row-state { color: #54dd81; }
.tourney-tryout-board-row.is-pending .tourney-tryout-row-state,.tourney-tryout-board-row.is-your-request .tourney-tryout-row-state { color: #f4c44c; }
.tourney-tryout-drop-slot { flex-direction: column; gap: 0; color: #5592de; border: 1px dashed rgba(72,141,229,.6); background: rgba(8,35,79,.32); cursor: pointer; transition: border-color .17s,background .17s,box-shadow .17s; }
.tourney-tryout-drop-slot:hover,.tourney-tryout-drop-slot:focus-visible { color: #8fc8ff; border-color: #76bdff; background: rgba(25,78,154,.32); box-shadow: inset 0 0 14px rgba(45,120,220,.18); outline: none; }
.tourney-tryout-drop-slot span { font-size: 1rem; line-height: 1; }
 .tourney-tryout-drop-slot small { color:#d8eaff; font-size: .54rem; font-weight:800; line-height:1.25; }
.tourney-tryout-drop-slot.is-read-only { color:#637da5; border-style:solid; border-color:rgba(72,112,187,.22); background:rgba(4,18,44,.34); cursor:default; }
.tourney-tryout-side { display: grid; align-content: start; gap: 8px; }
.tourney-tryout-side > section { padding: 12px; }
.tourney-tryout-side-title { margin-bottom: 9px; color: #dce9ff; font: 700 .58rem 'Josefin Sans',sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.tourney-tryout-your-status { display: flex; align-items: center; gap: 9px; padding-bottom: 10px; border-bottom: 1px solid rgba(83,133,219,.22); }
.tourney-tryout-your-piece { display: grid; place-items: center; flex: 0 0 auto; width: 43px; height: 43px; border: 1px solid rgba(108,224,200,.56); border-radius: 50%; background: rgba(31,122,111,.18); }
.tourney-tryout-your-piece svg { width: 36px; height: 36px; fill: currentColor; stroke: #a5f2e4; stroke-width: 1.2; }
.tourney-tryout-your-status strong,.tourney-tryout-your-status small { display: block; }
 .tourney-tryout-your-status strong { color: #fff; font-size: .75rem; font-weight:800; }
.tourney-tryout-your-status small { margin-top: 3px; color: #87a1c7; font-size: .5rem; line-height: 1.4; }
.tourney-tryout-side-fact { display: flex; align-items: center; gap: 5px; margin-top: 9px; color: #7dacdf; font-size: .51rem; }
.tourney-tryout-side-fact span { flex: 1; color: #839ac0; }.tourney-tryout-side-fact strong { color: #f0c85b; }
 .tourney-tryout-action-card { border-color:#b9a24d!important; background:#213836!important; box-shadow:none!important; }
 .tourney-tryout-action-intro { margin:-2px 0 10px; color:#c1d1cc; font-size:.55rem; line-height:1.45; }
 .tourney-tryout-action-list { display:grid; gap:7px; }
 .tourney-tryout-action-list > button { display:grid; grid-template-columns:27px minmax(0,1fr); gap:2px 8px; align-items:center; width:100%; min-height:54px; padding:9px 10px; color:#e5edf1; border:1px solid #4d7080; border-radius:7px; background:#142735; box-shadow:none; font:700 .57rem/1.2 'Josefin Sans',sans-serif; letter-spacing:.035em; text-align:left; text-transform:uppercase; transition:border-color .18s,background .18s; }
 .tourney-tryout-action-list > button:hover,.tourney-tryout-action-list > button:focus-visible { border-color:#b7d7d0; background:#1d3a45; transform:none; }
 .tourney-tryout-action-list > button:disabled { opacity:.72; cursor:default; transform:none; }
.tourney-tryout-action-list > button[hidden],.tourney-tryout-action-submit[hidden] { display:none; }
.tourney-tryout-action-list > button small { grid-column:2; color:#a9c0e3; font:600 .52rem/1.3 'Josefin Sans',sans-serif; letter-spacing:.01em; text-transform:none; }
 .tourney-tryout-action-list [data-tryout-pairs] { color:#e1fff5; border-color:#4ebda5; background:#173e3b; }
 .tourney-tryout-action-list [data-tryout-print] { color:#fff1bf; border-color:#c5a64b; background:#3a3019; }
 .tourney-tryout-action-list [data-tryout-edit] { border-color:#5f9dce; }
 .tourney-tryout-action-list [data-tryout-new] { color:#eeeaff; border-color:#897db5; background:#25283b; }
 .tourney-tryout-action-list [data-tryout-withdraw] { color:#ffd9dc; border-color:#b45a68; background:#3d222b; }
.tourney-tryout-action-info { display:grid; place-items:center; grid-row:1 / 3; width:25px; height:25px; color:#07162d; border-radius:50%; background:#79ead2; font:900 .66rem/1 Arial,sans-serif; }
.tourney-tryout-action-list [data-tryout-print] .tourney-tryout-action-info { background:#f4c44c; }
.tourney-tryout-action-list [data-tryout-edit] .tourney-tryout-action-info { background:#8cc8ff; }
.tourney-tryout-action-list [data-tryout-new] .tourney-tryout-action-info { background:#c1adff; }
.tourney-tryout-action-list [data-tryout-withdraw] .tourney-tryout-action-info { color:#3a0c18; background:#ff9ca9; }
  .tourney-tryout-action-submit { position:relative; margin-top:5px; padding:15px 12px 13px; border:1px solid #f8d45d; border-radius:9px; background:#3b3420; box-shadow:none; text-align:center; }
.tourney-tryout-action-arrow { display:grid; place-items:center; width:27px; height:27px; margin:-2px auto 5px; color:#07162d; border-radius:50%; background:#f4c44c; font-weight:900; }
 .tourney-tryout-action-submit p { margin:0 0 10px; color:#fff4b9; font-size:.6rem; font-weight:800; line-height:1.4; }
 .tourney-tryout-action-submit .tourney-tryout-continue { display:flex; align-items:center; justify-content:center; width:100%; min-height:68px; margin:0; padding:14px 10px; color:#1b210f; border:2px solid #ffe59a; border-radius:7px; background:#f4d26a; box-shadow:0 3px 0 #a97215; font:900 .95rem/1.2 'Josefin Sans',sans-serif; letter-spacing:.035em; line-height:1.2; text-align:center; text-shadow:none; }
.tourney-tryout-legend p { display: flex; align-items: center; gap: 7px; margin: 6px 0; color: #9bb0cf; font-size: .74rem; }
.tourney-tryout-legend i { display: grid; place-items: center; flex: 0 0 auto; width: 20px; height: 20px; color: #4b83ce; font-style: normal; }
.tourney-tryout-legend i svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.tourney-tryout-legend i.locked { color: #43db76; }.tourney-tryout-legend i.pending { color: #f4c44c; }.tourney-tryout-legend i.open { color: #5f83b9; }
.tourney-tryout-legend i.incoming { color: #f4c44c; }
.tourney-tryout-stats > div:last-child { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.tourney-tryout-stats span { color: #8298bc; font-size: .46rem; text-align: center; }
.tourney-tryout-stats strong { display: block; margin-bottom: 2px; color: #fff; font-size: .8rem; }
.tourney-tryout-fields { display:grid; grid-template-columns:minmax(120px,.55fr) minmax(220px,1.45fr); grid-template-areas:"id name" "grade session"; gap:16px 16px; align-items:start; }
.tourney-tryout-fields label { display:block; min-width:0; color:#fff; font-size:.77rem; font-weight:700; }
.tourney-tryout-fields label > span,.tourney-tryout-session-fieldset legend { display:block; min-height:1.4em; color:#fff; line-height:1.4; white-space:nowrap; }
.tourney-tryout-id-field > span { font-size:.715rem; }
.tourney-tryout-id-field { grid-area:id; }
.tourney-tryout-name-field { grid-area:name; }
.tourney-tryout-grade { grid-area:grade; }
.tourney-tryout-fields small { display: block; margin-top: 6px; color: #8195b8; font-size: .68rem; line-height: 1.35; font-weight: 500; }
.tourney-tryout-fields input,.tourney-tryout-fields select { width:100%; min-height:48px; margin-top:8px; padding:11px 14px; color:#fff; border:1px solid rgba(143,190,247,.52); border-radius:9px; background:rgba(3,13,34,.72); font-size:.8rem; box-shadow:inset 0 1px 0 rgba(255,255,255,.04); }
.tourney-tryout-fields select { padding-right:42px; text-overflow:clip; }
.tourney-tryout-fields input:hover,.tourney-tryout-fields select:hover { border-color:rgba(118,189,255,.72); }
.tourney-tryout-fields input::placeholder { color: #d6e3f5; opacity:1; }
 .tourney-tryout-gate { min-width:0; margin:0; padding:20px; border:1px solid rgba(185,194,207,.48); border-radius:13px; background:#383e47; box-shadow:none; }
.tourney-tryout-gate .tourney-tryout-screen-heading { margin-bottom:18px; padding-bottom:14px; border-bottom:1px solid rgba(157,187,255,.14); }
.tourney-tryout-session-fieldset { grid-area:session; min-width:0; margin:0; padding:0; border:0; }
.tourney-tryout-session-fieldset legend { margin:0; color:#fff; font-size:.77rem; font-weight:700; }
.tourney-tryout-session-select { min-height:48px; color:#f6f9ff; background-color:rgba(3,13,34,.78); font-size:.72rem; font-weight:600; line-height:1.25; cursor:pointer; white-space:nowrap; overflow:hidden; text-overflow:clip; }
.tourney-tryout-session-preview { margin-top:7px; padding:8px 10px; color:#d9e7ff; border-left:2px solid #f4c44c; background:rgba(244,196,76,.08); font-size:.7rem; font-weight:700; line-height:1.4; }
.tourney-tryout-session-select:hover { border-color:#76bdff; }
.tourney-tryout-gate-actions,.tourney-tryout-board-actions,.tourney-tryout-identity,.tourney-tryout-identity-actions { display: flex; align-items: center; gap: 12px; }
.tourney-tryout-gate-actions { display:grid; align-items:center; grid-template-columns:minmax(0,1fr) auto; justify-content:space-between; gap:10px; margin-top:18px; padding:9px 10px; border:1px solid rgba(108,224,200,.3); border-radius:11px; background:linear-gradient(100deg,rgba(31,122,111,.2),rgba(7,26,59,.28)); }
.tourney-tryout-gate-actions p { display:flex; gap:9px; align-items:center; margin:0; color:#dce9f8; font-size:.67rem; line-height:1.35; }
.tourney-tryout-gate-actions p > span:first-child { display:grid; place-items:center; flex:0 0 24px; width:24px; height:24px; color:#07162d; border-radius:50%; background:#6ce0c8; font-weight:900; }
.tourney-tryout-gate-actions p strong { display:block; color:#fff; font-size:.7rem; }
.tourney-tryout-protected-copy { display:grid; gap:2px; }
.tourney-tryout-gate > .tourney-tryout-message.is-error:not([hidden]) { width:100%; margin:15px 0 0; }
.tourney-tryout-identity { position:relative; display:block; margin:0; padding:0; overflow:visible; }
.tourney-tryout-identity.is-paired-collapsed { margin-bottom:0; }
.tourney-tryout-identity::before { content:none; }
.tourney-tryout-output-metrics { margin:0; overflow:hidden; border:1px solid rgba(181,161,255,.28); border-radius:8px; background:rgba(4,18,44,.28); }
.tourney-tryout-output-metrics > div { display:grid; grid-template-columns:max-content minmax(0,1fr); align-items:center; min-height:34px; border-bottom:1px solid rgba(255,255,255,.1); }
.tourney-tryout-output-metrics > div[hidden] { display:none; }
.tourney-tryout-output-metrics > div:last-child { border-bottom:0; }
.tourney-tryout-output-metrics dt,.tourney-tryout-output-metrics dd { min-width:0; padding:7px 9px; line-height:1.2; }
.tourney-tryout-output-metrics dt { color:#b7c8c5; font-size:.6rem; font-weight:800; letter-spacing:.045em; text-transform:uppercase; }
.tourney-tryout-output-metrics dd { margin:0; overflow-wrap:anywhere; color:#fff; font-size:.72rem; font-weight:800; text-align:left; }
.tourney-tryout-output-metrics dd#tourney-tryout-identity-id { color:#f1d783; }
.tourney-tryout-metric-status { justify-self:start; margin-right:0!important; padding:3px 7px!important; border-radius:999px; }
.tourney-tryout-metric-status.is-open { color:#c4e1ff; background:rgba(72,141,229,.18); }
.tourney-tryout-metric-status.is-pending,.tourney-tryout-metric-status.is-waiting { color:#ffb6a5; background:rgba(255,118,95,.16); }
.tourney-tryout-metric-status.is-paired { color:#2d2410; border:1px solid #ffe39a; background:#f4c44c; }
.tourney-tryout-identity-actions { flex-wrap: nowrap; justify-content: flex-end; gap:9px; }
.tourney-tryout-identity-actions [hidden],.tourney-tryout-board-actions[hidden] { display:none; }
.tourney-tryout-identity-actions button { position:relative; display:grid; place-items:center; align-content:center; gap:4px; width:142px; min-height:82px; padding:10px 9px; color:#dce8ff; border:1px solid rgba(120,157,225,.38); border-radius:10px; background:linear-gradient(155deg,rgba(16,51,103,.78),rgba(4,15,38,.8)); box-shadow:inset 0 1px 0 rgba(255,255,255,.05); font:700 .61rem/1.2 'Josefin Sans',sans-serif; letter-spacing:.035em; text-align:center; text-transform:uppercase; transition:border-color .18s,background .18s,transform .18s; }
.tourney-tryout-identity-actions button:hover,.tourney-tryout-identity-actions button:focus-visible { z-index:4; border-color:#76bdff; background:linear-gradient(155deg,rgba(31,95,195,.45),rgba(5,22,53,.94)); transform:translateY(-2px); }
.tourney-tryout-identity-actions button small { color:#a9c0e3; font:600 .58rem/1.25 'Josefin Sans',sans-serif; letter-spacing:.02em; text-transform:none; }
.tourney-tryout-action-info { display:grid; place-items:center; width:20px; height:20px; color:#07162d; border-radius:50%; background:#76bdff; font:900 .66rem/1 Arial,sans-serif; }
.tourney-tryout-identity-actions button::after { content:attr(data-tooltip); position:absolute; top:calc(100% + 10px); right:0; z-index:10; width:270px; padding:10px 12px; color:#dce8ff; border:1px solid rgba(118,189,255,.5); border-radius:8px; background:#061633; box-shadow:0 12px 26px rgba(0,0,0,.36); font:600 .66rem/1.45 'Josefin Sans',sans-serif; letter-spacing:0; text-align:left; text-transform:none; opacity:0; visibility:hidden; transform:translateY(-4px); transition:opacity .16s,transform .16s,visibility .16s; pointer-events:none; }
.tourney-tryout-identity-actions button:hover::after,.tourney-tryout-identity-actions button:focus-visible::after { opacity:1; visibility:visible; transform:none; }
.tourney-tryout-identity-actions [data-tryout-withdraw] { color:#ffd3d3; border-color:rgba(255,126,126,.42); background:linear-gradient(155deg,rgba(105,34,52,.48),rgba(38,12,27,.72)); }
.tourney-tryout-identity-actions [data-tryout-withdraw] .tourney-tryout-action-info { color:#3a0c18; background:#ff9ca9; }
.tourney-tryout-identity-actions [data-tryout-edit] { color:#dce8ff; border-color:rgba(118,189,255,.55); background:linear-gradient(155deg,rgba(24,82,167,.66),rgba(5,22,53,.86)); }
.tourney-tryout-identity-actions [data-tryout-edit] .tourney-tryout-action-info { color:#06214c; background:#8cc8ff; }
.tourney-tryout-identity-actions [data-tryout-new] { color:#eadfff; border-color:rgba(181,161,255,.58); background:linear-gradient(155deg,rgba(85,54,157,.58),rgba(26,14,67,.82)); }
.tourney-tryout-identity-actions [data-tryout-new] .tourney-tryout-action-info { color:#25134e; background:#c1adff; }
.tourney-tryout-identity-actions [data-tryout-pairs] { color:#d5fff4; border-color:rgba(108,224,200,.55); background:linear-gradient(155deg,rgba(25,112,99,.62),rgba(5,45,48,.84)); }
.tourney-tryout-identity-actions [data-tryout-pairs] .tourney-tryout-action-info { color:#073b35; background:#79ead2; }
.tourney-tryout-identity-actions [data-tryout-edit]:hover,.tourney-tryout-identity-actions [data-tryout-edit]:focus-visible { border-color:#8cc8ff; background:linear-gradient(155deg,rgba(32,111,224,.72),rgba(5,22,53,.94)); }
.tourney-tryout-identity-actions [data-tryout-withdraw]:hover,.tourney-tryout-identity-actions [data-tryout-withdraw]:focus-visible { border-color:#ff9ca9; background:linear-gradient(155deg,rgba(145,40,65,.68),rgba(38,12,27,.94)); }
.tourney-tryout-identity-actions [data-tryout-new]:hover,.tourney-tryout-identity-actions [data-tryout-new]:focus-visible { border-color:#c1adff; background:linear-gradient(155deg,rgba(111,75,202,.72),rgba(26,14,67,.94)); }
.tourney-tryout-identity-actions [data-tryout-pairs]:hover,.tourney-tryout-identity-actions [data-tryout-pairs]:focus-visible { border-color:#79ead2; background:linear-gradient(155deg,rgba(34,151,133,.72),rgba(5,45,48,.94)); }
.tourney-tryout-confirm { position:fixed; inset:0; width:min(520px,calc(100vw - 32px)); max-height:max-content; margin:auto; padding:28px; color:#dce8ff; border:1px solid rgba(118,189,255,.52); border-radius:16px; background:radial-gradient(circle at 50% 0,rgba(45,118,218,.22),transparent 42%),#071735; box-shadow:0 26px 70px rgba(0,0,0,.58),inset 0 1px 0 rgba(255,255,255,.08); text-align:center; }
.tourney-tryout-confirm::backdrop { background:rgba(0,7,22,.76); backdrop-filter:blur(5px); }
.tourney-tryout-confirm-icon { display:grid; place-items:center; width:46px; height:46px; margin:0 auto 12px; color:#07162d; border-radius:50%; background:#76bdff; font:900 1rem Arial,sans-serif; }
.tourney-tryout-confirm[data-tone="danger"] { border-color:rgba(255,126,126,.6); }
.tourney-tryout-confirm[data-tone="danger"] .tourney-tryout-confirm-icon { color:#3a0c18; background:#ff9ca9; }
.tourney-tryout-confirm-eyebrow { margin:0 0 6px; color:#6ce0c8; font:700 .62rem 'Josefin Sans',sans-serif; letter-spacing:.12em; text-transform:uppercase; }
.tourney-tryout-confirm[data-tone="danger"] .tourney-tryout-confirm-eyebrow { color:#ffabb5; }
.tourney-tryout-confirm h3 { margin:0; color:#fff; font:700 1.75rem/1.08 'Cormorant Garamond',serif; }
.tourney-tryout-confirm > p:not(.tourney-tryout-confirm-eyebrow) { margin:12px auto 0; max-width:430px; color:#b7c9e5; font-size:.78rem; line-height:1.55; }
.tourney-tryout-confirm-note { margin-top:16px; padding:11px 13px; color:#e7d59a; border:1px solid rgba(244,196,76,.3); border-radius:9px; background:rgba(244,196,76,.08); font-size:.7rem; font-weight:700; line-height:1.45; }
.tourney-tryout-confirm[data-tone="danger"] .tourney-tryout-confirm-note { color:#ffd1d6; border-color:rgba(255,126,126,.34); background:rgba(145,40,56,.14); }
.tourney-tryout-confirm-actions { display:flex; justify-content:center; gap:10px; margin-top:22px; }
.tourney-tryout-confirm-actions button { min-height:44px; padding:10px 16px; border-radius:8px; font:700 .66rem 'Josefin Sans',sans-serif; letter-spacing:.05em; text-transform:uppercase; }
.tourney-tryout-confirm-cancel { color:#c7d6ed; border:1px solid rgba(157,187,255,.32); background:rgba(4,13,34,.62); }
.tourney-tryout-confirm-accept { color:#07162d; border:1px solid #f4c44c; background:linear-gradient(100deg,#e8b84b,#f6d36b); }
.tourney-tryout-confirm[data-tone="danger"] .tourney-tryout-confirm-accept { color:#fff; border-color:#e95d72; background:linear-gradient(100deg,#a92945,#d34a61); }
.tourney-tryout-workspace { animation: tourneyTryoutIn .24s ease both; }
.tourney-tryout-workspace-intro { margin-bottom:18px; padding:20px; border:1px solid rgba(185,194,207,.42); border-radius:13px; background:#30343d; box-shadow:none; }
.tourney-tryout-workspace-intro .tourney-tryout-screen-heading { margin-bottom:16px; }
#tourney-tryout-workspace-label { margin-bottom:3px; color:#f4c44c; font:700 .62rem/1.1 'Josefin Sans',sans-serif; letter-spacing:.11em; }
.tourney-tryout-flow { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:26px; margin:0; padding:0; list-style:none; }
.tourney-tryout-flow li { position:relative; display:grid; grid-template-columns:34px minmax(0,1fr); gap:9px; align-items:center; min-height:72px; padding:11px 12px; color:#b8cae5; border:1px solid rgba(113,158,223,.3); border-radius:9px; background:#202631; }
.tourney-tryout-flow li:not(:last-child)::after { content:"→"; position:absolute; left:calc(100% + 7px); z-index:2; width:12px; color:#f4c44c; font-size:1rem; font-weight:900; text-align:center; }
.tourney-tryout-flow-number { display:grid; place-items:center; width:34px; height:34px; color:#fff; border-radius:50%; background:#27548c; font-size:.78rem; font-weight:900; }
.tourney-tryout-flow li:nth-child(2) .tourney-tryout-flow-number { background:#197f74; }
.tourney-tryout-flow li:nth-child(3) .tourney-tryout-flow-number { background:#5e49a2; }
.tourney-tryout-flow li:nth-child(4) { border-color:rgba(244,196,76,.58); background:#3a352a; }
.tourney-tryout-flow li:nth-child(4) .tourney-tryout-flow-number { background:#9a6f13; }
.tourney-tryout-flow strong,.tourney-tryout-flow small { display:block; }
.tourney-tryout-flow strong { color:#fff; font:700 .62rem/1.25 'Josefin Sans',sans-serif; letter-spacing:.035em; text-transform:uppercase; }
.tourney-tryout-flow small { margin-top:4px; color:#8fa8cc; font-size:.55rem; line-height:1.35; }
.tourney-tryout-flow li:nth-child(4) small { color:#e8d594; }
.tourney-tryout-how-panel > .tourney-tryout-message:not([hidden]) { width:100%; max-width:none; margin:14px 0 0; }
.tourney-tryout-workspace.is-pairing-review .tourney-tryout-workspace-intro { margin-bottom:14px; }
.tourney-tryout-workspace.is-pairing-review .tourney-tryout-board-layout { grid-template-columns:minmax(0,1fr) 270px; }
.tourney-tryout-workspace.is-pairing-review .tourney-tryout-roster { display:none; }
.tourney-tryout-board-actions { justify-content: flex-end; margin-top: 18px; padding-top: 17px; border-top: 1px solid rgba(157,187,255,.15); }
.tourney-tryout-board-actions > span { margin-right: auto; color: #89a0c7; font-size: .65rem; }
.tourney-tryout-board-actions .tourney-tryout-continue { margin-left: 0; }
.tourney-tryout-gate-actions .tourney-tryout-continue,.tourney-tryout-board-actions .tourney-tryout-continue { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 15px 28px; border-radius: 9px; font: 700 .78rem 'Josefin Sans',sans-serif; letter-spacing: .07em; line-height: 1.2; text-align: center; }
.tourney-tryout-gate-actions .tourney-tryout-continue { flex:0 0 auto; width:auto; min-width:0; min-height:55px; padding:14px; color:#07162d; border-radius:8px; font-size:.72rem; font-weight:900; letter-spacing:.03em; white-space:nowrap; }
.tourney-tryout-review { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 20px; }
.tourney-tryout-review > div { padding: 12px 13px; border: 1px solid rgba(244,188,25,.25); border-radius: 8px; background: rgba(244,188,25,.07); }
.tourney-tryout-review span,.tourney-tryout-review strong { display: block; }.tourney-tryout-review span { color: #e5bd4a; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }.tourney-tryout-review strong { margin-top: 4px; color: #fff; font-size: .78rem; }
.tourney-tryout-privacy { display: flex; gap: 7px; justify-content: center; margin-top: 19px; color: #89a0c7; font-size: .65rem; line-height: 1.45; text-align: center; }.tourney-tryout-privacy > span:first-child { color: #6ce0c8; }
.tourney-tryout-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 25px; padding-top: 19px; border-top: 1px solid rgba(157,187,255,.15); }
.tourney-tryout-actions button { min-height: 43px; padding: 10px 18px; border-radius: 7px; font: 700 .7rem 'Josefin Sans',sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.tourney-tryout-back { color: #b8cae6; border: 1px solid rgba(157,187,255,.28); background: transparent; }.tourney-tryout-back:hover { border-color: #76bdff; color: #fff; }
.tourney-tryout-continue { margin-left: auto; color: #07162d; border: 1px solid #f4c44c; background: linear-gradient(100deg,#e8b84b,#f6d36b); }.tourney-tryout-continue:hover { filter: brightness(1.07); transform: translateY(-1px); }
.tourney-tryout-message { margin-top: 13px; padding: 10px 12px; border-radius: 7px; font-size: .72rem; line-height: 1.45; }.tourney-tryout-message.is-error { color: #ffd3d3; border: 1px solid rgba(255,126,126,.4); background: rgba(145,40,56,.16); }.tourney-tryout-message.is-success:not([hidden]) { display:flex; align-items:center; gap:8px; width:fit-content; max-width:min(100%,620px); margin:0 0 14px auto; color:#c8f5e9; border:1px solid rgba(108,224,200,.35); background:rgba(42,149,135,.13); }.tourney-tryout-message.is-success::before { content:"ⓘ"; color:#6ce0c8; font-size:.9rem; line-height:1; }
.tourney-tryout-result { max-width: 1180px; margin: 14px auto 0; padding: 22px 25px; border: 1px solid rgba(108,224,200,.42); border-radius: 12px; background: linear-gradient(145deg,rgba(16,43,89,.97),rgba(7,26,59,.98)); box-shadow: 0 12px 28px rgba(0,0,0,.22); }.tourney-tryout-result.is-assigned { border-color: rgba(244,196,76,.6); }.tourney-tryout-result h3 { margin: 0; color: #fff; font: 700 1.55rem/1 'Cormorant Garamond',serif; }.tourney-tryout-result p { margin: 7px 0 0; color: #afc1de; font-size: .76rem; line-height: 1.55; }.tourney-tryout-result-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; }.tourney-tryout-result-actions button { min-height: 34px; padding: 7px 12px; color: #dce8ff; border: 1px solid rgba(120,157,225,.35); border-radius: 6px; background: rgba(4,13,34,.62); font-size: .65rem; font-weight: 700; }.tourney-tryout-result-actions button:hover { border-color: #76bdff; background: rgba(31,95,195,.24); }
.tourney-tryout-footer-note { display: flex; gap: 9px; max-width: 1180px; margin: 15px auto 0; color: #8296b9; font-size: .68rem; line-height: 1.5; }.tourney-tryout-footer-note span { color: #f4c44c; }
.tourney-tryout-screen button:focus-visible,.tourney-tryout-screen input:focus-visible,.tourney-tryout-screen select:focus-visible,.tourney-tryout-actions button:focus-visible,.tourney-tryout-result button:focus-visible,.tourney-tryout-identity button:focus-visible,.tourney-tryout-board-actions button:focus-visible { outline: 2px solid #6ce0c8; outline-offset: 3px; }
@media (max-width:700px) {
  .tourney-tryout-section { padding: 25px 0 60px; }.tourney-tryout-shell { padding: 20px 16px 20px; border-radius: 10px; }.tourney-tryout-heading { margin-bottom: 19px; }
  .tourney-tryout-progress > div { justify-content: center; padding: 7px 5px; font-size: .55rem; text-align: center; }.tourney-tryout-progress b { width: 21px; height: 21px; }.tourney-tryout-progress { gap: 5px; margin-bottom: 22px; }
  .tourney-tryout-screen-heading h3 { font-size: 1.45rem; }.tourney-tryout-screen-heading > div > span { font-size: .7rem; }.tourney-tryout-icon { width: 34px; height: 34px; font-size: 18px; }
  .tourney-tryout-date-options,.tourney-tryout-modes,.tourney-tryout-review { grid-template-columns: 1fr; }.tourney-tryout-date-card { min-height: 122px; padding: 16px; }.tourney-tryout-date-card strong { font-size: 1.3rem; }.tourney-tryout-date-card span { margin-top: 12px; }
  .tourney-tryout-top-layout { grid-template-columns:1fr; gap:14px; }.tourney-tryout-output { min-height:0; padding:18px; }.tourney-tryout-how-panel { padding:17px; }.tourney-tryout-gate { padding:17px; }.tourney-tryout-gate .tourney-tryout-fields { grid-template-columns:1fr; grid-template-areas:"id" "name" "grade" "session"; gap:16px; }.tourney-tryout-fields label > span,.tourney-tryout-session-fieldset legend { min-height:0; }.tourney-tryout-gate .tourney-tryout-screen-heading { margin-bottom:20px; padding-bottom:16px; }.tourney-tryout-result { padding: 19px 17px; }.tourney-tryout-footer-note { padding-inline: 2px; }
  .tourney-tryout-how-panel .tourney-tryout-flow { grid-template-columns:1fr; gap:10px; }.tourney-tryout-how-panel .tourney-tryout-flow li { min-height:0; padding-bottom:12px; }.tourney-tryout-flow li { min-height:64px; }.tourney-tryout-how-panel .tourney-tryout-flow li:not(:last-child)::after { content:none; }
  .tourney-tryout-output .tourney-tryout-output-primary-icon { width:34px; height:34px; font-size:18px; }
  .tourney-tryout-identity { padding:0; }.tourney-tryout-identity-actions { display:grid; grid-template-columns:1fr; justify-content:stretch; width:100%; }.tourney-tryout-identity-actions button { grid-template-columns:22px 1fr; justify-items:start; width:100%; min-height:58px; text-align:left; }.tourney-tryout-identity-actions button small { grid-column:2; }.tourney-tryout-identity-actions button::after { top:calc(100% + 7px); right:auto; left:0; width:min(270px,calc(100vw - 74px)); }.tourney-tryout-confirm { padding:23px 18px; }.tourney-tryout-confirm-actions { align-items:stretch; flex-direction:column-reverse; }.tourney-tryout-confirm-actions button { width:100%; }
  .tourney-tryout-gate-actions,.tourney-tryout-board-actions { align-items:stretch; flex-direction:column; }.tourney-tryout-gate-actions { grid-template-columns:1fr; padding:15px; }.tourney-tryout-gate-actions button,.tourney-tryout-board-actions button { width:100%; }
  .tourney-tryout-board-layout { grid-template-columns: 1fr; }
   .tourney-tryout-roster-list { grid-template-columns: 1fr; max-height: 420px; }
  .tourney-tryout-board { order: 1; }.tourney-tryout-roster { order: 2; }.tourney-tryout-side { order: 3; grid-template-columns:1fr; }.tourney-tryout-action-card { order:-1; }.tourney-tryout-action-list > button { min-height:58px; font-size:.64rem; }.tourney-tryout-action-list > button small { font-size:.58rem; }
}
@media (min-width:701px) {
  .tourney-tryout-heading .section-sub { white-space:nowrap; }
}
@media (min-width:701px) and (max-width:1180px) {
  .tourney-tryout-identity { align-items:flex-start; flex-direction:column; }
  .tourney-tryout-identity-actions { width:100%; justify-content:flex-start; }
}
@media (min-width:701px) and (max-width:820px) {
  .tourney-tryout-top-layout { grid-template-columns:1fr; }
  .tourney-tryout-output { min-height:220px; }
}
@media (min-width:701px) and (max-width:1050px) {
  .tourney-tryout-top-layout { grid-template-columns:minmax(400px,1.38fr) minmax(220px,.85fr) minmax(230px,.82fr); }
  .tourney-tryout-fields { grid-template-columns:minmax(115px,.55fr) minmax(210px,1.45fr); gap:18px 12px; }
  .tourney-tryout-gate-actions { grid-template-columns:1fr; }
  .tourney-tryout-gate-actions .tourney-tryout-continue { width:100%; }
  .tourney-tryout-board-layout { grid-template-columns: 440px minmax(270px,1fr); }
  .tourney-tryout-side { grid-column: 1/-1; grid-template-columns: repeat(2,minmax(0,1fr)); }.tourney-tryout-action-card { grid-row:span 2; }
}
@media (max-width:480px) {
  .tourney-tryout-roster-list { grid-template-columns: 1fr; }
  .tourney-tryout-side { grid-template-columns: 1fr; }
  .tourney-tryout-board-row { grid-template-columns: 20px minmax(0,1fr) 20px minmax(0,1fr); gap: 4px; }
  .tourney-tryout-piece { gap: 3px; padding-inline: 3px; }.tourney-tryout-piece .tourney-tryout-piece-art { width: 27px; }
  .tourney-tryout-piece-name { font-size: .74rem; }
}
@media (max-width:390px) { .tourney-tryout-progress > div span { font-size: 0; }.tourney-tryout-progress > div span::after { content: 'Step'; font-size: .55rem; } }