/* Public entrance only: preserve the catalog and apply Adrian's approved copy/order adjustments.
   Copy and equipment share the desktop first view; no fixed height or clipping. */
.kr-public-layout{background:var(--ld-bg);}
body:has(.kr-public-layout)::after{background:none;}
body:has(.kr-public-layout) .te-vignette{box-shadow:none;}
.kr-public-layout .kr-public-header{background:#24291ef5;border-color:#66664b66;padding-left:max(16px,env(safe-area-inset-left),calc((100% - 1152px)/2 + 16px));padding-right:max(16px,env(safe-area-inset-right),calc((100% - 1152px)/2 + 16px));}
.kr-public-layout .kr-public-content{padding-top:12px;}
.kr-entrance{--kr-ink:var(--ld-ink);--kr-muted:var(--ld-muted);--kr-amber:var(--ld-accent);--kr-equipment-scale:.85;display:grid;grid-template-columns:minmax(0,1fr) calc(465px * var(--kr-equipment-scale));gap:40px;align-items:start;padding:6px 0 20px;color:var(--kr-ink);}
.kr-entrance-intro,.kr-entrance-scene{min-width:0;}
.kr-entrance-intro{font-family:'Shippori Mincho',Georgia,serif;font-weight:500;}
.kr-entrance-scene{width:100%;max-width:calc(465px * var(--kr-equipment-scale));justify-self:end;margin-top:40px;}
.kr-entrance h1{max-width:640px;margin:0 0 14px;font:500 clamp(28px,2.5vw,33px)/1.24 'Shippori Mincho',Georgia,serif;letter-spacing:-.25px;text-wrap:pretty;}
.kr-entrance h1 em{font-style:normal;color:var(--kr-amber);}
.kr-entrance-description{max-width:600px;margin:0 0 9px;font-size:16px;line-height:1.65;color:var(--kr-muted);}
.kr-entrance-import{display:grid;justify-items:start;gap:2px;max-width:560px;margin:0;font-size:14px;line-height:1.8;color:#b9b69e;}
.kr-entrance-import a,.kr-entrance-market a{color:#e3c68f;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px;}
.kr-entrance-import a:hover,.kr-entrance-market a:hover{color:#f1dab1;}
.kr-entrance-steps{display:flex;flex-wrap:wrap;gap:7px 17px;margin:0 0 12px;padding:0;list-style:none;counter-reset:krStep;}
.kr-entrance-steps li{counter-increment:krStep;display:flex;gap:7px;font-size:12px;line-height:1.7;letter-spacing:0;color:#c3bfaa;}
.kr-entrance-steps li:before{content:counter(krStep);color:#d7b475;font-weight:700;}
.kr-entrance-market{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;margin:0 0 15px;font-size:13px;line-height:1.8;color:#d7b475;}
.kr-entrance :is(a,button):focus-visible{outline:2px solid #edce96;outline-offset:5px;}
.kr-entrance-stage{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) calc(250px * var(--kr-equipment-scale));gap:0 26px;align-items:end;margin:0;padding:0 5px;}
.kr-entrance-stage:after{content:'';grid-column:1/-1;grid-row:1;align-self:end;z-index:-1;height:12px;margin:0 -5px;background:linear-gradient(180deg,#806347 0,#6c523a 27%,#493725 30%,#5c432e 84%,#382b1e 100%);border-top:1px solid #a28660;border-bottom:2px solid #211e15;box-shadow:0 6px 8px -4px #10140c99;}
.kr-entrance-stage:before{content:'';grid-column:1/-1;grid-row:1;align-self:end;z-index:-1;height:9px;margin:0 -5px 12px;background:#72583e;border-top:1px solid #9c7d54;transform:skewX(-15deg);transform-origin:bottom right;}
.kr-entrance-sleeves{position:relative;grid-column:1;grid-row:1;width:100%;height:calc(163px * var(--kr-equipment-scale));margin-bottom:21px;}
.kr-entrance-back{position:absolute;bottom:8px;left:calc(20px * var(--kr-equipment-scale));width:calc(143px * var(--kr-equipment-scale));height:calc(143px * var(--kr-equipment-scale));transform:rotate(8deg);filter:saturate(.65) brightness(.86);border:1px solid #968267;box-shadow:2px 3px 4px #0004;}
.kr-entrance-front{position:absolute;bottom:0;left:0;display:block;width:calc(153px * var(--kr-equipment-scale));height:calc(153px * var(--kr-equipment-scale));padding:0;border:1px solid #958773;background:#beb591;transform:rotate(-5deg);box-shadow:4px 5px 7px #10130b77;transition:transform .2s ease;}
a.kr-entrance-front:hover{transform:rotate(-3deg);}
.kr-entrance-sleeve-image{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.8);}
.kr-entrance-cover-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;height:100%;background:#bcb18e;color:#333d2a;}
.kr-entrance-cover-fallback svg{width:46%;height:46%;}
.kr-entrance-cover-fallback span{font-size:8px;letter-spacing:.08em;text-transform:uppercase;}
.kr-entrance-turntable{position:relative;z-index:2;grid-column:2;grid-row:1;align-self:end;margin-bottom:26px;}
.kr-entrance .kr-hero-deck{width:250px;max-width:none;margin:0;zoom:var(--kr-equipment-scale);}
.kr-entrance .kr-deck{box-shadow:0 4px 0 #58412d,0 7px 0 #292116;}
.kr-entrance-record{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 14px;align-items:center;min-width:0;padding:10px 0 0;}
.kr-entrance-record-artist{grid-column:1;grid-row:3;margin:0;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:#c3bfaa;overflow-wrap:anywhere;}
.kr-entrance-record-title{grid-column:1/-1;grid-row:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0;color:#e1d7bd;font:600 15px/1.45 'Shippori Mincho',Georgia,serif;overflow-wrap:anywhere;}
.kr-entrance-record-meta{grid-column:1/-1;grid-row:2;margin:0;font-size:11px;line-height:1.4;color:#b9b69e;overflow-wrap:anywhere;}
.kr-entrance-record-actions{grid-column:2;grid-row:3;display:flex;align-items:center;gap:14px;}
.kr-entrance-record-actions :is(a,button){display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0;border:0;border-bottom:1px solid #797052;background:transparent;font-size:11px;color:#dcc594;cursor:pointer;white-space:nowrap;}
.kr-entrance-record-actions :is(a,button):hover{color:#f1dab1;}
.kr-entrance-retry{grid-column:1/-1;grid-row:2;justify-self:start;min-height:30px;padding:0;border:0;background:transparent;color:#e4c78f;font-size:12px;text-decoration:underline;text-underline-offset:4px;cursor:pointer;}
.kr-entrance-retry:hover{color:#f1dab1;}
.kr-entrance-record-actions button{width:30px;justify-content:center;font-size:20px;line-height:1;}
@media(min-width:900px) and (max-width:1099px){
  .kr-entrance{grid-template-columns:minmax(0,1fr) calc(420px * var(--kr-equipment-scale));gap:28px;}
  .kr-entrance-scene{max-width:calc(420px * var(--kr-equipment-scale));margin-top:37px;}
  .kr-entrance h1{font-size:30px;}
  .kr-entrance-description{font-size:15px;}
  .kr-entrance-import{font-size:13px;}
  .kr-entrance-stage{grid-template-columns:minmax(0,1fr) calc(230px * var(--kr-equipment-scale));gap:0 20px;}
  .kr-entrance .kr-hero-deck{width:230px;}
  .kr-entrance-sleeves{height:calc(150px * var(--kr-equipment-scale));}
  .kr-entrance-front{width:calc(140px * var(--kr-equipment-scale));height:calc(140px * var(--kr-equipment-scale));}
  .kr-entrance-back{width:calc(131px * var(--kr-equipment-scale));height:calc(131px * var(--kr-equipment-scale));left:calc(17px * var(--kr-equipment-scale));}
}
@media(max-width:899px){
  .kr-entrance{grid-template-columns:1fr;gap:22px;padding:8px 4px 22px;}
  .kr-entrance h1{max-width:700px;font-size:30px;line-height:1.25;margin-bottom:12px;}
  .kr-entrance-description{font-size:15px;max-width:650px;}
  .kr-entrance-import{font-size:13px;max-width:650px;}
  .kr-entrance-steps{gap:6px 16px;margin-bottom:10px;}
  .kr-entrance-market{font-size:12px;gap:6px 16px;}
  .kr-entrance-scene{width:100%;max-width:calc(420px * var(--kr-equipment-scale));justify-self:center;margin-top:0;}
  .kr-entrance-stage{grid-template-columns:minmax(0,1fr) calc(230px * var(--kr-equipment-scale));gap:0 20px;}
  .kr-entrance .kr-hero-deck{width:230px;}
  .kr-entrance-sleeves{height:calc(150px * var(--kr-equipment-scale));}
  .kr-entrance-front{width:calc(140px * var(--kr-equipment-scale));height:calc(140px * var(--kr-equipment-scale));}
  .kr-entrance-back{width:calc(131px * var(--kr-equipment-scale));height:calc(131px * var(--kr-equipment-scale));left:calc(17px * var(--kr-equipment-scale));}
}
@media(max-width:480px){
  .kr-entrance h1{font-size:27px;}
  .kr-entrance-stage{grid-template-columns:minmax(0,1fr) calc(205px * var(--kr-equipment-scale));gap:0 18px;}
  .kr-entrance .kr-hero-deck{width:205px;}
  .kr-entrance-sleeves{height:calc(130px * var(--kr-equipment-scale));}
  .kr-entrance-front{width:calc(123px * var(--kr-equipment-scale));height:calc(123px * var(--kr-equipment-scale));}
  .kr-entrance-back{width:calc(115px * var(--kr-equipment-scale));height:calc(115px * var(--kr-equipment-scale));left:calc(10px * var(--kr-equipment-scale));}
  .kr-entrance .kr-detail{display:none;}
  .kr-entrance-record{gap:3px 10px;padding-top:10px;}
}
@media(max-width:360px){
  .kr-entrance h1{font-size:25px;}
  .kr-entrance-stage{grid-template-columns:minmax(0,1fr) calc(180px * var(--kr-equipment-scale));gap:0 14px;}
  .kr-entrance .kr-hero-deck{width:180px;}
  .kr-entrance-sleeves{height:calc(114px * var(--kr-equipment-scale));}
  .kr-entrance-front{width:calc(107px * var(--kr-equipment-scale));height:calc(107px * var(--kr-equipment-scale));}
  .kr-entrance-back{width:calc(99px * var(--kr-equipment-scale));height:calc(99px * var(--kr-equipment-scale));left:calc(8px * var(--kr-equipment-scale));}
}
@media(pointer:coarse){.kr-entrance-record-actions :is(a,button){min-height:44px;}.kr-entrance-record-actions button{width:44px;}.kr-entrance-retry{min-height:44px;}}
@media(prefers-reduced-motion:reduce){.kr-entrance-front{transition:none;}a.kr-entrance-front:hover{transform:rotate(-5deg);}}

/* Two manual shelves below the hero, using the catalog's existing cards. */
.kr-catalog-start{scroll-margin-top:100px;}
/* Debajo de 320px el banner público envuelve a dos filas (~112-130px): sin esto "Ver catálogo completo" deja el buscador bajo el banner sticky. */
@media(max-width:319px){.kr-catalog-start{scroll-margin-top:140px;}}
.kr-public-rails{display:grid;gap:30px;}
.kr-record-shelf{min-width:0;border-top:1px solid #78745455;padding-top:14px;}
.kr-shelf-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px;}
.kr-shelf-title{display:flex;align-items:baseline;gap:13px;min-width:0;}
.kr-shelf-title h2{margin:0;color:#e5d6b4;font:600 23px/1.3 'Shippori Mincho',Georgia,serif;}
.kr-shelf-title>span{font-size:10px;color:#aaa78f;white-space:nowrap;}
.kr-shelf-controls{display:flex;gap:7px;}
.kr-shelf-controls button{width:40px;height:36px;border:1px solid #79705280;border-radius:4px;background:#303525;color:#e4c78f;font-size:20px;cursor:pointer;}
.kr-shelf-controls button:hover:not(:disabled){background:#40442f;border-color:#b69b64;}
.kr-shelf-controls button:disabled{opacity:.3;cursor:default;}
.kr-shelf-track{display:flex;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#8f805a #22271c;list-style:none;margin:0;padding:0 0 10px;}
.kr-shelf-item{flex:0 0 calc((100% - 80px)/6);min-width:0;scroll-snap-align:start;}
.kr-shelf-item>div,.kr-shelf-item .te-card{height:100%;}
/* The global scroll reveal excludes the viewport's bottom edge. Shelves
   expose covers immediately, including the partial row visible on entry. */
.kr-shelf-track .kr-shelf-item .te-reveal{opacity:1;transform:none;}
.kr-shelf-track:focus-visible,.kr-public-rails button:focus-visible,.kr-return-shelves:focus-visible{outline:2px solid #e4c78f;outline-offset:4px;}
.kr-shelf-loading{display:flex;gap:16px;overflow:hidden;}
.kr-shelf-loading>div{flex:0 0 calc((100% - 80px)/6);aspect-ratio:3/4;border:1px solid #55594066;border-radius:12px;background:#303526;}
.kr-shelf-empty{margin:0;padding:24px 0;color:#c3bfaa;font-size:13px;}
.kr-shelf-empty button,.kr-return-shelves{border:0;background:transparent;color:#e4c78f;text-decoration:underline;text-underline-offset:4px;cursor:pointer;}
.kr-catalog-action{display:flex;justify-content:center;}
.kr-catalog-action button{display:flex;align-items:center;gap:18px;}
.kr-return-shelves{display:inline-block;margin-bottom:16px;font-size:12px;}
@media(max-width:1099px){.kr-shelf-item,.kr-shelf-loading>div{flex-basis:calc((100% - 64px)/5);}}
@media(max-width:899px){.kr-shelf-item,.kr-shelf-loading>div{flex-basis:calc((100% - 32px)/3.3);}}
@media(max-width:580px){
  .kr-public-rails{gap:25px;}
  .kr-shelf-title{display:block;}
  .kr-shelf-title h2{font-size:21px;}
  .kr-shelf-title>span{display:block;margin-top:4px;}
  .kr-shelf-controls button{width:44px;height:44px;}
  .kr-shelf-item,.kr-shelf-loading>div{flex-basis:calc((100% - 16px)/2.15);}
}
/* Targets táctiles (auditoría móvil 13/10): los enlaces sueltos de la portada medían ~22px y los mandos de la bandeja
   37px (44px de CSS por el zoom .85 de la bandeja). Dedo = 44px reales: se compensa el zoom y se agranda el área. */
@media(pointer:coarse),(max-width:899px){
  .kr-entrance-import a,.kr-entrance-market a{display:inline-flex;align-items:center;min-height:44px;}
}
@media(pointer:coarse){
  .kr-entrance .kr-hw{height:calc(44px / var(--kr-equipment-scale));min-width:calc(44px / var(--kr-equipment-scale));}
  .kr-entrance .kr-start{min-width:calc(48px / var(--kr-equipment-scale));}
}
@media(pointer:coarse){.kr-shelf-controls button{width:44px;height:44px;}}
