:root {
  color-scheme:light;
  --ink:#192e27;
  --pond:#103f34;
  --teal:#245a49;
  --paper:#f5f5ee;
  --card:#fffef8;
  --line:#d8ddce;
  --muted:#5b6a5d;
  --tide:#a5492d;
  --tile:#e4ebe0;
  --serif:"Songti SC","STSong","Noto Serif CJK SC","Source Han Serif SC",SimSun,Georgia,serif;
  font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif;
  font-size:16px;
  line-height:1.55;
  color:var(--ink);
  background:var(--paper);
  font-variant-numeric:tabular-nums;
}
* {
  box-sizing:border-box;
}
body,h1,h2,h3,p,dl,dd,figure {
  margin:0;
}
button,input,select {
  font:inherit;
  color:inherit;
}
button,a {
  touch-action:manipulation;
}
button {
  cursor:pointer;
}
button:disabled {
  cursor:not-allowed;
  opacity:.55;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {
  outline:3px solid #bc813f;
  outline-offset:3px;
}
a {
  color:inherit;
}
button {
  border:0;
}
h1,h2,h3 {
  line-height:1.25;
}
button:disabled {
  opacity:.55;
}
[hidden] {
  display:none!important;
}
.sr {
  position:absolute;
  clip-path:inset(50%);
  width:1px;
  height:1px;
  overflow:hidden;
}
.masthead {
  background:#113c32;
  border-bottom:3px solid #c59160;
  color:#fffdf0;
}
.mast-inner {
  max-width:1380px;
  padding:0 clamp(16px,4.7vw,70px);
  margin:auto;
  min-height:76px;
  display:flex;
  align-items:center;
  gap:clamp(24px,7vw,110px);
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  flex:none;
  text-decoration:none;
  color:inherit;
}
.seal {
  background:#af5034;
  border:1px solid #e1ad82;
  border-radius:4px;
  box-shadow:inset 0 0 0 3px #af5034,inset 0 0 0 4px #dfad87;
  display:grid;
  place-items:center;
  width:40px;
  height:42px;
  font:700 27px/1 var(--serif);
  color:#fff0d7;
}
.brand b {
  font:700 23px/1.2 var(--serif);
  letter-spacing:.095em;
}
.brand small {
  display:block;
  font:600 9px/1.5 system-ui,sans-serif;
  letter-spacing:.19em;
  color:#d4dfca;
}
.masthead nav {
  display:flex;
  align-self:stretch;
  align-items:stretch;
  gap:clamp(14px,3vw,48px);
}
.masthead nav>* {
  background:transparent;
  color:#d4e0d3;
  display:grid;
  align-items:center;
  text-decoration:none;
  padding:0 4px;
  position:relative;
  white-space:nowrap;
  font-size:15px;
}
.masthead nav .current {
  color:#fff;
  font-weight:680;
}
.masthead nav .current::after {
  content:"";
  position:absolute;
  bottom:11px;
  left:4px;
  right:4px;
  height:2px;
  background:#d3a47b;
}
.account,.screen-tools button,.screen-tools select {
  margin-left:auto;
  color:#fcfaed;
  background:#244d40;
  border:1px solid #6c8876;
  border-radius:5px;
  padding:7px 12px;
  max-width:180px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.shell,.footer {
  max-width:1380px;
  margin:0 auto;
  padding:30px clamp(16px,4.7vw,70px);
}
.shell {
  min-height:calc(100vh - 169px);
}
.event-header {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin:0 0 24px;
}
.event-info {
  min-width:0;
}
.eyebrow {
  font-size:13px;
  color:#54725b;
  display:flex;
  align-items:center;
  gap:9px;
  font-weight:650;
  letter-spacing:.065em;
}
.bar {
  width:28px;
  height:2px;
  background:#b57c51;
}
h1 {
  font:700 clamp(28px,3.3vw,48px)/1.3 var(--serif);
  overflow-wrap:anywhere;
  margin:5px 0;
}
.meta,.muted,.helper,.history time {
  color:var(--muted);
}
.meta,.helper {
  font-size:14px;
}
.choose {
  flex:none;
  font-size:13px;
  color:var(--muted);
}
select,input {
  border:1px solid #aebead;
  background:#fffef9;
  border-radius:5px;
  padding:9px 11px;
  min-width:0;
  max-width:100%;
}
select {
  min-height:40px;
}
.choose select {
  display:block;
  width:clamp(150px,18vw,270px);
  margin-top:4px;
}
.notice,.error:not(:empty) {
  background:#fff0ca;
  border:1px solid #d6bb79;
  border-radius:5px;
  padding:9px 13px;
  color:#6e4e16;
  margin:10px 0;
}
.error:empty {
  display:none;
}
.notice button,.text-button {
  padding:0;
  background:none;
  color:var(--teal);
  text-decoration:underline;
  text-underline-offset:3px;
}
.empty-hero,.await {
  min-height:220px;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:12px;
  border-radius:10px;
  padding:clamp(25px,6vw,72px);
  color:#fff7e7;
  background:linear-gradient(118deg,#0e322e,#285548 72%,#4f755d);
}
.empty-hero::after,.await::after {
  content:"";
  position:absolute;
  z-index:-1;
  pointer-events:none;
  width:70%;
  height:250%;
  right:-10%;
  top:-85%;
  opacity:.8;
  background:repeating-radial-gradient(ellipse at 65% 43%,transparent 0 28px,#d9d7a723 29px 30px,transparent 31px 61px);
  transform:rotate(-20deg);
}
.empty-hero h2,.await h2 {
  font:650 clamp(24px,3.4vw,44px)/1.35 var(--serif);
}
.empty-hero p,.await p {
  color:#dae5d4;
  max-width:520px;
}
.empty-hero .text-button {
  color:#ffddb7;
}
.section-head,.row,.dialog header,.display-head,.display-footer,.catalog-head,.record {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.section-head,.catalog-head {
  margin:24px 0 13px;
}
.section-head h2,.catalog-head h2,.panel-title {
  font:700 23px/1.3 var(--serif);
}
.section-head small,.catalog-head small {
  font:normal 13px/1.4 system-ui,sans-serif;
  color:var(--muted);
  margin-left:9px;
}
.stage {
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(290px,.83fr);
  gap:18px;
}
.panel {
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--card);
  overflow:hidden;
}
.panel.pad,.pad {
  padding:clamp(16px,2vw,29px);
}
.pond {
  background:#d9e6dc;
  position:relative;
}
.fish-photo {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:clamp(230px,27vw,400px);
  background:linear-gradient(135deg,#c3d9cf,#e8efe2);
  overflow:hidden;
}
.fish-photo img {
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
}
.lot-tag {
  position:absolute;
  top:14px;
  left:14px;
  background:#123d34e8;
  border:1px solid #ffffff44;
  color:#fff8e9;
  border-radius:3px;
  font:600 13px/1.2 ui-monospace,monospace;
  letter-spacing:.1em;
  padding:5px 8px;
}
.enlarge {
  position:absolute;
  bottom:12px;
  right:12px;
  background:#fffef5de;
  border:1px solid #b7c8b5;
  border-radius:4px;
  padding:5px 9px;
  font-size:13px;
}
.photo-missing {
  font-size:14px;
  color:#4b6757;
}
.lot-name {
  font:700 30px/1.25 var(--serif);
  overflow-wrap:anywhere;
}
.facts {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(92px,1fr));
  gap:12px;
  margin-top:16px;
  border-top:1px solid var(--line);
  padding-top:15px;
}
.facts dt,.label {
  font-size:13px;
  color:var(--muted);
}
.facts dd {
  font-size:16px;
  font-weight:600;
  overflow-wrap:anywhere;
}
.price {
  font:500 clamp(45px,5.5vw,85px)/1.12 Georgia,"Times New Roman",serif;
  letter-spacing:-.05em;
  color:var(--tide);
  overflow-wrap:anywhere;
}
.price small {
  font-size:.47em;
  letter-spacing:0;
  margin-right:4px;
}
.price-title {
  margin-top:20px;
}
.pair {
  display:flex;
  gap:12px 24px;
  flex-wrap:wrap;
  margin:14px 0 17px;
  border-bottom:1px solid var(--line);
  padding-bottom:16px;
}
.pair dt {
  font-size:13px;
  color:var(--muted);
}
.pair dd {
  font-weight:650;
}
.status,.chip {
  padding:3px 8px;
  border-radius:4px;
  font-weight:600;
  font-size:13px;
  color:#395640;
  background:#e6ece1;
  white-space:nowrap;
}
.status.live {
  background:#d8ead8;
  color:#264e31;
}
.status.sold {
  background:#f4ded0;
  color:#893b24;
}
.status.paused,.status.pending {
  background:#f5e9c6;
  color:#695222;
}
.primary,.secondary,.solid {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:5px;
  font-weight:600;
  font-size:15px;
  line-height:1.4;
  text-decoration:none;
  padding:10px 15px;
}
.primary {
  background:#ad452b;
  color:white;
}
.solid {
  background:#205441;
  color:#fff;
}
.secondary {
  background:#f4f6ee;
  color:#2c573d;
  border:1px solid #b7c6b5;
}
.wide {
  width:100%;
}
.primary:hover:not(:disabled) {
  background:#953820;
}
.solid:hover:not(:disabled) {
  background:#143b2d;
}
.helper {
  margin:9px 0;
}
.history h3 {
  font-size:15px;
  margin:16px 0 7px;
}
.history-line {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:8px;
  align-items:center;
  font-size:14px;
  border-top:1px solid #e4e8de;
  padding:7px 0;
}
.history time {
  font:12px ui-monospace,monospace;
}
.history-list {
  max-height:210px;
  overflow:auto;
}
.catalog-head {
  align-items:flex-end;
}
.catalog-search {
  font-size:14px;
  max-width:240px;
  width:42%;
}
.catalog {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));
  gap:12px;
}
.lot-card {
  background:var(--card);
  border:1px solid var(--line);
  border-radius:6px;
  display:grid;
  grid-template-columns:78px minmax(0,1fr);
  text-align:left;
  gap:12px;
  padding:8px;
  align-items:center;
}
.lot-card:hover,.lot-card.active {
  border-color:#6a886b;
  background:#fafcf3;
}
.mini-photo {
  height:70px;
  display:grid;
  place-content:center;
  background:#dae7dc;
  overflow:hidden;
  border-radius:4px;
  color:#5d7464;
  font:12px system-ui;
}
.mini-photo img {
  width:78px;
  height:70px;
  object-fit:contain;
}
.lot-card small {
  display:block;
  color:var(--muted);
  font:600 12px/1.4 ui-monospace,monospace;
}
.lot-card strong {
  display:block;
  overflow-wrap:anywhere;
  font-size:16px;
}
.lot-card .subline {
  font-size:13px;
  color:var(--muted);
}
details.rules {
  margin-top:18px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:6px;
  padding:12px 16px;
}
summary {
  cursor:pointer;
  font-weight:600;
}
.rules p,.copy {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  margin:10px 0;
}
.record {
  padding:12px 0;
  border-top:1px solid var(--line);
}
.record small {
  display:block;
  color:var(--muted);
}
.two {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
}
.actions {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  align-items:center;
  margin-top:12px;
}
.footer {
  margin-top:20px;
  border-top:1px solid var(--line);
  font-size:13px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:var(--muted);
  gap:12px;
}
.footer b {
  font-family:var(--serif);
  color:var(--ink);
  margin-right:12px;
}
.dialog {
  width:min(calc(100% - 24px),510px);
  border:1px solid var(--line);
  border-radius:10px;
  color:var(--ink);
  background:var(--card);
  padding:22px;
  max-height:90vh;
  overflow:auto;
  box-shadow:0 18px 70px #15392e22;
}
.dialog::backdrop {
  background:#08291ee0;
  opacity:.72;
}
.dialog h2 {
  font:700 25px/1.35 var(--serif);
}
.dialog header {
  margin-bottom:15px;
}
.icon-btn {
  width:32px;
  height:32px;
  border-radius:50%;
  background:#e9eee3;
  font-size:22px;
  line-height:1;
}
.field {
  display:block;
  font-weight:600;
  font-size:14px;
  margin:13px 0;
}
.field input,.field select {
  display:block;
  width:100%;
  margin-top:4px;
  font-weight:400;
}
.field.check {
  display:flex;
  align-items:flex-start;
  gap:8px;
}
.field.check input {
  width:auto;
  margin-top:5px;
}
.error:not(:empty) {
  color:#993a29;
  border-color:#ddb9ad;
  background:#fae8df;
}
.zoom-image {
  display:block;
  width:100%;
  max-height:65vh;
  object-fit:contain;
  background:#e2ebe3;
}
.toast {
  position:fixed;
  bottom:22px;
  left:50%;
  transform:translateX(-50%);
  background:#174532;
  color:white;
  border-radius:6px;
  padding:9px 16px;
  z-index:3;
  max-width:90vw;
}
.screen-body {
  background:#102f2a;
  color:#f5f4de;
  min-height:100vh;
}
.display {
  min-height:100vh;
  display:flex;
  flex-direction:column;
  padding:clamp(15px,2.8vw,58px) clamp(18px,4.7vw,100px);
}
.display-head {
  border-bottom:1px solid #526c59;
  padding-bottom:14px;
}
.screen-tools {
  display:flex;
  align-items:center;
  gap:9px;
}
.screen-tools select {
  max-width:clamp(135px,19vw,410px);
}
.screen-tools button {
  white-space:nowrap;
}
.screen-title {
  font-size:clamp(26px,3.45vw,78px);
  margin:2vh 0;
}
.screen-grid {
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  gap:clamp(20px,3.8vw,86px);
  align-items:center;
}
.screen-grid .fish-photo {
  height:clamp(240px,44vh,680px);
  border-radius:7px;
  background:#cee0cf;
}
.screen-grid .pond {
  border-radius:7px;
  background:transparent;
}
.screen-grid .status {
  font-size:clamp(14px,1.55vw,34px);
}
.screen-variety {
  font:700 clamp(28px,4vw,96px)/1.2 var(--serif);
  margin:12px 0;
  overflow-wrap:anywhere;
}
.screen-meta,.screen-body .label,.screen-body .meta {
  color:#cbdbc8;
}
.screen-meta {
  font-size:clamp(15px,1.55vw,33px);
}
.screen-body .price {
  font-size:clamp(52px,7.8vw,170px);
  color:#ffc399;
}
.plate {
  font-size:clamp(23px,3vw,65px);
  margin-top:8px;
}
.plate b {
  margin-left:.45em;
  color:#fffceb;
}
.fx {
  border-top:1px solid #516d5a;
  display:flex;
  gap:clamp(18px,5vw,120px);
  margin-top:22px;
  padding-top:14px;
  align-items:center;
  flex-wrap:wrap;
}
.fx strong {
  display:block;
  font:500 clamp(18px,2.2vw,54px) Georgia,serif;
}
.fx .label {
  font-size:clamp(13px,1vw,22px);
}
.display-footer {
  margin-top:auto;
  padding-top:20px;
  color:#b8c9b6;
  font-size:clamp(12px,1vw,23px);
}
.screen-notice {
  margin-top:12px;
  color:#ffda9e;
  font-size:clamp(16px,1.5vw,32px);
}
.display .await {
  min-height:54vh;
  margin:35px 0;
}
@media(max-width:800px) {
  .mast-inner {
    gap:22px;
  }
  .stage {
    grid-template-columns:minmax(0,1fr) minmax(250px,.86fr);
    gap:12px;
  }
  .masthead nav {
    gap:14px;
  }
  .shell,.footer {
    padding:20px 16px;
  }
  .lot-name {
    font-size:25px;
  }
  .catalog {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:640px) {
  .mast-inner {
    flex-wrap:wrap;
    gap:0 10px;
    padding:10px 14px 0;
    min-height:0;
  }
  .masthead nav {
    order:3;
    width:100%;
    height:44px;
    justify-content:space-between;
    gap:8px;
  }
  .masthead nav .current::after {
    bottom:3px;
  }
  .brand b {
    font-size:20px;
  }
  .seal {
    width:34px;
    height:36px;
    font-size:23px;
  }
  .account {
    max-width:135px;
  }
  .event-header {
    align-items:flex-start;
    gap:12px;
    flex-direction:column;
    margin-bottom:15px;
  }
  .choose {
    display:flex;
    align-items:center;
    gap:8px;
  }
  .choose select {
    width:auto;
    max-width:70vw;
    margin:0;
    min-height:35px;
    padding-block:4px;
  }
  .stage,.two {
    grid-template-columns:1fr;
  }
  .fish-photo {
    height:clamp(180px,53vw,300px);
  }
  .facts {
    margin-top:10px;
    padding-top:10px;
  }
  .shell,.footer {
    padding-inline:12px;
  }
  .catalog {
    gap:8px;
  }
  .lot-card {
    grid-template-columns:1fr;
    gap:6px;
  }
  .mini-photo {
    height:82px;
    display:flex;
    justify-content:center;
  }
  .mini-photo img {
    height:100%;
    width:100%;
  }
  .catalog-search {
    font-size:13px;
  }
  .display {
    padding:14px;
  }
  .screen-grid {
    grid-template-columns:1fr;
    gap:12px;
  }
  .screen-grid .fish-photo {
    height:25vh;
  }
  .display-head .brand b {
    font-size:17px;
  }
  .display-head .brand {
    gap:6px;
  }
  .screen-tools {
    gap:3px;
  }
  .screen-tools button,.screen-tools select {
    font-size:13px;
    padding:5px;
  }
  .fx {
    gap:15px;
  }
  .display-footer {
    padding-top:16px;
  }
  .dialog {
    padding:17px;
  }
  .event-header h1 {
    margin-bottom:2px;
  }
}
@media(max-height:680px) and (min-width:820px) {
  .display {
    padding-top:10px;
    padding-bottom:10px;
  }
  .screen-title {
    margin:10px 0;
    font-size:32px;
  }
  .screen-grid .fish-photo {
    height:44vh;
  }
  .fx {
    padding-top:4px;
    margin-top:7px;
  }
  .screen-grid .price {
    font-size:8vw;
  }
  .display-footer {
    padding-top:5px;
  }
}
