:root{color-scheme:dark;--bg:#11120f;--panel:#191a16;--light:#f4f0e7;--gold:#d1b079;--muted:#b6b4a9;--line:#393b32;--serif:"Baskervville",Georgia,"Times New Roman",serif;--sans:"Instrument Sans",system-ui,-apple-system,"Segoe UI",sans-serif}
*{box-sizing:border-box}body{margin:0;color:var(--light);background:var(--bg);font:1rem/1.55 var(--sans)}a{color:inherit;text-decoration:none}button,select,input,textarea{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #f4ce88;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.1;overflow-wrap:anywhere}h1{font-size:clamp(2.55rem,5vw,4.3rem)}h2{font-size:clamp(2rem,3.4vw,3.1rem)}h3{font-size:1.6rem}p{color:var(--muted)}button,select{color:inherit}.skip{position:absolute;inset-inline-start:-10000px}.skip:focus{inset-inline-start:0;z-index:10;background:#000;padding:12px}.wrap{width:min(1256px,90%);margin:auto}.bar{background:#11120f;border-bottom:1px solid #34362b}.top,.top nav,.tools,.brand,.cluster,.section-head,.foot-line,.rowline,.modal-head,.tabs,.paging{display:flex;align-items:center;gap:16px}.top{min-height:86px;justify-content:space-between}.brand{gap:11px;flex-shrink:0}.brand img{width:52px;height:52px;object-fit:contain;mix-blend-mode:screen;border-radius:50%}.brand span{font-family:var(--serif);color:#ead4a8;letter-spacing:.11em;font-size:1.2rem;line-height:1.15}.brand small{display:block;font-family:var(--sans);font-size:.65rem;letter-spacing:.32em;color:var(--muted);margin-top:5px}.top nav{gap:30px}.top nav a,.language,.outline,.btn,.plain,.danger,.tabs button{font-size:.92rem;font-weight:550}.top nav a{color:var(--muted)}.top nav a:hover,.top nav a.active{color:var(--gold)}.tools{gap:19px}.language{display:flex;align-items:center;gap:5px;color:var(--muted)}.language select{background-color:transparent;border:0;padding:5px 19px 5px 1px}.language option,select option{background:#1b1c18;color:var(--light)}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23d1b079' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 6px center}.outline,.btn,.plain,.danger{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #89754f;border-radius:3px;background:transparent;color:var(--gold);padding:11px 19px;line-height:1.4;text-align:center}.btn{background:var(--gold);color:#171914;border-color:var(--gold);font-weight:650}.btn:hover{background:#e4c58e}.outline:hover,.plain:hover{background:#25251e}.plain{border-color:var(--line);color:var(--light)}.danger{border-color:#71534c;color:#efb6a6}.hero{isolation:isolate;position:relative;overflow:hidden;background:#10120f;border-bottom:1px solid #474330}.hero:before{content:"";position:absolute;inset:0 0 0 28%;z-index:-2;background:url('/mahyar.webp') center 46%/cover no-repeat;filter:saturate(.76)}.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#10120f 0%,#10120ff7 23%,#10120fc7 39%,#10120f33 62%,#10120f05 80%),linear-gradient(0deg,#11120fb5,transparent 22%)}.hero-inner{position:relative;min-height:clamp(420px,39vw,540px);display:flex;align-items:center;padding-block:48px}.hero-copy{max-width:570px}.kicker{display:flex;align-items:center;gap:12px;font-size:.78rem;letter-spacing:.18em;font-weight:650;color:var(--gold);text-transform:uppercase;margin-bottom:13px}.kicker:before{content:"";width:31px;height:1px;background:var(--gold)}.hero h1{font-size:clamp(3.8rem,6.6vw,6.5rem);line-height:.96;letter-spacing:-.046em}.hero em{font-weight:400;color:#dfbc82}.hero p{color:#deddd2;max-width:440px;margin:20px 0 25px;font-size:1.03rem}.cluster{flex-wrap:wrap;gap:10px}.section{padding:42px 0 52px}.section-head{align-items:flex-end;justify-content:space-between;flex-wrap:wrap;margin-bottom:23px}.section-head h1,.section-head h2{margin:0}.section-head p,.lead{margin-top:9px;max-width:720px}.tabs{gap:3px;flex-wrap:wrap;background:#181914;border:1px solid var(--line);padding:4px;border-radius:4px}.tabs button{padding:8px 14px;border:0;background:transparent;color:var(--muted);border-radius:2px}.tabs button.on{background:#353326;color:#ead4a5}.empty{padding:28px 32px;background:linear-gradient(110deg,#20211b,#191a16 70%);border:1px solid var(--line);display:flex;align-items:center;gap:23px}.empty-icon,.guide-icon{width:49px;height:49px;border:1px solid #65593e;display:grid;place-items:center;color:var(--gold);flex-shrink:0;border-radius:50%}.empty p,.card p,.guide-block p{margin-top:7px}.icon{height:19px;width:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.empty-icon .icon,.guide-icon .icon{width:23px;height:23px}.rule{border-top:1px solid var(--line)}.guide-grid,.grid,.stats,.formgrid,.two{display:grid;gap:18px}.guide-grid,.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.guide-block{padding:20px 0}.guide-icon{border:0;border-radius:0;margin-bottom:13px;place-items:center start;height:32px}.guide-block h3{font-size:1.45rem}.grid{margin:15px 0}.card,.panel,.stat{border:1px solid var(--line);background:var(--panel);padding:22px}.card{display:flex;flex-direction:column;gap:11px}.card .cluster{margin-top:auto;padding-top:7px}.cover{width:100%;aspect-ratio:1.75;object-fit:cover}.image-slot{aspect-ratio:2;background:#25271f;color:#b29c70;display:grid;place-items:center}.image-slot .icon{height:44px;width:44px}.label,.badge{font-size:.82rem;letter-spacing:.07em;color:var(--gold);text-transform:uppercase}.badge{display:inline-block;border:1px solid #655a40;border-radius:3px;padding:3px 8px;letter-spacing:.02em}.amount{font-size:1.45rem;color:var(--gold)}.spec{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.spec dt,.meta{font-size:.91rem;color:var(--muted)}.spec dd{margin:3px 0 0}.two{grid-template-columns:1.15fr 1fr;align-items:start}.panel{margin-bottom:18px}.panel h2,.modal-head h2{font-size:1.9rem}.panel h3{margin:12px 0}.panel p,.panel .cluster{margin:12px 0}.prose{white-space:pre-line;overflow-wrap:anywhere}.crumb{display:inline-block;color:var(--gold);font-size:.94rem;margin-bottom:20px}.adminnav{display:flex;gap:22px;flex-wrap:wrap;margin:18px 0 24px;border-bottom:1px solid var(--line)}.adminnav a{padding:10px 0;color:var(--muted)}.adminnav .on{border-bottom:2px solid var(--gold);color:var(--gold)}.stats{grid-template-columns:repeat(4,1fr);margin-bottom:25px}.stat strong{display:block;font-family:var(--serif);font-size:2.15rem;color:var(--gold)}.stat span{color:var(--muted)}.rowline{border-bottom:1px solid var(--line);padding:16px 0;justify-content:space-between;flex-wrap:wrap}.rowline>div{min-width:0}.rowline h3{font-size:1.4rem;overflow-wrap:anywhere}.rowline p,.hint{font-size:.93rem}.paging{margin:18px 0}.formgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:flex;flex-direction:column;gap:5px;color:#d7d7ca;font-size:.91rem}.field.wide,.wide{grid-column:1/-1}.field input,.field textarea,.field select{width:100%;padding:10px 12px;min-height:43px;background-color:#11130f;color:var(--light);border:1px solid #4a4b40;border-radius:3px}.field textarea{min-height:80px;resize:vertical}.field select{padding-right:24px}.check{display:flex;gap:10px;align-items:baseline;font-size:.94rem;color:var(--muted)}.check input{accent-color:var(--gold)}form .cluster{margin-top:18px}.error{color:#ffc4ad}.success{color:#ddc99e}.notice{padding:13px 16px;background:#27281f;border-inline-start:2px solid var(--gold);margin:15px 0;color:#dfd9c6}dialog{width:min(640px,94vw);max-height:89dvh;overflow:auto;background:#1b1c17;color:var(--light);border:1px solid #5b5646;padding:24px;border-radius:5px}dialog::backdrop{background:#000a}.modal-head{justify-content:space-between;margin-bottom:19px}.modal-head button{border:0;background:transparent;font-size:1.8rem;color:var(--muted)}details{border-top:1px solid var(--line);padding:13px 0}summary{cursor:pointer;color:var(--gold)}#toast{position:fixed;right:20px;bottom:20px;z-index:20;max-width:85vw;background:#292b21;color:var(--light);border:1px solid #837552;padding:12px 18px}#toast:empty{display:none}.mute{color:var(--muted)}footer{border-top:1px solid var(--line);color:var(--muted);padding:24px 0;font-size:.85rem}footer .wrap{display:flex;align-items:center;gap:20px;flex-wrap:wrap}footer a{margin-inline-start:auto}.footmark{font-family:var(--serif);color:var(--gold);letter-spacing:.1em}main{min-height:calc(100vh - 174px)}.sale-link{color:var(--gold);text-decoration:underline}.align-start{align-items:flex-start}.gap-top{margin-top:20px}[dir=rtl] .hero-copy{margin-inline-start:auto;text-align:right}[dir=rtl] .hero-copy .kicker,[dir=rtl] .hero-copy .cluster{justify-content:flex-start}[dir=rtl] .hero-inner{direction:ltr}[dir=rtl] .hero-copy{direction:rtl;margin:0}
@media(max-width:820px){.wrap{width:92%}.top{gap:11px;min-height:73px}.top nav{gap:13px}.brand span{font-size:.99rem}.brand img{width:43px;height:43px}.tools{gap:10px}.outline,.btn,.plain,.danger{padding:10px 13px}.hero:before{inset-inline-start:15%}.grid,.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.top{flex-wrap:wrap;padding-top:10px;gap:5px}.brand{gap:6px}.brand img{width:37px;height:37px}.brand span{font-size:.85rem}.brand small{font-size:.56rem}.tools{margin-inline-start:auto}.account{font-size:.84rem;padding:7px}.language{gap:1px}.top nav{order:3;width:100%;justify-content:center;min-height:36px}.top nav a{font-size:.86rem}.hero-inner{align-items:flex-end;min-height:470px;padding-bottom:38px}.hero:before{inset:0 0 15%;background-position:63% 27%}.hero:after{background:linear-gradient(0deg,#10120f 4%,#10120fd9 30%,#10120f4f 64%,#10120f20)}.hero h1{font-size:3.6rem}.hero p{max-width:350px;font-size:.95rem;margin:12px 0 18px}.kicker{font-size:.72rem}.section{padding:30px 0}.section-head{gap:15px}.grid,.guide-grid,.formgrid{grid-template-columns:1fr}.empty{padding:20px 16px;gap:13px;align-items:flex-start}.empty-icon{width:37px;height:37px}.empty h3{font-size:1.4rem}.stats{gap:10px}.stat,.panel,.card{padding:16px}.adminnav{gap:12px}.formgrid .wide{grid-column:auto}.guide-block{padding:7px 0}.tools .account span[aria-hidden]{display:none}.hero-copy{max-width:100%}}
.lot-main-image,.pedigree-image{display:block}.lot-main-image img{display:block;width:100%;max-height:640px;object-fit:contain;background:#11120f}.pedigree-image img{width:100%;height:auto;display:block}
.lot-thumbs,.edit-photos{display:flex;flex-wrap:wrap;gap:.5rem;margin:.75rem 0}.lot-thumb{width:70px;height:56px;border:2px solid transparent;background:#161711;padding:2px}.lot-thumb[aria-pressed="true"]{border-color:var(--gold)}.lot-thumb img{width:100%;height:100%;object-fit:cover}
.lot-media-fields{min-width:0;border:1px solid var(--line);padding:1rem}.lot-media-fields legend{color:var(--gold);padding-inline:.4rem}.lot-media-fields input{padding:.5rem}.lot-media-fields .hint{margin:0;color:var(--muted)}.edit-photo{display:flex;align-items:center;gap:.6rem;width:100%;padding:.45rem 0;border-bottom:1px solid var(--line)}.edit-photo img{width:76px;height:60px;object-fit:contain}.edit-photo strong{font-size:.9rem}.edit-photo .cluster{margin:.25rem 0}.edit-photo button{font-size:.84rem;padding:.27rem .65rem}

.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.profile-grid [hidden]{display:none}.lot-video{display:block;width:100%;max-height:34rem;background:#10110e;border-radius:8px;margin:.7rem 0}.horse-spec{margin-bottom:1.5rem}.profile-grid input,.profile-grid select{max-width:100%}@media(max-width:580px){.profile-grid{grid-template-columns:minmax(0,1fr)}}

.buyer-support{margin:1.75rem 0 0;padding:1.1rem 1.3rem;border-inline-start:3px solid var(--gold);background:var(--panel)}.buyer-support h3{margin:0 0 .5rem}.buyer-support p{margin:.5rem 0}.buyer-support strong{color:var(--light)}

.trans-editor,.pedigree-chart{width:100%}.trans-editor section{margin-block:1.3rem}.trans-editor textarea{min-height:6rem}.pedigree-chart{height:auto;display:block;border:1px solid #51452d;border-radius:4px;margin-block:.7rem 1rem}.ped-source-thumb{display:block;max-height:10rem;max-width:100%;margin-block:.7rem}.ped-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:.6rem}.ped-grid input{width:100%}.ped-zoom{max-height:73vh;overflow:auto;background:#10110f}.ped-zoom svg{max-width:none;height:auto;display:block}#ped-editor[hidden]{display:none}#ped-editor{margin-block:1rem}#ped-editor details{margin-block:.5rem}#pedigree-studio .cluster{margin-block:.7rem}

#ped-result .ped-count{margin-block:.9rem .25rem}#ped-result .ped-revisions{margin-top:.8rem}#ped-result label[data-review="1"] input{border-color:#c39b59}#ped-original a{display:inline-block}#pedigree-studio .field input[type=file]{max-width:100%}.pedigree-chart[hidden]{display:none}

.ped-cover{display:block;width:100%;padding:0;border:0;background:none;text-align:start;cursor:zoom-in;color:inherit}
.ped-cover .pedigree-chart{width:auto;max-width:100%;max-height:40rem;margin:.65rem auto;object-fit:contain}
dialog.ped-viewer[open]{display:flex;flex-direction:column;width:calc(100vw - 24px);max-width:1800px;height:calc(100dvh - 24px);max-height:100dvh;margin:auto;padding:14px 18px;overflow:hidden}
.ped-viewer .modal-head{flex:none;margin:0 0 5px}.ped-viewer .modal-head h2{font-size:1.5rem}
.ped-viewer #modal-body{display:flex;flex:1;flex-direction:column;min-height:0;gap:7px}
.ped-toolbar,.ped-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.ped-toolbar>button,.ped-controls button{color:var(--light);background:#25251f;border:1px solid #625837;border-radius:4px;padding:6px 12px;font-size:.88rem}
.ped-controls button{font-size:1.15rem;line-height:1.2;min-width:36px}.ped-controls output{min-width:3.4em;text-align:center;font-variant-numeric:tabular-nums}
.ped-controls button:disabled{cursor:default}.ped-stage{flex:1;min-height:0;min-width:0;overflow:auto;background:#0b0c0a;border:1px solid #39372b;overscroll-behavior:contain}
.ped-sheet{box-sizing:border-box;min-width:100%;width:max-content;min-height:100%;height:max-content;display:grid;place-items:center;padding:7px}
.ped-sheet img{display:block;max-width:none;max-height:none;object-fit:contain}.ped-sheet img[hidden],.ped-formats[hidden],.ped-read-status:empty{display:none}
.ped-downloads{display:grid;gap:.35rem}.ped-downloads small,.ped-downloads [role=status]{color:var(--muted)}.ped-downloads [role=status]:empty{display:none}
@media(max-width:600px){dialog.ped-viewer[open]{width:100vw;height:100dvh;max-width:100vw;padding:8px;border-radius:0}.ped-toolbar>button,.ped-controls button{padding:5px 8px}}

.language{position:relative;display:inline-flex;flex:none;z-index:12}
.lang-toggle,.lang-menu button{display:flex;align-items:center;gap:.5rem;color:var(--light);font:inherit}
.lang-toggle{border:1px solid #504936;background:#171814;border-radius:4px;min-height:40px;padding:.4rem .64rem;white-space:nowrap}
.lang-toggle::after{content:"";width:.38rem;height:.38rem;border:solid #cead72;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:-.18rem .1rem 0 .2rem}.lang-toggle[aria-expanded=true]::after{transform:rotate(225deg);margin-top:.18rem}
.lang-flag{display:inline-block;width:24px;height:18px;flex:0 0 24px;background-image:url('/language-flags.webp');background-size:700% 100%;background-repeat:no-repeat}
.flag-it{background-position:0% center}.flag-en{background-position:16.6667% center}.flag-ar{background-position:33.3333% center}.flag-zh{background-position:50% center}.flag-es{background-position:66.6667% center}.flag-fr{background-position:83.3333% center}
.lang-menu{position:absolute;inset-block-start:calc(100% + 6px);inset-inline-end:0;min-width:11rem;padding:.3rem;border:1px solid #65583e;border-radius:5px;background:#1b1c18;box-shadow:0 8px 22px #0008}
.lang-menu[hidden]{display:none}.lang-menu button{width:100%;padding:.54rem .65rem;background:none;border:0;border-radius:3px;text-align:start;line-height:1.3;min-height:40px}
.lang-menu button[aria-checked=true]{color:#edce92;background:#302b20}.lang-menu button[aria-checked=true]::after{content:'✓';margin-inline-start:auto}.lang-menu button:hover,.lang-menu button:focus-visible{background:#383325}
@media(max-width:640px){.lang-toggle{padding:.38rem .45rem;font-size:.88rem}.top{row-gap:7px}.lang-menu{inset-inline-end:auto;inset-inline-start:0}}
@media(max-width:440px){.tools .account{min-height:40px;display:inline-flex;align-items:center;justify-content:center}.tools .account span[aria-hidden]{display:inline-flex}.tools .account #account-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}

.translation-language{padding-block:.45rem;border-top:1px solid #403d31}.translation-language summary .lang-flag{vertical-align:middle;margin-inline:.25rem .4rem}.translation-language label{margin-top:.65rem}
html:lang(es) .hero h1,html:lang(fr) .hero h1{font-size:clamp(3.3rem,5.7vw,6rem)}

.flag-de{background-position:100% center}.health-summary{margin-top:1.5rem}.health-summary .cluster{margin-block:.6rem}.lot-media-fields[hidden],#health-remove[hidden]{display:none}#health-current{overflow-wrap:anywhere}