
:root {
  /* Warm base + cool accents */
  --bg-main: #fffaf3;
  --bg-soft: #fff2e1;
  --bg-cool: #eef6ff;
  --border-soft: #f1e3d2;
  --border-cool: #d9e8ff;
  --text-main: #123b69;
  --text-sub: #2b4c74;
  --text-sub2: #563925;

  --accent-warm: #ffb347; /* amber */
  --accent-warm-2: #ff9f1c;
  --accent-sky: #2b7fff;
  --accent-violet: #7c3aed;
  --accent-mint: #16a34a;

  --pill-bg: #ffd9a8;
  --pill-text: #d26e00;
  --btn: var(--accent-warm);
  --btn-hover: #ffc16a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Segoe UI", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

a {
  color: var(--text-main);
}

.small { font-size: 12px; opacity: .8; }

.page {
  padding: 12px;
}

.panel {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: #fff;
  color: var(--text-main);
}

button {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #ffa531;
  background: var(--btn);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

button:hover {
  background: var(--btn-hover);
}

.playsScroll {
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 5px 7px;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  vertical-align: middle;
  font-size: 15px;
}

/* sticky header inside the PLAYS scroll area */
.playsScroll thead th{
  position: sticky;
  top: 0;
  z-index: 3;
  background: #fff;
  border-bottom: 2px solid var(--border-soft);
}

tbody tr:nth-child(odd) {
  background: #fff;
}
tbody tr:nth-child(even) {
  background: #fff;
}
.row-home {
  background: #fff;
}
.row-away {
  background: #fff;
}

.pill {
  display: inline-block;
  padding: 0 4px;
  border-radius: 4px;
  background: transparent;
  color: var(--text-main);
  font-weight: 700;
  font-size: 16px;
}

.pill-home {
  background: transparent;
  color: var(--text-main);
}

.pill-away { /* aは白 */
  background: transparent;
  color: var(--text-main);
  border: none;
}

.skill-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.skill-line { gap: 6px; }
.skill-combo { font-weight: 700; }
.skill-se { font-weight: 700; }
.skill-style { font-size: 12px; opacity: .8; }
.skill-block { font-size: 12px; opacity: .8; }

/* viewer specific layout */
.page { padding: 12px; }
.topbar { margin-bottom: 12px; display:flex; gap:8px; flex-wrap: wrap; }

.page-header {
  padding: 8px 12px 6px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.branding { display:flex; align-items:center; gap:10px; }
.logo { height: 60px; width: auto; }
.logo.logo-big { height: 66px; }
.brand-mark{
  font-weight: 950;
  font-size: 22px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-family: "Segoe UI", "Noto Sans JP", system-ui, sans-serif;
  color: var(--text-main);
}
.match-title-banner {
  padding: 8px 10px;
  background: #fff8ec;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  text-align: center;
}
.match-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}
.header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}

.headerMatchInline{
  flex: 1 1 0;
  min-width: 260px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.15;
  color: var(--text-main);
  padding: 0 14px;
  min-height: 66px; /* roughly matches logo height */
  border: 1px solid var(--border-soft);
  border-radius: 10px; /* rectangle, not pill */
  background: #fff8ec;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* header mobile layout: 2 rows only (brand+actions, then title) */
@media (max-width: 720px){
  .header-top{
    justify-content: space-between;
    gap: 10px;
  }
  .logo.logo-big{ height: 56px; }
  .brand-mark{ font-size: 18px; }
  .branding{ flex: 1 1 auto; }
  .header-actions{
    flex: 0 0 auto;
    gap: 8px;
  }
  .header-actions button{
    padding: 8px 10px;
    font-size: 14px;
  }
  .headerMatchInline{
    order: 3;
    flex: 0 0 100%;
    min-width: 0;
    min-height: 54px;
    font-size: 22px;
  }
}

.layout{
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 14px;
  align-items: start;
  height: calc(100vh - 140px);
}
@media (max-width: 900px){
  .layout{
    grid-template-columns: 1fr;
    height: auto;
  }
}

.panel{
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

.videoWrap{
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}
.videoWrap iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.fallback{
  display:none;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: #fff;
}
.fallback .small{ font-size: 12px; opacity: .8; }
.fallback a { display:inline-block; margin-top:6px; }

.searchRow{
  display: grid;
  grid-template-columns: .9fr .7fr .7fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
  align-items: center;
}
@media (max-width: 900px){
  .searchRow{ grid-template-columns: 1fr; }
}

.dropdownWrap{ position: relative; width: 100%; }
.dropdownBtn{
  width: 100%;
  text-align: left;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--text-main);
  font-weight: 800;
  cursor: pointer;
}
.dropdownMenu{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chk{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #fff;
  font-weight: 800;
  font-size: 12px;
}
.chk input{ width: auto; padding: 0; }

.rangeRow{
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text-main);
  flex-wrap: wrap;
}
.rangeRow input{
  flex: 0 0 80px;
  padding: 8px;
  text-align: right;
  min-width: 0;
}
.rangeRow span {
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 600px){
  .rangeRow{
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
  }
}

.rangeActions{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
}
.rangeActions button{
  padding: 8px 10px;
}
.rangeActions .small{
  margin-left: 2px;
}
.seqRow button.seqSecondary{
  background: #fff8ec;
  color: #0b3d91;
  border-color: var(--border-soft);
}
.seqRow button.seqSecondary:hover{
  background: #fff2e1;
}
.seqRow button.seqDanger{
  background: #fff8ec;
  color: #0b3d91;
  border-color: var(--border-soft);
}
.seqRow button.seqDanger:hover{
  background: #fff2e1;
}

input, select{
  padding: 10px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  width: 100%;
  box-sizing: border-box;
}

.blockTitleRow{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.blockTitle{
  font-weight: 900;
  letter-spacing: 0.04em;
}
.setNav{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}
.setNav .setBtn{
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid #ffa531;
  background: #fff;
  color: var(--text-main);
}
.setNav .setBtn.is-active{
  background: #fff4e3;
  border-color: #ff9f1c;
  box-shadow: 0 0 0 3px rgba(255,179,71,0.22);
}
.setNav .setBtn:hover{
  background: #fff4e3;
}

.playsTable{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  max-width: 100%;
}
.playsTable th, .playsTable td{
  padding: 7px 8px;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* show header labels fully (no truncation) */
.playsTable thead th{
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.15;
  padding: 8px 6px;
  font-size: 13px;
}
.playsTable tbody tr:nth-child(odd){ background: #fff; }
.playsTable tbody tr:nth-child(even){ background: #fff; }
.playsTable button{
  padding: 8px 10px;
}

/* column widths: sum to 100% of the right panel */
.playsTable th:nth-child(1), .playsTable td:nth-child(1){ width: 12%; }  /* Time */
.playsTable th:nth-child(2), .playsTable td:nth-child(2){ width: 16%; }  /* Team */
.playsTable th:nth-child(3), .playsTable td:nth-child(3){ width: 8%; }   /* Player */
.playsTable th:nth-child(4), .playsTable td:nth-child(4){ width: 12%; }  /* Skill */
.playsTable th:nth-child(5), .playsTable td:nth-child(5){ width: 6%; }   /* Eval */
.playsTable th:nth-child(6), .playsTable td:nth-child(6){ width: 10%; }  /* Combo */
.playsTable th:nth-child(7), .playsTable td:nth-child(7){ width: 22%; }  /* Course */
.playsTable th:nth-child(8), .playsTable td:nth-child(8){ width: 14%; }  /* Jump */

@media (max-width: 720px){
  .playsTable th, .playsTable td{ padding: 8px; font-size: 14px; }
  .playsTable th:nth-child(1), .playsTable td:nth-child(1){ width: 14%; }  /* Time */
  .playsTable th:nth-child(2), .playsTable td:nth-child(2){ width: 18%; }  /* Team */
  .playsTable th:nth-child(7), .playsTable td:nth-child(7){ width: 20%; }  /* Course */
}

.videoPanel{
  position: sticky;
  top: 12px;
  align-self: start;
}

/* top controls bar (under header) */
.viewerTopControls{
  margin: 0 0 12px 0;
}
.viewerControlsBar{
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap; /* keep 1 line (desktop) */
  overflow-x: hidden;
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: #fff;
}
.viewerControlsBar > *{ flex: 0 0 auto; min-width: 0; }
.viewerControlsBar select{ width: clamp(96px, 11vw, 120px); }
.viewerControlsBar #skillFilter{ width: clamp(120px, 14vw, 150px); }
.viewerControlsBar #qNumber{ width: 64px; }
.viewerSec{ width: 46px; text-align: right; }
.viewerControlsBar button{ padding: 8px 10px; }
.viewerControlsBar .btnRa{ padding: 8px 12px; font-size: 14px; }
.viewerControlsBar .dropdownWrap{ width: auto; }
.viewerControlsBar .dropdownBtn{
  width: auto;
  padding: 8px 10px;
  font-weight: 800;
  border-radius: 10px;
}
.viewerControlsBar .dropdownMenu{
  right: auto;
  min-width: 180px;
}
.zoneQuick{
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.zoneQuickLabel{ min-width: 14px; text-align: center; }
.zoneToggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.zoneToggle input{
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}
.zoneToggle span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 34px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: #fff;
  color: var(--text-main);
  font-weight: 900;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
}
.zoneToggle input:checked + span{
  background: #fff4e3;
  border-color: #ff9f1c;
  box-shadow: 0 0 0 3px rgba(255,179,71,0.22);
}
.viewerControlSpacer{ flex: 1 1 auto; min-width: 8px; }
.viewerPlayLabel,.viewerPlaySub{ white-space: nowrap; }
#seqStatus{ max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 720px){
  .viewerControlsBar{ flex-wrap: wrap; }
  .viewerControlSpacer{ flex: 1 1 100%; }
  .viewerControlsBar{ gap: 6px; padding: 8px 10px; }
  .viewerControlsBar select{ width: 110px; }
  .viewerControlsBar #skillFilter{ width: 140px; }
  #seqStatus{ display:none; }

  .viewerControlsBar .dropdownMenu{
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    max-height: 45vh;
    overflow: auto;
    z-index: 999;
  }

  .zoneToggle span{
    width: 34px;
    height: 32px;
  }
}

@media (max-width: 1100px){
  .viewerControlsBar{ flex-wrap: wrap; }
  .viewerControlSpacer{ flex: 1 1 100%; }
}
@media (max-width: 900px){
  .viewerTopControls{
    position: sticky;
    top: 0;
    z-index: 12;
    background: var(--bg-main);
    padding-top: 8px;
  }
}
.sidePanel{
  height: calc(100vh - 140px);
  overflow: hidden; /* allow scrolling only inside .playsScroll */
  overflow-x: hidden; /* table scroll stays inside .playsScroll */
}
@media (max-width: 900px){
  .videoPanel{
    position: static; /* avoid overlap when controls wrap */
  }
  .sidePanel{
    height: auto;
  }
}

.playsTable tr.meta-row td{
  padding: 8px 10px;
}
.playsTable tr.meta-row td{ border-bottom: 1px solid var(--border-soft); }
.playsTable tr.meta-row td{ background: #fff; }

.playsTable tr.meta-row.meta-set td{
  background: #fff;
  border-top: 3px solid #5b3a1e;
  border-bottom: 1px solid var(--border-soft);
}
.meta-set-cell{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #5b3a1e;
}
.meta-set-label{
  font-weight: 900;
  color: #5b3a1e;
  font-size: 22px;
  line-height: 1.15;
}
.meta-set-winner{
  font-weight: 900;
  color: #5b3a1e;
  font-size: 14px;
  letter-spacing: 0.02em;
  opacity: 0.9;
}
.meta-set-score{
  font-weight: 900;
  color: #5b3a1e;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.meta-team{ font-weight: 900; }
.meta-rot{ font-weight: 900; }
.meta-rot-home{ color: #1f6feb; } /* blue */
.meta-rot-away{ color: #e03131; } /* red */
.meta-label{
  font-weight: 900;
  opacity: 0.85;
  letter-spacing: 0.02em;
}
.meta-score-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  border: 2px solid #ff9f1c;
  background: #fff;
  color: #d26e00;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.2;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.meta-cell{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-weight: 900;
}
.meta-cell.meta-cell-rally{
  justify-content: center;
  gap: 10px;
  text-align: center;
  width: 100%;
}
.meta-cell.meta-cell-rally .meta-label{
  margin-left: 0;
}
.playsTable tr.meta-row.meta-rally td{
  background: var(--bg-soft) !important;
  color: var(--text-main);
  border-top: 3px solid #5b3a1e;  /* dark brown separator */
  border-bottom: 3px solid #5b3a1e;
}

/* plays: make home/away more distinguishable (keep orange theme) */
.playsTable tbody tr.row-home td:first-child{
  border-left: 6px solid var(--btn);
}
.playsTable tbody tr.row-away td:first-child{
  border-left: 6px solid #d0d7de;
}

.team-pill{
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 15px;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--text-main);
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-pill-home{
  border-color: #ffc16a;
  background: #fff4e3;
}
.team-pill-away{
  border-color: #d0d7de;
  background: #fff;
}

header.topbar {
  padding: 10px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.topbar-main {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar-actions {
  display: flex;
  gap: 8px;
}
.brand-logo {
  height: 44px;
  width: auto;
}
.brand-text {
  line-height: 1.2;
}
.brand-name {
  font-weight: 800;
  font-size: 22px;
}
.brand-sub {
  font-size: 15px;
  opacity: 0.8;
}
.action-row{
  display:flex;
  gap:8px;
  align-items:center;
  margin: 8px 14px 10px 14px;
}

/* home */
.homePage{
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.homeHero{
  padding: 14px;
  background: linear-gradient(180deg, #fff 0%, #fff8ec 100%);
}
.homeHeroTitle{
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.homeHeroSub{
  margin-bottom: 12px;
}
.homeControls{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}
@media (max-width: 720px){
  .homeControls{ grid-template-columns: 1fr; }
}
.homeSearchLabel{
  display: grid;
  gap: 6px;
}
.homeControlActions{
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.homeListHeader{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 2px 8px;
}
.homeListTitle{
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.homeEmpty{
  padding: 14px;
}
.homeEmptyTitle{
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 4px;
}

.tournamentCard{
  padding: 0;
  overflow: hidden;
}
.tournamentHeader{
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--border-soft);
  border-radius: 0;
  background: #fff;
  color: var(--text-main);
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
}
.tournamentHeader:hover{
  background: #fff8ec;
}
.tournamentHeaderMain{
  display: grid;
  gap: 2px;
  text-align: left;
}
.tournamentName{
  font-weight: 900;
  font-size: 16px;
}
.tournamentChevron{
  font-weight: 900;
  transition: transform .18s ease;
  color: #5b3a1e;
}
.tournamentCard.isOpen .tournamentChevron{
  transform: rotate(180deg);
}
.tournamentBody{
  padding: 10px 12px 12px;
  display: grid;
  gap: 10px;
}
.tournamentBody[hidden]{
  display: none;
}

.matchCard{
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
@media (max-width: 720px){
  .matchCard{ grid-template-columns: 1fr; }
}
.matchTitleText{
  font-weight: 900;
  line-height: 1.2;
}
.matchMeta{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.matchMetaItem{
  font-size: 12px;
  opacity: .85;
  padding: 2px 8px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: #fff8ec;
}
.matchActions{
  display:flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.btnSecondary{
  background: #fff;
  color: var(--text-main);
  border: 1px solid var(--border-soft);
}
.btnSecondary:hover{
  background: #fff8ec;
}

.btnDanger{
  background: #e03131;
  border-color: #b32525;
}
.btnDanger:hover{
  background: #f03e3e;
}

/* viewer: RA zone jump + attachments */
.raJumpRow{
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  margin: 0 0 10px 0;
}
.raJumpTop{ display: grid; gap: 2px; margin-bottom: 8px; }
.raJumpTitle{
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.01em;
}
.raJumpBtns{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
@media (max-width: 900px){
  .raJumpBtns{ grid-template-columns: repeat(3, 1fr); }
}
.raJumpBtn{
  padding: 10px 10px;
  border-radius: 10px;
  background: #fef9c3; /* very light yellow */
  border-color: #fde68a;
  color: #1f2937;
}
.raJumpBtn:hover{
  background: #fff7d6;
}

.btnRa{
  padding: 12px 18px;
  font-size: 16px;
  background: var(--accent-sky);
  border-color: #1d4ed8;
}
.btnRa:hover{
  background: #3b8cff;
}

.is-jumpTarget{
  outline: 3px solid #ff9f1c;
  outline-offset: -2px;
  box-shadow: 0 8px 20px rgba(255, 159, 28, 0.20);
}

.attachments{ display: grid; gap: 8px; }
.attachmentsList{ display: grid; gap: 8px; }
.attachmentItem{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  padding: 10px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: #fff;
}
.attachmentLink{
  font-weight: 900;
  text-decoration: none;
}
.attachmentLink:hover{ text-decoration: underline; }
.attachmentMeta{
  grid-column: 1 / -1;
}
.attachmentDl{
  align-self: start;
  justify-self: end;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: #fff8ec;
  color: var(--text-main);
  font-weight: 900;
  text-decoration: none;
}
.attachmentDl:hover{ background: #fff2e1; }
.attachmentsNote{ opacity: .75; }
