/* "Hadi oynayalım": a player-started call on the lobby's olive surface. */
.play-call { --call-accent: #a4c08a; margin: 28px 0 32px; padding: 22px 24px; border: 1px solid #4f6141; border-left: 3px solid var(--call-accent); border-radius: 4px; background: #1f271f; }
.play-call-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.play-call-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 5px; color: var(--call-accent); background: #2c3a28; }
.play-call-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.play-call-heading h2 { margin: 0; font: 700 27px/1.15 var(--display); }
.play-call-heading p, .play-call-empty, .play-call-none { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.play-call-empty { margin: 0 0 14px; }
.play-call-form { display: grid; grid-template-columns: 140px minmax(0, 200px) minmax(0, 1fr); gap: 12px 16px; align-items: end; }
.play-call-field { display: grid; gap: 7px; min-width: 0; color: var(--muted); font-size: 13px; }
.play-call-field input, .play-call-field select { box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #56635b; border-radius: 4px; background: var(--bg); color: var(--text); font: inherit; font-size: 16px; }
/* iOS Safari draws the time control natively with its own minimum width and centred text; keep it inside the card. */
.play-call-field input[type=time] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; text-align: left; }
/* The map list matches the other fields instead of the platform's grey control. */
.play-call-field select { -webkit-appearance: none; appearance: none; padding-right: 40px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a4c08a' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center; }
.play-call-field input::-webkit-date-and-time-value { min-width: 0; text-align: left; }
.play-call-field input:focus-visible, .play-call-field select:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.play-call-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.play-call-actions .button { min-height: 44px; }
.play-call-open { display: grid; grid-template-columns: minmax(0, 1fr) minmax(226px, 25%); gap: 24px; align-items: start; }
.play-call-info { min-width: 0; }
.play-call-info > :last-child { margin-bottom: 0; }
.play-call-disclosure { min-width: 0; border: 1px solid #4f6141; border-radius: var(--radius); background: #19201c; }
.play-call-disclosure > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 0 14px;
  list-style: none; border-radius: 3px; background: #2c3a28; color: var(--text); cursor: pointer; font-size: 15px; font-weight: 600;
}
.play-call-disclosure > summary::-webkit-details-marker { display: none; }
.play-call-disclosure > summary::after {
  content: ''; flex: 0 0 8px; height: 8px; margin: -4px 2px 0 0;
  border-right: 2px solid var(--call-accent); border-bottom: 2px solid var(--call-accent); transform: rotate(45deg);
}
.play-call-disclosure[open] > summary { border-radius: 3px 3px 0 0; }
.play-call-disclosure[open] > summary::after { margin-top: 4px; transform: rotate(225deg); }
.play-call-disclosure > summary:hover { background: #334331; }
.play-call-disclosure > summary:focus-visible,
.play-call-action-list .button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -3px; }
.play-call-action-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #4f6141; }
.play-call-action-list > li + li { border-top: 1px solid var(--line); }
.play-call-action-list > li.play-call-share-row { border-color: #4f6141; }
.play-call-action-list > li > .button,
.play-call-action-list .play-call-tools > .button {
  display: flex; justify-content: space-between; align-items: center; box-sizing: border-box; width: 100%; min-height: 44px; padding: 0 14px;
  border: 0; border-radius: 0; background: transparent; text-align: left; white-space: normal; font-size: 15px; font-weight: 600;
}
.play-call-action-list > li:last-child > .button { border-radius: 0 0 3px 3px; }
.play-call-action-list > li > .button:hover,
.play-call-action-list .play-call-tools > .button:hover { background: #29352b; }
.play-call-action-list .play-call-choice[aria-pressed='true'] { background: #2c3a28; }
.play-call-action-list .play-call-choice[aria-pressed='true']::before { content: none; }
.play-call-action-list .play-call-choice[aria-pressed='true']::after { content: '✓'; content: '✓' / ''; margin-left: 8px; }
.play-call-action-list .play-call-tools { display: grid; margin: 0; gap: 0; }
.play-call-action-list .play-call-tools .play-call-hint { padding: 0 14px 10px; }
.play-call-action-list .play-call-cancel { color: #f0a89c; }
.play-call-action-list .play-call-timeform {
  grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; padding: 12px; border: 0;
}
.play-call-action-list .play-call-timeform .play-call-actions { display: grid; gap: 6px; }
.play-call-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.play-call-who { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.play-call-who strong { color: var(--call-accent); }
.play-call-when { margin: 0; font: 700 26px/1.1 var(--display); color: var(--text); }
.play-call-map { margin: 6px 0 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.play-call-text { margin: 8px 0 0; color: var(--text); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.play-call-meter { margin: 16px 0 8px; color: var(--muted); font-size: 13px; }
.play-call-ready { color: var(--call-accent); font-weight: 600; }
.play-call-open progress { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 8px; border: 0; border-radius: 4px; overflow: hidden; background: #344337; accent-color: var(--call-accent); }
.play-call-open progress::-webkit-progress-bar { background: #344337; }
.play-call-open progress::-webkit-progress-value { background: var(--call-accent); border-radius: 4px; }
.play-call-open progress::-moz-progress-bar { background: var(--call-accent); border-radius: 4px; }
.play-call-match-error { margin: 12px 0 0; color: var(--sand); font-size: 13px; line-height: 1.6; }
.play-call-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 16px; }
.play-call-group { min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: #19201c; }
.play-call-group[data-response='yes'] { border-color: #4f6141; }
.play-call-group h3 { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.play-call-group[data-response='yes'] h3 { color: var(--call-accent); }
.play-call-group[data-response='maybe'] h3 { color: var(--sand); }
.play-call-people { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.play-call-person { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; }
.play-call-person > :last-child { min-width: 0; overflow-wrap: anywhere; }
.play-call-person .profile-link { display: inline-flex; align-items: center; min-height: 44px; }
.play-call-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.play-call-choice[aria-pressed='true'] { border-color: var(--call-accent); color: var(--call-accent); background: #2c3a28; }
.play-call-choice[aria-pressed='true']::before { content: '✓'; content: '✓' / ''; margin-right: 6px; }
.play-call-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 12px 0 0; }
.play-call-tools .button, .play-call-proposals .button { min-height: 44px; }
.play-call-hint { color: var(--muted); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.play-call-timeform { display: grid; grid-template-columns: minmax(0, 160px) minmax(0, 1fr); gap: 10px 14px; align-items: end; margin: 12px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: #19201c; }
.play-call-timeform .play-call-actions { grid-column: auto; margin: 0; }
.play-call-proposals { margin: 0 0 16px; padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: #19201c; }
.play-call-proposals h3 { margin: 0 0 4px; font-size: 15px; color: var(--text); }
.play-call-proposals > .play-call-hint { margin: 0 0 12px; }
.play-call-proposal-list { display: grid; gap: 10px; margin: 0 0 12px; padding: 0; list-style: none; }
.play-call-proposal { display: grid; gap: 8px; min-width: 0; padding: 12px; border: 1px solid #4f6141; border-radius: 4px; background: #1f271f; }
.play-call-proposal-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.play-call-proposal-time { font: 700 21px/1.15 var(--display); color: var(--text); }
.play-call-proposal-support { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; overflow-wrap: anywhere; }
.play-call-status { margin: 12px 0 0; min-height: 1.2em; color: var(--muted); font-size: 13px; }
.play-call-status:empty { display: none; }
.play-call-error { color: var(--red); }
@media (max-width: 820px) {
  .play-call-open { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 700px) {
  .play-call { padding: 18px 14px; margin: 22px 0 26px; }
  .play-call-heading h2 { font-size: 24px; }
  .play-call-form { grid-template-columns: minmax(0, 1fr); }
  .play-call-groups { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .play-call-when { font-size: 23px; }
  .play-call-timeform { grid-template-columns: minmax(0, 1fr); }
}
/* The next-meeting card's action list (scheduled-matches.js): the play call's disclosure, with the caller's
   controls as a second group while the call is a planned match. */
.schedule-actions { --call-accent: #a4c08a; }
.schedule-call-status { margin: 0; padding: 10px 14px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.schedule-call-status:empty, .schedule-call-status-row:has(> .schedule-call-status:empty) { display: none; }

