:root{--asar-green:#14532d;--asar-green2:#16a34a;--asar-soft:#f0fdf4;--asar-line:#bbf7d0;--asar-amber:#d97706;--asar-blue:#1d4ed8;--asar-red:#dc2626;--asar-text:#163322}.asargolf{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--asar-text);max-width:1180px;margin:0 auto;padding:24px}.asargolf *{box-sizing:border-box}.asargolf a{color:var(--asar-green)}.asargolf-hero{background:linear-gradient(135deg,#14532d,#166534 55%,#22c55e);color:white;border-radius:28px;padding:56px 42px;margin:16px 0 28px;box-shadow:0 20px 45px rgba(20,83,45,.20);overflow:hidden;position:relative}.asargolf-hero:after{content:"";position:absolute;right:-60px;bottom:-90px;width:260px;height:260px;border-radius:999px;background:rgba(255,255,255,.12)}.asargolf-hero h1{font-size:clamp(44px,7vw,82px);line-height:.95;margin:8px 0 16px;color:#fff}.asargolf-hero p{max-width:700px;font-size:20px;opacity:.95}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-weight:800;font-size:12px;opacity:.75}.asargolf-actions,.asargolf-nav{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.asargolf-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--asar-line);background:#fff;color:var(--asar-green)!important;border-radius:12px;padding:11px 16px;text-decoration:none!important;font-weight:800;box-shadow:0 2px 0 rgba(20,83,45,.08);cursor:pointer}.asargolf-btn.primary{background:var(--asar-green2);border-color:var(--asar-green2);color:#fff!important}.asargolf-btn.small{padding:7px 10px;border-radius:9px;font-size:13px}.asargolf-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.asargolf-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.asargolf-card,.asargolf-login-card,.asargolf-stat,.asargolf-alert{background:#fff;border:1px solid #dcfce7;border-radius:18px;padding:20px;box-shadow:0 10px 30px rgba(20,83,45,.07)}.asargolf-card h2,.asargolf-card h3{margin-top:0;color:var(--asar-green)}.asargolf-section{margin:36px 0}.asargolf-login{display:flex;justify-content:center}.asargolf-login-card{width:min(480px,100%)}.asargolf-login-card input[type=text],.asargolf-login-card input[type=password],.asargolf-login-card input[type=email],.asargolf-form input,.asargolf-score-form input{width:100%;padding:11px 12px;border:1px solid #bbf7d0;border-radius:10px;background:#fff}.asargolf-login-card label,.asargolf-form label,.asargolf-score-form label{display:block;font-weight:700;margin:0 0 12px}.asargolf-login-card .button-primary{background:var(--asar-green2);border:0;border-radius:10px;padding:10px 16px;color:#fff;font-weight:800}.asargolf-small{font-size:13px}.asargolf-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.asargolf-nav{background:var(--asar-soft);border:1px solid var(--asar-line);border-radius:16px;padding:10px;margin-bottom:22px}.asargolf-nav a{text-decoration:none!important;background:white;border-radius:11px;padding:9px 13px;font-weight:800;color:var(--asar-green)!important}.asargolf-stat strong{display:block;font-size:44px;line-height:1;color:var(--asar-green)}.asargolf-stat span{font-weight:800;color:#64748b}.asargolf-table-wrap{overflow-x:auto;background:#fff;border:1px solid #dcfce7;border-radius:16px;box-shadow:0 10px 30px rgba(20,83,45,.07)}.asargolf-table{width:100%;border-collapse:collapse;font-size:14px}.asargolf-table th{background:var(--asar-green);color:#fff;text-align:left;padding:12px}.asargolf-table td{padding:12px;border-bottom:1px solid #e5f8ec}.asargolf-badge{display:inline-flex;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:800}.asargolf-badge.green{background:#dcfce7;color:#166534}.asargolf-badge.amber{background:#fef3c7;color:#92400e}.asargolf-alert{background:#fff7ed;border-color:#fed7aa;color:#9a3412;margin:16px 0}.asargolf-alert.success{background:#f0fdf4;border-color:#bbf7d0;color:#166534}.asargolf-form{display:grid;gap:12px;max-width:560px}.asargolf-score-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.asargolf-check{display:flex!important;align-items:center;gap:8px}.asargolf-check input{width:auto!important}@media(max-width:800px){.asargolf{padding:16px}.asargolf-grid3,.asargolf-cards{grid-template-columns:1fr}.asargolf-hero{padding:34px 24px}.asargolf-dashboard-head{align-items:flex-start;flex-direction:column}.asargolf-score-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.asargolf-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.asargolf-form select,.asargolf-form input[type=date],.asargolf-form textarea{width:100%;padding:11px 12px;border:1px solid #bbf7d0;border-radius:10px;background:#fff}.asargolf-form select[multiple]{min-height:190px}.asargolf-form .asargolf-small{font-weight:500;margin-top:-6px;color:#64748b}.asargolf-form h2{margin:0 0 4px;color:var(--asar-green)}@media(max-width:800px){.asargolf-grid2{grid-template-columns:1fr}.asargolf-form{max-width:none}}
.asargolf-wide-form{max-width:none}.asargolf-inline-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.asargolf-inline-form select{min-width:160px;padding:7px 9px;border:1px solid #bbf7d0;border-radius:9px;background:#fff}.asargolf-card .asargolf-table-wrap{box-shadow:none}.asargolf-card .asargolf-table{font-size:13px}
.asargolf-round-course-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.asargolf-round-course-grid label{display:block;font-weight:700}.asargolf-round-course-grid select{width:100%;padding:9px 10px;border:1px solid #bbf7d0;border-radius:10px;background:#fff}@media(max-width:900px){.asargolf-round-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.asargolf-round-course-grid{grid-template-columns:1fr}}
.asargolf-details{border:1px dashed #bbf7d0;border-radius:16px;padding:14px 16px;margin:16px 0;background:#f8fffb}.asargolf-details summary{cursor:pointer;font-weight:900;color:var(--asar-green);margin-bottom:10px}.asargolf-details[open] summary{margin-bottom:14px}

.asargolf-btn.danger{background:#fee2e2;border-color:#fecaca;color:#991b1b!important}.asargolf-delete-form{display:inline-flex;margin:4px 0 0 4px}.asargolf-table td .asargolf-delete-form{vertical-align:middle}
.asargolf-score-form textarea{width:100%;padding:11px 12px;border:1px solid #bbf7d0;border-radius:10px;background:#fff}.asargolf-inline-form input[type=number],.asargolf-inline-form input[type=text]{padding:7px 9px;border:1px solid #bbf7d0;border-radius:9px;background:#fff;max-width:110px}.asargolf-score-quick-form input[type=number]{width:88px}.asargolf-match-player-form input[type=text]{max-width:130px}.asargolf-check.mini{margin:0;font-size:12px}.asargolf-table.compact th,.asargolf-table.compact td{padding:8px 10px}.asargolf-round-standings{display:grid;gap:10px;margin:12px 0}
.asargolf-announcements-list{display:grid;gap:16px;margin:16px 0}.asargolf-announcement-content p{margin-top:0}.asargolf-announcement-content{line-height:1.65}
.asargolf-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.asargolf-filter-grid input,.asargolf-filter-grid select{width:100%;padding:11px 12px;border:1px solid #bbf7d0;border-radius:10px;background:#fff}.asargolf-tag{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;font-size:12px;font-weight:800;margin:2px 3px 2px 0}.asargolf-announcement-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.asargolf-announcement-delete{margin-top:0}@media(max-width:800px){.asargolf-filter-grid{grid-template-columns:1fr}.asargolf-announcement-head{flex-direction:column}.asargolf-announcement-delete{margin-left:0}}
.asargolf-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}.asargolf-filter-grid input,.asargolf-filter-grid select{width:100%;padding:11px 12px;border:1px solid #bbf7d0;border-radius:10px;background:#fff}.asargolf-announcement-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.asargolf-announcement-delete{margin-top:0;white-space:nowrap}.asargolf-tag{display:inline-flex;align-items:center;border-radius:999px;background:#dcfce7;color:#166534;padding:4px 9px;font-size:12px;font-weight:800;margin:2px}.asargolf-announcement-filters{margin:18px 0;max-width:none}.asargolf-inline-form input[type=text]{min-width:180px}@media(max-width:800px){.asargolf-filter-grid{grid-template-columns:1fr}.asargolf-announcement-head{flex-direction:column}.asargolf-announcement-delete{margin-left:0}}
.asargolf-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.asargolf-fieldset{border:1px solid #bbf7d0;border-radius:12px;padding:12px;margin:0 0 12px}.asargolf-fieldset legend{font-weight:800;color:var(--asar-green);padding:0 6px}.asargolf-announcement-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.asargolf-tag{display:inline-flex;background:#ecfdf5;border:1px solid #bbf7d0;color:#166534;border-radius:999px;padding:3px 8px;font-size:12px;font-weight:800;margin:2px}.asargolf-announcement-delete{margin-top:0}@media(max-width:800px){.asargolf-filter-grid,.asargolf-announcement-head{display:block}.asargolf-announcement-delete{margin-top:12px}}
.asargolf-fieldset{border:1px solid #bbf7d0;border-radius:14px;padding:12px;margin:0}.asargolf-fieldset legend{font-weight:800;color:var(--asar-green);padding:0 6px}.asargolf-checkgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.asargolf-checkgrid .asargolf-check{margin:0}@media(max-width:560px){.asargolf-checkgrid{grid-template-columns:1fr}}
.asargolf-tee-settings-table .asargolf-tee-female-disabled .asargolf-tee-female-input{display:none}.asargolf-tee-settings-table .asargolf-tee-female-disabled .asargolf-tee-female-cell{min-width:90px}.asargolf-tee-settings-table .asargolf-tee-female-empty:after{content:""}.asargolf-tee-settings-table .asargolf-tee-female-enabled .asargolf-tee-female-input{display:block}.asargolf-tee-settings-table .asargolf-tee-female-enabled .asargolf-tee-female-empty{display:none}
.asargolf input.asargolf-field-error{border-color:#dc2626!important;background:#fff1f2!important;box-shadow:0 0 0 3px rgba(220,38,38,.12)}
.asargolf-course-holes-error{margin-top:12px}
.asargolf-input-error{border-color:var(--asar-red)!important;box-shadow:0 0 0 2px rgba(220,38,38,.12)}.asargolf-inline-error{margin:10px 0 0;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:12px;padding:10px 12px;font-weight:800}
.asargolf-stroke-index-input.asargolf-field-error{border-color:var(--asar-red)!important;box-shadow:0 0 0 2px rgba(220,38,38,.16)}.asargolf-course-submit-disabled{opacity:.62;cursor:not-allowed}

.asargolf-badge.muted{background:#e5e7eb;color:#374151}.asargolf-table.compact th,.asargolf-table.compact td{padding:8px}
.asargolf-hero-logo{max-width:160px;max-height:110px;width:auto;height:auto;display:block;margin:0 0 18px;background:rgba(255,255,255,.96);border-radius:18px;padding:12px;box-shadow:0 12px 26px rgba(0,0,0,.16)}
.asargolf-login-logo{max-width:150px;max-height:95px;width:auto;height:auto;display:block;margin:0 0 14px;border-radius:14px;background:#fff;padding:8px;border:1px solid #dcfce7}
.asargolf-dashboard-brand{display:flex;gap:14px;align-items:center}.asargolf-dashboard-logo{max-width:76px;max-height:58px;width:auto;height:auto;display:block;border-radius:12px;background:#fff;padding:6px;border:1px solid #dcfce7}.asargolf-admin-logo-preview-img{max-width:180px;height:auto;background:#fff;border:1px solid #ccd0d4;padding:8px}
@media(max-width:800px){.asargolf-dashboard-brand{align-items:flex-start}.asargolf-hero-logo{max-width:130px}.asargolf-dashboard-logo{max-width:64px}}


/* Golfgátt Core group-site shell: full-width header/footer for group subsites */
.golfgatt-site-shell{
  --gg-green:#0b5d3b;
  --gg-green-dark:#062c1e;
  --gg-gold:#c9a646;
  --gg-cream:#f6f2ea;
  --gg-text:#23322d;
  background:#f8f7f2;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
.golfgatt-group-header{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  background:linear-gradient(135deg,var(--gg-green-dark),var(--gg-green));
  color:#fff;
  border-bottom:4px solid var(--gg-gold);
  box-shadow:0 10px 30px rgba(4,25,16,.16);
  position:relative;
  z-index:10;
}
.golfgatt-group-header-inner{
  max-width:1220px;
  margin:0 auto;
  padding:16px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.golfgatt-header-brand{
  display:flex;
  align-items:center;
  text-decoration:none!important;
  min-width:118px;
}
.golfgatt-header-product-logo{
  display:block;
  width:108px;
  max-height:66px;
  object-fit:contain;
  filter:drop-shadow(0 6px 14px rgba(0,0,0,.20));
}
.golfgatt-header-group{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex:1;
  min-width:0;
}
.golfgatt-header-group-logo{
  width:54px;
  height:54px;
  border-radius:16px;
  background:rgba(255,255,255,.94);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:7px;
  box-shadow:0 8px 18px rgba(0,0,0,.16);
  overflow:hidden;
}
.golfgatt-header-group-logo img,
.golfgatt-group-header-logo-img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  display:block;
  object-fit:contain;
}
.golfgatt-header-group-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
  min-width:0;
}
.golfgatt-header-kicker{
  color:rgba(255,255,255,.72);
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:5px;
}
.golfgatt-header-group-text strong{
  color:#fff;
  font-size:20px;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:420px;
}
.golfgatt-header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  min-width:210px;
}
.golfgatt-header-actions a{
  color:#fff!important;
  text-decoration:none!important;
  font-size:14px;
  font-weight:700;
  padding:9px 13px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
  transition:.18s ease;
}
.golfgatt-header-actions a:hover{
  background:var(--gg-gold);
  color:var(--gg-green-dark)!important;
  border-color:var(--gg-gold);
}
.golfgatt-group-main{
  flex:1;
  width:100%;
}
.golfgatt-group-footer{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  background:#061a12;
  color:rgba(255,255,255,.78);
  border-top:1px solid rgba(255,255,255,.08);
}
.golfgatt-group-footer-inner{
  max-width:1220px;
  margin:0 auto;
  padding:24px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  font-size:14px;
}
.golfgatt-group-footer strong{
  display:block;
  color:#fff;
  font-size:16px;
  margin-bottom:4px;
}
.golfgatt-group-footer span{
  display:block;
}
.golfgatt-footer-meta{
  text-align:right;
  white-space:nowrap;
}
.golfgatt-footer-dot{
  display:inline!important;
  margin:0 6px;
  color:var(--gg-gold);
}

/* Keep Hello/standard theme titles from duplicating Golfgátt section titles on generated portal pages */
body .golfgatt-site-shell + .entry-title,
body .entry-header:has(+ .entry-content .golfgatt-site-shell){
  display:none!important;
}

@media (max-width: 900px){
  .golfgatt-group-header-inner,
  .golfgatt-group-footer-inner{
    padding-left:18px;
    padding-right:18px;
  }
  .golfgatt-header-group-text strong{max-width:260px;font-size:18px;}
  .golfgatt-header-actions{min-width:auto;}
}
@media (max-width: 680px){
  .golfgatt-group-header-inner{
    flex-wrap:wrap;
    align-items:center;
  }
  .golfgatt-header-brand{min-width:auto;}
  .golfgatt-header-product-logo{width:88px;max-height:54px;}
  .golfgatt-header-group{
    order:3;
    width:100%;
    justify-content:flex-start;
  }
  .golfgatt-header-actions{
    margin-left:auto;
  }
  .golfgatt-header-actions a{
    font-size:13px;
    padding:8px 10px;
  }
  .golfgatt-group-footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .golfgatt-footer-meta{
    text-align:left;
    white-space:normal;
  }
}


/* Golfgátt Core: hide theme-generated chrome on group subsites.
   The plugin provides its own group header/footer, so Hello/Elementor/theme defaults should not duplicate them. */
body.golfgatt-hide-theme-chrome #site-header,
body.golfgatt-hide-theme-chrome #site-footer,
body.golfgatt-hide-theme-chrome .site-header,
body.golfgatt-hide-theme-chrome .site-footer,
body.golfgatt-hide-theme-chrome .wp-site-blocks > header,
body.golfgatt-hide-theme-chrome .wp-site-blocks > footer,
body.golfgatt-hide-theme-chrome header[role="banner"]:not(.golfgatt-group-header),
body.golfgatt-hide-theme-chrome footer[role="contentinfo"]:not(.golfgatt-group-footer),
body.golfgatt-hide-theme-chrome .elementor-location-header,
body.golfgatt-hide-theme-chrome .elementor-location-footer{
  display:none!important;
}
body.golfgatt-hide-theme-chrome .golfgatt-group-header,
body.golfgatt-hide-theme-chrome .golfgatt-group-footer{
  display:block!important;
}

/* Golfgátt header logo dark-background variant */
.golfgatt-header-product-logo{
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.24));
}


/* Golfgátt date picker fields */
.asargolf input[type="date"].asargolf-date-input{
  width:100%;
  min-height:42px;
  cursor:pointer;
}
.asargolf input[type="date"].asargolf-date-input::-webkit-calendar-picker-indicator{
  cursor:pointer;
}


/* Golfgátt date input: visible Icelandic dd-mm-yyyy field with native calendar picker */
.asargolf-date-field{
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  position:relative;
}
.asargolf-date-field .asargolf-date-display{
  flex:1 1 auto;
  min-width:0;
}
.asargolf-date-picker-native{
  position:absolute;
  right:0;
  bottom:0;
  width:1px!important;
  height:1px!important;
  opacity:0;
  pointer-events:none;
}
.asargolf-date-picker-button{
  flex:0 0 auto;
  min-width:44px;
  height:42px;
  border:1px solid rgba(11,93,59,.22);
  border-radius:10px;
  background:#f6f2ea;
  color:#0b5d3b;
  cursor:pointer;
  line-height:1;
  font-size:18px;
}
.asargolf-date-picker-button:hover{
  background:#0b5d3b;
  color:#fff;
}


/* Golfgátt manager UX refinements */
.golfgatt-manager-hero,
.golfgatt-event-workspace,
.golfgatt-manager-section,
.golfgatt-manager-panel{
  scroll-margin-top: 96px;
}
.golfgatt-manager-hero{
  background: linear-gradient(135deg, rgba(11,93,59,.08), rgba(201,166,70,.10));
  border: 1px solid rgba(11,93,59,.14);
}
.golfgatt-manager-hero h2{
  margin-top: 0;
}
.golfgatt-manager-actions{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:14px;
  margin-top:20px;
}
.golfgatt-manager-actions a{
  display:flex;
  flex-direction:column;
  gap:7px;
  padding:16px;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(11,93,59,.14);
  text-decoration:none!important;
  color:#23322d;
  box-shadow:0 8px 22px rgba(6,26,18,.06);
  transition:.18s ease;
}
.golfgatt-manager-actions a:hover{
  transform: translateY(-2px);
  border-color:#c9a646;
  box-shadow:0 14px 30px rgba(6,26,18,.10);
}
.golfgatt-manager-actions strong{
  color:#0b5d3b;
  font-size:15px;
}
.golfgatt-manager-actions span{
  color:#66706b;
  font-size:13px;
  line-height:1.35;
}
.golfgatt-event-workspace{
  border:2px solid rgba(201,166,70,.35);
  background:#fffdf7;
}
.golfgatt-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:10px;
}
.golfgatt-section-head h2{
  margin:0;
}
.golfgatt-manager-panel{
  padding:0!important;
  overflow:hidden;
  border:1px solid rgba(11,93,59,.14);
}
.golfgatt-manager-panel > summary{
  cursor:pointer;
  list-style:none;
  padding:22px 24px;
  display:flex;
  flex-direction:column;
  gap:6px;
  background:#fff;
}
.golfgatt-manager-panel > summary::-webkit-details-marker{
  display:none;
}
.golfgatt-manager-panel > summary::after{
  content:"Opna";
  align-self:flex-start;
  margin-top:4px;
  padding:6px 12px;
  border-radius:999px;
  background:#f6f2ea;
  color:#0b5d3b;
  font-size:12px;
  font-weight:800;
}
.golfgatt-manager-panel[open] > summary::after{
  content:"Loka";
}
.golfgatt-manager-panel > summary strong{
  color:#0b5d3b;
  font-size:20px;
}
.golfgatt-manager-panel > summary span{
  color:#66706b;
  font-size:14px;
}
.golfgatt-panel-body{
  padding:0 24px 24px;
  border-top:1px solid rgba(11,93,59,.10);
  background:#fffdf8;
}
.golfgatt-panel-body .asargolf-form{
  margin-top:18px;
}
.golfgatt-event-workspace .asargolf-card,
.golfgatt-panel-body .asargolf-card{
  box-shadow:none;
}
@media (max-width: 980px){
  .golfgatt-manager-actions{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px){
  .golfgatt-manager-actions{
    grid-template-columns: 1fr;
  }
  .golfgatt-section-head{
    align-items:flex-start;
    flex-direction:column;
  }
}


/* Golfgátt guide links */
.golfgatt-guide-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border:1px solid rgba(11,93,59,.14);
  background:linear-gradient(135deg, rgba(11,93,59,.06), rgba(201,166,70,.08));
}
.golfgatt-guide-card h2{
  margin:0 0 6px;
}
.golfgatt-guide-card p{
  margin-bottom:0;
}
.golfgatt-guide-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:10px;
  min-width:260px;
}
.golfgatt-header-actions .golfgatt-header-help{
  border-color:rgba(201,166,70,.56);
}
.golfgatt-group-footer a{
  color:#fff!important;
  text-decoration:none!important;
  font-weight:700;
}
.golfgatt-group-footer a:hover{
  color:#c9a646!important;
}
@media (max-width: 760px){
  .golfgatt-guide-card{
    flex-direction:column;
    align-items:flex-start;
  }
  .golfgatt-guide-actions{
    min-width:0;
    justify-content:flex-start;
  }
}


/* Golfgátt package / feature gating */
.golfgatt-package-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:8px 0 0;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(11,93,59,.14);
  color:#23322d;
  font-size:13px;
}
.golfgatt-package-pill strong{
  color:#0b5d3b;
}
.golfgatt-feature-locked{
  border:1px dashed rgba(201,166,70,.65);
  background:linear-gradient(135deg, rgba(201,166,70,.08), rgba(11,93,59,.04));
}
.asargolf-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:5px 9px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  background:#f6f2ea;
  color:#0b5d3b;
  vertical-align:middle;
}
.asargolf-badge.muted{
  color:#66706b;
  background:#f1eee7;
}


/* Golfgátt mobile scorecard */
.asargolf-scorecard-card.mobile-mode{
  max-width: 760px;
  margin-left:auto;
  margin-right:auto;
}
.asargolf-mobile-score-hint{
  padding:12px 14px;
  border-radius:14px;
  background:#f6f2ea;
  border:1px solid rgba(11,93,59,.12);
}
.asargolf-mobile-score-control{
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.asargolf-score-step{
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(11,93,59,.22);
  background:#f6f2ea;
  color:#0b5d3b;
  font-weight:900;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
.asargolf-score-step:hover{
  background:#0b5d3b;
  color:#fff;
}
.asargolf-score-hole-input,
.golfgatt-putts-hole-input{
  max-width:74px;
  text-align:center;
  font-weight:800;
}
@media (max-width: 760px){
  .asargolf-scorecard-card{
    padding:16px!important;
    border-radius:20px!important;
  }
  .asargolf-scorecard-wrap{
    overflow:visible;
  }
  .asargolf-scorecard-table{
    border-collapse:separate;
    border-spacing:0 12px;
  }
  .asargolf-scorecard-table thead{
    display:none;
  }
  .asargolf-scorecard-table,
  .asargolf-scorecard-table tbody,
  .asargolf-scorecard-table tr,
  .asargolf-scorecard-table td{
    display:block;
    width:100%;
  }
  .asargolf-scorecard-table tr.asargolf-scorecard-row{
    background:#fff;
    border:1px solid rgba(11,93,59,.14);
    border-radius:18px;
    padding:14px;
    box-shadow:0 8px 20px rgba(6,26,18,.06);
  }
  .asargolf-scorecard-table tr.asargolf-scorecard-row td{
    border:0!important;
    padding:6px 0!important;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    font-size:15px;
  }
  .asargolf-scorecard-table tr.asargolf-scorecard-row td::before{
    content:attr(data-label);
    color:#66706b;
    font-weight:750;
  }
  .asargolf-scorecard-table tr.asargolf-scorecard-row td:first-child{
    border-bottom:1px solid rgba(11,93,59,.10)!important;
    margin-bottom:6px;
    padding-bottom:10px!important;
    font-size:19px;
  }
  .asargolf-scorecard-table tr.asargolf-scorecard-row td:first-child::before{
    color:#0b5d3b;
  }
  .asargolf-scorecard-table .asargolf-mobile-score-control{
    width:auto;
  }
  .asargolf-scorecard-table .asargolf-score-step{
    width:44px;
    height:44px;
    font-size:24px;
  }
  .asargolf-scorecard-table .asargolf-score-hole-input,
  .asargolf-scorecard-table .golfgatt-putts-hole-input{
    width:76px;
    min-height:44px;
    font-size:20px;
    border-radius:14px;
  }
}


/* Golfgátt live scorecard / standings */
.golfgatt-scorecard-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:12px 0 16px;
}
.asargolf-score-autosave-status{
  min-height:20px;
  color:#0b5d3b;
  font-weight:700;
}
.golfgatt-live-standings{
  margin-top:22px;
  border:2px solid rgba(11,93,59,.14);
  background:#fffdf8;
}
.golfgatt-live-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:12px;
}
.golfgatt-live-head h2{
  margin:0;
}
.golfgatt-live-current-player{
  background:rgba(201,166,70,.12)!important;
}
@media (max-width:760px){
  .golfgatt-scorecard-tabs .asargolf-btn{
    flex:1 1 auto;
    text-align:center;
  }
  .golfgatt-live-head{
    flex-direction:column;
  }
  .golfgatt-live-standings table,
  .golfgatt-live-standings tbody,
  .golfgatt-live-standings tr,
  .golfgatt-live-standings td{
    display:block;
    width:100%;
  }
  .golfgatt-live-standings thead{
    display:none;
  }
  .golfgatt-live-standings tr{
    border:1px solid rgba(11,93,59,.12);
    border-radius:14px;
    padding:10px 12px;
    margin-bottom:10px;
    background:#fff;
  }
  .golfgatt-live-standings td{
    border:0!important;
    padding:4px 0!important;
    display:flex;
    justify-content:space-between;
    gap:12px;
  }
  .golfgatt-live-standings td:nth-child(1)::before{content:"Sæti";}
  .golfgatt-live-standings td:nth-child(2)::before{content:"Leikmaður";}
  .golfgatt-live-standings td:nth-child(3)::before{content:"Holur";}
  .golfgatt-live-standings td:nth-child(4)::before{content:"Punktar";}
  .golfgatt-live-standings td:nth-child(5)::before{content:"Högg";}
  .golfgatt-live-standings td:nth-child(6)::before{content:"Net";}
  .golfgatt-live-standings td:nth-child(7)::before{content:"Staða";}
  .golfgatt-live-standings td::before{
    color:#66706b;
    font-weight:800;
  }
}


/* Golfgátt course bank */
.golfgatt-course-bank{
  border:1px solid rgba(201,166,70,.35);
  background:linear-gradient(135deg, rgba(201,166,70,.08), rgba(11,93,59,.04));
  margin-bottom:22px;
}
.golfgatt-course-bank .asargolf-table td:last-child{
  min-width:220px;
}
.golfgatt-course-bank .asargolf-inline-form{
  margin:0 6px 6px 0;
}


/* Golfgátt Torg / Keppnistorg MVP */
.golfgatt-torg-hero{
  background:linear-gradient(135deg, rgba(11,93,59,.12), rgba(201,166,70,.10));
  border:1px solid rgba(11,93,59,.12);
}
.golfgatt-torg-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:18px;
  margin-top:20px;
}
.golfgatt-torg-card{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.golfgatt-torg-card-head{
  display:flex;
  align-items:center;
  gap:14px;
}
.golfgatt-torg-logo{
  width:62px;
  height:62px;
  border-radius:16px;
  background:#f6f2ea;
  border:1px solid rgba(11,93,59,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex:0 0 auto;
}
.golfgatt-torg-logo img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
.golfgatt-torg-card h3{
  margin:0;
}
.golfgatt-torg-meta{
  list-style:none;
  padding:0;
  margin:4px 0 0;
}
.golfgatt-torg-meta li{
  margin:5px 0;
  color:#23322d;
  font-size:14px;
}
.golfgatt-torg-panel{
  margin-top:22px;
  border:1px solid rgba(201,166,70,.35);
  background:linear-gradient(135deg, rgba(201,166,70,.08), rgba(11,93,59,.04));
}
.golfgatt-challenge-item{
  padding:12px 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(11,93,59,.12);
  margin:0 0 12px;
}
.golfgatt-torg-challenge-form{
  margin-top:auto;
}
.golfgatt-torg-challenge-form .asargolf-form{
  margin-top:12px;
}
.golfgatt-torg-fallback-logo{
  width:56px;
  height:56px;
  object-fit:contain;
}


/* Golfgátt mobile header polish for group/login pages */
@media (max-width: 680px){
  .golfgatt-group-header-inner{
    padding:10px 12px;
    gap:8px;
    flex-direction:column;
    align-items:stretch;
    flex-wrap:nowrap;
  }
  .golfgatt-header-brand{
    display:none;
  }
  .golfgatt-header-group{
    order:1;
    width:100%;
    justify-content:flex-start;
    gap:9px;
    min-height:44px;
  }
  .golfgatt-header-group-logo{
    width:42px;
    height:42px;
    border-radius:13px;
    padding:5px;
    box-shadow:0 5px 14px rgba(0,0,0,.16);
    flex:0 0 42px;
  }
  .golfgatt-header-kicker{
    font-size:9px;
    letter-spacing:.06em;
    margin-bottom:3px;
  }
  .golfgatt-header-group-text strong{
    max-width:none;
    font-size:17px;
    line-height:1.1;
  }
  .golfgatt-header-actions{
    order:2;
    width:100%;
    min-width:0;
    margin-left:0;
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(0, 1fr));
    gap:6px;
  }
  .golfgatt-header-actions a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:31px;
    padding:6px 8px;
    font-size:12px;
    line-height:1.05;
    border-radius:10px;
    white-space:nowrap;
  }
  .asargolf-login{
    padding-top:16px;
  }
}
@media (max-width: 380px){
  .golfgatt-group-header-inner{
    padding:8px 10px;
  }
  .golfgatt-header-group-logo{
    width:36px;
    height:36px;
    flex-basis:36px;
    border-radius:11px;
  }
  .golfgatt-header-group-text strong{
    font-size:15px;
  }
  .golfgatt-header-actions a{
    font-size:11px;
    padding:5px 6px;
    min-height:28px;
  }
}


/* Golfgátt Ryder / liðakeppni */
.golfgatt-ryder-scoreboard{
  border:1px solid rgba(201,166,70,.38);
  background:linear-gradient(135deg, rgba(201,166,70,.08), rgba(11,93,59,.04));
}
.golfgatt-ryder-totals{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
  margin:18px 0 22px;
}
.golfgatt-ryder-totals div{
  padding:18px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(11,93,59,.12);
  text-align:center;
}
.golfgatt-ryder-totals span{
  display:block;
  color:#66706b;
  font-size:14px;
  font-weight:800;
  margin-bottom:8px;
}
.golfgatt-ryder-totals strong{
  display:block;
  color:#0b5d3b;
  font-size:40px;
  line-height:1;
  font-weight:950;
}
.golfgatt-ryder-result-form{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.golfgatt-ryder-result-form select,
.golfgatt-ryder-result-form input[type="text"]{
  min-width:130px;
}
@media (max-width:760px){
  .golfgatt-ryder-totals{
    grid-template-columns:1fr;
  }
  .golfgatt-ryder-result-form{
    flex-direction:column;
    align-items:stretch;
  }
}


/* Golfgátt Ryder v2 hole-by-hole */
.golfgatt-ryder-hole-grid{
  display:grid;
  grid-template-columns:repeat(6, minmax(96px, 1fr));
  gap:10px;
  margin:14px 0;
}
.golfgatt-ryder-hole-grid label{
  font-size:13px;
  font-weight:800;
  color:#0b5d3b;
}
.golfgatt-ryder-hole-grid select{
  margin-top:4px;
  width:100%;
  min-height:36px;
  border-radius:10px;
}
.golfgatt-ryder-holes{
  margin-top:10px;
  min-width:320px;
}
.golfgatt-ryder-holes summary{
  cursor:pointer;
  color:#0b5d3b;
  font-weight:900;
}
@media (max-width:900px){
  .golfgatt-ryder-hole-grid{
    grid-template-columns:repeat(3, minmax(88px, 1fr));
  }
}
@media (max-width:560px){
  .golfgatt-ryder-hole-grid{
    grid-template-columns:repeat(2, minmax(88px, 1fr));
  }
}


/* Golfgátt Ryder mixed plan */
.golfgatt-ryder-plan-wrap{
  margin-top:14px;
}
.golfgatt-ryder-plan-table td{
  vertical-align:top;
}
.golfgatt-ryder-plan-table input[type="text"],
.golfgatt-ryder-plan-table select{
  width:100%;
}
.golfgatt-ryder-plan-table select[multiple]{
  min-height:132px;
}
@media (max-width:900px){
  .golfgatt-ryder-plan-table,
  .golfgatt-ryder-plan-table tbody,
  .golfgatt-ryder-plan-table tr,
  .golfgatt-ryder-plan-table td{
    display:block;
    width:100%;
  }
  .golfgatt-ryder-plan-table thead{
    display:none;
  }
  .golfgatt-ryder-plan-table tr{
    border:1px solid rgba(11,93,59,.12);
    border-radius:16px;
    padding:12px;
    margin-bottom:12px;
    background:#fff;
  }
}


/* Balanced tee settings table in course setup */
.asargolf-tee-settings-table {
  table-layout: auto;
}

.asargolf-tee-settings-table th:first-child,
.asargolf-tee-settings-table td.asargolf-tee-name-cell {
  min-width: 120px;
  width: 150px;
  max-width: 180px;
}

.asargolf-tee-name-input {
  min-width: 0;
  width: 100%;
  max-width: 170px;
}

.asargolf-tee-settings-table th:nth-child(2),
.asargolf-tee-settings-table td:nth-child(2),
.asargolf-tee-settings-table th:nth-child(5),
.asargolf-tee-settings-table td:nth-child(5) {
  width: 76px;
  text-align: center;
  white-space: nowrap;
}

.asargolf-tee-settings-table input[type="number"] {
  min-width: 64px;
}

.asargolf-tee-settings-table input[type="checkbox"] {
  width: auto;
  min-width: 0;
}

@media (max-width: 760px) {
  .asargolf-tee-settings-table th:first-child,
  .asargolf-tee-settings-table td.asargolf-tee-name-cell {
    min-width: 125px;
    width: 145px;
  }

  .asargolf-tee-name-input {
    max-width: 145px;
  }
}


/* Golfgátt Torg hero readability */
.golfgatt-torg-hero {
  color: #123326;
}

.golfgatt-torg-hero .asargolf-hero-inner,
.golfgatt-torg-hero .eyebrow,
.golfgatt-torg-hero h1,
.golfgatt-torg-hero p {
  color: #123326 !important;
}

.golfgatt-torg-hero .eyebrow {
  color: #0b5d3b !important;
  opacity: .98;
}

.golfgatt-torg-hero h1 {
  text-shadow: none !important;
}

.golfgatt-torg-hero p {
  max-width: 780px;
}


/* Full-width course editor */
.asargolf-course-editor-wide {
  width: 100%;
  max-width: 100%;
}

.asargolf-course-form-wide {
  width: 100%;
  max-width: 100%;
}

.asargolf-course-form-wide .asargolf-table-wrap {
  width: 100%;
  overflow-x: auto;
}

/* Keep course tee table usable without stealing columns */
.asargolf-course-form-wide .asargolf-tee-settings-table th:first-child,
.asargolf-course-form-wide .asargolf-tee-settings-table td.asargolf-tee-name-cell {
  min-width: 120px;
  width: 150px;
  max-width: 170px;
}

.asargolf-course-form-wide .asargolf-tee-name-input {
  min-width: 0;
  width: 100%;
  max-width: 160px;
}


/* Golfgátt course bank UX */
.golfgatt-my-courses {
  margin-bottom: 22px;
}

.golfgatt-course-bank {
  margin-bottom: 22px;
  border: 1px solid rgba(201,166,70,.35);
  background: linear-gradient(135deg, rgba(201,166,70,.08), rgba(11,93,59,.04));
}

.golfgatt-course-bank > summary {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  color: #0b5d3b;
  font-size: 18px;
  font-weight: 900;
}

.golfgatt-course-bank > summary::-webkit-details-marker {
  display: none;
}

.golfgatt-course-bank > summary span {
  color: #66706b;
  font-size: 13px;
  font-weight: 600;
}

.golfgatt-course-bank-body {
  margin-top: 16px;
}

.golfgatt-course-bank-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) minmax(190px, 1fr);
  gap: 12px;
  align-items: end;
  margin: 16px 0;
}

.golfgatt-course-bank-toolbar label {
  margin: 0;
}

.golfgatt-course-bank-table .golfgatt-course-bank-country-row td {
  background: rgba(11,93,59,.09);
  color: #0b5d3b;
  font-weight: 900;
  border-top: 2px solid rgba(11,93,59,.18);
}

.golfgatt-course-bank-table .asargolf-inline-form {
  margin: 0 6px 6px 0;
}

@media (max-width: 760px) {
  .golfgatt-course-bank-toolbar {
    grid-template-columns: 1fr;
  }
}

/* Golfgátt 9-hole course support */
.golfgatt-course-hole-count-select {
  max-width: 260px;
}


/* Golfgátt score hole-by-hole accordion */
.golfgatt-score-toggle {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(11,93,59,.28);
  background: #fff;
  color: #0b5d3b;
  font-weight: 950;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.golfgatt-score-toggle:hover,
.golfgatt-score-toggle[aria-expanded="true"] {
  background: #0b5d3b;
  color: #fff;
}

.golfgatt-score-breakdown-row > td {
  background: rgba(11,93,59,.035);
  border-top: 0;
  padding: 14px 18px 20px;
}

.golfgatt-score-breakdown {
  border: 1px solid rgba(11,93,59,.12);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
}

.golfgatt-score-breakdown-scroll {
  overflow-x: auto;
}

.golfgatt-hole-score-table {
  min-width: 680px;
}

.golfgatt-hole-score-table tfoot th {
  background: rgba(201,166,70,.12);
  color: #0b5d3b;
  font-weight: 900;
}

.golfgatt-series-breakdown .golfgatt-series-round-detail {
  margin: 10px 0;
}

.golfgatt-standings-table th:first-child,
.golfgatt-standings-table td:first-child {
  width: 54px;
  text-align: center;
}

@media (max-width: 760px) {
  .golfgatt-score-breakdown-row > td {
    padding: 10px;
  }
  .golfgatt-score-toggle {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}


/* Golfgátt year filter */
.golfgatt-year-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: end;
  margin-bottom: 18px;
}

.golfgatt-year-filter label {
  margin: 0;
  min-width: 180px;
}

.golfgatt-year-filter select {
  max-width: 180px;
}

.golfgatt-year-filter .asargolf-small {
  margin: 0;
  flex: 1 1 260px;
}


/* Golfgátt booking UX improvements */
.golfgatt-booking-groups-overview {
  margin: 22px 0;
}

.golfgatt-booking-group-list,
.golfgatt-booking-duty-list {
  display: grid;
  gap: 14px;
}

.golfgatt-booking-group-card {
  border: 1px solid rgba(11,93,59,.14);
  border-radius: 14px;
  background: rgba(11,93,59,.03);
  padding: 12px 14px;
}

.golfgatt-booking-group-card summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.golfgatt-booking-player-list,
.golfgatt-booking-duty-players ol {
  margin-top: 10px;
}

.golfgatt-booking-duty-card {
  border-left: 5px solid rgba(11,93,59,.45);
}

.golfgatt-booking-duty-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.golfgatt-booking-duty-head h3 {
  margin: 2px 0 4px;
}

.golfgatt-booking-duty-status {
  white-space: nowrap;
}

.golfgatt-booking-duty-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.035);
  margin-bottom: 12px;
}

.golfgatt-booking-duty-details summary {
  cursor: pointer;
  font-weight: 800;
  color: #0b5d3b;
}

.golfgatt-booking-duty-detail-grid {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(280px, 1.1fr);
  gap: 16px;
  margin-top: 12px;
}

.golfgatt-booking-duty-form textarea {
  min-height: 110px;
}

.golfgatt-booking-duty-action .asargolf-form {
  margin-top: 8px;
}

@media (max-width: 820px) {
  .golfgatt-booking-duty-head {
    flex-direction: column;
  }

  .golfgatt-booking-duty-summary,
  .golfgatt-booking-duty-detail-grid {
    grid-template-columns: 1fr;
  }

  .golfgatt-booking-group-card summary {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* Golfgátt Torg frontend settings */
.golfgatt-torg-settings-panel {
  margin-bottom: 24px;
  border: 1px solid rgba(201,166,70,.32);
  background: linear-gradient(135deg, rgba(201,166,70,.08), rgba(11,93,59,.04));
}

.golfgatt-torg-settings-layout {
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(320px, 1.15fr);
  gap: 20px;
  align-items: start;
}

.golfgatt-torg-settings-preview {
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(11,93,59,.10);
  padding: 16px;
}

.golfgatt-torg-card-preview {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.golfgatt-torg-settings-logo {
  max-width: 76px;
  max-height: 76px;
  object-fit: contain;
}

.golfgatt-torg-settings-form textarea {
  min-height: 120px;
}

@media (max-width: 860px) {
  .golfgatt-torg-settings-layout {
    grid-template-columns: 1fr;
  }
}


/* Golfgátt Torg layout polish */
.golfgatt-torg-groups-section {
  margin-top: 18px;
}

.golfgatt-torg-groups-section .golfgatt-torg-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.golfgatt-torg-groups-section .golfgatt-torg-card {
  padding: 16px;
}

.golfgatt-torg-groups-section .golfgatt-torg-card-head {
  gap: 10px;
}

.golfgatt-torg-groups-section .golfgatt-torg-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}

.golfgatt-torg-groups-section .golfgatt-torg-logo img,
.golfgatt-torg-groups-section .golfgatt-torg-logo svg {
  max-width: 52px;
  max-height: 52px;
}

.golfgatt-torg-groups-section .golfgatt-torg-card h3 {
  margin-bottom: 2px;
  font-size: 18px;
}

.golfgatt-torg-groups-section .golfgatt-torg-card > p:not(:last-child) {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0;
}

.golfgatt-torg-groups-section .golfgatt-torg-meta {
  font-size: 13px;
  margin: 10px 0;
}

.golfgatt-torg-settings-panel {
  margin-top: 22px;
}

.golfgatt-torg-settings-panel > summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  list-style: none;
}

.golfgatt-torg-settings-panel > summary::-webkit-details-marker {
  display: none;
}

.golfgatt-torg-settings-panel > summary h2 {
  margin-bottom: 4px;
}

.golfgatt-torg-settings-panel[open] > summary {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(11,93,59,.12);
}

@media (max-width: 720px) {
  .golfgatt-torg-settings-panel > summary {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* Golfgátt statistics and putts */
.golfgatt-statistics-intro {
  background: linear-gradient(135deg, rgba(11,93,59,.08), rgba(201,166,70,.10));
  border: 1px solid rgba(11,93,59,.12);
}

.golfgatt-statistics-table details {
  margin: 0;
}

.golfgatt-stat-detail-list {
  margin: 10px 0 0 18px;
  padding: 0;
}

.golfgatt-stat-detail-list li {
  margin-bottom: 6px;
}

.golfgatt-putts-hole-input {
  max-width: 74px;
  text-align: center;
  font-weight: 800;
}


/* Golfgátt putt fines */
.golfgatt-putt-fines-card h3 {
  margin-top: 18px;
}

.golfgatt-putt-fine-settle-form {
  gap: 8px;
  align-items: center;
}

.golfgatt-putt-fine-settle-form .asargolf-check {
  margin: 0;
  white-space: nowrap;
}

.golfgatt-putt-fines-settings {
  border-color: rgba(201,166,70,.35);
  background: rgba(201,166,70,.06);
}

/* Golfgátt knockout matchplay */
.golfgatt-knockout-header {
  border: 1px solid rgba(11,93,59,.16);
  background: linear-gradient(135deg, rgba(11,93,59,.08), rgba(201,166,70,.08));
}

.golfgatt-knockout-bracket {
  margin-top: 18px;
}

.golfgatt-knockout-round {
  margin: 18px 0 26px;
}

.golfgatt-knockout-match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.golfgatt-knockout-match {
  padding: 16px;
  border-left: 5px solid rgba(11,93,59,.45);
}

.golfgatt-knockout-player {
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(11,93,59,.06);
}

.golfgatt-knockout-vs {
  color: #66706b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  margin: 6px 0;
  text-transform: uppercase;
}

/* Golfgátt 2.22.0: magic-link scorecard access */
.golfgatt-magic-scorecard-notice{margin:0 0 16px;border-color:#86efac;background:#f0fdf4;color:#14532d}
.asargolf-score-form[data-score-token]:not([data-score-token=""]) .asargolf-score-autosave-status{font-weight:700}
@media(max-width:680px){.asargolf-scorecard-card.mobile-mode{margin-left:-8px;margin-right:-8px}.asargolf-scorecard-card.mobile-mode .asargolf-grid2{grid-template-columns:1fr}.asargolf-scorecard-card.mobile-mode .asargolf-scorecard-table input[type=number]{font-size:18px;min-height:44px}.asargolf-scorecard-card.mobile-mode .asargolf-mobile-score-control button{min-width:44px;min-height:44px}}

/* Golfgatt Core 2.23.0: keppnisholl og ritarar */
.golfgatt-competition-groups-card{
  border-left:5px solid rgba(11,93,59,.45);
}

.golfgatt-round-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0 18px;
}

.golfgatt-competition-toolbar{
  align-items:center;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:10px 0 16px;
}

.golfgatt-competition-groups-builder{
  align-items:start;
  display:grid;
  gap:16px;
  grid-template-columns:minmax(220px,.8fr) minmax(320px,2fr);
}

.golfgatt-comp-groups-list{
  display:grid;
  gap:14px;
}

.golfgatt-comp-group{
  background:#fff;
  border:1px solid rgba(11,93,59,.16);
  border-radius:16px;
  box-shadow:0 8px 24px rgba(11,93,59,.06);
  padding:14px;
}

.golfgatt-comp-group-unassigned{
  background:rgba(11,93,59,.04);
}

.golfgatt-comp-group-head{
  align-items:end;
  display:grid;
  gap:10px;
  grid-template-columns:1fr 160px auto;
  margin-bottom:10px;
}

.golfgatt-comp-group-head label{
  display:grid;
  gap:5px;
  margin:0;
}

.golfgatt-player-dropzone{
  background:rgba(255,255,255,.65);
  border:1px dashed rgba(11,93,59,.25);
  border-radius:14px;
  display:grid;
  gap:8px;
  min-height:58px;
  padding:8px;
}

.golfgatt-player-dropzone.is-over{
  background:rgba(201,166,70,.12);
  border-color:rgba(201,166,70,.75);
}

.golfgatt-player-card{
  background:#fff;
  border:1px solid rgba(11,93,59,.18);
  border-radius:12px;
  cursor:grab;
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:9px 10px;
  user-select:none;
}

.golfgatt-player-card:active{
  cursor:grabbing;
}

.golfgatt-player-card.is-dragging{
  opacity:.55;
}

.golfgatt-player-card span{
  color:#66706b;
  font-size:12px;
}

.golfgatt-marker-preview{
  color:#42514a;
  margin:8px 2px 0;
}

.golfgatt-marker-status-wrap{
  margin-top:18px;
}

.golfgatt-competition-groups-live{
  min-height:18px;
}

.golfgatt-scorecard-edit-fields[disabled]{
  opacity:.78;
}

.golfgatt-own-score-snapshot{
  background:rgba(11,93,59,.04);
  margin:16px 0;
}

.golfgatt-own-score-snapshot table{
  margin-bottom:0;
}

@media(max-width:780px){
  .golfgatt-competition-groups-builder{
    grid-template-columns:1fr;
  }
  .golfgatt-comp-group-head{
    grid-template-columns:1fr;
  }
  .golfgatt-player-card{
    cursor:move;
  }
}

/* Golfgatt Core 2.23.0: keppnisholl / current markup */
.golfgatt-competition-manager{
  display:grid;
  gap:16px;
}
.golfgatt-round-switcher{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0 16px;
}
.golfgatt-competition-form{
  border:1px solid rgba(11,93,59,.14);
  border-radius:18px;
  padding:16px;
  background:rgba(11,93,59,.03);
}
.golfgatt-competition-tools{
  align-items:center;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:12px 0 16px;
}
.golfgatt-competition-board{
  display:grid;
  gap:14px;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  align-items:start;
}
.golfgatt-competition-group{
  background:#fff;
  border:1px solid rgba(11,93,59,.16);
  border-radius:16px;
  box-shadow:0 8px 24px rgba(11,93,59,.06);
  padding:14px;
}
.golfgatt-competition-unassigned{
  background:rgba(11,93,59,.045);
}
.golfgatt-competition-group-head{
  display:grid;
  gap:8px;
  grid-template-columns:1fr 120px auto;
  align-items:center;
  margin-bottom:10px;
}
.golfgatt-competition-list{
  background:rgba(255,255,255,.72);
  border:1px dashed rgba(11,93,59,.25);
  border-radius:14px;
  display:grid;
  gap:8px;
  min-height:58px;
  padding:8px;
}
.golfgatt-competition-list.is-over{
  background:rgba(201,166,70,.12);
  border-color:rgba(201,166,70,.75);
}
.golfgatt-competition-player{
  align-items:center;
  background:#fff;
  border:1px solid rgba(11,93,59,.18);
  border-radius:12px;
  cursor:grab;
  display:flex;
  gap:9px;
  padding:9px 10px;
  user-select:none;
}
.golfgatt-competition-player:active{cursor:grabbing}
.golfgatt-competition-player.is-dragging{opacity:.55}
.golfgatt-drag-handle{color:#66706b;font-weight:900;line-height:1}
.golfgatt-competition-marker-preview{color:#42514a;margin:8px 2px 0}
.golfgatt-competition-actions{margin-top:14px}
.golfgatt-marker-scorecard-notice,.golfgatt-score-review-readonly{margin:0 0 16px}
.golfgatt-score-approval-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:14px}
.golfgatt-marker-own-score{background:rgba(11,93,59,.045);margin:16px 0}
.golfgatt-marker-own-score-holes{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.golfgatt-marker-own-score-holes span{background:#fff;border:1px solid rgba(11,93,59,.14);border-radius:999px;padding:4px 8px;font-size:12px;font-weight:700}
.golfgatt-score-entry-fieldset[disabled]{opacity:.75}
@media(max-width:780px){
  .golfgatt-competition-group-head{grid-template-columns:1fr}
  .golfgatt-competition-board{grid-template-columns:1fr}
  .golfgatt-competition-player{cursor:move}
}

/* Golfgatt Core 2.23.0: actual competition board markup */
.golfgatt-competition-manager{
  margin-top:18px;
}

.golfgatt-round-switcher{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0 18px;
}

.golfgatt-competition-tools,
.golfgatt-competition-actions{
  align-items:center;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:12px 0 16px;
}

.golfgatt-competition-board{
  display:grid;
  gap:14px;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  margin:14px 0 18px;
}

.golfgatt-competition-group{
  background:#fff;
  border:1px solid rgba(11,93,59,.16);
  border-radius:16px;
  box-shadow:0 8px 24px rgba(11,93,59,.06);
  padding:14px;
}

.golfgatt-competition-unassigned{
  background:rgba(11,93,59,.04);
  border-style:dashed;
}

.golfgatt-competition-group-head{
  align-items:center;
  display:grid;
  gap:8px;
  grid-template-columns:1fr 120px auto;
  margin-bottom:10px;
}

.golfgatt-competition-group-label,
.golfgatt-competition-group-time{
  min-height:36px;
}

.golfgatt-competition-list{
  background:rgba(255,255,255,.72);
  border:1px dashed rgba(11,93,59,.22);
  border-radius:14px;
  display:grid;
  gap:8px;
  min-height:62px;
  padding:8px;
}

.golfgatt-competition-list.is-over{
  background:rgba(201,166,70,.12);
  border-color:rgba(201,166,70,.72);
}

.golfgatt-competition-player{
  align-items:center;
  background:#fff;
  border:1px solid rgba(11,93,59,.18);
  border-radius:12px;
  cursor:grab;
  display:flex;
  gap:8px;
  padding:9px 10px;
  user-select:none;
}

.golfgatt-competition-player:active{
  cursor:grabbing;
}

.golfgatt-competition-player.is-dragging{
  opacity:.55;
}

.golfgatt-drag-handle{
  color:#66706b;
  font-size:15px;
  line-height:1;
}

.golfgatt-competition-live-preview{
  color:#42514a;
  margin:8px 2px 0;
}

.golfgatt-marker-own-score,
.golfgatt-own-score-snapshot{
  background:rgba(11,93,59,.04);
  margin:16px 0;
}

.golfgatt-marker-own-score-holes{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.golfgatt-marker-own-score-holes span{
  background:#fff;
  border:1px solid rgba(11,93,59,.14);
  border-radius:999px;
  padding:4px 8px;
}

@media(max-width:780px){
  .golfgatt-competition-board{
    grid-template-columns:1fr;
  }
  .golfgatt-competition-group-head{
    grid-template-columns:1fr;
  }
}

.golfgatt-competition-marker-preview,
.golfgatt-competition-live{
  color:#42514a;
  margin:8px 2px 0;
}

/* Golfgatt Core 2.23.1: competition groups and scorecard polish */
.golfgatt-competition-group-head{
  grid-template-columns:minmax(84px,1fr) 142px auto;
}
.golfgatt-competition-group-label{
  align-items:center;
  background:rgba(11,93,59,.07);
  border:1px solid rgba(11,93,59,.14);
  border-radius:12px;
  color:#0b5d3b;
  display:flex;
  font-weight:900;
  min-height:38px;
  padding:8px 10px;
  white-space:nowrap;
}
.golfgatt-competition-time-label{
  display:grid;
  gap:3px;
  margin:0;
}
.golfgatt-competition-time-label span{
  color:#66706b;
  font-size:11px;
  font-weight:800;
  line-height:1;
}
.golfgatt-competition-group-time{
  font-variant-numeric:tabular-nums;
  letter-spacing:.03em;
  text-align:center;
  width:100%;
}
.golfgatt-score-review-summary{
  background:#fffdf8;
  border:2px solid rgba(11,93,59,.16);
  margin:14px 0 18px;
}
.golfgatt-score-review-summary h3{
  margin-top:0;
}
.golfgatt-score-entry-fieldset[disabled]{
  opacity:1;
}
.golfgatt-score-entry-fieldset[disabled] input,
.golfgatt-score-entry-fieldset[disabled] select,
.golfgatt-score-entry-fieldset[disabled] textarea,
.golfgatt-score-entry-fieldset[disabled] button{
  opacity:1;
}
.golfgatt-score-entry-fieldset[disabled] input,
.golfgatt-score-entry-fieldset[disabled] textarea{
  -webkit-text-fill-color:#0b2f23;
  background:#fff;
  color:#0b2f23;
}
#golfgatt-marker-own-score{
  scroll-margin-top:80px;
}
.golfgatt-marker-own-score .asargolf-badge{
  margin-left:4px;
}
@media(max-width:780px){
  .golfgatt-competition-group-head{
    grid-template-columns:1fr;
  }
  .golfgatt-competition-group-label{
    justify-content:center;
  }
}


/* Golfgatt Core 2.23.2: time picker, desktop score fields and putt limits */
.golfgatt-competition-group-time{
  cursor:pointer;
  min-width:118px;
  padding:9px 10px;
}
.golfgatt-competition-group-time:focus{
  outline:3px solid rgba(11,93,59,.18);
  outline-offset:2px;
}
.asargolf-scorecard-table .asargolf-mobile-score-control{
  min-width:138px;
  justify-content:center;
}
.asargolf-scorecard-table .asargolf-score-hole-input,
.asargolf-scorecard-table .golfgatt-putts-hole-input{
  box-sizing:border-box;
  height:40px;
  line-height:40px;
  min-width:58px;
  padding:6px 8px;
  text-align:center;
}
.golfgatt-putts-limit-hint{
  display:block;
  margin-top:4px;
  text-align:center;
}
@media(max-width:760px){
  .asargolf-scorecard-table .asargolf-mobile-score-control{
    min-width:0;
  }
  .golfgatt-putts-limit-hint{
    text-align:right;
  }
}


/* Golfgatt Core 2.23.3: force competition tee times into a custom 24-hour HH:MM control */
.golfgatt-competition-time-control{
  align-items:center;
  display:grid;
  gap:4px;
  grid-template-columns:minmax(54px,1fr) auto minmax(54px,1fr);
  width:100%;
}
.golfgatt-competition-time-hour,
.golfgatt-competition-time-minute{
  appearance:auto;
  background:#fff;
  border:1px solid rgba(11,93,59,.22);
  border-radius:10px;
  box-sizing:border-box;
  color:#0b2f23;
  font-variant-numeric:tabular-nums;
  font-weight:800;
  height:40px;
  letter-spacing:.03em;
  min-width:54px;
  padding:6px 8px;
  text-align:center;
}
.golfgatt-competition-time-separator{
  color:#0b5d3b;
  font-weight:900;
  line-height:1;
  text-align:center;
}
.golfgatt-competition-group-time-hidden{
  display:none!important;
}
@media(max-width:780px){
  .golfgatt-competition-time-control{
    max-width:190px;
    margin:0 auto;
  }
}


/* Golfgatt Core 2.23.5: improve visible height of 24h tee-time selects */
.golfgatt-competition-time-control{
  grid-template-columns:minmax(64px,1fr) auto minmax(64px,1fr);
  gap:6px;
}
.golfgatt-competition-time-hour,
.golfgatt-competition-time-minute{
  -webkit-appearance:menulist;
  appearance:menulist;
  display:block;
  font-size:16px;
  font-weight:700;
  height:44px;
  line-height:1.25;
  min-width:64px;
  overflow:visible;
  padding:0 24px 0 10px;
  vertical-align:middle;
}
.golfgatt-competition-time-separator{
  align-self:center;
  font-size:18px;
}
@media(max-width:780px){
  .golfgatt-competition-time-control{
    grid-template-columns:minmax(60px,1fr) auto minmax(60px,1fr);
    max-width:210px;
  }
}


/* Golfgatt Core 2.23.6: keppnisholl UI polish */
.golfgatt-competition-manager{
  gap:18px;
  margin-top:20px;
}
.golfgatt-competition-form{
  background:linear-gradient(180deg,rgba(11,93,59,.045),rgba(11,93,59,.018));
  border:1px solid rgba(11,93,59,.16);
  border-radius:22px;
  box-shadow:0 12px 30px rgba(11,93,59,.06);
  padding:18px;
}
.golfgatt-round-switcher,
.golfgatt-competition-tools,
.golfgatt-competition-actions{
  align-items:center;
  gap:10px;
}
.golfgatt-competition-tools{
  background:#fff;
  border:1px solid rgba(11,93,59,.12);
  border-radius:16px;
  box-shadow:0 6px 18px rgba(11,93,59,.04);
  padding:12px;
}
.golfgatt-competition-tools label{
  align-items:center;
  background:rgba(11,93,59,.035);
  border:1px solid rgba(11,93,59,.12);
  border-radius:12px;
  color:#0b2f23;
  display:flex;
  flex-wrap:wrap;
  font-weight:800;
  gap:8px;
  margin:0;
  min-height:42px;
  padding:6px 10px;
}
.golfgatt-competition-auto-size{
  border:1px solid rgba(11,93,59,.20);
  border-radius:10px;
  box-sizing:border-box;
  font-weight:800;
  height:38px;
  min-width:138px;
  padding:0 32px 0 10px;
}
.golfgatt-competition-board{
  align-items:start;
  gap:18px;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  margin-top:16px;
}
.golfgatt-competition-group{
  border-radius:18px;
  box-shadow:0 10px 26px rgba(11,93,59,.07);
  padding:14px;
}
.golfgatt-competition-unassigned{
  grid-column:1 / -1;
}
.golfgatt-competition-unassigned .golfgatt-competition-list{
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
}
.golfgatt-competition-group h3{
  color:#0b5d3b;
  font-size:16px;
  margin:0 0 10px;
}
.golfgatt-competition-group-head{
  align-items:end;
  display:grid;
  gap:10px;
  grid-template-columns:max-content minmax(188px,1fr) max-content;
  margin-bottom:12px;
}
.golfgatt-competition-group-label{
  font-size:15px;
  min-height:44px;
  padding:10px 12px;
}
.golfgatt-competition-time-label{
  gap:5px;
  min-width:188px;
}
.golfgatt-competition-time-label span{
  color:#4b5f54;
  font-size:12px;
  line-height:1.1;
  padding-left:2px;
}
.golfgatt-competition-time-control{
  grid-template-columns:minmax(72px,1fr) auto minmax(72px,1fr);
  gap:7px;
  max-width:none;
  width:100%;
}
.golfgatt-competition-time-hour,
.golfgatt-competition-time-minute{
  border-color:rgba(11,93,59,.26);
  border-radius:12px;
  font-size:16px;
  height:48px;
  line-height:1.3;
  min-width:72px;
  padding:0 28px 0 12px;
}
.golfgatt-competition-time-hour:focus,
.golfgatt-competition-time-minute:focus{
  border-color:rgba(11,93,59,.50);
  box-shadow:0 0 0 3px rgba(11,93,59,.13);
  outline:none;
}
.golfgatt-competition-time-separator{
  color:#0b5d3b;
  font-size:20px;
  font-weight:900;
  line-height:48px;
}
.golfgatt-competition-remove-group{
  align-self:end;
  min-height:44px;
  padding-left:12px;
  padding-right:12px;
  white-space:nowrap;
}
.golfgatt-competition-list{
  background:rgba(255,255,255,.82);
  border-radius:16px;
  gap:9px;
  min-height:72px;
  padding:10px;
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.golfgatt-competition-list.is-over{
  box-shadow:inset 0 0 0 2px rgba(201,166,70,.35);
}
.golfgatt-competition-player{
  border-radius:13px;
  box-shadow:0 3px 10px rgba(11,93,59,.045);
  font-size:15px;
  min-height:44px;
  padding:10px 12px;
  transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease;
}
.golfgatt-competition-player:hover{
  border-color:rgba(11,93,59,.34);
  box-shadow:0 5px 16px rgba(11,93,59,.09);
  transform:translateY(-1px);
}
.golfgatt-competition-player.is-dragging{
  transform:scale(.985);
}
.golfgatt-drag-handle{
  align-items:center;
  background:rgba(11,93,59,.06);
  border-radius:8px;
  color:#4b5f54;
  display:inline-flex;
  flex:0 0 28px;
  height:28px;
  justify-content:center;
}
.golfgatt-competition-marker-preview,
.golfgatt-competition-live,
.golfgatt-competition-live-preview{
  background:rgba(11,93,59,.035);
  border-radius:12px;
  color:#42514a;
  margin:10px 0 0;
  padding:8px 10px;
}
.golfgatt-competition-actions{
  background:#fff;
  border:1px solid rgba(11,93,59,.12);
  border-radius:16px;
  margin-top:16px;
  padding:12px;
}
@media(max-width:980px){
  .golfgatt-competition-board{
    grid-template-columns:1fr;
  }
  .golfgatt-competition-unassigned .golfgatt-competition-list{
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  }
}
@media(max-width:640px){
  .golfgatt-competition-form{
    border-radius:18px;
    padding:12px;
  }
  .golfgatt-competition-tools,
  .golfgatt-competition-actions{
    align-items:stretch;
    flex-direction:column;
  }
  .golfgatt-competition-tools label,
  .golfgatt-competition-tools .asargolf-btn,
  .golfgatt-competition-actions .asargolf-btn{
    justify-content:center;
    width:100%;
  }
  .golfgatt-competition-auto-size{
    flex:1 1 auto;
    min-width:0;
  }
  .golfgatt-competition-group-head{
    grid-template-columns:1fr;
  }
  .golfgatt-competition-group-label{
    justify-content:center;
    text-align:center;
  }
  .golfgatt-competition-time-label{
    min-width:0;
    width:100%;
  }
  .golfgatt-competition-time-control{
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    max-width:none;
  }
  .golfgatt-competition-remove-group{
    justify-self:stretch;
    width:100%;
  }
  .golfgatt-competition-unassigned .golfgatt-competition-list{
    grid-template-columns:1fr;
  }
}


/* Golfgatt Core 2.23.6: competition groups UI polish */
.golfgatt-competition-manager{
  --gg-competition-border:rgba(11,93,59,.15);
  --gg-competition-border-strong:rgba(11,93,59,.24);
  --gg-competition-soft:rgba(11,93,59,.045);
  --gg-competition-shadow:0 10px 28px rgba(11,93,59,.07);
}
.golfgatt-competition-form{
  max-width:none;
}
.golfgatt-competition-mode-label{
  background:#fff;
  border:1px solid var(--gg-competition-border);
  border-radius:16px;
  box-shadow:0 6px 20px rgba(11,93,59,.045);
  display:grid!important;
  gap:8px;
  margin:14px 0 16px;
  max-width:720px;
  padding:14px;
}
.golfgatt-competition-field-title{
  color:#0b5d3b;
  font-size:13px;
  font-weight:900;
}
.golfgatt-competition-mode-label select{
  max-width:360px;
}
.golfgatt-competition-tools{
  background:linear-gradient(180deg,#fff,rgba(11,93,59,.025));
  border:1px solid var(--gg-competition-border);
  border-radius:16px;
  box-shadow:0 6px 20px rgba(11,93,59,.04);
  padding:12px;
}
.golfgatt-competition-tools .asargolf-btn,
.golfgatt-competition-actions .asargolf-btn{
  min-height:42px;
}
.golfgatt-competition-auto-label{
  align-items:center;
  display:flex!important;
  flex-wrap:wrap;
  gap:8px;
  margin:0;
}
.golfgatt-competition-auto-label span{
  color:#42514a;
  font-size:13px;
  font-weight:800;
}
.golfgatt-competition-auto-size{
  min-height:42px;
  min-width:148px;
}
.golfgatt-competition-board{
  gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));
  align-items:start;
}
.golfgatt-competition-group{
  border-color:var(--gg-competition-border);
  box-shadow:var(--gg-competition-shadow);
  padding:16px;
}
.golfgatt-competition-group-head{
  align-items:end;
  display:grid;
  gap:10px;
  grid-template-columns:minmax(80px,max-content) minmax(154px,1fr) max-content;
  margin-bottom:12px;
}
.golfgatt-competition-group-label{
  min-height:44px;
  padding:10px 12px;
}
.golfgatt-competition-time-label{
  min-width:154px;
}
.golfgatt-competition-time-label span{
  display:block;
  margin-bottom:4px;
  text-align:center;
}
.golfgatt-competition-time-control{
  grid-template-columns:minmax(68px,1fr) auto minmax(68px,1fr);
  gap:6px;
  min-width:154px;
}
.golfgatt-competition-time-hour,
.golfgatt-competition-time-minute{
  font-size:16px;
  height:46px;
  line-height:46px;
  min-width:68px;
  padding:0 26px 0 10px;
}
.golfgatt-competition-time-separator{
  align-self:center;
  display:block;
  line-height:46px;
  min-width:8px;
}
.golfgatt-competition-remove-group{
  align-self:end;
  min-height:44px;
  white-space:nowrap;
}
.golfgatt-competition-list{
  background:rgba(255,255,255,.82);
  border-color:var(--gg-competition-border-strong);
  gap:9px;
  min-height:78px;
  padding:10px;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.golfgatt-competition-list.is-over{
  box-shadow:inset 0 0 0 2px rgba(201,166,70,.24);
}
.golfgatt-competition-group:not(.golfgatt-competition-unassigned) .golfgatt-competition-list:empty::before,
.golfgatt-competition-unassigned .golfgatt-competition-list:empty::before{
  align-items:center;
  color:#66706b;
  display:flex;
  font-size:13px;
  font-weight:700;
  justify-content:center;
  min-height:54px;
  text-align:center;
}
.golfgatt-competition-group:not(.golfgatt-competition-unassigned) .golfgatt-competition-list:empty::before{
  content:'Dragðu leikmenn í þetta holl';
}
.golfgatt-competition-unassigned .golfgatt-competition-list:empty::before{
  content:'Allir leikmenn eru komnir í holl';
}
.golfgatt-competition-player{
  border-color:rgba(11,93,59,.16);
  box-shadow:0 2px 8px rgba(11,93,59,.035);
  min-height:42px;
  padding:10px 11px;
  transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease;
}
.golfgatt-competition-player:hover{
  border-color:rgba(11,93,59,.32);
  box-shadow:0 6px 16px rgba(11,93,59,.08);
  transform:translateY(-1px);
}
.golfgatt-competition-player strong{
  line-height:1.25;
}
.golfgatt-drag-handle{
  align-items:center;
  background:rgba(11,93,59,.06);
  border-radius:8px;
  color:#0b5d3b;
  display:inline-flex;
  flex:0 0 auto;
  height:28px;
  justify-content:center;
  width:28px;
}
.golfgatt-competition-unassigned{
  background:linear-gradient(180deg,rgba(11,93,59,.045),rgba(11,93,59,.02));
}
.golfgatt-competition-unassigned-head{
  margin-bottom:10px;
}
.golfgatt-competition-unassigned-head h3{
  color:#0b5d3b;
  font-size:16px;
  margin:0 0 2px;
}
.golfgatt-competition-unassigned-head .asargolf-small{
  display:block;
  margin:0;
}
.golfgatt-competition-live,
.golfgatt-competition-marker-preview{
  background:rgba(11,93,59,.035);
  border:1px solid rgba(11,93,59,.10);
  border-radius:12px;
  padding:8px 10px;
}
.golfgatt-competition-actions{
  background:#fff;
  border:1px solid var(--gg-competition-border);
  border-radius:16px;
  padding:12px;
}
@media(max-width:920px){
  .golfgatt-competition-board{
    grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));
  }
}
@media(max-width:780px){
  .golfgatt-competition-tools{
    align-items:stretch;
    flex-direction:column;
  }
  .golfgatt-competition-tools .asargolf-btn,
  .golfgatt-competition-auto-label,
  .golfgatt-competition-auto-size{
    width:100%;
  }
  .golfgatt-competition-auto-label{
    align-items:stretch;
  }
  .golfgatt-competition-group{
    padding:14px;
  }
  .golfgatt-competition-group-head{
    align-items:end;
    grid-template-columns:1fr auto;
  }
  .golfgatt-competition-group-label{
    justify-content:flex-start;
  }
  .golfgatt-competition-time-label{
    grid-column:1 / -1;
    min-width:0;
    width:100%;
  }
  .golfgatt-competition-time-control{
    grid-template-columns:minmax(70px,1fr) auto minmax(70px,1fr);
    max-width:none;
    min-width:0;
    width:100%;
  }
  .golfgatt-competition-remove-group{
    grid-column:2;
    grid-row:1;
  }
}
@media(max-width:420px){
  .golfgatt-competition-group-head{
    grid-template-columns:1fr;
  }
  .golfgatt-competition-remove-group{
    grid-column:auto;
    grid-row:auto;
    width:100%;
  }
  .golfgatt-competition-time-hour,
  .golfgatt-competition-time-minute{
    min-width:0;
  }
}

/* Golfgatt Core 2.24.0: matchplay round-robin schedule and group editing */
.golfgatt-rr-schedule-editor,
.golfgatt-rr-regenerate-editor{
  border:1px solid rgba(11,93,59,.12);
}
.golfgatt-rr-schedule-table input,
.golfgatt-rr-schedule-table select{
  box-sizing:border-box;
  max-width:100%;
}
.golfgatt-rr-small-input{
  min-width:70px;
  width:78px;
}
.golfgatt-rr-time-input{
  font-variant-numeric:tabular-nums;
  min-width:86px;
  text-align:center;
  width:96px;
}
.golfgatt-rr-holl-input{
  min-width:100px;
  width:130px;
}
.golfgatt-rr-schedule-table .asargolf-date-field{
  min-width:145px;
}
@media(max-width:900px){
  .golfgatt-rr-schedule-table{
    min-width:980px;
  }
}


/* Golfgatt Core 2.24.1: holukeppni schedule usability */
.golfgatt-rr-groups-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  margin:18px 0;
}
.golfgatt-rr-schedule-editor .asargolf-table-wrap,
.golfgatt-rr-results-wrap{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.golfgatt-rr-schedule-table{
  min-width:1120px;
  table-layout:auto;
}
.golfgatt-rr-results-table{
  min-width:1080px;
  table-layout:auto;
}
.golfgatt-rr-schedule-table th,
.golfgatt-rr-schedule-table td,
.golfgatt-rr-results-table th,
.golfgatt-rr-results-table td{
  vertical-align:top;
}
.golfgatt-rr-schedule-table th:nth-child(2),
.golfgatt-rr-schedule-table td:nth-child(2){
  min-width:220px;
}
.golfgatt-rr-schedule-table th:nth-child(4),
.golfgatt-rr-schedule-table td:nth-child(4){
  min-width:160px;
}
.golfgatt-rr-schedule-table th:nth-child(5),
.golfgatt-rr-schedule-table td:nth-child(5){
  min-width:170px;
}
.golfgatt-rr-schedule-table th:nth-child(6),
.golfgatt-rr-schedule-table td:nth-child(6){
  min-width:150px;
}
.golfgatt-rr-results-table th:nth-child(4),
.golfgatt-rr-results-table td:nth-child(4){
  min-width:130px;
}
.golfgatt-rr-results-table th:nth-child(5),
.golfgatt-rr-results-table td:nth-child(5){
  min-width:250px;
}
.golfgatt-rr-results-table th:last-child,
.golfgatt-rr-results-table td:last-child{
  min-width:210px;
}
.golfgatt-rr-time-control{
  align-items:center;
  display:flex;
  gap:6px;
  min-width:132px;
  white-space:nowrap;
}
.golfgatt-rr-time-hour,
.golfgatt-rr-time-minute{
  -webkit-appearance:menulist;
  appearance:menulist;
  background:#fff;
  border:1px solid #bbf7d0;
  border-radius:10px;
  color:#0b2f23;
  display:block;
  font-size:15px;
  font-variant-numeric:tabular-nums;
  font-weight:800;
  height:42px;
  line-height:1.2;
  min-width:60px;
  padding:0 22px 0 9px;
}
.golfgatt-rr-time-separator{
  color:#0b5d3b;
  font-weight:900;
}
.golfgatt-rr-schedule-table select[disabled],
.golfgatt-rr-schedule-table input[disabled]{
  background:#f8fafc;
  color:#64748b;
  cursor:not-allowed;
  opacity:1;
}
@media(max-width:900px){
  .golfgatt-rr-schedule-table{
    min-width:1120px;
  }
  .golfgatt-rr-results-table{
    min-width:1080px;
  }
}


/* Golfgatt Core 2.24.2: holukeppni leikjaplan table fit and visible last columns */
.golfgatt-rr-schedule-editor{
  overflow:visible;
}
.golfgatt-rr-schedule-wrap,
.golfgatt-rr-results-wrap{
  display:block;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding-bottom:10px;
  scrollbar-color:rgba(11,93,59,.55) rgba(11,93,59,.08);
  scrollbar-width:thin;
}
.golfgatt-rr-schedule-wrap::-webkit-scrollbar,
.golfgatt-rr-results-wrap::-webkit-scrollbar{
  height:12px;
}
.golfgatt-rr-schedule-wrap::-webkit-scrollbar-track,
.golfgatt-rr-results-wrap::-webkit-scrollbar-track{
  background:rgba(11,93,59,.08);
  border-radius:999px;
}
.golfgatt-rr-schedule-wrap::-webkit-scrollbar-thumb,
.golfgatt-rr-results-wrap::-webkit-scrollbar-thumb{
  background:rgba(11,93,59,.55);
  border-radius:999px;
}
.golfgatt-rr-schedule-table,
.golfgatt-rr-results-table{
  font-size:12.5px;
}
.golfgatt-rr-schedule-table th,
.golfgatt-rr-schedule-table td,
.golfgatt-rr-results-table th,
.golfgatt-rr-results-table td{
  padding:7px 8px;
}
.golfgatt-rr-schedule-table{
  min-width:1000px;
  width:100%;
}
.golfgatt-rr-results-table{
  min-width:1000px;
  width:100%;
}
.golfgatt-rr-schedule-table th:nth-child(1),
.golfgatt-rr-schedule-table td:nth-child(1){
  width:44px;
}
.golfgatt-rr-schedule-table th:nth-child(2),
.golfgatt-rr-schedule-table td:nth-child(2){
  min-width:190px;
  width:22%;
}
.golfgatt-rr-schedule-table th:nth-child(3),
.golfgatt-rr-schedule-table td:nth-child(3),
.golfgatt-rr-schedule-table th:nth-child(8),
.golfgatt-rr-schedule-table td:nth-child(8){
  min-width:62px;
  width:68px;
}
.golfgatt-rr-schedule-table th:nth-child(4),
.golfgatt-rr-schedule-table td:nth-child(4){
  min-width:138px;
  width:146px;
}
.golfgatt-rr-schedule-table th:nth-child(5),
.golfgatt-rr-schedule-table td:nth-child(5){
  min-width:145px;
  width:16%;
}
.golfgatt-rr-schedule-table th:nth-child(6),
.golfgatt-rr-schedule-table td:nth-child(6){
  min-width:118px;
  width:128px;
}
.golfgatt-rr-schedule-table th:nth-child(7),
.golfgatt-rr-schedule-table td:nth-child(7){
  min-width:92px;
  width:104px;
}
.golfgatt-rr-schedule-table .asargolf-date-field{
  gap:4px;
  min-width:132px;
  width:132px;
}
.golfgatt-rr-schedule-table .asargolf-date-field .asargolf-date-display{
  font-size:13px;
  height:36px;
  min-width:92px;
  padding:7px 8px;
}
.golfgatt-rr-schedule-table .asargolf-date-picker-button{
  font-size:15px;
  height:36px;
  min-width:32px;
  width:32px;
}
.golfgatt-rr-schedule-table select,
.golfgatt-rr-schedule-table input{
  font-size:13px;
  min-height:36px;
  padding:7px 8px;
}
.golfgatt-rr-small-input{
  min-width:52px;
  width:56px;
}
.golfgatt-rr-holl-input{
  min-width:84px;
  width:96px;
}
.golfgatt-rr-time-control{
  gap:4px;
  min-width:112px;
}
.golfgatt-rr-time-hour,
.golfgatt-rr-time-minute{
  font-size:13px;
  height:36px;
  min-width:52px;
  padding:0 18px 0 7px;
}
.golfgatt-rr-results-table th:nth-child(1),
.golfgatt-rr-results-table td:nth-child(1){
  min-width:74px;
}
.golfgatt-rr-results-table th:nth-child(2),
.golfgatt-rr-results-table td:nth-child(2){
  min-width:90px;
}
.golfgatt-rr-results-table th:nth-child(3),
.golfgatt-rr-results-table td:nth-child(3){
  min-width:110px;
}
.golfgatt-rr-results-table th:nth-child(4),
.golfgatt-rr-results-table td:nth-child(4){
  min-width:108px;
}
.golfgatt-rr-results-table th:nth-child(5),
.golfgatt-rr-results-table td:nth-child(5){
  min-width:220px;
}
.golfgatt-rr-results-table th:nth-child(6),
.golfgatt-rr-results-table td:nth-child(6){
  min-width:86px;
}
.golfgatt-rr-results-table th:last-child,
.golfgatt-rr-results-table td:last-child{
  min-width:190px;
}
.golfgatt-rr-results-table .asargolf-inline-form{
  gap:6px;
}
.golfgatt-rr-results-table .asargolf-inline-form select{
  min-width:150px;
}
.golfgatt-rr-results-table .asargolf-btn.small{
  padding:6px 8px;
}
@media(max-width:900px){
  .golfgatt-rr-schedule-table,
  .golfgatt-rr-results-table{
    min-width:1000px;
  }
}

/* Golfgatt Core 2.26.1: gestaspilari directly in keppnisholl */
.golfgatt-guest-player-card-compact{
  margin:16px 0 0;
  padding:14px 16px;
  border:1px solid rgba(11,93,59,.14);
  background:linear-gradient(180deg,#ffffff,#f8fff9);
}
.golfgatt-guest-player-card-compact summary{
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
  list-style:none;
}
.golfgatt-guest-player-card-compact summary::-webkit-details-marker{display:none}
.golfgatt-guest-player-panel{
  margin-top:14px;
  border-top:1px solid rgba(11,93,59,.12);
  padding-top:14px;
}
.golfgatt-guest-player-card-compact h3{
  margin:4px 0 8px;
  color:#0b5d3b;
}

/* Golfgatt Core 2.27.0: marker self-check score while writing for another player */
.golfgatt-marker-self-check{
  border:2px solid rgba(181,139,52,.28);
  background:linear-gradient(135deg,#fffdf7,#f8fbf6);
}
.golfgatt-marker-self-check-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:12px;
}
.golfgatt-marker-self-check-head h3{margin:0 0 4px;color:#0b5d3b}
.golfgatt-marker-self-check-holes{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(168px,1fr));
  gap:10px;
}
.golfgatt-self-check-hole{
  border:1px solid rgba(11,93,59,.15);
  border-radius:16px;
  background:#fff;
  padding:10px;
  box-shadow:0 8px 20px rgba(11,93,59,.06);
}
.golfgatt-self-check-hole.has-mismatch,
.golfgatt-self-check-putt-control.has-mismatch{
  border-color:rgba(181,139,52,.65);
  background:#fff8e7;
}
.golfgatt-self-check-hole-title{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  color:#0b5d3b;
  margin-bottom:8px;
}
.golfgatt-self-check-hole-title span{
  color:#b58b34;
  font-weight:800;
}
.golfgatt-self-check-control{
  justify-content:center;
  margin-bottom:6px;
}
.golfgatt-self-check-score-input,
.golfgatt-self-check-putt-input{
  box-sizing:border-box;
  height:38px;
  line-height:38px;
  min-width:52px;
  padding:4px 6px;
  text-align:center;
  font-weight:900;
  color:#0b2f23;
}
.golfgatt-self-check-step,
.golfgatt-self-check-putt-step{
  border:0;
  border-radius:999px;
  background:#0b5d3b;
  color:#fff;
  font-weight:900;
  width:34px;
  height:34px;
  cursor:pointer;
}
.golfgatt-self-check-field-label{
  font-weight:800;
  color:#0b5d3b;
  margin-right:4px;
}
.golfgatt-self-check-warning{
  border-color:rgba(181,139,52,.6);
  background:#fff4d8;
}
@media(min-width:960px){
  .asargolf-scorecard-card .golfgatt-marker-self-check{
    margin-top:16px;
  }
}
@media(max-width:760px){
  .golfgatt-marker-self-check-head{flex-direction:column}
  .golfgatt-marker-self-check-holes{grid-template-columns:1fr 1fr}
}
@media(max-width:460px){
  .golfgatt-marker-self-check-holes{grid-template-columns:1fr}
}

/* Golfgatt Core 2.28.0: Draumahringurinn */
.golfgatt-dream-intro{
  background:linear-gradient(135deg, rgba(11,93,59,.08), rgba(196,140,25,.10));
  border-color:rgba(196,140,25,.22);
}
.golfgatt-dream-create summary span,
.golfgatt-manager-panel summary span{
  display:block;
  margin-top:4px;
  color:#66706b;
  font-size:13px;
  font-weight:500;
}
.golfgatt-dream-stats{
  margin:12px 0 16px;
}
.golfgatt-dream-table-wrap{
  margin-top:12px;
}
.golfgatt-dream-table th,
.golfgatt-dream-table td,
.golfgatt-dream-standings th,
.golfgatt-dream-standings td{
  vertical-align:middle;
}
.golfgatt-dream-detail h3{
  margin-top:22px;
  color:#0b5d3b;
}
.golfgatt-dream-detail .asargolf-details{
  margin-top:12px;
}
@media(max-width:760px){
  .golfgatt-dream-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
}


/* Golfgatt Core 2.29.0: Rada umferd in round-robin matchplay */
.golfgatt-rr-round-planner{scroll-margin-top:90px}
.golfgatt-rr-plan-top{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0 18px}
.golfgatt-rr-planner-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,420px);gap:18px;align-items:start}
.golfgatt-rr-player-pools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}
.golfgatt-rr-player-pool{background:#f8faf7;border:1px solid rgba(11,93,59,.12);border-radius:16px;padding:12px}
.golfgatt-rr-player-pool h3{margin-top:0;color:#0b5d3b}
.golfgatt-rr-player-check{display:flex;gap:8px;align-items:center;margin:7px 0;font-weight:750}
.golfgatt-rr-match-pool{display:grid;gap:10px;margin:10px 0 14px}
.golfgatt-rr-match-card{background:#fff;border:1px solid rgba(11,93,59,.18);border-radius:14px;box-shadow:0 8px 22px rgba(15,23,42,.06);cursor:grab;display:grid;gap:4px;padding:12px}
.golfgatt-rr-match-card:active{cursor:grabbing}
.golfgatt-rr-match-card.is-unavailable{opacity:.42;filter:grayscale(.2);cursor:not-allowed}
.golfgatt-rr-match-card.is-used{border-color:#d7b56d;background:#fffaf0}
.golfgatt-rr-match-card small{color:#66706b}
.golfgatt-rr-slot{background:#f7fbf8;border:2px dashed rgba(11,93,59,.2);border-radius:18px;margin-bottom:12px;padding:12px;transition:.15s ease}
.golfgatt-rr-slot.is-over{border-color:#d7b56d;background:#fffaf0}
.golfgatt-rr-slot-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.golfgatt-rr-slot-label{background:#fff;border:1px solid rgba(11,93,59,.12);border-radius:12px;color:#0b2f23;font-weight:850;margin:8px 0;padding:9px 10px}
.golfgatt-rr-slot label{display:block;margin:8px 0}
.golfgatt-rr-slot select,.golfgatt-rr-slot input[type=text]{width:100%}
.golfgatt-rr-extra-match{margin-top:14px}
.golfgatt-rr-extra-row{background:#fffdf7;border:1px solid rgba(215,181,109,.45);border-radius:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0;padding:12px}
@media(max-width:980px){.golfgatt-rr-planner-grid,.golfgatt-rr-plan-top,.golfgatt-rr-player-pools{grid-template-columns:1fr}.golfgatt-rr-extra-row{grid-template-columns:1fr}}

/* Golfgatt Core 2.29.1: Rada umferd polish - tee groups, empty start and filtered extras */
.golfgatt-rr-round-planner .asargolf-alert{
  background:#f7fbf8;
  border:1px solid rgba(11,93,59,.18);
  border-radius:14px;
  color:#0b2f23;
  margin:12px 0;
  padding:12px 14px;
}
.golfgatt-rr-attends-title{
  background:#eaf7ef;
  border-radius:999px;
  color:#0b5d3b!important;
  display:inline-flex;
  font-weight:900!important;
  margin:0 0 8px!important;
  padding:4px 10px;
}
.golfgatt-rr-tee-group{
  background:#f7fbf8;
  border:1px solid rgba(11,93,59,.16);
  border-radius:18px;
  box-shadow:0 8px 24px rgba(15,23,42,.06);
  margin-bottom:14px;
  padding:13px;
}
.golfgatt-rr-tee-group > label{
  display:block;
  margin:8px 0 10px;
}
.golfgatt-rr-tee-group .golfgatt-matchplay-tee-time-control,
.golfgatt-rr-tee-group .golfgatt-competition-time-control{
  max-width:210px;
}
.golfgatt-rr-slot{
  background:#fff;
  border:2px dashed rgba(11,93,59,.22);
  border-radius:14px;
  margin:9px 0;
  padding:8px;
}
.golfgatt-rr-slot-drop{
  align-items:center;
  display:flex;
  gap:8px;
  justify-content:space-between;
}
.golfgatt-rr-slot-label{
  flex:1;
  margin:0;
}
.golfgatt-rr-match-card.is-used{
  opacity:.62;
}
.golfgatt-rr-extra-row select option[hidden]{
  display:none;
}
@media(max-width:980px){
  .golfgatt-rr-slot-drop{align-items:stretch;flex-direction:column;}
}


/* Golfgatt Core 2.29.2: smoother round planner match filtering and quick placement */
.golfgatt-rr-match-tools{
  align-items:center;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:10px 0 12px;
}
.golfgatt-rr-match-tools input[type=search]{
  border:1px solid rgba(11,93,59,.18);
  border-radius:12px;
  min-width:240px;
  padding:10px 12px;
}
.golfgatt-rr-match-card.is-hidden{
  display:none!important;
}
.golfgatt-rr-match-card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.golfgatt-rr-place-next{
  justify-self:start;
  margin-top:4px;
}
.golfgatt-rr-no-available{
  background:#fffaf0;
  border:1px solid rgba(215,181,109,.5);
  border-radius:12px;
  padding:10px 12px;
}
@media(max-width:760px){
  .golfgatt-rr-match-tools{align-items:stretch;display:grid;}
  .golfgatt-rr-match-tools input[type=search]{min-width:0;width:100%;}
}


/* Golfgatt Core 2.30.0: Raða umferð */
.golfgatt-rr-round-planner .golfgatt-rr-planner-grid{
  align-items:start;
}
.golfgatt-rr-available-players{
  background:#f8fbf8;
  border:1px solid rgba(11,93,59,.12);
  border-radius:16px;
  margin:14px 0;
  padding:12px;
}
.golfgatt-rr-free-player-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.golfgatt-rr-free-player{
  align-items:center;
  background:#fff;
  border:1px solid rgba(11,93,59,.16);
  border-radius:999px;
  box-shadow:0 4px 12px rgba(11,47,35,.06);
  display:inline-flex;
  gap:8px;
  padding:7px 10px;
}
.golfgatt-rr-free-player.is-hidden{
  display:none!important;
}
.golfgatt-rr-guest-row{
  background:#fffdf5;
  border:1px solid rgba(184,134,11,.22);
  border-radius:14px;
  display:grid;
  gap:10px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin:10px 0;
  padding:12px;
}
.golfgatt-rr-slot.has-match{
  border-color:rgba(11,93,59,.34);
  cursor:move;
}
.golfgatt-rr-slot.has-match .golfgatt-rr-slot-drop{
  background:#f0fdf4;
}
.golfgatt-rr-match-card.is-hidden{
  display:none!important;
}
.golfgatt-rr-tee-group select[name$="[tee_hour]"],
.golfgatt-rr-tee-group select[name$="[tee_minute]"],
.golfgatt-rr-schedule-table select[name$="[tee_hour]"],
.golfgatt-rr-schedule-table select[name$="[tee_minute]"]{
  -webkit-appearance:menulist;
  appearance:menulist;
  box-sizing:border-box;
  font-size:16px;
  height:44px;
  line-height:1.25;
  min-width:66px;
  overflow:visible;
  padding:0 24px 0 10px;
}
@media(max-width:860px){
  .golfgatt-rr-guest-row{
    grid-template-columns:1fr;
  }
}


/* Golfgatt Core 2.30.1: single players, guest cards and cleaner RR round planning */
.golfgatt-rr-free-player,
.golfgatt-rr-guest-card{
  cursor:grab;
}
.golfgatt-rr-free-player:active,
.golfgatt-rr-guest-card:active{
  cursor:grabbing;
}
.golfgatt-rr-free-player .asargolf-btn.tiny,
.golfgatt-rr-guest-card .asargolf-btn.tiny{
  padding:4px 8px;
  font-size:11px;
}
.golfgatt-rr-guest-card{
  background:#fff;
  border:1px solid rgba(11,93,59,.18);
  border-radius:14px;
  box-shadow:0 5px 14px rgba(11,47,35,.06);
  grid-column:1/-1;
  padding:10px 12px;
}
.golfgatt-rr-guest-card.is-hidden,
.golfgatt-rr-free-player.is-hidden{
  display:none!important;
}
.golfgatt-rr-slot.has-single .golfgatt-rr-slot-drop{
  background:#fff7ed;
  border-color:rgba(184,134,11,.28);
}
.golfgatt-rr-slot.has-guest .golfgatt-rr-slot-drop{
  background:#eefdf7;
  border-color:rgba(11,93,59,.28);
}
.golfgatt-rr-slot.has-single,
.golfgatt-rr-slot.has-guest{
  cursor:move;
}
@media(max-width:860px){
  .golfgatt-rr-free-player{border-radius:14px;align-items:flex-start;flex-direction:column;}
}

/* Golfgátt Core 2.30.3: clearer round-robin send step and technical schedule note */
.golfgatt-rr-send-scorecards-form{
  margin-top:14px;
  border-top:1px solid rgba(11,93,59,.14);
  padding-top:14px;
}
.golfgatt-rr-send-scorecards-box{
  margin-bottom:10px;
}
.golfgatt-rr-schedule-editor .asargolf-alert{
  margin-bottom:14px;
}


/* Golfgatt Core 2.31.0: one marker per group */
.golfgatt-marker-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 16px;align-items:start}
.golfgatt-marker-settings-grid label{background:#f8fbf9;border:1px solid rgba(11,93,59,.14);border-radius:14px;padding:10px 12px}
.golfgatt-marker-self-check-toggle{display:flex;flex-direction:column;gap:5px;font-weight:800;color:#0b2f23}
.golfgatt-marker-self-check-toggle input{margin-right:7px}
.golfgatt-competition-marker-label{display:grid;gap:3px;margin:0;min-width:150px}
.golfgatt-competition-marker-label span{color:#66706b;font-size:11px;font-weight:800;line-height:1}
.golfgatt-competition-group-marker{width:100%;min-height:44px;border:1px solid rgba(11,93,59,.22);border-radius:10px;background:#fff;color:#0b2f23;font-weight:700;padding:8px 10px}
@media(max-width:900px){.golfgatt-marker-settings-grid{grid-template-columns:1fr}.golfgatt-competition-marker-label{min-width:0}}


/* Golfgatt Core 2.31.1 */
.golfgatt-rr-three-rule-label{display:block;margin:10px 0 14px;max-width:520px;}
.golfgatt-rr-three-rule-label span{display:block;font-weight:700;margin-bottom:4px;}
.golfgatt-rr-three-rule-label select{width:100%;min-height:42px;}
.golfgatt-rr-slot.has-match .golfgatt-rr-slot-drop,.golfgatt-rr-slot.has-single .golfgatt-rr-slot-drop,.golfgatt-rr-slot.has-guest .golfgatt-rr-slot-drop{min-height:62px;}


/* Golfgatt Core 2.31.7: rástímaholl capacity reflects actual player seats */
.golfgatt-rr-slot.is-capacity-hidden{display:none!important;}
.golfgatt-rr-tee-group.is-full{border-color:rgba(15,93,50,.32);}
.golfgatt-rr-tee-group-capacity{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;background:#f4f8f3;color:#0b3d2e;font-size:12px;font-weight:700;}

/* Golfgatt Core 2.31.12: marker select in Raða umferð rástímaholl */
.golfgatt-rr-marker-label{
  display:block;
  margin:8px 0 10px;
  max-width:280px;
}
.golfgatt-rr-marker-label span:first-child{
  display:block;
  font-weight:700;
  margin-bottom:4px;
}
.golfgatt-rr-tee-marker{
  width:100%;
  min-height:40px;
}


/* Golfgátt Core 2.31.13: teigar per umferð í Raða umferð */
.golfgatt-rr-tee-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:10px;
  margin-top:10px;
}
.golfgatt-rr-tee-grid label{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.golfgatt-rr-tee-grid label span{
  font-weight:700;
}


/* Golfgatt Core 2.31.23: smoother guest placement and long-page drag support */
.golfgatt-rr-round-planner.is-rr-dragging .golfgatt-rr-tee-group{
  scroll-margin-top:110px;
}
.golfgatt-rr-guest-card{
  outline:0;
}
.golfgatt-rr-guest-card .golfgatt-rr-place-guest-next{
  margin-top:8px;
}
.golfgatt-rr-guest-row .golfgatt-rr-guest-tee{
  width:100%;
}
@media(min-width:980px){
  .golfgatt-rr-planner-right{
    position:sticky;
    top:18px;
    align-self:start;
    max-height:calc(100vh - 36px);
    overflow:auto;
    padding-right:4px;
  }
}


/* Golfgatt Core 2.31.32: holl marker scorecard hole confirmation */
.golfgatt-holl-score-hole-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.golfgatt-holl-confirm-label{display:inline-flex;align-items:center;gap:6px;font-weight:700;background:#fff7df;border:1px solid rgba(184,134,11,.35);border-radius:999px;padding:6px 10px;}
.golfgatt-holl-score-hole.is-confirmed .golfgatt-holl-confirm-label{background:#eaf7ed;border-color:rgba(44,126,67,.35);}
.golfgatt-holl-confirm-help{margin-top:-4px;}


/* Golfgatt Core 2.31.46: mobile scorecard cockpit and live bottom sheet */
.golfgatt-mobile-cockpit,
.golfgatt-mobile-hole-rail,
.golfgatt-live-sheet,
.golfgatt-live-fab{
  box-sizing:border-box;
}
.golfgatt-mobile-cockpit{
  align-items:center;
  background:linear-gradient(135deg,#073d2d,#0b5d3b);
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  box-shadow:0 10px 28px rgba(5,32,22,.18);
  color:#fff;
  display:flex;
  gap:12px;
  justify-content:space-between;
  margin:0 0 14px;
  padding:10px 12px;
  position:sticky;
  top:8px;
  z-index:40;
}
.golfgatt-mobile-cockpit-main{
  display:grid;
  gap:2px;
  min-width:0;
}
.golfgatt-mobile-cockpit-title{
  font-size:15px;
  font-weight:900;
  line-height:1.15;
}
.golfgatt-mobile-cockpit-meta{
  color:rgba(255,255,255,.78);
  font-size:12px;
  font-weight:750;
  line-height:1.25;
}
.golfgatt-mobile-cockpit-actions{
  align-items:center;
  display:flex;
  gap:7px;
  flex-shrink:0;
}
.golfgatt-mobile-mini-btn,
.golfgatt-live-fab,
.golfgatt-mobile-hole-rail button,
.golfgatt-live-sheet-close,
.golfgatt-live-sheet-refresh{
  border:0;
  cursor:pointer;
  font-family:inherit;
}
.golfgatt-mobile-mini-btn{
  align-items:center;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.24);
  border-radius:999px;
  color:#fff;
  display:inline-flex;
  font-size:12px;
  font-weight:900;
  min-height:36px;
  padding:7px 10px;
}
.golfgatt-mobile-mini-btn:focus,
.golfgatt-live-fab:focus,
.golfgatt-mobile-hole-rail button:focus,
.golfgatt-live-sheet-close:focus,
.golfgatt-live-sheet-refresh:focus{
  outline:3px solid rgba(201,166,70,.45);
  outline-offset:2px;
}
.golfgatt-live-fab{
  align-items:center;
  background:#0b5d3b;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  bottom:84px;
  box-shadow:0 14px 32px rgba(5,32,22,.28);
  color:#fff;
  display:none;
  font-size:14px;
  font-weight:900;
  gap:7px;
  min-height:48px;
  padding:0 16px;
  position:fixed;
  right:14px;
  z-index:998;
}
.golfgatt-live-fab::before{
  background:#f8d76a;
  border-radius:999px;
  content:"";
  display:block;
  height:9px;
  width:9px;
}
.golfgatt-mobile-hole-rail{
  align-items:center;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(11,93,59,.16);
  border-radius:999px;
  bottom:16px;
  box-shadow:0 12px 30px rgba(5,32,22,.20);
  display:none;
  gap:8px;
  left:50%;
  max-width:calc(100vw - 22px);
  padding:7px;
  position:fixed;
  transform:translateX(-50%);
  z-index:997;
}
.golfgatt-mobile-hole-rail button{
  align-items:center;
  background:#f3f7f3;
  border-radius:999px;
  color:#0b3d2e;
  display:inline-flex;
  font-size:14px;
  font-weight:900;
  justify-content:center;
  min-height:40px;
  min-width:42px;
  padding:0 12px;
}
.golfgatt-mobile-hole-rail button.golfgatt-mobile-rail-live{
  background:#0b5d3b;
  color:#fff;
  min-width:70px;
}
.golfgatt-mobile-hole-rail button:disabled{
  opacity:.42;
  cursor:not-allowed;
}
.golfgatt-mobile-hole-rail-current{
  color:#0b2f23;
  font-size:13px;
  font-weight:900;
  min-width:88px;
  text-align:center;
  white-space:nowrap;
}
.golfgatt-live-sheet{
  display:none;
  inset:0;
  position:fixed;
  z-index:10000;
}
.golfgatt-live-sheet.is-open{
  display:block;
}
.golfgatt-live-sheet-backdrop{
  background:rgba(3,18,12,.45);
  inset:0;
  position:absolute;
}
.golfgatt-live-sheet-panel{
  background:#f8fbf8;
  border-radius:24px 24px 0 0;
  bottom:0;
  box-shadow:0 -18px 45px rgba(3,18,12,.28);
  left:0;
  max-height:84vh;
  overflow:hidden;
  position:absolute;
  right:0;
  transform:translateY(102%);
  transition:transform .18s ease-out;
}
.golfgatt-live-sheet.is-open .golfgatt-live-sheet-panel{
  transform:translateY(0);
}
.golfgatt-live-sheet-handle{
  background:rgba(11,93,59,.28);
  border-radius:999px;
  height:5px;
  margin:10px auto 6px;
  width:52px;
}
.golfgatt-live-sheet-head{
  align-items:center;
  border-bottom:1px solid rgba(11,93,59,.12);
  display:flex;
  gap:10px;
  justify-content:space-between;
  padding:8px 16px 12px;
}
.golfgatt-live-sheet-title{
  color:#0b2f23;
  font-size:17px;
  font-weight:950;
  line-height:1.15;
}
.golfgatt-live-sheet-actions{
  align-items:center;
  display:flex;
  gap:8px;
}
.golfgatt-live-sheet-close,
.golfgatt-live-sheet-refresh{
  border-radius:999px;
  font-size:13px;
  font-weight:900;
  min-height:38px;
  padding:0 12px;
}
.golfgatt-live-sheet-refresh{
  background:#0b5d3b;
  color:#fff;
}
.golfgatt-live-sheet-close{
  background:#ecf3ed;
  color:#0b3d2e;
}
.golfgatt-live-sheet-body{
  max-height:calc(84vh - 78px);
  overflow:auto;
  padding:14px 14px 22px;
  -webkit-overflow-scrolling:touch;
}
.golfgatt-live-sheet-body .golfgatt-live-standings{
  margin-top:0;
}
.golfgatt-live-sheet-body .asargolf-card{
  box-shadow:none;
}
.golfgatt-live-sheet-status{
  color:#66706b;
  font-size:12px;
  font-weight:750;
  margin:0 0 8px;
}
.asargolf-scorecard-row.is-golfgatt-current-hole,
.golfgatt-holl-score-hole.is-golfgatt-current-hole,
.golfgatt-self-check-hole.is-golfgatt-current-hole{
  outline:3px solid rgba(201,166,70,.34);
  outline-offset:3px;
}
.golfgatt-scorecard-mobile-ready .asargolf-scorecard-row,
.golfgatt-scorecard-mobile-ready .golfgatt-holl-score-hole,
.golfgatt-scorecard-mobile-ready .golfgatt-self-check-hole{
  scroll-margin-top:110px;
}
@media(max-width:780px){
  body.golfgatt-scorecard-mobile-ready{
    padding-bottom:94px;
  }
  .golfgatt-scorecard-mobile-ready .golfgatt-live-fab,
  .golfgatt-scorecard-mobile-ready .golfgatt-mobile-hole-rail{
    display:flex;
  }
  .asargolf-scorecard-card .golfgatt-scorecard-tabs{
    display:none;
  }
  .golfgatt-scorecard-mobile-ready .asargolf-scorecard-card,
  .golfgatt-scorecard-mobile-ready .golfgatt-holl-marker-scorecard{
    margin-left:-8px;
    margin-right:-8px;
  }
  .golfgatt-scorecard-mobile-ready .asargolf-scorecard-row td[data-label="Högg"]{
    background:#f7fbf8;
    border-radius:14px;
    margin:6px 0;
    padding:10px!important;
  }
  .golfgatt-scorecard-mobile-ready .asargolf-mobile-score-control{
    gap:10px;
  }
  .golfgatt-scorecard-mobile-ready .asargolf-score-step{
    min-height:48px;
    min-width:48px;
  }
  .golfgatt-scorecard-mobile-ready .asargolf-score-hole-input,
  .golfgatt-scorecard-mobile-ready .golfgatt-putts-hole-input{
    font-size:21px!important;
    min-height:48px!important;
  }
}
@media(min-width:781px){
  .golfgatt-mobile-cockpit{
    display:none;
  }
}

/* Golfgatt Core 2.31.48: mobile scorecard polish */
.golfgatt-mobile-cockpit .golfgatt-mobile-mini-btn,
.golfgatt-mobile-cockpit .golfgatt-mobile-mini-btn:visited,
.golfgatt-mobile-cockpit .golfgatt-mobile-mini-btn:hover,
.golfgatt-mobile-cockpit .golfgatt-mobile-mini-btn:active,
.golfgatt-mobile-cockpit .golfgatt-mobile-mini-btn:focus{
  color:#fff!important;
  -webkit-text-fill-color:#fff;
}
.golfgatt-mobile-cockpit .golfgatt-mobile-live{
  background:rgba(255,255,255,.20)!important;
  border-color:rgba(255,255,255,.36)!important;
  color:#fff!important;
}
.golfgatt-scorecard-mobile-ready .golfgatt-live-fab{
  display:none!important;
}
.golfgatt-scorecard-mobile-ready .asargolf-score-step{
  color:#0b3d2e!important;
  -webkit-text-fill-color:#0b3d2e;
}
.golfgatt-scorecard-mobile-ready .asargolf-score-hole-input[data-stored-empty="1"][data-touched="0"]{
  cursor:pointer;
}
.golfgatt-scorecard-mobile-ready .asargolf-score-hole-input.is-golfgatt-tap-confirmed{
  box-shadow:0 0 0 3px rgba(11,93,59,.22)!important;
  border-color:#0b5d3b!important;
}
.golfgatt-scorecard-mobile-ready .golfgatt-mobile-hole-rail button,
.golfgatt-scorecard-mobile-ready .golfgatt-mobile-hole-rail button:visited,
.golfgatt-scorecard-mobile-ready .golfgatt-mobile-hole-rail button:hover,
.golfgatt-scorecard-mobile-ready .golfgatt-mobile-hole-rail button:focus{
  text-decoration:none!important;
}
.golfgatt-scorecard-mobile-ready .golfgatt-mobile-hole-rail button.golfgatt-mobile-rail-live{
  color:#fff!important;
  -webkit-text-fill-color:#fff;
}


/* Golfgatt Core 2.31.48: mobile scorecard cockpit refresh/no-keyboard polish */
.golfgatt-mobile-cockpit .golfgatt-mobile-mini-btn:focus{outline:2px solid rgba(255,255,255,.85);outline-offset:2px;}

/* Golfgatt Core 2.31.49: mobile cockpit for marker self-check scorecards */
.golfgatt-self-check-hole.is-golfgatt-current-hole{
  outline:3px solid rgba(201,166,70,.34);
  outline-offset:3px;
}
.golfgatt-scorecard-mobile-ready .golfgatt-self-check-hole{
  scroll-margin-top:110px;
}
@media(max-width:780px){
  .golfgatt-scorecard-mobile-ready .golfgatt-marker-self-check{
    margin-left:-2px;
    margin-right:-2px;
  }
  .golfgatt-scorecard-mobile-ready .golfgatt-self-check-control{
    gap:10px;
  }
  .golfgatt-scorecard-mobile-ready .golfgatt-self-check-step,
  .golfgatt-scorecard-mobile-ready .golfgatt-self-check-putt-step{
    min-height:48px;
    min-width:48px;
    font-size:22px;
  }
  .golfgatt-scorecard-mobile-ready .golfgatt-self-check-score-input,
  .golfgatt-scorecard-mobile-ready .golfgatt-self-check-putt-input{
    font-size:21px!important;
    min-height:48px!important;
    min-width:72px;
    border-radius:14px;
  }
  .golfgatt-scorecard-mobile-ready .golfgatt-self-check-score-input[data-touched="0"]{
    cursor:pointer;
  }
  .golfgatt-scorecard-mobile-ready .golfgatt-self-check-score-input.is-golfgatt-tap-confirmed{
    box-shadow:0 0 0 3px rgba(11,93,59,.22)!important;
    border-color:#0b5d3b!important;
  }
}

/* Golfgatt Core 2.31.51: marker confirmation guard */
.golfgatt-holl-score-hole.has-unconfirmed-score{
  border-color:rgba(220,38,38,.45)!important;
  box-shadow:0 0 0 3px rgba(220,38,38,.12), 0 14px 30px rgba(20,40,28,.08);
}
.golfgatt-holl-score-hole.has-unconfirmed-score .golfgatt-holl-confirm-label{
  background:#fff1f2;
  border-color:rgba(220,38,38,.55);
  color:#991b1b;
}
.golfgatt-holl-score-hole.has-unconfirmed-score .golfgatt-holl-confirm-help{
  color:#991b1b;
  font-weight:700;
}
.golfgatt-holl-score-autosave-status:not(:empty){
  display:block;
  margin-top:8px;
}

/* Golfgatt Core 2.31.52: keppnisholl - ritara controls follow scoring mode and attendance list */
.golfgatt-competition-form [hidden],
.golfgatt-competition-marker-label[hidden],
.golfgatt-competition-absent-bin[hidden]{display:none!important}
.golfgatt-competition-attendance{border:1px solid rgba(11,93,59,.14);border-radius:14px;background:rgba(11,93,59,.035);padding:10px 12px;margin:10px 0 14px}
.golfgatt-competition-attendance summary{font-weight:900;color:#0b5d3b;cursor:pointer}
.golfgatt-competition-attendance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin-top:10px}
.golfgatt-competition-attendance-check{display:flex;align-items:center;gap:8px;border:1px solid rgba(11,93,59,.14);border-radius:10px;background:#fff;padding:8px 10px;font-weight:800;color:#143a2d}
.golfgatt-competition-attendance-check input{width:18px;height:18px;accent-color:#0b5d3b}
.golfgatt-competition-attendance-check:has(input:not(:checked)){opacity:.7;background:#f7f3ef;color:#6b5d52;text-decoration:none}

/* Golfgatt Core 2.31.53: mobile ritaraskorkort - par tap confirms score and putt fields are stepper-only */
.golfgatt-holl-score-form .golfgatt-holl-score-input[data-golfgatt-touch-score="1"],
.golfgatt-putts-hole-input[data-golfgatt-stepper-only="1"],
.golfgatt-self-check-putt-input[data-golfgatt-stepper-only="1"]{caret-color:transparent;}
.golfgatt-putts-hole-input[readonly],
.golfgatt-self-check-putt-input[readonly]{background:#fff;color:inherit;opacity:1;}


/* Golfgatt Core 2.31.53: putt fields are controlled by stepper buttons on mobile scorecards */
.golfgatt-scorecard-mobile-ready .golfgatt-putts-hole-input[readonly],
.golfgatt-scorecard-mobile-ready .golfgatt-self-check-putt-input[readonly],
.golfgatt-putts-hole-input[data-golfgatt-stepper-only="1"],
.golfgatt-self-check-putt-input[data-golfgatt-stepper-only="1"]{
  caret-color: transparent;
}


/* Golfgatt Core 2.31.53: all mobile score fields are tap/stepper controls */
.golfgatt-scorecard-mobile-ready .asargolf-score-hole-input[data-golfgatt-touch-score="1"],
.golfgatt-scorecard-mobile-ready .golfgatt-self-check-score-input[data-golfgatt-touch-score="1"]{
  caret-color:transparent;
  cursor:pointer;
  background:#fff;
  color:#0b2f23;
  -webkit-text-fill-color:#0b2f23;
  opacity:1;
}
.golfgatt-scorecard-mobile-ready .golfgatt-putts-hole-input[data-golfgatt-stepper-only="1"],
.golfgatt-scorecard-mobile-ready .golfgatt-self-check-putt-input[data-golfgatt-stepper-only="1"]{
  caret-color:transparent;
  cursor:default;
  background:#fff;
  color:#0b2f23;
  -webkit-text-fill-color:#0b2f23;
  opacity:1;
}

/* Golfgatt Core 2.31.55: app-style live status sheet */
body.golfgatt-live-sheet-open{overflow:hidden;}
.golfgatt-live-sheet-panel{
  background:linear-gradient(180deg,#eef8f1 0%,#f8fbf8 42%,#ffffff 100%);
  border:1px solid rgba(255,255,255,.72);
  max-height:90vh;
}
.golfgatt-live-sheet-head{
  background:linear-gradient(135deg,#073f2b,#0b6b43);
  border-bottom:0;
  color:#fff;
  padding:10px 16px 14px;
}
.golfgatt-live-sheet-title{color:#fff;font-size:18px;letter-spacing:-.01em;}
.golfgatt-live-sheet-status{color:rgba(255,255,255,.78);margin:2px 0 0;}
.golfgatt-live-sheet-refresh{
  background:#ffffff!important;
  color:#0b5d3b!important;
  box-shadow:0 8px 18px rgba(3,18,12,.16);
}
.golfgatt-live-sheet-close{
  background:rgba(255,255,255,.16)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.24)!important;
}
.golfgatt-live-app-body{padding:12px 12px 24px;}
.golfgatt-live-app-summary{
  background:linear-gradient(135deg,#083f2b,#0f7a4b);
  border-radius:22px;
  box-shadow:0 18px 38px rgba(3,18,12,.20);
  color:#fff;
  margin:0 0 12px;
  overflow:hidden;
  padding:16px;
  position:relative;
}
.golfgatt-live-app-summary:after{
  background:radial-gradient(circle at center,rgba(255,255,255,.34),rgba(255,255,255,0) 62%);
  content:"";
  height:160px;
  opacity:.38;
  position:absolute;
  right:-52px;
  top:-70px;
  width:160px;
}
.golfgatt-live-app-eyebrow{
  color:rgba(255,255,255,.72);
  font-size:11px;
  font-weight:950;
  letter-spacing:.12em;
  margin:0 0 4px;
  text-transform:uppercase;
}
.golfgatt-live-app-summary-title{
  color:#fff;
  font-size:24px;
  font-weight:950;
  letter-spacing:-.03em;
  line-height:1.05;
  margin:0;
}
.golfgatt-live-app-summary-detail{
  color:rgba(255,255,255,.9);
  font-size:14px;
  font-weight:800;
  line-height:1.35;
  margin:8px 0 0;
}
.golfgatt-live-app-chips{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:12px;
  position:relative;
  z-index:1;
}
.golfgatt-live-app-chips span{
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.20);
  border-radius:999px;
  color:#fff;
  font-size:12px;
  font-weight:900;
  padding:6px 9px;
}
.golfgatt-live-app-tabs{
  -webkit-overflow-scrolling:touch;
  background:rgba(248,251,248,.94);
  backdrop-filter:blur(12px);
  border:1px solid rgba(11,93,59,.10);
  border-radius:999px;
  display:flex;
  gap:6px;
  margin:0 0 12px;
  overflow-x:auto;
  padding:5px;
  position:sticky;
  top:0;
  z-index:4;
}
.golfgatt-live-app-tabs button{
  background:transparent;
  border:0;
  border-radius:999px;
  color:#0b3d2e;
  cursor:pointer;
  flex:0 0 auto;
  font-size:13px;
  font-weight:950;
  min-height:36px;
  padding:0 12px;
}
.golfgatt-live-app-tabs button.is-active{
  background:#0b5d3b;
  color:#fff;
  box-shadow:0 8px 16px rgba(11,93,59,.18);
}
.golfgatt-live-sheet-body .golfgatt-live-head{
  background:#fff;
  border:1px solid rgba(11,93,59,.10);
  border-radius:18px;
  padding:12px;
}
.golfgatt-live-sheet-body .golfgatt-live-head h2{font-size:19px;margin:0;}
.golfgatt-live-sheet-body .asargolf-alert.success{
  border-radius:18px;
  box-shadow:0 12px 26px rgba(20,40,28,.08);
}
.golfgatt-live-sheet-body .golfgatt-live-current-player td,
.golfgatt-live-sheet-body .golfgatt-live-current-player th{
  background:#ecfdf3!important;
  box-shadow:inset 4px 0 0 #0b5d3b;
}
.golfgatt-live-sheet-body .golfgatt-aggregate-standings{
  margin-top:14px;
}
@media(max-width:780px){
  .golfgatt-live-sheet-panel{max-height:92vh;border-radius:28px 28px 0 0;}
  .golfgatt-live-sheet-body{max-height:calc(92vh - 82px);padding:12px 12px 28px;}
  .golfgatt-live-sheet-head{padding:10px 14px 12px;}
  .golfgatt-live-sheet-actions{gap:6px;}
  .golfgatt-live-sheet-close,.golfgatt-live-sheet-refresh{min-height:36px;padding:0 10px;}
  .golfgatt-live-sheet-body .asargolf-table-wrap{border:0;box-shadow:none;overflow:visible;}
  .golfgatt-live-sheet-body table.golfgatt-live-app-table,
  .golfgatt-live-sheet-body .golfgatt-live-app-table thead,
  .golfgatt-live-sheet-body .golfgatt-live-app-table tbody,
  .golfgatt-live-sheet-body .golfgatt-live-app-table tr,
  .golfgatt-live-sheet-body .golfgatt-live-app-table td{
    display:block;
    width:100%;
  }
  .golfgatt-live-sheet-body .golfgatt-live-app-table thead{display:none;}
  .golfgatt-live-sheet-body .golfgatt-live-app-table tr{
    background:#fff;
    border:1px solid rgba(11,93,59,.10);
    border-radius:18px;
    box-shadow:0 10px 24px rgba(20,40,28,.07);
    margin:0 0 10px;
    overflow:hidden;
    padding:8px 10px;
  }
  .golfgatt-live-sheet-body .golfgatt-live-app-table tr.golfgatt-live-current-player{
    border-color:rgba(11,93,59,.30);
    box-shadow:0 12px 28px rgba(11,93,59,.14);
  }
  .golfgatt-live-sheet-body .golfgatt-live-app-table td{
    align-items:center;
    border:0!important;
    display:flex;
    gap:10px;
    justify-content:space-between;
    padding:7px 0!important;
    text-align:right;
  }
  .golfgatt-live-sheet-body .golfgatt-live-app-table td:before{
    color:#66706b;
    content:attr(data-label);
    flex:0 0 auto;
    font-size:12px;
    font-weight:900;
    letter-spacing:.02em;
    text-align:left;
    text-transform:uppercase;
  }
  .golfgatt-live-sheet-body .golfgatt-live-app-table td:first-child{
    border-bottom:1px solid rgba(11,93,59,.08)!important;
    color:#0b3d2e;
    font-size:16px;
    font-weight:950;
    margin-bottom:4px;
    padding-bottom:10px!important;
  }
  .golfgatt-live-sheet-body .golfgatt-live-app-table td:first-child:before{color:#0b5d3b;}
  .golfgatt-live-sheet-body .golfgatt-score-breakdown-row{display:none!important;}
  .golfgatt-live-sheet-body .golfgatt-score-summary-row td:first-child{display:none;}
}


/* Golfgatt Core 2.31.58: remove the lower mobile scorecard rail. The sticky cockpit is the single mobile navigation/live control. */
.golfgatt-mobile-hole-rail{
  display:none!important;
}
@media(max-width:780px){
  body.golfgatt-scorecard-mobile-ready{
    padding-bottom:0!important;
  }
  .golfgatt-scorecard-mobile-ready .golfgatt-mobile-hole-rail{
    display:none!important;
  }
}


/* Golfgatt Core 2.31.61: keppnisholl marker select layout polish.
   Put Ritari holls on its own row so long player names do not overflow group cards. */
.golfgatt-competition-group-head{
  grid-template-columns:minmax(100px,auto) minmax(170px,1fr) auto;
  align-items:end;
}
.golfgatt-competition-group-head .golfgatt-competition-marker-label{
  grid-column:1 / -1;
  width:100%;
  max-width:none;
  min-width:0;
  margin:2px 0 4px;
}
.golfgatt-competition-group-head .golfgatt-competition-group-marker{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
}
.golfgatt-competition-group-head .golfgatt-competition-time-label{
  min-width:0;
}
.golfgatt-competition-group-head .golfgatt-competition-group-time{
  width:100%;
  box-sizing:border-box;
}
@media(max-width:1100px){
  .golfgatt-competition-group-head{
    grid-template-columns:1fr;
  }
  .golfgatt-competition-group-head .golfgatt-competition-marker-label{
    grid-column:auto;
  }
}

/* Golfgatt 2.31.64 - Hugmyndatorg */
.golfgatt-ideas-section{
  scroll-margin-top:120px;
}
.golfgatt-ideas-layout{
  align-items:start;
}
.golfgatt-idea-form-card textarea,
.golfgatt-idea-form-card input,
.golfgatt-idea-form-card select,
.golfgatt-idea-admin textarea,
.golfgatt-idea-admin select{
  width:100%;
  box-sizing:border-box;
}
.golfgatt-idea-list{
  display:grid;
  gap:14px;
}
.golfgatt-idea-item{
  border:1px solid rgba(15,23,42,.10);
  border-radius:18px;
  padding:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}
.golfgatt-idea-head{
  display:flex;
  gap:12px;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:8px;
}
.golfgatt-idea-head h4{
  margin:0 0 4px;
}
.golfgatt-idea-status{
  flex:0 0 auto;
}
.golfgatt-idea-actions{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  margin-top:12px;
}
.golfgatt-idea-votes{
  font-weight:700;
  color:#14532d;
}
.golfgatt-idea-admin-note{
  border-left:4px solid #16a34a;
  padding:10px 12px;
  background:#f0fdf4;
  border-radius:12px;
}
.golfgatt-idea-admin{
  margin-top:12px;
}
@media(max-width:760px){
  .golfgatt-idea-head{
    flex-direction:column;
  }
  .golfgatt-idea-status{
    width:100%;
  }
}

/* Golfgatt Core 2.31.65: lightweight game-day chat */
.golfgatt-mobile-cockpit .golfgatt-mobile-chat{position:relative;}
.golfgatt-mobile-cockpit .golfgatt-mobile-chat.has-unread{box-shadow:0 0 0 2px rgba(255,255,255,.35),0 0 0 5px rgba(34,197,94,.25);}
.golfgatt-chat-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;margin-left:4px;border-radius:999px;background:#ef4444;color:#fff;font-size:11px;font-weight:800;line-height:1;}
.golfgatt-chat-sheet{position:fixed;inset:0;z-index:100000;display:none;}
.golfgatt-chat-sheet.is-open{display:block;}
.golfgatt-chat-backdrop{position:absolute;inset:0;background:rgba(5,20,12,.48);backdrop-filter:blur(2px);}
.golfgatt-chat-panel{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);width:min(720px,calc(100vw - 18px));max-height:min(78vh,680px);display:flex;flex-direction:column;background:#fff;border-radius:22px;box-shadow:0 22px 80px rgba(0,0,0,.28);overflow:hidden;border:1px solid rgba(15,80,40,.12);}
.golfgatt-chat-handle{width:46px;height:5px;border-radius:99px;background:#d1d5db;margin:10px auto 4px;flex:0 0 auto;}
.golfgatt-chat-head{display:flex;gap:12px;justify-content:space-between;align-items:flex-start;padding:12px 16px 10px;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#f7fff9,#eefaf1);}
.golfgatt-chat-title{font-weight:900;font-size:18px;color:#064e3b;}
.golfgatt-chat-status{margin:.2rem 0 0;color:#4b5563;font-size:13px;}
.golfgatt-chat-close{border:0;border-radius:999px;background:#e7f5ea;color:#0f5132;font-weight:800;padding:8px 12px;cursor:pointer;}
.golfgatt-chat-messages{padding:14px 14px 10px;overflow:auto;min-height:180px;max-height:calc(78vh - 160px);background:#f8fafc;}
.golfgatt-chat-empty{margin:12px;color:#64748b;text-align:center;}
.golfgatt-chat-msg{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:10px 12px;margin:0 0 9px;box-shadow:0 3px 12px rgba(15,23,42,.05);}
.golfgatt-chat-msg.is-manager{border-color:#bbf7d0;background:#f0fdf4;}
.golfgatt-chat-msg-head{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;color:#64748b;margin-bottom:4px;}
.golfgatt-chat-msg-head strong{font-size:13px;color:#0f172a;}
.golfgatt-chat-msg-head span{background:#dcfce7;color:#166534;border-radius:999px;padding:2px 7px;font-weight:800;}
.golfgatt-chat-msg-head time{margin-left:auto;color:#94a3b8;}
.golfgatt-chat-msg-body{font-size:15px;color:#111827;line-height:1.35;word-break:break-word;}
.golfgatt-chat-form{display:flex;gap:8px;padding:10px 12px 12px;border-top:1px solid #e5e7eb;background:#fff;}
.golfgatt-chat-form input{flex:1;min-width:0;border:1px solid #d1d5db;border-radius:999px;padding:12px 14px;font-size:16px;}
.golfgatt-chat-form button{border:0;border-radius:999px;background:#0f7a3b;color:#fff;font-weight:900;padding:0 16px;cursor:pointer;}
.golfgatt-chat-form button:disabled{opacity:.55;cursor:wait;}
body.golfgatt-chat-open{overflow:hidden;}
@media(max-width:680px){
  .golfgatt-chat-panel{bottom:0;width:100vw;max-height:84vh;border-radius:22px 22px 0 0;}
  .golfgatt-chat-messages{max-height:calc(84vh - 158px);}
  .golfgatt-chat-form{padding-bottom:calc(12px + env(safe-area-inset-bottom));}
  .golfgatt-mobile-cockpit-actions{gap:5px;}
  .golfgatt-mobile-cockpit .golfgatt-mobile-mini-btn{padding-left:9px;padding-right:9px;}
}

/* Golfgatt Core 2.31.68: player/manager view switch */
.golfgatt-view-switch-wrap{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:14px 0 18px;padding:12px 14px;border:1px solid #dbe8d6;border-radius:18px;background:linear-gradient(135deg,#f8fff9,#eef8f0);box-shadow:0 8px 22px rgba(24,54,32,.06);}
.golfgatt-view-switch-label{display:flex;align-items:baseline;gap:8px;color:#31523a;}
.golfgatt-view-switch-label span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#5f7f67;}
.golfgatt-view-switch-label strong{font-size:15px;color:#0f5132;}
.golfgatt-view-switch{display:inline-flex;align-items:center;gap:4px;padding:4px;border-radius:999px;background:#fff;border:1px solid #cfe2d2;box-shadow:inset 0 1px 0 rgba(255,255,255,.9);}
.golfgatt-view-switch-option{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 14px;border-radius:999px;text-decoration:none;font-weight:850;font-size:14px;color:#0f5132;white-space:nowrap;}
.golfgatt-view-switch-option:hover{background:#eef8f0;color:#064e3b;text-decoration:none;}
.golfgatt-view-switch-option.is-active{background:#0f7a3b;color:#fff;box-shadow:0 5px 14px rgba(15,122,59,.22);}
.golfgatt-view-switch-wrap .asargolf-small{flex-basis:100%;margin:0;color:#5f6f63;}
@media(max-width:680px){
  .golfgatt-view-switch-wrap{align-items:stretch;margin:10px 0 14px;padding:10px;}
  .golfgatt-view-switch-label{justify-content:space-between;width:100%;}
  .golfgatt-view-switch{width:100%;}
  .golfgatt-view-switch-option{flex:1;}
}


/* Golfgatt Core 2.31.74: skyrari stadfesting a skordu skori */
.golfgatt-scorecard-mobile-ready .asargolf-score-hole-input[data-touched="1"],
.golfgatt-scorecard-mobile-ready .asargolf-score-hole-input[data-stored-empty="0"],
.golfgatt-scorecard-mobile-ready .golfgatt-holl-score-input[data-touched="1"],
.golfgatt-scorecard-mobile-ready .golfgatt-holl-score-input[data-stored-empty="0"],
.golfgatt-scorecard-mobile-ready .golfgatt-self-check-score-input[data-touched="1"],
.golfgatt-scorecard-mobile-ready .golfgatt-self-check-score-input[data-stored-empty="0"]{
  background:#dff6e8!important;
  border-color:#0b8f5a!important;
  color:#063d2a!important;
  -webkit-text-fill-color:#063d2a;
  box-shadow:0 0 0 3px rgba(11,143,90,.18), inset 0 1px 0 rgba(255,255,255,.75)!important;
  font-weight:950!important;
}
.golfgatt-scorecard-mobile-ready .asargolf-score-hole-input[data-touched="1"]:focus,
.golfgatt-scorecard-mobile-ready .asargolf-score-hole-input[data-stored-empty="0"]:focus,
.golfgatt-scorecard-mobile-ready .golfgatt-holl-score-input[data-touched="1"]:focus,
.golfgatt-scorecard-mobile-ready .golfgatt-holl-score-input[data-stored-empty="0"]:focus,
.golfgatt-scorecard-mobile-ready .golfgatt-self-check-score-input[data-touched="1"]:focus,
.golfgatt-scorecard-mobile-ready .golfgatt-self-check-score-input[data-stored-empty="0"]:focus{
  outline:3px solid rgba(11,143,90,.30)!important;
  outline-offset:2px!important;
}
.golfgatt-scorecard-mobile-ready .asargolf-score-hole-input.is-golfgatt-tap-confirmed,
.golfgatt-scorecard-mobile-ready .golfgatt-holl-score-input.is-golfgatt-tap-confirmed,
.golfgatt-scorecard-mobile-ready .golfgatt-self-check-score-input.is-golfgatt-tap-confirmed{
  background:#c8f2d8!important;
  border-color:#087847!important;
  box-shadow:0 0 0 4px rgba(8,120,71,.26), 0 8px 18px rgba(6,61,42,.12)!important;
  transform:scale(1.04);
  transition:transform .12s ease, background-color .12s ease, box-shadow .12s ease;
}
.golfgatt-scorecard-mobile-ready .asargolf-score-hole-input[data-stored-empty="1"][data-touched="0"],
.golfgatt-scorecard-mobile-ready .golfgatt-holl-score-input[data-stored-empty="1"][data-touched="0"],
.golfgatt-scorecard-mobile-ready .golfgatt-self-check-score-input[data-stored-empty="1"][data-touched="0"]{
  background:#fff!important;
  border-color:rgba(11,93,59,.22)!important;
  color:inherit!important;
  -webkit-text-fill-color:currentColor;
  box-shadow:none!important;
}

/* 2.31.81 - manager correction workflow */
.golfgatt-correction-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.golfgatt-correction-highlight td{background:#ecfdf3!important;box-shadow:inset 4px 0 0 #16a34a}

/* 2.31.83 - cleaner standard event score correction workspace */
.golfgatt-standard-score-admin{scroll-margin-top:92px}
.golfgatt-round-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px;align-items:center}
.golfgatt-score-admin-cards{display:grid;gap:14px;margin-top:12px}
.golfgatt-score-admin-card{border:1px solid rgba(11,93,59,.14);background:#fff;border-radius:18px;padding:16px;box-shadow:0 10px 28px rgba(6,61,42,.07);scroll-margin-top:110px}
.golfgatt-score-admin-card.is-highlighted{border-color:#16a34a;background:#ecfdf3;box-shadow:0 12px 30px rgba(22,163,74,.18)}
.golfgatt-score-admin-card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}
.golfgatt-score-admin-card-head h3{margin:0 0 4px;font-size:1.05rem;color:#063d2a}
.golfgatt-score-admin-card-head .asargolf-btn{white-space:nowrap}
.golfgatt-score-admin-meta{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 12px}
.golfgatt-score-admin-meta span{display:inline-flex;align-items:center;gap:5px;border:1px solid rgba(11,93,59,.12);background:#f7fbf8;border-radius:999px;padding:6px 10px;font-size:.88rem;color:#244b39}
.golfgatt-score-admin-tools{border-top:1px solid rgba(11,93,59,.10);padding-top:10px;margin-top:10px}
.golfgatt-score-admin-tools summary{cursor:pointer;font-weight:800;color:#0b5d3b}
.golfgatt-score-quick-form{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.golfgatt-score-quick-form input[type=number]{max-width:96px}
.golfgatt-score-breakdown-card{margin-top:12px;overflow-x:auto}
.golfgatt-manager-secondary-panel{margin-top:16px}
@media (max-width:700px){
  .golfgatt-score-admin-card-head{display:block}
  .golfgatt-score-admin-card-head .asargolf-btn{margin-top:10px;width:100%;text-align:center}
  .golfgatt-score-admin-meta span{width:100%;justify-content:space-between}
}
